/* ============================================================
   HIRNOT GROUP — Luxury Real Estate Theme
   Design language inspired by vvipgroup.in
   (deep navy + champagne gold, Inter, editorial editorial grid)
   ============================================================ */

:root {
    --navy: #000b29;
    --navy-2: #02091c;
    --navy-3: #0d1b3a;
    --navy-4: #16264d;
    --ink: #1c1c1e;
    --ink-2: #151515;
    --muted: #5f6b7a;
    --cream: #fafafa;
    --mist: #f3f4f6;
    --paper: #ffffff;
    --line: #e6e6e6;
    --gold: #bd891a;
    --gold-2: #d9b45c;
    --gold-light: #ffd86b;
    --champagne: #f2ede5;
    --brick: #9b4d38;
    --shadow: 0 30px 80px rgba(2, 9, 28, .16);
    --shadow-sm: 0 10px 34px rgba(2, 9, 28, .08);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
    --radius: 4px;
    --display: "Inter Display", "Inter", "Segoe UI", sans-serif;
    --body: "Inter", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

button {
    font-family: inherit;
}

/* Mobile tap reliability: remove the double-tap-zoom delay so taps register
   instantly (iOS especially). Also gives a subtle gold flash on tap. */
button,
a,
input,
select,
textarea,
.filter-tab,
.slider-dots button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(189, 137, 26, .22);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    font-family: var(--display);
    letter-spacing: -.02em;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 8px 28px rgba(37, 211, 102, .45);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 34px rgba(37, 211, 102, .6);
    animation: none;
}

/* --- Mobile floating contact button (opens the enquiry form) --- */
.contact-float {
    position: fixed;
    right: 26px;
    bottom: 96px;
    z-index: 990;
    display: none;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--gold);
    box-shadow: 0 8px 28px rgba(189, 137, 26, .45);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.contact-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 34px rgba(189, 137, 26, .6);
}

/* --- Enquiry modal (mobile contact form popup) --- */
.enquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 9, 28, .62);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
.enquiry-modal.open {
    opacity: 1;
    visibility: visible;
}
.enquiry-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px 30px;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    transform: translateY(12px);
    transition: transform var(--transition);
}
.enquiry-modal.open .enquiry-modal-card {
    transform: none;
}
.enquiry-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease;
}
.enquiry-modal-close:hover {
    color: var(--brick);
}
.enquiry-modal-card h2 {
    margin-bottom: 18px;
    color: var(--navy);
}
.enquiry-modal-card form {
    display: grid;
    gap: 12px;
}
.enquiry-modal-card input,
.enquiry-modal-card select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--navy);
    background: #fff;
}
.enquiry-modal-card input:focus,
.enquiry-modal-card select:focus {
    outline: none;
    border-color: var(--gold);
}

/* Live phone-number validation states (all enquiry/contact forms) */
.phone-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 600;
}

.phone-hint[data-state="ok"] {
    color: #2e7d32;
}

.phone-hint[data-state="ok"]::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    color: #fff;
    background: #2e7d32;
    font-size: 10px;
    font-weight: 800;
}

.phone-hint[data-state="error"] {
    color: #d9342b;
}

.phone-hint[data-state="error"]::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    color: #fff;
    background: #d9342b;
    font-size: 11px;
    font-weight: 800;
}

input.phone-ok {
    border-color: #2e7d32 !important;
    background-color: #fff !important;
}

input.phone-error {
    border-color: #d9342b !important;
    border-width: 2px !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(217, 52, 43, .14);
}

/* Gentle shake when a submission is blocked on an invalid number */
@keyframes phone-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

input.phone-shake {
    animation: phone-shake .35s ease;
}

@media (max-width: 767px) {
    .contact-float {
        display: flex;
    }
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* ============================================================
   HEADER + NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
    padding: 14px clamp(20px, 5vw, 72px);
    color: #fff;
    background: linear-gradient(180deg, rgba(2, 9, 28, .72), rgba(2, 9, 28, 0));
    transition: background var(--transition), box-shadow var(--transition), min-height var(--transition);
}

