
/* ============================================================
   Rentiers Management — Modern Tech-Forward PropTech Design System
   Sleek, Professional, Trust-Engineered Fiduciary Platform
   ============================================================ */

:root {
    /* ── Primary Colors ── */
    --brand-primary:      #0F172A; /* Deep Slate Navy */
    --brand-primary-light:#1E293B;
    --brand-accent:       #D97706; /* Amber Gold Trust Accent */
    --brand-accent-hover: #B45309;
    --brand-accent-soft:  rgba(217, 119, 6, 0.10);
    --brand-accent-border:rgba(217, 119, 6, 0.30);
    
    --brand-blue:         #2563EB;
    --brand-blue-soft:    rgba(37, 99, 235, 0.08);
    --brand-emerald:      #10B981;
    --brand-emerald-soft: rgba(16, 185, 129, 0.10);

    /* ── Canvas & Surface ── */
    --bg-page:            #F8FAFC; /* Slate-50 clean canvas */
    --bg-surface:         #FFFFFF;
    --bg-surface-2:       #F1F5F9;
    --bg-dark:            #0B0F19; /* Obsidian Slate */
    --bg-dark-card:       #131A2A;
    --bg-dark-card-hover: #192238;

    /* ── Typography & Text ── */
    --font-heading:       'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body:          'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --text-primary:       #0F172A;
    --text-secondary:     #475569;
    --text-tertiary:      #94A3B8;
    --text-on-dark:       #FFFFFF;
    --text-muted-dark:    rgba(255, 255, 255, 0.70);
    --text-sub-dark:      rgba(255, 255, 255, 0.45);

    /* ── Borders & Outlines ── */
    --border-subtle:      #E2E8F0;
    --border-mid:         #CBD5E1;
    --border-strong:      #94A3B8;
    --border-dark-subtle: rgba(255, 255, 255, 0.08);
    --border-dark-mid:    rgba(255, 255, 255, 0.15);

    /* ── Spacing ── */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    /* ── Border Radii ── */
    --r-xs:  6px;
    --r-sm:  10px;
    --r-md:  14px;
    --r-lg:  20px;
    --r-xl:  28px;
    --r-2xl: 38px;
    --r-pill:9999px;

    /* ── Shadows & Depth ── */
    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 30px 70px rgba(15, 23, 42, 0.16);
    --shadow-glow: 0 10px 30px rgba(217, 119, 6, 0.25);

    /* ── Motion ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: all 0.2s var(--ease-out);
    --t-smooth: all 0.38s var(--ease-out);
}

/* ============================================================
   Base & Reset
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--t-fast);
}

img, svg {
    max-width: 100%;
    display: block;
}

ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }
input, select, textarea { font-family: var(--font-body); }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-heading {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-heading .highlight {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.text-h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.text-lead {
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.text-body {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.text-sm {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.text-accent { color: var(--brand-accent); }
.text-blue { color: var(--brand-blue); }
.text-emerald { color: var(--brand-emerald); }

.badge-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--r-pill);
    background: var(--brand-accent-soft);
    border: 1px solid var(--brand-accent-border);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-accent-hover);
    margin-bottom: var(--sp-6);
}

/* ============================================================
   Layout
   ============================================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.container-narrow {
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.section { padding-block: var(--sp-24); }
.section-sm { padding-block: var(--sp-16); }
.section-lg { padding-block: var(--sp-32); }

.bg-white { background: var(--bg-surface); }
.bg-light { background: var(--bg-page); }
.bg-slate { background: var(--bg-surface-2); }
.bg-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

/* ============================================================
   Navigation — Modern Sticky Glass
   ============================================================ */
.navbar-main {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: var(--t-fast);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.9rem;
    gap: var(--sp-6);
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-link img {
    height: 28px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
}

.nav-menu-item {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding-block: 0.3rem;
    position: relative;
}

.nav-menu-item:hover, .nav-menu-item.active {
    color: var(--brand-primary);
}

.nav-menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: width 0.25s var(--ease-out);
    border-radius: 2px;
}

.nav-menu-item:hover::after, .nav-menu-item.active::after {
    width: 100%;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.btn-propsell-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: var(--r-pill);
    background: #EFF6FF;
    border: 1.5px solid #BFDBFE;
    color: #1D4ED8;
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--t-fast);
}

.btn-propsell-pill:hover {
    background: #DBEAFE;
    border-color: #93C5FD;
    transform: translateY(-1px);
}

.menu-toggle-btn {
    display: none;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem;
    border-radius: var(--r-sm);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .menu-toggle-btn { display: flex; }
}

/* Mobile Nav Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    background: #FFFFFF;
    z-index: 9999;
    flex-direction: column;
    padding: 2rem;
    gap: var(--sp-5);
    overflow-y: auto;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-block: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--r-pill);
    font-size: 0.92rem;
    font-weight: 700;
    border: 1.5px solid transparent;
    transition: var(--t-fast);
    white-space: nowrap;
    line-height: 1;
    cursor: pointer;
    max-width: 100%;
}

.btn-primary {
    background: var(--brand-primary);
    color: #FFFFFF;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
    background: var(--brand-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #FFFFFF;
}

.btn-accent {
    background: var(--brand-accent);
    color: #FFFFFF;
    border-color: var(--brand-accent);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.28);
}

.btn-accent:hover {
    background: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #FFFFFF;
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-mid);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--bg-surface-2);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-surface-2);
    color: var(--text-primary);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
}

/* ============================================================
   Modern PropTech Hero Section
   ============================================================ */
.hero-proptech {
    padding-top: var(--sp-16);
    padding-bottom: var(--sp-20);
    background: radial-gradient(circle at 85% 15%, rgba(217, 119, 6, 0.07) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
                var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.hero-layout-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: var(--sp-12);
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-layout-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-10);
    }
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-top: var(--sp-8);
}

.hero-stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
    margin-top: var(--sp-12);
    padding-top: var(--sp-8);
    border-top: 1px solid var(--border-subtle);
}

@media (max-width: 640px) {
    .hero-stats-band { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
}

.stat-box { display: flex; flex-direction: column; }
.stat-box-val {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}
.stat-box-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Live Managed Asset Snapshot Card (Hero Right) ── */
.snapshot-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--r-2xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.snapshot-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D97706, #2563EB, #10B981);
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}

.snapshot-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--sp-5);
}

.snapshot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    background: var(--brand-emerald-soft);
    color: #059669;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--r-pill);
}

.snapshot-pulse {
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.snapshot-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
}

.snapshot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-surface-2);
    border-radius: var(--r-sm);
    font-size: 0.88rem;
}

