/* ---------- Fonts ---------- */
@font-face { font-family: 'Outfit'; src: url('../../02-Marca/fuentes/outfit-400.woff2') format('woff2'); font-weight: 400; }
@font-face { font-family: 'Outfit'; src: url('../../02-Marca/fuentes/outfit-500.woff2') format('woff2'); font-weight: 500; }
@font-face { font-family: 'Outfit'; src: url('../../02-Marca/fuentes/outfit-600.woff2') format('woff2'); font-weight: 600; }
@font-face { font-family: 'Outfit'; src: url('../../02-Marca/fuentes/outfit-700.woff2') format('woff2'); font-weight: 700; }
@font-face { font-family: 'Instrument Serif'; src: url('../../02-Marca/fuentes/instrumentserif-400.woff2') format('woff2'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Instrument Serif'; src: url('../../02-Marca/fuentes/instrumentserif-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; }

/* ---------- Variables ---------- */
:root {
  --crema: #F6F4F1;
  --negro: #1E1E1F;
  --turquesa: #1BAACA;
  --hue: 190;
}

/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--crema); color: var(--negro); overflow-x: hidden; }

/* ---------- Header en píldora, sticky ---------- */
header { position: sticky; top: 0; z-index: 50; padding-top: 18px; }
.nav-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.nav-pill {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.nav-pill::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  z-index: -1;
  transition: background-color .35s ease, backdrop-filter .35s ease;
  will-change: backdrop-filter;
}
.nav-pill.scrolled {
  border-color: rgba(30,30,31,0.08);
  box-shadow: 0 8px 30px rgba(30,30,31,0.06);
}
.nav-pill.scrolled::before {
  background: rgba(246, 244, 241, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-logo img { height: 26px; display: block; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; padding: 0; margin-left: 6px; flex: none;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 0 auto;
  background: var(--negro); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--negro); text-decoration: none; opacity: 0.72;
  transition: opacity .2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--negro); color: var(--crema);
  font-size: 13.5px; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; text-decoration: none;
  transition: background-color .2s ease;
}
.nav-cta:hover { background: var(--turquesa); color: var(--negro); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 24px 0;
  background: var(--crema);
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(125% 125% at 50% 20%, var(--crema) 0%, var(--crema) 32%, rgba(27,170,202,0.55) 58%, rgba(27,170,202,0.22) 78%, rgba(246,244,241,0) 96%);
  pointer-events: none;
  opacity: 0;
  transform: scale(1.5);
  animation: heroGlowIn 1.8s cubic-bezier(0.25,0.1,0.25,1) forwards;
}
@keyframes heroGlowIn { to { opacity: 1; transform: scale(1); } }

.hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--turquesa); margin-bottom: 30px;
}
.kicker::before, .kicker::after { content: ''; width: 22px; height: 1px; background: rgba(27,170,202,0.5); }

.wordmark { margin: 0 auto 14px; max-width: 640px; }
.wordmark img { width: 100%; height: auto; display: block; }
.wordmark-sub {
  text-align: center; font-size: 24px; font-weight: 600; letter-spacing: 0.28em;
  color: var(--negro); margin-bottom: 44px;
}
.wordmark-sub .plus-mark { color: var(--turquesa); }

.titular {
  font-family: 'Outfit'; font-weight: 500; font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.28; letter-spacing: -0.01em; max-width: 760px; margin: 0 auto 40px;
  color: var(--negro);
}
.titular .accent { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; }
.titular .plus { color: var(--turquesa); font-weight: 600; }

.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 90px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--turquesa); color: var(--negro);
  font-size: 15px; font-weight: 600;
  padding: 15px 26px 15px 28px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 24px rgba(27,170,202,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(27,170,202,0.45); }
.btn-primary .arrow { font-size: 18px; line-height: 1; }
.btn-ghost {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 500; color: var(--negro);
  padding: 15px 22px; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(30,30,31,0.16);
  transition: border-color .2s ease, background-color .2s ease;
}
.btn-ghost:hover { border-color: rgba(30,30,31,0.4); background: rgba(30,30,31,0.03); }

