/* ===========================================================
   AI Soft Ventures — Sitio web
   Inspirado visualmente en njoybcn.com (diseño limpio, modular,
   tipografía sans-serif grande, acento vibrante con subrayado)
   =========================================================== */

:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-alt: #1a1a1a;
    --color-ink: #f5f5f2;
    --color-ink-soft: #e2e2dd;
    --color-muted: #a8a8a4;
    --color-line: #2a2a2a;
    --color-accent: #06b6d4;
    --color-accent-soft: rgba(6, 182, 212, 0.15);
    --color-dark: #0a0a0a;
    --color-dark-2: #141414;
    --color-on-dark: #f5f5f2;
    --color-on-dark-muted: #a8a8a4;

    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 1px 1px rgba(10, 10, 10, 0.03);
    --shadow-md: 0 12px 30px rgba(10, 10, 10, 0.08);

    --font-sans: "Inter", "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Inter", "Helvetica Neue", Arial, sans-serif;

    --maxw: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --section-y: clamp(64px, 9vw, 130px);
}

/* ----------- Reset ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-ink);
    background:
      radial-gradient(ellipse at 85% -10%, rgba(6, 182, 212, 0.40), transparent 60%),
      radial-gradient(ellipse at -10% 110%, rgba(6, 182, 212, 0.25), transparent 65%),
      var(--color-bg);
    background-attachment: fixed;
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

/* ----------- Layout helpers ----------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--dark { background: var(--color-dark); color: var(--color-on-dark); }
.section--dark p { color: var(--color-on-dark-muted); }
.section--alt { background: var(--color-surface); }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 18px;
    font-weight: 500;
}
.section--dark .eyebrow { color: var(--color-on-dark-muted); }

.title-xl { font-size: clamp(40px, 6.4vw, 88px); }
.title-lg { font-size: clamp(32px, 4.6vw, 60px); }
.title-md { font-size: clamp(24px, 2.8vw, 36px); }
.title-sm { font-size: clamp(20px, 2vw, 26px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--color-muted); max-width: 62ch; }
.section--dark .lead { color: var(--color-on-dark-muted); }

.accent { color: var(--color-accent); }

/* Price badge / hero pill */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 14px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(6, 182, 212, 0.30);
}
.price-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 auto;
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}
.price-headline {
    font-family: var(--font-display);
    font-size: clamp(56px, 8vw, 96px);
    color: var(--color-accent);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 4px 0 6px;
}
.price-headline small {
    display: inline-block;
    font-size: 0.32em;
    color: var(--color-muted);
    font-weight: 500;
    letter-spacing: 0;
    margin-left: 8px;
    vertical-align: middle;
}

.italic-accent { font-style: italic; font-weight: 500; }

/* ----------- Buttons ----------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .18s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-ink); color: var(--color-bg); }
.btn--primary:hover { background: var(--color-accent); }
.btn--ghost { border-color: var(--color-line); color: var(--color-ink); background: transparent; }
.btn--ghost:hover { border-color: var(--color-ink); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-ink); color: var(--color-bg); }
.btn--on-dark { border-color: rgba(255,255,255,0.25); color: #fff; }
.btn--on-dark:hover { background: #fff; color: #0a0a0a; }
.btn .arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ----------- Header ----------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,10,10,0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-line);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.brand .brand-mark {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--color-accent); color: #fff;
    display: grid; place-items: center;
    font-size: 14px; font-weight: 700;
}

.nav-list {
    display: flex; align-items: center; gap: 4px;
}
.nav-list a {
    font-size: 15px; color: var(--color-ink-soft); font-weight: 500;
}
.nav-list > li > a {
    padding: 8px 14px;
    border-radius: 8px;
    transition: background .15s ease, color .15s ease;
}
.nav-list > li > a:hover,
.nav-list .has-dropdown:hover > a,
.nav-list .has-dropdown.is-open > a {
    background: var(--color-accent);
    color: #fff;
}

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

/* Dropdown menu */
.nav-list .has-dropdown { position: relative; }
.nav-list .has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-list .has-dropdown > a::before {
    content: "";
    width: 7px; height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 4px;
    order: 2;
    transition: transform .2s ease;
}
.nav-list .has-dropdown.is-open > a::before { transform: rotate(-135deg) translateY(2px); }

.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: -8px;
    min-width: 280px;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
    display: grid; gap: 4px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.dropdown a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--color-ink) !important;
    transition: background .15s ease;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--color-surface); }
.dropdown a strong { display: block; font-size: 15px; font-weight: 600; }
.dropdown a span { display: block; font-size: 13px; color: var(--color-muted); margin-top: 2px; }