.site-header[data-elevated="true"] {
    min-height: 72px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 44px rgba(2, 9, 28, .12);
}

/* Frosted glass ONLY on desktop. On mobile (<=900px) backdrop-filter on the
   header would make it the containing block for the fixed nav drawer, collapsing
   the menu to the header height when scrolled. The translucent white background
   alone still looks clean on mobile. */
@media (min-width: 901px) {
    .site-header[data-elevated="true"] {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
}

.site-header[data-elevated="true"] .brand img {
    filter: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.6vw, 26px);
}

.nav-item {
    position: relative;
    display: inline-block;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .92);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color var(--transition);
    cursor: pointer;
}

.site-header[data-elevated="true"] .nav-link {
    color: var(--ink);
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
    color: var(--gold-light);
}

.site-header[data-elevated="true"] .nav-link:hover {
    color: var(--gold);
}

.nav-chevron {
    font-size: 8px;
    transform: rotate(0deg);
    transition: transform var(--transition);
}

.nav-item.open .nav-chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 250px;
    padding: 10px;
    border: 1px solid rgba(217, 180, 92, .25);
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: 0 24px 60px rgba(2, 9, 28, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-item:last-of-type .dropdown {
    left: auto;
    right: 0;
}

.nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 11px 14px;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--transition), color var(--transition);
}

.dropdown a:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, .06);
}

.dropdown .dropdown-label {
    padding: 8px 14px 4px;
    color: var(--gold-2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 20px;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    color: #fff;
    background: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: #a87a14;
    border-color: #a87a14;
    box-shadow: 0 8px 24px rgba(189, 137, 26, .35);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: var(--radius);
    padding: 10px 16px;
    color: #fff;
    background: rgba(2, 9, 28, .4);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.site-header[data-elevated="true"] .nav-toggle {
    border-color: var(--line);
    color: var(--ink);
    background: var(--paper);
}

.nav-toggle .burger {
    display: grid;
    gap: 4px;
}

.nav-toggle .burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    color: #fff;
    overflow: hidden;
    background: var(--navy-2);
}

.slides,
.slide,
.slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .9s ease, transform 2.2s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide img {
    object-fit: cover;
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2, 9, 28, .85) 0%, rgba(2, 9, 28, .45) 42%, rgba(2, 9, 28, .1) 70%),
        linear-gradient(180deg, rgba(2, 9, 28, .5), transparent 30%, transparent 60%, rgba(2, 9, 28, .85));
    pointer-events: none;
}

.slider-copy {
    position: absolute;
    z-index: 3;
    left: clamp(20px, 6vw, 84px);
    bottom: clamp(120px, 16vh, 190px);
    width: min(560px, 50vw);
    transform: translateY(10px);
    animation: fadeUp .7s ease .25s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.slider-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(52px, 8.5vw, 116px);
    line-height: .92;
    letter-spacing: -.03em;
    font-weight: 800;
}

