/*
 * CormackCoreWeb 2.0 - Main Stylesheet
 * HwX Property Marketing Site
 * Author: Charlie - Cormack Advertising
 *
 * Color Palette:
 *   Primary:   #E57052 (coral)
 *   Secondary: #004349 (dark teal)
 *   Accent:    #61CE70 / #C2FFAD (green)
 *   BG Warm:   #FAE2DC (pink/beige)
 *   Text:      #000000, #7A7A7A
 *   Dark:      #131B19
 */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
}

.section-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
}

/* ============================================
   BROCHURE BANNER
   ============================================ */
.brochure-banner {
    background: linear-gradient(135deg, #004349 0%, #131B19 100%);
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 200;
}

.brochure-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.brochure-banner-label {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 8px;
}

.brochure-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.brochure-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.25);
}

.brochure-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 201;
    padding: 0;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 6vh;
    width: 100%;
    padding: 0 50px;
    gap: 15px;
    max-width: none;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo .site-logo {
    width: 200px;
    max-width: 100%;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.header-cta {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-menu li { position: relative; }

.nav-menu li a {
    display: block;
    padding: 15px 5px;
    font-size: 13px;
    font-weight: 400;
    color: #194B50;
    transition: text-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.active a {
    text-shadow: 0 0 0.5px currentColor, 0 0 0.5px currentColor;
}
.site-header.scrolled .site-logo { filter: brightness(0); }

/* Submenu */
.nav-menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #E8E8E8;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 50;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    padding: 13px 15px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #e8e8e8;
}

.nav-menu .sub-menu li a:hover {
    background: #004349;
    color: #fff;
}

/* CTA Button */
.btn-cta {
    display: inline-block;
    padding: 10px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #194B50;
    background: transparent;
    border: 1px solid #194B50;
    border-radius: 50px;
    transition: font-weight 0.2s;
    text-align: center;
    white-space: nowrap;
}

.btn-cta:hover {
    font-weight: 700;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 50px;
}

.toggle-line {
    display: block;
    height: 2px;
    background: #194B50;
    transition: all 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-x-overlay {
    position: absolute;
    right: -15%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    z-index: 2;
    opacity: 0.10;
    pointer-events: none;
}

.hero-x-overlay img {
    width: 100%;
    height: auto;
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
}

.hero-content-inner {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 60px;
}

.hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 4;
}

.hero-scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    color: #E57052;
    transition: background 0.3s;
    animation: bounce 2s infinite;
}

.hero-scroll-btn:hover {
    background: rgba(255,255,255,0.4);
}

.hero-scroll-btn svg {
    stroke: #E57052;
}

.hero-location {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 4;
    text-align: right;
    color: rgba(255,255,255,0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-postcode {
    display: block;
}

.hero-w3w {
    display: block;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   ACCOMMODATION WRAPPER (Specs + Siteplan)
   ============================================ */
.accommodation-section {
    background-image: url('../images/redesign/site-plan-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* ============================================
   SPECIFICATIONS - Infinite Icon Carousel
   ============================================ */
.specs-header {
    padding: 50px 50px 0;
}

.specs-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.specs-carousel-wrap {
    width: 100%;
    overflow: hidden;
    padding: 0 0 50px;
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.specs-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: specs-scroll 30s linear infinite;
}

@keyframes specs-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.specs-track:hover {
    animation-play-state: paused;
}

.specs-card {
    flex: 0 0 auto;
    width: 220px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: background 0.3s;
}

.specs-card:hover {
    background: rgba(255,255,255,0.25);
}

.specs-card-icon {
    flex-shrink: 0;
}

.specs-card-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.specs-card-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    text-align: left;
}

/* ============================================
   ABOUT
   ============================================ */
.about-section {
    background: #FAE2DC;
    padding: 50px;
}

.about-split {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    align-content: flex-start;
}

.about-text {
    width: 45%;
}

.about-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.7;
}

.about-heading-wrap {
    width: 55%;
    text-align: right;
}

.about-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #000;
    line-height: 1.05;
    padding: 80px 0;
    text-transform: uppercase;
}

/* ============================================
   PANORAMA / DEVELOPMENT CTA
   ============================================ */
.panorama-section {
    position: relative;
    width: 100%;
    padding: 100px 50px;
    overflow: hidden;
    text-align: center;
}

.panorama-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.panorama-x-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500%;
    z-index: 2;
    opacity: 0.10;
    pointer-events: none;
}

.panorama-x-overlay img {
    width: 100%;
    height: auto;
}

.panorama-content {
    position: relative;
    z-index: 3;
    margin: 0 auto;
}

.panorama-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 50px;
}

.panorama-btn {
    display: block;
    width: calc(100% - 100px);
    margin: 0 50px;
    padding: 18px 20px;
    background: #004349;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: background 0.3s;
}

.panorama-btn:hover {
    background: #E57052;
}

/* ============================================
   LOGISTICS CTA
   ============================================ */
.logistics-section {
    background: #FAE2DC;
    padding: 100px;
    position: relative;
    overflow: hidden;
}

.logistics-x-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500%;
    z-index: 1;
    opacity: 0.10;
    pointer-events: none;
}

