/* ==============================================
   PAIKAN.COM.AR — v2
   Inter · Diseño inspirado en Webnode.es
   ============================================== */

:root {
    --bg:       #f7f6f3;
    --bg-alt:   #ffffff;
    --ink:      #0f0e0d;
    --ink-2:    #3c3b39;
    --ink-3:    #7a7977;
    --accent:   #e8631a;
    --accent-l: #fef1e8;
    --green:    #16a34a;
    --border:   #e4e2dc;
    --r:        14px;
    --r-lg:     22px;
    --nav-h:    66px;
    --w:        1160px;
    --sans:     'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg-alt); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: var(--w); margin: 0 auto; padding: 0 2rem; }

/* ── LABEL ── */
.label {
    display: inline-block;
    font-size: .7rem; font-weight: 700; letter-spacing: .13em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}

/* ── HEADINGS ── */
.h-hero {
    font-weight: 800; font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.08; letter-spacing: -0.035em;
}
.h-hero em { font-style: italic; color: var(--accent); }

.h-xl {
    font-weight: 800; font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.1; letter-spacing: -0.03em;
}
.h-xl em { font-style: italic; color: var(--accent); }

.h-lg {
    font-weight: 800; font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    line-height: 1.15; letter-spacing: -0.025em;
}
.h-lg em { font-style: italic; color: var(--accent); }

.lead  { font-size: clamp(.97rem, 1.6vw, 1.08rem); color: var(--ink-2); line-height: 1.8; }
.muted { color: var(--ink-3); font-size: .9rem; line-height: 1.7; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.8rem; border-radius: 50px;
    font-weight: 700; font-size: .9rem;
    transition: all .2s; white-space: nowrap; cursor: pointer; border: none;
}
.btn-dark    { background: var(--ink); color: #fff; }
.btn-dark:hover    { background: var(--accent); transform: translateY(-2px); }
.btn-accent  { background: var(--accent); color: #fff; }
.btn-accent:hover  { background: #cd540f; transform: translateY(-2px); }
.btn-white   { background: #fff; color: var(--accent); }
.btn-white:hover   { background: #fff9f6; transform: translateY(-2px); }
.btn-ghost-w { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-ghost-w:hover { border-color: #fff; transform: translateY(-2px); }

/* ── NAV ── */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
    background: rgba(15,14,13,.85); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.light {
    background: rgba(255,255,255,.96);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 20px rgba(0,0,0,.06);
}
.nav-inner {
    max-width: var(--w); margin: 0 auto; padding: 0 2rem;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-text { font-weight: 900; font-size: 1.2rem; letter-spacing: -0.04em; color: #fff; transition: color .3s; }
.logo-text b { color: var(--accent); }
.nav.light .logo-text { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .87rem; font-weight: 600; color: rgba(255,255,255,.7); transition: color .2s; }
.nav.light .nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--accent); }
.nav-cta { margin-left: .5rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: background .3s; }
.nav.light .hamburger span { background: var(--ink); }

/* ── HERO ── */
.hero {
    position: relative; min-height: 100svh;
    display: flex; align-items: center;
    background: #0c0b0a; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; opacity: .22;
}
.hero-grain {
    position: absolute; inset: 0; pointer-events: none; opacity: .4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}
.hero-glow {
    position: absolute; top: -20%; right: -10%; width: 700px; height: 700px;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(232,99,26,.12) 0%, transparent 65%);
}
.hero-inner {
    position: relative; z-index: 1;
    padding-top: calc(var(--nav-h) + 5rem); padding-bottom: 6rem;
    display: grid; grid-template-columns: 55% 1fr; gap: 3rem; align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(232,99,26,.08); border: 1px solid rgba(232,99,26,.35);
    border-radius: 50px; padding: .38rem 1rem;
    font-size: .75rem; font-weight: 700; color: rgba(232,99,26,.9); margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0; animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title { color: #fff; margin-bottom: 1.5rem; }
.hero-sub   { color: rgba(255,255,255,.65); max-width: 480px; margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.8; }
.hero-btns  { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cards { display: flex; flex-direction: column; gap: 1rem; }
.hero-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px; backdrop-filter: blur(10px);
    padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.hero-card:nth-child(2) { margin-left: 2rem; }
.hero-card:nth-child(3) { margin-left: 1rem; }
.hero-card-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.hero-card-label { font-size: .7rem; color: rgba(255,255,255,.45); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.hero-card-val   { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-top: .1rem; }
.hero-card-link  { transition: border-color .2s, background .2s; }
.hero-card-link:hover { border-color: rgba(232,99,26,.5); background: rgba(232,99,26,.08); }
.hero-card-arrow { margin-left: auto; font-size: 1.2rem; color: rgba(255,255,255,.25); transition: color .2s, transform .2s; }
.hero-card-link:hover .hero-card-arrow { color: var(--accent); transform: translateX(4px); }

/* ── STATS BAND ── */
.stats-band { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.stats-band-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    border-left: 1px solid var(--border);
}
.stat-b {
    padding: 4rem 3.5rem;
    border-right: 1px solid var(--border);
    transition: background .2s;
}
.stat-b:hover { background: var(--accent-l); }
.stat-b-n {
    font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800;
    color: var(--ink); line-height: 1; letter-spacing: -.04em;
}
.stat-b-n span { color: var(--accent); }
.stat-b-l { font-size: .88rem; color: var(--ink-3); margin-top: .6rem; font-weight: 500; }

/* ── TAGLINE ── */
.tagline-section { padding: 8rem 0; background: var(--bg); text-align: center; }
.tagline-text {
    font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800;
    line-height: 1.2; letter-spacing: -.03em;
    color: var(--ink); max-width: 750px; margin: 0 auto 1.5rem;
}
.tagline-sub {
    font-size: clamp(.95rem, 1.5vw, 1.05rem); color: var(--ink-3);
    line-height: 1.8; max-width: 520px; margin: 0 auto;
}

/* ── SERVICES CARDS ── */
.services-section { padding: 0 0 8rem; background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.svc-card {
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.svc-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.1); transform: translateY(-4px); }
.svc-card-img-wrap { height: 220px; overflow: hidden; }
.svc-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-card:hover .svc-card-img-wrap img { transform: scale(1.04); }
.svc-card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; gap: .75rem; }
.svc-tag {
    display: inline-block; background: var(--accent-l); color: var(--accent);
    font-size: .68rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: .28rem .75rem; border-radius: 4px;
    width: fit-content;
}
.svc-title { font-size: 1.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.3; }
.svc-desc  { font-size: .88rem; color: var(--ink-3); line-height: 1.65; flex: 1; }
.svc-link  { font-size: .88rem; font-weight: 700; color: var(--accent); transition: gap .15s; display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem; }
.svc-link:hover { gap: .6rem; }

/* ── SPLIT SECTIONS ── */
.split-section { padding: 7rem 0; background: var(--bg-alt); }
.split-alt     { background: var(--bg); }
.split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 7rem; align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img img {
    width: 100%; border-radius: var(--r-lg);
    box-shadow: 0 16px 56px rgba(0,0,0,.1);
}
.split-text { display: flex; flex-direction: column; gap: 1.5rem; }
.split-text h2 { margin-top: .25rem; }

/* Check list */
.check-list { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.check-list li {
    display: flex; gap: .75rem; align-items: flex-start;
    font-size: .93rem; color: var(--ink-2); line-height: 1.5;
}
.check-list li::before {
    content: '✓'; flex-shrink: 0;
    width: 20px; height: 20px; border-radius: 50%;
    background: #dcfce7; color: var(--green);
    font-size: .65rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}

/* ── PROCESS ── */
.process-section { padding: 8rem 0; }
.section-header { text-align: center; max-width: 520px; margin: 0 auto 5rem; }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--bg-alt); padding: 2.5rem 2rem; transition: background .2s; }
.step:hover { background: var(--accent-l); }
.step-n { font-size: 2.5rem; font-weight: 800; color: var(--accent); letter-spacing: -.04em; opacity: .35; margin-bottom: 1.25rem; line-height: 1; }
.step-title { font-size: .97rem; font-weight: 800; color: var(--ink); margin-bottom: .6rem; letter-spacing: -.01em; }
.step-desc  { font-size: .84rem; color: var(--ink-3); line-height: 1.65; }

/* ── TESTIMONIAL ── */
.testimonial-section { padding: 8rem 0; background: var(--bg); }
.testimonial { max-width: 740px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.testimonial-stars { color: var(--accent); font-size: 1rem; letter-spacing: 3px; }
.testimonial-q {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 700; font-style: italic;
    color: var(--ink); line-height: 1.55; letter-spacing: -.02em;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-av { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-l); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.testimonial-role { font-size: .78rem; color: var(--ink-3); margin-top: .1rem; }

/* ── SISTEMAS ── */
.sistemas-section { padding: 8rem 0; }
.sistemas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.sistema-card {
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.sistema-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(232,99,26,.08); }
.sistema-card-dark { background: var(--ink); border-color: var(--ink); }
.sistema-thumb { height: 180px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--bg); }
.sistema-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sistema-card:hover .sistema-thumb img { transform: scale(1.05); }
.sistema-body  { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sistema-badge { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .65rem; border-radius: 4px; margin-bottom: .75rem; width: fit-content; }
.badge-live { background: #dcfce7; color: #15803d; }
.badge-demo { background: #dbeafe; color: #1d4ed8; }
.badge-soon { background: #f3f4f6; color: #6b7280; }
.sistema-name { font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: .4rem; letter-spacing: -.01em; }
.sistema-desc { font-size: .83rem; color: var(--ink-3); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.sistema-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .84rem; font-weight: 700; color: var(--accent); transition: gap .15s; }
.sistema-link:hover { gap: .6rem; }
.sistema-link-off { font-size: .83rem; font-weight: 600; color: var(--ink-3); }
.sistema-creds { font-size: .76rem; color: var(--ink-3); background: var(--bg); padding: .4rem .7rem; border-radius: 6px; margin-bottom: .5rem; }
.sistema-creds strong { color: var(--ink-2); }
.sistema-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ── FAQ ── */
.faq-section { padding: 8rem 0; background: var(--bg-alt); }
.faq-list { max-width: 740px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; padding: 1.5rem 0;
    background: none; border: none; cursor: pointer; text-align: left;
    font-family: var(--sans); font-size: 1rem; font-weight: 700;
    color: var(--ink); transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; transition: transform .25s; color: var(--ink-3); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: none; padding: 0 0 1.5rem; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: .93rem; color: var(--ink-3); line-height: 1.75; }

/* ── CTA FINAL ── */
.cta-final { background: var(--ink); padding: 9rem 0; text-align: center; }
.cta-final .h-xl { color: #fff; margin-bottom: 1.25rem; }
.cta-sub { font-size: clamp(.95rem, 1.6vw, 1.08rem); color: rgba(255,255,255,.55); max-width: 480px; margin: 0 auto 2.75rem; line-height: 1.75; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACTO ── */
.contacto-section { padding: 8rem 0; background: var(--bg); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: start; }
.contacto-info { display: flex; flex-direction: column; gap: 1.5rem; }
.c-item { display: flex; align-items: flex-start; gap: 1rem; }
.c-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-l); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.c-label { font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; }
.c-val   { font-size: .94rem; font-weight: 600; color: var(--ink); margin-top: .15rem; }
.form    { display: flex; flex-direction: column; gap: 1rem; }
.fg      { display: flex; flex-direction: column; gap: .4rem; }
.fg label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.fg input, .fg select, .fg textarea {
    padding: .85rem 1rem; border: 1.5px solid var(--border);
    border-radius: var(--r); background: #fff;
    font-family: var(--sans); font-size: .95rem; color: var(--ink);
    outline: none; transition: border-color .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent); }
.fg textarea { resize: vertical; min-height: 120px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── FOOTER ── */
.footer { background: var(--ink); padding: 4rem 0 2.5rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 2.5rem; }
.footer-brand .logo-text { color: #fff; }
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.3); margin-top: .5rem; }
.footer-cols { display: flex; gap: 4.5rem; flex-wrap: wrap; }
.footer-col h4 { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1.1rem; }
.footer-col a { display: block; font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: .6rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.2); }

/* ── FLOAT WA ── */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); }

/* ═══════════════════════════════════════
   SISTEMA DE ANIMACIONES
   ═══════════════════════════════════════ */

/* — Progreso de scroll — */
.scroll-progress {
    position: fixed; top: 0; left: 0; z-index: 200;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--accent), #f59e0b);
    transition: width .08s linear;
    pointer-events: none;
}

/* — Hero: entrada al cargar la página — */
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: none; }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero-eyebrow { animation: heroSlideUp .8s cubic-bezier(0.16,1,0.3,1) .2s both; }
.hero-title   { animation: heroSlideUp 1s  cubic-bezier(0.16,1,0.3,1) .4s both; }
.hero-sub     { animation: heroSlideUp .8s cubic-bezier(0.16,1,0.3,1) .65s both; }
.hero-btns    { animation: heroSlideUp .7s cubic-bezier(0.16,1,0.3,1) .85s both; }
.hero-card:nth-child(1) { animation: heroSlideUp .7s cubic-bezier(0.16,1,0.3,1) 1.0s  both; }
.hero-card:nth-child(2) { animation: heroSlideUp .7s cubic-bezier(0.16,1,0.3,1) 1.15s both; }
.hero-card:nth-child(3) { animation: heroSlideUp .7s cubic-bezier(0.16,1,0.3,1) 1.3s  both; }

/* — Base de todas las animaciones de scroll — */
.fu, .fl, .fr, .fs, .fd {
    will-change: opacity, transform;
}

/* FADE UP — textos generales, FAQs */
.fu {
    opacity: 0;
    transform: translateY(70px);
    transition: opacity .9s cubic-bezier(0.16,1,0.3,1),
                transform .9s cubic-bezier(0.16,1,0.3,1);
}

/* FADE DESDE IZQUIERDA + BLUR — imágenes de splits */
.fl {
    opacity: 0;
    transform: translateX(-100px);
    filter: blur(10px);
    transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
                transform 1s cubic-bezier(0.16,1,0.3,1),
                filter 1s cubic-bezier(0.16,1,0.3,1);
}

/* FADE DESDE DERECHA + BLUR — textos de splits o imágenes inversas */
.fr {
    opacity: 0;
    transform: translateX(100px);
    filter: blur(10px);
    transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
                transform 1s cubic-bezier(0.16,1,0.3,1),
                filter 1s cubic-bezier(0.16,1,0.3,1);
}

/* SCALE IN + ROTACIÓN — cards (aspecto "caen y se acomodan") */
.fs {
    opacity: 0;
    transform: translateY(60px) scale(0.86) rotate(-2deg);
    transition: opacity .85s cubic-bezier(0.16,1,0.3,1),
                transform .85s cubic-bezier(0.16,1,0.3,1);
}

/* FADE DOWN — títulos de sección (caen desde arriba) */
.fd {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity .8s cubic-bezier(0.16,1,0.3,1),
                transform .8s cubic-bezier(0.16,1,0.3,1);
}

/* Estado final — todos llegan acá */
.fu.in, .fl.in, .fr.in, .fs.in, .fd.in {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ══════════════════════════════════════
   TEXT REVEAL — palabras que se encienden
   con el scroll, como si se leyeran
   ══════════════════════════════════════ */

/* Cada palabra empieza muy apagada */
.text-reveal .tw {
    color: rgba(15, 14, 13, 0.15);
    transition: color .4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline;
}
/* Palabra encendida — tinta completa */
.text-reveal .tw.lit {
    color: var(--ink);
}
/* Palabra dentro de <em> encendida — naranja */
.text-reveal .tw.tw-em.lit {
    color: var(--accent);
}

/* Variante para fondo oscuro (CTA) */
.text-reveal-dark .tw {
    color: rgba(255, 255, 255, 0.15);
}
.text-reveal-dark .tw.lit {
    color: #ffffff;
}
.text-reveal-dark .tw.tw-em.lit {
    color: var(--accent);
}

/* ── RESPONSIVE ── */

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 3rem); }
    .hero-cards { display: none; }
    .stats-band-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; gap: 3rem; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .sistemas-grid { grid-template-columns: 1fr 1fr; }
    .contacto-grid { grid-template-columns: 1fr; gap: 4rem; }
    .footer-top { flex-direction: column; }
}
@media (max-width: 640px) {
    .container { padding: 0 1.25rem; }
    .tagline-section { padding: 5rem 0; }
    .split-section, .process-section, .testimonial-section,
    .sistemas-section, .faq-section, .contacto-section { padding: 5rem 0; }
    .cta-final { padding: 6rem 0; }
    .stats-band-grid { grid-template-columns: 1fr; border-left: none; }
    .stat-b { border-right: none; border-bottom: 1px solid var(--border); padding: 2.5rem 1.5rem; }
    .services-grid { max-width: 100%; }
    .steps-grid { grid-template-columns: 1fr; }
    .sistemas-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .cta-btns { flex-direction: column; align-items: center; }
    .form-row2 { grid-template-columns: 1fr; }
    .footer-cols { gap: 2.5rem; flex-direction: column; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
    .fu { opacity: 1; transform: none; transition: none; }
    * { animation: none !important; }
}
