/* ==========================================================================
   CAPG & Co — site stylesheet
   Palette: deep blue, light blue, white
   ========================================================================== */

:root {
    --navy-950: #041029;
    --navy-900: #071a3d;
    --navy-800: #0b2559;
    --navy-700: #123a82;
    --blue-600: #1d5fc4;
    --blue-500: #2f7de1;
    --sky-400: #6fb4f0;
    --sky-300: #9ccdf6;
    --sky-200: #cfe5fa;
    --sky-100: #e7f2fd;
    --sky-50: #f4f9fe;
    --white: #ffffff;

    --ink: #0b1b36;
    --text: #4a5872;
    --muted: #7a879d;
    --line: #dde7f3;

    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(7, 26, 61, .06);
    --shadow: 0 18px 40px -18px rgba(7, 26, 61, .22);
    --shadow-lg: 0 40px 80px -30px rgba(7, 26, 61, .35);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --container: 1200px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}

::selection { background: var(--sky-200); color: var(--navy-900); }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

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

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.section { padding: 110px 0; position: relative; }
.section--tint { background: var(--sky-50); }
.section--blue {
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(111, 180, 240, .18), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(47, 125, 225, .14), transparent 60%),
        linear-gradient(180deg, var(--navy-900), var(--navy-800));
    color: rgba(255, 255, 255, .72);
}

/* ---------- Section heading ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 36px;
    height: 1.5px;
    background: currentColor;
}
.eyebrow--light,
.section--blue .eyebrow { color: var(--sky-300); }
.section--blue .heading h2 { color: var(--white); }
.section--blue .heading h2 em { color: var(--sky-300); }

.heading { max-width: 640px; margin-bottom: 60px; }
.heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.heading--center .eyebrow::after {
    content: "";
    width: 36px;
    height: 1.5px;
    background: currentColor;
}
.heading h2 { font-size: clamp(36px, 4.6vw, 54px); }
.heading h2 em { font-style: italic; color: var(--blue-600); font-weight: 500; }
.heading p { font-size: 17px; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--navy-800);
    --btn-fg: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1.5px solid var(--btn-bg);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn i { font-size: 13px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(11, 37, 89, .55); color: var(--btn-fg); }
.btn:hover i { transform: translateX(4px); }

.btn--sky { --btn-bg: var(--sky-300); --btn-fg: var(--navy-900); }
.btn--sky:hover { --btn-bg: var(--white); border-color: var(--white); }
.btn--ghost { background: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.btn--outline { background: transparent; --btn-fg: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .72);
    font-size: 13.5px;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
}
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 9px; }
.topbar__info i { color: var(--sky-400); font-size: 12px; }
.topbar a:hover { color: var(--white); }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social span { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(7, 26, 61, .35); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 88px;
    transition: height .3s var(--ease);
}
.header.is-scrolled .header__inner { height: 74px; }
.header__logo img { width: 230px; height: auto; mix-blend-mode: multiply; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 36px; }
.nav__list a {
    position: relative;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    padding: 6px 0;
}
.nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--blue-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-active { color: var(--blue-600); }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(111, 180, 240, .22), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(47, 125, 225, .18), transparent 60%),
        linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
    color: rgba(255, 255, 255, .78);
    overflow: hidden;
    padding: 110px 0 130px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(44px, 6vw, 78px);
    font-weight: 500;
    line-height: 1.04;
    margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--sky-300); }
.hero__lead { font-size: 18px; max-width: 520px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero__trust strong {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.hero__trust span { font-size: 13px; letter-spacing: .06em; }

/* Hero visual: crossfading service slides */
.hero__visual { position: relative; }
.hero__frame {
    position: relative;
    aspect-ratio: 4 / 4.6;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .14);
}
.hero__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(4, 16, 41, .88) 100%);
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s var(--ease), transform 6s linear;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__caption {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 64px;
    z-index: 2;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s var(--ease) .3s, transform .7s var(--ease) .3s;
}
.slide.is-active .slide__caption { opacity: 1; transform: none; }
.slide__caption small {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy-900);
    background: var(--sky-300);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.slide__caption h3 { color: var(--white); font-size: 34px; font-weight: 500; margin: 0; }

.hero__dots {
    position: absolute;
    left: 32px;
    bottom: 30px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hero__dots button {
    width: 26px;
    height: 3px;
    border: 0;
    padding: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, .35);
    transition: background .3s, width .3s var(--ease);
}
.hero__dots button.is-active { background: var(--sky-300); width: 44px; }