.slider-copy .tagline {
    display: block;
    margin: 0 0 14px;
    color: var(--gold-light);
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.slider-copy p:not(.eyebrow) {
    max-width: 640px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, .85);
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.slide-caption {
    position: absolute;
    z-index: 4;
    right: clamp(20px, 6vw, 84px);
    bottom: 62px;
    display: grid;
    gap: 6px;
    max-width: min(420px, 32vw);
    padding: 18px 22px;
    border-left: 2px solid var(--gold);
    background: rgba(2, 9, 28, .42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-align: right;
}

.slide-caption span {
    font-size: clamp(13px, 1.3vw, 16px);
    font-weight: 700;
    color: rgba(255, 255, 255, .95);
}

.slide-caption .slide-title {
    display: block;
    font-family: var(--display);
    font-size: clamp(26px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.01em;
    color: #fff;
}

.slide-caption .slide-text {
    display: block;
    color: rgba(255, 255, 255, .9);
}

.slide-caption .slide-status {
    justify-self: end;
    font-size: 10px;
    margin-bottom: 8px;
}

.slide-caption strong {
    display: block;
    margin-top: 6px;
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    margin-top: 12px;
    padding: 11px 20px;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--gold-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: all var(--transition);
}

.slide-cta:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(2, 9, 28, .35);
}

/* Slider controls */
.slider-dots {
    position: absolute;
    z-index: 5;
    left: clamp(20px, 6vw, 84px);
    bottom: 34px;
    display: flex;
    gap: 10px;
}

.slider-dots button {
    width: 26px;
    height: 3px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: width var(--transition), background var(--transition);
}

.slider-dots button.active {
    width: 44px;
    background: var(--gold-light);
}

.slider-scroll {
    position: absolute;
    z-index: 5;
    right: clamp(20px, 6vw, 84px);
    bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .75);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.slider-scroll::after {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--gold);
}

/* Slider enquiry panel */
.slider-plus {
    position: absolute;
    z-index: 6;
    right: clamp(20px, 6vw, 84px);
    bottom: 140px;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--navy);
    background: var(--gold-light);
    box-shadow: 0 0 0 10px rgba(255, 216, 107, .12), 0 18px 40px rgba(2, 9, 28, .4);
    font-size: 34px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
}

.slider-plus:hover {
    transform: scale(1.08);
    background: #fff;
}

.slider-enquiry {
    position: absolute;
    z-index: 8;
    right: clamp(18px, 6vw, 84px);
    bottom: 224px;
    width: min(400px, calc(100% - 36px));
    padding: 30px;
    border: 1px solid rgba(217, 180, 92, .4);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
}

.slider-enquiry.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slider-enquiry .section-kicker {
    color: var(--gold);
}

.slider-enquiry h2 {
    margin-bottom: 20px;
    color: var(--navy);
    font-size: 26px;
    line-height: 1.1;
}

.enquiry-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.slider-enquiry form,
.contact-form,
.admin-form {
    display: grid;
    gap: 14px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 13px 26px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.button.primary {
    border-color: var(--gold);
    color: #fff;
    background: var(--gold);
}

.button.primary:hover {
    background: #a87a14;
    border-color: #a87a14;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(189, 137, 26, .35);
}

.button.secondary {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.button.secondary:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .85);
}

.button.secondary.dark {
    border-color: var(--navy);
    color: var(--navy);
    background: transparent;
}

.button.secondary.dark:hover {
    background: var(--navy);
    color: #fff;
}

.button.gold-ghost {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.button.gold-ghost:hover {
    background: var(--gold);
    color: #fff;
}

.button.disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* ============================================================
   FORMS
   ============================================================ */
input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 15px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-size: 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(189, 137, 26, .16);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: clamp(76px, 9vw, 128px) clamp(20px, 6vw, 84px);
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 44px;
}

.section-heading.compact {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading .section-kicker {
    color: var(--gold);
    margin-bottom: 14px;
}

.section h2,
.page-title h1,
.admin-heading h1 {
    max-width: 860px;
    margin-bottom: 0;
    color: var(--navy);
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.04;
    letter-spacing: -.025em;
    font-weight: 800;
    text-wrap: balance;
}

.section-heading p:last-child,
.page-title p {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.65;
}

.text-link {
    color: var(--gold);
    font-weight: 800;
    border-bottom: 1px solid currentColor;
    transition: color var(--transition), border-color var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.text-link:hover {
    color: var(--navy);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: clamp(36px, 6vw, 90px);
}

.elevated-section {
    background: var(--mist);
}

.rich-copy,
.service-card p,
.project-card p,
.timeline p,
.contact-section p,
.page-title p,
.admin-form label,
.admin-list span,
.why-list span,
.recognition-grid span,
.category-grid p,
.leadership-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================================
   MILESTONE RAIL
   ============================================================ */
.milestone-rail {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--navy);
    border-top: 1px solid rgba(217, 180, 92, .35);
    border-bottom: 1px solid rgba(217, 180, 92, .35);
}

.milestone-rail div {
    position: relative;
    padding: 34px clamp(20px, 3vw, 44px);
    text-align: center;
}

.milestone-rail div + div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24%;
    bottom: 24%;
    width: 1px;
    background: rgba(217, 180, 92, .28);
}