/* ---------- Form Fields ---------- */
.form-container {
  max-width: 600px; margin: 0 auto; padding: 40px;
  background: rgba(30,30,31,0.02);
  border: 1px solid rgba(30,30,31,0.1);
  border-radius: 22px;
}
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: 'Outfit'; font-size: 13.5px; font-weight: 600;
  color: var(--negro); letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; font-family: 'Outfit'; font-size: 15px; color: var(--negro);
  padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid rgba(30,30,31,0.15);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(30,30,31,0.4); }
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: rgba(30,30,31,0.28); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--turquesa);
  box-shadow: 0 0 0 3px rgba(27,170,202,0.25);
}
.form-group input:disabled,
.form-group textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.form-group.is-invalid input,
.form-group.is-invalid textarea { border-color: #d64545; }
.form-group.is-invalid input:focus,
.form-group.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(214,69,69,0.2); }
.field-error {
  display: none; font-size: 12.5px; font-weight: 500; color: #d64545;
}
.form-group.is-invalid .field-error { display: block; }
.form-result { display: none; margin-top: 20px; padding: 14px; border-radius: 10px; text-align: center; font-weight: 500; font-size: 14px; }
.form-result.success { display: block; background: rgba(27,170,202,0.12); color: #0d7a91; }
.form-result.error { display: block; background: rgba(214,69,69,0.1); color: #b23434; }

/* ---------- Form Fields: dark theme ---------- */
body.body-dark .form-container { background: rgba(246,244,241,0.03); border-color: rgba(246,244,241,0.14); }
body.body-dark .form-group label { color: var(--crema); }
body.body-dark .form-group input,
body.body-dark .form-group textarea {
  background: rgba(246,244,241,0.06); border-color: rgba(246,244,241,0.18); color: var(--crema);
}
body.body-dark .form-group input::placeholder,
body.body-dark .form-group textarea::placeholder { color: rgba(246,244,241,0.35); }
body.body-dark .form-group input:hover,
body.body-dark .form-group textarea:hover { border-color: rgba(246,244,241,0.32); }
body.body-dark .form-group input:focus,
body.body-dark .form-group textarea:focus { border-color: var(--turquesa); box-shadow: 0 0 0 3px rgba(27,170,202,0.28); }
body.body-dark .form-group.is-invalid input,
body.body-dark .form-group.is-invalid textarea { border-color: #ff6b6b; }
body.body-dark .field-error { color: #ff6b6b; }
body.body-dark .form-result.success { background: rgba(27,170,202,0.14); color: var(--turquesa); }
body.body-dark .form-result.error { background: rgba(255,107,107,0.12); color: #ff6b6b; }

/* ---------- Multi-step form (one question at a time) ---------- */
.step-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(246,244,241,0.18);
  transition: background-color .25s ease, transform .25s ease;
}
.step-dot.is-active { background: var(--turquesa); transform: scale(1.35); }
.step-dot.is-done { background: rgba(27,170,202,0.55); }
.step-counter {
  text-align: center; font-size: 12px; font-weight: 600; color: rgba(246,244,241,0.4);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 32px;
}
.form-step { display: none; margin-bottom: 0; animation: stepIn .35s ease; }
.form-step.active { display: flex; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.form-step > label {
  font-family: 'Outfit'; font-size: 20px; font-weight: 500; color: var(--crema); margin-bottom: 4px;
}
.step-optional { font-family: 'Outfit'; font-weight: 400; font-size: 14px; color: rgba(246,244,241,0.4); }
.step-hint { font-size: 12.5px; color: rgba(246,244,241,0.35); margin-top: -2px; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; }
.step-back {
  background: none; border: none; cursor: pointer; padding: 12px 0;
  font-family: 'Outfit'; font-size: 13.5px; color: rgba(246,244,241,0.5);
  transition: color .2s ease;
}
.step-back:hover { color: var(--crema); }
.step-back[hidden] { display: none; }
.step-actions:has(.step-back[hidden]) { justify-content: flex-end; }
.step-next { margin-left: auto; }

/* ---------- Franja de confianza (marquee) ---------- */
.trust { border-top: 1px solid rgba(30,30,31,0.10); padding: 30px 24px 34px; }
.trust-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.trust-label { flex: none; width: 210px; font-size: 12.5px; color: rgba(30,30,31,0.55); text-align: right; line-height: 1.5; }
.marquee-viewport {
  position: relative; overflow: hidden; flex: 1;
  -webkit-mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
  mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: scroll-left 22s linear infinite;
}
.marquee-track span {
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.02em; color: rgba(30,30,31,0.72);
  white-space: nowrap; display: flex; align-items: center; gap: 10px;
}
.marquee-track span::before { content: '+'; color: var(--turquesa); font-weight: 700; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Tarjetas de Servicios (Spotlight) ---------- */
.seccion-dark {
  background: var(--negro);
  padding: 90px 24px;
}
.seccion-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--turquesa); text-align: center; margin-bottom: 14px; }
.seccion-titulo {
  font-family: 'Outfit'; font-weight: 500; color: var(--crema);
  font-size: clamp(30px, 4vw, 46px); text-align: center; line-height: 1.1; margin-bottom: 56px;
}
.seccion-titulo em { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; color: rgba(246,244,241,0.55); }

.grid-tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; }

[data-glow] {
  --border-size: 1.5px;
  --spotlight-size: 380px;
  --bg-spot-opacity: 0.085;
  --border-spot-opacity: 0.55;
  --border-light-opacity: 0.32;
  position: relative;
  border-radius: 22px;
  border: var(--border-size) solid rgba(246,244,241,0.14);
  background-color: rgba(246,244,241,0.03);
  background-image: radial-gradient(
    var(--spotlight-size) var(--spotlight-size) at calc(var(--x, -500) * 1px) calc(var(--y, -500) * 1px),
    hsl(var(--hue) 85% 55% / var(--bg-spot-opacity)), transparent 65%
  );
  background-attachment: fixed;
  backdrop-filter: blur(6px);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
  overflow: hidden;
  transition: border-color .3s ease;
}
[data-glow]::before,
[data-glow]::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border: var(--border-size) solid transparent;
  border-radius: 22px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
[data-glow]::before {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.7) calc(var(--spotlight-size) * 0.7) at calc(var(--x, -500) * 1px) calc(var(--y, -500) * 1px),
    hsl(var(--hue) 85% 55% / var(--border-spot-opacity)), transparent 100%
  );
  filter: brightness(1.6);
}
[data-glow]::after {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.4) calc(var(--spotlight-size) * 0.4) at calc(var(--x, -500) * 1px) calc(var(--y, -500) * 1px),
    hsl(0 0% 100% / var(--border-light-opacity)), transparent 100%
  );
}