.snapshot-k {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.snapshot-v {
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================================
   PropSell Redirection Banner (Strategic Marketplace Strip)
   ============================================================ */
.propsell-redirect-bar {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--r-2xl);
    padding: var(--sp-10) var(--sp-12);
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-8);
    flex-wrap: wrap;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.propsell-redirect-bar::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================================
   Services Suite Grid
   ============================================================ */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

@media (max-width: 1024px) {
    .services-modern-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services-modern-grid { grid-template-columns: 1fr; }
}

.service-box {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transition: var(--t-smooth);
    position: relative;
    overflow: hidden;
}

.service-box:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
    transform: translateY(-5px);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    background: var(--brand-accent-soft);
    color: var(--brand-accent-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: var(--sp-5);
    border: 1px solid var(--brand-accent-border);
}

.service-box.featured-dark {
    background: var(--brand-primary);
    color: #FFFFFF;
    border-color: var(--brand-primary);
}

.service-box.featured-dark h3 { color: #FFFFFF; }
.service-box.featured-dark p { color: rgba(255, 255, 255, 0.7); }
.service-box.featured-dark .service-icon-wrap {
    background: rgba(217, 119, 6, 0.2);
    color: #FBBF24;
    border-color: rgba(217, 119, 6, 0.4);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-accent);
    margin-top: auto;
    padding-top: var(--sp-5);
}

.service-link:hover {
    gap: 0.65rem;
    color: var(--brand-accent-hover);
}

/* ============================================================
   NRI Care Spotlight Section
   ============================================================ */
.nri-spotlight-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
}

@media (max-width: 1024px) {
    .nri-spotlight-layout { grid-template-columns: 1fr; }
}

.nri-inspection-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-xl);
}

.nri-inspection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--sp-5);
}

.nri-feature-checklist {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    margin-block: var(--sp-6);
}

.nri-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.nri-feature-row i {
    color: #059669;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ============================================================
   How It Works (4-Step Timeline)
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
}

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .steps-grid { grid-template-columns: 1fr; }
}

.step-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-xs);
    transition: var(--t-fast);
}

.step-card:hover {
    border-color: var(--brand-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-accent);
    line-height: 1;
    margin-bottom: var(--sp-4);
}

/* ============================================================
   Why Choose Rentiers (Fiduciary Pillars)
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
}

@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .why-grid { grid-template-columns: 1fr; }
}

.why-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-xs);
    text-align: center;
    transition: var(--t-fast);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--brand-primary);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-surface-2);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto var(--sp-4);
}

/* ============================================================
   Tools Preview
   ============================================================ */
.tools-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

@media (max-width: 900px) {
    .tools-quick-grid { grid-template-columns: 1fr; }
}

.tool-item-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    box-shadow: var(--shadow-xs);
    transition: var(--t-fast);
}

.tool-item-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.tool-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-box {
    max-width: 860px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.faq-row {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--t-fast);
}

.faq-row.active {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.faq-q-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
}

.faq-q-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-surface-2);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s var(--ease-out);
    flex-shrink: 0;
}

.faq-row.active .faq-q-icon {
    transform: rotate(180deg);
    background: var(--brand-primary);
    color: #FFFFFF;
}

.faq-a-content {
    max-height: 0;
    overflow: hidden;
    padding-inline: 1.5rem;
    transition: max-height 0.3s var(--ease-out), padding 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-row.active .faq-a-content {
    max-height: 350px;
    padding-bottom: 1.25rem;
}

/* ============================================================
   Contact Card & Consultation
   ============================================================ */
.contact-hub-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--r-2xl);
    padding: var(--sp-12);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
}

.contact-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
    margin-block: var(--sp-8);
}

@media (max-width: 768px) {
    .contact-hub-grid { grid-template-columns: 1fr; }
    .contact-hub-card { padding: var(--sp-6); }
}

.contact-hub-item {
    background: var(--bg-surface-2);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================
   Modern Footer
   ============================================================ */
.footer-modern {
    background: var(--bg-dark);
    color: var(--text-muted-dark);
    padding: var(--sp-20) 0 var(--sp-8);
    border-top: 1px solid var(--border-dark-subtle);
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-10);
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid var(--border-dark-subtle);
}

@media (max-width: 1024px) {
    .footer-grid-modern { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

@media (max-width: 580px) {
    .footer-grid-modern { grid-template-columns: 1fr; }
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    margin-bottom: var(--sp-4);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.footer-links-list a {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    transition: var(--t-fast);
}

.footer-links-list a:hover { color: #FFFFFF; }

.footer-bottom-modern {
    padding-top: var(--sp-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-sub-dark);
    flex-wrap: wrap;
    gap: var(--sp-4);
}

.footer-social-links { display: flex; gap: var(--sp-3); }
.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--t-fast);
}

.footer-social-links a:hover {
    background: var(--brand-accent);
    transform: translateY(-2px);
}

/* ============================================================
   Floating Action Buttons
   ============================================================ */
.floating-actions-bar {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-floating-wa {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: #FFFFFF;
    padding: 0.85rem 1.4rem;
    border-radius: var(--r-pill);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--t-fast);
}

.btn-floating-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
    color: #FFFFFF;
}

@media (max-width: 640px) {
    .btn-floating-wa span { display: none; }
    .btn-floating-wa { padding: 0.9rem; border-radius: 50%; }
}

/* ============================================================
   Subpage Compatibility & Tools UI
   ============================================================ */
.tools-hero { padding-top: 5rem; padding-bottom: var(--sp-10); text-align: center; }
.tool-search-wrap { position: relative; max-width: 560px; margin-inline: auto; margin-bottom: var(--sp-12); }
.tool-search-wrap .search-icon { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); }
.tool-search-wrap input { width: 100%; padding: 1rem 1.5rem 1rem 3.25rem; border-radius: var(--r-pill); border: 1.5px solid var(--border-mid); font-size: 1rem; color: var(--text-primary); outline: none; }
.tool-category { margin-bottom: var(--sp-12); }
.tool-category-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: var(--sp-4); padding-bottom: 0.5rem; border-bottom: 1.5px solid var(--border-subtle); display: flex; align-items: center; gap: 0.5rem; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: var(--sp-5); }
.card { background: var(--bg-surface); border: 1px solid var(--border-subtle); padding: var(--sp-6); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); display: block; color: var(--text-primary); transition: var(--t-fast); }
.card:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card i { font-size: 1.25rem; color: var(--brand-accent); margin-bottom: 0.75rem; display: block; }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.card p { font-size: 0.88rem; color: var(--text-secondary); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }

/* ============================================================================
   ════════════════════════════════════════════════════════════════════════════
   SUB-PAGE COMPONENT LAYER
   Services · Tools · Legal — light-theme system matching the homepage.
   ════════════════════════════════════════════════════════════════════════════
   ============================================================================ */

