/* ══════════════════════════════════════════════════
   XEMBIA — Design tokens
   ══════════════════════════════════════════════════ */
:root {
    --color-navy: #0b1f3b;
    --color-navy-deep: #06111f;
    --color-sky: #3ba6d8;
    --color-sky-light: #6ac4ee;
    --color-sky-glow: rgba(59, 166, 216, 0.35);
    --color-text: #6b7280;
    --color-text-dark: #374151;
    --color-bg: #ffffff;
    --color-bg-alt: #f4f7fb;
    --color-border: #e5e7eb;
    --color-glass-bg: rgba(255, 255, 255, 0.55);
    --color-glass-border: rgba(255, 255, 255, 0.35);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-soft: 0 20px 60px rgba(11, 31, 59, 0.08);
    --shadow-card: 0 8px 32px rgba(11, 31, 59, 0.06);
    --shadow-glow: 0 0 40px rgba(59, 166, 216, 0.25);
    --font-heading: "Sora", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --space-section: clamp(5rem, 11vw, 8rem);
    --header-h: 90px;
    --header-h-scrolled: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

a {
    color: var(--color-sky);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-navy);
}

.shell {
    width: min(1140px, 100% - 2.5rem);
    margin-inline: auto;
}

.visually-hidden {
    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;
    background: var(--color-navy);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

/* ══════════════════════════════════════════════════
   Header — fixed, transparent over hero, solid on scroll
   ══════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: var(--color-border);
    box-shadow: 0 4px 30px rgba(11, 31, 59, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1rem;
    transition: min-height 0.4s ease;
}

.site-header.is-scrolled .site-header__inner {
    min-height: var(--header-h-scrolled);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo__img {
    height: 44px;
    width: auto;
    display: block;
    transition: height 0.4s ease, opacity 0.4s ease;
}

.logo__img--dark {
    display: none;
}

.site-header.is-scrolled .logo__img {
    height: 40px;
}

.site-header.is-scrolled .logo__img--white {
    display: none;
}

.site-header.is-scrolled .logo__img--dark {
    display: block;
}

/* Over hero (dark bg): links + hamburger are white */
.site-header:not(.is-scrolled) .site-nav__list a {
    color: rgba(255, 255, 255, 0.85);
}

.site-header:not(.is-scrolled) .site-nav__list a:hover {
    color: #fff;
}

.site-nav__cta {
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 20px;
    border-radius: 6px;
    background: var(--color-sky);
    color: #fff !important;
    transition: background 0.2s, transform 0.15s;
}
.site-nav__cta:hover {
    background: #2a90c0;
    transform: translateY(-1px);
    color: #fff !important;
}

.site-header:not(.is-scrolled) .nav-toggle {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.site-header:not(.is-scrolled) .nav-toggle__bar {
    background: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease;
}

.nav-toggle:hover {
    border-color: var(--color-sky);
}

.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    margin-inline: auto;
    background: var(--color-navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 3vw, 2.2rem);
}

.site-nav__list a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-sky), var(--color-navy));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.site-nav__list a:hover {
    color: var(--color-sky);
}

.site-nav__list a:hover::after {
    width: 100%;
}

.site-nav__cta {
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 20px;
    border-radius: 6px;
    background: var(--color-sky);
    color: #fff !important;
}

/* ══════════════════════════════════════════════════
   Buttons
   ══════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.65rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-navy), #14355e);
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(11, 31, 59, 0.25);
}

.btn--primary:hover {
    box-shadow: 0 16px 44px rgba(11, 31, 59, 0.32);
    transform: translateY(-1px);
    color: #fff !important;
}

.btn--glow {
    overflow: hidden;
}

.btn--glow::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--color-sky), var(--color-navy), var(--color-sky));
    background-size: 300% 300%;
    animation: glowShift 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn--glow:hover::before {
    opacity: 1;
}

@keyframes glowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn--ghost {
    background: #fff;
    border-color: var(--color-border);
    color: var(--color-navy) !important;
}

.btn--ghost:hover {
    border-color: var(--color-sky);
    background: rgba(59, 166, 216, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(59, 166, 216, 0.12);
    color: var(--color-navy) !important;
}

.hero .btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    backdrop-filter: blur(6px);
}

.hero .btn--ghost:hover {
    border-color: var(--color-sky);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 30px rgba(59, 166, 216, 0.15);
    color: #fff !important;
}

.btn--sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
}

.btn--block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.btn__loading {
    align-items: center;
    gap: 0.5rem;
}

.btn__loading[hidden] {
    display: none !important;
}

.btn__loading:not([hidden]) {
    display: inline-flex;
}

.spinner {
    animation: spin 0.7s linear infinite;
}

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

.flash-container:empty {
    display: none;
}

/* ══════════════════════════════════════════════════
   Eyebrow
   ══════════════════════════════════════════════════ */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-sky);
    margin: 0 0 1.15rem;
}

.eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-sky);
    box-shadow: 0 0 8px var(--color-sky-glow);
    animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 8px var(--color-sky-glow); }
    50% { box-shadow: 0 0 18px var(--color-sky-glow), 0 0 6px var(--color-sky); }
}

.eyebrow--light {
    color: var(--color-sky-light);
}

/* ══════════════════════════════════════════════════
   Hero — dark gradient
   ══════════════════════════════════════════════════ */
.hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 0;
    overflow: hidden;
    min-height: min(94vh, 800px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0d3b66 0%, #07233d 100%);
    color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
    color: #ffffff;
}

.hero .eyebrow {
    color: var(--color-sky-light);
}

.hero .eyebrow__dot {
    background: var(--color-sky-light);
    box-shadow: 0 0 10px rgba(106, 196, 238, 0.5);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 166, 216, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 166, 216, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    will-change: transform;
}

.blob--1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(59, 166, 216, 0.22), transparent 65%);
    top: -20%;
    left: -12%;
    animation: floatBlob 18s ease-in-out infinite;
}

.blob--2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(106, 196, 238, 0.14), transparent 65%);
    top: 5%;
    right: -14%;
    animation: floatBlob 22s ease-in-out infinite reverse;
}

.blob--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 166, 216, 0.16), transparent 65%);
    bottom: 0;
    left: 25%;
    animation: floatBlob 15s ease-in-out infinite 3s;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    flex: 1;
}

.hero__title {
    margin: 0 0 1.35rem;
}

.text-gradient {
    background: linear-gradient(120deg, var(--color-sky-light) 10%, var(--color-sky) 50%, #8dd6f8 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    font-size: 1.15rem;
    max-width: 34rem;
    margin: 0 0 2.25rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero__actions .btn svg {
    transition: transform 0.25s ease;
}

.hero__actions .btn:hover svg {
    transform: translateY(-2px);
}

/* Hero graphic — blended SVG */
.hero-graphic {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 40px rgba(59, 166, 216, 0.1));
}

.ring {
    opacity: 0;
    animation: fadeRing 1.8s ease forwards;
}

.ring--1 { animation-delay: 0.2s; }
.ring--2 { animation-delay: 0.5s; }
.ring--3 { animation-delay: 0.8s; }

@keyframes fadeRing {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.bar {
    transform-origin: bottom center;
    animation: barUp 1s ease-out forwards;
    transform: scaleY(0);
}

.bar--2 { animation-delay: 0.1s; }
.bar--3 { animation-delay: 0.2s; }
.bar--4 { animation-delay: 0.3s; }
.bar--5 { animation-delay: 0.4s; }

@keyframes barUp {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.growth-area {
    opacity: 0;
    animation: fadeArea 1.4s ease forwards 0.5s;
}

@keyframes fadeArea {
    from { opacity: 0; }
    to { opacity: 1; }
}

.growth-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawLine 2s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.4s;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.dot {
    opacity: 0;
}

.dot--peak {
    animation: fadeDotGlow 0.6s ease forwards 2s;
}

.dot--d1 { animation: fadeDot 0.4s ease forwards 1s; }
.dot--d2 { animation: fadeDot 0.4s ease forwards 1.3s; }
.dot--d3 { animation: fadeDot 0.4s ease forwards 1.6s; }
.dot--d4 { animation: fadeDot 0.4s ease forwards 1.9s; }

@keyframes fadeDot {
    to { opacity: 1; }
}

@keyframes fadeDotGlow {
    to { opacity: 1; }
}

.particle {
    animation: floatParticle 6s ease-in-out infinite;
}

.particle--1 { animation-delay: 0s; }
.particle--2 { animation-delay: 1s; }
.particle--3 { animation-delay: 2s; }
.particle--4 { animation-delay: 3s; }
.particle--5 { animation-delay: 4s; }
.particle--6 { animation-delay: 0.5s; }

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -12px); }
}