.milestone-rail strong {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-family: var(--display);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -.02em;
}

.milestone-rail span {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ============================================================
   ABOUT / DEVELOPER PROFILE
   ============================================================ */
.about-media {
    position: relative;
}

.about-media img {
    width: 100%;
    aspect-ratio: 16 / 9; /* matches design_banner_3.png (1280x720) — no cropping */
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-media .about-badge {
    position: absolute;
    right: -14px;
    bottom: -14px;
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--gold-light);
    box-shadow: 0 18px 44px rgba(2, 9, 28, .3);
    text-align: center;
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.05;
}

.about-badge strong {
    display: block;
    font-size: 26px;
}

.about-badge span {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leadership-band {
    background: var(--navy-2);
    color: #fff;
}

.leadership-band .section-heading .section-kicker {
    color: var(--gold-light);
}

.leadership-band .section h2,
.leadership-band h2 {
    color: #fff;
}

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

.leadership-card {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: var(--radius);
    background: var(--navy-3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.leadership-card img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    opacity: .85;
    transition: transform .5s ease, opacity .5s ease;
}

.leadership-card:hover img {
    transform: scale(1.05);
    opacity: .7;
}

.leadership-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 9, 28, .95) 0%, rgba(2, 9, 28, .25) 55%, rgba(2, 9, 28, .05));
}

.leadership-card .leadership-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 30px;
}

.leadership-card .leadership-body::before {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin-bottom: 16px;
    background: var(--gold);
}

.leadership-card h3 {
    margin-bottom: 6px;
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
}

.leadership-card .role {
    display: block;
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.leadership-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 34px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(189, 137, 26, .5);
    box-shadow: var(--shadow);
}

.service-card .service-num {
    display: block;
    margin-bottom: 26px;
    color: var(--gold);
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
}

.service-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    border: 1px solid rgba(189, 137, 26, .4);
    border-radius: var(--radius);
    color: var(--gold);
    background: var(--champagne);
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    color: #fff;
    background: var(--gold);
}

.service-card h3,
.timeline h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.2;
}

.service-detail-toggle {
    margin-top: 14px;
}

.service-detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .4s ease, margin .4s ease;
    opacity: 0;
}

.service-detail-toggle:hover .service-detail-content,
.service-detail-toggle:focus-within .service-detail-content {
    max-height: 300px;
    opacity: 1;
    margin-top: 12px;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.project-band {
    background: var(--mist);
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--paper);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-tab.active {
    border-color: var(--navy);
    color: #fff;
    background: var(--navy);
}

.project-grid,
.project-grid.premium-grid {
    display: grid;
    gap: 20px;
}

.project-grid.premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.premium-card {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) 1fr;
    min-height: 320px;
}

.project-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-card:hover img {
    transform: scale(1.04);
}

.project-body {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--gold);
    background: var(--champagne);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.status-tag.dark {
    color: #fff;
    background: var(--navy);
}

.status-tag.gold {
    color: var(--navy);
    background: var(--gold-light);
}

.status-tag.green {
    color: #1e5b3c;
    background: #e2f1e8;
}

.project-body small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.project-body h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.06;
}

.project-body .rera {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.property-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

.property-specs span {
    display: grid;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--navy);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.project-meta small {
    color: var(--muted);
}

.project-meta .arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: gap var(--transition);
}

