/* =============================================================
   Excel Tuition Centre — Premium Design System
   -------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout & typography
   4.  Buttons & links
   5.  Header / navigation
   6.  Page hero & breadcrumbs
   7.  Home hero
   8.  Sections & cards
   9.  Stats, steps, checklist, pills
   10. Testimonials
   11. Accordion / FAQ
   12. CTA band
   13. Contact & enquiry form
   14. Footer
   15. Utilities & motion
   16. Responsive
   ============================================================= */


/* =============================================================
   1. TOKENS
   ============================================================= */

:root {
    --navy: #0a2240;
    --navy-900: #071a33;
    --navy-800: #0a2240;
    --navy-700: #103058;
    --blue: #1769aa;
    --blue-600: #15629f;
    --blue-500: #2a7fc4;
    --blue-100: #d9ebf8;
    --aqua: #14b8a6;
    --aqua-700: #0f8f81;
    --aqua-100: #d5f5f0;
    --gold: #c9a227;
    --gold-soft: #e7c75f;
    --gold-100: #f8efd4;

    --ink: #13293d;
    --text: #24384a;
    --muted: #5d7080;
    --muted-2: #8496a3;

    --white: #ffffff;
    --paper: #f7fafc;
    --cloud: #eef5fa;
    --sky: #eaf5fd;
    --mint: #e9faf6;
    --cream: #fdfbf7;

    --border: #dbe7ef;
    --border-strong: #c4d7e3;

    --grad-blue: linear-gradient(135deg, #1c6fb4 0%, #1769aa 45%, #0f4f85 100%);
    --grad-aqua: linear-gradient(135deg, #1dd3bf 0%, #14b8a6 55%, #0f8f81 100%);
    --grad-navy: linear-gradient(150deg, #0a2240 0%, #071a33 100%);
    --grad-gold: linear-gradient(135deg, #e7c75f 0%, #c9a227 100%);
    --grad-mesh:
        radial-gradient(1100px 620px at 12% -8%, rgba(32, 150, 220, 0.20), transparent 62%),
        radial-gradient(900px 560px at 96% 6%, rgba(20, 184, 166, 0.18), transparent 60%),
        radial-gradient(760px 520px at 62% 100%, rgba(201, 162, 39, 0.12), transparent 62%);

    --shadow-xs: 0 1px 2px rgba(10, 34, 64, 0.06);
    --shadow-sm: 0 6px 18px rgba(10, 34, 64, 0.07);
    --shadow: 0 18px 44px rgba(10, 34, 64, 0.10);
    --shadow-lg: 0 34px 70px rgba(10, 34, 64, 0.16);
    --shadow-blue: 0 18px 40px rgba(23, 105, 170, 0.24);

    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --pill: 999px;

    --container: 1180px;
    --container-wide: 1320px;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --header-h: 76px;
}


/* =============================================================
   2. RESET & BASE
   ============================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

img {
    height: auto;
}

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

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--navy);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.022em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

::selection {
    background: var(--blue);
    color: var(--white);
}

:focus-visible {
    outline: 3px solid rgba(23, 105, 170, 0.45);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 20px;
    top: -80px;
    z-index: 2000;
    background: var(--navy);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    transition: top 0.25s var(--ease);
}

.skip-link:focus {
    top: 0;
}


/* =============================================================
   3. LAYOUT & TYPOGRAPHY
   ============================================================= */

.container {
    width: min(var(--container), calc(100% - 44px));
    margin-inline: auto;
}

.container-wide {
    width: min(var(--container-wide), calc(100% - 44px));
    margin-inline: auto;
}

.container-narrow {
    width: min(860px, calc(100% - 44px));
    margin-inline: auto;
}

.section {
    padding: 104px 0;
    position: relative;
}

.section-sm { padding: 70px 0; }
.section-lg { padding: 130px 0; }

.section--paper { background: var(--paper); }
.section--cloud { background: var(--cloud); }
.section--sky { background: var(--sky); }
.section--mint { background: var(--mint); }
.section--cream { background: var(--cream); }
.section--navy {
    background: var(--grad-navy);
    color: rgba(255, 255, 255, 0.82);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--white); }

.section-head {
    max-width: 760px;
    margin-bottom: 54px;
}

.section-head.center {
    text-align: center;
    margin-inline: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.section-label::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-aqua);
}

.section-head.center .section-label {
    justify-content: center;
}

.section-title,
.page-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.section-lead {
    color: var(--muted);
    font-size: 1.08rem;
    margin-top: 18px;
}

.eyebrow {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.lead {
    font-size: 1.12rem;
    color: var(--muted);
}

.muted { color: var(--muted); }
.text-center { text-align: center; }

.serif-accent {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
}

.gold-text { color: var(--gold-soft); }


/* =============================================================
   4. BUTTONS & LINKS
   ============================================================= */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: var(--pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.93rem;
    letter-spacing: 0.005em;
    white-space: nowrap;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
        background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.btn svg { width: 17px; height: 17px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.85rem; }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--grad-blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(23, 105, 170, 0.34);
}

.btn-aqua {
    background: var(--grad-aqua);
    color: #053b35;
    box-shadow: 0 18px 40px rgba(20, 184, 166, 0.3);
}

.btn-aqua:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(20, 184, 166, 0.4);
}

.btn-gold {
    background: var(--grad-gold);
    color: #2c2205;
    box-shadow: 0 16px 36px rgba(201, 162, 39, 0.32);
}

.btn-gold:hover { transform: translateY(-3px); }

.btn-outline {
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.btn:disabled { cursor: not-allowed; opacity: 0.6; transform: none; }

/* text link with animated arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--blue);
    transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.link-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover { gap: 12px; color: var(--blue-600); }


/* =============================================================
   5. HEADER / NAVIGATION
   ============================================================= */

.topbar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 42px;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s var(--ease);
}

.topbar a:hover { color: var(--white); }

.topbar-group {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-soft);
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(219, 231, 239, 0.85);
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px rgba(10, 34, 64, 0.09);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--grad-blue);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(23, 105, 170, 0.3);
}