/* ============================================================
   Layout Helpers
   ============================================================ */
.container-sm {
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
    padding-inline: var(--sp-6);
}

.relative { position: relative; }
.center   { text-align: center; margin-inline: auto; }

.pt-0  { padding-top: 0 !important; }
.mt-4  { margin-top: var(--sp-4); }
.mt-16 { margin-top: var(--sp-16); }
.mb-2  { margin-bottom: var(--sp-2); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
.mb-24 { margin-bottom: var(--sp-24); }

.bg-alt         { background: var(--bg-page); }
.bg-surface-alt { background: var(--bg-surface-2); }
.bg-primary     { background: var(--brand-primary); color: var(--text-on-dark); }
.bg-primary h1, .bg-primary h2, .bg-primary h3 { color: #FFFFFF; }
.bg-primary p, .bg-primary .text-body { color: var(--text-muted-dark); }

/* ============================================================
   Typography Extensions
   ============================================================ */
.display-hero {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5.4vw, 4.15rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.display {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.text-lg,
.text-body-lg {
    font-size: 1.075rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.subtitle {
    font-size: 1.075rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 620px;
}

.text-caption {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
}

.link-accent {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}
.link-accent:hover { color: var(--brand-accent); }

/* Eyebrow variants used across sub-pages */
.page-eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    background: var(--brand-accent-soft);
    border: 1px solid var(--brand-accent-border);
    border-radius: var(--r-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent-hover);
}

.section-header {
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: var(--sp-12);
    text-align: center;
}

.content-section { padding-block: var(--sp-10); }
.content-section h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-3);
}
.content-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-2);
}
.content-section p,
.content-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--sp-3);
}
.content-section ul,
.content-section ol {
    padding-left: 1.3rem;
    margin-bottom: var(--sp-4);
}
.content-section ul li { list-style: disc; }
.content-section ol li { list-style: decimal; }

/* ============================================================
   Floating Navigation (sub-pages)
   ============================================================ */
.nav-floating {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    width: 100%;
    padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 32px; width: auto; object-fit: contain; }

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding-block: 0.35rem;
    white-space: nowrap;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    border-radius: 2px;
    transition: var(--t-fast);
}
.nav-link:hover, .nav-link.active { color: var(--brand-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-sm);
    padding: 0.5rem;
    color: var(--text-primary);
}
.menu-toggle:hover { background: #FFFFFF; border-color: var(--border-mid); }

.nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2) var(--sp-4) var(--sp-4);
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
}
.nav-links.open .nav-link {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 1rem;
}
.nav-links.open .nav-link::after { display: none; }

@media (max-width: 1024px) {
    .nav-links   { display: none; }
    .menu-toggle { display: inline-flex; }
    .nav-actions .btn-ghost { display: none; }
}

/* ============================================================
   Sub-page Hero
   ============================================================ */
.section-hero {
    position: relative;
    display: flex;
    align-items: center;
    padding-block: clamp(4rem, 9vw, 7rem);
    background:
        radial-gradient(1000px 480px at 50% -10%, rgba(37, 99, 235, 0.07), transparent 65%),
        radial-gradient(760px 400px at 88% 8%, rgba(217, 119, 6, 0.07), transparent 62%),
        var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.section-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 62px 62px;
    -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 40%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 78% 62% at 50% 40%, #000 30%, transparent 100%);
    pointer-events: none;
}

.section-hero > * { position: relative; z-index: 1; }
.section-hero .subtitle { margin-inline: auto; }

/* ============================================================
   Bento Grid (service pages)
   ============================================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--sp-6);
}

.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-8 { grid-column: span 8; }

.bento-card {
    display: flex;
    flex-direction: column;
    padding: var(--sp-8);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    transition: var(--t-smooth);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-accent-border);
    box-shadow: var(--shadow-md);
}

.bento-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--sp-5);
    border-radius: var(--r-md);
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.10), rgba(217, 119, 6, 0.10));
    border: 1px solid var(--border-subtle);
    color: var(--brand-blue);
    flex-shrink: 0;
}
.bento-icon i, .bento-icon svg { width: 22px; height: 22px; font-size: 1.15rem; }

.bg-primary .bento-card {
    background: var(--bg-dark-card);
    border-color: var(--border-dark-mid);
}
.bg-primary .bento-card:hover { background: var(--bg-dark-card-hover); }
.bg-primary .bento-card h3 { color: #FFFFFF; }
.bg-primary .bento-card .text-body { color: var(--text-muted-dark); }
.bg-primary .bento-icon {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-dark-mid);
    color: #FBBF24;
}

@media (max-width: 1024px) {
    .bento-span-4, .bento-span-6, .bento-span-8 { grid-column: span 6; }
}
@media (max-width: 700px) {
    .bento-grid { gap: var(--sp-4); }
    .bento-span-4, .bento-span-6, .bento-span-8 { grid-column: span 12; }
    .bento-card { padding: var(--sp-6); }
}

/* ============================================================
   Process Steps
   ============================================================ */
.process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: var(--sp-6);
}

.process-step {
    position: relative;
    padding: var(--sp-6);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    border-top: 3px solid var(--brand-accent);
    box-shadow: var(--shadow-xs);
    transition: var(--t-fast);
}
.process-step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.process-step h3 { margin-bottom: 0.4rem; }

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin-bottom: var(--sp-4);
    padding-inline: 0.5rem;
    border-radius: var(--r-sm);
    background: var(--brand-primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

/* ============================================================
   Media Frames
   ============================================================ */
.parallax-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--r-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    background: var(--bg-surface-2);
    aspect-ratio: 4 / 3;
}

.parallax-img,
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.parallax-wrap .parallax-img { transition: transform 0.9s var(--ease-out); }
.parallax-wrap:hover .parallax-img { transform: scale(1.045); }

/* ============================================================
   CTA Strip
   ============================================================ */
.cta-strip {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem);
    border-radius: var(--r-xl);
    background:
        radial-gradient(700px 340px at 12% 0%, rgba(37, 99, 235, 0.28), transparent 62%),
        linear-gradient(135deg, var(--brand-primary), #1E293B 68%);
    color: var(--text-on-dark);
    overflow: hidden;
    text-align: center;
}
.cta-strip::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.30), transparent 70%);
    pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 2; }
.cta-strip h2, .cta-strip .text-h2, .cta-strip .display { color: #FFFFFF; }
.cta-strip p, .cta-strip .text-body, .cta-strip .subtitle {
    color: rgba(255, 255, 255, 0.78);
    margin-inline: auto;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-block: var(--sp-6) var(--sp-2);
}
.button-group.justify-center { justify-content: center; }

/* ============================================================
   Grand Footer (sub-pages)
   ============================================================ */
.footer-grand {
    position: relative;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding-block: var(--sp-20) var(--sp-8);
    overflow: hidden;
}
.footer-grand::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(820px 400px at 15% 0%, rgba(37, 99, 235, 0.16), transparent 62%);
    pointer-events: none;
}
.footer-grand > .container { position: relative; z-index: 1; }

