/* ═══════════════════════════════════════════════
   FacilSolucion — Dark Theme (coherent with app.3cweb.es)
   ═══════════════════════════════════════════════ */

:root {
    --bg: #08090e;
    --bg-elevated: #0e1017;
    --bg-card: #12141d;
    --bg-card-hover: #181b27;
    --surface: rgba(255,255,255,0.04);
    --surface-hover: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.14);
    --text: #eeeef0;
    --text-2: rgba(238,238,240,0.6);
    --text-3: rgba(238,238,240,0.3);
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --cyan: #00cec9;
    --cyan-light: #81ecec;
    --amber: #fdcb6e;
    --rose: #fd79a8;
    --emerald: #00b894;
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

/* ═══ ATMOSPHERE ═══ */
.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atm-gradient { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.18; animation: drift 25s ease-in-out infinite; }
.atm-1 { width: 700px; height: 700px; background: var(--accent); top: -20%; left: -10%; }
.atm-2 { width: 500px; height: 500px; background: var(--cyan); top: 50%; right: -15%; animation-delay: -8s; animation-duration: 30s; }
.atm-3 { width: 350px; height: 350px; background: var(--rose); bottom: -5%; left: 25%; animation-delay: -15s; animation-duration: 20s; opacity: 0.1; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.08); }
    66% { transform: translate(-30px, 50px) scale(0.95); }
}

.grain {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.content { position: relative; z-index: 10; }

/* ═══ NAVBAR ═══ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 clamp(24px, 4vw, 60px);
    background: rgba(8,9,14,0.5);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s, padding 0.4s;
}
.nav.scrolled { background: rgba(8,9,14,0.88); }
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; transition: height 0.4s;
}
.nav.scrolled .nav-inner { height: 60px; }

.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    display: grid; place-items: center;
    font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: #fff;
    position: relative; flex-shrink: 0;
}
.nav-logo::after {
    content: ''; position: absolute; inset: 0; border-radius: 10px;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15));
}
.nav-name {
    font-family: var(--font-display); font-size: 22px; color: var(--text);
    font-style: italic; letter-spacing: -0.3px;
}
.nav-by { font-size: 11px; color: var(--text-3); margin-left: -4px; font-weight: 500; letter-spacing: 0.5px; }
.nav-by a { color: var(--text-2); transition: color 0.3s; }
.nav-by a:hover { color: var(--cyan-light); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 8px 18px; border-radius: 10px;
    font-size: 14px; font-weight: 500; color: var(--text-2);
    transition: all 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface); }
.nav-cta {
    margin-left: 8px; padding: 9px 22px; border-radius: 10px;
    font-size: 13px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 2px 12px rgba(108,92,231,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(108,92,231,0.4); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger span + span { margin-top: 5px; }

/* ═══ HERO ═══ */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px;
}
.hero-inner { max-width: 860px; }

.hero-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 18px 7px 10px; border-radius: var(--radius-pill);
    background: var(--surface); border: 1px solid var(--border);
    font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 40px;
    opacity: 0; animation: riseIn 0.7s var(--ease-out) 0.1s forwards;
}
.hero-pill .pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--emerald);
    box-shadow: 0 0 0 0 rgba(0,184,148,0.4);
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,184,148,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(0,184,148,0); }
}

.hero h1 {
    font-family: var(--font-display); font-size: clamp(44px, 7vw, 82px);
    font-weight: 400; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px;
    opacity: 0; animation: riseIn 0.8s var(--ease-out) 0.25s forwards;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--cyan-light), var(--accent-light), var(--rose));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    background-size: 200% auto; animation: gradFlow 6s ease-in-out infinite;
}
@keyframes gradFlow { 0%,100% { background-position: 0% center; } 50% { background-position: 200% center; } }

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px); color: var(--text-2); font-weight: 300;
    line-height: 1.7; max-width: 600px; margin: 0 auto 40px;
    opacity: 0; animation: riseIn 0.8s var(--ease-out) 0.35s forwards;
}

.hero-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    opacity: 0; animation: riseIn 0.8s var(--ease-out) 0.45s forwards;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px; border-radius: 14px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    transition: all 0.4s var(--ease-out); border: none; cursor: pointer;
}
.btn-fill {
    color: #fff; background: linear-gradient(135deg, var(--accent), var(--cyan));
    box-shadow: 0 4px 24px rgba(108,92,231,0.3);
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(108,92,231,0.4); }
.btn-outline {
    color: var(--text); background: transparent;
    border: 1px solid var(--border); backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: var(--border-hover); background: var(--surface); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 13px; border-radius: 10px; }

