/* ── OVERRIDES DE GENERATEPRESS ──
   Forzamos el fondo y color base para que GP
   no interfiera con el diseño custom de la home. */
html, body,
body.page-template-page-home,
.site, .site-content, .content-area,
.site-main, .entry-content, .entry, article {
  background: #080807 !important;
  background-color: #080807 !important;
  color: #f0ead8 !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
.site-header, .main-navigation, .site-footer,
.inside-header, .inside-navigation, .inside-site-container {
  display: none !important;
}
.site-container, .inside-site-container,
.content-area, .site-main {
  float: none !important;
  width: 100% !important;
}

/* ═══════════════════════════════════════════════
   RESET & VARIABLES GLOBALES
   Reset básico de márgenes/paddings.
   Variables CSS con la paleta de marca y tipografías.
   Usadas en todo el archivo con var(--nombre).
═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #080807;   /* fondo principal, casi negro cálido */
  --surface:   #0f0f0d;   /* fondo de cards/hover, un tono más claro */
  --gold:      #c8a96e;   /* acento principal: botones, destacados */
  --gold-dim:  #9a7d4f;   /* variante apagada: labels, bordes suaves */
  --cream:     #f0ead8;   /* texto principal */
  --cream-dim: #b8ad96;   /* texto secundario / descriptivo */
  --line:      rgba(200,169,110,0.15); /* color de bordes y separadores */
  --ff-d: 'Cormorant Garamond', Georgia, serif;
  --ff-m: 'DM Mono', 'Courier New', monospace;
}

/* ═══════════════════════════════════════════════
   BASE DEL BODY
   Fondo oscuro, color de texto y fuente base.
   overflow-x: hidden evita scroll horizontal
   causado por elementos que sobresalen.
═══════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--ff-m);
  font-size: 13px;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════
   NOISE OVERLAY
   Capa de textura de grano sutil sobre toda la página.
   Generada con SVG inline + filtro feTurbulence.
   position: fixed cubre toda la pantalla siempre.
   pointer-events: none → no interfiere con clics.
   z-index: 1000 → encima de todo el contenido.
═══════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════
   NAVEGACIÓN
   Fija en la parte superior (position: fixed).
   Transparente por defecto; cuando el usuario
   scrollea, JS agrega la clase .scrolled que
   activa el fondo oscuro con blur.
═══════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 64px;
  transition: background .5s, padding .4s;
}
nav.scrolled {
  background: rgba(8,8,7,.92);
  backdrop-filter: blur(14px);
  padding: 18px 64px;
}

/* Logo: tipografía display con el punto en gold */
.logo {
  font-family: var(--ff-d);
  font-size: 22px; font-weight: 300;
  letter-spacing: .15em; color: var(--cream);
  text-decoration: none;
}
.logo span { color: var(--gold); }

/* Links del nav: uppercase pequeño con línea animada al hover */
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-dim); text-decoration: none;
  position: relative; transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .4s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* Botón CTA del nav: fondo gold, invierte colores al hover */
.nav-cta {
  font-family: var(--ff-m);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bg); background: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 24px; text-decoration: none;
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: transparent; color: var(--gold); }

/* ═══════════════════════════════════════════════
   HERO
   Grid de dos columnas: contenido a la izquierda,
   stats a la derecha. Columna izquierda centrada
   verticalmente con texto prominente.
═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  padding: 140px 64px 80px 64px;
  position: relative; overflow: hidden;
  gap: 24px;
}

/* Líneas verticales decorativas de fondo */
.vline {
  position: absolute; top: 0; bottom: 0;
  width: 1px; background: var(--line);
}

