/* ============================================================
   Marketing Torreón — styles.css
   Identidad oficial "Concept A": símbolo M ascendente.
   Lenguaje: geometría 45°, diagonales, minimalismo premium.
   Paleta exclusiva: #CB5A3D · #1C140F · #F7F5F2 · #0A0A0A
   ============================================================ */

/* ---------- Fonts ----------
   Display/UI: Geist (grotesca geométrica, carácter Söhne).
   Texto: Inter (lectura cómoda y neutra). */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Paleta oficial Concept A (+ variantes solo por accesibilidad) */
  --bg:          #F7F5F2;   /* blanc cassé */
  --bg-tint:     #EFEAE3;
  --surface:     #FFFFFF;
  --ink:         #1C140F;   /* brun foncé */
  --muted:       #5C534B;
  --line:        #E4DED4;
  --primary:     #CB5A3D;   /* terracotta */
  --primary-600: #A8482D;   /* AA sobre claro (botones) */
  --primary-700: #8C3A23;   /* hover / texto pequeño */
  --primary-ink: #8C3A23;
  --primary-300: #E08A6C;   /* AA sobre oscuro */
  --deep:        #1C140F;
  --deep-2:      #0A0A0A;   /* noir profond */
  --deep-ink:    #F7F5F2;
  --deep-muted:  #B3A79C;

  /* type */
  --font-display: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.8vw, 2.9rem);
  --step-4:  clamp(2.6rem, 2rem + 3.2vw, 4.4rem);

  /* space */
  --sp-section: clamp(4.5rem, 3.4rem + 6vw, 8.5rem);
  --container: 1180px;

  /* geometría del sistema (ángulos del símbolo M) */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-btn: 12px;

  --shadow-sm: 0 1px 2px rgba(28, 20, 15, 0.06);
  --shadow-md: 0 12px 32px -14px rgba(28, 20, 15, 0.22);
  --shadow-lg: 0 28px 60px -26px rgba(28, 20, 15, 0.32);

  /* z-scale */
  --z-sticky: 100;
  --z-nav: 200;
  --z-overlay: 300;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary-600); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(203, 90, 61, 0.25); }

/* Títulos: Geist, presencia geométrica y tracking cerrado */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
  color: var(--ink);
}
h1 em, h2 em { font-style: normal; color: var(--primary-600); }
h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}
p { text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--sp-section); position: relative; }

/* Kicker de marca: trazo diagonal del símbolo + caps espaciadas */
.eyebrow-strong {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--primary-700);
}
.eyebrow-strong::before {
  content: ""; width: 16px; height: 3px; flex: none;
  background: var(--primary); transform: skewX(-38deg);
}
.section-head { max-width: 62ch; }
.section-head h2 { font-size: var(--step-3); margin-block: 0.7rem 0.7rem; }
.section-head .lead { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.lead { max-width: 65ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-0);
  letter-spacing: 0.005em;
  padding: 0.92rem 1.6rem; border-radius: var(--radius-btn); border: 1px solid transparent;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--primary-600); color: var(--deep-ink); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-1px); background: var(--primary-700); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(28, 20, 15, 0.22); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-wa { background: oklch(0.72 0.16 155); color: #063a22; }
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -16px oklch(0.55 0.15 155 / .6); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: var(--step-1); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  backdrop-filter: saturate(1.3) blur(10px);
  background: rgba(247, 245, 242, 0.85);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.95rem; }

/* Lockup oficial: símbolo M + wordmark (zona de protección = gap; mínimo 26 px) */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand .mark { width: 30px; height: 27px; flex: none; color: var(--primary); }
.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.15em; color: var(--ink); line-height: 1.05;
}
.brand-word small {
  display: block; font-size: 0.57rem; font-weight: 600;
  letter-spacing: 0.46em; color: var(--primary-600); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; padding: 0; }
.nav-links a { font-weight: 500; font-size: var(--step--1); color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.4rem; color: var(--ink); }