/* ═══ TRUST BAR ═══ */
.trust {
    display: flex; justify-content: center; gap: clamp(32px, 5vw, 72px);
    padding: 48px 24px 64px; flex-wrap: wrap;
    opacity: 0; animation: riseIn 0.7s var(--ease-out) 0.6s forwards;
}
.trust-item { text-align: center; }
.trust-val {
    font-family: var(--font-display); font-size: 38px; font-style: italic;
    line-height: 1; margin-bottom: 6px;
    background: linear-gradient(180deg, var(--text), var(--text-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.trust-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* ═══ SECTION COMMON ═══ */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.section-eyebrow {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    color: var(--cyan); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px;
}
.section-heading {
    font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 50px);
    font-weight: 400; line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px;
}
.section-heading em { font-style: italic; color: var(--accent-light); }
.section-sub { font-size: 17px; color: var(--text-2); line-height: 1.7; max-width: 540px; font-weight: 300; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-sub { margin: 0 auto; }

/* ═══ PRODUCT CARDS ═══ */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.product {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; flex-direction: column; transition: all 0.5s var(--ease-out);
}
.product:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.4); }

.product-glow {
    position: absolute; top: 0; left: 0; right: 0; height: 180px;
    pointer-events: none; opacity: 0; transition: opacity 0.5s;
}
.product:hover .product-glow { opacity: 1; }

/* Product color variants */
.product--purple .product-glow { background: radial-gradient(ellipse at top, rgba(108,92,231,0.12), transparent 70%); }
.product--amber .product-glow  { background: radial-gradient(ellipse at top, rgba(253,203,110,0.12), transparent 70%); }
.product--cyan .product-glow   { background: radial-gradient(ellipse at top, rgba(0,206,201,0.12), transparent 70%); }
.product--emerald .product-glow{ background: radial-gradient(ellipse at top, rgba(0,184,148,0.12), transparent 70%); }

.product-top { padding: 40px 32px 24px; display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }

.product-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: grid; place-items: center; font-size: 28px;
    margin-bottom: 24px; transition: transform 0.4s var(--ease-spring);
}
.product:hover .product-icon { transform: scale(1.08) rotate(-2deg); }

.product--purple .product-icon  { background: linear-gradient(135deg, rgba(108,92,231,0.2), rgba(108,92,231,0.06)); border: 1px solid rgba(108,92,231,0.18); }
.product--amber .product-icon   { background: linear-gradient(135deg, rgba(253,203,110,0.2), rgba(253,203,110,0.06)); border: 1px solid rgba(253,203,110,0.18); }
.product--cyan .product-icon    { background: linear-gradient(135deg, rgba(0,206,201,0.2), rgba(0,206,201,0.06)); border: 1px solid rgba(0,206,201,0.18); }
.product--emerald .product-icon { background: linear-gradient(135deg, rgba(0,184,148,0.2), rgba(0,184,148,0.06)); border: 1px solid rgba(0,184,148,0.18); }

.product-sector {
    font-family: var(--font-mono); font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 10px;
}
.product--purple .product-sector  { color: var(--accent-light); }
.product--amber .product-sector   { color: var(--amber); }
.product--cyan .product-sector    { color: var(--cyan); }
.product--emerald .product-sector { color: var(--emerald); }

.product-name { font-family: var(--font-display); font-size: 26px; font-style: italic; margin-bottom: 12px; }
.product-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; font-weight: 300; }

.product-bottom {
    padding: 0 32px 32px; margin-top: auto;
    display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1;
}
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag {
    padding: 5px 12px; border-radius: var(--radius-pill);
    font-size: 11px; font-weight: 500;
    background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
}

.product-link {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 14px;
    font-size: 14px; font-weight: 600; transition: all 0.35s var(--ease-out);
}
.product-link .arr { transition: transform 0.3s var(--ease-spring); }
.product-link:hover .arr { transform: translateX(4px); }

