/* Fuente Inter alojada en la propia web (más rápida que Google Fonts) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* =============================================================
   Vidrios y Aluminios JE — Diseño v2 (limpio, centrado, jerárquico)
   Aplica a: inicio, páginas de servicio y blog.
   Las páginas legales siguen usando styles.css (sin cambios).
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --bg: #11100E;          /* fondo base */
  --bg-alt: #1A1917;      /* secciones intercaladas */
  --surface: #171613;     /* tarjetas */
  --text: #F5F3EF;        /* texto principal */
  --text-2: #9C978C;      /* texto secundario */
  --gold: #C9A227;        /* acento primario */
  --gold-2: #E3C567;      /* hover / secundario */
  --line: #2A2926;        /* bordes y divisores */

  --font: "Inter", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Escala móvil (se redefine en pantallas grandes) */
  --fs-h1: 34px;
  --fs-h2: 27px;
  --fs-h3: 20px;
  --fs-body: 16px;
  --fs-small: 13px;

  --gutter: 24px;
  --section: 64px;
  --card-pad: 32px;
  --radius: 14px;
  --measure: 65ch;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --reveal-y: 14px;
  --reveal-t: 420ms;
}
@media (min-width: 768px) {
  :root { --fs-h1: 44px; --fs-h2: 31px; --fs-h3: 20px; --fs-body: 16.5px; --gutter: 40px; --section: 96px; --reveal-y: 24px; --reveal-t: 520ms; }
}
@media (min-width: 1100px) {
  :root { --fs-h1: 54px; --fs-h2: 35px; --fs-h3: 21px; --fs-body: 17px; --fs-small: 14px; --section: 112px; }
}

/* 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--font); font-size: var(--fs-body); font-weight: 400; line-height: 1.6; color: var(--text-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text); letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.1; }
h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.2; }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; }
strong { color: var(--text); font-weight: 600; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilidades ------------------------------------------------ */
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--text); color: var(--bg); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.gold { color: var(--gold); }
.small { font-size: var(--fs-small); color: var(--text-2); }
.grain, .hero-glow, .scroll-cue { display: none !important; }

