/* ==========================================================================
   ZEBRA FOUNDATION — PREMIUM DESIGN SYSTEM
   Override layer loaded after g.css. Matches the zeez.png reference:
   deep navy institutional top bar, white nav, teal actions, emerald accents.
   ========================================================================== */

:root {
    /* Brand palette */
    --z-navy-900: #071A36;
    --z-navy-800: #0A2145;
    --z-navy: #0B2447;
    --z-navy-600: #14356B;
    --z-teal: #0FA396;
    --z-teal-dark: #0B8478;
    --z-teal-deep: #086B61;
    --z-teal-soft: rgba(15, 163, 150, 0.10);
    --z-emerald: #12B76A;
    --z-ink: #14263F;
    --z-slate: #51617A;
    --z-slate-light: #7C8CA5;
    --z-bg: #F5F8FB;
    --z-white: #FFFFFF;
    --z-border: #E4EAF2;

    /* Elevation — navy-tinted, single light source */
    --z-shadow-xs: 0 1px 2px rgba(11, 36, 71, 0.05);
    --z-shadow-sm: 0 2px 8px rgba(11, 36, 71, 0.06), 0 1px 2px rgba(11, 36, 71, 0.04);
    --z-shadow-md: 0 12px 28px -8px rgba(11, 36, 71, 0.12), 0 2px 6px rgba(11, 36, 71, 0.05);
    --z-shadow-lg: 0 28px 56px -16px rgba(11, 36, 71, 0.20), 0 4px 12px rgba(11, 36, 71, 0.06);
    --z-shadow-teal: 0 10px 24px -8px rgba(15, 163, 150, 0.45);

    /* Radii */
    --z-r-sm: 10px;
    --z-r-md: 16px;
    --z-r-lg: 22px;

    /* Motion */
    --z-ease: cubic-bezier(0.32, 0.72, 0, 1);
    --z-spring: cubic-bezier(0.34, 1.4, 0.44, 1);

    /* Layout */
    --topbar-h: 44px;
    --header-h: 84px;

    /* Remap legacy g.css tokens so every old rule inherits the new palette */
    --primary: var(--z-teal);
    --primary-dark: var(--z-teal-dark);
    --secondary: var(--z-navy);
    --dark: var(--z-ink);
    --light: var(--z-bg);
    --gray: var(--z-slate);
    --light-gray: var(--z-border);
    --color-default: var(--z-slate);
}

/* ==========================================================================
   1. BASE & TYPOGRAPHY
   ========================================================================== */

body {
    font-family: 'Plus Jakarta Sans', 'Raleway', sans-serif;
    color: var(--z-slate);
    background-color: var(--z-white);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Raleway', sans-serif;
    color: var(--z-navy);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

::selection {
    background: rgba(15, 163, 150, 0.22);
    color: var(--z-navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--z-teal);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 110px 0 120px;
}

.section-title {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 800;
    color: var(--z-navy);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-title::after {
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: var(--z-teal);
    margin: 18px auto 26px;
}

.section > .container > p.text-center,
.section-header p {
    color: var(--z-slate);
    font-size: 1.1rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* Undo a stray legacy rule that squeezed and tinted paragraphs green */
.text-center p {
    width: auto;
    color: var(--z-slate);
}

/* Legacy global h1 was brown (#5d271a) */
h1 {
    color: var(--z-navy);
    letter-spacing: -0.025em;
}

/* Preloader: white and calm instead of dark gray */
#page-preloader {
    background: var(--z-white);
}

.spinner {
    border: 3px solid var(--z-border);
    border-top-color: var(--z-teal);
    width: 44px;
    height: 44px;
}

/* Scroll progress: hairline teal */
.progress-container {
    height: 3px;
    z-index: 1200;
}

.progress-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--z-teal), var(--z-emerald));
}

/* ==========================================================================
   2. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--z-teal);
    color: #fff;
    border: none;
    border-radius: var(--z-r-sm);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow: var(--z-shadow-teal);
    transition: transform 0.35s var(--z-spring), box-shadow 0.35s var(--z-ease), background-color 0.35s var(--z-ease);
}

.btn::after {
    content: none;
}

.btn i {
    font-size: 0.85em;
    transition: transform 0.35s var(--z-spring);
}

.btn:hover {
    background: var(--z-teal-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(15, 163, 150, 0.55);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 16px -6px rgba(15, 163, 150, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid var(--z-teal);
    color: var(--z-teal-dark);
    box-shadow: var(--z-shadow-sm);
}

.btn-outline:hover {
    background: var(--z-teal);
    border-color: var(--z-teal);
    color: #fff;
    box-shadow: var(--z-shadow-teal);
}

/* ==========================================================================
   3. TOP UTILITY BAR — institutional deep navy
   ========================================================================== */

.topbar {
    background: var(--z-navy-800);
    background: linear-gradient(90deg, var(--z-navy-900) 0%, var(--z-navy) 60%, var(--z-navy-600) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13.5px;
    padding: 0;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.topbar-container {
    max-width: 1320px;
    width: 100%;
    padding: 0 24px;
}

.topbar-left {
    gap: 28px;
}

.contact-infoo {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-infoo a.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.3s var(--z-ease);
}

.contact-infoo:hover,
.contact-infoo a.contact-link:hover {
    color: #fff;
}

.contact-infoo a.contact-link:hover .topbar-icon {
    color: #fff;
    background: var(--z-teal);
}

.topbar-icon {
    color: #6FE3D6;
    font-size: 11px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background-color 0.25s var(--z-ease), color 0.25s var(--z-ease);
}

.topbar-badge {
    background: var(--z-teal);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 7px 18px;
    border-radius: 999px;
    margin-left: 6px;
    box-shadow: 0 4px 12px -2px rgba(15, 163, 150, 0.5);
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), border-color 0.3s var(--z-ease);
}

.topbar-badge a {
    color: #fff;
}

.topbar-badge:hover {
    background: var(--z-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -4px rgba(15, 163, 150, 0.6);
}

.topbar-right {
    gap: 10px;
}

.social-link {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), border-color 0.3s var(--z-ease);
}

.social-link:hover {
    background: var(--z-teal);
    border-color: var(--z-teal);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px -4px rgba(15, 163, 150, 0.55);
}

@media (max-width: 768px) {
    .topbar-badge {
        display: none;
    }

    .topbar-left {
        gap: 12px;
    }

    .contact-infoo .topbar-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

/* ==========================================================================
   4. HEADER & NAVIGATION — clean white, international consultancy
   ========================================================================== */

header {
    top: var(--topbar-h);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--z-border);
    box-shadow: none;
    color: var(--z-ink);
    transition: box-shadow 0.45s var(--z-ease), background 0.45s var(--z-ease);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 32px -12px rgba(11, 36, 71, 0.14);
    padding: 0;
    border-bottom-color: transparent;
}

header .container {
    max-width: 1320px;
    padding: 0 24px;
}

.navbar {
    padding: 16px 0;
    transition: padding 0.45s var(--z-ease);
}

header.scrolled .navbar {
    padding: 10px 0;
}

.logoo {
    margin-left: 0;
    width: auto;
    justify-content: flex-start;
}

.logoo img {
    max-height: 56px;
    transition: max-height 0.45s var(--z-ease), transform 0.3s var(--z-ease);
}

header.scrolled .logoo img {
    max-height: 48px;
}

.nav-links {
    gap: 6px;
}

.nav-links a {
    margin-top: 0;
    padding: 10px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #35465F;
    border-radius: 8px;
    transition: color 0.3s var(--z-ease);
}

.nav-links a::after {
    bottom: 2px;
    left: 14px;
    right: 14px;
    width: auto;
    height: 2.5px;
    border-radius: 999px;
    background: var(--z-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--z-ease);
}

.nav-links a:hover {
    color: var(--z-teal-dark);
}

.nav-links a:hover::after {
    width: auto;
    transform: scaleX(1);
}

.nav-links li.active > a {
    color: var(--z-teal-dark);
    font-weight: 700;
    padding-left: 14px;
    background: transparent;
}

.nav-links li.active > a::after {
    transform: scaleX(1);
}

/* Dropdown */
.dropdown {
    margin-top: 0;
}

.dropdown label {
    padding: 10px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #35465F;
    gap: 7px;
}

.dropdown label i {
    font-size: 11px;
    transition: transform 0.2s var(--z-ease);
}

.dropdown:hover label i {
    transform: rotate(180deg);
}

.dropdown label:hover {
    color: var(--z-teal-dark);
}

.dropdown-menu {
    min-width: 240px;
    border-radius: 14px;
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-lg);
    padding: 10px;
    margin-top: 6px;
}