.footer-headline {
    color: #FFFFFF;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-6);
}

.footer-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    padding-bottom: var(--sp-12);
    margin-bottom: var(--sp-12);
    border-bottom: 1px solid var(--border-dark-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--sp-10);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #FFFFFF;
    margin-bottom: var(--sp-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    width: fit-content;
}
.footer-links a:hover { color: #FFFFFF; transform: translateX(3px); }

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
}
.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dark-mid);
    color: var(--text-muted-dark);
}
.footer-socials a:hover {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4) var(--sp-6);
    margin-top: var(--sp-16);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--border-dark-subtle);
    font-size: 0.85rem;
    color: var(--text-sub-dark);
}
.footer-bottom a { color: var(--text-muted-dark); }
.footer-bottom a:hover { color: #FFFFFF; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Tool Pages — Shell
   ============================================================ */
.tool-page-wrap {
    padding-top: var(--sp-10);
    padding-bottom: var(--sp-20);
}

.tool-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: var(--sp-5);
    padding: 0.45rem 0.9rem;
    border-radius: var(--r-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.tool-back-link:hover {
    color: var(--brand-primary);
    border-color: var(--border-mid);
    box-shadow: var(--shadow-xs);
}

.tool-container {
    max-width: 860px;
    margin-inline: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tool-header {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background:
        radial-gradient(620px 240px at 8% 0%, rgba(37, 99, 235, 0.09), transparent 65%),
        var(--bg-surface-2);
    border-bottom: 1px solid var(--border-subtle);
}

.tool-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.6vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.tool-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 620px;
}

.tool-body { padding: clamp(1.5rem, 4vw, 2.5rem); }

/* ============================================================
   Tool Pages — Forms
   ============================================================ */
.form-group { margin-bottom: var(--sp-5); }

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control,
.tool-body input[type="text"],
.tool-body input[type="number"],
.tool-body input[type="date"],
.tool-body input[type="password"],
.tool-body select,
.tool-body textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.975rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1.5px solid var(--border-mid);
    border-radius: var(--r-sm);
    outline: none;
    transition: var(--t-fast);
}

.form-control:focus,
.tool-body input:focus,
.tool-body select:focus,
.tool-body textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px var(--brand-blue-soft);
}

.form-control::placeholder { color: var(--text-tertiary); }
.tool-body textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

.toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    width: 100%;
}
.toggle-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-blue);
    cursor: pointer;
    flex-shrink: 0;
}

/* ============================================================
   Tool Pages — Results
   ============================================================ */
.results {
    margin-top: var(--sp-8);
    padding-top: var(--sp-8);
    border-top: 1px dashed var(--border-mid);
}

.result-card {
    padding: var(--sp-6);
    margin-bottom: var(--sp-5);
    border-radius: var(--r-lg);
    text-align: center;
    background:
        radial-gradient(520px 220px at 50% 0%, rgba(37, 99, 235, 0.30), transparent 68%),
        linear-gradient(135deg, var(--brand-primary), #1E293B);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
}
.result-card h3, .result-card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.5rem;
}
.result-card h3 i { color: #FBBF24; }

.result-value {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 5.5vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: #FFFFFF;
    word-break: break-word;
}
.result-card .btn { margin-top: var(--sp-4); }
.result-card .btn-secondary {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
}
.result-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: #FFFFFF;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: var(--sp-4);
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: var(--sp-4);
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
}

.result-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-tertiary);
}

.result-amount,
.result-value-sm {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    word-break: break-word;
}

/* Charts and comparisons */
.chart-container {
    margin-top: var(--sp-6);
    padding: var(--sp-5);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
}
.chart-container h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--sp-4);
    color: var(--text-primary);
}
.chart-container canvas { max-width: 100%; }

.comparison-section { margin-top: var(--sp-6); }
.comparison-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--sp-4);
    color: var(--text-primary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: var(--sp-3);
}
.comparison-grid > * {
    padding: var(--sp-4);
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-align: center;
}

.tip-box {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: var(--sp-5);
    padding: var(--sp-4) var(--sp-5);
    background: var(--brand-emerald-soft);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-left: 3px solid var(--brand-emerald);
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.tip-box i { color: var(--brand-emerald); margin-top: 0.25rem; flex-shrink: 0; }
.tip-box strong { color: var(--text-primary); }

/* Result tables (amortization schedules etc.) */
.tool-body table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--sp-4);
    font-size: 0.875rem;
}
.tool-body table th {
    text-align: left;
    padding: 0.7rem 0.85rem;
    background: var(--bg-surface-2);
    border-bottom: 1.5px solid var(--border-mid);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}
.tool-body table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}
.tool-body table tr:hover td { background: var(--bg-page); }

/* ============================================================
   Tool Pages — Editorial and FAQ blocks
   ============================================================ */
.seo-summary,
.tool-article {
    max-width: 860px;
    margin-inline: auto;
    padding: var(--sp-8) 0 0;
}
.seo-summary h2,
.tool-article h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-4);
    color: var(--text-primary);
}
.seo-summary p,
.tool-article p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item {
    padding: var(--sp-5) var(--sp-6);
    margin-bottom: var(--sp-3);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--brand-accent);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xs);
}
.faq-item p { color: var(--text-secondary); line-height: 1.75; margin: 0; }
.faq-item p strong {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.faq-item p + p { margin-top: 0.35rem; }

.no-results {
    display: none;
    padding: var(--sp-8);
    text-align: center;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* ============================================================
   Entrance Animations (progressive enhancement)
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.in-view {
    opacity: 1;
    transform: none;
}

.split-text { display: block; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Accessibility
   ============================================================ */
.skip-link {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-200%);
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--brand-primary);
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   Developer Coverage Grid — logos + names (crawlable)
   ============================================================ */
/* Single-line infinite marquee: the whole roster in one row */
.developer-marquee {
    position: relative;
    overflow: hidden;
    /* fade the two ends so cards enter and leave rather than pop */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.developer-track {
    display: flex;
    gap: var(--sp-5);
    width: max-content;
    padding-block: 4px;
    animation: developer-scroll 70s linear infinite;
}

/* Pause when a visitor wants to actually read a card */
.developer-marquee:hover .developer-track,
.developer-marquee:focus-within .developer-track {
    animation-play-state: paused;
}

@keyframes developer-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - (var(--sp-5) / 2))); }
}