.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 10px;
    align-items: center; justify-content: center;
}
.menu-toggle span {
    display: block; position: relative;
    width: 22px; height: 2px; background: var(--color-ink);
    transition: transform .25s ease, background .25s ease;
}
.menu-toggle span::before, .menu-toggle span::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--color-ink);
    transition: transform .25s ease, top .25s ease;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after  { top:  7px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ----------- Hero ----------- */
.hero {
    padding-top: clamp(56px, 8vw, 120px);
    padding-bottom: clamp(56px, 8vw, 120px);
    position: relative;
    overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: end; }
.hero__title {
    font-size: clamp(44px, 8vw, 110px);
    line-height: 0.96;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin: 0;
}
.hero__title em { font-style: normal; }
.hero__subtitle {
    max-width: 60ch;
    font-size: clamp(18px, 1.6vw, 22px);
    color: var(--color-muted);
    line-height: 1.45;
    margin-top: 8px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

.hero__meta {
    border-top: 1px solid var(--color-line);
    margin-top: clamp(48px, 7vw, 96px);
    padding-top: 22px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    color: var(--color-muted);
    font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.16em;
}

/* ----------- Stats ----------- */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}
.stat {
    padding: 38px 22px;
    border-right: 1px solid var(--color-line);
}
.stat:last-child { border-right: 0; }
.stat__num {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}
.stat__num .accent { color: var(--color-accent); }
.stat__label { color: var(--color-muted); margin-top: 8px; font-size: 14px; }

/* ----------- Product cards ----------- */
.products { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.product-card {
    grid-column: span 6;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 40px);
    background: var(--color-bg);
    display: flex; flex-direction: column; gap: 18px;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    position: relative;
    overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-ink); }
.product-card__tag {
    align-self: flex-start;
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--color-muted);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 4px 12px;
}
.product-card h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.product-card p { color: var(--color-muted); margin: 0; }
.product-card__list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.product-card__list li {
    position: relative; padding-left: 22px;
    color: var(--color-ink-soft);
    font-size: 15px;
}
.product-card__list li::before {
    content: ""; position: absolute; left: 0; top: 0.55em;
    width: 10px; height: 2px; background: var(--color-accent);
}
.product-card__cta { margin-top: auto; }

/* ----------- Feature grid (page sections) ----------- */
.feature-grid {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px;
}
.feature-grid > article {
    grid-column: span 4;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex; flex-direction: column; gap: 12px;
    transition: border-color .25s ease, transform .25s ease;
}
.feature-grid > article:hover { border-color: var(--color-ink); transform: translateY(-3px); }
.feature-grid--half > article { grid-column: span 6; }

.plugin-price {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    line-height: 1;
}
.plugin-price small {
    display: inline-block;
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 500;
    letter-spacing: 0;
    margin-left: 8px;
    vertical-align: middle;
}
.feature-grid h3 { font-size: 20px; margin: 0; }
.feature-grid p { margin: 0; color: var(--color-muted); font-size: 15px; }
.feature-grid .icon-chip {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 18px;
}

/* ----------- Two column ----------- */
.two-col {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
.two-col__media {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    border: 1px solid var(--color-line);
    overflow: hidden;
    position: relative;
}
.two-col__media .bullets {
    position: absolute; inset: auto 0 0 0;
    padding: 22px;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.two-col__media .chip {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--color-line);
    color: var(--color-ink-soft);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

/* Decorative SVG/gradient panels (replacing photographs) */
.deco-panel {
    background:
      radial-gradient(circle at 18% 22%, rgba(6, 182, 212, 0.18), transparent 40%),
      radial-gradient(circle at 82% 78%, rgba(10, 10, 10, 0.10), transparent 45%),
      linear-gradient(160deg, #f6f6f4 0%, #ecebe7 100%);
    position: relative;
}
.deco-panel--dark {
    background:
      radial-gradient(circle at 78% 22%, rgba(6, 182, 212, 0.30), transparent 45%),
      radial-gradient(circle at 14% 80%, rgba(255,255,255,0.08), transparent 45%),
      linear-gradient(160deg, #0a0a0a 0%, #1d1d1d 100%);
    color: var(--color-on-dark);
}
.deco-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(10,10,10,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,10,10,0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, #000 50%, transparent 100%);
}
.deco-panel--dark .deco-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
}

/* ----------- Phases / steps list ----------- */
.steps { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; counter-reset: step; }
.steps--quad > article { grid-column: span 3; }
.steps article {
    grid-column: span 4;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 22px;
    background: var(--color-bg);
    color: var(--color-ink);
    counter-increment: step;
    position: relative;
}
.steps article::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
    color: var(--color-accent); margin-bottom: 8px;
}
.steps h3 { font-size: 17px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--color-muted); font-size: 14px; }

/* ----------- Logos carousel ----------- */
.logo-row {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px;
    align-items: center;
}
.logo-row .logo {
    display: grid; place-items: center; height: 60px;
    color: var(--color-muted);
    font-weight: 600; font-size: 15px; letter-spacing: 0.06em;
    border: 1px dashed var(--color-line);
    border-radius: var(--radius-md);
    transition: color .25s ease, border-color .25s ease;
}
.logo-row .logo:hover { color: var(--color-ink); border-color: var(--color-ink); }

/* ----------- Contact ----------- */
.contact-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 60px);
}
.contact-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: 32px;
    background: var(--color-bg);
}
.contact-card h3 { margin-bottom: 6px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 4px; font-weight: 600; }