/* Real open/close animation: g.css toggles display (untransitionable),
   so keep the menu rendered and animate visibility + transform instead */
@media (min-width: 993px) {
    .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px) scale(0.98);
        transform-origin: top left;
        transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1),
                    transform 200ms cubic-bezier(0.23, 1, 0.32, 1),
                    visibility 200ms;
    }

    .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
}

.dropdown-menu::before {
    border-color: var(--z-border);
}

.dropdown-menu li a {
    padding: 11px 16px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 14.5px;
    color: #35465F;
}

.dropdown-menu li a::after {
    content: none;
}

.dropdown-menu li a:hover {
    padding-left: 16px;
    background: var(--z-teal-soft);
    color: var(--z-teal-dark);
}

/* Login button — teal outline pill, like the reference */
.login-btn {
    color: var(--z-teal-dark);
    border: 1.5px solid var(--z-teal);
    border-radius: 999px;
    padding: 9px 24px;
    margin-top: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    background: transparent;
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), border-color 0.3s var(--z-ease);
}

.login-btn:hover {
    background: var(--z-teal);
    border-color: var(--z-teal);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--z-shadow-teal);
}

.nav-links a.t {
    padding: 0;
    margin-left: 10px;
}

.nav-links a.t::after {
    content: none;
}

.hamburger {
    color: var(--z-navy);
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: background 0.3s var(--z-ease);
}

.hamburger:hover {
    background: var(--z-teal-soft);
}

/* Mobile navigation */
@media (max-width: 992px) {
    header,
    header.scrolled {
        top: var(--topbar-h);
        background: rgba(255, 255, 255, 0.98);
    }

    .hamburger {
        display: flex;
        font-size: 1.3rem;
    }

    .nav-links {
      /*   top: calc(var(--topbar-h) + 69px); */
        height: calc(100vh - var(--topbar-h) - 69px);
        height: calc(100dvh - var(--topbar-h) - 69px);
        background: #ffffff;
        gap: 6px;
        padding-top: 40px;
        align-items: stretch;
        padding-left: 28px;
        padding-right: 28px;
        overflow-y: auto;
        transition: left 0.5s var(--z-ease);
        box-shadow: none;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--z-bg);
    }

    .nav-links a {
        width: 100%;
        padding: 15px 8px;
        font-size: 1.05rem;
    }

    .nav-links a::after {
        content: none;
    }

    .nav-links li.active > a {
        color: var(--z-teal-dark);
        border-left: 3px solid var(--z-teal);
        padding-left: 14px;
        border-radius: 0;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown label {
        padding: 15px 8px;
        font-size: 1.05rem;
    }

    .dropdown input[type="checkbox"]:checked ~ .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--z-bg);
        border-radius: 12px;
        margin: 0 0 10px;
    }

    .dropdown-menu::before {
        content: none;
    }

    .nav-links a.t {
        margin: 18px 8px 0;
        width: auto;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 24px;
    }
}

/* ==========================================================================
   5. HERO — the strongest section on the site
   ========================================================================== */

.hero {
    height: auto;
    min-height: 90svh;
    max-height: 1000px;
    align-items: stretch;
    color: var(--z-navy);
    background: var(--z-navy-900);
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    transform: none;
    transition: opacity 1.1s var(--z-ease);
}

.hero-slide .hero_container {
    padding-top: calc(var(--topbar-h) + var(--header-h));
}

/* Premium education photography, compressed for performance */
.hero-slide-1 { background-image: url("https://images.pexels.com/photos/7034082/pexels-photo-7034082.jpeg?auto=compress&cs=tinysrgb&w=1920"); }
.hero-slide-2 { background-image: url("https://images.pexels.com/photos/8106556/pexels-photo-8106556.jpeg?auto=compress&cs=tinysrgb&w=1920"); }
.hero-slide-3 { background-image: url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1920&q=75"); }

/* Readability overlay — soft white wash from the left, like the reference */
.hero-slide::before {
   /*  Overlay disabled per request — restore by uncommenting. */
background: linear-gradient(
    90deg,
    rgba(250, 252, 254, 0.92) 0%,
    rgba(250, 252, 254, 0.86) 26%,
    rgba(250, 252, 254, 0.58) 46%,
    rgba(250, 252, 254, 0.18) 68%,
    rgba(250, 252, 254, 0) 100%
);
}

.hero_container {
    max-width: 1320px;
    padding: 0 24px;
    justify-content: flex-start;
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--z-teal-dark);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--z-teal);
}

.hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: var(--z-navy);
    margin-bottom: 26px;
    max-width: 14ch;
}

.hero h1::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: var(--z-teal);
    margin-top: 28px;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #3A4B66;
    max-width: 33rem;
    margin-bottom: 36px;
}

.hero-btns {
    gap: 16px;
}

.hero-btns .btn {
    padding: 16px 34px;
}

/* Slider dots — teal, active stretches into a pill */
.slider-dots {
    bottom: 42px;
    gap: 9px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    background: rgba(11, 36, 71, 0.25);
    transition: width 0.3s var(--z-spring), background-color 0.3s var(--z-ease), transform 0.3s var(--z-spring);
}

.slider-dot.active {
    background: var(--z-teal);
    width: 28px;
    border-radius: 999px;
    transform: none;
}

/* Slider arrows — white discs with navy chevrons */
.slider-arrows {
    padding: 0 28px;
}

.arrow {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--z-navy);
    font-size: 15px;
    box-shadow: var(--z-shadow-md);
    border: 1px solid rgba(11, 36, 71, 0.06);
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), border-color 0.3s var(--z-ease);
}

.arrow:hover {
    background: var(--z-teal);
    color: #fff;
    transform: scale(1.06);
    box-shadow: var(--z-shadow-teal);
}

.arrow:active {
    transform: scale(0.96);
}

@media (max-width: 992px) {
    .hero {
        min-height: 88svh;
    }

    .hero-slide::before {
       /*  Overlay disabled per request — restore by uncommenting. */
        background: linear-gradient(90deg,
            rgba(250, 252, 254, 0.96) 0%,
            rgba(250, 252, 254, 0.88) 40%,
            rgba(250, 252, 254, 0.62) 75%,
            rgba(250, 252, 254, 0.45) 100%); 
     
    }

    .hero-btns {
        flex-direction: row;
        align-items: flex-start;
    }

    .hero-btns .btn {
        width: auto;
        max-width: none;
    }

    /* Content spans the full width here — arrows collide with the copy */
    .slider-arrows {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100svh;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 8.5vw, 2.8rem);
    }

    .hero p {
        font-size: 1.05rem;
    }
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .slider-dots {
        bottom: 28px;
    }
}

/* ==========================================================================
   6. FEATURE STRIP under the hero (replaces the old "servass" boxes)
   ========================================================================== */

.servass {
    padding: 0;
    background: var(--z-white);
    border-bottom: 1px solid var(--z-border);
    position: relative;
    z-index: 2;
}

.servass-counter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 44px 0;
}

.single-servass-box {
    display: flex;
    gap: 18px;
    padding: 8px 32px;
    border-radius: 0;
    align-items: flex-start;
    border-left: 1px solid var(--z-border);
    transition: transform 0.4s var(--z-spring);
}

.single-servass-box:first-child {
    border-left: none;
    padding-left: 0;
}

