/* ============================================
   CORNERSTONE — PROPERTY MANAGEMENT
   Shared Design System
   Brand: deep navy + gold + slate / silver / white
   Type:  Cormorant Garamond (display) · Montserrat (labels) · Inter (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --navy-deep: #0e1730;
    --navy: #17243f;
    --navy-soft: #20314f;
    --slate: #4a5a78;
    --gold: #d3a23d;
    --gold-bright: #e4b85a;
    --gold-deep: #b9852a;
    --silver: #aab2c2;
    --gray: #6b7385;
    --cloud: #e6e9f0;
    --mist: #f3f5f9;
    --ink: #1b2436;
    --white: #ffffff;

    /* Functional */
    --primary: #17243f;
    --accent: #d3a23d;

    /* Gradients */
    --gradient-brand: linear-gradient(90deg, #e4b85a, #d3a23d 50%, #b9852a);
    --gradient-steel: linear-gradient(90deg, #aab2c2, #6b7385);
    --gradient-dark: linear-gradient(180deg, #0e1730 0%, #1a2747 100%);
    --gradient-card: linear-gradient(135deg, rgba(211,162,61,0.07) 0%, rgba(23,36,63,0.04) 100%);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-max: 1440px;
    --container-padding: clamp(24px, 5vw, 80px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================ TYPOGRAPHY ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: none;
    line-height: 1.04;
    letter-spacing: -0.005em;
    color: var(--navy);
}
h1 { font-size: clamp(48px, 5vw, 96px); }
h2 { font-size: clamp(36px, 4.4vw, 72px); }
h3 { font-size: clamp(24px, 3vw, 40px); }
h4 { font-size: clamp(20px, 2vw, 28px); }

p {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.75;
    color: rgba(27,36,54,0.78);
}

/* Small uppercase label utility (Montserrat) */
.label-caps {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-steel {
    background: var(--gradient-steel);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================ BUTTONS ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    padding: 18px 38px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 10px 34px rgba(14,23,48,0.28);
}
.btn-primary:hover {
    background: var(--navy-soft);
    transform: translateY(-4px);
    box-shadow: 0 14px 44px rgba(14,23,48,0.4);
}
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 10px 34px rgba(211,162,61,0.32);
}
.btn-gold:hover {
    background: var(--gold-bright);
    transform: translateY(-4px);
    box-shadow: 0 14px 44px rgba(211,162,61,0.45);
}
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-4px);
}
.btn-light {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--white);
}
.btn-light:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.25); }
.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-4px); }
.btn-arrow::after { content: '\2192'; transition: transform 0.3s ease; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================ NAVIGATION ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(14,23,48,0.55), rgba(14,23,48,0));
}
.nav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(14,23,48,0.1);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }

.nav.solid {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(14,23,48,0.1);
    padding: 12px 0;
}

.nav-logo { display: flex; align-items: center; gap: 13px; }
.nav-logo .logo-mark {
    height: 50px;
    width: auto;
    display: block;
    background: var(--white);
    border-radius: 9px;
    padding: 4px 7px;
    box-shadow: 0 4px 14px rgba(14,23,48,0.18);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled .nav-logo .logo-mark,
.nav.solid .nav-logo .logo-mark { box-shadow: none; padding: 0; }
.nav-logo .logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.005em;
    line-height: 0.95;
    color: var(--white);
    transition: color 0.3s ease;
}
.nav-logo .logo-text span { color: var(--gold); }
.nav-logo .logo-text small {
    display: block;
    font-family: var(--font-heading);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}
.nav.scrolled .nav-logo .logo-text,
.nav.solid .nav-logo .logo-text { color: var(--navy); }
.nav.scrolled .nav-logo .logo-text small,
.nav.solid .nav-logo .logo-text small { color: var(--gold-deep); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.88);
    position: relative;
}
.nav.scrolled .nav-links a,
.nav.solid .nav-links a { color: rgba(27,36,54,0.72); }
.nav-links a:hover { color: var(--gold-bright); }
.nav.scrolled .nav-links a:hover,
.nav.solid .nav-links a:hover { color: var(--gold-deep); }
.nav-links a.active { color: var(--white); }
.nav.scrolled .nav-links a.active,
.nav.solid .nav-links a.active { color: var(--gold-deep); }
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after { width: 100%; }

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 11px 26px !important;
    font-size: 12px !important;
    letter-spacing: 0.16em !important;
    font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-bright) !important; color: var(--navy) !important; }
.nav-cta::after { display: none !important; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; z-index: 60; }
.mobile-toggle span { width: 28px; height: 2px; background: var(--white); transition: all 0.3s ease; }
.nav.scrolled .mobile-toggle span,
.nav.solid .mobile-toggle span { background: var(--navy); }