.product--purple .product-link  { background: rgba(108,92,231,0.12); color: var(--accent-light); border: 1px solid rgba(108,92,231,0.2); }
.product--purple .product-link:hover  { background: rgba(108,92,231,0.2); box-shadow: 0 6px 24px rgba(108,92,231,0.15); }
.product--amber .product-link   { background: rgba(253,203,110,0.1); color: var(--amber); border: 1px solid rgba(253,203,110,0.18); }
.product--amber .product-link:hover   { background: rgba(253,203,110,0.18); box-shadow: 0 6px 24px rgba(253,203,110,0.12); }
.product--cyan .product-link    { background: rgba(0,206,201,0.1); color: var(--cyan-light); border: 1px solid rgba(0,206,201,0.18); }
.product--cyan .product-link:hover    { background: rgba(0,206,201,0.18); box-shadow: 0 6px 24px rgba(0,206,201,0.12); }
.product--emerald .product-link { background: rgba(0,184,148,0.1); color: var(--emerald); border: 1px solid rgba(0,184,148,0.18); }
.product--emerald .product-link:hover { background: rgba(0,184,148,0.18); box-shadow: 0 6px 24px rgba(0,184,148,0.12); }

/* ═══ FEATURES ═══ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat {
    padding: 32px 24px; border-radius: 20px;
    background: var(--bg-card); border: 1px solid var(--border);
    text-align: center; transition: all 0.4s var(--ease-out);
}
.feat:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-3px); }
.feat-ico { font-size: 28px; margin-bottom: 16px; display: block; }
.feat-title { font-family: var(--font-display); font-size: 17px; font-style: italic; margin-bottom: 8px; }
.feat-text { font-size: 13px; color: var(--text-2); line-height: 1.6; font-weight: 300; }

/* ═══ ECOSYSTEM BANNER ═══ */
.ecosystem { max-width: 1200px; margin: 0 auto; padding: 0 24px 80px; }
.ecosystem-box {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 48px; display: flex; align-items: center; gap: 48px;
    position: relative;
}
.ecosystem-box::before {
    content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg); padding: 1px;
    background: linear-gradient(135deg, rgba(0,206,201,0.3), transparent 40%, transparent 60%, rgba(108,92,231,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.ecosystem-icon {
    width: 72px; height: 72px; border-radius: 20px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    display: grid; place-items: center; font-size: 32px;
}
.ecosystem-text h3 {
    font-family: var(--font-display); font-size: 24px; font-style: italic; margin-bottom: 8px;
}
.ecosystem-text p { font-size: 15px; color: var(--text-2); font-weight: 300; line-height: 1.6; }
.ecosystem-text a {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--cyan-light);
    transition: gap 0.3s var(--ease-spring);
}
.ecosystem-text a:hover { gap: 10px; }

/* ═══ CTA ═══ */
.cta-section { padding: 60px 24px 100px; }
.cta-box {
    max-width: 860px; margin: 0 auto; padding: 72px 48px; border-radius: 28px;
    text-align: center; position: relative; overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border);
}
.cta-box::before {
    content: ''; position: absolute; inset: -1px; border-radius: 28px; padding: 1px;
    background: linear-gradient(135deg, rgba(108,92,231,0.3), transparent 40%, transparent 60%, rgba(0,206,201,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.cta-title {
    font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px);
    font-weight: 400; font-style: italic; letter-spacing: -1px; margin-bottom: 14px;
}
.cta-desc {
    font-size: 16px; color: var(--text-2); font-weight: 300; margin-bottom: 32px;
    line-height: 1.7; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ═══ FOOTER ═══ */
.footer {
    max-width: 1200px; margin: 0 auto; padding: 32px 24px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: var(--text-3); }
.footer-copy a { color: var(--text-2); transition: color 0.3s; }
.footer-copy a:hover { color: var(--text); }
.footer-sep { width: 1px; height: 14px; background: var(--border); }
.footer-parent {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--text-3); transition: color 0.3s;
}
.footer-parent:hover { color: var(--text-2); }
.footer-parent svg { width: 14px; height: 14px; }
.footer-links-bottom { display: flex; gap: 20px; }
.footer-link { font-size: 12px; color: var(--text-3); transition: color 0.3s; }
.footer-link:hover { color: var(--text); }

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.7s var(--ease-out); }
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: 0.12s; }
.reveal[data-d="2"] { transition-delay: 0.24s; }
.reveal[data-d="3"] { transition-delay: 0.36s; }

/* ═══ PAGE HERO (for subpages) ═══ */
.page-hero { padding: 160px 24px 80px; text-align: center; }
.page-hero h1 {
    font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px);
    font-weight: 400; font-style: italic; letter-spacing: -1px; margin-bottom: 16px;
}
.page-hero p {
    font-size: 17px; color: var(--text-2); font-weight: 300; max-width: 540px; margin: 0 auto;
    line-height: 1.7;
}