/* Only animate once JS has cloned the set, otherwise it would scroll to empty space */
.developer-track:not(.is-looping) { animation: none; }

.developer-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 248px;
    width: 248px;
    padding: var(--sp-5) var(--sp-5) var(--sp-4);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    transition: var(--t-smooth);
}

.developer-card:hover {
    border-color: var(--brand-accent-border);
    box-shadow: var(--shadow-md);
}

.developer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 58px;
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
}

.developer-logo img {
    max-height: 42px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
    filter: grayscale(1) contrast(1.15);
    opacity: 0.88;
    transition: var(--t-smooth);
}

.developer-card:hover .developer-logo img {
    filter: none;
    opacity: 1;
}

.developer-name {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.developer-projects {
    font-size: 0.83rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.developer-sectors {
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-tertiary);
    padding-top: 0.55rem;
    border-top: 1px dashed var(--border-subtle);
}

.developer-footnote {
    max-width: 900px;
    margin: var(--sp-10) auto 0;
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border-subtle);
    font-size: 0.76rem;
    line-height: 1.7;
    color: var(--text-tertiary);
    text-align: center;
}

@media (max-width: 480px) {
    .developer-track { gap: var(--sp-3); animation-duration: 52s; }
    .developer-card { flex-basis: 208px; width: 208px; padding: var(--sp-4); }
    .developer-logo { min-height: 44px; margin-bottom: var(--sp-3); padding-bottom: var(--sp-3); }
    .developer-logo img { max-height: 30px; }
    .developer-name { font-size: 0.92rem; }
    .developer-projects { font-size: 0.76rem; }
    .developer-sectors { font-size: 0.7rem; }
}

/* ============================================================
   Localities Served — local SEO grid
   ============================================================ */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
    gap: var(--sp-5);
}

.area-card {
    padding: var(--sp-6);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    transition: var(--t-smooth);
}

.area-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-accent-border);
    box-shadow: var(--shadow-md);
}

.area-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: var(--sp-4);
    border-radius: var(--r-sm);
    background: var(--brand-blue-soft);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--brand-blue);
}
.area-icon i, .area-icon svg { width: 20px; height: 20px; }

.area-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.area-list {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================================================
   ════════════════════════════════════════════════════════════════════════════
   FIRST SCREEN — sticky nav + full-viewport hero
   ════════════════════════════════════════════════════════════════════════════
   ============================================================================ */

/* ============================================================
   Sticky Navigation
   ============================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 950;
    width: 100%;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
                border-color 0.3s var(--ease-out);
}

.site-nav.nav-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--border-subtle);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
}

.site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    padding-block: 0.7rem;
}

.site-nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-nav-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s var(--ease-out);
}
.site-nav-logo:hover img { transform: scale(1.04); }

.site-nav-menu {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

.site-nav-item {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding-block: 0.4rem;
    white-space: nowrap;
}
.site-nav-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.28s var(--ease-out);
}
.site-nav-item:hover,
.site-nav-item.active { color: var(--brand-primary); }
.site-nav-item:hover::after,
.site-nav-item.active::after { width: 100%; }

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-shrink: 0;
}

.site-nav-propsell {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
    white-space: nowrap;
}
.site-nav-propsell:hover { color: var(--brand-blue); }

.btn-contact {
    padding: 0.62rem 1.6rem;
    font-size: 0.92rem;
    border-radius: var(--r-pill);
}

@media (max-width: 1080px) {
    .site-nav-menu     { display: none; }
    .site-nav-propsell { display: none; }
}
@media (min-width: 1081px) {
    .site-nav .menu-toggle-btn { display: none; }
}
@media (max-width: 480px) {
    .site-nav-logo img { height: 32px; }
    .btn-contact { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
}

/* ============================================================
   Hero — full first screen
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100svh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-block: clamp(2.5rem, 6vh, 4.5rem) clamp(4.5rem, 11vh, 7rem);
    overflow: hidden;
    isolation: isolate;
    color: #FFFFFF;
    /* Painted immediately, before the photo decodes. */
    background: #10182B;
}

/* The photograph itself */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    display: block;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

/* Navy grade — keeps the mark and copy legible over any part of the photo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(62% 58% at 50% 50%, rgba(6, 11, 22, 0.60) 0%, rgba(6, 11, 22, 0.44) 42%, rgba(6, 11, 22, 0.16) 72%, transparent 92%),
        radial-gradient(130% 100% at 50% 38%, rgba(9, 15, 28, 0.05) 0%, rgba(9, 15, 28, 0.44) 58%, rgba(7, 12, 23, 0.88) 100%),
        linear-gradient(180deg, rgba(11, 18, 34, 0.52) 0%, rgba(15, 25, 46, 0.20) 32%, rgba(9, 15, 28, 0.72) 100%);
}

/* Fine architectural grid + a warm accent bloom behind the logo */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(560px 340px at 50% 34%, rgba(217, 119, 6, 0.16), transparent 68%),
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 100% 100%, 74px 74px, 74px 74px;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 25%, transparent 100%);
            mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 25%, transparent 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Keyword eyebrow */
.hero-eyebrow {
    margin-bottom: clamp(1.4rem, 3.5vh, 2.2rem);
    padding: 0.45rem 1.15rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: clamp(0.66rem, 1.5vw, 0.76rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FCD34D;
}

/* The glowing mark — v1's signature */
.hero-logo {
    width: clamp(180px, 26vw, 300px);
    height: auto;
    margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
    border-radius: 50%;
    border: 6px solid rgba(243, 156, 18, 0.45);
    background: rgba(9, 15, 28, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 0 0 55px rgba(243, 156, 18, 0.50),
                0 0 130px rgba(243, 156, 18, 0.22),
                inset 0 0 60px rgba(9, 15, 28, 0.55);
    animation: hero-logo-in 1s var(--ease-out) both;
}

@keyframes hero-logo-in {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3.4vw, 2.1rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 0.9rem;
    text-wrap: balance;
    animation: hero-rise 0.85s 0.15s var(--ease-out) both;
}

.hero-subtitle {
    max-width: 720px;
    font-size: clamp(0.98rem, 1.9vw, 1.2rem);
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.86);
    text-wrap: pretty;
    animation: hero-rise 0.85s 0.3s var(--ease-out) both;
}
.hero-subtitle strong { color: #FFFFFF; font-weight: 700; }

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* Contact row — three labelled primary actions, then muted social profiles */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.9rem, 2.4vh, 1.4rem);
    margin-top: clamp(1.6rem, 4vh, 2.4rem);
    width: 100%;
    animation: hero-rise 0.85s 0.42s var(--ease-out) both;
}

.hero-actions-primary {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    width: 100%;
}