.hero__badge {
    position: absolute;
    left: -44px;
    top: 56px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    color: var(--ink);
    padding: 16px 22px 16px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}
.hero__badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--sky-100);
    color: var(--blue-600);
    font-size: 18px;
}
.hero__badge strong { display: block; font-size: 15px; line-height: 1.3; }
.hero__badge span { font-size: 12.5px; color: var(--muted); }

.hero__ring {
    position: absolute;
    right: -70px;
    top: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(156, 205, 246, .35);
    pointer-events: none;
}
.hero__ring::after {
    content: "";
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px dashed rgba(156, 205, 246, .3);
}

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

/* ---------- Stats band ---------- */
.stats { position: relative; margin-top: -64px; z-index: 5; }
.stats__card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    overflow: hidden;
}
.stat {
    padding: 38px 32px;
    position: relative;
}
.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28%;
    height: 44%;
    width: 1px;
    background: var(--line);
}
.stat__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--sky-100);
    color: var(--blue-600);
    margin-bottom: 18px;
}
.stat__num {
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: 600;
    color: var(--navy-800);
    line-height: 1;
    margin-bottom: 8px;
}
.stat__num sup { font-size: .5em; color: var(--blue-500); top: -.7em; margin-left: 2px; }
.stat__label { font-size: 14.5px; font-weight: 500; }

/* ---------- About ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}
.about__media { position: relative; }
.about__img {
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--sky-100), var(--sky-50));
    padding: 40px;
    border: 1px solid var(--line);
}
.about__img img { width: 100%; max-width: 420px; margin: 0 auto; }
.about__img-small {
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 46%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: var(--shadow);
    background: var(--white);
}
.about__years {
    position: absolute;
    left: -24px;
    bottom: 40px;
    background: var(--navy-800);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: left;
}
.about__years strong {
    display: block;
    font-family: var(--font-display);
    font-size: 58px;
    font-weight: 600;
    line-height: .9;
    color: var(--sky-300);
}
.about__years span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

.about__text { font-size: 17px; margin-bottom: 36px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.pillar {
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.pillar:hover { border-color: var(--sky-300); box-shadow: var(--shadow); transform: translateY(-4px); }
.pillar__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy-800);
    color: var(--sky-300);
    margin-bottom: 16px;
    font-size: 16px;
}
.pillar h3 { font-size: 26px; margin-bottom: 6px; }
.pillar p { font-size: 15px; margin: 0; }

/* ---------- Services ---------- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.service {
    position: relative;
    padding: 40px 36px 36px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    isolation: isolate;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
    opacity: 0;
    transition: opacity .45s var(--ease);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service__num {
    position: absolute;
    top: 30px;
    right: 34px;
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--sky-300);
    transition: color .45s;
}
.service__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--sky-100);
    color: var(--blue-600);
    font-size: 24px;
    margin-bottom: 30px;
    transition: background .45s, color .45s;
}
.service h3 { font-size: 30px; margin-bottom: 12px; transition: color .45s; }
.service p { font-size: 15.5px; margin: 0; transition: color .45s; }
.service:hover h3 { color: var(--white); }
.service:hover p { color: rgba(255, 255, 255, .75); }
.service:hover .service__icon { background: rgba(156, 205, 246, .16); color: var(--sky-300); }

.service--cta {
    background: var(--sky-100);
    border-color: var(--sky-200);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service--cta::before { display: none; }
.service--cta:hover { box-shadow: var(--shadow); }
.service--cta h3 { font-size: 32px; }
.service--cta:hover h3 { color: var(--ink); }
.service--cta:hover p { color: var(--text); }
.service--cta .btn { margin-top: 28px; align-self: flex-start; }

/* Services on a blue section: glass cards that turn white on hover */
.section--blue .service {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(156, 205, 246, .18);
}
.section--blue .service::before { background: var(--white); }
.section--blue .service h3 { color: var(--white); }
.section--blue .service p { color: rgba(255, 255, 255, .68); }
.section--blue .service__icon { background: rgba(156, 205, 246, .14); color: var(--sky-300); }
.section--blue .service:hover h3 { color: var(--ink); }
.section--blue .service:hover p { color: var(--text); }
.section--blue .service:hover .service__icon { background: var(--sky-100); color: var(--blue-600); }
.section--blue .service:hover .service__num { color: var(--blue-500); }
.section--blue .service--cta { background: var(--sky-300); border-color: var(--sky-300); }
.section--blue .service--cta h3,
.section--blue .service--cta:hover h3 { color: var(--navy-900); }
.section--blue .service--cta p,
.section--blue .service--cta:hover p { color: var(--navy-700); }