/* Variación sutil del glow por tipo de página, para que no se sienta repetitivo */
.glow-pricing  [data-glow] { --hue: 175; --spotlight-size: 360px; --bg-spot-opacity: 0.075; --border-spot-opacity: 0.5;  }
.glow-kit      [data-glow] { --hue: 202; --spotlight-size: 400px; --bg-spot-opacity: 0.09;  --border-spot-opacity: 0.58; }
.glow-services [data-glow] { --hue: 182; --spotlight-size: 350px; --bg-spot-opacity: 0.08;  --border-spot-opacity: 0.52; }
.glow-cases    [data-glow] { --hue: 197; --spotlight-size: 390px; --bg-spot-opacity: 0.09;  --border-spot-opacity: 0.56; }
.glow-blog     [data-glow] { --hue: 170; --spotlight-size: 340px; --bg-spot-opacity: 0.07;  --border-spot-opacity: 0.48; }

.tarjeta-numero { font-family: 'Instrument Serif'; font-style: italic; font-size: 22px; color: var(--turquesa); }
.tarjeta-titulo { font-family: 'Outfit'; font-weight: 600; font-size: 22px; color: var(--crema); letter-spacing: -0.01em; }
.tarjeta-desc { font-size: 14.5px; line-height: 1.55; color: rgba(246,244,241,0.62); flex-grow: 1; }
.tarjeta-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--crema); text-decoration: none;
  padding-top: 6px; border-top: 1px solid rgba(246,244,241,0.14);
  transition: color .25s ease, gap .25s ease;
}
[data-glow]:hover .tarjeta-link { color: var(--turquesa); gap: 10px; }

