/* ====================================================================
   MediEazy — Site Styles
   Brand primary: #0D53DB
   ==================================================================== */

/* ---------- 1. CSS Variables ---------------------------------------- */
:root {
    --brand-primary:      #0D53DB;
    --brand-primary-dark: #0A42AE;
    --brand-primary-soft: #E8F0FE;
    --brand-accent:       #FFB020;

    --text-dark:    #0F1A36;
    --text-body:    #45516B;
    --text-muted:   #6B7280;

    --bg-page:      #FFFFFF;
    --bg-soft:      #F4F6FA;
    --bg-card:      #FFFFFF;

    --border-soft:  #E5EAF2;

    --shadow-sm:    0 2px 8px rgba(13, 83, 219, 0.06);
    --shadow-md:    0 8px 24px rgba(13, 83, 219, 0.10);
    --shadow-lg:    0 16px 40px rgba(13, 83, 219, 0.14);

    --radius-sm:    8px;
    --radius-md:    14px;
    --radius-lg:    20px;
    --radius-pill:  999px;

    --t-fast: 0.18s ease;
    --t-base: 0.28s ease;
}

/* ---------- 2. Bootstrap colour overrides --------------------------- */
.text-primary { color: var(--brand-primary) !important; }
.bg-primary   { background-color: var(--brand-primary) !important; }

.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    transition: all var(--t-base);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    box-shadow: 0 8px 22px rgba(13, 83, 219, 0.30);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}
.btn-outline-primary:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* ---------- 3. Base typography -------------------------------------- */
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background: var(--bg-page);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

a { color: var(--brand-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-primary-dark); }

.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }

.section-eyebrow {
    display: inline-block;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.section-title { margin-bottom: 12px; }
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.0625rem;
    max-width: 620px;
    margin: 0 auto 56px;
}

/* ---------- 4. Header / Navigation ---------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow var(--t-base);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.navbar { padding: 14px 0; }

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-dark);
}
.navbar-brand:hover { color: var(--text-dark); }

.brand-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--brand-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
}

.brand-name { letter-spacing: -0.02em; }

.navbar-nav .nav-link {
    color: var(--text-body);
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: all var(--t-fast);
}
.navbar-nav .nav-link:hover { color: var(--brand-primary); background: var(--brand-primary-soft); }
.navbar-nav .nav-link.active { color: var(--brand-primary); }

.btn-cta {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(13, 83, 219, 0.22);
}

/* ---------- 5. Hero -------------------------------------------------- */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-primary-soft) 100%);
    padding: 80px 0 70px;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(13, 83, 219, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: #20C45F;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(32, 196, 95, 0.18);
}

.hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    margin: 18px 0 18px;
    color: var(--text-dark);
}
.hero h1 .accent { color: var(--brand-primary); }

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn { padding: 12px 28px; border-radius: var(--radius-pill); font-weight: 600; }

.hero-trust {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.hero-trust .check { color: var(--brand-primary); font-size: 1.1rem; vertical-align: middle; }

.hero-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.hero-image-wrap .placeholder-illust {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #4D82E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
}

/* ---------- 6. Stats strip ------------------------------------------ */
.stats-strip {
    background: var(--brand-primary);
    color: #fff;
    padding: 36px 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 4px;
}

/* ---------- 7. Problem Section -------------------------------------- */
.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.problem-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border-soft);
    color: var(--text-body);
    font-size: 1.0625rem;
}
.problem-list li:last-child { border-bottom: 0; }
.problem-list .icon {
    flex: 0 0 28px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #FEE7E7;
    color: #D43F3F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ---------- 8. Solution Cards (numbered) ---------------------------- */
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 28px;
    height: 100%;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}
