/* ===========================================================
   Aina Elephant, SL — Consultoría y desarrollo Sage 200
   Tema claro, elegante, paleta verde/teal de marca
   =========================================================== */

:root {
    --bg: #ffffff;
    --bg-2: #f4faf6;
    --bg-3: #eef6f1;
    --surface: #ffffff;
    --surface-2: #f3f9f5;
    --border: rgba(14, 138, 110, 0.16);
    --border-strong: rgba(14, 138, 110, 0.34);

    --text: #0f2620;
    --text-soft: #44615a;
    --muted: #7c948c;

    /* Paleta de marca (elefante verde + teal) */
    --green: #28b34c;
    --green-light: #56c271;
    --green-deep: #0e8a6e;
    --teal: #0e8a6e;
    --accent: var(--green-deep);
    --grad: linear-gradient(120deg, #56c271 0%, #28b34c 46%, #0e8a6e 100%);
    --grad-soft: linear-gradient(120deg, rgba(40, 179, 76, 0.14), rgba(14, 138, 110, 0.10));

    --radius: 18px;
    --radius-sm: 12px;
    --maxw: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 24px 60px -34px rgba(14, 70, 56, 0.45);

    --font-head: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Fondo global con halos verdes suaves */
.bg-aura {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(55% 45% at 82% -5%, rgba(86, 194, 113, 0.16), transparent 60%),
        radial-gradient(45% 40% at 6% 6%, rgba(14, 138, 110, 0.12), transparent 60%),
        radial-gradient(60% 50% at 50% 112%, rgba(40, 179, 76, 0.08), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
}
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(14, 138, 110, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 138, 110, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Utilidades ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-head);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-deep);
    font-weight: 600;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section { padding: clamp(70px, 10vw, 132px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 16px 0 14px;
    font-weight: 600;
}
.section-head p { color: var(--text-soft); font-size: 1.05rem; max-width: 640px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
    white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
    background: var(--grad);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 30px -10px rgba(40, 179, 76, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(40, 179, 76, 0.8); }
.btn-ghost {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--border);
    box-shadow: 0 8px 30px -22px rgba(14, 70, 56, 0.5);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .logo-mark { width: 42px; height: 42px; object-fit: contain; }
.brand .logo-text {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.32rem;
    letter-spacing: -0.01em;
    color: var(--text);
}
.brand .logo-text b { font-weight: 700; color: var(--green-deep); }
.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-size: 0.94rem;
    color: var(--text-soft);
    position: relative;
    transition: color 0.25s;
    font-weight: 500;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--grad);
    border-radius: 2px;
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface);
}
.lang-toggle button {
    background: transparent;
    border: none;
    color: var(--muted);
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 13px;
    cursor: pointer;
    transition: color 0.25s, background 0.25s;
    letter-spacing: 0.04em;
}
.lang-toggle button.active { color: #fff; background: var(--green-deep); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 96px;
    overflow: hidden;
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    width: min(var(--maxw), calc(100% - 48px));
}
.hero-copy { max-width: 640px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    color: var(--text-soft);
    font-weight: 500;
    margin-bottom: 26px;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(40, 179, 76, 0.2);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(40, 179, 76, 0.22); }
    50% { box-shadow: 0 0 0 7px rgba(40, 179, 76, 0); }
}
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 24px;
}
.hero h1 .gradient-text { display: inline-block; }
.hero-sub {
    font-size: clamp(1.04rem, 1.6vw, 1.22rem);
    color: var(--text-soft);
    max-width: 600px;
    margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.hero-tags span {
    font-family: var(--font-head);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-deep);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(40, 179, 76, 0.05);
    font-weight: 500;
}

/* Visual del hero: logo dentro de un orbe verde */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-orb {
    position: absolute;
    width: min(420px, 80%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(86, 194, 113, 0.28), rgba(14, 138, 110, 0.10) 55%, transparent 72%);
    filter: blur(4px);
    animation: float 7s ease-in-out infinite;
}
.hero-logo {
    position: relative;
    width: min(360px, 78%);
    filter: drop-shadow(0 30px 50px rgba(14, 100, 78, 0.25));
    animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-scroll {
    position: absolute;
    bottom: 26px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero-scroll .mouse {
    width: 22px; height: 34px;
    border: 1.5px solid var(--border-strong);
    border-radius: 12px;
    position: relative;
}
.hero-scroll .mouse::after {
    content: "";
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 7px;
    border-radius: 2px;
    background: var(--green);
    animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 11px); } 100% { opacity: 0; } }

/* ===========================================================
   TRUST BAR / STATS
   =========================================================== */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 44px 0;
}
.trust { text-align: center; }
.trust .num {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 700;
    line-height: 1.05;
}
.trust .label { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* ===========================================================
   SERVICIOS
   =========================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 20px;
}
.service-card {
    position: relative;
    padding: 32px 30px 34px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(14, 70, 56, 0.03);
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--grad-soft);
    border: 1px solid var(--border-strong);
    margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--green-deep); }
.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.32rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.service-card p { color: var(--text-soft); font-size: 0.97rem; }
.service-num {
    position: absolute;
    top: 28px; right: 28px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}

/* ===========================================================
   MIGRACIONES (DESTACADO)
   =========================================================== */
.migrations {
    background:
        radial-gradient(60% 80% at 90% 10%, rgba(86, 194, 113, 0.1), transparent 60%),
        var(--bg-3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.mig-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.mig-copy h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin: 16px 0 18px;
}
.mig-copy > p { color: var(--text-soft); margin-bottom: 16px; }
.mig-list { display: grid; gap: 18px; margin-top: 28px; }
.mig-item, .why-item { display: flex; gap: 16px; align-items: flex-start; }
.mig-item .check, .why-item .check {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--grad);
}
.mig-item .check svg, .why-item .check svg { width: 16px; height: 16px; stroke: #fff; }
.mig-item h4, .why-item h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; margin-bottom: 3px; }
.mig-item p, .why-item p { color: var(--text-soft); font-size: 0.93rem; }