/* Columna izquierda: centrada dentro de su columna */
.hero-content {
  display: flex; flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative; z-index: 2;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Label pequeño encima del título */
.hero-label {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  opacity: 0; animation: up .9s ease .2s forwards;
}

/* Título principal: más grande, más aire */
.hero-title {
  font-family: var(--ff-d);
  font-size: clamp(64px, 7.5vw, 130px);
  font-weight: 300; line-height: .9;
  letter-spacing: -.03em; color: var(--cream);
  opacity: 0; animation: up 1s ease .4s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-title .out {
  -webkit-text-stroke: 1px rgba(200,169,110,.35);
  color: transparent;
}

/* Descripción debajo del título — más grande */
.hero-desc {
  max-width: 480px; line-height: 2;
  color: var(--cream-dim); font-size: 14px; font-weight: 300;
  margin-top: 32px; letter-spacing: .02em;
  opacity: 0; animation: up 1s ease .65s forwards;
}

/* Fila de CTAs — botones más grandes */
.cta-row {
  display: flex; gap: 16px; align-items: center;
  margin-top: 40px;
  opacity: 0; animation: up 1s ease .8s forwards;
}

/* Botón primario */
.btn-p {
  font-family: var(--ff-m);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 17px 44px;
  background: var(--gold); color: var(--bg);
  border: 1px solid var(--gold);
  text-decoration: none; transition: background .3s, color .3s;
}
.btn-p:hover { background: transparent; color: var(--gold); }

/* Botón ghost */
.btn-g {
  font-family: var(--ff-m);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 17px 44px;
  background: transparent; color: var(--cream-dim);
  border: 1px solid var(--line);
  text-decoration: none; transition: border-color .3s, color .3s;
}
.btn-g:hover { border-color: var(--gold-dim); color: var(--cream); }

/* ── HAMBURGER & MOBILE MENU ── */
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 1px;
  background: var(--cream); transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 490;
  flex-direction: column; align-items: flex-start;
  justify-content: center; padding: 0 32px; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--ff-d); font-size: clamp(36px, 10vw, 52px);
  font-weight: 300; color: var(--cream); text-decoration: none;
  letter-spacing: -.01em; padding: 8px 0;
  border-bottom: 1px solid var(--line); width: 100%;
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu-cta {
  font-family: var(--ff-m) !important;
  font-size: 11px !important; letter-spacing: .18em !important;
  text-transform: uppercase; color: var(--bg) !important;
  background: var(--gold); padding: 14px 28px !important;
  margin-top: 16px; border-bottom: none !important; width: auto !important;
}

@media(max-width: 900px) {
  .nav-burger { display: flex; }
}

/* ── SEÑALES DE CONFIANZA (opción C) ──
   Fila con logos de Google Search, Maps y Reviews.
   Separada del CTA con borde top tenue.
   Aparece con animación de entrada retrasada. */
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  opacity: 0; animation: up 1s ease 1s forwards;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dim); flex-shrink: 0;
}
.trust-items { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 6px;
}
.trust-icon {
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 9px; font-family: sans-serif; font-weight: 700;
}
.trust-item span {
  font-size: 10px; color: var(--cream-dim); font-family: var(--ff-m);
  letter-spacing: .05em;
}

/* ── STATS CARDS (columna derecha del hero) ──
   Cada card entra con un drop escalonado desde arriba.
   Los números hacen count-up via JS cuando entran en viewport.
   Barra gold izquierda que se extiende al hover.
   Al hacer click llevan a la fuente.
   Fondo claro (gris cálido) que contrasta con el bg oscuro. */
.hero-stats {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 0;
}

/* Cada card entra cayendo desde arriba con delay escalonado */
.stat-card {
  display: block;
  border: 1px solid rgba(200,169,110,.2);
  border-bottom: none;
  padding: 22px 24px 22px 28px;
  text-decoration: none;
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  background: #f5f2ec;
  transition: background .35s, border-color .35s;
}
.stat-card:last-child { border-bottom: 1px solid rgba(200,169,110,.2); }
.stat-card.dropped { opacity: 1; transform: translateY(0); transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1), background .35s, border-color .35s; }

/* Barra izquierda gold: crece al hover */
.stat-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.stat-card:hover::before { transform: scaleY(1); }
.stat-card:hover { background: #ede9e0; border-color: rgba(200,169,110,.5); }
.stat-card:hover + .stat-card { border-top-color: rgba(200,169,110,.5); }

/* Ícono de enlace externo */
.stat-link-icon {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--ff-m); font-size: 10px; color: #9a7d4f;
  opacity: 0; transition: opacity .2s, transform .2s;
  transform: translateX(-4px);
}
.stat-card:hover .stat-link-icon { opacity: 1; transform: translateX(0); }