.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}
.solution-card .num {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--brand-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(13, 83, 219, 0.25);
}
.solution-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.solution-card p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- 9. Feature Cards (icon grid) ---------------------------- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: left;
    height: 100%;
    transition: all var(--t-base);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.feature-card p  { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- 10. Benefit Cards (filled blue) ------------------------- */
.benefit-card {
    background: var(--brand-primary);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    color: #fff;
    height: 100%;
    transition: all var(--t-base);
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--brand-primary-dark);
}
.benefit-card .benefit-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}
.benefit-card h3 { color: #fff; font-size: 1.125rem; margin-bottom: 8px; }
.benefit-card p  { color: rgba(255, 255, 255, 0.86); font-size: 0.9375rem; margin: 0; }

/* ---------- 11. Workflow Steps -------------------------------------- */
.workflow-step {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid var(--border-soft);
    transition: all var(--t-base);
    position: relative;
}
.workflow-step:hover { border-color: var(--brand-primary); transform: translateY(-2px); }
.workflow-step .step-num {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 14px;
}
.workflow-step h4 { font-size: 1.05rem; margin-bottom: 4px; }
.workflow-step p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---------- 12. Roles list ------------------------------------------ */
.role-item {
    display: flex;
    gap: 18px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: all var(--t-base);
}
.role-item:hover { border-color: var(--brand-primary); transform: translateX(4px); }
.role-item .role-icon {
    flex: 0 0 48px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.role-item h4 { font-size: 1.0625rem; margin: 0 0 4px; }
.role-item p  { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- 13. Why-list (checkmarks) ------------------------------- */
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    align-items: flex-start;
    border-bottom: 1px dashed var(--border-soft);
}
.why-list li:last-child { border-bottom: 0; }
.why-list .check {
    flex: 0 0 28px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}
.why-list strong { color: var(--text-dark); }

/* ---------- 14. CTA banner ------------------------------------------ */
.cta-banner {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.10) 0%, transparent 40%),
                      radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 40%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p  { color: rgba(255, 255, 255, 0.86); max-width: 540px; margin: 12px auto 28px; }
.cta-banner .btn-light {
    background: #fff;
    color: var(--brand-primary);
    border-color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
}
.cta-banner .btn-light:hover { background: #f4f6fa; }

/* ---------- 15. Footer ---------------------------------------------- */
.site-footer {
    background: #0B1628;
    color: rgba(255, 255, 255, 0.72);
    padding: 60px 0 24px;
    margin-top: 0;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
}
.footer-brand:hover { color: #fff; }
.footer-tagline { color: rgba(255, 255, 255, 0.62); font-size: 0.9375rem; }
.footer-heading {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9375rem;
    transition: color var(--t-fast);
}
.footer-list a:hover { color: #fff; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
}
.footer-contact li i { color: var(--brand-primary); font-size: 1rem; }
.footer-contact a { color: rgba(255, 255, 255, 0.78); }
.footer-contact a:hover { color: #fff; }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
}
.footer-socials a:hover { background: var(--brand-primary); color: #fff; transform: translateY(-2px); }

.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer-link-leiten {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--t-fast);
}
.footer-link-leiten:hover {
    color: #fff;
    text-decoration: underline;
}

/* ---------- 16. Form / Demo popup ----------------------------------- */
.fancybox-iframe { background: #fff; }
.form-control, .form-select {
    padding: 12px 14px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.18rem rgba(13, 83, 219, 0.15);
}
.form-label { font-weight: 500; color: var(--text-dark); margin-bottom: 6px; font-size: 0.9rem; }

.success-message {
    background: #E7F8EF;
    color: #18794E;
    border-left: 4px solid #20C45F;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}

/* ---------- 17. Utilities ------------------------------------------- */
.divider-line {
    width: 56px; height: 4px;
    background: var(--brand-primary);
    border-radius: 4px;
    margin: 0 auto 22px;
}
.text-balance { text-wrap: balance; }
.shadow-soft  { box-shadow: var(--shadow-sm); }

/* ---------- 18. Responsive tweaks ----------------------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        margin-top: 14px;
        padding: 16px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        position: relative;
        z-index: 1031;     /* above main header so dropdown wins */
    }
    .navbar-nav .nav-link { padding: 10px 12px !important; }
    .btn-cta { width: 100%; text-align: center; }
}

@media (max-width: 767.98px) {
    .section { padding: 60px 0; }
    .hero { padding: 50px 0 40px; }
    .cta-banner { padding: 40px 24px; }
}

/* ====================================================================
   ROUND 1 ADDITIONS — Why MediEazy + Features pages
   ==================================================================== */

/* ---- Page hero (smaller than home hero) ---------------------------- */
.page-hero {
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-primary-soft) 100%);
    padding: 70px 0 60px;
    overflow: hidden;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -8%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(13, 83, 219, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin: 14px 0 16px;
    color: var(--text-dark);
    line-height: 1.15;
}
.page-hero-lead {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 28px;
}

/* ---- Vector image rendering --------------------------------------- */
.vector-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    background: #fff;
}
.hero-image-wrap .placeholder-illust { display: flex; }
.hero-image-wrap .vector-img + .placeholder-illust { display: none; }

/* ---- Pillar Cards (Why page) -------------------------------------- */
.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 32px;
    height: 100%;
    transition: all var(--t-base);
    position: relative;
}
.pillar-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.pillar-card .pillar-num {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--brand-primary);
}
.pillar-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text-dark); }
.pillar-card p  { margin: 0; color: var(--text-muted); font-size: 0.9625rem; }
.pillar-wide { padding: 36px 40px; }

