/* ===================================================================
   MACA DONAIRES — MARKETING & NEGOCIOS
   Hoja de estilos principal
   Construido a partir del manual de marca (lima / navy / carbón)
   =================================================================== */

/* ---------- Fuentes ----------
   El manual de marca define "Basique Regular" para el isotipo/titulares
   y "Inklination Mono Semibold" para etiquetas. Son fuentes de pago que
   no están disponibles para web, así que se reemplazan por las
   alternativas gratuitas más cercanas:
     - Fredoka      → reemplaza a Basique (redonda, amigable, igual peso visual)
     - Space Mono   → reemplaza a Inklination Mono (mono con carácter)
     - Plus Jakarta Sans → fuente de lectura para párrafos largos
   Si en algún momento compran la licencia de las fuentes originales,
   solo hay que cambiar los nombres en las variables --font-* de abajo. */

:root {
  /* ---- Paleta de marca (manual, sección 02) ---- */
  --lime: #e8fba4;
  --navy: #223a87;
  --charcoal: #292d2f;
  --white: #ffffff;

  /* ---- Tintes derivados (solo para fondos sutiles / estados) ---- */
  --navy-deep: #1a2c69;
  --navy-08: rgba(34, 58, 135, 0.06);
  --navy-12: rgba(34, 58, 135, 0.12);
  --lime-30: rgba(232, 251, 164, 0.35);
  --charcoal-70: rgba(41, 45, 47, 0.7);
  --line: rgba(41, 45, 47, 0.12);

  /* ---- Tipografía ---- */
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  /* ---- Layout ---- */
  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --section-pad: clamp(64px, 9vw, 120px);
}

/* ---------------------------------------------------------------
   Reset básico
   --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  overflow-wrap: break-word;
  hyphens: none;          /* ← agregá esta */
  word-break: normal;     /* ← y esta */
}

p {
  margin: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

.section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: visible;
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--lime {
  background: var(--lime);
  color: var(--navy);
}

.section--charcoal {
  background: var(--charcoal);
  color: var(--white);
}

.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

/* ---------------------------------------------------------------
   Utilidades tipográficas / estructurales
   --------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 2px dashed var(--navy);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
}

.section--navy .eyebrow,
.section--charcoal .eyebrow {
  border-color: var(--lime);
  color: var(--lime);
  background: transparent;
}

.eyebrow .dot {
  color: var(--lime);
}

.section--navy .eyebrow .dot,
.section--charcoal .eyebrow .dot {
  color: var(--navy);
  background: var(--lime);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.kicker {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.75;
}

.section--navy .kicker,
.section--charcoal .kicker {
  color: var(--lime);
  opacity: 0.85;
}

.heading-xl {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section--navy .heading-xl,
.section--charcoal .heading-xl {
  color: var(--white);
}

.heading-lg {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  color: var(--navy);
}

.section--navy .heading-lg,
.section--charcoal .heading-lg {
  color: var(--white);
}

.heading-md {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  color: var(--navy);
}

.section--navy .heading-md,
.section--charcoal .heading-md {
  color: var(--white);
}

.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--charcoal-70);
  max-width: 56ch;
}

.section--navy .lede,
.section--charcoal .lede {
  color: rgba(255, 255, 255, 0.78);
}

.text-accent {
  color: var(--navy);
}

.section--navy .text-accent,
.section--charcoal .text-accent {
  color: var(--lime);
}

.highlight {
  background: var(--lime);
  color: var(--navy);
  padding: 0 0.18em;
  border-radius: 6px;
  font-weight: 600;
}

.section--navy .highlight,
.section--charcoal .highlight {
  background: var(--lime);
  color: var(--navy);
}

/* ---------------------------------------------------------------
   Botones
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--lime);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(34, 58, 135, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lime {
  background: var(--lime);
  color: var(--navy);
}

.btn-lime:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

/* ---------------------------------------------------------------
   Header / navegación
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo img {
  height: 90px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--charcoal);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__links a.is-active {
  color: var(--navy);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------------
   Cinta "gusano" — MARKETING · MARCA · POSICIONAMIENTO
   - Ola sinusoidal pura (sin cruces / sin nudo)
   - Texto scrollea vía startOffset infinito dentro del SVG
   - Bob suave de todo el SVG vía CSS (no interfiere con el texto)
   --------------------------------------------------------------- */
.ribbon-wrap {
  position: relative;
  height: auto;
  z-index: 20;
  overflow: visible;
  margin-top: clamp(-60px, -10vw, -148px);
  margin-bottom: clamp(-20px, -2vw, -34px);
}

.worm-ribbon {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}

@media (prefers-reduced-motion: reduce) {
  .worm-ribbon { animation: none; }
}

.worm-ribbon--mobile { display: none; }

@media (max-width: 700px) {
  .worm-ribbon--desktop { display: none; }
  .worm-ribbon--mobile  { display: block; margin-top: -30px; }
}

.worm-ribbon text {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
}


/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  background: var(--white);
  position: relative;
  overflow: visible;
  padding-top: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(90px, 10vw, 140px);
}