.kicker { display: inline-flex; align-items: center; gap: .7rem; font-size: var(--fs-small); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
.lead { font-size: calc(var(--fs-body) + 1px); color: var(--text-2); }

.section { position: relative; padding-block: var(--section); }
.s-dark { background: var(--bg); }
.s-dark-2 { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head > p:not(.kicker), .section-head .lead { max-width: var(--measure); margin-top: 16px; }
@media (min-width: 768px) { .section-head { margin-bottom: 64px; } }

/* 4. Botones --------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .85rem 1.6rem; border-radius: 999px; font-family: var(--font); font-weight: 500; font-size: 15px; letter-spacing: .01em; text-align: center; border: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: 14px; }
.btn-gold { background: var(--gold); color: #11100E; }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline-light, .btn-ghost { border-color: var(--line); color: var(--text); }
.btn-outline-light:hover, .btn-ghost:hover { border-color: var(--text-2); }
.btn-outline-gold { border-color: var(--line); color: var(--text); }
.btn-outline-gold:hover { border-color: var(--gold); }
.link-btn { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.link-btn:hover { color: var(--gold-2); }

/* 5. Menú ------------------------------------------------------ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s var(--ease), border-color .35s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-solid { background: rgba(17,16,14,.92); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(10px)) { .nav.is-scrolled, .nav.is-solid { background: rgba(17,16,14,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--text); }
.brand-logo-wrap { flex: none; width: 44px; height: 44px; border-radius: 50%; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); background: #0b0a09; }
.brand-logo-wrap .brand-logo { width: 100%; height: 100%; }
.brand-name { font-size: 15px; font-weight: 500; letter-spacing: -.005em; line-height: 1.25; }
.brand-name b { font-weight: 600; color: var(--text); }
.nav-links { display: none; margin-left: auto; gap: 1.75rem; font-size: 14px; }
.nav-links a { color: var(--text-2); transition: color .25s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: none; }
.nav .nav-cta.btn-gold { background: transparent; color: var(--text); border-color: var(--line); }
.nav .nav-cta.btn-gold:hover { border-color: var(--gold); background: transparent; }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }
.nav-mobile { display: grid; gap: .25rem; padding: .5rem var(--gutter) 1.5rem; background: var(--bg); border-top: 1px solid var(--line); }
.nav-mobile[hidden] { display: none; }
.nav-mobile a:not(.btn) { padding: .85rem 0; color: var(--text); border-bottom: 1px solid var(--line); font-size: 16px; }
.nav-mobile .btn { margin-top: 1rem; }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* 6. Portada (hero) -------------------------------------------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 112px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(17,16,14,.55) 0%, rgba(17,16,14,.35) 30%, rgba(17,16,14,.72) 58%, rgba(17,16,14,.96) 84%, #11100E 100%); }
.hero-inner { width: min(680px + 2 * var(--gutter), 100%); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; text-transform: none; color: var(--text); }
.hero-title { margin-top: 20px; font-size: 16px; line-height: 1.5; color: var(--text); opacity: .86; max-width: 56ch; }
.hero-title .gold { color: var(--gold-2); }
.hero-actions { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.hero-actions .btn-gold { width: 100%; }
.hero-actions .btn-outline-light { min-height: 0; padding: 4px 0; border: 0; border-radius: 0; font-size: var(--fs-small); color: var(--text-2); letter-spacing: .02em; }
.hero-actions .btn-outline-light:hover { color: var(--text); }
.trust { display: none; }
@media (min-width: 768px) {
  .hero { padding-bottom: 48px; }
  .hero-title { font-size: 18px; }
  .hero-actions .btn-gold { width: auto; }
  .trust { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(245,243,239,.08); font-size: var(--fs-small); letter-spacing: .02em; color: var(--text-2); }
  .trust-ico { display: none; }
  .trust-item + .trust-item::before { content: "·"; margin: 0 .9rem; color: var(--text-2); opacity: .7; }
}
/* Entrada de la portada: un solo tipo de animación (aparecer + subir) */
.js .hero-in, .js .hero [data-split] { opacity: 0; transform: translateY(var(--reveal-y)); animation: heroIn var(--reveal-t) var(--ease) forwards; animation-delay: calc(120ms + var(--d, 1) * 90ms); }
.js .hero .hero-title { --d: 1; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* 7. Aparición al hacer scroll --------------------------------- */
.js [data-reveal], .js [data-split], .js [data-clip], .js [data-zoom], .js [data-step] { opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity var(--reveal-t) var(--ease), transform var(--reveal-t) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .is-in[data-reveal], .js .is-in[data-split], .js .is-in[data-clip], .js .is-in[data-zoom], .js .is-in[data-step] { opacity: 1; transform: none; }

/* 8. Por qué JE (cómo trabajamos) ------------------------------ */
.authority-grid { display: grid; gap: 48px; align-items: center; }
.authority-copy > p:not(.kicker) { max-width: var(--measure); margin-top: 16px; }
.authority-copy h2 { margin-bottom: 8px; max-width: 18ch; }
.authority-copy .hero-lead { color: var(--text); }
.authority-copy .hero-lead--2 { color: var(--text-2); }
.authority-img, .diff-img, .stats-img, .about-img { border-radius: var(--radius); overflow: hidden; }
.authority-img img, .diff-img img, .stats-img img, .about-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.parallax-frame { height: 100%; }
.pillars { display: grid; gap: 16px; margin-top: 64px; }
.pillar { padding: var(--card-pad); border-radius: var(--radius); background: var(--surface); }
.pillar-ico { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 15px; }
@media (min-width: 900px) {
  .authority-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 96px; }
}

/* 9. Servicios ------------------------------------------------- */
.showcase { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.showcase-track { display: grid; gap: 24px; }
.svc { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-n { font-size: var(--fs-small); letter-spacing: .08em; color: var(--text-2); }
.svc-body p { font-size: 15px; }
.svc-btn { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 500; color: var(--text); display: inline-flex; gap: .4rem; }
.svc-btn span { transition: transform .3s var(--ease); }
@media (hover: hover) {
  .svc:hover { transform: scale(1.02); }
  .svc:hover .svc-btn span { transform: translateX(3px); }
}
@media (min-width: 700px) { .showcase-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .showcase-track { grid-template-columns: repeat(6, 1fr); gap: 24px; }
  .showcase-track .svc { grid-column: span 2; }
  .showcase-track .svc:nth-child(4) { grid-column: 2 / span 2; }
}

/* 10. Nuestra diferencia --------------------------------------- */
.diff-grid { display: grid; gap: 48px; align-items: center; }
.diff-copy > p:not(.kicker) { max-width: var(--measure); margin-top: 16px; }
.diff-copy h2 { margin-bottom: 8px; }
.diff-quote { margin-top: 32px !important; padding-left: 20px; border-left: 2px solid var(--gold); font-size: calc(var(--fs-h3) + 2px); font-weight: 500; color: var(--text); line-height: 1.35; }
.diff-idea { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--surface); display: grid; gap: 16px; justify-items: start; }
.diff-idea p { font-size: 15px; }
@media (min-width: 900px) {
  .diff-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; }
  .diff-idea { padding: var(--card-pad); }
}

/* 11. Proceso y pagos ------------------------------------------ */
.timeline { position: relative; }
.timeline-line { display: none; }
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { padding: 28px var(--card-pad) var(--card-pad); border-radius: var(--radius); background: var(--surface); }
.step-n { display: block; font-size: var(--fs-small); color: var(--text-2); letter-spacing: .08em; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.pay { margin-top: 64px; display: grid; gap: 40px; padding: var(--card-pad); border-radius: var(--radius); border: 1px solid var(--line); }
.badge-free { font-size: var(--fs-small); color: var(--text-2); letter-spacing: .02em; margin-bottom: 12px; }
.pay-copy h3 { margin-bottom: 24px; }
.pay-split { display: flex; gap: 40px; }
.pay-split > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 2px; }
.pay-split strong { font-size: 44px; font-weight: 600; line-height: 1; color: var(--text); letter-spacing: -.02em; }
.pay-split span { font-size: 20px; color: var(--text-2); }
.pay-split p { grid-column: 1 / -1; margin-top: 8px; font-size: 14px; max-width: 20ch; }
.pay-title { font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.pay-methods ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-methods li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface); font-size: 14px; color: var(--text); line-height: 1.3; min-width: 0; }
.pay-logo { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.pay-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pay-logo--emoji { font-size: 1.4rem; line-height: 1; }
@media (max-width: 380px) { .pay-methods ul { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .pay { grid-template-columns: 1fr 1fr; gap: 64px; padding: 48px; align-items: center; margin-top: 96px; } }

/* 12. Proyectos (galería) -------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 40px; }
.filter { position: relative; padding: 8px 0; font-size: 14px; color: var(--text-2); transition: color .25s var(--ease); }
.filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.filter:hover { color: var(--text); }
.filter.is-active { color: var(--text); }
.filter.is-active::after { transform: scaleX(1); }
.g-grid { display: grid; gap: 16px; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.g-item figcaption { padding: 20px 24px 24px; display: grid; gap: 4px; }
.g-tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.g-item strong { font-weight: 500; font-size: 17px; }
.g-ben { font-size: 14px; color: var(--text-2); }
@media (hover: hover) { .g-item:hover img { transform: scale(1.02); } }
/* Filtro: transición suave */
.g-item.is-hiding { opacity: 0; transform: scale(.98); transition: opacity .3s var(--ease), transform .3s var(--ease) !important; transition-delay: 0s !important; }
.g-item.is-hidden { display: none; }
.g-item.is-showing { opacity: 0; transform: translateY(12px); transition: none !important; }
@media (min-width: 700px) { .g-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }

/* 13. Experiencia (números) ------------------------------------ */
.stats-grid { display: grid; gap: 48px; align-items: center; }
.stats-copy > p:not(.kicker) { max-width: var(--measure); margin-top: 16px; }
.stats-copy h2 { margin-bottom: 8px; }
.counters { display: grid; gap: 40px; padding-top: 48px; border-top: 1px solid var(--line); }
.counter dt { display: flex; align-items: baseline; gap: 2px; font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--text); }
.counter-ico { width: 22px; height: 22px; margin-right: 14px; align-self: center; fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.counter dd { margin-top: 12px; font-size: 14px; max-width: 30ch; }
@media (min-width: 700px) { .counters { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .stats-grid .counters { grid-column: 1 / -1; margin-top: 32px; }
  .counter dt { font-size: 60px; }
}

/* 14. Sobre JE (quién es Jhon Eduard) — tono editorial, distinto a "Por qué JE" */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-img img { aspect-ratio: 4 / 5; filter: saturate(.92); }
.about-copy h2 { margin-bottom: 24px; max-width: 16ch; }
.about-copy > p:not(.kicker) { max-width: var(--measure); margin-top: 16px; }
.about-copy > p:nth-of-type(2) { font-size: calc(var(--fs-body) + 2px); line-height: 1.55; color: var(--text); }
.values { display: grid; margin-top: 64px; border-top: 1px solid var(--line); }
.value { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.value h3 { font-size: var(--fs-h3); }
.value p { font-size: 15px; max-width: 48ch; }
@media (min-width: 700px) {
  .values { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 96px; }
  .about-img { order: -1; }
  .values { grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; margin-top: 96px; }
  .value { padding: 24px 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
}

/* 15. Testimonios ---------------------------------------------- */
.review-grid { display: grid; gap: 16px; }
.review { padding: var(--card-pad); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 20px; }
.review-mark { font-size: 40px; line-height: .6; color: var(--text-2); font-family: Georgia, serif; height: 20px; }
.review p { font-size: 17px; line-height: 1.55; color: var(--text); }
.review footer { margin-top: auto; display: grid; gap: 2px; font-size: var(--fs-small); }
.review footer strong { font-weight: 500; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* 16. Preguntas frecuentes ------------------------------------- */
.faq-grid { display: grid; gap: 40px; }
.faq-list { display: grid; gap: 8px; }
.qa { border-radius: 12px; background: var(--surface); transition: background-color .3s var(--ease); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 20px 24px; font-weight: 500; color: var(--text); font-size: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 24px 22px; font-size: 15px; max-width: var(--measure); }
.blog-teaser { margin-top: 64px; padding: var(--card-pad); border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.blog-teaser p { max-width: 60ch; font-size: 15px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } .faq-grid .section-head { position: sticky; top: 110px; } }

/* 17. Contacto ------------------------------------------------- */
.cta { border-top: 1px solid var(--line); }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-inner > .lead { max-width: 58ch; margin-top: 16px; }
.cta h2 { max-width: 22ch; }
.cta-actions { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.cta-alt { margin-top: 20px; font-size: 14px; }
.cta-alt a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.cta-info { width: 100%; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); display: grid; gap: 32px; text-align: left; }
.cta-info h3 { font-size: var(--fs-small); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.cta-info p { font-size: 15px; color: var(--text); line-height: 1.7; }
.cta-info a:hover { color: var(--gold-2); }
@media (min-width: 600px) {
  .cta-actions { flex-direction: row; justify-content: center; width: auto; }
  .cta-info { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .cta-info { grid-template-columns: repeat(4, 1fr); gap: 40px; } }

/* 18. Pie de página -------------------------------------------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 120px; font-size: var(--fs-small); letter-spacing: .02em; }
.footer-grid { display: grid; gap: 40px; }
.footer-inner { display: grid; gap: 12px; justify-items: start; }
.brand--footer { gap: 12px; }
.brand-logo--lg { width: 56px; height: 56px; }
.footer-slogan { color: var(--text); font-size: 15px; letter-spacing: 0; }
.footer-small { color: var(--text-2); }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links::before { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.footer-svcs::before { content: "Servicios"; }
.footer-links:not(.footer-svcs)::before { content: "Información"; }
.footer-links a { color: var(--text-2); transition: color .25s; }
.footer-links a:hover { color: var(--text); }
@media (min-width: 800px) { .footer { padding-bottom: 72px; } .footer-grid { grid-template-columns: 1.3fr 1fr .8fr; gap: 64px; } }

/* 19. Botones flotantes (más discretos) ------------------------ */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #25D366; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float:hover { transform: scale(1.02); }
.chat[hidden] { display: none; }
.chat-launch { position: fixed; right: 16px; bottom: 80px; z-index: 61; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 44px; min-width: 44px; padding: 0 .9rem; border-radius: 999px; background: rgba(23,22,19,.92); color: var(--text); font-size: 13px; font-weight: 500; border: 1px solid var(--line); transition: border-color .3s var(--ease); }
.chat-launch:hover { border-color: var(--text-2); }
.chat-launch-ico { color: var(--gold); }
.sound-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: .55rem; height: 40px; padding: 0 .85rem; border-radius: 999px; background: rgba(23,22,19,.9); border: 1px solid var(--line); color: var(--text-2); font-size: 12px; font-weight: 500; transition: border-color .3s var(--ease), opacity .3s; }
.sound-toggle:hover { border-color: var(--text-2); }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { width: 2px; height: 4px; border-radius: 2px; background: var(--text-2); }
.sound-toggle.is-playing .sound-bars i { animation: eq 1.2s ease-in-out infinite; }
.sound-toggle.is-playing .sound-bars i:nth-child(2) { animation-delay: .2s; }
.sound-toggle.is-playing .sound-bars i:nth-child(3) { animation-delay: .4s; }
.sound-toggle.is-playing .sound-bars i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@media (max-width: 767px) {
  .chat-launch { padding: 0; width: 44px; }
  .chat-launch-txt, .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sound-toggle { width: 40px; padding: 0; justify-content: center; }
}

/* 20. Ventanas emergentes, herramientas y chat ----------------- */
.modal { width: min(620px, calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-alt); color: var(--text-2); overflow-y: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(10,10,9,.7); backdrop-filter: blur(6px); }
.modal[open] { animation: fadeUp .4s var(--ease); }
.modal h2 { margin-bottom: 12px; padding-right: 2.5rem; font-size: var(--fs-h2); }
.modal > p { margin-bottom: 20px; font-size: 15px; }
.modal-x { position: sticky; top: 0; float: right; width: 40px; height: 40px; margin: -.5rem -.5rem 0 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--text); background: var(--surface); transition: opacity .3s; z-index: 2; }
.modal-x:hover { opacity: .8; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.tool { margin-top: 16px; padding: var(--card-pad); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tool--bare { background: none; border: 0; padding: 0; }
.tool-badge { display: inline-flex; gap: .4rem; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.tool-badge::before { content: "✦"; }
.tool-form { display: grid; gap: 24px; margin-top: 20px; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { font-weight: 500; color: var(--text); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; color: var(--text); transition: border-color .25s, background-color .25s, color .25s; }
.chips label:hover span { border-color: var(--text-2); }
.chips input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 500; color: var(--text); }
.field em { font-style: normal; font-weight: 400; color: var(--text-2); }
textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; resize: vertical; }
textarea:focus { outline: none; border-color: var(--text-2); }
.form-error { color: #E9A48E; font-size: 14px; }
.form-error[hidden] { display: none; }
.tool-form .btn { justify-self: start; }
.tool-result { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); animation: fadeUp .45s var(--ease); }
.tool-result[hidden] { display: none; }
.result-line { display: grid; gap: 8px; }
.result-line h4 { font-weight: 600; font-size: 24px; color: var(--text); }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.line-tag, .idea-svc { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.loading { display: flex; align-items: center; gap: .7rem; }
.loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.idea-cards { display: grid; gap: 12px; margin-top: 12px; }
.idea-card { border-radius: 12px; padding: 20px; background: var(--bg); border: 1px solid var(--line); }
.idea-card h4 { font-weight: 500; color: var(--text); margin: 4px 0; }
.svc-link { display: inline-block; margin-top: 8px; font-weight: 500; color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.drop { position: relative; display: grid; place-items: center; min-height: 190px; border: 1px dashed var(--text-2); border-radius: 14px; cursor: pointer; overflow: hidden; background: var(--surface); transition: border-color .3s; }
.drop:hover, .drop.is-over { border-color: var(--gold); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-empty { display: grid; justify-items: center; gap: .35rem; text-align: center; padding: 1.4rem; color: var(--text); }
.drop-empty svg { width: 36px; height: 36px; fill: var(--text-2); }
.drop-empty small { color: var(--text-2); }
.drop-preview { width: 100%; max-height: 320px; object-fit: cover; }
.drop-preview[hidden], .drop-empty[hidden] { display: none; }

.chat-panel { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-height: min(600px, calc(100svh - 24px)); display: flex; flex-direction: column; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); overflow: hidden; animation: fadeUp .35s var(--ease); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); color: var(--text); }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--gold-2); font-size: 13px; font-weight: 600; }
.chat-head strong { display: block; color: var(--text); font-weight: 500; }
.chat-head small { color: var(--text-2); font-size: 12px; }
.chat-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; color: var(--text); }
.chat-close:hover { background: var(--surface); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: .6rem; align-content: start; background: var(--bg); min-height: 180px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: .65rem .9rem; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.msg-bot { background: var(--surface); color: var(--text); border-bottom-left-radius: 4px; }
.msg-user { justify-self: end; background: var(--text); color: var(--bg); border-bottom-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem 1rem 0; background: var(--bg); }
.chat-quick[hidden] { display: none; }
.chat-quick button { font-size: 13px; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: var(--surface); transition: border-color .25s; }
.chat-quick button:hover { border-color: var(--text-2); }
.chat-form { display: flex; gap: .5rem; padding: .7rem 1rem; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem; }
.chat-form input:focus { outline: none; border-color: var(--text-2); }
.chat-foot { font-size: 12px; color: var(--text-2); padding: 0 1rem .8rem; }
.chat-foot a { color: var(--text); text-decoration: underline; }
@media (min-width: 600px) { .chat-panel { left: auto; right: 16px; bottom: 16px; width: 380px; } }

/* =============================================================
   Páginas internas: servicios y blog
   ============================================================= */
.art-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding: 140px 0 56px; min-height: 72svh; display: flex; align-items: flex-end; }
.art-hero--short { min-height: 60svh; }
.art-hero-bg { position: absolute; inset: 0; z-index: -2; }
.art-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.art-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,16,14,.55) 0%, rgba(17,16,14,.5) 30%, rgba(17,16,14,.85) 65%, #11100E 100%); }
.art-hero-inner { position: relative; z-index: 1; width: min(760px + 2 * var(--gutter), 100%); text-align: center; display: flex; flex-direction: column; align-items: center; }
.art-hero .kicker { justify-content: center; }
.art-title { font-size: var(--fs-h1); color: var(--text); max-width: 20ch; line-height: 1.1; }
.art-meta { margin-top: 20px; color: var(--text-2); font-size: var(--fs-small); letter-spacing: .02em; }
.art-sub { margin-top: 20px; color: var(--text); opacity: .86; max-width: 58ch; font-size: 16px; }
.art-hero .hero-actions { margin-top: 32px; }
.crumbs { display: flex; justify-content: center; gap: .5rem; font-size: var(--fs-small); color: var(--text-2); margin-bottom: 24px; }
.crumbs a:hover { color: var(--text); }
.js .art-hero .hero-in, .js .art-hero [data-split] { opacity: 0; transform: translateY(var(--reveal-y)); animation: heroIn var(--reveal-t) var(--ease) forwards; animation-delay: calc(120ms + var(--d, 1) * 90ms); }
@media (min-width: 768px) { .art-sub { font-size: 18px; } }

/* Artículo */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding-block: var(--section); }
.art, .art-cta { min-width: 0; }
.art { max-width: 680px; font-size: var(--fs-body); color: var(--text-2); line-height: 1.7; }
.art > * + * { margin-top: 20px; }
.art p, .art li { max-width: var(--measure); }
.art h2 { font-size: calc(var(--fs-h2) - 3px); margin-top: 56px; color: var(--text); }
.art h3 { font-size: var(--fs-h3); margin-top: 36px; color: var(--text); }
.art ul, .art ol { display: grid; gap: 10px; }
.art ul li { position: relative; padding-left: 1.3rem; }
.art ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-2); }
.art ol { list-style: decimal; padding-left: 1.3rem; }
.art ol li::marker { color: var(--text-2); font-weight: 500; }
.art a:not(.btn) { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.art-lead { font-size: calc(var(--fs-body) + 2px); color: var(--text); line-height: 1.6; }
.art-lead em { font-style: normal; color: var(--text); }
.art-table { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; overflow-x: auto; }
.art-table > div { display: grid; grid-template-columns: 1fr 1fr 1.6fr; min-width: 480px; }
.art-table > div + div { border-top: 1px solid var(--line); }
.art-table span { padding: 12px 16px; }
.art-table [role=columnheader] { background: var(--surface); color: var(--text); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.art-cta { align-self: start; display: grid; gap: 16px; padding: var(--card-pad); border-radius: var(--radius); background: var(--surface); }
.art-cta h2 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.35; color: var(--text); }
.art-cta p:not(.kicker) { font-size: 15px; }
.art-cta .btn { width: 100%; }
.art-cta .kicker { margin-bottom: 0; }
@media (min-width: 960px) {
  .art-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 96px; }
  .art-cta { position: sticky; top: 110px; }
}

/* Tarjetas de artículos */
.related h2 { margin-bottom: 8px; }
.post-grid { display: grid; gap: 16px; margin-top: 40px; }
.post-grid--big { margin-top: 0; }
.post-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: transform .45s var(--ease); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: var(--card-pad); display: grid; gap: 10px; align-content: start; }
.post-body h2, .post-body h3 { font-size: var(--fs-h3); font-weight: 500; color: var(--text); line-height: 1.35; }
.post-body p { font-size: 15px; }
.post-kicker { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.post-more { font-weight: 500; font-size: 14px; color: var(--text); margin-top: 6px; }
@media (hover: hover) { .post-card:hover { transform: scale(1.02); } }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

/* Servicio: tarjetas de soluciones */
.sub-grid { display: grid; gap: 16px; }
.sub { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: transform .45s var(--ease); }
.sub-img { aspect-ratio: 4 / 3; overflow: hidden; }
.sub-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sub-body > p { font-size: 15px; }
.sub-ideal-t { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-top: 8px; }
.sub-ideal { display: flex; flex-wrap: wrap; gap: 6px; }
.sub-ideal li { font-size: 13px; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text); }
.sub .svc-btn { margin-top: auto; padding-top: 16px; }
@media (hover: hover) { .sub:hover { transform: scale(1.02); } }
@media (min-width: 700px) { .sub-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .sub-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-tool { margin-top: 64px; }
.svc-tool h2 { margin: 4px 0 8px; }
@media (min-width: 900px) { .svc-tool { margin-top: 96px; padding: 48px; } }

.why { display: grid; gap: 40px; }
.why h2 { max-width: 16ch; }
.why-list { display: grid; gap: 16px; }
.why-list li { padding: 24px 28px; border-radius: var(--radius); background: var(--surface); font-size: 15px; }
.svc-extra { display: grid; gap: 64px; }
.zonas h2 { font-size: calc(var(--fs-h2) - 4px); margin-bottom: 16px; }
.zonas > p:not(.kicker) { max-width: var(--measure); }
.zonas a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.zonas-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.zonas-list li { font-size: 13px; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
.art .zonas { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.art .zonas-list { padding: 0; }
.art .zonas-list li { padding-left: .8rem; }
.art .zonas-list li::before { display: none; }
.art-link { display: grid; gap: 6px; margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); transition: transform .45s var(--ease); }
.art-link strong { font-weight: 500; }
@media (hover: hover) { .art-link:hover { transform: scale(1.02); } }
.svc-extra .faq-list { margin-top: 8px; }
.other-svcs { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.other-svcs > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { font-size: 14px; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text); transition: border-color .25s; }
.chip-link:hover { border-color: var(--text-2); }
@media (min-width: 960px) {
  .why { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
  .why-list { grid-template-columns: 1fr 1fr; gap: 24px; }
  .svc-extra { grid-template-columns: 1fr 1fr; gap: 96px; }
}

/* =============================================================
   Movimiento: se reduce en celular y se apaga si la persona lo pide
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-split], .js [data-clip], .js [data-zoom], .js [data-step],
  .js .hero-in, .js .hero [data-split], .js .art-hero .hero-in, .js .art-hero [data-split] { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .sound-toggle.is-playing .sound-bars i { animation: none; height: 10px; }
  .svc, .sub, .post-card, .art-link, .g-item img, .svc-img img { transition: none; }
}

/* =============================================================
   CAPA DE EXPERIENCIA (v3): dorado, tarjetas marcadas y animaciones sutiles
   Pedido del cliente: más vida y color, siempre suave.
   ============================================================= */
:root { --gold-soft: rgba(201,162,39,.28); --gold-faint: rgba(201,162,39,.10); }

/* Dorado en títulos pequeños, marca y frases clave */
.kicker { color: var(--gold); font-weight: 600; }
.kicker::before { width: 28px; }
.brand-name b { color: var(--gold); }
.diff-quote { color: var(--gold); font-weight: 600; border-left-color: var(--gold); font-size: calc(var(--fs-h3) + 4px); }
.why h2 { color: var(--gold); }
.tool-badge { color: var(--gold); }

/* Partículas doradas flotantes (lienzo detrás del contenido) */
.has-particles { isolation: isolate; }
.has-particles > .fx-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.has-particles > :not(.fx-particles):not(.hero-bg):not(.hero-shade):not(.art-hero-bg) { position: relative; z-index: 1; }
.hero.has-particles > .fx-particles, .art-hero.has-particles > .fx-particles { z-index: 0; } /* por encima de la capa oscura, debajo del texto */

/* Portada y contacto: botón al tamaño de su texto en celular */
.hero-actions .btn-gold, .art-hero .hero-actions .btn-gold { width: auto; padding-inline: 28px; }
.cta-actions { align-items: center; }
.cta-actions .btn { width: auto; }

/* Cinta de servicios en movimiento (sutil) */
.marquee { position: relative; overflow: hidden; background: var(--bg); border-block: 1px solid var(--line); padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.marquee i { font-style: normal; font-size: 8px; color: var(--gold); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 768px) { .marquee { padding: 20px 0; } .marquee span { font-size: 14px; } .marquee-track { gap: 36px; } }

/* Tarjetas marcadas: borde dorado suave, brillo que sigue el dedo/cursor, zoom de imagen */
.svc, .sub, .post-card, .art-link, .g-item, .pillar, .value, .review, .step, .why-list li, .qa, .pay-methods li {
  border: 1px solid var(--gold-soft);
}
.svc, .sub, .post-card, .art-link, .g-item, .pillar, .review, .why-list li { position: relative; }
.svc::after, .sub::after, .post-card::after, .art-link::after, .g-item::after, .pillar::after, .value::after, .review::after, .why-list li::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(227,197,103,.16), transparent 55%);
}
.svc, .sub, .post-card, .art-link, .g-item, .pillar, .value, .review, .why-list li {
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.svc:hover, .sub:hover, .post-card:hover, .art-link:hover, .g-item:hover, .pillar:hover, .value:hover, .review:hover, .why-list li:hover,
.svc.is-active, .sub.is-active, .post-card.is-active, .art-link.is-active, .g-item.is-active, .pillar.is-active, .value.is-active, .review.is-active, .why-list li.is-active {
  border-color: rgba(201,162,39,.75); box-shadow: 0 0 0 1px rgba(201,162,39,.18), 0 24px 60px -28px rgba(201,162,39,.35);
}
.svc:hover::after, .sub:hover::after, .post-card:hover::after, .art-link:hover::after, .g-item:hover::after, .pillar:hover::after, .value:hover::after, .review:hover::after, .why-list li:hover::after,
.is-active::after { opacity: 1; }
.svc-img img, .sub-img img, .post-img img, .g-item img { transition: transform 1s var(--ease); }
.svc:hover .svc-img img, .sub:hover .sub-img img, .post-card:hover .post-img img, .g-item:hover img,
.svc.is-active .svc-img img, .sub.is-active .sub-img img, .post-card.is-active .post-img img, .g-item.is-active img { transform: scale(1.06); }
@media (hover: hover) { .svc:hover, .sub:hover, .post-card:hover { transform: none; } }
.svc-n, .step-n { color: var(--gold); font-weight: 600; }
.g-tag, .post-kicker, .sub-ideal-t, .line-tag, .idea-svc { color: var(--gold); }
.sub-ideal li { border-color: var(--gold-soft); }

/* Enlace de acción dorado con subrayado */
.svc-btn, .post-more, .art-link .post-more {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; color: var(--gold); font-weight: 600;
  padding-bottom: 6px; background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  transition: color .3s var(--ease), background-size .45s var(--ease);
}
.svc-btn span, .post-more span { transition: transform .35s var(--ease); display: inline-block; }
.svc:hover .svc-btn, .sub:hover .svc-btn, .post-card:hover .post-more, .art-link:hover .post-more,
.is-active .svc-btn, .is-active .post-more { color: var(--gold-2); background-image: linear-gradient(var(--gold-2), var(--gold-2)); }
.svc:hover .svc-btn span, .sub:hover .svc-btn span, .post-card:hover .post-more span, .is-active .svc-btn span { transform: translateX(4px); }

/* Guía recomendada: resalta */
.art-link { background: linear-gradient(135deg, var(--gold-faint), transparent 60%), var(--surface); border-color: rgba(201,162,39,.55); }
.art-link strong { color: var(--text); }

/* "Nuestra diferencia": herramienta de IA que invita a tocar */
.diff-idea, .svc-tool { position: relative; border: 1px solid rgba(201,162,39,.5); background: linear-gradient(135deg, rgba(201,162,39,.08), transparent 55%), var(--surface); animation: toolGlow 4.5s ease-in-out infinite; }
@keyframes toolGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); } 50% { box-shadow: 0 0 0 1px rgba(201,162,39,.25), 0 0 42px -12px rgba(201,162,39,.45); } }
.diff-idea .btn-outline-gold { border-color: var(--gold); color: var(--gold); }
.diff-idea .btn-outline-gold:hover { background: var(--gold); color: #11100E; }
.nudge-row { display: inline-flex; align-items: center; gap: 12px; }
.fx-hand { width: 30px; height: 30px; flex: none; color: var(--gold); animation: handTap 2.6s var(--ease) infinite; }
.fx-hand svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes handTap { 0%, 55%, 100% { transform: translateX(0); } 65% { transform: translateX(-7px); } 75% { transform: translateX(0); } 85% { transform: translateX(-4px); } }
.tool-badge::before { display: inline-block; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .5; transform: scale(.85) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }

/* Proceso: fondo dorado degradado + línea de recorrido al hacer scroll */
.process { background: radial-gradient(900px 520px at 88% 0%, rgba(201,162,39,.11), transparent 70%), radial-gradient(700px 420px at 0% 100%, rgba(201,162,39,.06), transparent 70%), var(--bg-alt); }
.timeline { --p: 0; position: relative; }
.timeline-line { display: block; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline-line span { display: block; position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(180deg, rgba(201,162,39,.4), var(--gold)); border-radius: 2px; }
.timeline-line span::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px 4px rgba(227,197,103,.55); opacity: calc(var(--p) * 10); }
.steps { gap: 36px; }
.step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding: 0; background: none; border: 0; }
.step-n { grid-row: span 2; width: 48px; height: 48px; margin: 0; border-radius: 50%; display: grid; place-items: center; font-size: 14px; letter-spacing: 0; background: var(--bg-alt); border: 1.5px solid var(--gold-soft); color: var(--text-2); position: relative; z-index: 1; transition: border-color .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.step.is-done .step-n { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 5px rgba(201,162,39,.10), 0 0 22px -4px rgba(201,162,39,.6); }
.step.is-current .step-n { background: var(--gold); color: #11100E; transform: scale(1.08); }
.step h3 { align-self: end; padding-top: 2px; }
.step p { grid-column: 2; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr; } }
@media (min-width: 1100px) {
  .timeline-line { left: calc((100% - 120px) / 12); right: calc((100% - 120px) / 12); top: 23px; bottom: auto; width: auto; height: 2px; }
  .timeline-line span { height: 100%; width: calc(var(--p) * 100%); background: linear-gradient(90deg, rgba(201,162,39,.4), var(--gold)); }
  .timeline-line span::after { left: auto; right: -5px; top: -4px; bottom: auto; margin: 0; }
  .steps { grid-template-columns: repeat(6, 1fr); gap: 24px; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 12px; }
  .step-n { grid-row: auto; }
  .step h3 { font-size: 18px; padding-top: 8px; }
  .step p { grid-column: auto; font-size: 14px; }
}

/* Cotización sin compromiso y pagos: tarjeta marcada + sello de verificado */
.pay { border-color: rgba(201,162,39,.5); background: linear-gradient(145deg, rgba(201,162,39,.08), transparent 55%), var(--surface); }
.badge-free { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--gold); color: #11100E; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; position: relative; overflow: hidden; }
.badge-free::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); }
.pay.is-in .badge-free { animation: stamp .7s var(--ease) .25s both; }
.pay.is-in .badge-free::after { animation: shine 1.4s var(--ease) .9s both; }
@keyframes stamp { 0% { transform: scale(1.25); opacity: 0; } 60% { transform: scale(.96); opacity: 1; } 100% { transform: scale(1); } }
@keyframes shine { to { transform: translateX(120%); } }
.pay-split > div { padding-top: 16px; border-top: 1px solid var(--gold); }
.pay-split strong { color: var(--gold); }
.pay-split span { color: var(--gold); }
.pay-methods li { background: var(--bg); transition: border-color .4s var(--ease); }
.pay-name { flex: 1; }
.fx-check { width: 20px; height: 20px; flex: none; margin-left: auto; }
.fx-check circle { fill: none; stroke: var(--gold-soft); stroke-width: 1.5; }
.fx-check path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; }
.is-in .fx-check path, .fx-check.is-in path { animation: drawCheck .6s var(--ease) forwards; animation-delay: calc(.5s + var(--i, 0) * 180ms); }
.is-in > .fx-check circle, .is-in .fx-check circle { stroke: var(--gold); transition: stroke .4s var(--ease) .4s; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.pay-methods li.is-in { border-color: rgba(201,162,39,.55); }

/* Números de experiencia: contador + destello final */
.counters { border-top-color: var(--gold-soft); }
.counter { padding-top: 24px; border-top: 1px solid var(--gold-soft); }
.counters { padding-top: 0; border-top: 0; }
.counter dt { color: var(--gold); }
.counter-ico { stroke: var(--gold); }
.counter dt.is-done { animation: countPop .7s var(--ease); }
@keyframes countPop { 0% { transform: scale(1); text-shadow: none; } 40% { transform: scale(1.08); text-shadow: 0 0 24px rgba(227,197,103,.8); } 100% { transform: scale(1); text-shadow: 0 0 0 rgba(227,197,103,0); } }

/* Valores: tarjetas que resaltan */
.values { border-top: 0; gap: 16px; }
.value { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(201,162,39,.07), transparent 50%), var(--surface); }
.value::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 18px; transition: width .5s var(--ease); }
.value:hover::before, .value.is-active::before { width: 56px; }
@media (min-width: 900px) { .value { padding: 28px; border-top: 1px solid var(--gold-soft); } .values { gap: 20px; } }