/* ---- Comparison Table --------------------------------------------- */
.comparison-table {
    width: 100%;
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.comparison-table thead th {
    padding: 20px 22px;
    background: var(--bg-soft);
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--border-soft);
}
.comparison-table thead th:nth-child(3) {
    background: var(--brand-primary);
    color: #fff;
}
.comparison-table tbody td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-body);
    font-size: 0.9375rem;
    vertical-align: top;
}
.comparison-table tbody td:first-child {
    background: var(--bg-soft);
    color: var(--text-dark);
}
.comparison-table tbody td:nth-child(3) {
    background: rgba(13, 83, 219, 0.04);
    color: var(--text-dark);
    font-weight: 500;
}
.comparison-table tbody tr:last-child td { border-bottom: 0; }

/* ---- Outcome Cards ------------------------------------------------- */
.outcome-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    transition: all var(--t-base);
}
.outcome-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.outcome-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 18px;
}
.outcome-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.outcome-card p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---- Feature anchor nav strip ------------------------------------- */
.feature-nav-strip {
    background: rgba(244, 246, 250, 0.94);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 0;
    position: sticky;
    top: 66px;            /* sits directly under main header */
    z-index: 1020;        /* below main header (1030) so header always wins */
    backdrop-filter: blur(10px);
}
.feature-nav-strip .container {
    position: relative;
}
/* Right-edge scroll-fade — hints there's more to scroll */
.feature-nav-strip .container::after {
    content: '';
    position: absolute;
    right: 12px; top: 0; bottom: 0;
    width: 36px;
    background: linear-gradient(to right, rgba(244, 246, 250, 0) 0%, rgba(244, 246, 250, 0.94) 100%);
    pointer-events: none;
}
.feature-nav-wrap {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.feature-nav-wrap::-webkit-scrollbar { display: none; }
.feature-nav-wrap a {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--t-fast);
    white-space: nowrap;
}
.feature-nav-wrap a:hover {
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
}
.feature-nav-wrap a.active {
    background: var(--brand-primary);
    color: #fff;
}

/* ---- Feature section (alternating layout) ------------------------- */
.feature-section { padding: 80px 0; }
.feature-tag {
    display: inline-block;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}
.feature-tag-accent {
    background: #FFF4E0;
    color: #B57500;
}
.feature-image-wrap {
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #fff;
    position: relative;
}
.feature-image-wrap .placeholder-illust {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #4D82E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.5rem;
}
.feature-image-wrap .vector-img + .placeholder-illust { display: none; }