/* ---------- Process ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--sky-300) 0 8px, transparent 8px 16px);
}
.step { text-align: center; position: relative; }
.step__circle {
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    border: 1px solid var(--sky-200);
    box-shadow: var(--shadow);
    color: var(--blue-600);
    font-size: 22px;
    position: relative;
    transition: background .4s, color .4s, transform .4s var(--ease);
}
.step__circle span {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.step:hover .step__circle { background: var(--navy-800); color: var(--sky-300); transform: translateY(-4px); }
.step h3 { font-size: 28px; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0 auto; max-width: 220px; }

/* ---------- Payment band ---------- */
.pay { padding: 0; }
.pay__card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 46px 56px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(500px 240px at 100% 0%, rgba(255, 255, 255, .55), transparent 70%),
        linear-gradient(120deg, var(--sky-200), var(--sky-100));
    border: 1px solid var(--sky-200);
}
.pay__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--navy-800);
    color: var(--sky-300);
    display: grid;
    place-items: center;
    font-size: 26px;
}
.pay h2 { font-size: 38px; margin-bottom: 4px; }
.pay p { margin: 0; color: var(--navy-700); }
.pay__secure { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.pay__secure i { color: var(--blue-500); margin-right: 6px; }

/* ---------- FAQ ---------- */
.faq__grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}
.faq__aside .heading { margin-bottom: 34px; }
.faq__help {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--navy-800);
    color: rgba(255, 255, 255, .75);
}
.faq__help h3 { color: var(--white); font-size: 26px; margin-bottom: 8px; }
.faq__help p { font-size: 15px; margin-bottom: 20px; }

.faq__list { display: grid; gap: 16px; }
.faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] { border-color: var(--sky-300); box-shadow: var(--shadow); }
.faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--sky-100);
    position: relative;
    transition: background .3s, transform .4s var(--ease);
}
.faq__plus::before,
.faq__plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--blue-600);
    transform: translate(-50%, -50%);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq__item[open] .faq__plus { background: var(--navy-800); transform: rotate(180deg); }