/* ---------- CTA Final ---------- */
.cta {
  position: relative; overflow: hidden; background: var(--negro);
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 480px at 82% 88%, rgba(27,170,202,0.32), rgba(27,170,202,0) 60%),
    radial-gradient(600px 420px at 12% 8%, rgba(27,170,202,0.14), rgba(27,170,202,0) 60%);
}

.stage { position: relative; width: 100%; max-width: 900px; height: 460px; }
.layer {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}

#layerDefault { opacity: 1; transform: translateY(0) scale(1); }
.stage.clicked #layerDefault { opacity: 0; transform: translateY(-30px) scale(0.96); pointer-events: none; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(246,244,241,0.6);
}
.status-dot { position: relative; width: 8px; height: 8px; }
.status-dot .ping {
  position: absolute; inset: 0; border-radius: 999px; background: var(--turquesa);
  animation: ping 1.8s cubic-bezier(0,0,0.2,1) infinite;
}
.status-dot .dot { position: absolute; inset: 0; border-radius: 999px; background: var(--turquesa); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 75%, 100% { transform: scale(2.6); opacity: 0; } }

.heading-wrap { text-align: center; cursor: pointer; }
.heading {
  font-family: 'Outfit'; font-weight: 500; color: var(--crema);
  font-size: clamp(48px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.01em;
}
.heading .line { display: block; overflow: hidden; }
.heading .line span { display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.heading .line.muted span { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; color: rgba(246,244,241,0.42); }
.heading-wrap:hover .line span { transform: translateY(-6%); }
.heading-wrap:hover .line.muted span { transition-delay: 60ms; }

.badge-wrap { position: relative; width: 84px; height: 84px; }
.badge-ring {
  position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(246,244,241,0.28);
  display: flex; align-items: center; justify-content: center;
  transition: all .4s ease; cursor: pointer;
}
.badge-wrap:hover .badge-ring { background: var(--turquesa); border-color: var(--turquesa); transform: scale(1.08); }
.badge-ring .arrow { font-size: 28px; color: var(--crema); transition: all .35s ease; }
.badge-wrap:hover .badge-ring .arrow { color: var(--negro); transform: translate(2px,-2px); }
.stage.clicked .badge-wrap { animation: expand .7s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes expand { to { transform: scale(14); } }
.stage.clicked .badge-ring { background: var(--turquesa); border-color: var(--turquesa); }
.stage.clicked .badge-ring .arrow { opacity: 0; }

#layerSuccess { opacity: 0; transform: translateY(16px) scale(0.97); pointer-events: none; }
.stage.clicked #layerSuccess { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; transition-delay: .45s; }

.kicker-sm { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--turquesa); }
.success-heading { font-family: 'Outfit'; font-weight: 500; font-size: clamp(28px, 4vw, 42px); color: var(--crema); text-align: center; }

.success-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(246,244,241,0.28); color: var(--crema);
  font-size: 15px; font-weight: 500;
  padding: 15px 22px; border-radius: 999px; text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.btn-whatsapp:hover { border-color: rgba(246,244,241,0.6); background: rgba(246,244,241,0.06); }

.success-sub { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,244,241,0.4); }
.success-email { font-size: 13px; color: rgba(246,244,241,0.55); }

/* ---------- Footer ---------- */
footer {
  background: var(--negro); color: rgba(246,244,241,0.6);
  padding: 60px 24px 40px; text-align: center; font-size: 14px;
}
footer a { color: rgba(246,244,241,0.8); text-decoration: none; }
footer a:hover { color: var(--turquesa); }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 20px; }