/* mobile nav */
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -0.4rem; }
  .mobile-menu {
    position: fixed; inset: 0; z-index: var(--z-overlay); overflow: hidden auto;
    background: var(--bg); padding: 5rem 1.5rem 2rem;
    display: flex; flex-direction: column; gap: 0.4rem;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 1.2rem; white-space: normal; }
  .mobile-close { position: absolute; top: 0.8rem; right: 1rem; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ---------- Media frame (fotos y video reales) ---------- */
.media-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--bg-tint);
}
.media-frame.ratio { aspect-ratio: 1000 / 707; }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-frame .media-tag {
  position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--ink);
  background: rgba(247, 245, 242, 0.9); backdrop-filter: blur(6px);
  padding: 0.5rem 0.85rem; border-radius: 8px; box-shadow: var(--shadow-sm);
}
.media-frame .media-tag::before {
  content: ""; width: 12px; height: 3px; flex: none;
  background: var(--primary); transform: skewX(-38deg);
}
.media-frame .media-tag-dark { background: rgba(10, 10, 10, 0.66); color: var(--deep-ink); }
.media-frame .media-tag-dark::before { background: var(--primary-300); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 2rem + 3vw, 5rem); padding-bottom: var(--sp-section); overflow: clip; }
/* Trama diagonal 45° del símbolo — apenas perceptible */
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; width: 52%; height: 78%; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(28, 20, 15, 0.05) 0 1.5px, transparent 1.5px 16px);
  -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 60%);
          mask-image: linear-gradient(225deg, #000 0%, transparent 60%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1.04; }
.hero h1 .accent { color: var(--primary-600); }
.hero .lead { margin-top: 1.4rem; font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.1rem; }
.hero-trust { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); color: var(--muted); font-weight: 500; }
.hero-trust svg { width: 1.15em; height: 1.15em; color: var(--primary-600); flex: none; }

/* Composición del visual: video retrato + plano terracota en diagonal */
.hero-visual { position: relative; width: 100%; max-width: 400px; justify-self: end; }
.hero-visual::before {
  content: ""; position: absolute; right: -18px; bottom: -18px; z-index: 0;
  width: 62%; height: 46%; background: var(--primary);
  transform: skewX(-14deg); border-radius: 6px;
}
.hero-media { position: relative; z-index: 1; aspect-ratio: 510 / 806; }
.hero-visual .proof-chip {
  position: absolute; z-index: 2; left: -0.9rem; top: 1.6rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--deep); color: var(--deep-ink); font-size: 0.8rem; font-weight: 600;
  font-family: var(--font-display);
  padding: 0.6rem 0.9rem; border-radius: 8px; box-shadow: var(--shadow-md);
}
.hero-visual .proof-chip svg { width: 1.05rem; height: 1.05rem; color: var(--primary-300); }

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--bg-tint); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 2rem; padding-block: 1.25rem; justify-content: center; text-align: center; }
.trust-strip p { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.trust-strip .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.chip { font-size: var(--step--1); font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 0.42rem 0.85rem; border-radius: 8px; }

/* ---------- Problema (sección oscura) ---------- */
.problem { background: var(--deep); color: var(--deep-ink); overflow: clip; }
.problem h2, .problem h3 { color: var(--deep-ink); }
.problem .eyebrow-strong { color: var(--primary-300); }
.problem .eyebrow-strong::before { background: var(--primary-300); }
.problem .lead { color: var(--deep-muted); }
.problem-grid { position: relative; z-index: 1; margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.9rem; }
.pain {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: rgba(247, 245, 242, 0.05); border: 1px solid rgba(247, 245, 242, 0.1);
  padding: 1.15rem 1.2rem; border-radius: var(--radius-sm);
}
.pain svg { width: 1.35rem; height: 1.35rem; color: var(--primary-300); flex: none; margin-top: 2px; }
.pain p { color: var(--deep-ink); font-weight: 500; }

/* ---------- Solución ---------- */
.solution-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: center; }
.solution-visual { position: relative; }

/* ---------- Servicios (bento) ---------- */
.services-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s;
  position: relative; overflow: hidden;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc .svc-ic {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: rgba(203, 90, 61, 0.1); color: var(--primary-700); margin-bottom: 0.35rem;
}
.svc h3 { font-size: var(--step-1); }
.svc p { color: var(--muted); font-size: var(--step-0); }
.svc .svc-tag { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); color: var(--primary-700); display: inline-flex; align-items: center; gap: 0.4rem; }
/* bento 6 col: 4+2 / 2+4 / 3+3 */
.svc.s4 { grid-column: span 4; }
.svc.s3 { grid-column: span 3; }
.svc.s2 { grid-column: span 2; }
.svc.feat { background: linear-gradient(150deg, rgba(203, 90, 61, 0.06), var(--surface) 55%); }
.svc.feat .svc-ic { background: var(--primary-600); color: var(--deep-ink); }
.svc.feat .svc-decor {
  position: absolute; right: -36px; bottom: -14px; width: 130px; height: 160px;
  background: rgba(203, 90, 61, 0.08); transform: skewX(-18deg);
}