/* ---- Feature bullets ---------------------------------------------- */
.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-bullets li {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-body);
    font-size: 0.9625rem;
    align-items: flex-start;
}
.feature-bullets li i {
    flex-shrink: 0;
    color: var(--brand-primary);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* ---- AI Mode Cards (split presentation) --------------------------- */
.ai-mode-grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}
.ai-mode-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: all var(--t-fast);
}
.ai-mode-card:hover { border-color: var(--brand-primary); }
.ai-mode-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--brand-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.ai-mode-card h4 { font-size: 1rem; margin-bottom: 6px; }
.ai-mode-card p  { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* ---- Extra cards (small icon + title + text matrix) --------------- */
.extra-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    height: 100%;
    text-align: left;
    transition: all var(--t-base);
}
.extra-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.extra-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.extra-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--text-dark); }
.extra-card p  { margin: 0; color: var(--text-muted); font-size: 0.875rem; line-height: 1.55; }

/* ---- Mobile-specific tweaks for new sections ---------------------- */
@media (max-width: 767.98px) {
    .page-hero { padding: 40px 0 30px; }
    .pillar-card { padding: 22px; }
    .comparison-table thead th, .comparison-table tbody td {
        padding: 14px 16px;
        font-size: 0.875rem;
    }
    .feature-section { padding: 50px 0; }
    .feature-nav-strip { top: 62px; padding: 10px 0; }
    .feature-nav-wrap a { padding: 7px 14px; font-size: 0.85rem; }
    /* Hide scroll-fade on touch devices since horizontal scroll is obvious */
    .feature-nav-strip .container::after { display: none; }
}

/* ====================================================================
   ROUND 2 ADDITIONS — Pricing, Reach Us, Demo Form
   ==================================================================== */