.brand-mark::after {
    content: "";
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--grad-gold);
    border: 2px solid var(--white);
}

.brand-text strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.14rem;
    color: var(--navy);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.brand-text small {
    display: block;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-top: 3px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.22s var(--ease), background 0.22s var(--ease);
}

.nav-link:hover { color: var(--blue); background: var(--sky); }

.nav-link.is-active { color: var(--blue); }

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-aqua);
}

.nav-link .caret {
    width: 12px;
    height: 12px;
    transition: transform 0.25s var(--ease);
}

.has-dropdown { position: relative; }

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translate(-50%, 10px);
    min-width: 272px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}

.dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--white);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: 3px 0 0 0;
}

.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.has-dropdown.is-open .caret { transform: rotate(180deg); }

.dropdown a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 12px;
    border-radius: 12px;
    transition: background 0.2s var(--ease);
}

.dropdown a:hover { background: var(--sky); }

.dropdown-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--blue-100);
    color: var(--blue);
    font-weight: 800;
    font-size: 0.9rem;
}

.dropdown a:nth-child(2) .dropdown-icon { background: var(--aqua-100); color: var(--aqua-700); }
.dropdown a:nth-child(3) .dropdown-icon { background: var(--gold-100); color: var(--gold); }
.dropdown a:nth-child(4) .dropdown-icon { background: var(--sky); color: var(--blue); }

.dropdown strong {
    display: block;
    font-size: 0.88rem;
    color: var(--navy);
    font-weight: 700;
}

.dropdown span {
    display: block;
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.45;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy);
}

.header-phone svg { width: 16px; height: 16px; color: var(--aqua); }

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(7, 26, 51, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.nav-backdrop.is-open { opacity: 1; visibility: visible; }


/* =============================================================
   6. PAGE HERO & BREADCRUMBS
   ============================================================= */

.page-hero {
    position: relative;
    padding: 92px 0 84px;
    background: var(--grad-navy);
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-mesh);
    opacity: 0.9;
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 70% 10%, #000 0%, transparent 72%);
    pointer-events: none;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
}

.page-hero .section-label { color: var(--gold-soft); }
.page-hero .section-label::before { background: var(--grad-gold); }

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.3rem, 4.6vw, 3.7rem);
    max-width: 15ch;
}