.hero__doodle {
  position: absolute;
  top: 10%;
  right: -50px;
  width: 180px;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.hero__doodle--left {
  left: 0;
  right: auto;
  top: -10px;
  width: min(420px, 42vw);
}

.section-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  max-width: min(360px, 48vw);
}

.section-deco--sunburst {
  bottom: -92px;
  right: -36px;
  width: 320px;
}

.section-deco--mint {
  top: -40px;
  left: -80px;
  width: 200px;
  opacity: 1;
}

.section-deco--contact {
  bottom: -40px;
  right: -80px;
  width: 250px;
  opacity: 1;
}

.section-deco--sol {
  top: -92px;
  right: -72px;
  width: 220px;
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.hero__inner .eyebrow {
  margin-bottom: 26px;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero .lede {
  margin-bottom: 36px;
  margin-inline: auto;
}

.lede--compact {
  margin-top: 14px;
  margin-bottom: 16px;
  margin-inline: auto;
}

.hero__metrics {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  box-shadow: 0 18px 45px rgba(34, 58, 135, 0.18);
  max-width: 960px;
  margin-inline: auto;
}

.metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 18px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 152px;
}

.metric:first-child {
  border-left: none;
  padding-left: 0;
}

.metric__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: var(--lime);
  display: block;
  margin-bottom: 8px;
}

.metric__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.4;
}

/* Helper Classes */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   Sección "antes del primer contacto"
   --------------------------------------------------------------- */
.choice-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.choice-section h2 {
  margin-bottom: 20px;
}

.choice-section .lede {
  margin-bottom: 0;
  max-width: none;
}

.callout-card {
  background: var(--lime);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 38px;
  transform: rotate(1.4deg);
  position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.callout-card::before {
  content: "★";
  position: absolute;
  top: -16px;
  left: 28px;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transform: rotate(-8deg);
}

.callout-card p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.35;
}

/* ---------------------------------------------------------------
   Sobre mí — Stack de fotos
   --------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

/* Contenedor general del stack */
.about__photos {
  position: relative;
  /* espacio para el badge y la foto acento que sobresalen */
  padding: 40px 0 70px 40px;
}

/* Forma decorativa de fondo */
.about__deco {
  position: absolute;
  bottom: -30px;
  left: -60px;
  width: 180px;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

/* Foto principal — más grande, leve rotación negativa */
.about__photo-main {
  position: relative;
  z-index: 2;
  width: 82%;
  margin-left: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(-1.8deg);
  box-shadow: 0 28px 56px rgba(34, 58, 135, 0.18), 0 0 0 5px var(--white), 0 0 0 9px var(--navy);
}

.about__photo-main img {
  width: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.04);
}

/* Foto acento — más pequeña, esquina inf-izq, rotación positiva */
.about__photo-accent {
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: 3;
  width: 52%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(2.4deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), 0 0 0 4px var(--white), 0 0 0 7px var(--lime);
}

.about__photo-accent img {
  width: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.04);
}

/* Badge "+8 años" — esquina sup-izq, inclinado */
.about__badge {
  position: absolute;
  top: 18px;
  left: 8px;
  z-index: 4;
  background: var(--lime);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
  transform: rotate(-4deg);
}

.about__badge-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  display: block;
}

.about__badge-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  display: block;
  margin-top: 4px;
}


.about__content .kicker {
  margin-bottom: 14px;
  display: block;
}

.about__content h2 {
  margin-bottom: 22px;
}