/* ---------- Por qué elegirnos ---------- */
.why { background: var(--bg-tint); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: start; }
.why-list { display: grid; gap: 0.9rem; }
.why-item { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.15rem 1.2rem; }
.why-item .ic { width: 42px; height: 42px; border-radius: var(--radius-sm); flex: none; display: grid; place-items: center; background: rgba(203, 90, 61, 0.1); color: var(--primary-700); }
.why-item h3 { font-size: var(--step-0); }
.why-item p { color: var(--muted); font-size: var(--step--1); margin-top: 2px; }
.why-media { margin-top: 2rem; }

/* ---------- Beneficios ---------- */
.benefits { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.benefit {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.6rem 1.7rem;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s;
}
.benefit::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.benefit:hover::before { transform: scaleX(1); }
.benefit-n {
  position: absolute; top: 1.15rem; right: 1.3rem; font-family: var(--font-display);
  font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em;
  color: rgba(203, 90, 61, 0.22);
}
.benefit-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); background: rgba(203, 90, 61, 0.1); color: var(--primary-700); margin-bottom: 1rem; }
.benefit-ic svg { width: 24px; height: 24px; }
.benefit h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.benefit p { color: var(--muted); font-size: var(--step-0); line-height: 1.6; }
a.benefit { cursor: pointer; display: block; }
a.benefit h3 { color: var(--ink); }
.benefits-media { max-width: 940px; margin: 3rem auto 0; aspect-ratio: 1000 / 562; }

/* ---------- Testimonios ---------- */
.testi-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.2rem; }
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: 0.95rem; }
.stars { display: flex; gap: 3px; color: var(--primary); }
.stars svg { width: 1.05rem; height: 1.05rem; }
.testi blockquote { font-size: var(--step-1); line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.testi .who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.testi .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--deep-ink); background: linear-gradient(135deg, var(--primary), var(--primary-700)); }
.testi .who strong { display: block; font-weight: 600; font-family: var(--font-display); }
.testi .who span { color: var(--muted); font-size: var(--step--1); }
.testi-note { margin-top: 1.4rem; font-size: var(--step--1); color: var(--muted); }

/* ---------- Proceso ---------- */
.steps { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1rem; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; color: var(--primary-600); line-height: 1; }
.step h3 { font-size: var(--step-1); margin: 0.55rem 0; }
.step p { color: var(--muted); font-size: var(--step-0); }

/* ---------- FAQ ---------- */
.faq-section { background: var(--bg-tint); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: start; }
.faq-intro { position: sticky; top: 5.5rem; }
.faq-intro h2 { font-size: var(--step-3); margin-block: 0.7rem 0.7rem; }
.faq-intro .lead { color: var(--muted); }
.faq-intro .btn { margin-top: 1.6rem; }
.faq-list { display: grid; gap: 0.8rem; }
.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.4rem; transition: border-color .25s, box-shadow .25s;
}
.faq[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.3rem 0; font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-0); color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--primary-600); outline-offset: 4px; border-radius: 6px; }
.faq-icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--primary-600); transform: translate(-50%,-50%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq-body { padding: 0 0 1.35rem; }
.faq-body p { color: var(--muted); font-size: var(--step-0); line-height: 1.65; max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq[open] .faq-body { animation: faqReveal .35s ease; }
}
@keyframes faqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: clip; }
/* Marca de agua: el propio símbolo M, casi imperceptible */
.cta-inner {
  position: relative; z-index: 1; border-radius: 24px; overflow: hidden;
  padding: clamp(2.5rem,1.5rem+5vw,4.5rem); text-align: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 116'%3E%3Cpath d='M16 102V44L52 80 110 22' fill='none' stroke='%23F7F5F2' stroke-opacity='.06' stroke-width='22' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat right -70px bottom -80px / 460px auto,
    linear-gradient(135deg, var(--deep), var(--deep-2));
}
.cta-inner h2 { position: relative; color: var(--deep-ink); font-size: var(--step-3); }
.cta-inner p { position: relative; color: var(--deep-muted); font-size: var(--step-1); margin: 1rem auto 0; max-width: 55ch; }
.cta-btns { position: relative; display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.1rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: start; }
.contact-info { display: grid; gap: 0.9rem; }
.info-row { display: flex; gap: 0.9rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.05rem 1.15rem; transition: border-color .2s, transform .2s; }
a.info-row:hover { border-color: var(--primary-600); transform: translateX(3px); }
.info-row .ic { width: 44px; height: 44px; border-radius: var(--radius-sm); flex: none; display: grid; place-items: center; background: rgba(203, 90, 61, 0.1); color: var(--primary-700); }
.info-row strong { display: block; font-weight: 600; font-family: var(--font-display); }
.info-row span { color: var(--muted); font-size: var(--step--1); }
.socials { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.socials a { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .2s, color .2s, border-color .2s; }
.socials a:hover { transform: translateY(-3px); color: var(--primary-700); border-color: var(--primary-600); }

/* Formulario: campos blancos con línea fina, foco terracota */
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.7rem, 1rem + 2.6vw, 2.8rem); box-shadow: var(--shadow-md);
}
.form-head { margin-bottom: 1.9rem; }
.form-head h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }
.form-head p { color: var(--muted); font-size: var(--step--1); margin-top: 0.5rem; line-height: 1.55; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.field { display: grid; gap: 0.6rem; margin-bottom: 1.5rem; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--step-0); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.95rem 1.05rem; width: 100%; min-width: 0;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8B8178; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(28, 20, 15, 0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--surface); border-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(203, 90, 61, 0.14);
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.6; }