.project-meta .arrow:hover {
    gap: 14px;
}

.brochure-link {
    color: var(--navy) !important;
    background: var(--gold-light);
    padding: 5px 10px;
    border-radius: 3px;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.category-grid article {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: 0 20px 60px rgba(2, 9, 28, .18);
}

.category-grid img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    opacity: .82;
    transition: transform .5s ease, opacity .5s ease;
}

.category-grid article:hover img {
    transform: scale(1.06);
    opacity: .92;
}

.category-grid article::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 9, 28, .9), rgba(2, 9, 28, .2) 60%, rgba(2, 9, 28, .05));
}

.category-grid div {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 30px;
    color: #fff;
}

.category-grid span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold-light);
    font-family: var(--display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .1em;
}

.category-grid h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 26px;
    line-height: 1.05;
}

.category-grid p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .78);
}

/* ============================================================
   WHY US / CREDIBILITY
   ============================================================ */
.credibility {
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 84px);
    align-items: center;
    background: var(--paper);
}

.credibility-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.credibility-media img {
    width: 100%;
    aspect-ratio: 2 / 1; /* matches bojpurIndustrialpost.jpg (2560x1280) — no cropping */
    object-fit: cover;
    transition: transform .5s ease;
}

.credibility-media:hover img {
    transform: scale(1.04);
}

.credibility-media .media-stamp {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 12px 18px;
    border-radius: var(--radius);
    color: #fff;
    background: rgba(2, 9, 28, .78);
    backdrop-filter: blur(6px);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.why-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.why-list article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-list article:hover {
    transform: translateX(6px);
    border-color: rgba(189, 137, 26, .5);
    box-shadow: var(--shadow-sm);
}

.why-list .why-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    color: var(--gold);
    background: var(--champagne);
    font-family: var(--display);
    font-weight: 800;
}

.why-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
}

/* ============================================================
   RECOGNITION
   ============================================================ */
.recognition-band {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
    gap: 34px;
    background: var(--navy);
    color: #fff;
}

.recognition-band .section-kicker {
    color: var(--gold-light);
}

.recognition-band h2 {
    color: #fff;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.recognition-grid article {
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    transition: transform var(--transition), background var(--transition);
}

.recognition-grid article:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .1);
}