/* ══════════════════════════════════════════════════
   Hero stats card (glassmorphism)
   ══════════════════════════════════════════════════ */
.hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-card__title {
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sky);
    margin-bottom: 24px;
}

.hero-stat {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero-stat__num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat__label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Wave dividers */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.wave--hero {
    bottom: -1px;
}

.wave--dark {
    bottom: -1px;
}

.hero {
    padding-bottom: 80px;
}

/* ══════════════════════════════════════════════════
   Sections
   ══════════════════════════════════════════════════ */
.section {
    position: relative;
    padding: var(--space-section) 0;
}

.section--alt {
    background: var(--color-bg-alt);
}

.section--dark {
    background: linear-gradient(160deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    padding-bottom: calc(var(--space-section) + 60px);
}

.section--dark__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob--dark-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 166, 216, 0.12), transparent 70%);
    top: -20%;
    right: -10%;
    filter: blur(80px);
    animation: floatBlob 20s ease-in-out infinite;
}

.blob--dark-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 166, 216, 0.08), transparent 70%);
    bottom: 10%;
    left: -8%;
    filter: blur(80px);
    animation: floatBlob 16s ease-in-out infinite reverse;
}

.section--dark h2 {
    color: #ffffff;
}

.section--dark .section__closing {
    color: rgba(255, 255, 255, 0.85);
}

.section--dark .section__closing strong {
    color: var(--color-sky-light);
}

.section__head {
    max-width: 42rem;
    margin-bottom: 2.5rem;
}

.section__head h2 {
    margin: 0 0 0.85rem;
}

.section__intro {
    margin: 0;
    font-size: 1.125rem;
}

.prose p {
    margin: 0 0 1.15rem;
    max-width: 46rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════
   Pain list (dark section)
   ══════════════════════════════════════════════════ */
.pain-list {
    list-style: none;
    margin: 0 0 2.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    max-width: 52rem;
}

.pain-list__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.pain-list__item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 166, 216, 0.25);
}

.pain-list__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section__closing {
    font-size: 1.125rem;
    max-width: 40rem;
    margin: 0;
}

.section__note {
    margin-top: 2.5rem;
    max-width: 46rem;
    font-size: 1.05rem;
}

/* ══════════════════════════════════════════════════
   Cards (glassmorphism)
   ══════════════════════════════════════════════════ */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.35rem;
}

.card {
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
    position: relative;
}

.card--glass {
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card--glass::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 166, 216, 0), rgba(59, 166, 216, 0.3), rgba(59, 166, 216, 0));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease, background-position 0.6s ease;
}

.card--glass:hover::before {
    opacity: 1;
    background-position: 100% 100%;
}

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

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(59, 166, 216, 0.1), rgba(11, 31, 59, 0.05));
    margin-bottom: 1.15rem;
}

.card__title {
    margin: 0 0 0.65rem;
}

.card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   About grid
   ══════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-left h2 {
    color: var(--color-navy);
    margin-bottom: 24px;
}

.about-left p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--color-text);
}

.about-highlight {
    margin-top: 28px;
    padding: 20px 24px;
    border-left: 3px solid var(--color-sky);
    background: rgba(59, 166, 216, 0.08);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.6;
    font-style: italic;
}

.about-pillar {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(59, 166, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-text h4 {
    font-size: 15px;
    color: var(--color-navy);
    margin: 0 0 4px;
}

.pillar-text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

/* ══════════════════════════════════════════════════
   Problema section
   ══════════════════════════════════════════════════ */
.problema-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.problema-left h2 {
    color: var(--color-navy);
    margin-bottom: 20px;
}

.problema-left p {
    color: var(--color-text);
    margin-bottom: 24px;
}

.problema-callout {
    padding: 18px 22px;
    background: var(--color-navy);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.problema-callout em {
    font-style: normal;
    color: var(--color-sky);
}

.problema-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.problema-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problema-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-sky), var(--color-navy));
}

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