.hero-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.72rem 1.35rem;
    border-radius: var(--r-pill);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    border: 1.5px solid transparent;
    box-shadow: 0 8px 22px rgba(3, 7, 18, 0.35);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
                background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.hero-act i { font-size: 1.05rem; }
.hero-act:hover { transform: translateY(-3px); }

.hero-act-wa {
    background: linear-gradient(135deg, #25D366, #12A150);
    box-shadow: 0 10px 26px rgba(18, 161, 80, 0.42);
}
.hero-act-wa:hover { box-shadow: 0 14px 32px rgba(18, 161, 80, 0.55); }

.hero-act-call {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-variant-numeric: tabular-nums;
}
.hero-act-call:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #FFFFFF;
}

.hero-act-mail {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-act-mail:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #FFFFFF;
}

/* Secondary: social profiles, deliberately quieter than the actions above */
.hero-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out),
                color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.hero-social a:hover {
    transform: translateY(-3px);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Stat band */
.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 5vw, 3.5rem);
    margin-top: clamp(2rem, 5vh, 3rem);
    padding-top: clamp(1.5rem, 4vh, 2.2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    animation: hero-rise 0.85s 0.56s var(--ease-out) both;
}

.hero-stat { text-align: center; min-width: 108px; }

.hero-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--brand-accent);
    font-variant-numeric: tabular-nums;
}

.hero-stat-label {
    display: block;
    margin-top: 0.2rem;
    font-size: clamp(0.74rem, 1.6vw, 0.9rem);
    color: rgba(255, 255, 255, 0.72);
}

/* Scroll cue */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.55;
    transition: opacity 0.3s var(--ease-out);
}
.hero-scroll:hover { opacity: 1; }

.hero-scroll-mouse {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--r-pill);
    position: relative;
}
.hero-scroll-mouse::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: #FFFFFF;
    animation: hero-scroll-dot 1.8s var(--ease-out) infinite;
}

@keyframes hero-scroll-dot {
    0%   { opacity: 0; transform: translateY(0); }
    35%  { opacity: 1; }
    75%  { opacity: 0; transform: translateY(12px); }
    100% { opacity: 0; }
}

@media (max-width: 640px) {
    /* Extra bottom padding keeps the stat band clear of the fixed action bar. */
    .hero { min-height: auto; padding-block: 3.5rem 5rem; }
    .hero-social a { width: 40px; height: 40px; font-size: 1.12rem; }
    .hero-stats { gap: 1.25rem 2rem; }
    .hero-stat { min-width: 40%; }
    .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo, .hero-title, .hero-subtitle, .hero-social, .hero-stats { animation: none; }
    .hero-scroll-mouse::after { animation: none; opacity: 1; }
}

/* ============================================================
   About block
   ============================================================ */
.about-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    margin-top: var(--sp-8);
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
}
.about-point i, .about-point svg {
    width: 22px; height: 22px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--brand-accent);
}
.about-point strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}
.about-point span {
    font-size: 0.925rem;
    line-height: 1.68;
    color: var(--text-secondary);
}

.about-media { position: relative; }

.about-badge {
    position: absolute;
    left: -22px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.35rem;
    border-radius: var(--r-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
}
.about-badge-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--brand-accent);
    line-height: 1;
}
.about-badge-txt {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-media { order: -1; max-width: 460px; margin-inline: auto; }
    .about-badge { left: 12px; bottom: 16px; }
}

/* ============================================================
   Floating contact rail + chat pill
   ============================================================ */
.floating-rail {
    position: fixed;
    right: clamp(0.75rem, 2vw, 1.75rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-hover));
    box-shadow: 0 10px 26px rgba(180, 83, 9, 0.35);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 34px rgba(180, 83, 9, 0.45);
}

.chat-pill {
    position: fixed;
    left: clamp(0.75rem, 2vw, 1.75rem);
    bottom: clamp(0.9rem, 2.5vh, 1.75rem);
    z-index: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.4rem;
    border-radius: var(--r-pill);
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #128C7E, #075E54);
    box-shadow: 0 12px 30px rgba(7, 94, 84, 0.38);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.chat-pill i { font-size: 1.15rem; }
.chat-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(7, 94, 84, 0.48);
}

@media (max-width: 760px) {
    /* Lay the rail out horizontally along the bottom so it never sits on top
       of hero content; it shares the bar with the chat pill. */
    .floating-rail {
        top: auto;
        bottom: clamp(0.9rem, 2.5vh, 1.75rem);
        right: clamp(0.75rem, 2vw, 1.75rem);
        transform: none;
        flex-direction: row;
        gap: 0.5rem;
    }
    .floating-btn { width: 42px; height: 42px; font-size: 1rem; }
    .chat-pill { padding: 0.68rem 1rem; font-size: 0.82rem; }
    .chat-pill i { font-size: 1.05rem; }
}

@media (max-width: 420px) {
    /* Very narrow: the chat pill alone carries WhatsApp, so drop it from the
       rail and keep call + email. */
    .chat-pill span { display: none; }
    .chat-pill { padding: 0.7rem; border-radius: 50%; }
    .floating-rail a[aria-label="WhatsApp Rentiers"] { display: none; }
}

/* ============================================================
   Service hero headline — poetic line + keyword line in one H1
   ============================================================ */
.h1-poetic { display: block; }

.h1-keyword {
    display: block;
    margin-top: clamp(0.6rem, 1.6vw, 1rem);
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    text-wrap: balance;
}

/* ============================================================
   Inline SVG icon sprite (replaces the Lucide runtime)
   ============================================================ */
.ico {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
    pointer-events: none;
}
.btn .ico { width: 18px; height: 18px; }
.site-nav .ico, .nav-floating .ico { width: 18px; height: 18px; }

/* Generic form wrapper used by several tool pages */
.form { display: block; }
.form > .form-group:last-of-type { margin-bottom: var(--sp-6); }

/* ============================================================
   HTML Sitemap page
   ============================================================ */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--sp-3);
}

.section-lead {
    font-size: 1.075rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--sp-10);
}

.sitemap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--sp-6);
    align-items: start;
}

.sitemap-section {
    padding: var(--sp-6);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
}

.sitemap-section-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-accent-hover);
    padding-bottom: var(--sp-3);
    margin-bottom: var(--sp-2);
    border-bottom: 1px solid var(--border-subtle);
}

.sitemap-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.62rem 0.5rem;
    border-radius: var(--r-xs);
    font-size: 0.92rem;
    color: var(--text-secondary);
    border-bottom: 1px solid transparent;
}
.sitemap-link span { flex: 1; }
.sitemap-link i:first-child { width: 16px; color: var(--brand-blue); font-size: 0.85rem; text-align: center; }
.sitemap-link i:last-child  { font-size: 0.7rem; color: var(--text-tertiary); transition: var(--t-fast); }
.sitemap-link:hover {
    background: var(--bg-surface-2);
    color: var(--brand-primary);
}
.sitemap-link:hover i:last-child { transform: translateX(3px); color: var(--brand-accent); }