/* Número: grande, gold, con slot para el valor animado */
.stat-num {
  font-family: var(--ff-d);
  font-size: clamp(44px, 5vw, 64px); font-weight: 300;
  color: #9a7d4f; line-height: 1; letter-spacing: -.03em;
  margin-bottom: 10px;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-val { display: inline-block; min-width: 2ch; }
.stat-suffix {
  font-size: .42em; color: #c8a96e;
  letter-spacing: 0; vertical-align: baseline;
  margin-left: 2px;
}
.stat-claim {
  font-family: var(--ff-m); font-size: 11px; font-weight: 300;
  color: #1a1a17; line-height: 1.7; letter-spacing: .03em;
  margin-bottom: 8px;
}
.stat-source {
  font-family: var(--ff-m); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  color: #9a7d4f;
}

/* Número fantasma — oculto en desktop ahora que hay stats */
.hero-ghost-num { display: none; }
.stat-tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1a1a17; color: #f5f2ec;
  font-family: var(--ff-m); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; white-space: nowrap;
  pointer-events: none; opacity: 0;
  z-index: 100;
  transition: opacity .25s ease, transform .25s ease;
}
.stat-tooltip::after {
  content: '';
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a1a17;
}
.stat-card.tooltip-visible .stat-tooltip {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* Indicador de scroll al fondo del hero */
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--gold-dim); font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  opacity: 0; animation: up 1s ease 1.2s forwards;
  grid-column: 1 / 3;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: pulse 2s ease infinite;
}

/* scroll-margin-top compensa la nav fija al navegar con links internos */
#services, #pricing, #contact { scroll-margin-top: 80px; }

/* ═══════════════════════════════════════════════
   SECCIONES — ESTILOS COMPARTIDOS
   Padding uniforme para todas las secciones.
   .s-header = fila con número, título y línea horizontal.
   .s-line crece con flex:1 para llenar el espacio restante.
═══════════════════════════════════════════════ */
section {
  padding: 120px 64px;
  position: relative;
}
.s-header {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: 72px;
}
.s-num  { font-size: 10px; letter-spacing: .2em; color: var(--gold-dim); }
.s-title {
  font-family: var(--ff-d);
  font-size: clamp(36px, 5vw, 56px); font-weight: 300;
  color: var(--cream); letter-spacing: -.01em;
}
.s-line { flex: 1; height: 1px; background: var(--line); margin-left: 24px; }

/* ═══════════════════════════════════════════════
   SECCIÓN: SERVICIOS
   Grid de 3 columnas que se ajusta automáticamente
   con auto-fit. Cada card (.svc) cambia de fondo
   al hacer hover. Los tags son pequeños labels
   con borde y texto en gold apagado.
═══════════════════════════════════════════════ */
#services { border-top: 1px solid var(--line); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
}
.svc {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  transition: background .4s;
}
.svc:last-child { border-right: none; }
.svc:hover { background: var(--surface); }

.svc-num  { font-size: 10px; letter-spacing: .2em; color: var(--gold-dim); display: block; margin-bottom: 28px; }
.svc-name {
  font-family: var(--ff-d); font-size: 28px; font-weight: 300;
  color: var(--cream); letter-spacing: -.01em;
  margin-bottom: 16px; line-height: 1.1;
}
.svc-desc  { font-size: 11px; line-height: 1.9; color: var(--cream-dim); font-weight: 300; margin-bottom: 28px; }
.svc-tags  { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tag   {
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--gold-dim); padding: 4px 10px;
}

/* ═══════════════════════════════════════════════
   SECCIÓN: PRICING
   Fondo crema (#f5f2ec) en la sección,
   cards oscuros (#080807) para contraste invertido.
   Texto vuelve a la paleta cream/gold original.
═══════════════════════════════════════════════ */
#pricing {
  border-top: 1px solid var(--line);
  background: #f5f2ec;
}

/* Ajustar header de sección sobre fondo crema */
#pricing .s-num  { color: #9a7d4f; }
#pricing .s-title { color: #1a1a17; }
#pricing .s-line  { background: rgba(200,169,110,.35); }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.plan {
  border: 1px solid rgba(200,169,110,.2);
  padding: 44px 36px;
  display: flex; flex-direction: column;
  transition: border-color .4s, background .4s;
  position: relative;
  background: var(--bg);
}
.plan:hover { border-color: var(--gold-dim); background: var(--surface); }
.plan.featured { border-color: var(--gold); }

/* Badge flotante sobre el borde superior del card */
.plan-badge {
  position: absolute; top: -1px; left: 36px;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--gold); color: var(--bg); padding: 4px 12px;
}