/* ---------- Diferenciadores (Checklist con foto) ---------- */
.diferenciadores { padding: 90px 24px; }
.diferenciadores-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 60px; align-items: center; }
.dif-texto { flex: 1; }
.dif-texto h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 30px; font-weight: 500; }
.dif-texto h2 em { font-family: 'Instrument Serif'; font-style: italic; color: var(--turquesa); font-weight: 400; }
.dif-lista { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.dif-lista li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: rgba(30,30,31,0.8); }
.dif-icon {
  flex: none; width: 24px; height: 24px; background: var(--turquesa); color: var(--negro);
  border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-top: 2px;
}
.dif-img { flex: 1; border-radius: 20px; overflow: hidden; background: #e0e0e0; min-height: 300px;}
.dif-img img { width: 100%; height: auto; display: block; }

/* ---------- Banners Tipográficos ---------- */
.banner-text {
  padding: 60px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(30,30,31,0.1); border-bottom: 1px solid rgba(30,30,31,0.1);
}
.banner-track {
  display: flex; width: max-content; gap: 40px; font-family: 'Instrument Serif'; font-size: clamp(40px, 6vw, 60px); color: var(--negro); text-transform: uppercase;
  animation: scroll-left 22s linear infinite;
}
.banner-track span::before { content: '+'; color: var(--turquesa); font-family: 'Outfit'; margin-right: 40px; font-weight: 400; }

/* ---------- General Layout ---------- */
main {
  min-height: 100vh;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-tarjetas { grid-template-columns: 1fr; }
  .diferenciadores-inner { flex-direction: column; }
}
@media (max-width: 860px) {
  .nav-links > li:not(.lang-switcher) { display: none; }
  .nav-cta { font-size: 12.5px; padding: 10px 16px; }
  .nav-cta span { display: none; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .trust-label { width: auto; text-align: left; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--crema); border-radius: 20px; padding: 10px;
    box-shadow: 0 20px 40px rgba(30,30,31,0.15);
    display: none;
  }
  body.body-dark .nav-links { background: #262627; box-shadow: 0 20px 40px rgba(0,0,0,0.45); }
  .nav-links.is-open { display: flex; }
  .nav-links.is-open > li:not(.lang-switcher) { display: block; }
  .nav-links > li:not(.lang-switcher) a { display: block; padding: 12px 14px; opacity: 1; }
  .nav-links > li.lang-switcher {
    margin-left: 0 !important; padding: 12px 14px 6px; order: 99;
    border-top: 1px solid rgba(30,30,31,0.1);
  }
  body.body-dark .nav-links > li.lang-switcher { border-top-color: rgba(246,244,241,0.12); }
}
@media (max-width: 640px) {
  .hero { padding-top: 64px; }
}

/* ============================================
   INNER PAGES — Shared Component System
   ============================================ */

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero .seccion-kicker { margin-bottom: 20px; }
.page-hero h1 {
  font-family: 'Outfit'; font-weight: 500;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--negro); margin-bottom: 24px;
}
.page-hero h1 em {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400;
}
.page-hero .page-subtitle {
  font-size: 18px; color: rgba(30,30,31,0.6);
  max-width: 600px; margin: 0 auto; line-height: 1.6;
}
/* Dark variant */
.page-hero--dark h1 { color: var(--crema); }
.page-hero--dark .page-subtitle { color: rgba(246,244,241,0.6); }

/* ---------- Content Split (2-column text+image) ---------- */
.content-split {
  display: flex; gap: 60px; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  margin-bottom: 90px;
}
.content-split--reverse { flex-direction: row-reverse; }
.content-split__text { flex: 1.2; }
.content-split__text h2 {
  font-family: 'Outfit'; font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2; margin-bottom: 20px;
}
.content-split__text h2 em {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400;
  color: var(--turquesa);
}
.content-split__text p {
  font-size: 16px; line-height: 1.7;
  color: rgba(30,30,31,0.7); margin-bottom: 16px;
}
.content-split__text--dark h2 { color: var(--crema); }
.content-split__text--dark p { color: rgba(246,244,241,0.65); }
.content-split__image {
  flex: 1; border-radius: 22px; overflow: hidden;
  background: rgba(30,30,31,0.04); min-height: 320px;
}
.content-split__image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 22px;
}

