/* ============================================================
   Tu Consultora — Landing
   Todo lo personalizable vive en :root (colores, radios, fuentes)
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Marca — cambiá estos 3 y cambia toda la landing */
  --brand-600: #4338ca;
  --brand-500: #4f46e5;
  --brand-400: #818cf8;
  --accent:    #14b8a6;

  /* Superficies claro */
  --bg:        #ffffff;
  --bg-alt:    #f7f8fb;
  --surface:   #ffffff;
  --border:    #e6e8f0;
  --text:      #0f1222;
  --text-soft: #565c73;
  --text-mute: #8a90a6;

  --shadow-sm: 0 1px 2px rgba(15, 18, 34, .06), 0 1px 3px rgba(15, 18, 34, .05);
  --shadow-md: 0 4px 12px rgba(15, 18, 34, .07), 0 2px 4px rgba(15, 18, 34, .04);
  --shadow-lg: 0 18px 40px rgba(15, 18, 34, .10), 0 4px 12px rgba(15, 18, 34, .05);
  --shadow-brand: 0 10px 30px rgba(79, 70, 229, .28);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-600: #6366f1;
    --brand-500: #7c7bf5;
    --brand-400: #a5b4fc;
    --accent:    #2dd4bf;

    --bg:        #0b0e14;
    --bg-alt:    #10141d;
    --surface:   #141926;
    --border:    #242b3b;
    --text:      #e8eaf2;
    --text-soft: #a3aabf;
    --text-mute: #7b8299;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, .45);
    --shadow-lg: 0 20px 44px rgba(0, 0, 0, .55);
    --shadow-brand: 0 10px 30px rgba(99, 102, 241, .35);
  }
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--brand-500);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--r-sm);
}
.skip-link:focus { left: 8px; }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }

.section { padding-block: var(--section-y); }
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section__title {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  margin-bottom: .6rem;
}
.section__lead {
  color: var(--text-soft);
  font-size: 1.05rem;
}
.section__note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-soft);
  font-size: .95rem;
}
.section__note a { color: var(--brand-500); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: .75rem;
}

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.grad {
  background: linear-gradient(100deg, var(--brand-500), var(--brand-400) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. BOTONES ---------- */
.btn {
  --btn-py: .78rem;
  --btn-px: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 14px 34px rgba(79, 70, 229, .38); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--brand-400); color: var(--brand-500); }

.btn--whatsapp {
  background: #25d366;
  color: #05270f;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .3);
}
.btn--whatsapp svg { width: 20px; height: 20px; }

.btn--sm  { --btn-py: .6rem; --btn-px: 1.1rem; font-size: .88rem; }
.btn--lg  { --btn-py: 1rem; --btn-px: 1.9rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- 5. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo: red hexagonal de grafeno */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
#grafenoGrad stop:first-child { stop-color: var(--brand-500); }
#grafenoGrad stop:last-child  { stop-color: var(--accent); }

.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo__mark {
  width: 38px; height: 38px;
  flex: none;
  transition: transform .4s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(30deg); }

.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.logo__sub {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  position: relative;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .18s var(--ease);
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--brand-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-active { color: var(--text); }
.nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 700px;
  pointer-events: none;
  background:
    radial-gradient(46% 46% at 22% 34%, color-mix(in srgb, var(--brand-500) 26%, transparent), transparent 70%),
    radial-gradient(40% 40% at 80% 18%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  filter: blur(20px);
}

/* Trama de grafeno de fondo — el mismo motivo hexagonal del logo, en loop */
.hero__lattice {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17.32 30'%3E%3Cg fill='none' stroke='%234f46e5' stroke-width='.55'%3E%3Cpolygon points='0,-10 8.66,-5 8.66,5 0,10 -8.66,5 -8.66,-5'/%3E%3Cpolygon points='17.32,-10 25.98,-5 25.98,5 17.32,10 8.66,5 8.66,-5'/%3E%3Cpolygon points='8.66,5 17.32,10 17.32,20 8.66,25 0,20 0,10'/%3E%3Cpolygon points='0,20 8.66,25 8.66,35 0,40 -8.66,35 -8.66,25'/%3E%3Cpolygon points='17.32,20 25.98,25 25.98,35 17.32,40 8.66,35 8.66,25'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 58px 100.46px;
  -webkit-mask-image: radial-gradient(115% 75% at 50% 12%, #000 22%, transparent 72%);
  mask-image: radial-gradient(115% 75% at 50% 12%, #000 22%, transparent 72%);
}
@media (prefers-color-scheme: dark) {
  .hero__lattice {
    opacity: .22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17.32 30'%3E%3Cg fill='none' stroke='%23a5b4fc' stroke-width='.55'%3E%3Cpolygon points='0,-10 8.66,-5 8.66,5 0,10 -8.66,5 -8.66,-5'/%3E%3Cpolygon points='17.32,-10 25.98,-5 25.98,5 17.32,10 8.66,5 8.66,-5'/%3E%3Cpolygon points='8.66,5 17.32,10 17.32,20 8.66,25 0,20 0,10'/%3E%3Cpolygon points='0,20 8.66,25 8.66,35 0,40 -8.66,35 -8.66,25'/%3E%3Cpolygon points='17.32,20 25.98,25 25.98,35 17.32,40 8.66,35 8.66,25'/%3E%3C/g%3E%3C/svg%3E");
  }
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .9rem .42rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%, transparent); }
}

.hero__title {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  margin: 1.2rem 0 1rem;
  letter-spacing: -.035em;
}
.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--text-soft);
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  font-size: .88rem;
  color: var(--text-mute);
}
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust li::before {
  content: '';
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Mockup del hero */
.hero__visual { position: relative; }
.mock {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .5s var(--ease);
}
.hero__visual:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }

.mock__bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.mock__bar > span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.mock__bar > span:first-child { background: #ff5f57; }
.mock__bar > span:nth-child(2) { background: #febc2e; }
.mock__bar > span:nth-child(3) { background: #28c840; }
.mock__url {
  flex: 1;
  margin-left: .6rem;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: .7rem;
  color: var(--text-mute);
}

.mock__body { padding: 1.1rem; display: grid; gap: .75rem; }
.mock__hero {
  height: 108px;
  border-radius: var(--r-md);
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400) 60%, var(--accent));
  opacity: .9;
}
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock__card {
  height: 54px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.mock__line {
  height: 9px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: .7rem 1rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}
.chip strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--brand-500); }
.chip span { font-size: .72rem; color: var(--text-mute); }
.chip--1 { top: 12%; left: -6%; }
.chip--2 { bottom: 10%; right: -4%; animation-delay: -2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.stat dt { font-size: .82rem; color: var(--text-mute); order: 2; }
.stat dd {
  order: 1;
  margin: 0 0 .25rem;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  color: var(--brand-500);
  letter-spacing: -.03em;
}

/* ---------- 7. CARDS / SERVICIOS ---------- */
.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand-500) 35%, var(--border));
}
.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--brand-500) 12%, transparent);
}
.card__icon svg {
  width: 23px; height: 23px;
  fill: none;
  stroke: var(--brand-500);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { font-size: 1.13rem; margin-bottom: .5rem; }
.card p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* ---------- 8. PROCESO ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.step__num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--brand-500) 55%, transparent);
  margin-bottom: .85rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.step p { color: var(--text-soft); font-size: .93rem; margin: 0; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.6rem;
  right: -1.05rem;
  width: 10px; height: 10px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: rotate(45deg);
}
@media (max-width: 900px) { .step::after { display: none !important; } }

/* ---------- 9. CASOS ---------- */