/* Safety: intrinsic width/height attributes must never stretch a nav logo */
.nav-floating img,
.site-nav img,
.nav-logo img,
.site-nav-logo img,
.footer-grand img,
.footer-modern img { width: auto; max-width: 190px; }

/* ============================================================
   Mobile: the floating action bar would sit on top of the hero,
   which already carries its own call / WhatsApp / email icons.
   Reveal it only once the hero has been scrolled past.
   ============================================================ */
.js .floating-rail,
.js .chat-pill {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out),
                visibility 0.35s;
}
body.past-hero .floating-rail,
body.past-hero .chat-pill {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
/* Pages without a hero (tools, legal, 404) show them immediately — main.js
   adds .past-hero on load when no .hero element exists. */

/* ============================================================================
   RESPONSIVE HARDENING
   Nothing may exceed the viewport at any width down to 320px.
   ============================================================================ */

/* Long button labels must wrap rather than force a horizontal scrollbar. */
@media (max-width: 560px) {
    .btn {
        white-space: normal;
        text-align: center;
        padding: 0.75rem 1.15rem;
        line-height: 1.25;
    }
    .btn-lg {
        padding: 0.85rem 1.3rem;
        font-size: 0.95rem;
    }
    .button-group,
    .hero-cta-group,
    .footer-cta-row {
        width: 100%;
    }
    .button-group > .btn,
    .hero-cta-group > .btn,
    .footer-cta-row > .btn {
        flex: 1 1 100%;
    }
}

/* Sub-page floating nav: keep logo + CTA + toggle inside 320px. */
@media (max-width: 620px) {
    .nav-floating {
        gap: var(--sp-3);
        padding-inline: 0.85rem;
    }
    .nav-floating .nav-logo { min-width: 0; }
    .nav-floating .nav-logo img { height: 26px; }
    .nav-actions { gap: var(--sp-2); min-width: 0; }
    .nav-actions .btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.82rem;
        gap: 0.3rem;
    }
    /* The trailing arrow is decoration; drop it before the label. */
    .nav-actions .btn .ico,
    .nav-actions .btn svg { display: none; }
    .menu-toggle { padding: 0.42rem; }
}

@media (max-width: 380px) {
    .nav-actions .btn { padding: 0.5rem 0.7rem; font-size: 0.78rem; }
    .nav-floating .nav-logo img { height: 23px; }
}

/* Homepage nav at the same widths. */
@media (max-width: 620px) {
    .site-nav-inner { gap: var(--sp-3); padding-inline: 0.85rem; }
    .site-nav-actions { gap: var(--sp-2); }
    .btn-contact { padding: 0.55rem 1rem; font-size: 0.85rem; }
    .site-nav-logo img { height: 28px; }
}

/* Wide, unbreakable content (tables, code, long results) scrolls in place. */
.tool-body table { display: block; overflow-x: auto; white-space: nowrap; }
.tool-body table thead,
.tool-body table tbody { display: table; width: 100%; }

/* Nothing overflows on the long-word front (URLs, emails, big numbers). */
.result-value,
.result-amount,
.tool-subtitle,
.faq-item p,
.content-section p,
.content-section li { overflow-wrap: anywhere; }

/* NOTE: overflow-x:hidden is deliberately NOT set on <html> — it breaks
   position:sticky descendants (the nav) and hijacks the scroll container.
   body already clips, and the audit confirms nothing overflows anyway. */

/* Final 320px squeeze: the sub-page nav row must fit the narrowest phone. */
@media (max-width: 400px) {
    .nav-floating { padding-inline: 0.55rem; gap: 0.4rem; }
    .nav-floating > * { min-width: 0; }
    .nav-actions .btn { padding: 0.48rem 0.62rem; font-size: 0.75rem; }
    .menu-toggle { padding: 0.35rem; }
    .menu-toggle .ico { width: 16px; height: 16px; }
}

/* ============================================================
   Footer bottom bar — copyright · socials · credit
   ============================================================ */
.footer-bottom .footer-socials { margin-top: 0; }

.footer-bottom .footer-socials a {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
}

.footer-credit {
    font-size: 0.82rem;
    color: var(--text-sub-dark);
    margin-left: auto;
}
.footer-credit a {
    color: var(--text-muted-dark);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding-bottom: 1px;
}
.footer-credit a:hover { color: #FFFFFF; border-bottom-color: var(--brand-accent); }

/* Homepage footer uses the same three-part bar */
.footer-bottom-modern { gap: var(--sp-4) var(--sp-6); }
.footer-bottom-modern .footer-socials { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: 0; }
.footer-bottom-modern .footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dark-mid);
    color: var(--text-muted-dark);
    transition: var(--t-fast);
}
.footer-bottom-modern .footer-socials a:hover {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 760px) {
    .footer-bottom,
    .footer-bottom-modern {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .footer-credit { margin-left: 0; }
}

/* Seven social icons must wrap rather than push the footer wide on 320px. */
@media (max-width: 420px) {
    .footer-bottom .footer-socials,
    .footer-bottom-modern .footer-socials { gap: 0.45rem; }
    .footer-bottom .footer-socials a,
    .footer-bottom-modern .footer-socials a { width: 32px; height: 32px; font-size: 0.85rem; }
}

/* ============================================================
   Services dropdown in the primary nav
   ============================================================ */
.nav-drop { position: relative; }

.nav-drop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding-block: 0.4rem;
    cursor: pointer;
}
.nav-drop-caret {
    width: 15px;
    height: 15px;
    transition: transform 0.25s var(--ease-out);
}
.nav-drop[data-open="true"] .nav-drop-caret { transform: rotate(180deg); }

.nav-drop-panel {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 330px;
    padding: 0.55rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0.22s;
}
/* Bridges the gap so the pointer can travel from button to panel. */
.nav-drop-panel::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -0.9rem;
    height: 0.9rem;
}

.nav-drop[data-open="true"] .nav-drop-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-drop-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--r-sm);
    transition: background 0.18s var(--ease-out);
}
.nav-drop-item:hover,
.nav-drop-item:focus-visible { background: var(--bg-surface-2); }
.nav-drop-item.active { background: var(--brand-accent-soft); }

.nav-drop-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.nav-drop-desc {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-tertiary);
}

.nav-drop-all {
    margin-top: 0.3rem;
    padding: 0.6rem 0.75rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--brand-blue);
}
.nav-drop-all:hover { color: var(--brand-accent); }