.page-hero p {
    max-width: 62ch;
    margin-top: 20px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.breadcrumbs a { color: rgba(255, 255, 255, 0.82); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs [aria-current] { color: var(--gold-soft); }

.page-hero-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(8px);
}

.page-hero-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.page-hero-card > p {
    margin-top: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.mini-list { display: grid; gap: 14px; margin-top: 22px; }

.mini-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.mini-list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--aqua);
}


/* =============================================================
   7. HOME HERO
   ============================================================= */

.hero {
    position: relative;
    padding: 80px 0 104px;
    background: var(--grad-navy);
    color: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-mesh);
    pointer-events: none;
}

.hero::after {
    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: 58px 58px;
    mask-image: radial-gradient(circle at 20% 20%, #000 0%, transparent 68%);
    pointer-events: none;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.79rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 26px;
}

.hero-badge b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 11px;
    border-radius: var(--pill);
    background: var(--grad-gold);
    color: #2c2205;
    font-size: 0.7rem;
    font-weight: 800;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.6rem, 5.2vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hero h1 em {
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(120deg, #7fe7da 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 60ch;
    margin: 26px 0 34px;
    font-size: 1.14rem;
    color: rgba(255, 255, 255, 0.78);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    line-height: 1.1;
}

.trust-item span {
    display: block;
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 4px;
}

.hero-media {
    position: relative;
    padding-bottom: 40px;
    padding-left: 30px;
}

.hero-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-img-main img {
    width: 100%;
    height: 540px;
    object-fit: cover;
}

.hero-img-float {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 190px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-lg);
}

.hero-img-float img { width: 100%; height: 150px; object-fit: cover; }

.hero-stat {
    position: absolute;
    right: -14px;
    top: 44px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    min-width: 196px;
    animation: floaty 6s ease-in-out infinite;
}

.hero-stat .avatar-row { display: flex; margin-bottom: 10px; }

.hero-stat .avatar-row span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: -8px;
}

.hero-stat .avatar-row span:first-child { margin-left: 0; background: var(--blue); }
.hero-stat .avatar-row span:nth-child(2) { background: var(--aqua); }
.hero-stat .avatar-row span:nth-child(3) { background: var(--gold); }
.hero-stat .avatar-row span:nth-child(4) { background: var(--navy-700); }

.hero-stat strong {
    display: block;
    font-size: 0.86rem;
    color: var(--navy);
}

.hero-stat small {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
    margin-top: 2px;
}

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

/* logo strip */
.logo-strip {
    padding: 34px 0;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.logo-strip p {
    text-align: center;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 22px;
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 40px;
}

.logo-row span {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--navy-700);
    opacity: 0.62;
    transition: opacity 0.25s var(--ease);
}

.logo-row span:hover { opacity: 1; }


/* =============================================================
   8. SECTIONS & CARDS
   ============================================================= */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.split.reverse .split-media { order: 2; }

.split-copy > p { color: var(--muted); margin-top: 18px; }

.split-copy .section-title { max-width: 18ch; }

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

.media-frame img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.media-frame.tall img { height: 600px; }

.media-badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.media-badge .mb-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--grad-aqua);
    color: #053b35;
}

.media-badge .mb-icon svg { width: 22px; height: 22px; }

.media-badge strong { display: block; color: var(--navy); font-size: 0.92rem; }
.media-badge span { display: block; color: var(--muted); font-size: 0.79rem; }

.card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
        border-color 0.32s var(--ease);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--blue-100);
}

.card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--grad-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.card:hover::after { transform: scaleX(1); }

.card--aqua::after { background: var(--grad-aqua); }
.card--gold::after { background: var(--grad-gold); }

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: var(--blue-100);
    color: var(--blue);
    margin-bottom: 22px;
    transition: transform 0.32s var(--ease);
}

.card-icon svg { width: 26px; height: 26px; }

.card:hover .card-icon { transform: scale(1.06) rotate(-4deg); }

.card--aqua .card-icon { background: var(--aqua-100); color: var(--aqua-700); }
.card--gold .card-icon { background: var(--gold-100); color: var(--gold); }

.card-num {
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.22rem;
    margin-bottom: 12px;
}

.card p { color: var(--muted); font-size: 0.94rem; }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--blue);
}

.card-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

.card-list { margin-top: 18px; display: grid; gap: 9px; }