/* ═══ CONTACT FORM ═══ */
.contact-section { max-width: 1200px; margin: 0 auto; padding: 0 24px 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card {
    border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border);
    padding: 40px; display: flex; flex-direction: column; gap: 32px;
}
.contact-info-item { display: flex; gap: 16px; }
.contact-info-icon {
    width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
    background: var(--surface); border: 1px solid var(--border);
    display: grid; place-items: center;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--cyan); }
.contact-info-text h4 { font-family: var(--font-display); font-size: 16px; font-style: italic; margin-bottom: 4px; }
.contact-info-text p { font-size: 14px; color: var(--text-2); font-weight: 300; }
.contact-info-text a { color: var(--text-2); transition: color 0.3s; }
.contact-info-text a:hover { color: var(--cyan-light); }

.contact-form-card {
    border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border);
    padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 500; color: var(--text-2);
    margin-bottom: 8px; letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 13px 16px; border-radius: 12px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    color: var(--text); font-family: var(--font-body); font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-elevated); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-success {
    padding: 16px 20px; border-radius: 12px;
    background: rgba(0,184,148,0.1); border: 1px solid rgba(0,184,148,0.2);
    color: var(--emerald); font-size: 14px; margin-bottom: 20px;
}

/* ═══ ABOUT PAGE ═══ */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: center; max-width: 1000px; margin: 0 auto;
}
.about-content .section-sub { max-width: 100%; margin-bottom: 32px; }
.about-visual {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 40px;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-stat { text-align: center; }
.about-stat-val {
    font-family: var(--font-display); font-size: 42px; font-style: italic;
    background: linear-gradient(135deg, var(--accent-light), var(--cyan-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 4px;
}
.about-stat-label {
    font-size: 12px; color: var(--text-3); text-transform: uppercase;
    letter-spacing: 2px; font-weight: 500;
}

.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
    width: 2px; background: var(--border);
}
.timeline-item { display: flex; gap: 24px; margin-bottom: 40px; position: relative; }
.timeline-dot {
    width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent); border: 3px solid var(--bg);
    margin-top: 6px; position: relative; z-index: 1; margin-left: 19px;
}
.timeline-content { flex: 1; }
.timeline-year {
    font-family: var(--font-mono); font-size: 12px; color: var(--cyan);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px;
}
.timeline-title { font-family: var(--font-display); font-size: 20px; font-style: italic; margin-bottom: 6px; }
.timeline-text { font-size: 14px; color: var(--text-2); font-weight: 300; line-height: 1.6; }

/* ═══ SERVICES PAGE ═══ */
.services-detail { max-width: 1200px; margin: 0 auto; padding: 0 24px 80px; }
.service-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: center; margin-bottom: 48px; padding: 48px;
    border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border);
}
.service-row:nth-child(even) { direction: rtl; }
.service-row:nth-child(even) > * { direction: ltr; }
.service-row-icon { font-size: 64px; text-align: center; }
.service-row-content h3 { font-family: var(--font-display); font-size: 28px; font-style: italic; margin-bottom: 12px; }
.service-row-content p { font-size: 15px; color: var(--text-2); font-weight: 300; line-height: 1.7; margin-bottom: 20px; }
.service-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.service-feature {
    padding: 6px 14px; border-radius: var(--radius-pill);
    font-size: 12px; font-weight: 500;
    background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .products { grid-template-columns: 1fr; max-width: 480px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-row { grid-template-columns: 1fr; }
    .service-row:nth-child(even) { direction: ltr; }
    .ecosystem-box { flex-direction: column; text-align: center; gap: 24px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; inset: 0;
        background: rgba(8,9,14,0.97); backdrop-filter: blur(24px);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 12px; z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-link { font-size: 18px; padding: 12px 28px; }
    .nav-cta { font-size: 16px; padding: 13px 32px; margin-left: 0; margin-top: 8px; }
    .hamburger { display: flex; flex-direction: column; z-index: 1001; }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { padding: 110px 20px 60px; }
    .section { padding: 60px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 48px 24px; }
    .footer { flex-direction: column; text-align: center; justify-content: center; }
    .footer-left { justify-content: center; }
    .trust { gap: 24px; }
    .trust-val { font-size: 30px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .service-row { padding: 32px 24px; }
    .page-hero { padding: 130px 20px 60px; }
}