/* ---- Billing toggle ----------------------------------------------- */
.billing-toggle {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin: 18px auto 40px;
    box-shadow: var(--shadow-sm);
}
.billing-toggle-btn {
    background: transparent;
    border: 0;
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all var(--t-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.billing-toggle-btn.active {
    background: var(--brand-primary);
    color: #fff;
}
.save-badge {
    background: #FFB020;
    color: #5C3A00;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-weight: 700;
}
.billing-toggle-btn.active .save-badge { background: rgba(255,255,255,0.22); color: #fff; }

/* ---- Pricing cards ------------------------------------------------ */
.pricing-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: all var(--t-base);
    position: relative;
}
.pricing-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.pricing-card-featured {
    background: linear-gradient(155deg, #0D53DB 0%, #0A42AE 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.pricing-card-featured:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 50px rgba(13, 83, 219, 0.30);
}
/* Featured (Professional) card — full white text override */
.pricing-card-featured .pricing-tier             { color: #fff; }
.pricing-card-featured .pricing-tagline          { color: rgba(255, 255, 255, 0.86); }
.pricing-card-featured .pricing-amount .currency,
.pricing-card-featured .pricing-amount .amount   { color: #fff; }
.pricing-card-featured .pricing-amount .period   { color: rgba(255, 255, 255, 0.78); }
.pricing-card-featured .pricing-fineprint        { color: rgba(255, 255, 255, 0.75); }
.pricing-card-featured .pricing-features li,
.pricing-card-featured .pricing-features strong  { color: #fff; }
.pricing-card-featured .pricing-features li.muted{ color: rgba(255, 255, 255, 0.55); }
/* Checkmarks → bright accent so they pop on blue */
.pricing-card-featured .pricing-features li i.bi-check-lg { color: #FFB020; }
.pricing-card-featured .pricing-features li.muted i       { color: rgba(255, 255, 255, 0.45); }
/* CTA button on featured card → inverted */
.pricing-card-featured .btn-primary {
    background: #fff; color: var(--brand-primary); border-color: #fff;
}
.pricing-card-featured .btn-primary:hover {
    background: #f4f6fa; box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    color: var(--brand-primary-dark);
}

.pricing-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: #FFB020;
    color: #5C3A00;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

.pricing-tier {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.pricing-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 22px;
    min-height: 40px;
}
.pricing-amount {
    margin-bottom: 4px;
    line-height: 1;
}
.pricing-amount .currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    vertical-align: top;
    margin-right: 2px;
}
.pricing-amount .amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}
.pricing-amount .period {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}
.pricing-fineprint {
    color: var(--text-muted);
    font-size: 0.825rem;
    margin-bottom: 22px;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}
.pricing-features li {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.9375rem;
    color: var(--text-body);
    align-items: flex-start;
}
.pricing-features li i {
    flex-shrink: 0;
    color: var(--brand-primary);
    font-size: 1rem;
    margin-top: 3px;
}
.pricing-features li.muted { color: var(--text-muted); }
.pricing-features li.muted i { color: var(--text-muted); }

/* ---- Add-on cards ------------------------------------------------- */
.addon-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 24px;
    height: 100%;
    transition: all var(--t-base);
}
.addon-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.addon-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.addon-card h3 { font-size: 1.0625rem; margin-bottom: 6px; color: var(--text-dark); }
.addon-price {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 10px;
}
.addon-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.addon-card p.addon-price + p { margin-top: 4px; }

/* ---- Pricing comparison table ------------------------------------- */
.pricing-comparison thead th { text-align: center; }
.pricing-comparison thead th:first-child { text-align: left; }
.pricing-comparison tbody td { text-align: center; }
.pricing-comparison tbody td:first-child { text-align: left; }
.pricing-comparison .featured-col {
    background: rgba(13, 83, 219, 0.06) !important;
    color: var(--text-dark);
}
.pricing-comparison thead th.featured-col {
    background: var(--brand-primary) !important;
    color: #fff !important;
}
.pricing-comparison .text-primary { color: var(--brand-primary); }
.pricing-comparison .text-na      { color: #C9CFDA !important; font-size: 1.05rem; }

/* "Not available" icon styling on pricing cards */
.pricing-features li.muted i.bi-x-circle-fill {
    color: #D6D9E2;
}
.pricing-card-featured .pricing-features li.muted i.bi-x-circle-fill {
    color: rgba(255, 255, 255, 0.4);
}

/* ---- FAQ accordion ------------------------------------------------ */
.faq-accordion .accordion-item {
    background: #fff;
    border: 1px solid var(--border-soft) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    background: #fff;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 22px;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    box-shadow: none;
}
.faq-accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.18rem rgba(13, 83, 219, 0.15);
}
.faq-accordion .accordion-body {
    padding: 18px 22px 22px;
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ====================================================================
   REACH US PAGE
   ==================================================================== */

/* ---- Quick contacts strip (hero) ---------------------------------- */
.quick-contacts {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}
.quick-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-fast);
}
.quick-contact:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-2px);
}
.quick-contact i { color: var(--brand-primary); }

/* ---- Contact form (medi-form shared base) ------------------------- */
.medi-form .form-control,
.medi-form .form-select {
    padding: 12px 14px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    background: #fff;
}
.medi-form .form-control:focus,
.medi-form .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.18rem rgba(13, 83, 219, 0.15);
}
.medi-form textarea.form-control { resize: vertical; min-height: 110px; }
.medi-form .form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.medi-form .form-label .req,
.form-label .req {
    color: #DC2626;
    margin-left: 2px;
    font-weight: 700;
}
.medi-form .btn-primary {
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.error-message {
    background: #FEE7E7;
    color: #8B1A1A;
    border-left: 4px solid #D43F3F;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}
.error-message ul { padding-left: 18px; margin-top: 6px; }
.error-message strong { display: block; margin-bottom: 4px; }

/* ---- Contact details card ---------------------------------------- */
.contact-details-card {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.contact-details-card h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--brand-primary);
    display: inline-block;
}
.contact-detail {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border-soft);
}
.contact-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-detail-icon {
    flex: 0 0 42px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.contact-detail h4 {
    font-size: 0.9rem;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 4px 0 6px;
    font-weight: 700;
}
.contact-detail p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.55;
}
.contact-detail p a { color: var(--text-dark); }
.contact-detail p a:hover { color: var(--brand-primary); }
.contact-detail p small { color: var(--text-muted); display: block; margin-top: 2px; }