.card-list li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 0.87rem;
    color: var(--muted);
}

.card-list svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: var(--aqua);
}

/* feature list inside split */
.feature-list { display: grid; gap: 18px; margin-top: 28px; }

.feature-list > div {
    padding-left: 18px;
    border-left: 3px solid var(--aqua);
}

.feature-list strong { display: block; color: var(--navy); }
.feature-list span { color: var(--muted); font-size: 0.88rem; }

/* checklist */
.checklist { display: grid; gap: 14px; margin-top: 28px; }

.checklist li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.96rem;
}

.checklist .tick {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--aqua-700);
    margin-top: 1px;
}

.checklist .tick svg { width: 15px; height: 15px; }

/* subject / tag pills */
.pill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
    max-width: 980px;
    margin-inline: auto;
}

.pill {
    padding: 11px 19px;
    border-radius: var(--pill);
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
        color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.pill:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: var(--shadow-sm);
}


/* =============================================================
   9. STATS, STEPS, CHECKLIST BANDS
   ============================================================= */

.stats-band {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--grad-navy);
    color: var(--white);
    padding: 50px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-mesh);
    pointer-events: none;
}

.stats-band .stat { position: relative; text-align: center; }

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-num .suffix { color: var(--gold-soft); }

.stat-label {
    display: block;
    margin-top: 10px;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.68);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 34px 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--grad-blue);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    box-shadow: 0 12px 26px rgba(23, 105, 170, 0.26);
}

.step:nth-child(2) .step-num { background: var(--grad-aqua); color: #053b35; }
.step:nth-child(3) .step-num { background: var(--grad-gold); color: #2c2205; }

.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* levels */
.level-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.level-card .level-tag {
    display: inline-block;
    padding: 5px 13px;
    border-radius: var(--pill);
    background: var(--sky);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.level-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.level-card p { color: var(--muted); font-size: 0.88rem; }

/* tutors */
.tutor-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

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

.tutor-photo {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.tutor-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.tutor-card:hover .tutor-photo img { transform: scale(1.05); }

.tutor-photo .flag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 11px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.04em;
}

.tutor-body { padding: 24px; }
.tutor-body h3 { font-size: 1.12rem; }
.tutor-body .role { color: var(--blue); font-size: 0.82rem; font-weight: 700; margin-top: 3px; }
.tutor-body p { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }

.tutor-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }

.tutor-tags span {
    padding: 5px 11px;
    border-radius: var(--pill);
    background: var(--paper);
    border: 1px solid var(--border);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
}

/* pricing */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.price-card.featured {
    border: 2px solid var(--blue);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, #f5fbff 0%, var(--white) 42%);
}

.price-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: var(--pill);
    background: var(--grad-blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: var(--shadow-blue);
}

.price-card h3 { font-size: 1.2rem; }

.price-card .price-desc { color: var(--muted); font-size: 0.88rem; margin-top: 6px; min-height: 44px; }

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 22px 0 6px;
    font-family: var(--font-display);
    color: var(--navy);
}

.price-amount .currency { font-size: 1.1rem; font-weight: 600; }
.price-amount .value { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-amount .period { font-family: var(--font-body); font-size: 0.83rem; color: var(--muted); }

.price-note { font-size: 0.78rem; color: var(--muted-2); }

.price-card .btn { margin: 24px 0 22px; }

.price-features { display: grid; gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--border); }

.price-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--text);
}

.price-features svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 3px; color: var(--aqua); }
.price-features li.muted-item { color: var(--muted-2); }
.price-features li.muted-item svg { color: var(--border-strong); }

/* callout */
.callout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px 26px;
    border-radius: var(--radius);
    background: var(--sky);
    border: 1px solid var(--blue-100);
}

.callout.gold { background: var(--gold-100); border-color: #ecdca6; }
.callout.aqua { background: var(--mint); border-color: #b9e9e0; }

.callout .co-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--blue);
    box-shadow: var(--shadow-xs);
}

.callout .co-icon svg { width: 22px; height: 22px; }
.callout.gold .co-icon { color: var(--gold); }
.callout.aqua .co-icon { color: var(--aqua-700); }

.callout h3 { font-size: 1.05rem; margin-bottom: 5px; }
.callout p { color: var(--muted); font-size: 0.9rem; }