.plan-name {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.plan-tagline {
  font-family: var(--ff-d); font-size: 15px; font-weight: 300;
  font-style: italic; color: var(--cream-dim);
  margin-bottom: 24px; letter-spacing: .02em;
}

/* Precio base — siempre visible */
.plan-price {
  font-family: var(--ff-d);
  font-size: clamp(44px, 5.5vw, 68px); font-weight: 300;
  color: var(--cream); line-height: 1; letter-spacing: -.02em;
  margin-bottom: 6px;
}
.plan-price sup { font-size: .38em; vertical-align: super; color: var(--gold-dim); }
.plan-note  { font-size: 10px; color: var(--cream-dim); margin-bottom: 6px; letter-spacing: .05em; }
.plan-renew { font-size: 10px; color: var(--gold-dim); letter-spacing: .04em; margin-bottom: 28px; }

.plan-divider { width: 100%; height: 1px; background: var(--line); margin-bottom: 28px; }

/* Lista de features */
.plan-features { list-style: none; flex: 1; margin-bottom: 28px; }
.plan-features li {
  font-size: 11px; color: var(--cream-dim); font-weight: 300;
  line-height: 1.7; padding: 6px 0;
  border-bottom: 1px solid rgba(200,169,110,.07);
  display: flex; align-items: center; gap: 12px;
}
.plan-features li::before {
  content: ''; width: 4px; height: 4px;
  background: var(--gold-dim); border-radius: 50%; flex-shrink: 0;
}
.plan-features li.inherited { opacity: .5; }

/* ── PRICING SLIDER (mobile) ──
   En mobile, .plans se convierte en un scroll horizontal
   con snapping. Cada .plan ocupa el 85% del viewport.
   Los dots indican la posición actual. */
.plans-wrapper { position: relative; }
.plans-dots {
  display: none;
  justify-content: center; gap: 8px;
  margin-top: 20px;
}
.plans-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(200,169,110,.3); border: none;
  cursor: pointer; padding: 0; transition: background .3s;
}
.plans-dot.active { background: var(--gold); }

@media(max-width: 900px) {
  .plans {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding-bottom: 4px;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan {
    flex: 0 0 85vw;
    scroll-snap-align: center;
    min-width: 0;
  }
  .plans-dots { display: flex; }
}

/* ── CHECKBOX ADD-ON ──
   .has-monthly  → plan seleccionado (checkbox gold, formulario)
   .popover-open → popover visible (independiente del estado)
   Esto permite cerrar el popup sin deseleccionar el plan. */
.addon-toggle {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; margin-bottom: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  transition: border-color .3s, background .3s;
  user-select: none;
}
.addon-toggle:hover { border-color: var(--gold-dim); }
.plan.has-monthly .addon-toggle {
  border-color: var(--gold);
  background: rgba(200,169,110,.05);
}

/* Checkbox visual custom */
.addon-toggle input[type="checkbox"] { display: none; }
.addon-check {
  width: 14px; height: 14px; flex-shrink: 0;
  border: 1px solid var(--gold-dim);
  position: relative; transition: background .2s, border-color .2s;
}
.plan.has-monthly .addon-check {
  background: var(--gold); border-color: var(--gold);
}
.plan.has-monthly .addon-check::after {
  content: '';
  position: absolute; top: 2px; left: 4px;
  width: 4px; height: 7px;
  border-right: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(40deg);
}
.addon-label {
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cream-dim); transition: color .3s;
}
.plan.has-monthly .addon-label { color: var(--gold); }

/* ── POPOVER MENSUAL ──
   Controlado por .popover-open en el .plan.
   La × solo cierra el popup, no desmarca el plan.
   Click fuera también cierra el popup solamente. */
.addon-wrap {
  position: relative;
  z-index: 10;
}
.plan.popover-open .addon-wrap { z-index: 20; }

.addon-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0; right: 0;
  background: #f5f2ec;
  border: 1px solid rgba(200,169,110,.4);
  border-top: 2px solid var(--gold);
  padding: 16px 18px 16px;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.plan.popover-open .addon-popover {
  opacity: 1; pointer-events: all;
  transform: translateY(0);
}