/* ---- Contact channel cards (form-free reach-us page) -------------- */
.contact-channel-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    height: 100%;
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}
.contact-channel-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.contact-channel-card.channel-featured {
    background: linear-gradient(155deg, #0D53DB 0%, #0A42AE 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}
.contact-channel-card.channel-featured h3,
.contact-channel-card.channel-featured .channel-tagline,
.contact-channel-card.channel-featured .channel-list a,
.contact-channel-card.channel-featured .channel-list,
.contact-channel-card.channel-featured .channel-list strong,
.contact-channel-card.channel-featured .channel-meta { color: #fff; }
.contact-channel-card.channel-featured .channel-tagline,
.contact-channel-card.channel-featured .channel-meta { color: rgba(255, 255, 255, 0.85); }
.contact-channel-card.channel-featured .channel-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.channel-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.contact-channel-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 700;
}
.channel-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 16px;
    line-height: 1.5;
}
.channel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    flex: 1;
}
.channel-list li {
    padding: 4px 0;
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.55;
}
.channel-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--t-fast);
}
.channel-list a:hover { color: var(--brand-primary); }
.contact-channel-card.channel-featured .channel-list a:hover { color: rgba(255, 255, 255, 0.85); }
.channel-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--brand-primary) !important;
    font-size: 1rem;
}
.contact-channel-card.channel-featured .channel-cta { color: #fff !important; }
.channel-meta {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin: 0;
    padding-top: 14px;
    border-top: 1px dashed var(--border-soft);
    display: flex;
    align-items: center;
    gap: 6px;
}
.contact-channel-card.channel-featured .channel-meta {
    border-top-color: rgba(255, 255, 255, 0.25);
}

/* ---- Leiten Group product cards (reach-us page) ------------------- */
.leiten-product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}
.leiten-product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 0 var(--brand-primary);
    transition: box-shadow var(--t-base);
    pointer-events: none;
}
.leiten-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    color: inherit;
    text-decoration: none;
}
.leiten-product-card:hover::after {
    box-shadow: inset 0 0 0 1px var(--brand-primary);
}
.leiten-product-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 16px;
    transition: all var(--t-base);
}
.leiten-product-card:hover .leiten-product-icon {
    background: var(--brand-primary);
    color: #fff;
    transform: scale(1.05);
}
.leiten-product-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.leiten-product-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.45;
}
.leiten-product-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}
.leiten-product-link i {
    font-size: 0.9rem;
    transition: transform var(--t-fast);
}
.leiten-product-card:hover .leiten-product-link i {
    transform: translate(2px, -2px);
}
/* Parent company card slightly distinguished */
.leiten-product-card.leiten-card-parent {
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-primary-soft) 100%);
    border-style: dashed;
}

