/* ===================================================
   LAWSTER — Business Strategy
   =================================================== */

:root {
    --bg: #03040a;
    --bg-alt: #07091a;
    --bg-card: #0b0e22;
    --primary: #8a3ffc;
    --primary-2: #b07cff;
    --secondary: #1192e8;
    --primary-glow: rgba(138, 63, 252, 0.45);
    --secondary-glow: rgba(17, 146, 232, 0.35);
    --text: #f4f4f4;
    --text-soft: #d6d6e0;
    --text-muted: #9b9bab;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============ Background blobs ============ */
.mesh-bg {
    position: fixed; inset: 0; z-index: -2;
    overflow: hidden; pointer-events: none;
}
.blob {
    position: absolute; width: 700px; height: 700px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
    filter: blur(110px); opacity: 0.5;
    animation: float 22s infinite alternate;
}
.blob-1 { top: -15%; left: -10%; }
.blob-2 {
    bottom: -20%; right: -15%;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 65%);
    animation-delay: -8s;
}
@keyframes float {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(120px, 120px); }
}

/* ============ Header ============ */
#main-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: 90px; z-index: 100;
    display: flex; align-items: center;
    transition: var(--transition);
}
#main-header.scrolled {
    height: 70px;
    background: rgba(3, 4, 10, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.nav-wrapper {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav-logo img { height: 34px; }

.main-nav { display: flex; gap: 2.5rem; margin-left: auto; }
.main-nav a {
    color: var(--text-muted); font-size: 0.92rem;
    font-weight: 500; transition: var(--transition);
    position: relative;
}
.main-nav a:hover { color: #fff; }
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: -8px;
    width: 0; height: 1px; background: var(--primary);
    transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

/* ============ Buttons ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.6rem; padding: 1rem 1.8rem;
    border-radius: var(--radius-pill);
    font-weight: 700; font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn i { font-size: 0.85rem; transition: transform 0.3s ease; }
.btn:hover i { transform: translateX(3px); }

.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 10px 40px -10px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-2);
    box-shadow: 0 16px 50px -10px var(--primary-glow);
    transform: translateY(-2px);
}
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-ghost {
    background: transparent; color: #fff;
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-sm { padding: 0.75rem 1.4rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 130px 0 80px;
    display: flex; align-items: center;
    overflow: hidden;
}
.warp-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.85;
}
.hero-vignette {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(3,4,10,0.4) 60%, rgba(3,4,10,0.95) 100%),
        linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
    pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

/* W emblem with cinematic entrance */
.hero-emblem {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    perspective: 1200px;
}
.emblem-w {
    width: 80%; max-width: 380px;
    height: auto;
    filter:
        drop-shadow(0 0 40px var(--primary-glow))
        drop-shadow(0 0 80px var(--primary-glow));
    transform-origin: center;
    animation:
        emblemEnter 1.8s cubic-bezier(0.16, 1, 0.3, 1) both,
        emblemPulse 4s ease-in-out 2s infinite;
    position: relative; z-index: 2;
}
.emblem-glow {
    position: absolute; inset: 15%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
    filter: blur(40px);
    z-index: 1;
    animation: glowPulse 4s ease-in-out 2s infinite;
}
@keyframes emblemEnter {
    0% {
        transform: scale(0.05) translateZ(-1500px);
        opacity: 0;
        filter: drop-shadow(0 0 0 var(--primary-glow));
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: scale(1) translateZ(0);
        opacity: 1;
        filter:
            drop-shadow(0 0 40px var(--primary-glow))
            drop-shadow(0 0 80px var(--primary-glow));
    }
}
@keyframes emblemPulse {
    0%, 100% {
        filter:
            drop-shadow(0 0 40px var(--primary-glow))
            drop-shadow(0 0 80px var(--primary-glow));
    }
    50% {
        filter:
            drop-shadow(0 0 60px var(--primary-glow))
            drop-shadow(0 0 120px rgba(138, 63, 252, 0.6));
    }
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Hero text */
.eyebrow {
    color: var(--primary-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin-bottom: 1.8rem;
    color: #fff;
}
.text-gradient {
    background: linear-gradient(120deg, #fff 0%, var(--primary-2) 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-desc {
    font-size: 1.18rem;
    color: var(--text-soft);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.hero-meta {
    display: flex; gap: 3rem; flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
    font-family: var(--font-heading);
    font-size: 1.8rem; font-weight: 800;
    color: #fff; line-height: 1;
}
.hero-meta span {
    font-size: 0.82rem; color: var(--text-muted);
    margin-top: 0.4rem;
}

/* ============ Marquee ============ */
.marquee-container {
    position: relative; z-index: 5;
    margin-top: -2rem;
    padding: 3rem 0;
    background: rgba(3, 4, 10, 0.7);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.marquee {
    width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 5.5rem;
    animation: scroll 70s linear infinite;
}
/*
   3-tier height system → all logos read at the same OPTICAL weight.
   - shield (escudos detallados): tallest, because detail is dense in a small bbox
   - mark (logo + texto vertical): medium
   - text (puro texto horizontal): shortest, otherwise dominate the row
*/
.brand {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.brand img {
    width: auto;
    height: 50px;                         /* default — used by mark-style logos */
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.brand--text   img { height: 32px; }      /* text-only horizontal */
.brand--mark   img { height: 50px; }      /* mark + small text */
.brand--shield img { height: 72px; }      /* escudos densos */
.brand:hover img {
    opacity: 1;
    transform: scale(1.06);
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============ Sections ============ */
.section { padding: 130px 0; position: relative; }
.section-alt { background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.015), transparent); }

.section-header { margin-bottom: 5rem; max-width: 720px; }
.section-header-center { margin-inline: auto; text-align: center; }
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin-bottom: 1.2rem;
}
.section-sub {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Reveal on scroll */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Capacidades ============ */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.cap-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.4rem;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.cap-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(600px circle at top right, var(--primary-glow), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.cap-card:hover {
    border-color: rgba(138, 63, 252, 0.4);
    transform: translateY(-4px);
}
.cap-card:hover::before { opacity: 0.4; }

.cap-num {
    font-family: var(--font-heading);
    font-size: 0.75rem; font-weight: 800;
    letter-spacing: 0.28em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.cap-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.6rem;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(138, 63, 252, 0.1);
    border-radius: 18px;
    border: 1px solid rgba(138, 63, 252, 0.25);
}
.cap-card h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem; font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.cap-card > p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.8rem;
}
.cap-bullets {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.cap-bullets li {
    padding: 0.6rem 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
    position: relative; padding-left: 1.4rem;
}
.cap-bullets li::before {
    content: '+';
    position: absolute; left: 0; top: 0.5rem;
    color: var(--primary); font-weight: 800;
}
.cap-more {
    color: var(--primary-2);
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.cap-card:hover .cap-more i { transform: translateX(4px); }
.cap-more i { transition: transform 0.3s ease; }

/* ============ Portafolio ============ */
.port-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.port-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    transition: var(--transition);
}
.port-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.port-tag {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--primary-2);
    background: rgba(138, 63, 252, 0.12);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.2rem;
}
.port-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.port-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 1.6rem;
}
.port-stack {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.port-stack span {
    font-size: 0.75rem; font-weight: 600;
    color: var(--text-soft);
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

/* ============ Stack grid ============ */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.stack-cell {
    aspect-ratio: 1.4 / 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.7rem;
    color: var(--text-soft);
    transition: var(--transition);
}
.stack-cell i {
    font-size: 1.8rem;
    color: var(--text-soft);
    transition: var(--transition);
}
.stack-cell img {
    height: 36px; max-width: 80%;
    width: auto; object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    transition: var(--transition);
}
.stack-cell span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}
.stack-cell:hover {
    border-color: rgba(138, 63, 252, 0.5);
    background: rgba(138, 63, 252, 0.06);
    transform: translateY(-3px);
}
.stack-cell:hover i { color: var(--primary-2); transform: scale(1.1); }
.stack-cell:hover img { opacity: 1; transform: scale(1.08); }
.stack-cell:hover span { color: #fff; }

/* ============ Planes ============ */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.price-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.4rem;
    display: flex; flex-direction: column;
    transition: var(--transition);
}
.price-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
}
.price-card-featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(138, 63, 252, 0.08) 0%, var(--bg-card) 50%);
    box-shadow: 0 30px 80px -20px rgba(138, 63, 252, 0.25);
}
.featured-badge {
    position: absolute; top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary); color: #fff;
    font-size: 0.72rem; font-weight: 800;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
}
.p-name {
    font-family: var(--font-heading);
    font-weight: 800; color: var(--primary-2);
    letter-spacing: 0.16em; font-size: 0.9rem;
    text-transform: uppercase;
}
.p-tagline {
    font-size: 1.05rem; color: var(--text-soft);
    margin-top: 0.5rem;
}
.p-cost {
    font-family: var(--font-heading);
    font-size: 3rem; font-weight: 800;
    margin: 2.2rem 0;
    color: #fff;
    letter-spacing: -0.025em;
}
.p-cost span {
    font-size: 0.95rem; color: var(--text-muted);
    font-weight: 500;
}
.p-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}
.p-features li {
    padding: 0.85rem 0;
    color: var(--text-soft);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: flex-start; gap: 0.7rem;
}
.p-features li i {
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 0.4rem;
}
.planes-note {
    margin-top: 3rem; text-align: center;
    color: var(--text-muted); font-size: 0.95rem;
}
.planes-note a {
    color: var(--primary-2); font-weight: 700;
    border-bottom: 1px solid currentColor;
}

/* ============ Contacto ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}
.contact-list {
    list-style: none;
    margin-bottom: 2.5rem;
}
.contact-list li {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.98rem;
}
.contact-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.25rem;
    width: 24px;
}
.contact-list li a:hover { color: #fff; }
.contact-list li span { color: var(--text-muted); display: block; font-size: 0.88rem; }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex; flex-direction: column;
    gap: 1.4rem;
}
.contact-form label {
    display: flex; flex-direction: column; gap: 0.5rem;
}
.contact-form span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.98rem;
    transition: var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(138, 63, 252, 0.04);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ============ Footer ============ */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--border);
    background: rgba(3, 4, 10, 0.5);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand img { margin-bottom: 1.5rem; }
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    max-width: 320px;
}
.footer-social {
    display: flex; gap: 0.8rem;
}
.footer-social a {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.f-col h4 {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.f-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    font-size: 0.93rem;
    transition: var(--transition);
}
.f-col a:hover { color: #fff; transform: translateX(4px); }
.footer-bar {
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============ Modal ============ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 2rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.is-open {
    opacity: 1; pointer-events: auto;
}
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 720px; width: 100%;
    padding: 3.5rem 3rem;
    position: relative;
    max-height: 90vh; overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.is-open .modal-content { transform: translateY(0); }
.modal-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.modal-eyebrow {
    color: var(--primary-2);
    font-size: 0.75rem; font-weight: 800;
    letter-spacing: 0.22em; text-transform: uppercase;
    margin-bottom: 1rem;
}
.modal-body h2,
#modalBody h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem; font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}
.modal-intro {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.modal-list { list-style: none; margin-bottom: 2.5rem; }
.modal-list li {
    display: flex; align-items: flex-start; gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.96rem;
    line-height: 1.55;
}
.modal-list i {
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}
.modal-cta { align-self: flex-start; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-emblem { max-width: 300px; margin: 0 auto; }
    .hero-desc { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-meta { justify-content: center; gap: 2rem; }
    .cap-grid { grid-template-columns: 1fr; }
    .port-grid { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr; }
    .stack-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-cols { grid-template-columns: repeat(3, 1fr); }
    .main-nav { display: none; }
}
@media (max-width: 640px) {
    .container { padding: 0 1.2rem; }
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 3rem; }
    .stack-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-cols { grid-template-columns: 1fr; }
    .footer-bar { flex-direction: column; align-items: flex-start; }
    .modal-content { padding: 2.5rem 1.5rem; }
    .cap-card, .port-card, .price-card, .contact-form { padding: 2rem 1.5rem; }
    .marquee-track { gap: 3.5rem; }
    .marquee-track img { height: 32px; }
    .hero-meta { gap: 1.5rem; }
    .hero-meta strong { font-size: 1.4rem; }
}

/* ============ Form status & cookie banner ============ */
.form-status {
    margin: 0; padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    line-height: 1.5;
}
.form-status-loading {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    border: 1px solid var(--border);
}
.form-status-success {
    background: rgba(34, 197, 94, 0.08);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.form-status-error {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.form-fineprint {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}
.form-fineprint a { color: var(--primary-2); border-bottom: 1px solid currentColor; }
.form-fineprint-legal {
    margin-top: 0.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

.cookie-banner {
    position: fixed; left: 50%; bottom: 24px;
    transform: translateX(-50%) translateY(140%);
    z-index: 5000;
    width: min(720px, calc(100vw - 32px));
    background: rgba(13, 15, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.6rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.is-visible {
    transform: translateX(-50%) translateY(0);
}
.cookie-content {
    display: flex; align-items: center; gap: 1.2rem;
    flex-wrap: wrap;
}
.cookie-content p {
    flex: 1 1 320px;
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}
.cookie-content a {
    color: var(--primary-2);
    border-bottom: 1px solid currentColor;
}
.cookie-actions {
    display: flex; gap: 0.6rem;
    flex-shrink: 0;
}
@media (max-width: 540px) {
    .cookie-banner { padding: 1rem 1rem; bottom: 12px; }
    .cookie-actions { flex: 1; }
    .cookie-actions .btn { flex: 1; }
}

/* ============ Legal pages ============ */
.legal-page {
    padding: 160px 0 100px;
    max-width: 820px; margin: 0 auto;
    color: var(--text-soft);
}
.legal-page h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: #fff;
}
.legal-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}
.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 3rem 0 1rem;
    letter-spacing: -0.015em;
}
.legal-page h3 {
    font-size: 1.05rem;
    color: var(--primary-2);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 1.8rem 0 0.6rem;
}
.legal-page p {
    margin-bottom: 1.1rem;
    line-height: 1.7;
}
.legal-page ul { margin: 0 0 1.4rem 1.4rem; }
.legal-page li { margin-bottom: 0.6rem; line-height: 1.6; }
.legal-page a { color: var(--primary-2); border-bottom: 1px solid currentColor; }
.legal-page strong { color: #fff; }
.legal-back {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--text-muted); font-size: 0.88rem;
    margin-bottom: 2rem;
}
.legal-back:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .marquee-track { animation: none; }
}
