/* =================================================================
   ZENTA ATELIER · styles.css
   Estética: boutique de lujo / atelier artesano
   Paleta:  Grafito #1A1A1A · Dorado champán #C9A24B · Crema #FAF9F6
   Tipos:   Fraunces (titulares) · Inter (cuerpo)
   ================================================================= */

:root {
  /* Colores de marca */
  --graphite: #1a1a1a;
  --graphite-soft: #2a2a2a;
  --gold: #c9a24b;
  --gold-soft: #d9b97a;
  --cream: #faf9f6;
  --cream-dark: #f1efe9;
  --line: #e6e3db;
  --text: #1a1a1a;
  --text-muted: #6b6760;
  --text-on-dark: #f3f1ec;
  --text-on-dark-muted: #b3aea4;

  /* Tipografías */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  /* Medidas */
  --maxw: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Tipografía base ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  position: relative;
  padding-left: 38px;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 26px; height: 1px;
  background: var(--gold);
}
.kicker-light { color: var(--gold-soft); }

.section-title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--graphite); }
.section-lead { font-size: 1.08rem; color: var(--text-muted); max-width: 46ch; margin-top: 1.1rem; }
.section-lead-light { color: var(--text-on-dark-muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
}
.btn-lg { padding: 1.05rem 2.2rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: var(--graphite);
  color: var(--cream);
  border-color: var(--graphite);
}
.btn-gold::after {
  content: "";
  position: absolute;
  left: 1.7rem; right: 1.7rem; bottom: 0.6rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn-gold:hover { background: var(--graphite-soft); }
.btn-gold:hover::after { transform: scaleX(1); }

.btn-ghost {
  background: transparent;
  color: var(--graphite);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0.6rem 0;
}
.site-header.scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-logo { height: 42px; width: auto; }

.nav { display: flex; gap: 1.7rem; margin-left: auto; }
.nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--graphite);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}
.nav-cta { white-space: nowrap; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { margin-left: 0.5rem; }

/* Toggle móvil */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--graphite); transition: all 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  background: var(--cream);
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
}
.mobile-menu.open { max-height: 460px; padding: 1rem 28px 1.6rem; border-top: 1px solid var(--line); }
.mobile-menu a { padding: 0.85rem 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 1rem; border: 0; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: var(--cream);
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(201, 162, 75, 0.08), transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 162, 75, 0.18);
  border-radius: 50%;
}
.hero-bg::before { width: 520px; height: 520px; top: -180px; right: -160px; }
.hero-bg::after  { width: 360px; height: 360px; bottom: -140px; left: -120px; }

.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero-logo { width: 130px; margin: 0 auto 2rem; }
.hero-eyebrow {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem;
}
.hero-title { font-size: clamp(2.6rem, 6.5vw, 4.6rem); color: var(--graphite); font-weight: 400; }
.hero-title em { color: var(--graphite); position: relative; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 56ch; margin: 1.8rem auto 2.6rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(26, 26, 26, 0.3);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =================================================================
   SECCIONES GENÉRICAS
   ================================================================= */
.section { padding: 6.5rem 0; }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }

/* ---------- Servicios ---------- */
.services { background: var(--cream); }
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem 2.4rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(26, 26, 26, 0.28); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-num { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.1em; }
.card-title { font-size: 1.75rem; margin: 0.5rem 0 0.2rem; color: var(--graphite); }
.card-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.1rem; }
.card-text { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 1.6rem; }
.card-cta { font-size: 0.85rem; font-weight: 600; color: var(--graphite); display: inline-flex; align-items: center; gap: 0.45rem; }
.card-cta::after { content: "→"; color: var(--gold); transition: transform 0.35s var(--ease); }
.card-cta:hover { color: var(--gold); }
.card-cta:hover::after { transform: translateX(5px); }

