/* ==========================================================================
   NexGen Lines: public site styles
   ========================================================================== */

:root {
    --navy-900: #0A1F44;
    --navy-800: #0D2A5C;
    --blue-800: #0B3D91;
    --blue-700: #0F4FB0;
    --blue-600: #1565C0;
    --blue-500: #1E88E5;
    --sky-400: #42A5F5;
    --sky-300: #64B5F6;
    --sky-200: #BBDEFB;
    --sky-100: #E3F2FD;
    --sky-50: #F3F9FF;
    --white: #FFFFFF;

    --text: #1A2B4A;
    --muted: #5B6B86;
    --border: #D6E4F5;
    --success: #1B8A5A;
    --danger: #C62828;
    --whatsapp: #25D366;

    --gradient-hero: linear-gradient(135deg, #0A1F44 0%, #0B3D91 55%, #1E88E5 100%);
    --gradient-primary: linear-gradient(135deg, #1565C0 0%, #1E88E5 100%);

    --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(10, 31, 68, .06);
    --shadow: 0 10px 30px rgba(10, 31, 68, .09);
    --shadow-lg: 0 20px 50px rgba(10, 31, 68, .16);

    --container: 1200px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-800); }

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--navy-900);
    font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible { outline: 3px solid var(--sky-300); outline-offset: 2px; }

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

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    padding: .6rem 1rem; background: var(--blue-800); color: var(--white); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

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

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.note { margin-top: 2rem; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

.icon-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: var(--radius);
    background: var(--sky-100); color: var(--blue-600);
    transition: background .25s, color .25s, transform .25s var(--ease);
}
.icon-badge .icon { width: 28px; height: 28px; }
.icon-badge--sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-badge--sm .icon { width: 22px; height: 22px; }
.icon-badge--lg { width: 72px; height: 72px; border-radius: 50%; }
.icon-badge--lg .icon { width: 34px; height: 34px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.5rem; border: 2px solid transparent; border-radius: 999px;
    font-family: var(--font-heading); font-weight: 600; font-size: .95rem; line-height: 1.2;
    cursor: pointer; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--gradient-primary); color: var(--white); box-shadow: 0 8px 20px rgba(21, 101, 192, .3); }
.btn--primary:hover { color: var(--white); box-shadow: 0 12px 26px rgba(21, 101, 192, .4); }

.btn--sky { background: var(--sky-300); color: var(--navy-900); }
.btn--sky:hover { background: var(--white); color: var(--navy-900); }

.btn--white { background: var(--white); color: var(--blue-800); }
.btn--white:hover { background: var(--sky-100); color: var(--blue-800); }

.btn--outline { border-color: var(--blue-600); color: var(--blue-600); background: transparent; }
.btn--outline:hover { background: var(--blue-600); color: var(--white); }

.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--blue-800); }

.btn--ghost { background: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--blue-600); transform: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .35rem;
    font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--white); color: var(--muted); cursor: pointer; transition: all .2s;
}
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .85); font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.topbar__contact li, .topbar__contact a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; }
.topbar__contact a:hover { color: var(--sky-300); }
.topbar__contact .icon { color: var(--sky-300); }
.topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.topbar__links { display: flex; gap: 1rem; }
.topbar__links a { color: inherit; }
.topbar__links a:hover { color: var(--sky-300); }

.social { display: flex; gap: .4rem; }
.social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    color: inherit; background: rgba(255, 255, 255, .08); transition: background .2s, color .2s;
}
.social a:hover { background: var(--sky-300); color: var(--navy-900); }
.social .icon-sm { width: 15px; height: 15px; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.logo__mark { width: 42px; height: 42px; }
.logo__image { width: auto; height: 44px; max-width: 220px; object-fit: contain; }
.logo__text { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; color: var(--navy-900); }
.logo__text span { color: var(--blue-500); margin-left: .25rem; }
.logo--light .logo__text { color: var(--white); }
.logo--light .logo__text span { color: var(--sky-300); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav__list { display: flex; align-items: center; gap: .25rem; }
.site-nav__list > li { position: relative; display: flex; align-items: center; }
.site-nav__link {
    position: relative; display: block; padding: .6rem .85rem;
    font-family: var(--font-heading); font-weight: 500; font-size: .95rem; color: var(--navy-900);
}
.site-nav__link::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px;
    background: var(--blue-500); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease);
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--blue-600); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__mobile-extra { display: none; }