/* =============================================================
   10. TESTIMONIALS
   ============================================================= */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    display: flex;
    flex-direction: column;
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}

.testimonial .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.testimonial .stars svg { width: 17px; height: 17px; }

.testimonial blockquote {
    font-family: var(--font-display);
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--navy);
    font-weight: 500;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: auto;
    padding-top: 22px;
}

.testimonial-person .avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad-blue);
    color: var(--white);
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-person strong { display: block; color: var(--navy); font-size: 0.9rem; }
.testimonial-person span { display: block; color: var(--muted); font-size: 0.78rem; }

.rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: var(--pill);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    font-size: 0.86rem;
    color: var(--muted);
}

.rating-summary .stars { display: flex; gap: 2px; color: var(--gold); }
.rating-summary .stars svg { width: 15px; height: 15px; }


/* =============================================================
   11. ACCORDION / FAQ
   ============================================================= */

.accordion { display: grid; gap: 14px; }

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.accordion-item.is-open {
    border-color: var(--blue-100);
    box-shadow: var(--shadow-sm);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.04rem;
    font-weight: 600;
    color: var(--navy);
    transition: color 0.2s var(--ease);
}

.accordion-trigger:hover { color: var(--blue); }

.accordion-icon {
    flex-shrink: 0;
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sky);
    color: var(--blue);
    display: grid;
    place-items: center;
    transition: background 0.25s var(--ease), transform 0.3s var(--ease);
}

.accordion-item.is-open .accordion-icon {
    background: var(--grad-blue);
    color: var(--white);
    transform: rotate(45deg);
}

.accordion-icon::before,
.accordion-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 2px;
}

.accordion-icon::before { width: 13px; height: 2px; }
.accordion-icon::after { width: 2px; height: 13px; }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.accordion-panel-inner {
    padding: 0 26px 24px;
    color: var(--muted);
    font-size: 0.94rem;
}

.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.faq-cols .accordion { grid-column: span 1; }


/* =============================================================
   12. CTA BAND
   ============================================================= */

.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--grad-navy);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px 56px;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 42px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-mesh);
    pointer-events: none;
}

.cta-band > * { position: relative; z-index: 2; }

.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-top: 14px; max-width: 52ch; }

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 26px;
}

.cta-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
}

.cta-meta svg { width: 17px; height: 17px; color: var(--aqua); }


/* =============================================================
   13. CONTACT & ENQUIRY FORM
   ============================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.contact-panel {
    padding: 4px 0;
}

.contact-panel h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.contact-panel > p { color: var(--muted); margin-top: 16px; }

.contact-items { display: grid; gap: 14px; margin-top: 32px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--blue-100);
    box-shadow: var(--shadow-sm);
}

.contact-item .ci-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--sky);
    color: var(--blue);
}

.contact-item:nth-child(2) .ci-icon { background: var(--mint); color: var(--aqua-700); }
.contact-item:nth-child(3) .ci-icon { background: var(--gold-100); color: var(--gold); }
.contact-item:nth-child(4) .ci-icon { background: var(--blue-100); color: var(--blue); }

.contact-item .ci-icon svg { width: 21px; height: 21px; }
.contact-item strong { display: block; color: var(--navy); font-size: 0.88rem; }
.contact-item span { display: block; color: var(--muted); font-size: 0.86rem; }

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.social-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-100);
    box-shadow: var(--shadow-sm);
}

.social-card .sc-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--sky);
    color: var(--blue);
    font-weight: 800;
    font-size: 0.92rem;
}

.social-card strong { display: block; color: var(--navy); font-size: 0.84rem; }
.social-card small { display: block; color: var(--muted-2); font-size: 0.72rem; }

.enquiry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.enquiry-card h2,
.enquiry-card h3 { font-size: 1.6rem; }

.enquiry-card > p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 8px 0 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group label .req { color: #c0392b; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--border);
    background: #fbfdfe;
    border-radius: var(--radius-xs);
    padding: 13px 15px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #a7b7c2; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { width: 100%; border: 0; }

.form-submit.is-loading { position: relative; color: transparent; }

.form-submit.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 19px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: form-spin 0.7s linear infinite;
}

@keyframes form-spin { to { transform: rotate(360deg); } }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-error {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #c0392b;
    margin-top: 6px;
}

.field-error:empty { display: none; }

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #e4a49b;
    background: #fdf7f6;
}

.form-status {
    margin-top: 16px;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: var(--radius-xs);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: 0.25s var(--ease);
}

.form-status:empty { display: none; }

.form-status.success,
.form-status.error,
.form-status.pending {
    max-height: 240px;
    opacity: 1;
    padding: 14px 16px;
}

.form-status.success { background: var(--mint); color: #0f7d6e; border: 1px solid #b8e8df; }
.form-status.error { background: #fdf3f1; color: #b03a2b; border: 1px solid #f0c8c1; }
.form-status.pending { background: var(--sky); color: var(--blue); border: 1px solid #c9e4f7; }

.form-privacy {
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--muted-2);
    text-align: center;
}

.form-privacy a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* map placeholder */
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    min-height: 340px;
    background:
        radial-gradient(circle at 30% 30%, rgba(23, 105, 170, 0.12), transparent 55%),
        radial-gradient(circle at 75% 65%, rgba(20, 184, 166, 0.14), transparent 55%),
        var(--paper);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px;
}