/* ---------- Features Grid (benefits/characteristics) ---------- */
.features-section {
  padding: 90px 24px;
  max-width: 1180px; margin: 0 auto;
}
.features-section--dark { background: var(--negro); }
.features-section .seccion-kicker { margin-bottom: 14px; }
.features-section h2 {
  font-family: 'Outfit'; font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  text-align: center; margin-bottom: 50px; line-height: 1.15;
}
.features-section h2 em {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1180px; margin: 0 auto;
}
.feature-card {
  padding: 32px 28px;
  border-radius: 22px;
  background: rgba(246,244,241,0.03);
  border: 1.5px solid rgba(30,30,31,0.10);
  transition: border-color .3s ease, transform .3s ease;
}
.feature-card:hover { border-color: rgba(27,170,202,0.3); transform: translateY(-2px); }
.feature-card__icon {
  width: 48px; height: 48px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(27,170,202,0.08); border-radius: 14px;
  color: var(--turquesa); font-size: 22px; font-weight: 700;
}
.feature-card__title {
  font-family: 'Outfit'; font-size: 20px; font-weight: 600;
  color: var(--negro); margin-bottom: 10px; letter-spacing: -0.01em;
}
.feature-card__desc {
  font-size: 15px; line-height: 1.6;
  color: rgba(30,30,31,0.6);
}
/* Dark variant */
.feature-card--dark {
  background: rgba(246,244,241,0.03);
  border-color: rgba(246,244,241,0.10);
}
.feature-card--dark:hover { border-color: rgba(27,170,202,0.4); }
.feature-card--dark .feature-card__title { color: var(--crema); }
.feature-card--dark .feature-card__desc { color: rgba(246,244,241,0.6); }

/* ---------- Process Steps ---------- */
.process-section {
  padding: 90px 24px;
  max-width: 1180px; margin: 0 auto;
}
.process-section h2 {
  font-family: 'Outfit'; font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  text-align: center; margin-bottom: 60px; line-height: 1.15;
}
.process-section h2 em {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400;
  color: var(--turquesa);
}
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.process-step {
  position: relative; padding: 28px 24px; text-align: center;
}
.process-step__number {
  font-family: 'Instrument Serif'; font-style: italic;
  font-size: 48px; color: var(--turquesa); opacity: 0.5;
  line-height: 1; margin-bottom: 14px;
}
.process-step__title {
  font-family: 'Outfit'; font-weight: 600; font-size: 18px;
  color: var(--negro); margin-bottom: 10px;
}
.process-step__desc {
  font-size: 14.5px; line-height: 1.6;
  color: rgba(30,30,31,0.6);
}
/* Dark variant */
.process-step--dark .process-step__title { color: var(--crema); }
.process-step--dark .process-step__desc { color: rgba(246,244,241,0.6); }
/* Connector line between steps */
.process-step:not(:last-child)::after {
  content: ''; position: absolute;
  top: 48px; right: -16px;
  width: 32px; height: 1px;
  background: rgba(27,170,202,0.3);
}

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto 80px;
  padding: 0 24px; text-align: center;
}
.stat-card {
  padding: 32px 20px; border-radius: 22px;
  background: rgba(246,244,241,0.03);
  border: 1.5px solid rgba(27,170,202,0.25);
}
.stat-card__number {
  font-family: 'Outfit'; font-size: 44px; font-weight: 700;
  color: var(--turquesa); margin-bottom: 8px; letter-spacing: -0.02em;
}
.stat-card__label {
  font-size: 14px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(246,244,241,0.65);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  border-radius: 22px; padding: 70px 40px;
  text-align: center; max-width: 1000px;
  margin: 0 auto 60px;
}
.cta-banner--turquesa {
  background: var(--turquesa); color: var(--negro);
}
.cta-banner--dark {
  background: var(--negro); color: var(--crema);
  position: relative; overflow: hidden;
}
.cta-banner--dark::before {
  content: ''; position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(27,170,202,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: 'Outfit'; font-weight: 500;
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 16px; position: relative; z-index: 1;
}
.cta-banner h2 em {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400;
}
.cta-banner p {
  font-size: 16px; opacity: 0.75; margin-bottom: 28px;
  max-width: 500px; margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.cta-banner .btn-dark {
  background: var(--negro); color: var(--crema);
  padding: 14px 28px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative; z-index: 1;
}
.cta-banner .btn-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.cta-banner--dark .btn-dark { background: var(--turquesa); color: var(--negro); }
.cta-banner--dark .btn-dark:hover { box-shadow: 0 8px 20px rgba(27,170,202,0.35); }
.cta-banner .btn-light {
  background: var(--crema); color: var(--negro);
  padding: 14px 28px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s ease;
  position: relative; z-index: 1;
}

/* ---------- FAQ Section ---------- */
.faq-section {
  max-width: 800px; margin: 0 auto;
  padding: 90px 24px;
}
.faq-section h2 {
  font-family: 'Outfit'; font-weight: 500;
  font-size: clamp(28px, 4vw, 38px);
  text-align: center; margin-bottom: 50px;
}
.faq-section h2 em {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400;
  color: var(--turquesa);
}
.faq-item {
  border-bottom: 1px solid rgba(30,30,31,0.10);
  padding: 0;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none;
  font-family: 'Outfit'; font-size: 17px; font-weight: 600;
  color: var(--negro); cursor: pointer;
  padding: 22px 0; text-align: left;
  transition: color .2s ease;
}
.faq-question:hover { color: var(--turquesa); }
.faq-question .faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--turquesa);
  transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: 15px; line-height: 1.7;
  color: rgba(30,30,31,0.65);
}
.faq-item.open .faq-answer {
  max-height: 300px; padding-bottom: 22px;
}