/* Preguntas frecuentes con acento dorado */
.qa { background: var(--surface); }
.qa summary::after { width: 26px; height: 26px; border: 1.5px solid var(--gold); border-radius: 50%; transform: none;
  background: linear-gradient(var(--gold), var(--gold)) center / 10px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 10px no-repeat; }
.qa[open] summary::after { transform: rotate(45deg); background-color: rgba(201,162,39,.12); }
.qa[open] { border-color: rgba(201,162,39,.7); }
.qa[open] summary { color: var(--gold-2); }
.qa summary:hover { color: var(--gold-2); }

/* Filtros de proyectos */
.filter.is-active { color: var(--gold); }

/* Servicio: "Primero te escuchamos" interactivo */
.why-list li { padding: 24px 28px 24px 64px; background: linear-gradient(150deg, rgba(201,162,39,.06), transparent 55%), var(--surface); }
.why-list li > .fx-check { position: absolute; left: 24px; top: 26px; margin: 0; }

/* Botones de acción: un salto lento y sutil al aparecer */
.btn.fx-nudge { animation: nudge 1.6s var(--ease) 1; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-7px); } 55% { transform: translateY(0); } 72% { transform: translateY(-3px); } }
.btn-gold { box-shadow: 0 10px 28px -14px rgba(201,162,39,.8); }