.recognition-grid strong {
    display: block;
    margin-bottom: 10px;
    color: var(--gold-light);
    font-family: var(--display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.recognition-grid span {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    background: var(--paper);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.testimonial-card {
    position: relative;
    padding: 34px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    right: 24px;
    color: rgba(189, 137, 26, .18);
    font-family: var(--display);
    font-size: 96px;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars .star {
    color: var(--gold);
    font-size: 16px;
}

.testimonial-quote {
    font-style: italic;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 22px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-light);
}

.testimonial-author strong {
    display: block;
    color: var(--navy);
    font-size: 15px;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.timeline div {
    position: relative;
    padding: 34px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    transition: transform var(--transition), box-shadow var(--transition);
}

.timeline div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.timeline span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--gold);
    font-family: var(--display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.timeline div::after {
    content: "";
    position: absolute;
    right: 26px;
    top: 38px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: clamp(36px, 6vw, 80px);
    margin: 0 clamp(20px, 6vw, 84px) clamp(70px, 8vw, 110px);
    padding: clamp(36px, 5vw, 68px);
    color: #fff;
    background:
        linear-gradient(115deg, rgba(2, 9, 28, .97), rgba(13, 27, 58, .9)),
        url("images/bojpurIndustrialpost.jpg") center / cover;
    border: 1px solid rgba(217, 180, 92, .35);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-section .section-kicker {
    color: var(--gold-light);
}

.contact-section h2 {
    color: #fff;
}

.contact-section > div > p:not(.section-kicker) {
    color: rgba(255, 255, 255, .8);
}

.contact-info {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-info p {
    display: flex;
    gap: 14px;
    align-items: baseline;
    margin-bottom: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
}

.contact-info .ci-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    color: var(--gold-light);
    background: rgba(255, 255, 255, .08);
    font-size: 15px;
}

.contact-info a {
    color: var(--gold-light);
    font-weight: 700;
    transition: color var(--transition);
}

.contact-info a:hover {
    color: #fff;
}

.contact-form {
    align-content: start;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, .94);
}

.contact-form .button {
    width: fit-content;
}

/* Success/error flash: span the full width at the TOP of the contact grid so
   it never becomes a third column and shoves the form down a row. */
.contact-section .notice {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
    animation: noticeIn .45s ease both;
}

@keyframes noticeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(48px, 6vw, 80px) clamp(20px, 6vw, 84px) 30px;
    color: rgba(255, 255, 255, .72);
    background: var(--navy-2);
}

.footer-brand {
    display: block;
    margin-bottom: 14px;
    color: #fff;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.site-footer .footer-brand + p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .04);
    transition: all var(--transition);
}

.footer-social a:hover {
    color: var(--navy);
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-3px);
}

.site-footer h4 {
    margin: 0 0 18px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-contact {
    display: grid;
    gap: 12px;
    font-size: 13px;
    line-height: 1.7;
}

.footer-contact p {
    margin: 0;
}

.footer-note {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}

.footer-note small {
    display: block;
}

/* ============================================================
   PAGE MAIN / TITLES
   ============================================================ */
.page-main {
    padding-top: 84px;
}

.page-title {
    padding: clamp(60px, 8vw, 110px) clamp(20px, 6vw, 84px) 44px;
    color: #fff;
    background: var(--navy);
}

.page-title h1 {
    color: #fff;
}

.page-title .section-kicker {
    color: var(--gold-light);
}

/* ============================================================
   PROJECTS PAGE FILTERS
   ============================================================ */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
    padding: 34px clamp(20px, 6vw, 84px) 0;
}

.filter-panel {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.filter-panel select {
    min-width: 170px;
}

.filter-search {
    min-width: 240px;
}

.filter-result-count {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.all-projects {
    padding: 40px clamp(20px, 6vw, 84px) 96px;
}

.no-results {
    grid-column: 1 / -1;
    padding: 60px 24px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.project-detail-page {
    padding-top: 84px;
}

.project-hero-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 72vh;
    background: var(--navy-2);
}

.hero-gallery {
    position: relative;
    overflow: hidden;
    background: #02091c;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    transition: opacity .3s ease;
}

.gallery-thumbs {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.gallery-thumb {
    width: 58px;
    height: 48px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: transparent;
    transition: border-color var(--transition), transform var(--transition);
}

.gallery-thumb.active {
    border-color: var(--gold-light);
}

.gallery-thumb:hover {
    transform: translateY(-2px);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 64px);
    color: #fff;
}

.hero-content .section-kicker {
    color: var(--gold-light);
}

.hero-content h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-content > p {
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero-meta-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.meta-tag {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.status-tag {
    border: 0;
}

.detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--mist);
    border-bottom: 1px solid var(--line);
}

.detail-spec-grid article {
    padding: 30px 26px;
    border-right: 1px solid var(--line);
    transition: background var(--transition);
}

.detail-spec-grid article:last-child {
    border-right: 0;
}

.detail-spec-grid article:hover {
    background: var(--champagne);
}

.detail-spec-grid span {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.detail-spec-grid strong {
    color: var(--navy);
    font-size: 15px;
    line-height: 1.4;
}

.highlights-section {
    background: var(--mist);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.highlight-card {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.highlight-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    color: var(--gold);
    background: var(--champagne);
    font-size: 14px;
}

.highlight-card > span:last-child {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.gallery-section {
    background: var(--paper);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    padding: 0;
    cursor: pointer;
    background: var(--navy);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, opacity .5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    color: var(--gold-light);
    background: rgba(2, 9, 28, .55);
    font-size: 26px;
    line-height: 1;
}

.projects-band {
    background: var(--mist);
}

.cta-section {
    background: var(--navy);
    color: #fff;
}

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.cta-inner .section-kicker {
    justify-content: center;
    color: var(--gold-light);
}

.cta-inner .section-kicker::before {
    display: none;
}

.cta-inner h2 {
    color: #fff;
}

.cta-inner p {
    color: rgba(255, 255, 255, .78);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: rgba(2, 9, 28, .94);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: min(88vw, 1100px);
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
    transition: opacity .2s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    transition: background var(--transition);
    font-size: 22px;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.lightbox-close {
    top: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
}

.lightbox-prev {
    left: 26px;
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 26px;
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body {
    background: var(--mist);
}

.admin-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 22px;
    padding: clamp(20px, 4vw, 48px);
}

.admin-panel,
.admin-list {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.admin-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-heading .button.secondary {
    color: var(--navy);
    border-color: var(--navy);
    background: transparent;
}

.admin-heading p {
    color: var(--muted);
}

.notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    color: #173b2e;
    background: #eef5ec;
}

.admin-form {
    grid-template-columns: 1fr 1fr;
}

.admin-form .wide,
.admin-form .check {
    grid-column: 1 / -1;
}

.admin-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
}

.admin-form .check {
    display: flex;
    align-items: center;
}

.admin-form .check input {
    width: auto;
}

.admin-form .feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    align-items: end;
    margin-bottom: 8px;
}

.feature-remove {
    border: 1px solid var(--brick);
    color: var(--brick);
    background: transparent;
    border-radius: var(--radius);
    padding: 14px 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
}

.feature-remove:hover {
    background: var(--brick);
    color: #fff;
}

.add-feature-btn {
    grid-column: 1 / -1;
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    padding: 12px;
    color: var(--muted);
    background: transparent;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
}

.add-feature-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.admin-list {
    display: grid;
    align-content: start;
    gap: 14px;
}

.admin-list article {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: background var(--transition);
}

.admin-list article:hover {
    background: var(--cream);
}

.admin-list img {
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: var(--radius);
}

.admin-list strong {
    color: var(--navy);
    font-size: 14px;
}

.admin-list span {
    font-size: 12px;
}

.admin-list .delete-btn {
    border: 0;
    color: var(--brick);
    background: transparent;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: color .2s ease;
}

.admin-list .delete-btn:hover {
    color: #c0392b;
    text-decoration: underline;
}

.project-count {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 18px;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--anim-delay, 0s);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .service-grid,
    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recognition-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

    .premium-card {
        grid-template-columns: 1fr;
    }

    .premium-card img {
        min-height: 300px;
        max-height: 380px;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;   /* viewport height: immune to ancestor containing-block traps */
        height: 100dvh;  /* dynamic height on mobile browsers (URL bar) */
        z-index: 70;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: min(340px, 88vw);
        padding: 96px 24px 30px;
        overflow-y: auto;
        background: var(--navy-2);
        box-shadow: -24px 0 60px rgba(2, 9, 28, .4);
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    }

    .site-nav.visible {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
        color: #fff;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .site-header[data-elevated="true"] .nav-link {
        color: #fff;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 18px;
    }

    .dropdown {
        position: static;
        min-width: 0;
        max-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: max-height .35s ease, opacity .35s ease, padding .35s ease;
    }

    .nav-item.open .dropdown {
        max-height: 400px;
        padding: 8px 0 12px;
        opacity: 1;
        visibility: visible;
    }

    .dropdown a {
        color: rgba(255, 255, 255, .8);
    }

    /* Nav close overlay */
    body.nav-open::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 65;
        background: rgba(2, 9, 28, .55);
    }

    .hero-slider {
        min-height: 92vh;
        height: 92vh;
        min-height: 92svh;
        height: 92svh;
    }

    /* Hero caption becomes a compact bottom bar — keeps the status badge + Book Now CTA */
    .slide-caption {
        position: absolute;
        left: clamp(20px, 6vw, 84px);
        right: clamp(20px, 6vw, 84px);
        bottom: 44px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 14px;
        max-width: none;
        padding: 12px 16px;
        text-align: left;
    }
    .slide-caption .slide-status {
        justify-self: auto;
        margin: 0;
    }
    .slide-caption .slide-title {
        font-size: clamp(20px, 5vw, 24px);
    }
    .slide-caption .slide-text,
    .slide-caption strong {
        display: none;
    }
    .slide-caption .slide-cta {
        justify-self: auto;
        margin: 0 0 0 auto;
    }
    .slider-copy {
        bottom: 175px;
        width: min(560px, calc(100% - 40px));
    }
    .slider-plus {
        top: 110px;
        bottom: auto;
    }
    .slider-enquiry {
        left: 18px;
        right: 18px;
        bottom: 110px;
        max-height: 70vh;
        overflow-y: auto;
    }
    .gallery-thumbs {
        max-width: calc(100% - 32px);
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .gallery-thumb {
        flex: 0 0 auto;
        width: 52px;
        height: 42px;
    }

    .slider-scroll {
        display: none;
    }

    .split,
    .credibility,
    .contact-section,
    .recognition-band {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .testimonials-grid,
    .highlights-grid,
    .gallery-grid,
    .detail-spec-grid,
    .project-grid.premium-grid {
        grid-template-columns: 1fr;
    }

    .project-hero-detail {
        grid-template-columns: 1fr;
    }

    .hero-gallery {
        min-height: 46vh;
    }

    .milestone-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .milestone-rail div:nth-child(3)::before {
        display: none;
    }

    .about-badge {
        right: 12px;
        bottom: 12px;
    }

    .section-heading.compact {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-info p {
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .service-grid,
    .timeline,
    .leadership-grid,
    .recognition-grid {
        grid-template-columns: 1fr;
    }

    /* Phone: the gold letter tile reads as redundant next to the number —
       drop it and tighten the card for a cleaner full-width look. */
    .service-icon {
        display: none;
    }
    .service-card {
        padding: 24px 20px;
    }
    .service-card .service-num {
        margin-bottom: 16px;
    }

    .milestone-rail {
        grid-template-columns: 1fr;
    }

    .milestone-rail div + div::before {
        top: 0;
        bottom: auto;
        left: 24%;
        right: 24%;
        width: auto;
        height: 1px;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .property-specs,
    .finder-panel,
    .admin-form {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        padding: 8px 14px;
        font-size: 11px;
    }

    .slider-plus {
        top: 104px;
        bottom: auto;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }

    /* Compact phone hero: brand h1 + CTAs only, the caption bar below carries the face */
    .slider-copy .eyebrow,
    .slider-copy .tagline,
    .slider-copy p:not(.eyebrow) {
        display: none;
    }
    .slide-caption {
        gap: 6px 8px;
        padding: 10px 12px;
    }
    .slide-caption .slide-status {
        padding: 4px 10px;
    }
    .slide-caption .slide-title {
        font-size: 18px;
    }
    .slide-caption .slide-cta {
        padding: 8px 14px;
        min-height: 0;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .filter-panel {
        width: 100%;
    }

    .filter-panel label,
    .filter-search {
        flex: 1 1 100%;
        min-width: 0;
    }

    .filter-panel label select {
        min-width: 0;
    }
}

@media (max-width: 375px) {
    .slide-caption .slide-title {
        font-size: 17px;
    }
}

/* Short / landscape viewports: give the hero a usable height and a compact copy */
@media (max-height: 640px) {
    .hero-slider {
        min-height: 640px;
        height: 640px;
    }
    .slider-copy .eyebrow,
    .slider-copy .tagline,
    .slider-copy p:not(.eyebrow) {
        display: none;
    }
}