/* Botón × para cerrar el popup sin deseleccionar */
.popover-close {
  position: absolute; top: 8px; right: 10px;
  font-family: var(--ff-m); font-size: 14px; line-height: 1;
  color: #9a7d4f; background: none; border: none;
  cursor: pointer; padding: 2px 4px;
  transition: color .2s;
}
.popover-close:hover { color: #1a1a17; }
.addon-heading {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: #9a7d4f; margin-bottom: 10px;
}

/* Precio mensual dentro del popover (fondo claro) */
.addon-price {
  font-family: var(--ff-d); font-size: 32px; font-weight: 300;
  color: #1a1a17; line-height: 1; letter-spacing: -.01em;
  margin-bottom: 4px;
}
.addon-price sup { font-size: .38em; vertical-align: super; color: #9a7d4f; }
.addon-price .mo { font-size: .35em; color: #9a7d4f; letter-spacing: .05em; }

/* Precio tachado (solo Pro) */
.addon-struck {
  font-family: var(--ff-d); font-size: 14px; font-weight: 300;
  color: #9a7d4f; text-decoration: line-through;
  letter-spacing: -.01em; margin-bottom: 2px;
}

/* Nota "billed from month 2" */
.addon-from2 {
  font-size: 10px; color: #9a7d4f;
  letter-spacing: .06em; margin: 8px 0 10px;
  padding: 5px 8px;
  border-left: 2px solid var(--gold);
  background: rgba(200,169,110,.1);
}

/* Lista de incluidos dentro del add-on */
.addon-includes { list-style: none; margin: 0; }
.addon-includes li {
  font-size: 10px; color: #3a3228; font-weight: 300;
  padding: 4px 0; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(200,169,110,.15);
}
.addon-includes li::before {
  content: ''; width: 3px; height: 3px;
  background: #9a7d4f; border-radius: 50%; flex-shrink: 0;
}

/* Botón al fondo */
.btn-plan {
  font-family: var(--ff-m);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  padding: 13px 28px; text-align: center;
  text-decoration: none; display: block; transition: .3s;
  margin-top: 20px;
}
.plan:not(.featured) .btn-plan {
  background: transparent; color: var(--cream-dim);
  border: 1px solid var(--line);
}
.plan:not(.featured) .btn-plan:hover { border-color: var(--gold-dim); color: var(--cream); }
.plan.featured .btn-plan {
  background: var(--gold); color: var(--bg);
  border: 1px solid var(--gold);
}
.plan.featured .btn-plan:hover { background: transparent; color: var(--gold); }

/* ═══════════════════════════════════════════════
   SECCIÓN: CONTACTO
   Grid de dos columnas: info a la izquierda,
   formulario a la derecha.
   El formulario usa campos flotantes: el label
   se apaga (opacity .5) cuando el campo tiene texto.
   border-top y border-left en el wrapper crean
   el efecto de grilla que rodea los campos.
═══════════════════════════════════════════════ */
#contact {
  border-top: 1px solid var(--line);
}

/* Header vuelve a paleta oscura */
#contact .s-num  { color: var(--gold-dim); }
#contact .s-title { color: var(--cream); }
#contact .s-line  { background: var(--line); }

.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.contact-info h2 {
  font-family: var(--ff-d);
  font-size: clamp(40px, 5.5vw, 64px); font-weight: 300;
  color: var(--cream); letter-spacing: -.01em;
  line-height: 1.05; margin-bottom: 24px;
}
.contact-info h2 em { font-style: italic; color: var(--gold); }
.contact-info p {
  font-size: 12px; color: var(--cream-dim);
  line-height: 1.9; font-weight: 300;
  max-width: 360px; margin-bottom: 40px;
}

/* Datos de contacto */
.contact-meta  { display: flex; flex-direction: column; gap: 20px; }
.meta-row      { display: flex; flex-direction: column; gap: 4px; }
.meta-label    { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dim); }
.meta-val      { font-size: 12px; color: var(--cream-dim); }
.meta-val a    { color: var(--cream-dim); text-decoration: none; transition: color .3s; }
.meta-val a:hover { color: var(--gold); }

/* Wrapper del formulario */
.form { display: flex; flex-direction: column; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; }
.form-row.full { grid-template-columns: 1fr; }

/* Campo individual: fondo oscuro, texto cream */
.field {
  position: relative;
  border-bottom: 1px solid rgba(200,169,110,.2);
  border-right: 1px solid rgba(200,169,110,.2);
  transition: border-color .3s;
  background: var(--bg);
}
.field:focus-within { border-color: var(--gold); }

.field input,
.field textarea {
  width: 100%; background: transparent;
  border: none; outline: none;
  font-family: var(--ff-m); font-size: 12px;
  color: var(--cream); padding: 32px 20px 12px;
  letter-spacing: .04em; font-weight: 300; resize: none;
}
.field textarea { min-height: 120px; }

/* Label flotante */
.field label {
  position: absolute; top: 0; left: 0; right: 0;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dim); pointer-events: none; transition: opacity .3s;
  padding: 10px 20px 8px;
  border-bottom: 1px solid rgba(200,169,110,.15);
}
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label { opacity: .5; }