.card-featured { background: var(--graphite); border-color: var(--graphite); }
.card-featured .card-title, .card-featured .card-num { color: var(--gold); }
.card-featured .card-text { color: var(--text-on-dark-muted); }
.card-featured .card-tag { color: var(--gold-soft); }
.card-featured .card-cta { color: var(--cream); }
.card-featured .card-cta:hover { color: var(--gold); }
.card-badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--graphite); background: var(--gold);
  padding: 0.3rem 0.7rem; border-radius: 100px;
}

/* ---------- Proceso ---------- */
.process { background: var(--cream-dark); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 2rem; border-top: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); display: block; line-height: 1; margin-bottom: 1rem; }
.step-title { font-size: 1.4rem; color: var(--graphite); margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Por qué Zenta ---------- */
.why { background: var(--graphite); color: var(--text-on-dark); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.why-intro .section-title { color: var(--cream); }
.why-list { list-style: none; display: grid; gap: 0; }
.why-item { padding: 1.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: padding 0.4s var(--ease); }
.why-item:first-child { padding-top: 0; }
.why-item h3 { font-size: 1.35rem; color: var(--cream); margin-bottom: 0.35rem; position: relative; padding-left: 0; transition: padding 0.4s var(--ease); }
.why-item h3::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.why-item:hover { padding-left: 1.6rem; }
.why-item:hover h3::before { width: 1.1rem; left: -1.6rem; }
.why-item p { color: var(--text-on-dark-muted); font-size: 0.98rem; }

/* ---------- Casos de éxito ---------- */
.cases { background: var(--cream-dark); }
.cases .section-head { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.cases .section-head .kicker { padding-left: 0; }
.cases .section-head .kicker::before { display: none; }
.cases .section-lead { margin-left: auto; margin-right: auto; }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; max-width: 940px; margin: 0 auto; }
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.case:hover { transform: translateY(-6px); box-shadow: 0 26px 55px -30px rgba(26, 26, 26, 0.3); }
.case-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--graphite);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.case:hover .case-media img { transform: scale(1.05); }
.case-chip {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--graphite); background: var(--gold);
  padding: 0.35rem 0.8rem; border-radius: 100px;
}
.case-body { padding: 1.8rem 1.8rem 2rem; flex: 1; display: flex; flex-direction: column; }
.case-name { font-size: 1.7rem; color: var(--graphite); }
.case-loc { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin: 0.4rem 0 0.9rem; }
.case-text { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 1.4rem; flex: 1; }
.case-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--graphite);
  display: inline-flex; align-items: center; gap: 0.45rem;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 1.3rem;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.case-link::after { content: "↗"; color: var(--gold); transition: transform 0.35s var(--ease); }