.map-embed strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; }
.map-embed span { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 6px; }


/* =============================================================
   14. FOOTER
   ============================================================= */

.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.66);
    padding-top: 76px;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 400px at 15% 0%, rgba(32, 150, 220, 0.12), transparent 60%);
    pointer-events: none;
}

.site-footer .container { position: relative; z-index: 2; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 46px;
    padding-bottom: 56px;
}

.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text small { color: rgba(255, 255, 255, 0.5); }

.footer-brand > p {
    max-width: 36ch;
    margin-top: 22px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-socials { display: flex; gap: 10px; margin-top: 24px; }

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.footer-socials a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul { display: grid; gap: 11px; }

.footer-col a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.62);
    transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-col a:hover { color: var(--white); padding-left: 4px; }

.footer-news h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-news p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }

.newsletter {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--pill);
    padding: 6px;
}

.newsletter input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    padding: 9px 14px;
    color: var(--white);
    font-size: 0.86rem;
}

.newsletter input::placeholder { color: rgba(255, 255, 255, 0.45); }

.newsletter button {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad-aqua);
    color: #053b35;
    transition: transform 0.25s var(--ease);
}

.newsletter button:hover { transform: scale(1.06); }
.newsletter button svg { width: 18px; height: 18px; }

.newsletter-note { font-size: 0.72rem; color: rgba(255, 255, 255, 0.4); margin-top: 12px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.48);
}

.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom-links a { transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

.footer-accred {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-accred svg { width: 15px; height: 15px; color: var(--gold-soft); }


/* =============================================================
   15. UTILITIES & MOTION
   ============================================================= */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 950;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy); color: var(--white); }
.back-to-top svg { width: 20px; height: 20px; }

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 26px;
    z-index: 950;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad-aqua);
    color: #053b35;
    box-shadow: 0 16px 34px rgba(20, 184, 166, 0.38);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 22px 46px rgba(20, 184, 166, 0.5);
}

.floating-whatsapp svg { width: 27px; height: 27px; }

.floating-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(20, 184, 166, 0.5);
    animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.7); opacity: 0; }
}

.divider {
    height: 1px;
    background: var(--border);
    border: 0;
    margin: 0;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--pill);
    background: var(--sky);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
}

.badge svg { width: 14px; height: 14px; }
.badge.aqua { background: var(--mint); color: var(--aqua-700); }
.badge.gold { background: var(--gold-100); color: #8a6d10; }

.info-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 26px 30px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.info-strip .is-item { display: flex; align-items: center; gap: 13px; }
.info-strip .is-item .ci-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--sky);
    color: var(--blue);
}
.info-strip .is-item .ci-icon svg { width: 21px; height: 21px; }
.info-strip strong { display: block; color: var(--navy); font-size: 0.9rem; }
.info-strip span { display: block; color: var(--muted); font-size: 0.82rem; }

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul { display: grid; gap: 10px; margin: 0 0 20px; }

.prose ul li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: var(--muted);
}