.single-servass-box:hover {
    transform: translateY(-4px);
}

.servass-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--z-teal-soft);
    color: var(--z-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease);
}

.single-servass-box:hover .servass-icon {
    background: var(--z-teal);
    color: #fff;
    box-shadow: var(--z-shadow-teal);
}

.servass-content h2,
.servass-content h2 a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--z-navy);
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
    transition: color 0.3s var(--z-ease);
}

.servass-content h2 a:hover {
    color: var(--z-teal-dark);
}

.servass-content p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    color: var(--z-slate);
    line-height: 1.6;
    margin-top: 0;
}

@media (max-width: 992px) {
    .servass-counter {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 0;
    }

    .single-servass-box:nth-child(3) {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .servass-counter {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0;
    }

    .single-servass-box {
        border-left: none;
        padding: 0;
        text-align: left;
        flex-direction: row;
        align-items: flex-start;
    }
}

/* ==========================================================================
   7. ABOUT
   ========================================================================== */

.about {
    background:
        radial-gradient(1100px 540px at 88% 10%, rgba(15, 163, 150, 0.07) 0%, transparent 62%),
        radial-gradient(900px 520px at 2% 96%, rgba(11, 36, 71, 0.05) 0%, transparent 58%),
        linear-gradient(180deg, #FFFFFF 0%, #F1F6FA 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative layers — pure ornament, no pointer events */
.about-deco {
    position: absolute;
    pointer-events: none;
}

.about-deco-dots {
    top: 90px;
    right: 4%;
    width: 260px;
    height: 200px;
    background-image: radial-gradient(rgba(11, 36, 71, 0.13) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.about-deco-glow {
    bottom: -180px;
    left: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 163, 150, 0.09) 0%, transparent 68%);
}

.about-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 76px;
    align-items: center;
    position: relative;
}

/* --- Left column: editorial text --- */
.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--z-teal-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--z-teal);
}

.about-text h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.1rem, 3.2vw, 2.9rem);
    color: var(--z-navy);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.about-text .about-lead {
    font-size: 1.13rem;
    color: var(--z-slate);
    line-height: 1.75;
    max-width: 34rem;
    margin-bottom: 8px;
}

/* Mission & Vision */
.about-mv {
    display: grid;
    gap: 14px;
    margin: 26px 0 8px;
}

.about-mv-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-left: 3px solid var(--z-teal);
    border-radius: 14px;
    box-shadow: var(--z-shadow-xs);
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), border-color 0.3s var(--z-ease);
}

.about-mv-card:hover {
    transform: translateX(4px);
    box-shadow: var(--z-shadow-md);
    border-left-color: var(--z-emerald);
}

.about-mv-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--z-teal-soft);
    color: var(--z-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background-color 0.3s var(--z-ease), color 0.3s var(--z-ease);
}

.about-mv-card:hover .about-mv-icon {
    background: var(--z-teal);
    color: #fff;
}

.about-mv-body h4 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--z-navy);
    margin-bottom: 4px;
}

.about-mv-body p {
    font-size: 0.96rem;
    color: var(--z-slate);
    line-height: 1.65;
    margin: 0;
}

/* Inline stats with animated counters */
.about-stats {
    display: flex;
    margin: 28px 0;
    padding: 24px 0;
    border-top: 1px solid var(--z-border);
    border-bottom: 1px solid var(--z-border);
}

.about-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 24px;
    border-left: 1px solid var(--z-border);
}

.about-stat:first-child {
    padding-left: 0;
    border-left: none;
}

.about-stat-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--z-navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.about-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--z-slate-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* CTA row */
.about-cta {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--z-teal-dark);
    font-weight: 700;
    font-size: 0.98rem;
    transition: color 0.25s var(--z-ease);
}

.about-link i {
    font-size: 0.8em;
    transition: transform 0.3s var(--z-spring);
}

.about-link:hover {
    color: var(--z-teal-deep);
}

.about-link:hover i {
    transform: translateX(4px);
}

/* --- Right column: layered image composition --- */
.about-img {
    position: relative;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    padding: 30px 0 52px 52px;
}

.about-img-frame {
    position: relative;
    border-radius: var(--z-r-lg);
    overflow: hidden;
    box-shadow: var(--z-shadow-lg);
}

.about-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to top, rgba(7, 26, 54, 0.32) 0%, transparent 38%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.about-img-frame img,
.about-img-secondary img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s var(--z-ease);
}

/* Reserve space before the lazy image paints — prevents layout shift */
.about-img-frame img {
    aspect-ratio: 4 / 5;
}

.about-img:hover .about-img-frame img {
    transform: scale(1.04);
}

.about-img-secondary {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44%;
    aspect-ratio: 4 / 3;
    border-radius: var(--z-r-md);
    overflow: hidden;
    border: 6px solid var(--z-white);
    box-shadow: var(--z-shadow-lg);
}

.about-badge {
    position: absolute;
    top: 0;
    right: 26px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: var(--z-shadow-md);
    animation: aboutBadgeFloat 5s ease-in-out infinite;
}

@keyframes aboutBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.about-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--z-teal), var(--z-emerald));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.about-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.about-badge-text strong {
    color: var(--z-navy);
    font-weight: 800;
    font-size: 0.98rem;
}

.about-badge-text span {
    color: var(--z-slate-light);
    font-size: 0.78rem;
    font-weight: 600;
}

/* --- Feature cards row --- */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 72px;
}

.feature-item {
    flex-direction: column;
    gap: 18px;
    padding: 30px 28px;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-md);
    box-shadow: var(--z-shadow-xs);
    margin-bottom: 0;
    opacity: 1;
    transform: none;
    transition: transform 0.32s var(--z-spring), box-shadow 0.32s var(--z-ease), border-color 0.32s var(--z-ease);
}

.feature-item:hover {
    background: var(--z-white);
    transform: translateY(-6px);
    box-shadow: var(--z-shadow-md);
    border-color: rgba(15, 163, 150, 0.35);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--z-teal-soft);
    color: var(--z-teal);
    font-size: 1.3rem;
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease);
}

.feature-item:hover .feature-icon {
    background: var(--z-teal);
    color: #fff;
    transform: scale(1.06);
    box-shadow: var(--z-shadow-teal);
}

.feature-text h4 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--z-navy);
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--z-slate);
    line-height: 1.65;
}

/* --- About responsive --- */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-img {
        max-width: 560px;
        margin: 0 auto;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 56px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-deco-dots {
        display: none;
    }
}

@media (max-width: 576px) {
    .about-img {
        padding: 26px 0 40px 30px;
    }

    .about-img-secondary {
        width: 48%;
    }

    .about-badge {
        right: 10px;
        padding: 11px 15px;
        gap: 10px;
    }

    .about-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .about-badge-text span {
        display: none;
    }

    .about-stats {
        flex-direction: column;
        gap: 18px;
    }

    .about-stat {
        padding: 0;
        border-left: none;
    }

    .about-cta {
        gap: 18px;
    }

    .about-cta .btn {
        width: 100%;
    }
}

/* ==========================================================================
   8. SERVICES CARDS
   ========================================================================== */

.services {
    /* Continue the About section's fade, then settle on white */
    background: linear-gradient(180deg, #F1F6FA 0%, #FFFFFF 240px);
}

/* --- Editorial split header --- */
.zsv-header {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 64px;
}

.zsv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--z-teal-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.zsv-eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--z-teal);
}

.zsv-header-left h2 {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    color: var(--z-navy);
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 0;
}

.zsv-accent {
    background: linear-gradient(120deg, var(--z-teal), var(--z-emerald));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zsv-header-right p {
    color: var(--z-slate);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.zsv-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--z-teal-dark);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.25s var(--z-ease);
}

.zsv-all-link i {
    font-size: 0.8em;
    transition: transform 0.3s var(--z-spring);
}

.zsv-all-link:hover {
    color: var(--z-teal-deep);
}

.zsv-all-link:hover i {
    transform: translateX(4px);
}