/* select personalizado */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select-caret { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }

.form button[type="submit"] { margin-top: 0.4rem; }
.form-note {
  margin-top: 1.15rem; display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  text-align: center; font-size: 0.8rem; color: var(--muted);
}
.form-note svg { flex: none; color: var(--primary-700); }

/* ---------- Footer (noir profond) ---------- */
.footer { background: var(--deep-2); color: var(--deep-ink); padding-block: clamp(2.5rem,2rem+2vw,3.5rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: var(--deep-ink); font-size: var(--step-0); margin-bottom: 0.85rem; }
.footer ul { list-style: none; display: grid; gap: 0.5rem; padding: 0; }
.footer a { color: var(--deep-muted); transition: color .2s; }
.footer a:hover { color: var(--deep-ink); }
.footer .brand-word { color: var(--deep-ink); }
.footer .brand-word small { color: var(--primary-300); }
.footer p { color: var(--deep-muted); font-size: var(--step--1); margin-top: 0.8rem; max-width: 40ch; }
.footer-socials { margin-top: 1.1rem; }
.footer-socials a { background: rgba(247, 245, 242, 0.06); border-color: rgba(247, 245, 242, 0.14); color: var(--deep-ink); }
.footer-socials a:hover { background: var(--primary-600); border-color: var(--primary-600); color: var(--deep-ink); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(247, 245, 242, 0.12); margin-top: 2.3rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; color: var(--deep-muted); font-size: var(--step--1); }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: var(--z-sticky);
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: oklch(0.72 0.16 155); color: #063a22; font-weight: 700;
  padding: 0.8rem 1.05rem; border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: transform .25s;
}
.fab:hover { transform: scale(1.05); }
.fab svg { width: 1.4rem; height: 1.4rem; }
.fab span { font-size: 0.9rem; }
@media (max-width: 520px) { .fab span { display: none; } .fab { padding: 0.9rem; } }

/* ---------- Gracias (thank you) ---------- */
.gracias { position: relative; overflow: clip; text-align: center; padding-top: clamp(3rem,2rem+4vw,6rem); }
.gracias::before {
  content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 70%; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(28, 20, 15, 0.05) 0 1.5px, transparent 1.5px 16px);
  -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 60%);
          mask-image: linear-gradient(225deg, #000 0%, transparent 60%);
}
.gracias-inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; display: grid; justify-items: center; gap: 0.6rem; }
.gracias-check {
  width: 74px; height: 74px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 0.6rem;
  color: var(--deep-ink); background: linear-gradient(140deg, var(--primary), var(--primary-700));
  box-shadow: 0 16px 34px -14px rgba(203, 90, 61, 0.55);
}
.gracias-check svg { width: 38px; height: 38px; }
.gracias h1 { font-size: var(--step-4); line-height: 1.05; }
.gracias .lead { margin-top: 0.4rem; color: var(--muted); font-size: var(--step-1); }
.gracias .hero-cta { justify-content: center; margin-top: 1.9rem; }

/* ---------- Iconografía: un solo trazo (2) en todos los chips ---------- */
.svc-ic svg, .benefit-ic svg, .why-item .ic svg, .info-row .ic svg, .pain svg, .hero-trust svg { stroke-width: 2; }

/* ---------- Reveal motion ----------
   El estado oculto solo existe con html.js + sin reduced-motion:
   el contenido siempre es visible por defecto. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal.d1 { transition-delay: .08s; } html.js .reveal.d2 { transition-delay: .16s; } html.js .reveal.d3 { transition-delay: .24s; }
}
/* Failsafe: fuerza todo visible aunque rAF esté congelado (renderers headless). */
html.reveal-all .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .solution-grid, .why-grid, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; max-width: 340px; margin-inline: auto; justify-self: center; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc.s4, .svc.s3, .svc.s2 { grid-column: auto; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
}