.mobile-menu {
    display: none;
    position: fixed; inset: 0;
    background: rgba(14,23,48,0.98);
    z-index: 55;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
    color: var(--white);
    letter-spacing: 0.01em;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
    position: absolute; top: 20px; right: 20px;
    width: 48px; height: 48px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    font-size: 28px; line-height: 1;
    cursor: pointer;
    display: grid; place-items: center;
    transition: all 0.3s ease;
}
.mobile-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }

/* ============================================ HERO ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-deep);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate3d(-50%, -50%, 0);
    object-fit: cover;
    backface-visibility: hidden;
    opacity: 1;
    transition: opacity 1.2s ease;
    z-index: 1;
}
.hero-bg-video.is-front { z-index: 2; }
.hero-bg-video.is-fading-out { opacity: 0; }
.hero-bg-image {
    position: absolute; inset: 0;
    background: var(--navy-deep) center/cover no-repeat;
    z-index: 1;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
        rgba(14,23,48,0.97) 0%,
        rgba(14,23,48,0.88) 28%,
        rgba(14,23,48,0.55) 52%,
        rgba(14,23,48,0.2) 78%,
        rgba(14,23,48,0) 100%);
    z-index: 3;
}
.hero-overlay-bottom {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 220px;
    background: linear-gradient(to top, rgba(14,23,48,0.9) 0%, transparent 100%);
    z-index: 3;
}
/* Centered hero variant overlay */
.hero-overlay.center {
    background: radial-gradient(ellipse at center, rgba(14,23,48,0.55) 0%, rgba(14,23,48,0.82) 100%);
}
.hero-content { position: relative; z-index: 4; width: 100%; padding-top: 110px; }
.hero-content.center { text-align: center; padding-top: 90px; }
.hero-content.center .hero-description { margin-left: auto; margin-right: auto; }
.hero-content.center .hero-buttons { justify-content: center; }
.hero-content.center .hero-stats { justify-content: center; }
/* Keep centered text legible over the brighter right side of a left-to-right fade */
.hero-content.center h1,
.hero-content.center .hero-eyebrow { text-shadow: 0 2px 24px rgba(14,23,48,0.55); }
.hero-content.center .hero-description { text-shadow: 0 1px 16px rgba(14,23,48,0.5); }

.hero-eyebrow {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(11px, 1.1vw, 14px);
    text-transform: uppercase;
    letter-spacing: 0.42em;
    color: var(--gold-bright);
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}
.hero h1 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}
.hero h1 .highlight { display: block; font-weight: 700; }
.hero-description {
    max-width: 580px;
    font-family: var(--font-body);
    font-size: clamp(16px, 1.4vw, 19px);
    color: rgba(255,255,255,0.84);
    line-height: 1.75;
    margin-bottom: 38px;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s ease 0.9s forwards; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s ease 1.1s forwards; }
.hero-stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.4vw, 54px);
    color: var(--white);
    line-height: 1;
}
.hero-stat-number span { color: var(--gold-bright); }
.hero-stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(255,255,255,0.58);
    margin-top: 10px;
}

/* ============================================ PAGE HEADER ============================================ */
.page-header {
    position: relative;
    padding: clamp(150px, 18vw, 240px) 0 clamp(60px, 8vw, 110px);
    background: var(--navy-deep) center/cover no-repeat;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,23,48,0.82) 0%, rgba(14,23,48,0.64) 60%, rgba(14,23,48,0.92) 100%);
    z-index: 1;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .section-eyebrow { color: var(--gold-bright); }
.page-header h1 { color: var(--white); font-weight: 600; margin-bottom: 18px; }
.page-header p { color: rgba(255,255,255,0.84); max-width: 640px; font-size: clamp(16px,1.3vw,19px); }
.breadcrumb {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--gold-bright); }

/* ============================================ SECTION HELPERS ============================================ */
.section { padding: var(--section-padding) 0; position: relative; }
.section-light { background: linear-gradient(180deg, var(--mist) 0%, #ffffff 100%); }
.section-dark { background: var(--gradient-dark); color: var(--white); }
.section-white { background: var(--white); }

.section-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--gold-deep);
    margin-bottom: 18px;
    display: block;
}
.section-head { text-align: center; max-width: 860px; margin: 0 auto 64px; }
.section-head h2 { margin-bottom: 22px; }
.section-head.dark h2 { color: var(--white); }
.section-head.dark .section-eyebrow { color: var(--gold-bright); }
.section-head.dark p { color: rgba(255,255,255,0.74); }
.section-lede {
    font-size: clamp(16px, 1.3vw, 20px);
    color: rgba(27,36,54,0.72);
    line-height: 1.8;
}