/* --- Featured education cards --- */
.zsv-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.zsv-card {
    display: flex;
    flex-direction: column;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--z-shadow-sm);
    transition: transform 0.32s var(--z-spring), box-shadow 0.32s var(--z-ease), border-color 0.32s var(--z-ease);
}

.zsv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--z-shadow-lg);
    border-color: rgba(15, 163, 150, 0.35);
}

.zsv-media {
    position: relative;
}

.zsv-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--z-ease);
}

.zsv-card:hover .zsv-media img {
    transform: scale(1.06);
}

.zsv-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 26, 54, 0.38) 0%, transparent 45%);
    pointer-events: none;
}

.zsv-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    color: var(--z-navy);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 999px;
    box-shadow: var(--z-shadow-sm);
}

.zsv-icon {
    position: absolute;
    bottom: -26px;
    left: 26px;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--z-teal), var(--z-emerald));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: var(--z-shadow-teal);
    transition: transform 0.3s var(--z-spring);
}

.zsv-card:hover .zsv-icon {
    transform: translateY(-3px) scale(1.05);
}

.zsv-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 44px 26px 26px;
}

.zsv-body h3 {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--z-navy);
    margin-bottom: 10px;
}

.zsv-body p {
    font-size: 0.96rem;
    color: var(--z-slate);
    line-height: 1.7;
    margin-bottom: 20px;
}

.zsv-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--z-teal-dark);
    font-weight: 700;
    font-size: 0.94rem;
    transition: color 0.25s var(--z-ease);
}

.zsv-more i {
    font-size: 0.8em;
    transition: transform 0.3s var(--z-spring);
}

.zsv-more:hover {
    color: var(--z-teal-deep);
}

.zsv-more:hover i {
    transform: translateX(4px);
}

/* --- Compact support & digital cards --- */
.zsv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.zsv-mini {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 54px 26px 26px;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-md);
    box-shadow: var(--z-shadow-xs);
    transition: transform 0.32s var(--z-spring), box-shadow 0.32s var(--z-ease), border-color 0.32s var(--z-ease);
}

.zsv-mini:hover {
    transform: translateY(-5px);
    box-shadow: var(--z-shadow-md);
    border-color: rgba(15, 163, 150, 0.35);
}

.zsv-mini-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--z-teal-soft);
    color: var(--z-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), transform 0.3s var(--z-spring);
}

.zsv-mini:hover .zsv-mini-icon {
    background: var(--z-teal);
    color: #fff;
    transform: scale(1.06);
}

.zsv-mini-body h4 {
    font-size: 1.04rem;
    font-weight: 800;
    color: var(--z-navy);
    margin-bottom: 5px;
    transition: color 0.25s var(--z-ease);
}

.zsv-mini:hover .zsv-mini-body h4 {
    color: var(--z-teal-dark);
}

.zsv-mini-body p {
    font-size: 0.9rem;
    color: var(--z-slate);
    line-height: 1.6;
    margin: 0;
}

.zsv-mini-arrow {
    position: absolute;
    top: 28px;
    right: 22px;
    font-size: 0.8rem;
    color: var(--z-slate-light);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s var(--z-ease), transform 0.3s var(--z-spring), color 0.25s var(--z-ease);
}

.zsv-mini:hover .zsv-mini-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--z-teal-dark);
}

/* Touch devices never hover — keep the affordance visible */
@media (hover: none) {
    .zsv-mini-arrow {
        opacity: 0.55;
        transform: translateX(0);
        color: var(--z-teal-dark);
    }
}

/* --- Services responsive --- */
@media (max-width: 992px) {
    .zsv-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 48px;
    }

    .zsv-featured {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 560px;
        margin: 0 auto;
    }

    .zsv-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 24px;
    }
}

@media (max-width: 640px) {
    .zsv-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

.service-cards {
    gap: 28px;
}

.service-card {
    border-radius: var(--z-r-md);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-sm);
    transition: transform 0.32s var(--z-spring), box-shadow 0.32s var(--z-ease), border-color 0.32s var(--z-ease);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--z-shadow-lg);
    border-color: rgba(15, 163, 150, 0.35);
}

.service-img {
    height: 220px;
}

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--z-navy);
}

.service-content p {
    font-size: 0.98rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--z-teal-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.learn-more::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8em;
    transition: transform 0.35s var(--z-spring);
}

.learn-more:hover {
    color: var(--z-teal-deep);
    text-decoration: none;
}

.learn-more:hover::after {
    transform: translateX(5px);
}

/* ==========================================================================
   9. SOCIAL PROOF / COUNTERS — deep navy band
   ========================================================================== */

.social-proof {
    /* Layered lighting over premium graduation imagery */
    background:
        radial-gradient(1000px 480px at 10% -10%, rgba(15, 163, 150, 0.20) 0%, transparent 55%),
        radial-gradient(800px 420px at 95% 110%, rgba(18, 183, 106, 0.12) 0%, transparent 60%),
        linear-gradient(115deg, rgba(7, 26, 54, 0.93) 0%, rgba(11, 36, 71, 0.87) 50%, rgba(8, 44, 64, 0.82) 100%),
        url('https://images.pexels.com/photos/1454360/pexels-photo-1454360.jpeg?auto=compress&cs=tinysrgb&w=1600') center 42%/cover no-repeat;
    background-color: var(--z-navy-900);
    padding: 108px 0;
    position: relative;
    overflow: hidden;
}

/* Floating blur blobs — pure ornament, GPU-composited transforms only */
.social-proof::before,
.social-proof::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
}

.social-proof::before {
    top: -140px;
    right: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(15, 163, 150, 0.32) 0%, transparent 70%);
    animation: proofDrift 13s ease-in-out infinite;
}

.social-proof::after {
    bottom: -180px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(20, 53, 107, 0.55) 0%, transparent 70%);
    animation: proofDrift 17s ease-in-out infinite reverse;
}

@keyframes proofDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -30px, 0); }
}

.proof-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}

/* Glass counter cards */
.proof-item {
    min-width: 0;
    padding: 44px 24px 38px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--z-r-lg);
    box-shadow:
        0 24px 48px -24px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: transform 0.32s var(--z-spring), border-color 0.32s var(--z-ease),
                background-color 0.32s var(--z-ease), box-shadow 0.32s var(--z-ease),
                opacity 0.6s var(--z-ease);
}