.logistics-x-overlay img { width: 100%; height: auto; }

.logistics-content {
    position: relative;
    z-index: 2;
}

.logistics-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.logistics-left { width: 50%; }

.logistics-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #000;
    line-height: 1.05;
    text-transform: uppercase;
}

.logistics-right {
    width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.logistics-right p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 1.7;
    text-align: right;
}

.logistics-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.logistics-btn {
    display: inline-block;
    padding: 14px 50px;
    background: #004349;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: background 0.3s;
}

.logistics-btn:hover { background: #E57052; }

/* ============================================
   AERIAL IMAGE
   ============================================ */
.aerial-section {
    width: 100%;
    line-height: 0;
}

.aerial-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ============================================
   SITE PLAN
   ============================================ */
.siteplan-section {
    position: relative;
    padding: 50px;
}

.siteplan-split {
    display: flex;
    gap: 40px;
    width: 100%;
    align-items: flex-start;
}

.siteplan-left {
    width: 50%;
    position: relative;
    flex-shrink: 0;
}

.siteplan-image-wrap {
    position: relative;
    width: 100%;
}

.siteplan-zoom-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #004349;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2;
}

.siteplan-zoom-btn:hover { background: #E57052; }

.siteplan-main-img {
    width: 100%;
    transition: opacity 0.3s ease;
}

.siteplan-right {
    width: 50%;
}

.siteplan-info { width: 100%; }

.siteplan-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Unit Accordion */
.unit-accordion { width: 100%; }

.unit-tab {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding: 18px 0;
    cursor: pointer;
    transition: border-color 0.3s;
}

.unit-tab h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: right;
    transition: color 0.3s, font-weight 0.2s;
}