/* Caso destacado (layout de 2 columnas, para cuando hay un solo proyecto) */
.case-featured {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.case-featured__media { display: block; }
.case-featured__media .mock {
  transform: perspective(1600px) rotateY(4deg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.case-featured__media:hover .mock {
  transform: perspective(1600px) rotateY(0deg) translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 2px color-mix(in srgb, var(--brand-500) 40%, transparent);
}

/* La captura. Si el archivo no existe todavía, se ve el degradado de abajo. */
.shot {
  aspect-ratio: 16 / 11;
  background-image:
    url('../assets/caso-aurapaula.jpg'),
    linear-gradient(135deg, #d8c3b4, #b98f7a 45%, #7c5a63);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.case-featured__body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: .8rem 0 .4rem; }
.case-featured__claim {
  color: var(--brand-500);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: .9rem;
}
.case-featured__body > p { color: var(--text-soft); }

.case-featured__list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.case-featured__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .93rem;
  color: var(--text-soft);
}
.case-featured__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55rem;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* Chips de tecnologías */
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
.stack li {
  padding: .32rem .8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-soft);
}

/* Doble clase para ganarle en especificidad a .case__tag, que se define más abajo */
.case__tag.case__tag--solid {
  display: inline-block;
  background: color-mix(in srgb, var(--brand-500) 14%, transparent);
  color: var(--brand-500);
}

/* Tarjeta de caso en grilla — lista para cuando sumes más proyectos */
.case {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.case__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400) 55%, var(--accent));
  background-size: cover;
  background-position: top center;
}

.case__tag {
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #0f1222;
  font-size: .72rem;
  font-weight: 700;
}
.case__body { padding: 1.4rem 1.5rem 1.6rem; }
.case__body h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.case__body p { color: var(--text-soft); font-size: .93rem; }
.case__result {
  margin-top: .9rem !important;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
  color: var(--text) !important;
  font-size: .9rem !important;
}
.case__result strong { color: var(--accent); font-family: var(--font-head); font-size: 1.05rem; }

/* ---------- 10. PRECIOS ---------- */
.pricing { align-items: start; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--brand-500);
}
@media (min-width: 1000px) {
  .plan--featured { transform: scale(1.035); }
}
.plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: .32rem .9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.plan__name { font-size: 1.2rem; margin-bottom: .3rem; }
.plan__desc { color: var(--text-mute); font-size: .9rem; }
.plan__price {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 1.2rem 0 .2rem;
  line-height: 1;
}
.plan__price--custom { font-size: 1.9rem; color: var(--brand-500); }
.plan__cur { font-size: 1rem; color: var(--text-mute); vertical-align: super; margin-right: .2rem; }
.plan__meta { font-size: .82rem; color: var(--text-mute); margin-bottom: 1.5rem; }

.plan__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: .7rem;
  flex: 1;
}
.plan__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .93rem;
  color: var(--text-soft);
}
.plan__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .28rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- 11. TESTIMONIOS ---------- */
.quote {
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote__stars { color: #f5a623; letter-spacing: .12em; margin-bottom: .9rem; font-size: .95rem; }
.quote blockquote { margin: 0 0 1.4rem; flex: 1; }
.quote blockquote p { color: var(--text-soft); font-size: .97rem; }
.quote figcaption {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.quote figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.quote figcaption strong { font-size: .93rem; }
.quote figcaption small { color: var(--text-mute); font-size: .82rem; }
.avatar {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
}

/* ---------- 12. FAQ ---------- */
.faq {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.faq__item + .faq__item { border-top: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  transition: color .18s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary { color: var(--brand-500); }
.faq__item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--brand-500);
}
.faq__item summary:hover { color: var(--brand-500); }
.faq__answer { padding: 0 1.4rem 1.3rem; }
.faq__answer p { color: var(--text-soft); font-size: .95rem; max-width: 68ch; }

/* ---------- 13. CONTACTO ---------- */
.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__info .section__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.contact__list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .95rem;
  color: var(--text-soft);
}
.contact__list svg {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: var(--brand-500);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__list a:hover { color: var(--brand-500); }

.form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: .87rem; font-weight: 600; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  font-size: .95rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-500) 18%, transparent);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a90a6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.field__error { font-size: .8rem; color: #e5484d; min-height: 0; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #e5484d; }

/* honeypot anti-spam */
.hp { position: absolute; left: -9999px; opacity: 0; }

.form__note { font-size: .78rem; color: var(--text-mute); text-align: center; margin: 0; }
.form__status { margin: 0; font-size: .9rem; text-align: center; font-weight: 600; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-error { color: #e5484d; }

/* ---------- 14. FOOTER ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand p {
  margin-top: 1rem;
  max-width: 34ch;
  color: var(--text-soft);
  font-size: .92rem;
}
.footer__col h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-mute);
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__col a, .footer__col li { font-size: .92rem; color: var(--text-soft); }
.footer__col a:hover { color: var(--brand-500); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-mute);
}
.footer__bottom p { margin: 0; }
.footer__top:hover { color: var(--brand-500); }

/* ---------- 15. SCROLL REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .36s; }

/* ---------- 16. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .case-featured { grid-template-columns: 1fr; }
  .case-featured__media .mock { transform: none; }
  .case-featured__media:hover .mock { transform: translateY(-4px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; }
  .mock { transform: none; }
  .chip--1 { left: 0; }
  .chip--2 { right: 0; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem var(--gutter) 1.75rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block;
    padding: .85rem .25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 1rem; justify-content: center; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions .btn { flex: 1; }
  .chip { padding: .55rem .8rem; }
  .chip strong { font-size: 1rem; }
}

/* ---------- 17. PREFERENCIAS / PRINT ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav, .hero__glow, .chip, .form, .footer__top { display: none !important; }
  body { color: #000; background: #fff; }
  [data-reveal] { opacity: 1; transform: none; }
}