@media (min-width: 992px) {
    .proof-item {
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
}

.proof-item:hover {
    transform: translateY(-7px);
    border-color: rgba(111, 227, 214, 0.42);
    box-shadow:
        0 30px 56px -22px rgba(0, 0, 0, 0.5),
        0 0 44px -8px rgba(15, 163, 150, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.proof-item i {
    width: 66px;
    height: 66px;
    line-height: 66px;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--z-teal) 0%, var(--z-emerald) 100%);
    border-radius: 19px;
    box-shadow:
        0 12px 26px -8px rgba(15, 163, 150, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    margin-bottom: 26px;
    transition: transform 0.32s var(--z-spring), box-shadow 0.32s var(--z-ease);
}

.proof-item:hover i {
    transform: translateY(-4px) scale(1.06) rotate(-3deg);
    box-shadow:
        0 18px 34px -8px rgba(15, 163, 150, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.proof-item h3 {
    font-size: clamp(2.5rem, 3.4vw, 3.1rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.proof-item p {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.66);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 1;
}

/* Social proof responsive */
@media (max-width: 1100px) {
    .proof-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .social-proof {
        padding: 88px 0;
    }
}

@media (max-width: 576px) {
    .proof-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px;
    }

    .social-proof {
        padding: 72px 0;
    }

    .proof-item {
        padding: 30px 14px 26px;
        border-radius: var(--z-r-md);
    }

    .proof-item i {
        width: 54px;
        height: 54px;
        line-height: 54px;
        font-size: 1.2rem;
        border-radius: 15px;
        margin-bottom: 18px;
    }

    .proof-item h3 {
        font-size: 2.1rem;
    }

    .proof-item p {
        font-size: 0.68rem;
        letter-spacing: 0.09em;
    }
}

/* ==========================================================================
   10. STUDY DESTINATIONS
   ========================================================================== */

.section-header h2 {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    color: var(--z-navy);
    letter-spacing: -0.02em;
}

.section-header h2:after {
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: var(--z-teal);
}

/* --- Section canvas: soft gradient + dotted world watermark + flight path --- */

.country-section {
    position: relative;
    padding: 120px 0 130px;
    background:
        radial-gradient(ellipse 900px 480px at 88% -8%, rgba(15, 163, 150, 0.10), transparent 62%),
        radial-gradient(ellipse 760px 420px at -10% 108%, rgba(11, 36, 71, 0.07), transparent 62%),
        linear-gradient(180deg, #F7FAFC 0%, #EDF4F6 100%);
    overflow: hidden;
}

.country-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11, 36, 71, 0.11) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 0%, transparent 74%);
    mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 0%, transparent 74%);
    pointer-events: none;
}

.dest-decor {
    position: absolute;
    inset: 0 0 auto 0;
    height: 340px;
    pointer-events: none;
}

.dest-path {
    width: 100%;
    height: 100%;
}

.dest-path-line {
    stroke: rgba(15, 163, 150, 0.38);
    stroke-width: 1.6;
    stroke-dasharray: 7 9;
    fill: none;
    animation: dest-dash 26s linear infinite;
}

.dest-path circle {
    fill: var(--z-teal);
    opacity: 0.4;
}

@keyframes dest-dash {
    to { stroke-dashoffset: -640; }
}

/* --- Header --- */

.dest-header {
    position: relative;
    margin-bottom: 64px;
}

.dest-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--z-white);
    border: 1px solid rgba(15, 163, 150, 0.28);
    box-shadow: var(--z-shadow-xs);
    color: var(--z-teal-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.dest-eyebrow i {
    font-size: 0.85rem;
}

.country-section .section-header h2:after {
    display: none;
}

.country-section .section-header h2 {
    display: block;
    margin-bottom: 0;
}

.country-section .section-header p {
    margin-top: 16px;
    max-width: 620px;
    font-size: 1.08rem;
}

/* --- Grid --- */

.dest-grid {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Card shell --- */

.dest-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--z-white);
    border-radius: var(--z-r-lg);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-sm);
    overflow: hidden;
    transition: transform 0.45s var(--z-spring), box-shadow 0.45s var(--z-ease), border-color 0.45s var(--z-ease);
}

@media (hover: hover) and (pointer: fine) {
    .dest-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--z-shadow-lg);
        border-color: rgba(15, 163, 150, 0.45);
    }
}

/* --- Media: framed image, scrim, flag, badge, caption --- */

.dest-media {
    position: relative;
    margin: 10px 10px 0;
    height: 236px;
    border-radius: calc(var(--z-r-lg) - 8px);
    overflow: hidden;
    flex: 0 0 auto;
}

.dest-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--z-ease);
}

.dest-card:hover .dest-media > img {
    transform: scale(1.06);
}

.dest-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 26, 54, 0.05) 34%, rgba(7, 26, 54, 0.80) 100%);
    z-index: 1;
    transition: opacity 0.45s var(--z-ease);
}

.dest-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #0A8F52;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(7, 26, 54, 0.22);
}

.dest-badge i {
    font-size: 0.78rem;
}

.dest-flag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 44px;
    height: 31px;
    border-radius: 6px;
    overflow: hidden;
    outline: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 14px rgba(7, 26, 54, 0.35);
    transition: transform 0.35s var(--z-spring);
}

.dest-card:hover .dest-flag {
    transform: translateY(-2px);
}

.dest-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dest-media-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    z-index: 2;
}

.dest-media-caption span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.dest-media-caption h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 2px 14px rgba(7, 26, 54, 0.45);
}

/* --- Body --- */

.dest-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 26px 26px;
}

.dest-desc {
    color: var(--z-slate);
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0 0 20px;
}

.dest-facts {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 13px;
}

.dest-facts li {
    display: flex;
    align-items: center;
    gap: 13px;
}

.dest-fact-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--z-teal-soft);
    color: var(--z-teal-dark);
    font-size: 0.95rem;
    transition: background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), transform 0.3s var(--z-spring);
}

.dest-card:hover .dest-fact-icon {
    background: var(--z-teal);
    color: #fff;
    transform: scale(1.06);
}

.dest-fact-label {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--z-slate-light);
    margin-bottom: 2px;
}

.dest-fact-label i {
    color: var(--z-teal);
    margin-right: 3px;
}

.dest-facts strong {
    display: block;
    color: var(--z-navy);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

/* --- Tuition + visa meter tiles --- */

.dest-meta {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 12px;
    margin-bottom: 22px;
}

.dest-meta > div {
    background: #F4F8FA;
    border: 1px solid var(--z-border);
    border-radius: 14px;
    padding: 13px 15px 12px;
}

.dest-tuition strong {
    display: block;
    color: var(--z-navy);
    font-size: 1.06rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    margin-top: 3px;
    white-space: nowrap;
}

.dest-visa-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 9px;
}

.dest-visa-head .dest-fact-label {
    margin-bottom: 0;
    white-space: nowrap;
}

.dest-visa-head strong {
    color: var(--z-teal-dark);
    font-size: 1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.dest-visa-track {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(11, 36, 71, 0.08);
    overflow: hidden;
}

.dest-visa-fill {
    display: block;
    height: 100%;
    width: var(--fill, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--z-teal), var(--z-emerald));
    transition: width 1.1s var(--z-ease) 0.35s;
}

/* Meter fills as the card scrolls into view (AOS toggles .aos-animate) */
[data-aos].aos-init:not(.aos-animate) .dest-visa-fill {
    width: 0;
}

/* --- CTA: navy pill with nested icon disc --- */

.dest-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 22px;
    border-radius: 999px;
    background: var(--z-navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.3s var(--z-ease), transform 0.2s var(--z-ease), box-shadow 0.3s var(--z-ease);
}

.dest-cta:hover,
.dest-cta:focus-visible {
    background: var(--z-teal-dark);
    color: #fff;
    box-shadow: var(--z-shadow-teal);
}

.dest-cta:active {
    transform: scale(0.98);
}

.dest-cta-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--z-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    transition: transform 0.3s var(--z-spring), background-color 0.3s var(--z-ease);
}

.dest-cta:hover .dest-cta-icon {
    transform: translateX(3px);
    background: var(--z-navy);
}

/* --- Footnote --- */

.dest-footnote {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    position: relative;
}

.dest-footnote i {
    color: var(--z-teal);
    font-size: 1.05rem;
}

.dest-footnote p {
    margin: 0;
    color: var(--z-slate);
    font-size: 0.95rem;
}

.dest-footnote a {
    color: var(--z-teal-dark);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(15, 163, 150, 0.30);
    transition: border-color 0.25s var(--z-ease);
}

.dest-footnote a:hover {
    border-color: var(--z-teal);
}

/* --- Responsive --- */

@media (max-width: 991.98px) {
    .country-section {
        padding: 92px 0 100px;
    }

    .dest-header {
        margin-bottom: 48px;
    }

    /* flight path collides with header text on narrow screens */
    .dest-decor {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .country-section {
        padding: 72px 0 84px;
    }

    .dest-media {
        height: 208px;
    }

    .dest-body {
        padding: 20px 20px 22px;
    }

    .dest-footnote {
        margin-top: 44px;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 419.98px) {
    .dest-meta {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dest-path-line {
        animation: none;
    }

    .dest-card,
    .dest-media > img,
    .dest-flag,
    .dest-fact-icon,
    .dest-cta-icon,
    .dest-visa-fill {
        transition: none;
    }
}

/* ==========================================================================
   12. WEBSITE SERVICES / PRICING CARDS
   ========================================================================== */

.website-services {
    background: var(--z-bg);
}

.website-card {
    border-radius: var(--z-r-md);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-sm);
    padding: 44px 34px 38px;
    transition: transform 0.32s var(--z-spring), box-shadow 0.32s var(--z-ease), border-color 0.32s var(--z-ease);
}

.website-card::before {
    height: 4px;
    background: linear-gradient(90deg, var(--z-teal), var(--z-emerald));
}

.website-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--z-shadow-lg);
    border-color: rgba(15, 163, 150, 0.35);
}