.faq__item[open] .faq__plus::before,
.faq__item[open] .faq__plus::after { background: var(--sky-300); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { padding: 0 28px 26px; font-size: 15.5px; }
.faq__body p { margin: 0; }

/* FAQ on a blue section */
.section--blue .faq__help { background: var(--sky-300); color: var(--navy-700); }
.section--blue .faq__help h3 { color: var(--navy-900); }
.section--blue .faq__help .btn { --btn-bg: var(--navy-800); --btn-fg: var(--white); }
.section--blue .faq__item { background: rgba(255, 255, 255, .04); border-color: rgba(156, 205, 246, .18); }
.section--blue .faq__item summary { color: var(--white); }
.section--blue .faq__plus { background: rgba(156, 205, 246, .14); }
.section--blue .faq__plus::before,
.section--blue .faq__plus::after { background: var(--sky-300); }
.section--blue .faq__item[open] { background: var(--white); border-color: var(--white); }
.section--blue .faq__item[open] summary { color: var(--ink); }
.section--blue .faq__item[open] .faq__body { color: var(--text); }

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(600px 300px at 15% 50%, rgba(111, 180, 240, .25), transparent 70%),
        linear-gradient(120deg, var(--navy-800), var(--navy-700));
    color: rgba(255, 255, 255, .78);
    overflow: hidden;
}
.cta::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(156, 205, 246, .22);
    box-shadow: 0 0 0 60px rgba(156, 205, 246, .04), 0 0 0 120px rgba(156, 205, 246, .03);
}
.cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta h2 { color: var(--white); font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 10px; }
.cta h2 em { color: var(--sky-300); }
.cta p { margin: 0; font-size: 17px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: 96px 0 88px;
    background:
        radial-gradient(700px 360px at 90% 0%, rgba(111, 180, 240, .22), transparent 60%),
        linear-gradient(160deg, var(--navy-900), var(--navy-800));
    color: rgba(255, 255, 255, .75);
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, transparent, #000 60%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(42px, 5.4vw, 66px); font-weight: 500; margin-bottom: 14px; }
.page-hero h1 em { color: var(--sky-300); }
.page-hero p { max-width: 560px; font-size: 17px; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: 13.5px; margin-bottom: 22px; color: var(--sky-300); }
.crumbs a { color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: var(--white); }

/* ---------- Contact page ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: start;
}
.contact__cards { display: grid; gap: 18px; }
.info-card {
    display: flex;
    gap: 20px;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.info-card:hover { border-color: var(--sky-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card__icon {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--navy-800);
    color: var(--sky-300);
    font-size: 18px;
}
.info-card h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info-card p, .info-card a { margin: 0; color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.6; }
.info-card a:hover { color: var(--blue-600); }

.form-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.form-card h2 { font-size: 40px; margin-bottom: 6px; }
.form-card > p { margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--sky-50);
    transition: border-color .25s, background .25s, box-shadow .25s;
    appearance: none;
}
.field select {
    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 fill='none' stroke='%231d5fc4' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(47, 125, 225, .12);
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }

.map {
    margin-top: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    line-height: 0;
}
.map iframe { width: 100%; height: 420px; border: 0; filter: saturate(.85); }

/* ---------- Legal pages ---------- */
.legal__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 70px;
    align-items: start;
}
.legal__toc {
    position: sticky;
    top: 110px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--sky-50);
    border: 1px solid var(--line);
}
.legal__toc h3 { font-family: var(--font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal__toc li + li { margin-top: 4px; }
.legal__toc a { display: block; font-size: 14px; padding: 5px 0; color: var(--text); }
.legal__toc a:hover { color: var(--blue-600); }
.legal__toc .others { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal__toc .others a { font-weight: 600; color: var(--navy-700); }

.legal__body { max-width: 760px; }
.legal__updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--sky-100);
    color: var(--navy-700);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 40px;
}
.legal__body h2 {
    font-size: 30px;
    margin: 48px 0 14px;
    padding-top: 6px;
}
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p, .legal__body li { font-size: 16.5px; }
.legal__body ul { margin: 0 0 1em; }
.legal__body li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.legal__body li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
}
.legal__body strong { color: var(--ink); }
.legal__body a { color: var(--blue-600); font-weight: 600; border-bottom: 1px solid var(--sky-200); }
.legal__body a:hover { border-color: var(--blue-600); }

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 205, 246, .5), transparent);
}
.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 50px;
    padding: 90px 0 70px;
}
.footer__logo {
    display: inline-block;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 14px;
    margin-bottom: 24px;
}
.footer__logo img { width: 200px; }
.footer__about p { max-width: 320px; margin-bottom: 24px; }
.footer h4 {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
}
.footer__links li + li { margin-top: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.footer__links a:hover { color: var(--sky-300); }
.footer__links a i { font-size: 10px; opacity: .6; }
.footer__contact li { display: flex; gap: 14px; }
.footer__contact li + li { margin-top: 16px; }
.footer__contact i { color: var(--sky-400); margin-top: 6px; width: 16px; flex: none; }
.footer__contact a:hover { color: var(--sky-300); }
.social { display: flex; gap: 10px; }
.social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--white);
    transition: background .3s, border-color .3s, color .3s;
}
.social a:hover { background: var(--sky-300); border-color: var(--sky-300); color: var(--navy-900); }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__legal a:hover { color: var(--sky-300); }

/* ---------- Floating contact buttons ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .55);
    z-index: 999;
    transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

.contact-fab {
    position: fixed;
    bottom: 96px;
    right: 27px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-fab__options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.contact-fab__option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(16px) scale(.7);
    pointer-events: none;
    transition: opacity .2s ease, transform .25s var(--ease);
}
.contact-fab__option svg { width: 22px; height: 22px; fill: currentColor; }
.contact-fab__option--directions { background: var(--white); color: var(--blue-600); border: 1px solid var(--line); }
.contact-fab__option--call { background: var(--sky-300); color: var(--navy-900); }
.contact-fab.active .contact-fab__option { opacity: 1; transform: none; pointer-events: auto; }
.contact-fab.active .contact-fab__option--directions { transition-delay: .05s; }
.contact-fab.active .contact-fab__option--call { transition-delay: .1s; }
.contact-fab__toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--navy-800);
    box-shadow: 0 10px 24px -8px rgba(11, 37, 89, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s var(--ease), background .25s;
}
.contact-fab__toggle:hover { transform: scale(1.06); background: var(--navy-700); }
.contact-fab.active .contact-fab__toggle { transform: scale(.94); }
.contact-fab__toggle svg { width: 22px; height: 22px; fill: var(--sky-300); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

/* ---------- Text animations ---------- */
.split.reveal { opacity: 1; transform: none; }
.word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0 .06em .14em;
    margin: 0 -.06em -.14em;
}
.word__inner {
    display: inline-block;
    transform: translateY(105%);
    opacity: 0;
    transition: transform 1s var(--ease), opacity .8s var(--ease);
    transition-delay: calc(var(--i) * 55ms + 120ms);
}
.split.is-visible .word__inner { transform: none; opacity: 1; }