/* ============================================ PILLARS / FEATURE CARDS ============================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.pillar {
    padding: 44px 34px;
    background: var(--white);
    border: 1px solid var(--cloud);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}
.pillar::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}
.pillar:hover::before { transform: scaleX(1); }
.pillar:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(14,23,48,0.12); }
.pillar-icon {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    background: rgba(211,162,61,0.12);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--gold-deep);
    transition: all 0.3s ease;
}
.pillar:hover .pillar-icon { background: var(--navy); color: var(--gold-bright); transform: scale(1.08) rotate(4deg); }
.pillar h3 { font-size: 25px; margin-bottom: 12px; }
.pillar p { font-size: 15px; line-height: 1.7; }

/* ============================================ SPLIT SECTIONS ============================================ */
.section-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}
.section-split.reverse { grid-template-columns: 1fr 1.05fr; }
.section-split.reverse .section-split-image { order: -1; }
.section-split-text h2 { margin-bottom: 22px; }
.section-split-text .section-eyebrow { margin-bottom: 16px; }
.section-split-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(14,23,48,0.28);
    aspect-ratio: 4 / 3;
}
.section-split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.section-split-image:hover img { transform: scale(1.04); }
.section-split-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(211,162,61,0.12), rgba(14,23,48,0.06));
    pointer-events: none;
}

/* ============================================ BANNER ============================================ */
.section-banner {
    position: relative;
    margin: 40px 0;
    border-radius: 14px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 25px 60px rgba(14,23,48,0.28);
}
.section-banner img { width: 100%; height: 100%; object-fit: cover; }
.section-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(14,23,48,0.9) 0%, rgba(14,23,48,0.45) 60%, rgba(211,162,61,0.28) 100%);
    display: flex; align-items: center;
    padding: 0 clamp(30px, 5vw, 64px);
}
.section-banner-overlay h3 {
    color: var(--white);
    font-size: clamp(26px, 2.8vw, 40px);
    line-height: 1.2;
    max-width: 660px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
@media (max-width: 700px) { .section-banner { height: 260px; } }

/* ============================================ STATS STRIP ============================================ */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-block { text-align: center; padding: 28px 16px; border-top: 2px solid rgba(211,162,61,0.5); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 5vw, 66px); line-height: 1; color: var(--white); }
.stat-num.dark { color: var(--navy); }
.stat-label { font-family: var(--font-heading); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); margin-top: 10px; }
.stat-label.dark { color: var(--gray); }

/* ============================================ SERVICES LIST ============================================ */
.service-card {
    padding: 40px 34px;
    background: var(--white);
    border: 1px solid var(--cloud);
    transition: all 0.5s ease;
    position: relative;
}
.service-card:hover { background: var(--gradient-card); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(14,23,48,0.12); z-index: 2; }
.service-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--gold-deep);
    margin-bottom: 10px;
}
.service-icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(211,162,61,0.12);
    color: var(--gold-deep);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.12); }
.service-card h3 { font-size: 24px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; line-height: 1.7; }
.service-card ul { margin-top: 16px; }
.service-card ul li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(27,36,54,0.74);
    margin-bottom: 8px;
}
.service-card ul li::before {
    content: '\2713';
    position: absolute; left: 0; top: 0;
    color: var(--gold-deep);
    font-weight: 700;
}

/* ============================================ TEAM ============================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card {
    background: var(--white);
    border: 1px solid var(--cloud);
    overflow: hidden;
    transition: all 0.5s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(14,23,48,0.16); }
.team-photo {
    aspect-ratio: 1/1;
    background: linear-gradient(150deg, var(--navy), var(--slate));
    display: grid; place-items: center;
    position: relative;
    overflow: hidden;
}
.team-photo .initials {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 60px;
    color: var(--gold-bright);
    letter-spacing: 0.02em;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: var(--gradient-brand);
}
.team-info { padding: 28px 28px 32px; }
.team-role { font-family: var(--font-heading); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1.05; margin-bottom: 12px; color: var(--navy); }
.team-info p { font-size: 14px; line-height: 1.7; }
.team-focus { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--cloud); }
.team-focus span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 6px;
}
.team-focus p { font-size: 13.5px; color: rgba(27,36,54,0.78); }

/* ============================================ PROPERTIES ============================================ */
.property {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: clamp(60px, 8vw, 100px);
}
.property.reverse { grid-template-columns: 1fr 1.1fr; }
.property.reverse .property-gallery { order: -1; }
.property-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 4/3; }
.property-gallery .g-main { grid-row: 1 / 3; border-radius: 12px; overflow: hidden; }
.property-gallery .g-sub { border-radius: 12px; overflow: hidden; }
.property-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.property-gallery a:hover img { transform: scale(1.06); }
.property-meta { font-family: var(--font-heading); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.property h2 { font-size: clamp(32px, 3.6vw, 54px); margin-bottom: 16px; }
.property .property-loc { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); margin-bottom: 18px; font-family: var(--font-heading); font-weight: 500; letter-spacing: 0.03em; }
.property p { margin-bottom: 18px; }
.property-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.property-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--mist);
    border: 1px solid var(--cloud);
    padding: 8px 14px;
    border-radius: 40px;
}