.website-card h3 {
    color: var(--z-navy);
    font-size: 1.4rem;
    font-weight: 800;
}

.website-icon {
    font-size: 44px;
    color: var(--z-teal);
}

.website-features li {
    font-size: 0.98rem;
    color: var(--z-slate);
}

.website-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--z-teal-dark);
    background: var(--z-teal-soft);
}

.website-card.popular {
    border: 1.5px solid var(--z-teal);
    background: #fff;
    box-shadow: var(--z-shadow-md);
}

.popular-badge {
    background: var(--z-navy);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.website-card .btn {
    border-radius: var(--z-r-sm);
    background: var(--z-teal);
    box-shadow: none;
}

.website-card .btn::before {
    content: none;
}

.website-card .btn:hover {
    background: var(--z-teal-dark);
    box-shadow: var(--z-shadow-teal);
}

.tech-stack h3 {
    color: var(--z-navy);
    font-weight: 800;
}

.tech-icon i {
    color: var(--z-teal);
}

.tech-icon span {
    color: var(--z-slate);
}

/* ==========================================================================
   15. TESTIMONIALS — navy imagery band
   ========================================================================== */

.testimonials {
    background: linear-gradient(rgba(7, 26, 54, 0.93), rgba(11, 36, 71, 0.93)),
        url('https://images.pexels.com/photos/40815/youth-active-jump-happy-40815.jpeg?auto=compress&cs=tinysrgb&w=1600') no-repeat center/cover;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--z-r-lg);
    padding: 56px;
    -webkit-backdrop-filter: blur(6px);
}

.testimonial-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.94);
    font-style: normal;
    font-weight: 500;
}

.testimonial-text::before,
.testimonial-text::after {
    color: var(--z-teal);
    opacity: 0.5;
}

.author-img {
    border: 3px solid var(--z-teal);
}

.author-info h4 {
    color: #fff;
}

.author-role {
    color: rgba(255, 255, 255, 0.65);
}

.rating {
    color: #F5B942;
}

.testimonial-dot {
    background: rgba(255, 255, 255, 0.25);
    transition: width 0.3s var(--z-spring), background-color 0.3s var(--z-ease), transform 0.3s var(--z-spring);
}

.testimonial-dot.active {
    background: var(--z-teal);
    width: 26px;
    border-radius: 999px;
    transform: none;
}

/* ==========================================================================
   16. GALLERY
   ========================================================================== */

.gallery-item {
    border-radius: var(--z-r-md);
}

.gallery-overlay {
    background: linear-gradient(140deg, rgba(11, 36, 71, 0.82), rgba(15, 163, 150, 0.72));
}

/* ==========================================================================
   18. CONTACT — premium two-column: info cards + map | elevated form card
   ========================================================================== */

.contact {
    position: relative;
    background:
        radial-gradient(ellipse 820px 460px at 106% 0%, rgba(15, 163, 150, 0.10), transparent 62%),
        radial-gradient(ellipse 700px 420px at -8% 102%, rgba(11, 36, 71, 0.07), transparent 62%),
        linear-gradient(180deg, #F7FAFC 0%, #EEF4F7 100%);
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11, 36, 71, 0.10) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 8%, #000 0%, transparent 74%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 8%, #000 0%, transparent 74%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

/* --- Header --- */

.contact-eyebrow {
    display: flex;
    width: fit-content;
    margin: 0 auto 18px;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--z-white);
    border: 1px solid rgba(15, 163, 150, 0.28);
    box-shadow: var(--z-shadow-xs);
    color: var(--z-teal-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-eyebrow i {
    font-size: 0.85rem;
}

#contact .contact-intro {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.08rem;
    color: var(--z-slate);
}

/* --- Layout --- */

#contact .contact-container {
    grid-template-columns: 1fr 1.1fr;
    gap: 44px;
    align-items: start;
    margin-top: 26px;
}

/* --- Left: info cards --- */

#contact .contact-info {
    margin-bottom: 0;
}

#contact .contact-info h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

#contact .contact-info > p {
    max-width: 46ch;
}

#contact .contact-details {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

#contact .contact-item {
    margin: 0;
    padding: 16px;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-radius: 16px;
    box-shadow: var(--z-shadow-xs);
    display: flex;
    align-items: flex-start;
    gap: 13px;
    opacity: 1;
    transform: none;
    transition: transform 0.35s var(--z-spring), box-shadow 0.35s var(--z-ease), border-color 0.35s var(--z-ease);
}

#contact .contact-item:first-child {
    grid-column: 1 / -1;
}

@media (hover: hover) and (pointer: fine) {
    #contact .contact-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--z-shadow-md);
        border-color: rgba(15, 163, 150, 0.40);
    }
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--z-teal-soft);
    color: var(--z-teal);
    font-size: 1rem;
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease);
}

.contact-item:hover .contact-icon {
    background: var(--z-teal);
    color: #fff;
    box-shadow: var(--z-shadow-teal);
    transform: scale(1.05);
}

#contact .contact-text h4 {
    color: var(--z-slate-light);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

#contact .contact-text p {
    color: var(--z-navy);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

#contact .contact-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--z-ease);
}

/* long email address must fit its card on one line */
#contact .contact-text a[href^="mailto:"] {
    font-size: 0.82rem;
    letter-spacing: -0.01em;
}

#contact .contact-text a:hover {
    color: var(--z-teal-dark);
}

/* --- Socials --- */

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-xs);
    color: var(--z-navy);
    font-size: 0.9rem;
    transition: transform 0.3s var(--z-spring), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), border-color 0.3s var(--z-ease), box-shadow 0.3s var(--z-ease);
}

.contact-socials a:hover {
    background: var(--z-teal);
    border-color: var(--z-teal);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--z-shadow-teal);
}

/* --- Map --- */

#contact .map-container {
    margin-top: 22px;
    height: 232px;
    border-radius: 18px;
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-sm);
}

/* --- Right: form card --- */

#contact .contact-form {
    position: relative;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-radius: 22px;
    padding: 36px 34px 34px;
    box-shadow: var(--z-shadow-md);
}

.form-head h4 {
    color: var(--z-navy);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.form-head p {
    color: var(--z-slate-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

#contact .form-group {
    margin-bottom: 18px;
}

#contact .form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--z-slate);
    margin-bottom: 8px;
}

#contact .contact-form input,
#contact .contact-form textarea,
#contact .contact-form select {
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    border: 1.5px solid var(--z-border);
    border-radius: 12px;
    padding: 14px 16px;
    background: #F7FAFB;
    color: var(--z-ink);
    transition: border-color 0.3s var(--z-ease), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease);
}

#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder {
    color: var(--z-slate-light);
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus,
#contact .contact-form select:focus {
    outline: none;
    background: var(--z-white);
    border-color: var(--z-teal);
    box-shadow: 0 0 0 4px rgba(15, 163, 150, 0.14);
}

#contact .contact-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2351617A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    cursor: pointer;
}

#contact .contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* --- Submit: gradient pill with nested icon + sheen sweep --- */

#contact .contact-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding: 9px 9px 9px 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(100deg, var(--z-teal), var(--z-teal-dark));
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 18px -8px rgba(15, 163, 150, 0.5);
    transition: transform 0.2s var(--z-ease), box-shadow 0.3s var(--z-ease), filter 0.3s var(--z-ease);
}

#contact .contact-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--z-ease);
    pointer-events: none;
}

#contact .contact-submit:hover {
    filter: brightness(1.06);
    box-shadow: var(--z-shadow-teal);
}

#contact .contact-submit:hover::before {
    left: 120%;
}