/* Mobile drawer section headings */
.mobile-nav-heading {
    margin-top: var(--sp-4);
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--text-tertiary);
}

@media (max-width: 1080px) {
    .nav-drop { display: none; }
}
.nav-drop-btn.active { color: var(--brand-primary); }
.nav-drop-btn.active::after { width: 100%; }

/* Reach beyond the home market — contact block */
.contact-reach {
    max-width: 560px;
    margin-inline: auto;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.contact-reach strong { color: var(--text-primary); }

/* Market comparison callout (rental yield) */
.market-comparison {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: var(--sp-5);
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--r-sm);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--brand-blue);
    background: var(--bg-surface-2);
    font-size: 0.9rem;
    line-height: 1.6;
}
.market-comparison i { margin-top: 0.2rem; color: var(--brand-blue); }
.market-comparison strong { display: block; color: var(--text-primary); margin-bottom: 0.15rem; }
.market-comparison p { color: var(--text-secondary); margin: 0; }
.market-comparison small { color: var(--text-tertiary); font-size: 0.78rem; }
.market-comparison.comparison-excellent { border-left-color: var(--brand-emerald); background: var(--brand-emerald-soft); }
.market-comparison.comparison-excellent i { color: var(--brand-emerald); }
.market-comparison.comparison-good { border-left-color: var(--brand-emerald); }
.market-comparison.comparison-good i { color: var(--brand-emerald); }
.market-comparison.comparison-below { border-left-color: var(--brand-accent); background: var(--brand-accent-soft); }
.market-comparison.comparison-below i { color: var(--brand-accent); }

/* A continuously moving row must stop for anyone who asks for less motion */
@media (prefers-reduced-motion: reduce) {
    .developer-track { animation: none !important; }
    .developer-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
                mask-image: none;
        scroll-snap-type: x mandatory;
    }
    .developer-card { scroll-snap-align: start; }
}

/* Developer section is a single scrolling line — it needs less room than a grid */
.developer-section .section-header { margin-bottom: var(--sp-8); }
.developer-section .text-h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.developer-section .developer-footnote { margin-top: var(--sp-6); padding-top: var(--sp-4); }

/* ============================================================================
   ENQUIRY FORM
   ============================================================================ */
.enquiry-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
}

.enquiry-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: clamp(1.4rem, 3.5vw, 2.4rem);
}

.enquiry-step {
    border: 0;
    padding: 0;
    margin: 0 0 var(--sp-8);
}
.enquiry-step:last-of-type { margin-bottom: var(--sp-5); }

.enquiry-legend {
    display: block;
    width: 100%;
    padding: 0 0 var(--sp-4);
    margin-bottom: var(--sp-5);
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--brand-accent-hover);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--sp-5);
}
.field-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.req { color: var(--brand-accent); font-weight: 700; }

/* ── service tiles ── */
.svc-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr));
    gap: var(--sp-3);
}
.svc-tile { position: relative; display: block; cursor: pointer; }
.svc-tile input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.svc-tile-inner {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    height: 100%;
    padding: var(--sp-4);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--r-md);
    background: var(--bg-surface);
    transition: var(--t-fast);
}
.svc-tile-inner .ico {
    width: 22px; height: 22px;
    color: var(--text-tertiary);
    margin-bottom: 0.15rem;
    transition: var(--t-fast);
}
.svc-tile-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.svc-tile-desc { font-size: 0.78rem; line-height: 1.45; color: var(--text-tertiary); }

.svc-tile:hover .svc-tile-inner { border-color: var(--border-strong); }
.svc-tile input:checked + .svc-tile-inner {
    border-color: var(--brand-accent);
    background: var(--brand-accent-soft);
    box-shadow: 0 0 0 3px var(--brand-accent-soft);
}
.svc-tile input:checked + .svc-tile-inner .ico { color: var(--brand-accent-hover); }
.svc-tile input:focus-visible + .svc-tile-inner {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* ── size + unit ── */
.input-with-unit { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
.input-with-unit select { width: auto; min-width: 88px; }

/* ── honeypot: off-screen, never announced, never focusable ── */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* ── validation ── */
.field-error {
    display: none;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #B91C1C;
}
.field-error.show { display: block; }
.form-control.invalid {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* ── actions + status ── */
.enquiry-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-4);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border-subtle);
}
.enquiry-note { font-size: 0.85rem; color: var(--text-tertiary); line-height: 1.6; }

#enquirySubmit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.form-status {
    display: none;
    margin-top: var(--sp-5);
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--r-md);
    font-size: 0.92rem;
    line-height: 1.65;
}
.form-status.show { display: block; }
.form-status.is-ok {
    background: var(--brand-emerald-soft);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065F46;
}
.form-status.is-error {
    background: rgba(220, 38, 38, 0.07);
    border: 1px solid rgba(220, 38, 38, 0.28);
    color: #991B1B;
}
.form-status strong { display: block; margin-bottom: 0.2rem; }

/* ── aside ── */
.enquiry-aside { display: flex; flex-direction: column; gap: var(--sp-5); position: sticky; top: 90px; }

.enquiry-card {
    padding: var(--sp-6);
    border-radius: var(--r-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xs);
}
.enquiry-card-quiet { background: var(--bg-surface-2); box-shadow: none; }

.enquiry-card-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-4);
}

.enquiry-steps { counter-reset: eq; display: flex; flex-direction: column; gap: var(--sp-4); }
.enquiry-steps li {
    position: relative;
    padding-left: 2.1rem;
    counter-increment: eq;
    list-style: none;
}
.enquiry-steps li::before {
    content: counter(eq);
    position: absolute;
    left: 0; top: 0;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
}
.enquiry-steps strong { display: block; font-size: 0.92rem; color: var(--text-primary); }
.enquiry-steps span { font-size: 0.83rem; line-height: 1.6; color: var(--text-secondary); }

.enquiry-contact-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--sp-3);
    font-size: 0.92rem;
}
.enquiry-contact-line .ico { width: 17px; height: 17px; color: var(--brand-accent); }
.enquiry-contact-line a { font-weight: 700; color: var(--text-primary); }
.enquiry-contact-line a:hover { color: var(--brand-blue); }
.enquiry-contact-line span { font-size: 0.78rem; color: var(--text-tertiary); width: 100%; padding-left: 1.6rem; }

.enquiry-privacy {
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-tertiary);
}

@media (max-width: 960px) {
    .enquiry-shell { grid-template-columns: 1fr; }
    .enquiry-aside { position: static; order: 2; }
}
@media (max-width: 620px) {
    .field-row, .field-row-3 { grid-template-columns: 1fr; }
    .enquiry-actions { flex-direction: column; align-items: stretch; }
    .enquiry-actions .btn { width: 100%; }
    .enquiry-note { text-align: center; }
}