.prose ul li svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px; color: var(--aqua); }

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

    .reveal { opacity: 1; transform: none; }
}


/* =============================================================
   15b. COOKIE CONSENT BANNER
   ============================================================= */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1400;
    width: min(1100px, calc(100% - 40px));
    transform: translate(-50%, 140%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
}

.cookie-banner.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.cookie-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: rgba(10, 34, 64, 0.97);
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cookie-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-soft);
}

.cookie-icon svg { width: 24px; height: 24px; }

.cookie-copy { flex: 1; min-width: 0; }

.cookie-copy strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.02rem;
    color: var(--white);
    margin-bottom: 4px;
}

.cookie-copy p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.cookie-copy a {
    color: var(--gold-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-actions .btn { min-height: 44px; padding: 0 20px; font-size: 0.86rem; }

.btn-cookie-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-cookie-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 860px) {
    .cookie-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1; }
}

@media (max-width: 680px) {
    .cookie-banner { bottom: 90px; }
    .cookie-actions { flex-direction: column; }
}


/* =============================================================
   16. RESPONSIVE
   ============================================================= */

@media (max-width: 1120px) {
    .nav { gap: 0; }
    .nav-link { padding: 10px 10px; font-size: 0.86rem; }
    .header-phone { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-news { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
    .menu-toggle { display: block; }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1150;
        width: min(360px, 86vw);
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 96px 22px 40px;
        background: var(--white);
        border-left: 1px solid var(--border);
        box-shadow: -20px 0 60px rgba(10, 34, 64, 0.16);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.36s var(--ease);
    }

    .nav.is-open { transform: none; }

    .nav-link {
        padding: 14px 12px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .nav-link.is-active::after { display: none; }
    .nav-link.is-active { background: var(--sky); }

    .has-dropdown { position: static; }

    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        min-width: 0;
        box-shadow: none;
        border: 0;
        padding: 4px 0 8px 12px;
        display: none;
    }

    .dropdown::before { display: none; }

    .has-dropdown.is-open .dropdown { display: block; }
    .has-dropdown.is-open .caret { transform: rotate(180deg); }

    .nav-cta-mobile { margin-top: 16px; }

    .hero-grid,
    .page-hero-grid,
    .split,
    .split.reverse,
    .contact-layout,
    .faq-cols,
    .cta-band { grid-template-columns: 1fr; }

    .split.reverse .split-media { order: 0; }

    .page-hero { padding: 60px 0 64px; }
    .page-hero h1 { max-width: none; }

    .hero-media { padding-left: 0; }
    .hero-stat { right: 8px; }

    .grid-3,
    .steps,
    .price-grid,
    .testimonial-grid { grid-template-columns: 1fr; }

    .stats-band { grid-template-columns: repeat(2, 1fr); padding: 40px 30px; }

    .cta-band { padding: 44px 34px; text-align: left; }

    .section { padding: 82px 0; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-news { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .container,
    .container-wide,
    .container-narrow { width: calc(100% - 32px); }

    .section { padding: 66px 0; }
    .section-lg { padding: 80px 0; }

    .topbar-inner { justify-content: center; }
    .topbar-group { gap: 16px; }
    .topbar-extra { display: none; }

    .hero { padding: 58px 0 74px; }
    .hero h1 { font-size: 2.45rem; }
    .hero-lead { font-size: 1.02rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { gap: 22px; }
    .hero-trust .trust-item { flex: 1 1 40%; }
    .hero-img-main img { height: 400px; }
    .hero-img-float { width: 140px; }
    .hero-img-float img { height: 110px; }
    .hero-stat { position: static; margin-top: 18px; animation: none; width: 100%; }

    .grid-2,
    .grid-4,
    .form-row,
    .social-grid,
    .stats-band,
    .footer-grid { grid-template-columns: 1fr; }

    .media-frame img,
    .media-frame.tall img { height: 380px; }

    .price-card.featured { order: -1; }

    .cta-band { padding: 36px 26px; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .enquiry-card { padding: 26px; }

    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .floating-whatsapp { right: 16px; bottom: 18px; width: 54px; height: 54px; }
    .back-to-top { right: 16px; bottom: 82px; }

    .info-strip { flex-direction: column; align-items: flex-start; }
    .info-strip .btn { width: 100%; }
}