#contact .contact-submit:active {
    transform: scale(0.98);
}

.contact-submit-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    transition: transform 0.3s var(--z-spring), background-color 0.3s var(--z-ease);
}

#contact .contact-submit:hover .contact-submit-icon {
    transform: translate(2px, -2px);
    background: rgba(255, 255, 255, 0.32);
}

/* --- Status message --- */

.form-message {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    background: rgba(18, 183, 106, 0.08);
    color: #0B7A48;
    border: 1px solid rgba(18, 183, 106, 0.35);
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

/* --- Responsive --- */

@media (max-width: 991.98px) {
    #contact .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #contact .contact-info > p {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    #contact .contact-details {
        grid-template-columns: 1fr;
    }

    #contact .contact-form {
        padding: 28px 22px 26px;
    }

    #contact .map-container {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #contact .contact-item,
    .contact-icon,
    .contact-socials a,
    #contact .contact-submit,
    #contact .contact-submit::before,
    .contact-submit-icon {
        transition: none;
    }
}

/* ==========================================================================
   19. FLOATING BUTTONS
   ========================================================================== */

.float-btn {
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 28px;
    background: var(--z-navy);
    border-radius: 14px;
    font-size: 1.05rem;
    box-shadow: var(--z-shadow-lg);
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), border-color 0.3s var(--z-ease);
}

.float-btn:hover {
    background: var(--z-teal);
    transform: translateY(-4px);
    box-shadow: var(--z-shadow-teal);
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 28px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    z-index: 999;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55);
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), border-color 0.3s var(--z-ease);
}

.whatsapp-btn:hover {
    background: #1EBE5A;
    color: #fff;
    transform: translateY(-4px) scale(1.04);
}

/* ==========================================================================
   20. FOOTER — deep navy
   ========================================================================== */

footer {
    background: var(--z-navy-900);
    padding: 96px 0 32px;
}

footer::before {
    background: radial-gradient(ellipse at top right, rgba(15, 163, 150, 0.08) 0%, transparent 55%);
    opacity: 1;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.footer-col h3::after {
    background: var(--z-teal);
    border-radius: 999px;
    width: 36px;
    height: 3px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.75;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    transition: color 0.3s var(--z-ease), padding-left 0.3s var(--z-ease);
}

.footer-links a:hover {
    color: #6FE3D6;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.62);
}

.footer-contact i {
    color: #6FE3D6;
}

.newsletter-form input {
    border-radius: var(--z-r-sm) 0 0 var(--z-r-sm);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.3s var(--z-ease);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--z-teal);
}

.newsletter-form button {
    background: var(--z-teal);
    border-radius: 0 var(--z-r-sm) var(--z-r-sm) 0;
    transition: background 0.3s var(--z-ease);
}

.newsletter-form button:hover {
    background: var(--z-teal-dark);
}

.social-links a {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.3s var(--z-spring), box-shadow 0.3s var(--z-ease), background-color 0.3s var(--z-ease), color 0.3s var(--z-ease), border-color 0.3s var(--z-ease);
}

.social-links a:hover {
    background: var(--z-teal);
    border-color: var(--z-teal);
    transform: translateY(-3px);
    box-shadow: var(--z-shadow-teal);
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.42);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom a:hover {
    color: #6FE3D6;
}

/* ==========================================================================
   21. BREADCRUMBS & INNER-PAGE SUPPORT
   ========================================================================== */

.breadcrumb-section {
    margin-top: calc(var(--topbar-h) + var(--header-h));
    padding: 22px 0;
    background: var(--z-bg);
    border-bottom: 1px solid var(--z-border);
}

.breadcrumb-item a {
    color: var(--z-slate);
    font-weight: 600;
}

.breadcrumb-item a:hover {
    color: var(--z-teal-dark);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--z-teal-dark);
    font-weight: 700;
}

/* ==========================================================================
   22. ACCESSIBILITY & PERFORMANCE
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

@media (max-width: 768px) {
    .section {
        padding: 72px 0 80px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0 68px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .float-btn {
        bottom: 92px;
        right: 20px;
        width: 46px;
        height: 46px;
    }

    .whatsapp-btn {
        left: 20px;
        bottom: 26px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   23. LEGAL PAGES — PREMIUM EXPERIENCE (Terms of Service / Privacy Policy)
   ========================================================================== */

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    background: var(--z-navy);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    z-index: 2000;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* Header sits directly on the dark hero on these pages — force a solid,
   untinted white bar instead of the translucent/blurred default, which
   would otherwise pick up the navy hero color behind it. */
.legal-page header,
.legal-page header.scrolled {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* ---- Hero ---- */
.legal-hero {
    position: relative;
    padding-top: calc(var(--topbar-h) + var(--header-h) + 64px);
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--z-navy-900) 0%, var(--z-navy) 55%, var(--z-navy-600) 100%);
    overflow: hidden;
    isolation: isolate;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.legal-hero::after {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    top: -240px;
    background: radial-gradient(circle, rgba(15, 163, 150, 0.35) 0%, transparent 70%);
    filter: blur(10px);
}

.legal-hero .container { position: relative; z-index: 1; }

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
}
.legal-breadcrumb a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s ease; }
.legal-breadcrumb a:hover { color: var(--z-teal); }
.legal-breadcrumb i { font-size: 0.65rem; opacity: 0.6; }
.legal-breadcrumb span { color: #fff; }

.legal-hero-content { max-width: 760px; }

.legal-hero-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--z-shadow-lg);
    margin-bottom: 28px;
    animation: legalFloat 5s ease-in-out infinite;
}
.legal-hero-icon > i { font-size: 1.9rem; color: var(--z-teal); }
.legal-hero-icon-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--z-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: 3px solid var(--z-navy);
}
.legal-hero-icon-badge i { font-size: 0.7rem; color: #fff; }

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

.legal-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.legal-hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    max-width: 620px;
    margin-bottom: 32px;
}

.legal-meta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.legal-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.legal-chip i { color: var(--z-teal); font-size: 0.8rem; }
.legal-chip time {
    font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
    letter-spacing: 0.01em;
}

/* ---- Layout: sticky TOC + article ---- */
.legal-section {
    padding: 64px 0 100px;
    background: #fff;
}

.legal-grid {
    display: grid;
    grid-template-columns: 276px 1fr;
    gap: 48px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: start;
}

/* ---- Table of contents ---- */
.legal-toc {
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + 24px);
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-lg);
    padding: 22px 18px;
    max-height: calc(100vh - var(--topbar-h) - var(--header-h) - 48px);
    overflow-y: auto;
}
.legal-toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.legal-toc-head h4 {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--z-teal-dark);
    margin: 0;
}
.legal-toc-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    border: none;
    background: none;
    color: var(--z-navy);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px;
}
.legal-toc-toggle i:last-child { font-size: 0.7rem; transition: transform 0.25s ease; }
.legal-toc-toggle[aria-expanded="true"] i:last-child { transform: rotate(180deg); }

.legal-toc-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--z-border);
    border-radius: 10px;
    padding: 9px 12px;
    margin-bottom: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.legal-toc-search:focus-within {
    border-color: var(--z-teal);
    box-shadow: 0 0 0 3px var(--z-teal-soft);
}
.legal-toc-search i { color: var(--z-slate-light); font-size: 0.8rem; }
.legal-toc-search input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.85rem;
    width: 100%;
    color: var(--z-ink);
    font-family: inherit;
}
.legal-toc-search input::placeholder { color: var(--z-slate-light); }

.legal-search-count {
    display: block;
    min-height: 16px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--z-teal-dark);
    margin: 0 0 10px 4px;
}