.problema-card__icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.problema-card h4 {
    font-size: 14px;
    color: var(--color-navy);
    margin: 0 0 6px;
}

.problema-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--color-text);
    margin: 0;
}

/* ══════════════════════════════════════════════════
   Fases timeline
   ══════════════════════════════════════════════════ */
.fases-intro {
    max-width: 640px;
    margin-bottom: 64px;
}

.fases-timeline {
    position: relative;
    margin-bottom: 80px;
}

.fases-timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-sky), transparent);
}

.fase {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.fase:last-child {
    margin-bottom: 0;
}

.fase__num {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--color-navy);
    border: 3px solid var(--color-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-sky);
    z-index: 1;
}

.fase__body {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    position: relative;
}

.fase__body::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-sky), var(--color-navy));
    border-radius: 2px;
}

.fase__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sky);
    margin-bottom: 8px;
}

.fase__body h3 {
    color: var(--color-navy);
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.fase__body p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0;
}

.fase__items {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fase__items span {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(59, 166, 216, 0.15);
    color: var(--color-navy);
}

/* ══════════════════════════════════════════════════
   Eco cards
   ══════════════════════════════════════════════════ */
.eco-title {
    text-align: left;
    margin-bottom: 48px;
}

.eco-title h2 {
    color: var(--color-navy);
    margin-bottom: 12px;
}

.eco-title p {
    max-width: 560px;
    margin: 0;
    color: var(--color-text);
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.eco-card {
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.eco-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.eco-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(59, 166, 216, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.eco-card__sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-sky);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eco-card h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 6px;
}

.eco-card p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.eco-note {
    text-align: center;
    font-size: 13px;
    color: var(--color-text);
}

.eco-note strong {
    color: var(--color-navy);
}

/* ══════════════════════════════════════════════════
   Diferencial cards
   ══════════════════════════════════════════════════ */
.dif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.dif-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dif-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-sky), var(--color-navy));
}

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

.dif-card__num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(59, 166, 216, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.dif-card h3 {
    color: var(--color-navy);
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.dif-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0;
}

/* ══════════════════════════════════════════════════
   Features
   ══════════════════════════════════════════════════ */
.feature-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature {
    padding: 1.35rem 1.35rem 1.35rem 4.5rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border);
    font-size: 0.98rem;
    color: var(--color-text-dark);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: rgba(59, 166, 216, 0.3);
}

.feature__number {
    position: absolute;
    left: 1.15rem;
    top: 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-sky), var(--color-navy));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ══════════════════════════════════════════════════
   Team
   ══════════════════════════════════════════════════ */
.team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
    margin-inline: auto;
}

.team__card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
}

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

.team__photo-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--color-bg-alt), rgba(59, 166, 216, 0.08));
}

.team__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.team__card:hover .team__photo {
    transform: scale(1.04);
}

.team__photo-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(11, 31, 59, 0.05), transparent);
    pointer-events: none;
}

.team__info {
    padding: 1rem 1.15rem 1.15rem;
}

.team__name {
    margin: 0 0 0.3rem;
}

.team__role {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: var(--color-text);
}

.team__cred {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.55;
    margin: 0 0 16px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

.team__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 6px;
    color: #0A66C2;
    border: 1.5px solid #0A66C2;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.team__link:hover {
    background: #0A66C2;
    color: #fff;
}

.section__head--center {
    text-align: left;
}

.section__head--center .section__intro {
    max-width: 520px;
    margin-inline: 0;
}

/* ══════════════════════════════════════════════════
   Contact
   ══════════════════════════════════════════════════ */
.section--contact {
    position: relative;
    overflow: hidden;
    padding-bottom: calc(var(--space-section) + 1rem);
    background: var(--color-navy);
}

.section--contact .eyebrow {
    color: var(--color-sky);
}

.section--contact .eyebrow__dot {
    background: var(--color-sky);
}