/* Contacto: brillo dorado suave de fondo */
.cta { background: radial-gradient(700px 380px at 50% 0%, rgba(201,162,39,.09), transparent 70%), var(--bg); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .fx-hand, .tool-badge::before, .diff-idea, .svc-tool, .btn.fx-nudge, .counter dt.is-done, .pay.is-in .badge-free, .pay.is-in .badge-free::after { animation: none !important; }
  .fx-check path { stroke-dashoffset: 0; animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .fx-particles { display: none; }
}
/* Ajuste: sello de verificado en la esquina para no apretar el texto */
.pay-methods li { position: relative; padding-right: 30px; }
.pay-methods li > .fx-check { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; margin: 0; }
@media (max-width: 479px) { .pay-methods ul { grid-template-columns: 1fr; } }
/* Fondo vivo en todas las secciones y el pie de página */
.has-particles { position: relative; }
.footer.has-particles > :not(.fx-particles) { position: relative; z-index: 1; }

/* 22. Logo (tamaño aprobado + animación de entrada A + destello C) ---------- */
.brand-logo { box-shadow: 0 0 0 1px rgba(201,162,39,.45), 0 6px 18px rgba(0,0,0,.55); display: block; }
.brand-logo-wrap { position: relative; width: 64px; height: 64px; animation: je-logo-in 1.1s cubic-bezier(.2,.8,.2,1) both; }
.brand-logo-wrap::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, transparent 0 70%, rgba(227,197,103,.95) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; animation: je-ring 1.3s .35s ease-out both; pointer-events: none; }
.brand-logo-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 35%, rgba(255,240,190,.55) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: screen; animation: je-shine 9s 2.5s ease-in-out infinite; pointer-events: none; }
.brand > .brand-name { font-size: 16px; animation: je-name-in .9s .35s cubic-bezier(.2,.8,.2,1) both; }
.brand--footer > .brand-name { animation: none; font-size: 17px; }
.brand--footer { gap: 16px; }
.brand-logo--lg { width: 96px; height: 96px; box-shadow: 0 0 0 1px rgba(201,162,39,.5), 0 10px 30px rgba(0,0,0,.6), 0 0 40px rgba(201,162,39,.08); }
@keyframes je-logo-in { from { opacity: 0; transform: scale(.55) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes je-ring { 0% { opacity: 0; transform: rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: rotate(360deg); } }
@keyframes je-shine { 0%, 82% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@keyframes je-name-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (max-width: 539px) {
  .brand-logo-wrap { width: 54px; height: 54px; }
  .brand > .brand-name { font-size: 15.5px; max-width: 13ch; }
  .brand-logo--lg { width: 84px; height: 84px; }
  .brand--footer > .brand-name { font-size: 18px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo-wrap, .brand-logo-wrap::before, .brand-logo-wrap::after, .brand > .brand-name { animation: none; }
}

/* 23. Página 404 (vidrio quebrado) --------------------------------------- */
.e404-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 80px; background: var(--bg); }
.e404-glow { position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; background: radial-gradient(600px 320px at 50% 30%, rgba(201,162,39,.16), transparent 70%); }
.e404-inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
.e404-glass { position: relative; width: min(440px, 88vw); overflow: hidden; border-radius: 18px; }
.e404-glass svg { display: block; width: 100%; height: auto; }
.e404-num { font-family: var(--font); font-weight: 600; font-size: 190px; letter-spacing: -.04em; fill: url(#e404g); opacity: 0; animation: e404-in .9s .1s cubic-bezier(.2,.8,.2,1) forwards; }
.e404-crack path { fill: none; stroke: #F5F3EF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; filter: drop-shadow(0 0 4px rgba(227,197,103,.8)); animation: e404-crack .7s 1s ease-out forwards; }
.e404-crack path:nth-child(n+2) { stroke-width: 1.4; opacity: .85; animation-delay: 1.35s; }
.e404-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,240,190,.35) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; animation: je-shine 7s 2.2s ease-in-out infinite; pointer-events: none; mix-blend-mode: screen; }
.e404-inner .kicker { margin: 6px 0 0; }
.e404-title { color: var(--text); font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; max-width: 22ch; margin: 0; }
.e404-text { max-width: 52ch; margin: 0; }
.e404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.e404-nav { width: min(720px, 100%); margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.e404-nav-title { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.e404-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font-size: 15px; text-align: left; transition: border-color .3s, color .3s; }
.e404-link span { color: var(--gold); transition: transform .3s; }
.e404-link:hover { border-color: rgba(201,162,39,.6); color: var(--gold-2); }
.e404-link:hover span { transform: translateX(4px); }
@keyframes e404-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes e404-crack { to { stroke-dashoffset: 0; } }
@media (max-width: 539px) { .e404-actions .btn { width: 100%; } .e404-hero { padding-top: 120px; } }
@media (prefers-reduced-motion: reduce) { .e404-num, .e404-crack path { animation: none; opacity: 1; stroke-dashoffset: 0; } .e404-shine { animation: none; } }

/* 24. Velocidad: el texto principal (lo primero que Google mide) se ve desde el
   primer instante; la entrada solo se desliza, sin partir de invisible. */
.js .hero-in, .js .hero [data-split], .js .art-hero .hero-in, .js .art-hero [data-split] { opacity: 1 !important; }
/* Velocidad en celular: la portada de servicios y blog ocupa la pantalla completa, como en el inicio */
@media (max-width: 767px) { .art-hero, .art-hero--short { min-height: 100svh; } }
/* Velocidad: en servicios y blog el texto de portada aparece fijo, sin animación de entrada */
.js .art-hero .hero-in, .js .art-hero [data-split] { animation: none !important; transform: none !important; }

/* 25. Herramienta de ventanas: efecto "escribiendo" y sugerencia Línea 90 */
.tool-result .typing{display:flex;align-items:center;gap:.6rem;color:var(--muted,#b9b4aa);font-style:italic;margin:0}
.typing-dots{display:inline-flex;gap:5px}
.typing-dots i{width:7px;height:7px;border-radius:50%;background:#c9a24a;opacity:.3;animation:je-typing 1.2s infinite ease-in-out}
.typing-dots i:nth-child(2){animation-delay:.2s}.typing-dots i:nth-child(3){animation-delay:.4s}
@keyframes je-typing{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.typing-dots i{animation:none;opacity:.8}}
.line90-tip{margin:.9rem 0;padding:.8rem 1rem;border:1px solid rgba(201,162,74,.35);border-radius:10px;background:rgba(201,162,74,.08);font-size:.95rem}
.line90-tip a{color:#d9b766;font-weight:600;white-space:nowrap}

/* 26. Asesor de ideas (conversación dentro del modal) */
.idea-chat[hidden], .tool-form[hidden] { display: none; }
.idea-chat { display: grid; gap: .7rem; }
.idea-log { max-height: min(46svh, 420px); min-height: 160px; border: 1px solid var(--line); border-radius: 14px; }
.idea-log .typing { display: inline-flex; align-items: center; gap: .5rem; font-style: italic; color: var(--text-2); }
.idea-photo { justify-self: end; width: min(62%, 220px); border-radius: 12px; border: 1px solid var(--line); }
.idea-quick { padding: 0; background: none; }
.idea-say { padding: 0; border-top: 0; }
.idea-cta { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); }
.idea-cta[hidden] { display: none; }
.idea-cta.is-ready { border-color: rgba(201,162,74,.6); box-shadow: 0 0 0 3px rgba(201,162,74,.12); }
.idea-sum { white-space: pre-line; font-size: 14px; color: var(--text); margin: .35rem 0 .8rem; }
.idea-restart { margin: 0; }