/* Bordes del wrapper — forma el rectángulo completo */
.form-border-top   { border-top:    1px solid rgba(200,169,110,.2); }
.form-border-left  { border-left:   1px solid rgba(200,169,110,.2); }
.form-border-right { border-right:  1px solid rgba(200,169,110,.2); }
.form-border-bot   { border-bottom: 1px solid rgba(200,169,110,.2); }

/* ── PLAN FIELD — hint de navegación a pricing ──
   Visible solo cuando no hay plan seleccionado.
   Al hacer hover, el campo se ilumina con borde gold
   y la flecha anima hacia arriba para guiar al usuario. */
.fplan-hint {
  position: absolute;
  right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dim);
  display: flex; align-items: center; gap: 6px;
  opacity: 0;
  transition: opacity .3s, color .3s;
  pointer-events: none;
  white-space: nowrap;
}
.fplan-hint .fplan-arrow {
  display: inline-block;
  transition: transform .3s;
}
.fplan-field:hover .fplan-hint { opacity: 1; color: var(--gold); }
.fplan-field:hover .fplan-hint .fplan-arrow { transform: translateY(-2px); }

/* Cuando tiene valor (plan elegido), ocultar el hint */
.fplan-field.has-plan .fplan-hint { display: none; }
.fplan-field.has-plan { cursor: default !important; }
.fplan-field.has-plan input { cursor: default !important; }

/* Sin plan: borde punteado sutil para indicar que es accionable */
.fplan-field:not(.has-plan) {
  border-bottom-style: dashed;
  border-bottom-color: rgba(200,169,110,.3);
}
.fplan-field:not(.has-plan):hover {
  border-bottom-color: var(--gold);
  border-bottom-style: solid;
}

/* Botón de envío */
.form-submit {
  font-family: var(--ff-m);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--gold); color: var(--bg);
  border: 1px solid var(--gold);
  padding: 18px 36px; cursor: pointer;
  transition: background .3s, color .3s;
  align-self: flex-start; margin-top: 28px;
}
.form-submit:hover { background: transparent; color: var(--gold); }