.form { display: grid; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-ink-soft); }
.form input, .form textarea, .form select {
    width: 100%;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: var(--color-bg);
    padding: 12px 14px;
    font: inherit;
    color: var(--color-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: 0;
    border-color: var(--color-ink);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .privacy { font-size: 13px; color: var(--color-muted); }

/* ----------- Footer ----------- */
.site-footer {
    background: var(--color-dark);
    color: var(--color-on-dark);
    padding: clamp(60px, 8vw, 110px) 0 30px;
}
.site-footer a { color: var(--color-on-dark-muted); }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid p { color: var(--color-on-dark-muted); max-width: 36ch; }
.footer-bottom {
    padding-top: 22px;
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    color: var(--color-on-dark-muted);
    font-size: 13px;
}

/* ----------- Language tabs (legal page) ----------- */
.lang-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    background: var(--color-surface);
    border-radius: 999px;
    border: 1px solid var(--color-line);
    margin-bottom: 36px;
}
.lang-tabs button {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    color: var(--color-muted);
    transition: background .2s ease, color .2s ease;
}
.lang-tabs button:hover { color: var(--color-ink); }
.lang-tabs button.is-active { background: var(--color-accent); color: #fff; }

.lang-panel { display: none; }
.lang-panel.is-active { display: block; }

/* ----------- Page generic prose ----------- */
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; list-style: disc; color: var(--color-ink-soft); }
.prose ul li { margin-bottom: 6px; }
.prose p { color: var(--color-ink-soft); }

/* ----------- Banners / CTAs ----------- */
.cta-banner {
    border-radius: var(--radius-lg);
    padding: clamp(36px, 5vw, 64px);
    color: #fff;
    background:
      radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.45), transparent 50%),
      linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%);
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta-banner h2 { color: #fff; margin: 0; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 10px 0 0; }
.cta-banner .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ----------- Tabla comparativa ----------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius-md); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap th, .table-wrap td {
    padding: 14px 18px; text-align: left;
    border-bottom: 1px solid var(--color-line);
    font-size: 15px; vertical-align: top;
}
.table-wrap th { background: var(--color-surface); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ----------- Reveal animations ----------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
    .product-card { grid-column: span 12; }
    .feature-grid > article { grid-column: span 6; }
    .steps article { grid-column: span 6; }
    .two-col { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--color-line); }
    .cta-banner { grid-template-columns: 1fr; }
    .cta-banner .actions { justify-content: flex-start; }
    .logo-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .nav-list, .nav-cta .btn--ghost { display: none; }
    .menu-toggle { display: inline-flex; }
    body.menu-open .nav-list {
        display: flex; flex-direction: column; gap: 0;
        position: fixed; inset: 72px 0 0 0; padding: 24px var(--gutter);
        background: var(--color-bg);
        border-top: 1px solid var(--color-line);
        z-index: 40;
        animation: slideDown .25s ease both;
    }
    body.menu-open .nav-list > li > a {
        padding: 16px 0; border-bottom: 1px solid var(--color-line);
        font-size: 18px;
        display: flex; justify-content: space-between; align-items: center;
    }
    body.menu-open .nav-list > li:last-child > a { border-bottom: 0; }
    body.menu-open { overflow: hidden; }

    /* Mobile dropdown: inline expansion */
    body.menu-open .has-dropdown { display: block; }
    body.menu-open .has-dropdown > a::before { margin-left: auto; order: unset; }
    body.menu-open .dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        background: transparent; border: 0; box-shadow: none;
        padding: 4px 0 14px 0;
        max-height: 0; overflow: hidden;
        transition: max-height .25s ease;
    }
    body.menu-open .has-dropdown.is-open .dropdown {
        max-height: 480px;
    }
    body.menu-open .dropdown a { font-size: 16px; }
    body.menu-open .has-dropdown:hover .dropdown {
        opacity: 1; visibility: visible;
    }

    .feature-grid > article { grid-column: span 12; }
    .steps article { grid-column: span 12; }
    .form .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--color-line); }
    .stat:last-child { border-bottom: 0; }
    .logo-row { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Selection */
::selection { background: var(--color-accent); color: #fff; }