.legal-toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc-list li { margin-bottom: 2px; }
.legal-toc-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--z-slate);
    border-bottom: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.legal-toc-list a i {
    font-size: 0.78rem;
    color: var(--z-slate-light);
    width: 16px;
    text-align: center;
    transition: color 0.2s ease;
}
.legal-toc-list a:hover { background: rgba(15, 163, 150, 0.08); color: var(--z-navy); }
.legal-toc-list a.active { background: var(--z-navy); color: #fff; }
.legal-toc-list a.active i { color: var(--z-teal); }

/* ---- Article & content cards ---- */
.legal-wrap {
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-card {
    scroll-margin-top: calc(var(--topbar-h) + var(--header-h) + 20px);
    background: #fff;
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-lg);
    padding: 32px 34px;
    transition: transform 0.25s var(--z-ease), box-shadow 0.25s var(--z-ease), border-color 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}
.legal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--z-shadow-md);
    border-color: rgba(15, 163, 150, 0.25);
}
.legal-card.legal-dimmed { opacity: 0.32; filter: saturate(0.4); }

.legal-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.legal-icon-badge {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--z-navy), var(--z-navy-600));
    color: #fff;
    font-size: 1.05rem;
    box-shadow: var(--z-shadow-sm);
}
.legal-card-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--z-teal-dark);
    margin-bottom: 4px;
}
.legal-card-head h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--z-navy);
    margin: 0;
}
.legal-card p {
    font-size: 1.01rem;
    line-height: 1.85;
    color: var(--z-slate);
    margin-bottom: 14px;
}
.legal-card p:last-child,
.legal-card ul:last-child,
.legal-card .legal-table-wrap:last-child,
.legal-card .legal-callout:last-child,
.legal-card .legal-quote:last-child { margin-bottom: 0; }

.legal-card ul { margin: 0 0 14px; padding: 0; list-style: none; }
.legal-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 11px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--z-slate);
}
.legal-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--z-teal);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.8rem;
}
.legal-card a { color: var(--z-teal-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--z-teal); }
.legal-card a:hover { color: var(--z-navy); }

mark.legal-search-hit {
    background: rgba(15, 163, 150, 0.24);
    color: var(--z-navy);
    padding: 0 2px;
    border-radius: 3px;
    font-weight: 700;
}

/* ---- Callouts ---- */
.legal-callout {
    display: flex;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 14px;
    margin: 8px 0 18px;
    border: 1px solid transparent;
}
.legal-callout i { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.legal-callout-title { font-weight: 800; font-size: 0.92rem; margin-bottom: 4px; display: block; }
.legal-callout p { margin: 0; font-size: 0.96rem; line-height: 1.7; color: inherit; }

.legal-callout--notice { background: rgba(240, 165, 46, 0.10); border-color: rgba(240, 165, 46, 0.25); color: #8a5a09; }
.legal-callout--notice i, .legal-callout--notice .legal-callout-title { color: #B5750E; }

.legal-callout--info { background: var(--z-teal-soft); border-color: rgba(15, 163, 150, 0.22); color: var(--z-teal-deep); }
.legal-callout--info i, .legal-callout--info .legal-callout-title { color: var(--z-teal-dark); }

.legal-callout--security { background: rgba(18, 183, 106, 0.10); border-color: rgba(18, 183, 106, 0.25); color: #0E8F53; }
.legal-callout--security i, .legal-callout--security .legal-callout-title { color: #0E8F53; }

.legal-callout--legal { background: rgba(11, 36, 71, 0.06); border-color: rgba(11, 36, 71, 0.14); color: var(--z-navy); }
.legal-callout--legal i, .legal-callout--legal .legal-callout-title { color: var(--z-navy); }

/* ---- Pull-quote ---- */
.legal-quote {
    position: relative;
    margin: 8px 0 18px;
    padding: 22px 26px 22px 56px;
    background: var(--z-bg);
    border-left: 4px solid var(--z-navy);
    border-radius: 0 14px 14px 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--z-ink);
    line-height: 1.75;
}
.legal-quote::before {
    content: '\201C';
    position: absolute;
    left: 16px;
    top: 2px;
    font-size: 2.6rem;
    font-family: Georgia, serif;
    color: var(--z-teal);
    opacity: 0.55;
    font-style: normal;
    line-height: 1;
}

/* ---- Table ---- */
.legal-table-wrap {
    overflow-x: auto;
    margin: 6px 0 18px;
    border-radius: 12px;
    border: 1px solid var(--z-border);
}
.legal-table { width: 100%; min-width: 480px; border-collapse: collapse; margin: 0; font-size: 0.94rem; }
.legal-table th, .legal-table td {
    text-align: left;
    padding: 13px 18px;
    border-bottom: 1px solid var(--z-border);
    color: var(--z-slate);
    vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table th {
    background: var(--z-bg);
    color: var(--z-navy);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.legal-table tr:hover td { background: rgba(15, 163, 150, 0.04); }

/* ---- Closing CTA card (Contact Us) ---- */
.legal-card--cta {
    background: linear-gradient(135deg, var(--z-navy-900), var(--z-navy) 60%, var(--z-navy-600));
    border: none;
    color: #fff;
}
.legal-card--cta .legal-card-head h2 { color: #fff; }
.legal-card--cta .legal-card-eyebrow { color: var(--z-teal); }
.legal-card--cta .legal-icon-badge { background: rgba(255, 255, 255, 0.12); }
.legal-card--cta p { color: rgba(255, 255, 255, 0.78); }
.legal-card--cta:hover { border-color: transparent; }

.legal-contact-box {
    margin-top: 6px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.legal-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 14px 16px;
}
.legal-contact-item i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(15, 163, 150, 0.25);
    color: var(--z-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}
.legal-contact-item span, .legal-contact-item a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom-color: rgba(255, 255, 255, 0.35);
}
.legal-contact-item a:hover { color: var(--z-teal); }

/* ---- Footer strip ---- */
.legal-footer-strip {
    max-width: 1140px;
    margin: 44px auto 0;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-lg);
}
.legal-footer-strip-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--z-slate);
}
.legal-footer-strip-left i { color: var(--z-teal-dark); }
.legal-footer-strip-links { display: flex; align-items: center; gap: 20px; }
.legal-footer-strip-links a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--z-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.legal-footer-strip-links a:hover { color: var(--z-teal-dark); }
.legal-back-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--z-navy);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.legal-back-top:hover { background: var(--z-teal-dark); }
.legal-back-top:active { transform: scale(0.96); }

/* ---- Focus states ---- */
.legal-toc-list a:focus-visible,
.legal-toc-search input:focus-visible,
.legal-toc-toggle:focus-visible,
.legal-back-top:focus-visible,
.legal-footer-strip-links a:focus-visible,
.legal-breadcrumb a:focus-visible,
.legal-card a:focus-visible {
    outline: 2px solid var(--z-teal);
    outline-offset: 2px;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .legal-hero { padding-top: calc(var(--topbar-h) + var(--header-h) + 40px); padding-bottom: 44px; }
    .legal-grid { grid-template-columns: 1fr; gap: 20px; }
    .legal-toc {
        position: static;
        max-height: none;
    }
    .legal-toc-toggle { display: inline-flex; }
    .legal-toc-search { display: none; }
    .legal-search-count { display: none; }
    .legal-toc-list { display: none; }
    .legal-toc.open .legal-toc-search { display: flex; }
    .legal-toc.open .legal-search-count { display: block; }
    .legal-toc.open .legal-toc-list { display: block; }
}

@media (max-width: 640px) {
    .legal-hero-icon { width: 62px; height: 62px; border-radius: 18px; margin-bottom: 22px; }
    .legal-hero-icon > i { font-size: 1.5rem; }
    .legal-hero-icon-badge { width: 26px; height: 26px; }
    .legal-hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
    .legal-hero-sub { font-size: 1rem; }
    .legal-card { padding: 24px 20px; }
    .legal-card-head { gap: 12px; }
    .legal-icon-badge { width: 38px; height: 38px; border-radius: 12px; font-size: 0.9rem; }
    .legal-card-head h2 { font-size: 1.1rem; }
    .legal-footer-strip { flex-direction: column; align-items: flex-start; }
    .legal-quote { padding: 18px 20px 18px 46px; }
    .legal-quote::before { font-size: 2.1rem; left: 12px; }
}