.has-dropdown .site-nav__link { padding-right: .2rem; }
.has-dropdown .site-nav__link::after { right: .2rem; }
.dropdown-toggle {
    display: inline-flex; align-items: center; padding: .3rem; border: 0; background: none;
    color: var(--navy-900); cursor: pointer; transition: transform .2s;
}
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 270px; padding: .6rem;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease);
}
.dropdown a {
    display: flex; align-items: center; gap: .65rem; padding: .6rem .8rem; border-radius: var(--radius-sm);
    color: var(--text); font-size: .93rem;
}
.dropdown a .icon { color: var(--blue-500); }
.dropdown a:hover { background: var(--sky-100); color: var(--blue-700); }

@media (min-width: 1025px) {
    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown,
    .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
    .has-dropdown:hover .dropdown-toggle { transform: rotate(180deg); }
}

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
    background: var(--white); color: var(--navy-900); cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--tint { background: var(--sky-50); }
.section--dark { background: var(--gradient-hero); color: rgba(255, 255, 255, .85); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin: 0 auto 3.25rem; text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.section-head--light p:last-child { color: rgba(255, 255, 255, .8); }
.section-head--row {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
    max-width: none; text-align: left;
}
.section-head--row h2 { margin-bottom: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .75rem;
    font-family: var(--font-heading); font-size: .82rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--row .eyebrow::after { display: none; }
.eyebrow--light { color: var(--sky-300); }

.grid { display: grid; gap: 1.75rem; }
.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: 4rem; align-items: start; }
.split--center { align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2rem; }
.card--dark { background: var(--gradient-hero); border: 0; color: rgba(255, 255, 255, .85); }
.card--dark h2, .card--dark h3 { color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--gradient-hero); color: rgba(255, 255, 255, .88); }
.hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 85% 20%, rgba(100, 181, 246, .35), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(30, 136, 229, .3), transparent 40%),
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
}
.hero__inner {
    position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
    padding-top: 90px; padding-bottom: 100px;
}
.hero__title { color: var(--white); margin-bottom: 1.25rem; }
.hero__title span { display: block; color: var(--sky-300); }
.hero__subtitle { max-width: 580px; font-size: 1.12rem; color: rgba(255, 255, 255, .82); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions--center { justify-content: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2.25rem; font-size: .93rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__badges .icon { color: var(--sky-300); }
.hero__visual img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .25)); animation: float 7s ease-in-out infinite; }

.hero__visual .hero__photo {
    width: 100%; aspect-ratio: 7 / 6; object-fit: cover; border-radius: var(--radius-lg);
    border: 6px solid rgba(255, 255, 255, .12); animation: none;
}

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