.unit-tab:hover h3 { color: #fff; }

.unit-tab.active-tab h3 {
    color: #fff;
    font-weight: 700;
}

.unit-tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.unit-tab-content.active {
    opacity: 1;
}

.unit-tab-inner {
    padding: 0 0 20px 0;
}

/* Expanded unit: table left, specs right */
.unit-detail-split {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.unit-table-wrap {
    flex: 1.2;
    min-width: 0;
}

.unit-specs-wrap {
    flex: 1;
    min-width: 0;
}

/* Data Table */
.unit-data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.unit-data-table th,
.unit-data-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.unit-data-table thead th {
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.unit-data-table .ut-label {
    text-align: left;
    width: 45%;
    color: #fff;
}

.unit-data-table .ut-val {
    text-align: right;
    width: 27.5%;
    font-weight: 400;
    color: #fff;
}

.unit-data-table .ut-total-row td {
    border-bottom: 2px solid rgba(255,255,255,0.3);
    font-weight: 700;
}

/* Specs list */
.unit-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.unit-simple-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
}

.unit-specs li {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    padding: 4px 0;
    line-height: 1.7;
}

/* ============================================
   SUSTAINABILITY WRAPPER (EPC + Demographics)
   ============================================ */
.sustainability-wrap {
    background-image: url('../images/redesign/site-plan-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* ============================================
   SUSTAINABILITY / EPC
   ============================================ */
.epc-section {
    background: transparent;
}

.epc-split {
    display: flex;
    min-height: 80vh;
}

.epc-left {
    width: 50%;
    padding: 50px;
}

.epc-right {
    width: 50%;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.epc-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* BREEAM / EPC badges */
.epc-badges {
    display: flex;
    gap: 20%;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 25px 30px;
    margin-bottom: 30px;
}

.epc-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.epc-badge img {
    width: 55px;
    height: auto;
}

.epc-badge-text {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #fff;
    line-height: 1.3;
}

.epc-badge-text strong {
    font-size: 18px;
    font-weight: 800;
}

/* Alt accordion tabs */
.container-tabs-alt {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.alt-tab {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
    cursor: pointer;
}

.alt-tab h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    transition: color 0.3s, font-weight 0.2s;
}

.alt-tab:hover h3 { color: rgba(255,255,255,0.8); }
.alt-tab.active-tab h3 { color: #fff; font-weight: 700; }

.alt-tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.alt-tab-content.active { opacity: 1; }

.alt-tab-inner { padding: 0 0 15px; }

.alt-tab-inner .single-column {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    padding: 5px 0;
}

/* PV Table */
.pv-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ec947d;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.pv-table-wrap {
    overflow-x: scroll !important;
    scrollbar-width: none; /* hide native */
    padding-bottom: 0;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.pv-table-wrap::-webkit-scrollbar { display: none; } /* hide native webkit */

/* Custom always-visible scrollbar */
.pv-scrollbar-track {
    width: 100%;
    height: 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 7px;
    margin-top: 10px;
    position: relative;
    cursor: pointer;
}

.pv-scrollbar-thumb {
    height: 100%;
    background: rgba(255,255,255,0.5);
    border-radius: 7px;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 40px;
    cursor: grab;
    transition: background 0.2s;
}

.pv-scrollbar-thumb:hover,
.pv-scrollbar-thumb.dragging {
    background: #E57052;
    cursor: grabbing;
}

.pv-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0 4px;
}

.pv-scroll-hint .bounce-arrow {
    display: inline-block;
    animation: bounceRight 1.5s infinite;
    font-size: 14px;
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.pv-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    min-width: 900px;
    white-space: nowrap;
}

.pv-table th {
    text-align: left;
    padding: 8px 6px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    font-size: 11px;
    white-space: normal;
    max-width: 100px;
    line-height: 1.3;
    vertical-align: bottom;
}

.pv-table td {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.pv-table tr:hover td {
    background: rgba(255,255,255,0.05);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
    padding: 50px;
    background: #FAE2DC;
}

.gallery-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ============================================
   DEMOGRAPHICS
   ============================================ */
.demographics-section {
    background: transparent;
}

.demo-split {
    display: flex;
    min-height: 80vh;
}

.demo-left {
    width: 50%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.demo-right {
    width: 50%;
    padding: 50px;
}

.demo-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.demo-cta {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.demo-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #004349;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: background 0.3s;
}

.demo-btn:hover { background: #E57052; }

.demo-divider {
    border-top: 1px solid #004349;
    margin-bottom: 0;
}

.demographic-class-container { width: 100%; }

.demographic-class-top {
    display: flex;
    width: 100%;
    border-top: 1px solid #004349;
}

.demographic-class-trigger {
    flex: 1;
    padding: 15px 10px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 67, 73, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-style: italic;
    border-top: 3px solid transparent;
    margin-top: -1px;
}

.demographic-class-trigger:hover {
    color: rgba(0, 67, 73, 0.7);
}

.demographic-class-trigger.active {
    color: #004349;
    font-weight: 700;
    border-top: 2px solid #004349;
}

.demographic-class-bottom {
    width: 100%;
    padding: 30px;
    display: none;
    background: rgba(255,255,255,0.1);
}

.demographic-class-bottom.active { display: block; }

.demo-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Radial Progress Circles */
.radial-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
}

.radial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.radial-top-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 5px;
}

.radial-dots {
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    line-height: 1;
    letter-spacing: 3px;
    margin: 5px 0;
}

.radial-circle-wrap {
    position: relative;
    width: 200px;
    height: 200px;
}

.radial-svg {
    width: 100%;
    height: 100%;
}

.radial-bg {
    fill: none;
    stroke: rgba(255,255,255,0.4);
    stroke-width: 13;
    stroke-linecap: round;
}

.radial-fill {
    fill: none;
    stroke: #E57052;
    stroke-width: 13;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transform-origin: center;
    transform: rotate(90deg) scaleX(-1);
    transition: stroke-dashoffset 1.5s ease-out;
}

.radial-dot {
    fill: #E57052;
    stroke: rgba(255,255,255,0.8);
    stroke-width: 1;
}

.radial-inner-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
}

.radial-bottom-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
    margin-top: 5px;
}

.radial-source {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin-top: 20px;
}

.demo-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #fff;
    line-height: 1.5;
}

.demo-stat-icon {
    height: 50px;
    width: auto;
    margin: 0 auto 15px;
    display: block;
}

.demo-stat-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.demo-stat-card p {
    margin: 0 0 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

/* ============================================
   MAP
   ============================================ */
.map-section {
    position: relative;
    width: 100%;
}

.map-embed {
    width: 100%;
}

.map-iframe {
    width: 100%;
    min-height: 700px;
    border: none;
    display: block;
}

/* ============================================
   DEVELOPERS
   ============================================ */
.developers-section {
    background: #F7D4CB;
    padding: 80px 50px;
    text-align: center;
}

.developers-text {
    max-width: 900px;
    margin: 0 auto 50px;
}

.developers-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000;
    line-height: 1.7;
    margin-bottom: 15px;
}

.developers-logos img {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* ============================================
   CONTACT / AGENTS
   ============================================ */
.contact-section {
    background: #FAE2DC;
    padding: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 50px;
    align-items: start;
}

.contact-left {
    padding-right: 20%;
}

.contact-heading {
    font-family: 'Helvetica', 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    align-items: center;
}

.newsletter-input {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000;
    border: 2px solid #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -1px;
    transition: background 0.3s;
}

.newsletter-btn img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.newsletter-btn:hover { background: #E57052; }

.nl-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    padding: 10px 0;
    margin-top: 10px;
}

.nl-message-success { color: #004349; font-weight: 600; }
.nl-message-error { color: #E57052; font-weight: 600; }

/* Agent blocks */
.contact-agents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.agent-block { }

.agent-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.agent-contacts { }

.agent-person {
    margin-bottom: 15px;
}

.agent-person strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.agent-person span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #333;
}

.agent-person a {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #333;
    transition: color 0.3s;
}

.agent-person a:hover { color: #E57052; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #FAE2DC;
    color: #000;
    padding: 50px;
}

.footer-top { margin-bottom: 30px; }

.footer-privacy {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-privacy:hover { color: #E57052; }

.footer-divider {
    border-top: 1px solid #E57052;
    margin-bottom: 30px;
}

.footer-bottom p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #000;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #004349;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 150;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #E57052; }
.back-to-top img { width: 16px; filter: brightness(0) invert(1); }

/* ============================================
   DRIVING TIMES MODAL
   ============================================ */
.dt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 67, 73, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dt-modal-overlay.active { display: flex; }

.dt-modal-content {
    background: #fff;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px;
    cursor: default;
    position: relative;
}

.dt-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dt-th-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left !important;
}

.dt-icon {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.dt-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
}

.dt-table thead th {
    text-align: right;
    font-weight: 700;
    font-size: 13px;
    color: #000;
    padding: 8px 0;
    border-bottom: 2px solid #E57052;
}

.dt-table thead th:first-child { text-align: left; }

.dt-table td {
    padding: 10px 0;
    border-bottom: 1px solid #ec947d;
    color: #000;
}

.dt-table th:first-child,
.dt-table td:first-child {
    width: 70%;
    font-weight: 700;
    text-align: left;
}

.dt-table th:nth-child(2),
.dt-table td:nth-child(2),
.dt-table th:nth-child(3),
.dt-table td:nth-child(3) {
    width: 15%;
    text-align: right;
}

.dt-modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.dt-modal-close {
    padding: 12px 40px;
    background: #004349;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.dt-modal-close:hover { background: #E57052; }

@media (max-width: 767px) {
    .dt-modal-grid { grid-template-columns: 1fr; gap: 30px; }
    .dt-modal-content { padding: 30px 20px; }
}

/* ============================================
   LIGHTBOX (Global)
   ============================================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 67, 73, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 85%;
    max-height: 80vh;
    object-fit: contain;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    bottom: 30px;
    right: 30px;
    padding: 12px 40px;
    background: #E57052;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 2001;
}

.lightbox-close:hover {
    background: #d4604a;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2001;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.4); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-overlay.has-gallery .lightbox-nav { display: flex; }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .header-inner { padding: 0 20px; }
    .header-logo .site-logo { width: 150px; }
    .nav-menu { gap: 5px; }
    .nav-menu li a { font-size: 11px; padding: 15px 3px; }

    .about-split { flex-direction: column; gap: 30px; }
    .about-text, .about-heading-wrap { width: 100%; }
    .about-heading-wrap { text-align: left; }
    .about-heading { font-size: 36px; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item img { height: 300px; }

    .contact-left { padding-right: 0; }

    .epc-split { flex-direction: column; }
    .epc-left, .epc-right { width: 100%; }
    .epc-right { min-height: 400px; }
    .epc-heading { font-size: 32px; }

    .siteplan-section { padding: 40px 20px; }
    .siteplan-split { flex-direction: column; gap: 30px; }
    .siteplan-left, .siteplan-right { width: 100%; }
    .unit-detail-split { flex-direction: column; gap: 15px; }
    .unit-specs { text-align: left; }


    .contact-grid { grid-template-columns: 1fr; }
    .contact-agents { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
    .header-nav { display: none; }
    .mobile-toggle { display: flex; }
}

@media (max-width: 767px) {
    .header-inner { padding: 0 20px; }

    .header-inner { justify-content: space-between; }
    .header-logo { width: 70%; }
    .header-logo .site-logo { width: 177px; }
    .header-cta { width: 30%; }
    .header-cta .btn-cta { display: none; }
    .header-nav.active { display: block; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); max-height: calc(100vh - 10vh); overflow-y: auto; z-index: 200; }
    .header-nav.active .nav-menu { flex-direction: column; gap: 0; white-space: normal; }
    .header-nav.active .nav-menu li a { color: #194B50; padding: 12px 0; font-size: 14px; }

    .section-heading { font-size: 28px; }
    .hero-heading { font-size: 32px; }
    .hero-description { font-size: 14px; }
    .hero-description br { display: none; }
    .hero-x-overlay { width: 160%; right: -60%; opacity: 0.1; }

    .specs-heading { font-size: 28px; }
    .specs-card { width: 180px; padding: 18px 15px; }
    .specs-card-icon img { width: 40px; height: 40px; }

    .about-heading { font-size: 28px; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 250px; }

    .logistics-split { flex-direction: column; gap: 20px; }
    .logistics-left, .logistics-right { width: 100%; }
    .logistics-right p { text-align: left; }
    .logistics-heading { font-size: 28px; }
    .logistics-buttons { flex-direction: column; align-items: center; }

    .demo-split { flex-direction: column; }
    .demo-left { width: 100%; min-height: 400px; }
    .demo-right { width: 100%; }
    .demo-heading { font-size: 32px; }
    .demographic-class-top { flex-wrap: wrap; }
    .demographic-class-trigger { font-size: 12px; }
    .demo-stats-grid { grid-template-columns: 1fr; }
    .radial-grid { flex-direction: column; align-items: center; }
    .radial-circle-wrap { width: 160px; height: 160px; }
    .radial-inner-label { font-size: 14px; }

    .siteplan-heading { font-size: 32px; }

    .about-section { padding: 30px 20px; }
    .about-heading { padding: 30px 0; }
    .specs-header { padding: 30px 20px 0; }
    .panorama-section { padding: 60px 20px; }
    .panorama-btn { width: 100%; margin: 0; }
    .panorama-heading { font-size: 28px; }
    .gallery-section { padding: 30px 15px; }
    .logistics-section { padding: 40px 20px; }
    .epc-left { padding: 30px 20px; background: linear-gradient(180deg, rgba(0,67,73,0.85) 0%, rgba(0,67,73,0.6) 100%); }
    .epc-heading { font-size: 28px; }
    .demo-right { padding: 30px 20px; }
    .developers-section { padding: 40px 20px; }
    .contact-section { padding: 30px 20px; }
    .contact-left { padding-right: 0; }
    .site-footer { padding: 30px 20px; }
    .hero-location { display: none; }
    .hero-content-inner { padding-top: 40px; }
    .epc-badges { gap: 20px; }

    .brochure-banner-inner { flex-direction: column; text-align: center; }
    .brochure-links { justify-content: center; }
}