/* ============================================ SAFETY ============================================ */
.safety-card {
    padding: 40px 34px;
    background: var(--white);
    border: 1px solid var(--cloud);
    border-left: 4px solid var(--gold);
    transition: all 0.5s ease;
}
.safety-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(14,23,48,0.12); }
.safety-card .safety-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: rgba(211,162,61,0.12); color: var(--gold-deep); margin-bottom: 20px; }
.safety-card h3 { font-size: 24px; margin-bottom: 10px; }
.safety-card p { font-size: 14.5px; }

/* ============================================ CONTACT ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info-card { padding: 0; }
.contact-detail { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.contact-detail .ci-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--navy); color: var(--gold-bright);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(14,23,48,0.3);
}
.contact-detail h4 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.16em; margin-bottom: 6px; color: var(--navy); }
.contact-detail p, .contact-detail a { font-size: 15px; color: rgba(27,36,54,0.78); font-family: var(--font-body); }
.contact-detail a:hover { color: var(--gold-deep); }

.contact-form { background: var(--white); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--cloud); box-shadow: 0 30px 80px rgba(14,23,48,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--cloud);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ============================================ CTA STRIP ============================================ */
.cta-strip {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute; top: -150px; right: -150px;
    width: 520px; height: 520px;
    background: rgba(211,162,61,0.14);
    border-radius: 50%;
    filter: blur(90px);
}
.cta-strip::after {
    content: '';
    position: absolute; bottom: -180px; left: -120px;
    width: 480px; height: 480px;
    background: rgba(74,90,120,0.25);
    border-radius: 50%;
    filter: blur(100px);
}
.cta-strip .container { position: relative; z-index: 2; }
.cta-strip h2 { color: var(--white); margin-bottom: 20px; }
.cta-strip p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 34px; font-size: 17px; }

/* ============================================ MODAL ============================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(14,23,48,0.8);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal {
    background: var(--white);
    max-width: 720px; width: 100%;
    max-height: 88vh; overflow-y: auto;
    padding: clamp(32px, 5vw, 56px);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    border-top: 4px solid var(--gold);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 40px; height: 40px;
    background: transparent; border: none;
    cursor: pointer; font-size: 30px; line-height: 1;
    color: var(--gray);
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover { color: var(--gold-deep); transform: rotate(90deg); }
.modal-eyebrow { font-family: var(--font-heading); font-weight: 600; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.modal h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 22px; line-height: 1.1; }
.modal-body p { font-size: 15px; line-height: 1.75; margin-bottom: 16px; color: rgba(27,36,54,0.82); }
.modal-body ul { margin: 8px 0 20px; padding-left: 22px; }
.modal-body ul li { list-style: disc; margin-bottom: 10px; font-size: 15px; line-height: 1.7; color: rgba(27,36,54,0.82); }

/* ============================================ FOOTER ============================================ */
.footer { padding: 80px 0 40px; background: var(--navy-deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px; margin-bottom: 56px; }
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text small { color: var(--gold); }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-col h4 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.2em; margin-bottom: 22px; color: var(--white); }
.footer-col a { display: block; font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.62); margin-bottom: 12px; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-cta-box { padding: 30px; border: 1px solid rgba(211,162,61,0.28); background: rgba(211,162,61,0.05); }
.footer-cta-box h4 { font-family: var(--font-display); text-transform: none; font-size: 22px; margin-bottom: 12px; letter-spacing: 0; color: var(--white); }
.footer-cta-box p { color: rgba(255,255,255,0.62); font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.footer-cta-box .btn { padding: 13px 26px; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-legal a:hover { color: var(--gold-bright); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.55); transition: all 0.3s ease; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* ============================================ ANIMATIONS ============================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ============================================ BRAND LOGO BAND (index2) ============================================ */
.brand-band { background: var(--white); padding: clamp(50px, 7vw, 90px) 0; text-align: center; }
.brand-band img { max-width: 360px; width: 70%; margin: 0 auto 26px; }
.brand-band .divider { width: 60px; height: 3px; background: var(--gradient-brand); margin: 0 auto 26px; }
.brand-band p { max-width: 720px; margin: 0 auto; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; font-style: italic; color: var(--navy); line-height: 1.5; }

/* ============================================ RESPONSIVE ============================================ */
@media (max-width: 1024px) {
    .grid-3, .team-grid { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .section-split, .section-split.reverse,
    .property, .property.reverse,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .section-split.reverse .section-split-image,
    .property.reverse .property-gallery { order: 0; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .nav-logo .logo-text { font-size: 22px; }
    .grid-3, .grid-4, .grid-2, .team-grid, .stats-strip { grid-template-columns: 1fr; }
    .hero-stats { gap: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