.about__content p {
  color: var(--charcoal-70);
  margin-bottom: 18px;
}

.about__content p:last-of-type {
  margin-bottom: 30px;
}

.credentials {
  border: 2px dashed var(--navy);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: grid;
  gap: 14px;
}

.credentials li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
}

.credentials li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--navy);
}

/* ---------------------------------------------------------------
   Metodología
   --------------------------------------------------------------- */
.method-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.method-head .kicker {
  display: block;
  margin-bottom: 14px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.method-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  transition: transform .3s ease, background .3s ease;
}

.method-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

.method-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.4rem;
  color: var(--lime);
  opacity: 0.9;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.method-card__icon-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.method-card__icon {
  width: 68px;
}

.method-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.method-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.97rem;
}

/* ---------------------------------------------------------------
   CTA banda
   --------------------------------------------------------------- */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 30px;
  max-width: 700px;
  margin-inline: auto;
}

/* ---------------------------------------------------------------
   Planes (pricing)
   --------------------------------------------------------------- */
.plans-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.plans-head .eyebrow {
  margin-bottom: 22px;
}

.plans-head h1 {
  margin-bottom: 18px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.plan-card {
  border-radius: var(--radius-lg);
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card--light {
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
}

.plan-card--navy {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-14px);
  box-shadow: 0 26px 50px rgba(34, 58, 135, 0.35);
}

.plan-card--charcoal {
  background: var(--charcoal);
  color: var(--white);
}

.plan-card__badge {
  position: absolute;
  top: -16px;
  right: 28px;
  background: var(--lime);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
}

.plan-card__name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.85;
}

.plan-card__audience {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 26px;
  min-height: 64px;
}

.plan-card--light .plan-card__audience {
  color: var(--charcoal-70);
}

.plan-card--navy .plan-card__audience,
.plan-card--charcoal .plan-card__audience {
  color: rgba(255, 255, 255, 0.75);
}

.plan-card__divider {
  height: 1px;
  background: currentColor;
  opacity: 0.15;
  margin-bottom: 26px;
}

.plan-card__features {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.4;
}

.plan-card__features li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 1px;
}

.plan-card--light .check {
  background: var(--navy);
  color: var(--lime);
}

.plan-card--navy .check {
  background: var(--lime);
  color: var(--navy);
}

.plan-card--charcoal .check {
  background: var(--lime);
  color: var(--navy);
}

.plan-card .btn {
  margin-top: auto;
}

.plans-help {
  margin-top: 56px;
  background: var(--lime);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 42px clamp(28px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.plans-help h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.plans-help p {
  color: rgba(34, 58, 135, 0.78);
  max-width: 46ch;
}

/* ---------------------------------------------------------------
   Contacto
   --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.contact-head h1 {
  margin-bottom: 18px;
}

.contact-head .lede {
  margin-bottom: 38px;
}

.contact-methods {
  display: grid;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 2px dashed var(--navy);
  border-radius: var(--radius-md);
  transition: background .2s ease, transform .2s ease;
  min-width: 0;
}

.contact-method>span:last-child {
  min-width: 0;
}

.contact-method:hover {
  background: var(--navy-08);
  transform: translateX(4px);
}

.contact-method__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-method__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-70);
  margin-bottom: 4px;
  display: block;
}

.contact-method__value {
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(0.88rem, 3.5vw, 1.02rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Variante sobre fondo navy (sección de contacto) */
.section--navy .contact-method,
.section--charcoal .contact-method {
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.04);
}

.section--navy .contact-method:hover,
.section--charcoal .contact-method:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section--navy .contact-method__icon,
.section--charcoal .contact-method__icon {
  background: var(--lime);
  color: var(--navy);
}

.section--navy .contact-method__label,
.section--charcoal .contact-method__label {
  color: rgba(255, 255, 255, 0.6);
}

.section--navy .contact-method__value,
.section--charcoal .contact-method__value {
  color: var(--white);
}

.contact-form {
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  color: var(--white);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  width: min(100%, 560px);
  justify-self: end;
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form>p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--lime);
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color .2s ease, background .2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.13);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--lime);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 18px;
}

.form-success.is-visible {
  display: flex;
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 52px;
  margin-bottom: 18px;
}