/* ---------- Case Study Card (for cases hub) ---------- */
.case-card {
  display: flex; gap: 40px; align-items: stretch;
  border-radius: 22px; overflow: hidden;
  border: 1.5px solid rgba(30,30,31,0.10);
  transition: border-color .3s ease, transform .3s ease;
  text-decoration: none; color: inherit;
  max-width: 1000px; margin: 0 auto;
}
.case-card:hover { border-color: rgba(27,170,202,0.3); transform: translateY(-3px); }
.case-card__image {
  flex: 1; min-height: 340px;
  background: rgba(30,30,31,0.04);
}
.case-card__image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.case-card__content {
  flex: 1.2; padding: 40px 40px 40px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.case-card__sector {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--turquesa); margin-bottom: 14px;
}
.case-card__title {
  font-family: 'Outfit'; font-weight: 600; font-size: 28px;
  color: var(--negro); margin-bottom: 16px; line-height: 1.2;
}
.case-card__desc {
  font-size: 15px; line-height: 1.6; color: rgba(30,30,31,0.65);
  margin-bottom: 24px;
}
.case-card__metrics {
  display: flex; gap: 24px; margin-bottom: 24px;
}
.case-card__metric {
  text-align: center;
}
.case-card__metric-num {
  font-family: 'Outfit'; font-weight: 700; font-size: 24px;
  color: var(--turquesa);
}
.case-card__metric-lbl {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(30,30,31,0.5);
}
.case-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--turquesa);
  text-decoration: none;
  transition: gap .25s ease;
}
.case-card__link:hover { gap: 10px; }