/* Italic highlight words get an underline once the heading has landed */
.split em {
    background: linear-gradient(currentColor, currentColor) no-repeat 0 94% / 0 1px;
    transition: background-size .9s var(--ease);
    transition-delay: calc(var(--words, 6) * 55ms + 350ms);
}
.split.is-visible em { background-size: 100% 1px; }

/* Eyebrow accent lines draw in */
.eyebrow::before,
.heading--center .eyebrow::after { transition: width .8s var(--ease) .25s; }
.reveal:not(.is-visible) .eyebrow::before,
.reveal:not(.is-visible) .eyebrow::after,
.eyebrow.reveal:not(.is-visible)::before { width: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .word__inner { transform: none; opacity: 1; }
    .split em { background-size: 100% 1px; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .hero__grid { gap: 50px; }
    .hero__badge { left: -16px; }
    .about__grid { gap: 70px; }
    .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .section { padding: 84px 0; }
    .topbar__info a[href^="mailto"] { display: none; }

    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(340px, 86vw);
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        padding: 100px 32px 40px;
        background: var(--navy-900);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .45s var(--ease), visibility 0s linear .45s;
        z-index: 120;
        box-shadow: var(--shadow-lg);
    }
    .nav-open .nav { transform: none; visibility: visible; transition: transform .45s var(--ease); }
    .nav__list { flex-direction: column; gap: 4px; }
    .nav__list a { display: block; color: var(--white); font-size: 26px; font-family: var(--font-display); font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .nav__list a::after { display: none; }
    .nav__list a:hover, .nav__list a.is-active { color: var(--sky-300); }
    .nav .btn { justify-content: center; --btn-bg: var(--sky-300); --btn-fg: var(--navy-900); }
    .nav-toggle { position: relative; z-index: 130; }
    .nav-open .nav-toggle { background: transparent; border-color: rgba(255, 255, 255, .3); }
    .nav-open .nav-toggle span { background: var(--white); }
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(4, 16, 41, .5);
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s;
        z-index: 110;
    }
    .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
    .nav-open { overflow: hidden; }

    .hero { padding: 80px 0 120px; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { max-width: 560px; }
    .hero__frame { aspect-ratio: 4 / 3.4; }
    .hero__badge { left: auto; right: 20px; top: auto; bottom: -26px; }

    .stats__card { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

    .about__grid { grid-template-columns: 1fr; gap: 90px; }
    .about__media { max-width: 560px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
    .steps::before { display: none; }
    .pay__card { grid-template-columns: 1fr; text-align: left; padding: 40px; gap: 22px; }
    .faq__grid { grid-template-columns: 1fr; gap: 40px; }
    .contact__grid { grid-template-columns: 1fr; }
    .legal__grid { grid-template-columns: 1fr; gap: 40px; }
    .legal__toc { position: static; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 72px 0; }
    .topbar__social { display: none; }
    .topbar__info { gap: 4px 18px; font-size: 12.5px; }
    .header__inner { height: 74px; }
    .header__logo img { width: 180px; }
    .hero { padding: 64px 0 110px; }
    .hero__lead { font-size: 16.5px; }
    .hero__trust { gap: 24px; }
    .hero__trust strong { font-size: 34px; }
    .slide__caption { left: 22px; right: 22px; }
    .slide__caption h3 { font-size: 26px; }
    .hero__dots { left: 22px; }
    .hero__badge { right: 12px; padding: 12px 16px 12px 12px; }
    .stat { padding: 28px 20px; }
    .stat__num { font-size: 40px; }
    .about__img { padding: 24px; }
    .about__img-small { right: -6px; }
    .about__years { left: -6px; padding: 18px 20px; }
    .about__years strong { font-size: 44px; }
    .pillars { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .pay__card { padding: 30px 24px; }
    .pay h2 { font-size: 32px; }
    .form-card { padding: 30px 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 50px; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
    .whatsapp-float svg { width: 27px; height: 27px; }
    .contact-fab { bottom: 80px; right: 20px; }
    .contact-fab__toggle { width: 44px; height: 44px; }
    .contact-fab__toggle svg { width: 19px; height: 19px; }
    .contact-fab__option { width: 40px; height: 40px; }
    .contact-fab__option svg { width: 18px; height: 18px; }
}