/* ═══════════════════════════════════════════════
   FOOTER
   Fila horizontal con logo, copyright y links.
   flex-wrap: wrap para adaptarse en mobile.
═══════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 64px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo       { font-family: var(--ff-d); font-size: 18px; font-weight: 300; letter-spacing: .15em; color: var(--cream); }
.footer-logo span  { color: var(--gold); }
.footer-copy       { font-size: 10px; color: var(--gold-dim); letter-spacing: .1em; }
.footer-links      { display: flex; gap: 28px; }
.footer-links a    { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-dim); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   ANIMACIÓN DE ENTRADA AL SCROLL (.reveal)
   Los elementos con clase .reveal empiezan
   invisibles y desplazados hacia abajo.
   JS usa IntersectionObserver para agregar
   la clase .in cuando el elemento entra en
   pantalla, disparando la transición CSS.
═══════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════
   ANIMACIÓN TICK — FORMULARIO ENVIADO
   El botón se reemplaza por un SVG con un tick
   que se dibuja lentamente usando stroke-dashoffset.
   La línea parte de dashoffset = largo del path
   y llega a 0, revelando el trazo.
   Debajo aparece el texto con fade-in retrasado.
═══════════════════════════════════════════════ */
.form-sent {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 12px; margin-top: 28px;
}
.tick-svg { width: 48px; height: 48px; }
.tick-circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  animation: draw-circle 1s ease .1s forwards;
}
.tick-check {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: draw-check 0.9s ease .9s forwards;
}
.form-sent-text {
  font-family: var(--ff-m); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeIn .6s ease 1.6s forwards;
}
.form-sent-sub {
  font-family: var(--ff-m); font-size: 10px; font-weight: 300;
  letter-spacing: .06em; color: var(--cream-dim);
  opacity: 0;
  animation: fadeIn .6s ease 1.9s forwards;
}
@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}
@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes up    { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes pulse { 0%,100% { opacity:.4; } 50% { opacity:1; } }
@keyframes shake { 0%,100% { transform:translateX(0); } 25% { transform:translateX(-6px); } 75% { transform:translateX(6px); } }


/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET (max 900px)
═══════════════════════════════════════════════ */
@media(max-width: 900px) {

  /* NAV */
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }

  /* SECCIONES */
  section { padding: 64px 24px; }

  /* HERO */
  #hero {
    grid-template-columns: 1fr;
    padding: 110px 24px 60px;
    gap: 36px;
  }
  .hero-content { margin: 0; padding-right: 0; max-width: 100%; }
  .hero-title { font-size: clamp(44px, 11vw, 80px); }
  .hero-desc  { font-size: 13px; margin-top: 24px; max-width: 100%; }
  .cta-row    { margin-top: 24px; flex-wrap: wrap; gap: 12px; }
  .btn-p, .btn-g { padding: 13px 28px; font-size: 10px; }
  .hero-trust { margin-top: 24px; gap: 12px; }
  .trust-items { gap: 12px; }
  .hero-stats { display: none; }
  .scroll-hint { grid-column: 1; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; }
  .svc { border-right: none; border-bottom: 1px solid var(--line); padding: 36px 28px; }
  .svc:last-child { border-bottom: none; }

  /* PRICING */
  #pricing { padding: 64px 24px; }
  .plans {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 85vw; scroll-snap-align: center; min-width: 0; padding: 32px 24px; }
  .plan-price { font-size: clamp(40px, 10vw, 60px); }
  .plans-dots { display: flex; }

  /* CONTACT */
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .form-row     { grid-template-columns: 1fr; }
  .field        { border-right: none !important; }
  .form-border-right { border-right: none; }
  .contact-info h2 { font-size: clamp(32px, 9vw, 52px); }

  /* FOOTER */
  footer { flex-direction: column; align-items: flex-start; padding: 24px; gap: 12px; }
  .footer-links { gap: 20px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 480px)
═══════════════════════════════════════════════ */
@media(max-width: 480px) {

  /* NAV */
  nav { padding: 18px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .logo { font-size: 18px; }

  /* SECCIONES */
  section { padding: 52px 20px; }

  /* HERO */
  #hero { padding: 96px 20px 52px; gap: 28px; }
  .hero-title { font-size: clamp(36px, 13vw, 56px); line-height: .95; }
  .hero-desc  { font-size: 12px; line-height: 1.8; }
  .cta-row    { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-p, .btn-g { width: 100%; text-align: center; padding: 15px 20px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-items { gap: 14px; flex-wrap: wrap; }

  /* SECTION HEADERS */
  .s-header { flex-wrap: wrap; gap: 8px; }
  .s-line   { display: none; }
  .s-title  { font-size: clamp(28px, 9vw, 40px); }

  /* SERVICES */
  .svc { padding: 28px 20px; }
  .svc-name { font-size: 24px; }
  .svc-desc { font-size: 11px; }

  /* PRICING */
  .plan { flex: 0 0 88vw; padding: 28px 20px; }
  .plan-price { font-size: clamp(36px, 12vw, 52px); }
  .addon-popover {
    position: fixed; bottom: 0; left: 0; right: 0;
    border-radius: 12px 12px 0 0;
    border-top: 2px solid var(--gold);
    border-left: none; border-right: none; border-bottom: none;
    z-index: 200;
  }

  /* CONTACT */
  .contact-info h2 { font-size: clamp(28px, 10vw, 40px); }
  .contact-info p { font-size: 11px; }
  .meta-val { font-size: 11px; }
  .form-submit { width: 100%; text-align: center; margin: 0; }

  /* FOOTER */
  footer { padding: 20px; }
  .footer-logo { font-size: 16px; }
  .footer-copy { font-size: 9px; }
  .footer-links a { font-size: 9px; }

  /* MOBILE MENU */
  .mobile-menu { padding: 0 24px; }
  .mobile-menu a { font-size: clamp(28px, 9vw, 44px); }
}