/* ---------- Pricing table (moved from inline) ---------- */
.pricing-section { padding: 0 24px 90px; max-width: 1180px; margin: 0 auto; }
.grid-precios {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: stretch;
}
.tarjeta-precio {
  position: relative; padding: 32px 28px 28px;
  display: flex; flex-direction: column;
}
.tarjeta-precio.destacada {
  border-color: rgba(27,170,202,0.55);
  background-color: rgba(27,170,202,0.06);
  transform: translateY(-10px);
}
.badge-recomendado {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--negro);
  background: var(--turquesa); padding: 5px 12px; border-radius: 999px;
}
.precio-nombre {
  font-family: 'Outfit'; font-weight: 600; font-size: 20px;
  color: var(--crema); margin-bottom: 6px;
}
.precio-desc {
  font-size: 13.5px; color: rgba(246,244,241,0.55);
  margin-bottom: 20px; min-height: 34px;
}
.precio-cifra {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px;
}
.precio-cifra .num {
  font-family: 'Outfit'; font-weight: 600; font-size: 42px;
  color: var(--crema); letter-spacing: -0.02em;
}
.precio-cifra .sufijo {
  font-size: 13px; color: rgba(246,244,241,0.45);
}
.precio-lista {
  list-style: none; display: flex; flex-direction: column;
  gap: 11px; margin-bottom: 28px; flex-grow: 1;
}
.precio-lista li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.4; color: rgba(246,244,241,0.75);
}
.precio-lista li .check {
  color: var(--turquesa); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.precio-boton {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; font-size: 14.5px; font-weight: 600;
  padding: 13px 20px; border-radius: 999px;
  border: 1px solid rgba(246,244,241,0.28); color: var(--crema);
  transition: all .25s ease;
}
.tarjeta-precio.destacada .precio-boton {
  background: var(--turquesa); border-color: var(--turquesa); color: var(--negro);
}
[data-glow]:hover .precio-boton:not(.destacada .precio-boton) {
  border-color: rgba(246,244,241,0.6); background: rgba(246,244,241,0.06);
}
.nota-extra {
  text-align: center; margin-top: 40px;
  font-size: 13.5px; color: rgba(246,244,241,0.45);
}
.nota-extra strong { color: rgba(246,244,241,0.7); font-weight: 500; }

/* ---------- Monthly plans section ---------- */
.monthly-section {
  padding: 60px 24px 0; max-width: 1000px; margin: 0 auto;
}
.monthly-section h3 {
  font-family: 'Outfit'; font-weight: 500; font-size: 28px;
  color: var(--crema); text-align: center; margin-bottom: 10px;
}
.monthly-section .seccion-sub {
  text-align: center; color: rgba(246,244,241,0.5);
  font-size: 15px; margin-bottom: 40px;
}
.grid-planes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.plan-card {
  padding: 28px 24px; border-radius: 18px;
  border: 1px solid rgba(246,244,241,0.12);
  background: rgba(246,244,241,0.03);
}
.plan-card__name {
  font-family: 'Outfit'; font-weight: 600; font-size: 17px;
  color: var(--crema); margin-bottom: 6px;
}
.plan-card__price {
  font-family: 'Outfit'; font-weight: 600; font-size: 28px;
  color: var(--turquesa); margin-bottom: 4px;
}
.plan-card__period {
  font-size: 12px; color: rgba(246,244,241,0.45); margin-bottom: 16px;
}
.plan-card__features {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.plan-card__features li {
  font-size: 13.5px; color: rgba(246,244,241,0.65);
  display: flex; align-items: flex-start; gap: 8px;
}
.plan-card__features li .check { color: var(--turquesa); font-weight: 700; }

/* ---------- Inner Page Dark Body ---------- */
.body-dark { background: var(--negro); color: var(--crema); }

/* Nav needs to adapt on dark pages — it's hardcoded for light pages by default */
body.body-dark .nav-links a { color: var(--crema); }
body.body-dark .nav-logo img { visibility: hidden; }
body.body-dark .nav-logo {
  background-image: url('../../02-Marca/logos/Kosta-Digital-Logo-Transparente-Claro.png');
  background-repeat: no-repeat; background-position: left center; background-size: contain;
}
body.body-dark .nav-pill.scrolled {
  border-color: rgba(246,244,241,0.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
body.body-dark .nav-pill.scrolled::before {
  background: rgba(30,30,31,0.78);
}
body.body-dark .nav-toggle span { background: var(--crema); }

/* ---------- Inner Pages Responsive ---------- */
@media (max-width: 900px) {
  .content-split { flex-direction: column; gap: 40px; }
  .content-split--reverse { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .grid-precios { grid-template-columns: 1fr; }
  .tarjeta-precio.destacada { transform: none; }
  .grid-planes { grid-template-columns: 1fr; }
  .case-card { flex-direction: column; }
  .case-card__content { padding: 30px; }
  .case-card__image { min-height: 240px; }
  .process-step:not(:last-child)::after { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-hero { padding: 90px 20px 60px; }
  .stats-row { grid-template-columns: 1fr; }
}