.case-link:hover { color: var(--gold); border-color: var(--gold); background: #fff; }
.case-link:hover::after { transform: translate(3px, -3px); }

/* ---------- Demo Chatbot ---------- */
.demo { background: var(--cream); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.demo-points { list-style: none; margin: 1.8rem 0 1.4rem; display: grid; gap: 0.8rem; }
.demo-points li { position: relative; padding-left: 1.8rem; color: var(--text); font-size: 1rem; }
.demo-points li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.demo-note { font-size: 0.82rem; color: var(--text-muted); font-style: italic; }

.chat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 70px -40px rgba(26, 26, 26, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 540px;
}
.chat-header { display: flex; align-items: center; gap: 0.85rem; padding: 1.1rem 1.3rem; background: var(--graphite); }
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  color: var(--gold); background: rgba(201, 162, 75, 0.14);
  border: 1px solid rgba(201, 162, 75, 0.4);
}
.chat-meta strong { color: var(--cream); font-size: 0.98rem; font-weight: 600; font-family: var(--sans); display: block; }
.chat-status { font-size: 0.76rem; color: var(--text-on-dark-muted); display: flex; align-items: center; gap: 0.4rem; }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #5cc98b; display: inline-block; }

.chat-body { flex: 1; overflow-y: auto; padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.85rem; background: var(--cream); }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.msg { max-width: 80%; padding: 0.72rem 1rem; font-size: 0.92rem; line-height: 1.5; border-radius: 14px; animation: msgIn 0.4s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg-bot { background: #fff; border: 1px solid var(--line); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-user { background: var(--graphite); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }

/* Typing indicator */
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typing 1.3s infinite; }
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.3rem; }
.chat-quick:not(:empty) { padding-bottom: 0.4rem; padding-top: 0.2rem; }
.quick-btn {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  color: var(--graphite); background: transparent;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 0.45rem 0.95rem; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.quick-btn:hover { border-color: var(--gold); color: var(--gold); }
.quick-btn.quick-cta { background: var(--gold); border-color: var(--gold); color: var(--graphite); font-weight: 600; }
.quick-btn.quick-cta:hover { background: var(--gold-soft); color: var(--graphite); }

.chat-input { display: flex; gap: 0.6rem; padding: 0.9rem 1.1rem; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; border: 1px solid var(--line); border-radius: 100px; padding: 0.7rem 1.1rem; font-family: var(--sans); font-size: 0.9rem; outline: none; transition: border-color 0.3s var(--ease); }
.chat-input input:focus { border-color: var(--gold); }
.chat-input button { width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--graphite); color: var(--cream); display: grid; place-items: center; cursor: pointer; transition: background 0.3s var(--ease); }
.chat-input button:hover { background: var(--gold); color: var(--graphite); }

/* ---------- Contacto ---------- */
.contact { background: var(--cream-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-direct { margin-top: 2rem; }
.contact-email, .contact-phone { margin-top: 1.6rem; font-size: 0.95rem; }
.contact-email span, .contact-phone span { display: block; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.25rem; }
.contact-email a, .contact-phone a { font-family: var(--serif); font-size: 1.3rem; color: var(--graphite); border-bottom: 1px solid var(--gold); transition: color 0.3s var(--ease); }
.contact-email a:hover, .contact-phone a:hover { color: var(--gold); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.6rem; }
.field { margin-bottom: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--graphite); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.95rem; color: var(--text);
  padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); outline: none; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field input.invalid, .field select.invalid { border-color: #c0573f; background: #fcf3f1; }
.field-error { display: block; font-size: 0.78rem; color: #c0573f; margin-top: 0.35rem; min-height: 0; }

.form-success {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 1.4rem; padding: 1.1rem 1.3rem;
  background: rgba(92, 201, 139, 0.1); border: 1px solid rgba(92, 201, 139, 0.4); border-radius: var(--radius);
  animation: msgIn 0.5s var(--ease);
}
.form-success-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #5cc98b; color: #fff; display: grid; place-items: center; font-size: 0.95rem; }
.form-success p { color: var(--graphite); font-weight: 500; }
.form-fallback { margin-top: 1rem; font-size: 0.88rem; color: #c0573f; }
.form-fallback a { border-bottom: 1px solid currentColor; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--graphite); color: var(--text-on-dark); padding: 4.5rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { width: 150px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--text-on-dark-muted); font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--text-on-dark-muted); font-size: 0.95rem; padding: 0.35rem 0; transition: color 0.3s var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding-top: 1.8rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-on-dark-muted); }
.footer-legal { max-width: 50ch; }

/* =================================================================
   ANIMACIÓN REVEAL AL HACER SCROLL
   ================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Pequeño escalonado para grupos */
.cards .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal:nth-child(4) { transition-delay: 0.24s; }
.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-cue span { animation: none; }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
/* Cambio a menú hamburguesa antes de que la barra se amontone */
@media (max-width: 960px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
}

@media (max-width: 920px) {
  .why-grid, .demo-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; }
  .chat { height: 500px; }
}

@media (max-width: 760px) {
  .section { padding: 4.5rem 0; }
  .cards { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.8rem 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; padding: 8rem 0 5rem; }
}

@media (max-width: 460px) {
  .container { padding: 0 20px; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