/* ---------- Page header ---------- */
.page-header { position: relative; overflow: hidden; padding: 70px 0 64px; background: var(--gradient-hero); color: rgba(255, 255, 255, .85); }
.page-header::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 181, 246, .35), transparent 70%); pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { max-width: 860px; margin-bottom: .5rem; color: var(--white); font-size: clamp(1.8rem, 4vw, 2.75rem); }
.page-header p { max-width: 680px; margin: 0; font-size: 1.08rem; }
.page-header--image {
    background:
        linear-gradient(120deg, rgba(10, 31, 68, .92) 0%, rgba(11, 61, 145, .78) 60%, rgba(30, 136, 229, .55) 100%),
        var(--page-header-image) center / cover no-repeat;
}
@media (max-width: 640px) {
    .page-header--image {
        background:
            linear-gradient(120deg, rgba(10, 31, 68, .92) 0%, rgba(11, 61, 145, .8) 100%),
            var(--page-header-image-mobile) center / cover no-repeat;
    }
}
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: 1rem; font-size: .88rem; }
.breadcrumbs a { color: var(--sky-300); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .icon { opacity: .6; }

/* ---------- Service cards ---------- */
.service-card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%;
    padding: 2.1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.service-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-badge { background: var(--blue-600); color: var(--white); }
.service-card h3 { margin: 1.25rem 0 .6rem; }
.service-card h3 a { color: inherit; }
.service-card p { flex: 1; color: var(--muted); }
.service-card--center { align-items: center; text-align: center; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps::before {
    content: ""; position: absolute; top: 92px; left: 16%; right: 16%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--sky-300) 0 10px, transparent 10px 20px);
}
.step {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 2rem 1.5rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.step__num {
    margin-bottom: 1rem; padding: .25rem .9rem; border-radius: 999px; background: var(--sky-100);
    font-family: var(--font-heading); font-size: .8rem; font-weight: 600; color: var(--blue-700);
}
.step .icon-badge { position: relative; z-index: 1; margin-bottom: 1.25rem; background: var(--gradient-primary); color: var(--white); box-shadow: 0 0 0 8px var(--sky-50); }
.step p { margin: 0; color: var(--muted); }

/* ---------- Features & compare ---------- */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.feature { display: flex; gap: 1rem; }
.feature h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.feature p { margin: 0; font-size: .94rem; color: var(--muted); }

.compare { padding: 2rem; background: var(--sky-50); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.compare__title { text-align: center; margin-bottom: 1.5rem; }
.compare__col { padding: 1.5rem; border-radius: var(--radius); }
.compare__col + .compare__col { margin-top: 1rem; }
.compare__col h4 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.compare__col li { display: flex; gap: .6rem; padding: .4rem 0; font-size: .95rem; }
.compare__col li .icon { margin-top: .2rem; }
.compare__col--before { background: var(--white); }
.compare__col--before h4 { color: var(--muted); }
.compare__col--before .icon { color: #9AA8BF; }
.compare__col--after { background: var(--gradient-hero); color: rgba(255, 255, 255, .9); }
.compare__col--after h4 { color: var(--sky-300); }
.compare__col--after .icon { color: var(--sky-300); }

/* ---------- Stats ---------- */
.stats { background: var(--blue-800); background-image: linear-gradient(90deg, var(--blue-800), var(--blue-600)); color: var(--white); padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat { display: flex; flex-direction: column; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .15); }
.stat__value { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.1; }
.stat__label { margin-top: .4rem; color: var(--sky-200); font-size: .95rem; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: .75rem; margin: 1.5rem 0 2rem; }
.checklist--2col { grid-template-columns: 1fr 1fr; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; }
.checklist li .icon {
    flex-shrink: 0; width: 22px; height: 22px; padding: 3px; margin-top: .1rem; border-radius: 50%;
    background: var(--sky-100); color: var(--blue-600);
}
.checklist--cards li { padding: .9rem 1rem; background: var(--sky-50); border: 1px solid var(--border); border-radius: var(--radius); }
.checklist--cards li .icon { padding: 0; background: none; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.partner {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
    padding: 1.5rem 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--muted); font-family: var(--font-heading); font-weight: 500; font-size: .9rem; text-align: center;
    filter: grayscale(1); opacity: .8; transition: all .25s;
}
.partner .icon { width: 34px; height: 34px; color: var(--blue-600); }
.partner:hover { filter: none; opacity: 1; box-shadow: var(--shadow); color: var(--navy-900); }

/* ---------- Routes ---------- */
.routes__map { width: 100%; margin: 0 auto 2.5rem; }
.routes__map--photo { aspect-ratio: 25 / 11.5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.region-card {
    padding: 1.5rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius);
    background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .25s;
}
.region-card:hover { background: rgba(255, 255, 255, .12); }
.region-card .icon { color: var(--sky-300); margin-bottom: .75rem; }
.region-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.region-card p { margin: 0; font-size: .93rem; }

/* ---------- Testimonials ---------- */
.testimonial {
    position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; padding: 2rem;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.testimonial::after {
    content: "\201D"; position: absolute; right: 1.5rem; top: .25rem;
    font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--sky-100);
}
.testimonial__stars { display: flex; gap: .15rem; color: #F5B301; margin-bottom: 1rem; }
.testimonial blockquote { flex: 1; margin: 0 0 1.5rem; }
.testimonial blockquote p { margin: 0; }
.testimonial__author { display: flex; align-items: center; gap: .85rem; }
.testimonial__author strong { display: block; font-family: var(--font-heading); color: var(--navy-900); }
.testimonial__author small { color: var(--muted); }
.avatar {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient-primary); color: var(--white); font-family: var(--font-heading); font-weight: 600;
}

.slider {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3.5rem) / 3); gap: 1.75rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .25rem 1.5rem;
    scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.slider__item { scroll-snap-align: start; }
.slider-nav { display: flex; gap: .6rem; }
.slider-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--border); border-radius: 50%; background: var(--white); color: var(--blue-700);
    cursor: pointer; transition: all .2s;
}
.slider-btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }

/* ---------- Blog ---------- */
.post-card {
    display: flex; flex-direction: column; overflow: hidden; height: 100%;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sky-100); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__image img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post-card__title { font-size: 1.12rem; margin: .75rem 0 .6rem; }