.footer-brand .role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--lime);
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-locations {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-doodle {
  position: absolute;
  bottom: -20px;
  left: -50px;
  width: 150px;
  opacity: 1;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   Reveal-on-scroll (sutil)
   --------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.swipe-hint {
  display: none;
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav__links {
    display: none;
  }

  .contact-form {
    justify-self: stretch;
    width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero__doodle--left {
    left: -128px;
    top: -34px;
    width: min(340px, 46vw);
  }

  .worm-ribbon--mobile {
    margin-top: -72px;
  }

  .hero__doodle--left {
    left: -24px;
    top: -10px;
    width: 280px;
  }

  .worm-ribbon--mobile {
    margin-top: -84px;
  }

  .nav__cta .btn-outline {
    display: none;
  }

  .swipe-hint {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: inherit;
    margin-top: -12px;
    margin-bottom: 24px;
    opacity: 0.7;
    font-weight: 600;
  }

  .swipe-hint span {
    margin: 0 6px;
  }

  .choice-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .about__photos {
    padding: 26px 10px 54px 26px;
    min-height: 0;
  }

  .about__photo-main {
    width: 80%;
  }

  .about__photo-accent {
    width: 50%;
  }

  .about__content p {
    font-size: 0.95rem;
  }

  /* Métricas del hero: 3 columnas para que queden lado a lado siempre */
  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 42px;
    padding: 16px 12px;
  }

  .metric {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 6px;
    min-height: 0;
  }

  .metric:nth-child(odd) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .metric:first-child {
    border-left: none;
  }

  .metric:nth-child(3) {
    grid-column: auto;
    border-top: none;
    padding-top: 8px;
  }

  /* Tarjetas de metodología: slider horizontal en mobile */
  .method-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    scrollbar-width: none;
  }

  .method-grid::-webkit-scrollbar {
    display: none;
  }

  .method-head {
    margin-bottom: 36px;
  }

  .method-card {
    padding: 26px 24px;
    min-width: 85vw;
    scroll-snap-align: center;
  }

  .method-card__num {
    font-size: 2.4rem;
    margin-bottom: 12px;
  }

  .method-card__icon-wrap {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }

  .method-card__icon {
    width: 62px;
  }

  /* Planes: slider horizontal en mobile */
  .plans-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    scrollbar-width: none;
  }

  .plans-grid::-webkit-scrollbar {
    display: none;
  }

  .plan-card {
    min-width: 85vw;
    scroll-snap-align: center;
  }

  .plan-card--navy {
    transform: none;
  }

  .plans-help {
    margin-top: 36px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  /* Bug real: .btn tiene white-space:nowrap, lo que forzaba que los
     botones de ancho completo (btn-block) empujaran toda la tarjeta
     más ancha que su columna en mobile. Se permite que el texto
     baje de línea solo en los botones full-width. */
  .btn-block {
    white-space: normal;
    line-height: 1.3;
  }

  /* Footer: nav y contacto lado a lado en vez de todo apilado.
     minmax(0,1fr) evita que un texto largo sin espacios (el email)
     empuje la columna más allá del contenedor. */
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --section-pad: clamp(44px, 11vw, 72px);
  }

  .hero {
    padding-bottom: clamp(56px, 11vw, 90px);
  }

  .hero__doodle {
    width: 140px;
    top: -20px;
    right: -30px;
  }

  .hero__doodle--left {
    left: -92px;
    right: auto;
    top: -26px;
    width: 150px;
  }

  .worm-ribbon--mobile {
    margin-top: -20px;
  }

  .hero__metrics {
    margin-top: 36px;
  }

  .about__photos {
    padding: 22px 8px 46px 22px;
  }

  .about__badge {
    padding: 11px 14px;
    left: auto;
    top: 18px;
  }

  .about__badge-num {
    font-size: 1.6rem;
  }

  .about__badge-label {
    font-size: 0.64rem;
  }

  .nav__logo img {
    height: 44px;
  }

  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric:nth-child(3) {
    border-top: none;
  }

  .footer-doodle {
    bottom: -10px;
    left: auto;
    right: -20px;
    width: 100px;
    opacity: 0.15;
  }

  .section-deco {
    display: none;
  }

  .heading-xl {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .heading-lg {
    font-size: clamp(1.7rem, 7vw, 2.1rem);
  }
}