/* ---- Location cards (Where to Find Us — Een SA + Leiten HQ) -------- */
.location-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    height: 100%;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}
.location-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-primary);
    transition: height var(--t-base);
}
.location-card.location-card-sa::before { background: linear-gradient(90deg, #007749 0%, #FFB81C 50%, #DE3831 100%); }
.location-card.location-card-in::before { background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 50%, #138808 100%); }
.location-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--brand-primary);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 22px;
}
/* Country code badge — replaces flag emoji for cross-platform consistency */
.location-flag {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 83, 219, 0.18);
}
.location-flag-za {
    background: linear-gradient(135deg, #007749 0%, #1B8554 100%);
}
.location-flag-in {
    background: linear-gradient(135deg, #FF9933 0%, #FF7A00 100%);
}
.location-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}
.location-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.location-body {
    margin-bottom: 22px;
}
.location-row {
    display: flex;
    gap: 14px;
    padding: 8px 0;
    align-items: flex-start;
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
}
.location-row > i {
    flex-shrink: 0;
    width: 22px;
    color: var(--brand-primary);
    font-size: 1rem;
    /* Align with first line of text — line-height 1.6 × 0.9375rem ≈ 24px */
    line-height: 1.6;
}
.location-row a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--t-fast);
    font-weight: 500;
}
.location-row a:hover { color: var(--brand-primary); }

.location-tag {
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.825rem;
    font-weight: 600;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767.98px) {
    .location-card { padding: 24px 22px; }
    .location-flag { width: 48px; height: 48px; font-size: 0.95rem; }
    .location-title { font-size: 1.05rem; }
    .location-header { gap: 14px; padding-bottom: 18px; margin-bottom: 18px; }
}

/* ---- Legal documents (privacy, terms) ----------------------------- */
.legal-doc {
    color: var(--text-body);
    line-height: 1.75;
    font-size: 1rem;
}
.legal-doc .legal-intro {
    background: var(--brand-primary-soft);
    border-left: 4px solid var(--brand-primary);
    padding: 18px 22px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 32px;
}
.legal-doc h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 40px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-primary-soft);
    letter-spacing: -0.01em;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 26px 0 10px;
}
.legal-doc p {
    margin: 0 0 14px;
    color: var(--text-body);
}
.legal-doc ul {
    margin: 0 0 18px 0;
    padding-left: 22px;
}
.legal-doc ul li {
    margin-bottom: 8px;
    color: var(--text-body);
}
.legal-doc strong { color: var(--text-dark); }
.legal-doc a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}
.legal-doc a:hover { text-decoration: underline; }
.legal-doc .legal-address {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 0.9375rem;
    color: var(--text-body);
    margin: 14px 0 22px;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .legal-doc h2 { font-size: 1.2rem; }
    .legal-doc h3 { font-size: 1rem; }
    .legal-doc { font-size: 0.9375rem; }
}

/* ---- Office photo ------------------------------------------------- */
.office-photo-wrap {
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-soft);
    position: relative;
}
.office-photo {
    width: 100%; height: 100%;
    object-fit: cover;
}
.office-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--brand-primary-soft) 0%, #d6e2fb 100%);
    color: var(--brand-primary);
    font-size: 0.9rem;
    gap: 12px;
}
.office-placeholder i { font-size: 4rem; }
.office-photo + .office-placeholder { display: none; }
.office-photo[style*="display: none"] + .office-placeholder { display: flex; }

/* ---- Map ---------------------------------------------------------- */
.map-section {
    margin-top: 0;
    line-height: 0;
}
.map-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.map-wrap iframe {
    display: block;
    filter: grayscale(0.15);
    transition: filter var(--t-base);
}
.map-wrap:hover iframe { filter: grayscale(0); }

/* ---- Mobile tweaks ------------------------------------------------ */
@media (max-width: 991.98px) {
    .pricing-card-featured { transform: none; }
    .pricing-card-featured:hover { transform: translateY(-3px); }
}
@media (max-width: 767.98px) {
    .pricing-amount .amount { font-size: 2.1rem; }
    .pricing-tagline { min-height: auto; }
    .quick-contacts { gap: 10px; }
    .quick-contact { padding: 8px 14px; font-size: 0.875rem; }
    .contact-details-card { padding: 22px; }
    .contact-channel-card { padding: 22px; }
    .channel-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .billing-toggle-btn { padding: 7px 16px; font-size: 0.85rem; }
}