.section--contact__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob--contact-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 166, 216, 0.1), transparent 70%);
    top: -15%;
    right: -8%;
    filter: blur(80px);
    animation: floatBlob 20s ease-in-out infinite;
}

.blob--contact-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 31, 59, 0.06), transparent 70%);
    bottom: -10%;
    left: -5%;
    filter: blur(80px);
    animation: floatBlob 16s ease-in-out infinite reverse;
}

/* Contacto 2-column layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-left h2 {
    color: #fff;
    margin-bottom: 16px;
}

.contact-left h2 .text-gradient {
    background: linear-gradient(135deg, var(--color-sky), var(--color-sky-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 36px;
    line-height: 1.7;
}

.contact-meta {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 36px;
    line-height: 1.6;
}

.contact-meta strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.contact-details {
    margin-top: 8px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-detail svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-sky);
    fill: none;
    flex-shrink: 0;
}

.contact-detail a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-detail a:hover {
    color: #fff;
}

.form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}

.form-card h3 {
    color: var(--color-navy);
    font-size: 1.1rem;
    margin: 0 0 24px;
}

.flash {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    max-width: 640px;
}

.flash--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.flash--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-card .contact-form {
    max-width: 100%;
}

.contact-form__fieldset {
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem 1.25rem;
    margin: 0;
    background: var(--color-glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-form__legend {
    padding: 0 0.35rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-navy);
}

.radio {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.65rem;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-dark);
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.radio:hover {
    background: rgba(59, 166, 216, 0.06);
}

.radio:first-of-type {
    margin-top: 0.45rem;
}

.radio input {
    margin-top: 0.35rem;
    accent-color: var(--color-sky);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

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

.field textarea {
    resize: vertical;
    min-height: 100px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field--full {
    grid-column: 1 / -1;
}

.field__label {
    font-weight: 500;
    font-size: 13px;
    color: var(--color-navy);
}

.field input,
.field textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--color-border);
    background: #fff;
    color: var(--color-text-dark);
    transition: border-color 0.2s ease, box-shadow 0.25s ease;
    appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #a0aec0;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-sky);
    box-shadow: 0 0 0 3px var(--color-sky-glow);
    background: #fff;
}

.recaptcha-wrap {
    min-height: 78px;
}

/* ══════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════ */
.site-footer {
    border-top: none;
    padding: 2.5rem 0;
    background: #071528;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer__logo {
    height: 28px;
    width: auto;
}

.site-footer__tagline {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.site-footer__copy {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

/* ══════════════════════════════════════════════════
   Reveal animations
   ══════════════════════════════════════════════════ */
[data-reveal],
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-reveal].is-visible,
[data-reveal-stagger].is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] {
    transition-delay: 0.15s;
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0.06s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.18s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.30s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 0.36s; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 0.42s; }

/* ══════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        display: none;
    }

    .problema-cards {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .about-grid,
    .problema-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .eco-grid,
    .dif-grid {
        grid-template-columns: 1fr;
    }

    .team {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin-inline: auto;
    }

    .fases-timeline::before {
        display: none;
    }

    .fase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--color-border);
        padding: 1rem 0 1.25rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        width: min(400px, 100% - 2rem);
        margin-inline: auto;
    }

    .site-nav__list a::after {
        display: none;
    }

    .site-nav__list a {
        color: var(--color-text-dark) !important;
    }

    .site-nav__cta {
        color: #fff !important;
        text-align: center;
    }

    .pain-list {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .team {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-inline: auto;
    }

    .form-card {
        padding: 24px 16px;
        border-radius: var(--radius-md);
    }

    .contact-form__fieldset {
        padding: 1rem 1rem;
        border-radius: var(--radius-md);
    }

    .radio {
        padding: 0.4rem 0.35rem;
        font-size: 0.9rem;
    }

    .radio input {
        width: 16px;
        height: 16px;
    }

    .recaptcha-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .section--contact .shell {
        width: 100%;
        padding-inline: 12px;
    }

    .contact-grid {
        gap: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal],
    [data-reveal-stagger] > * {
        opacity: 1;
        transform: none;
    }

    .blob {
        display: none;
    }
}