.post-card__title a { color: var(--navy-900); }
.post-card__title a:hover { color: var(--blue-600); }
.post-card__body p { flex: 1; color: var(--muted); font-size: .95rem; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: .85rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta__cat {
    padding: .2rem .7rem; border-radius: 999px; background: var(--sky-100);
    color: var(--blue-700); font-weight: 600; font-size: .78rem;
}
.post-meta--lg { margin-bottom: 1.25rem; font-size: .92rem; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2rem; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.chip {
    padding: .5rem 1.15rem; border: 1px solid var(--border); border-radius: 999px;
    color: var(--text); font-weight: 500; font-size: .92rem; transition: all .2s;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip.is-active { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }

.pagination-wrap { margin-top: 3rem; }
.pagination { display: flex; justify-content: center; gap: .4rem; }
.pagination a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 .75rem;
    border: 1px solid var(--border); border-radius: 10px; color: var(--text);
}
.pagination a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pagination .active a { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }

.empty-state { padding: 3rem; text-align: center; color: var(--muted); background: var(--sky-50); border-radius: var(--radius-lg); }

.share { display: flex; align-items: center; gap: .6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.share span { font-weight: 600; font-family: var(--font-heading); }
.share a {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
    background: var(--sky-100); color: var(--blue-700); transition: all .2s;
}
.share a:hover { background: var(--blue-600); color: var(--white); }

/* ---------- Prose (rich content) ---------- */
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.55rem; margin-top: 2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.75rem; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.prose ul li::before {
    content: ""; position: absolute; left: .2rem; top: .65em; width: 8px; height: 8px; border-radius: 50%;
    background: var(--blue-500); box-shadow: 0 0 0 4px var(--sky-100);
}
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul.checklist li { padding-left: 0; }
.prose ul.checklist li::before { display: none; }

/* ---------- Sidebar layout ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.5rem; }
.sidebar__box { padding: 1.75rem; background: var(--sky-50); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.sidebar__box > .icon { width: 40px; height: 40px; margin-bottom: 1rem; color: var(--blue-500); }
.sidebar__box h3 { font-size: 1.15rem; }
.sidebar__box p { color: var(--muted); font-size: .95rem; }
.sidebar__box--dark { background: var(--gradient-hero); border: 0; color: rgba(255, 255, 255, .85); }
.sidebar__box--dark h3 { color: var(--white); }
.sidebar__box--dark p { color: rgba(255, 255, 255, .8); }
.sidebar__box--dark > .icon { color: var(--sky-300); }
.sidebar__phone { display: block; margin-bottom: 1.25rem; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; color: var(--white); }
.sidebar__phone:hover { color: var(--sky-300); }
.sidebar__nav { display: grid; gap: .35rem; }
.sidebar__nav a {
    display: flex; align-items: center; gap: .6rem; padding: .65rem .85rem; border-radius: var(--radius-sm);
    background: var(--white); color: var(--text); font-weight: 500; font-size: .95rem; transition: all .2s;
}
.sidebar__nav a .icon { color: var(--blue-500); }
.sidebar__nav a:hover, .sidebar__nav a.is-active { background: var(--blue-600); color: var(--white); }
.sidebar__nav a:hover .icon, .sidebar__nav a.is-active .icon { color: var(--white); }

/* ---------- Services page ---------- */
.service-list { display: grid; gap: 5rem; }
.service-row { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: center; }
.service-row--reverse .service-row__media { order: 2; }
.service-row__media {
    position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: var(--radius-lg); background: var(--gradient-hero);
}
.service-row__media::before, .service-row__media::after {
    content: ""; position: absolute; border-radius: 50%; border: 2px dashed rgba(100, 181, 246, .35);
}
.service-row__media::before { width: 70%; aspect-ratio: 1; }
.service-row__media::after { width: 45%; aspect-ratio: 1; border-style: solid; border-color: rgba(255, 255, 255, .12); }
.service-row__icon {
    position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
    width: 120px; height: 120px; border-radius: 32px; background: rgba(255, 255, 255, .12); color: var(--white);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}
.service-row__icon .icon { width: 60px; height: 60px; stroke-width: 1.5; }
.service-row__body .checklist { margin-bottom: 1.75rem; }

.service-hero-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; margin-bottom: 1.5rem;
    border-radius: 22px; background: var(--gradient-primary); color: var(--white);
}
.service-hero-icon .icon { width: 40px; height: 40px; }

.callout {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; padding: 1.75rem 2rem;
    border-radius: var(--radius-lg); background: var(--sky-100); border-left: 5px solid var(--blue-600);
}
.callout h3 { margin: 0 0 .3rem; }
.callout p { margin: 0; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { padding: 0 0 96px; }
.section--tint + .cta-banner, .stats + .cta-banner { padding-top: 96px; }
.cta-banner__inner {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    padding: 3.5rem; border-radius: var(--radius-lg); background: var(--gradient-hero); color: rgba(255, 255, 255, .85);
}
.cta-banner__inner::before {
    content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
    border: 40px solid rgba(100, 181, 246, .15);
}
.cta-banner__inner--image {
    background:
        linear-gradient(120deg, rgba(10, 31, 68, .92) 0%, rgba(11, 61, 145, .82) 60%, rgba(30, 136, 229, .6) 100%),
        var(--cta-image) center / cover no-repeat;
}
.cta-banner h2 { color: var(--white); margin-bottom: .4rem; }
.cta-banner p { margin: 0; font-size: 1.05rem; }
.cta-banner__actions { position: relative; display: flex; flex-wrap: wrap; gap: 1rem; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-cards li {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
    background: var(--sky-50); border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-cards strong { display: block; font-family: var(--font-heading); font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact-cards a, .contact-cards span { color: var(--navy-900); font-weight: 600; }
.contact-cards a:hover { color: var(--blue-600); }

.map-embed { margin-top: 1.5rem; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.form-card { padding: 2.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-card > p { color: var(--muted); font-size: .92rem; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy-900); }
.field input, .field select, .field textarea, .cbm__row input {
    width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: 10px;
    background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus, .cbm__row input:focus {
    outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 136, 229, .15);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .85rem; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* Honeypot: off-screen rather than display:none, which some bots detect */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .95rem; }
.alert .icon { margin-top: .15rem; }
.alert--success { background: #E7F6EE; color: var(--success); }
.alert--error { background: #FDECEC; color: var(--danger); }

/* ---------- CBM calculator ---------- */
.cbm { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; align-items: start; }
.cbm__units { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.cbm__row {
    display: grid; grid-template-columns: 32px repeat(3, 1fr) 80px 1.2fr 80px 40px; gap: .6rem; align-items: center;
    padding: .55rem 0; border-bottom: 1px dashed var(--border);
}
.cbm__row input { padding: .6rem .7rem; }
.cbm__row--head { padding-top: 0; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--border); }
.cbm__index {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
    background: var(--sky-100); color: var(--blue-700); font-weight: 600; font-size: .85rem;
}
.cbm__row-cbm { font-weight: 600; color: var(--blue-700); font-variant-numeric: tabular-nums; }
.cbm__label { display: none; }
.cbm__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.cbm__result { position: sticky; top: calc(var(--header-h) + 24px); }
.cbm__result h2 { font-size: 1.35rem; }
.cbm__result h3 { font-size: 1rem; margin-top: 1.5rem; }
.cbm__totals { display: grid; gap: .1rem; margin: 0; }
.cbm__total { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; }
.cbm__total dt { color: rgba(255, 255, 255, .75); }
.cbm__total dd { margin: 0; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }
.cbm__total--main { flex-direction: column; gap: .2rem; padding: 1rem 1.25rem; margin-bottom: .5rem; border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, .1); }
.cbm__total--main dd { font-family: var(--font-heading); font-size: 2rem; line-height: 1.1; color: var(--sky-300); }

.containers { display: grid; gap: .9rem; margin-bottom: 1rem; }
.containers__label { display: flex; justify-content: space-between; margin-bottom: .35rem; font-size: .9rem; }
.meter { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky-300), var(--white)); transition: width .4s var(--ease); }
.containers li.is-over .meter span { background: linear-gradient(90deg, #FFB74D, #FF7043); }
.containers li.is-best .containers__label span:first-child::after {
    content: "Best fit"; margin-left: .5rem; padding: .1rem .5rem; border-radius: 999px;
    background: var(--sky-300); color: var(--navy-900); font-size: .7rem; font-weight: 700;
}
.cbm__hint { margin: 0 0 1.25rem; padding: .85rem 1rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 3rem; padding-top: 80px; padding-bottom: 56px; }
.site-footer__about p { margin: 1.25rem 0 1.5rem; }
.site-footer__title { position: relative; margin-bottom: 1.4rem; padding-bottom: .75rem; color: var(--white); font-size: 1.08rem; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--sky-300); }
.site-footer__links { display: grid; gap: .6rem; }
.site-footer__links a { color: inherit; transition: color .2s, padding-left .2s; }
.site-footer__links a:hover { color: var(--sky-300); padding-left: 4px; }
.site-footer__contact { display: grid; gap: .9rem; }
.site-footer__contact li { display: flex; gap: .7rem; }
.site-footer__contact .icon { margin-top: .2rem; color: var(--sky-300); }
.site-footer__contact a { color: inherit; }
.site-footer__contact a:hover { color: var(--sky-300); }
.site-footer__bottom { padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.site-footer__bottom p { margin: 0; text-align: center; }

/* ---------- WhatsApp ---------- */
.whatsapp-float {
    position: fixed; left: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.15rem; border-radius: 999px; background: var(--whatsapp); color: var(--white);
    font-weight: 600; font-size: .92rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); transition: transform .2s;
}
.whatsapp-float:hover { color: var(--white); transform: translateY(-3px); }

/* ---------- 404 ---------- */
.not-found { padding: 120px 0; }
.not-found__code {
    display: block; font-family: var(--font-heading); font-size: clamp(5rem, 15vw, 9rem); font-weight: 700; line-height: 1;
    background: var(--gradient-hero); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .partners { grid-template-columns: repeat(3, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .cbm { grid-template-columns: minmax(0, 1fr); }
    .cbm__result { position: static; }
}

@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem 20px 2rem;
        background: var(--white); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s var(--ease);
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
    .site-nav__link { flex: 1; padding: 1rem .25rem; font-size: 1.05rem; }
    .site-nav__link::after { display: none; }
    .dropdown-toggle { padding: .75rem; }
    .has-dropdown.is-open .dropdown-toggle { transform: rotate(180deg); }
    .dropdown {
        position: static; display: none; width: 100%; min-width: 0; padding: 0 0 .75rem;
        border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
    }
    .has-dropdown.is-open .dropdown { display: block; }
    .site-nav__mobile-extra { display: flex; gap: 1.5rem; padding: .5rem .25rem; }
    .site-nav__mobile-extra a { color: var(--muted); font-weight: 500; }
    .site-nav__cta { width: 100%; }
    body.nav-open { overflow: hidden; }

    .hero__inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
    .hero__visual { max-width: 480px; margin: 0 auto; }
    .split, .with-sidebar, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .sidebar { position: static; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .service-row { grid-template-columns: 1fr; gap: 2rem; }
    .service-row--reverse .service-row__media { order: 0; }
    .service-row__media { aspect-ratio: 16 / 7; }
    .cta-banner__inner { flex-direction: column; align-items: flex-start; padding: 2.5rem; }
}

@media (max-width: 860px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .slider { grid-auto-columns: calc((100% - 1.75rem) / 2); }
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .topbar__links, .topbar__contact .hide-sm { display: none; }

    .cbm__row--head { display: none; }
    .cbm__row {
        grid-template-columns: repeat(3, 1fr); position: relative; padding: 1rem; margin-bottom: .75rem;
        border: 1px solid var(--border); border-radius: var(--radius); background: var(--sky-50);
    }
    .cbm__row > :nth-child(5), .cbm__row > :nth-child(6) { grid-column: span 1; }
    .cbm__index { position: absolute; top: -10px; left: -10px; }
    .cbm__label { display: block; margin-bottom: .2rem; font-size: .75rem; font-weight: 600; color: var(--muted); }
    .cbm__row-cbm::before { content: "CBM: "; color: var(--muted); font-weight: 500; }
}

@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .section { padding: 72px 0; }
    .cta-banner { padding-bottom: 72px; }
    .section--tint + .cta-banner, .stats + .cta-banner { padding-top: 72px; }
    .grid--3, .grid--4, .feature-list, .checklist--2col, .form-row, .cbm__units { grid-template-columns: 1fr; }
    .slider { grid-auto-columns: 88%; gap: 1rem; }
    .section-head--row { flex-direction: column; align-items: flex-start; }
    .partners { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 56px; }
    .topbar__contact li:nth-child(2) { display: none; }
    .logo__text { font-size: 1.15rem; }
    .logo__mark { width: 36px; height: 36px; }
    .form-card, .card { padding: 1.5rem; }
    .cta-banner__inner { padding: 2rem 1.5rem; }
    .cta-banner__actions, .cta-banner__actions .btn { width: 100%; }
    .callout { flex-direction: column; align-items: flex-start; }
    .hero__actions .btn { flex: 1 1 100%; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: .9rem; }
}