.mig-side {
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    padding: 34px 32px;
    box-shadow: var(--shadow-soft);
}
.mig-side-label {
    font-family: var(--font-head);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}
.mig-sources { margin: 18px 0 22px; display: grid; gap: 12px; }
.mig-sources li {
    position: relative;
    padding-left: 26px;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 500;
}
.mig-sources li::before {
    content: "";
    position: absolute;
    left: 4px; top: 0.62em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--grad);
}
.mig-sources li:last-child { color: var(--muted); font-weight: 400; font-style: italic; }
.mig-sources li:last-child::before { background: var(--muted); }
.mig-arrow {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    letter-spacing: -0.01em;
}

/* ===========================================================
   PROCESO
   =========================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.process-step {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.process-step .step-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; margin-bottom: 16px; }
.process-step h3 { font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; margin-bottom: 10px; }
.process-step p { color: var(--text-soft); font-size: 0.93rem; }

/* ===========================================================
   POR QUÉ AINA
   =========================================================== */
.why-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.why-title { font-family: var(--font-head); font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; margin: 16px 0 12px; }
.why-intro { color: var(--text-soft); }
.why-list { display: grid; gap: 18px; margin-top: 28px; }
.why-card {
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: linear-gradient(160deg, rgba(40, 179, 76, 0.07), rgba(14, 138, 110, 0.04));
    padding: 40px 36px;
    box-shadow: var(--shadow-soft);
}
.why-card .label { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; }
.why-card .company { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; margin: 8px 0 6px; letter-spacing: -0.01em; }
.why-card-lead { color: var(--text-soft); font-size: 0.96rem; margin-bottom: 22px; }
.why-card ul { display: grid; gap: 14px; }
.why-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 0.96rem; }
.why-card li svg { width: 18px; height: 18px; stroke: var(--green-deep); flex-shrink: 0; margin-top: 3px; }

/* ===========================================================
   NOSOTROS
   =========================================================== */
.about-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-copy h2 {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin: 16px 0 20px;
}
.about-copy p { color: var(--text-soft); margin-bottom: 16px; }
.about-copy strong { color: var(--text); }
.about-visual {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 50% 35%, rgba(86, 194, 113, 0.16), transparent 65%),
        var(--surface);
    padding: 48px 40px 38px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}
.about-logo { width: min(280px, 80%); margin: 0 auto 18px; }
.about-tagline { font-family: var(--font-head); font-size: 1.05rem; font-weight: 500; color: var(--green-deep); }

/* ===========================================================
   GRUPO AINA
   =========================================================== */
.group { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.group-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 34px 32px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.group-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--grad);
    opacity: 0;
    transition: opacity 0.4s;
}
.group-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.group-card:hover::before { opacity: 1; }
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.group-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.group-go {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 11px;
    display: grid; place-items: center;
    background: var(--grad-soft);
    border: 1px solid var(--border-strong);
    color: var(--green-deep);
    transition: background 0.3s, transform 0.3s var(--ease);
}
.group-go svg { width: 18px; height: 18px; }
.group-card:hover .group-go { background: var(--grad); color: #fff; transform: translate(2px, -2px); }
.group-card p { color: var(--text-soft); font-size: 0.96rem; flex: 1; }
.group-link {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--green-deep);
}

/* ===========================================================
   CONTACTO
   =========================================================== */
.contact-card {
    position: relative;
    border-radius: 28px;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(80% 120% at 80% 0%, rgba(86, 194, 113, 0.16), transparent 60%),
        radial-gradient(70% 120% at 10% 100%, rgba(14, 138, 110, 0.13), transparent 60%),
        var(--surface);
    padding: clamp(40px, 6vw, 72px);
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.contact-card h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.8vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 16px;
}
.contact-card p { color: var(--text-soft); font-size: 1.06rem; max-width: 580px; margin: 0 auto 32px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
    justify-content: center;
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.92rem;
}
.contact-meta a { color: var(--green-deep); font-weight: 500; }
.contact-meta a:hover { color: var(--green); }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { border-top: 1px solid var(--border); padding: 54px 0 32px; background: var(--bg-2); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 {
    font-family: var(--font-head);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col a { display: block; color: var(--text-soft); font-size: 0.93rem; margin-bottom: 11px; transition: color 0.25s; }
.footer-col a:hover { color: var(--green-deep); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}

/* ===========================================================
   REVEAL ANIM
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-orb, .hero-logo { animation: none; }
    * { scroll-behavior: auto; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .hero-visual { order: -1; min-height: 220px; }
    .hero-logo { width: min(240px, 60%); }
    .hero-orb { width: min(300px, 70%); }
    .why-wrap, .about-wrap, .mig-wrap { grid-template-columns: 1fr; gap: 40px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 40px -24px rgba(14, 70, 56, 0.5);
        padding: 8px 24px 24px;
        transform: translateY(-130%);
        transition: transform 0.4s var(--ease);
        align-items: stretch;
    }
    .nav-menu.open { transform: translateY(0); }
    .nav-links { flex-direction: column; gap: 0; width: 100%; }
    .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--border); }
    .nav-actions { padding-top: 16px; justify-content: space-between; }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 480px) {
    .wrap, .hero-inner { width: calc(100% - 36px); }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .trust-grid { grid-template-columns: 1fr; }
}
