/* =========================================================================
   AVANZAII — Sistema de diseño
   Paleta: azul marino noche + dorado champán + crema
   Tipografía: Fraunces (display serif) + Manrope (body sans)
   ========================================================================= */

:root {
  /* Color tokens — primitivos */
  --ink-900: #0a1428;          /* azul casi negro */
  --ink-800: #0f1d3a;          /* azul marino profundo (color del logo) */
  --ink-700: #1a2c52;
  --ink-600: #2a3e6b;
  --ink-500: #4a5a82;
  --ink-400: #7a89a8;

  --gold-700: #8a6420;
  --gold-600: #b08436;
  --gold-500: #d4a857;         /* dorado champán principal */
  --gold-400: #e8c581;
  --gold-300: #f0d8a8;
  --gold-200: #f8ebd1;

  --cream-100: #faf8f3;        /* crema/marfil fondo */
  --cream-200: #f3eee2;
  --cream-300: #e8e0cd;

  --white: #ffffff;
  --black: #000000;

  --green-success: #2d8a5f;
  --red-error: #c84545;

  /* Semánticos */
  --bg: var(--cream-100);
  --bg-elevated: var(--white);
  --bg-dark: var(--ink-800);
  --bg-darkest: var(--ink-900);

  --text-primary: var(--ink-900);
  --text-secondary: #3d4a64;
  --text-muted: #5a6680;
  --text-on-dark: #e8ecf3;
  --text-on-dark-muted: #a8b3c8;

  --accent: var(--gold-500);
  --accent-strong: var(--gold-600);

  --border: rgba(15, 29, 58, 0.10);
  --border-strong: rgba(15, 29, 58, 0.18);
  --border-on-dark: rgba(232, 197, 129, 0.22);

  /* Tipografía */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Espaciado */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container: min(1240px, calc(100% - 48px));
  --container-narrow: min(960px, calc(100% - 48px));
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(10, 20, 40, 0.04), 0 2px 8px rgba(10, 20, 40, 0.04);
  --shadow: 0 4px 24px rgba(10, 20, 40, 0.07), 0 12px 48px rgba(10, 20, 40, 0.05);
  --shadow-lg: 0 12px 48px rgba(10, 20, 40, 0.10), 0 32px 96px rgba(10, 20, 40, 0.08);
  --shadow-gold: 0 8px 32px rgba(212, 168, 87, 0.20);
}

/* =========================================================================
   Reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--gold-500); color: var(--ink-900); }

/* =========================================================================
   Tipografía
   ========================================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h1 {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -0.015em; }
h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.005em; }

p { color: var(--text-secondary); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-secondary); max-width: 60ch; }

.italic { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }

/* Eyebrow / etiquetas */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}
.dark .eyebrow { color: var(--gold-400); }
.dark .eyebrow::before { background: var(--gold-400); }

/* =========================================================================
   Layout helpers
   ========================================================================= */
.container { width: var(--container); margin: 0 auto; }
.container-narrow { width: var(--container-narrow); margin: 0 auto; }

.section {
  padding: clamp(60px, 9vw, 130px) 0;
  position: relative;
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p { color: var(--text-on-dark); }
.section--cream { background: var(--cream-100); }
.section--white { background: var(--white); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =========================================================================
   Header / Navegación
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header.is-dark {
  background: rgba(10, 20, 40, 0.82);
  border-bottom: 1px solid var(--border-on-dark);
}
.site-header.is-dark .nav-link { color: var(--text-on-dark); }
.site-header.is-dark .nav-link:hover { color: var(--gold-400); }
.site-header.is-dark .nav-logo-text { color: var(--white); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 48px;
  width: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(10, 20, 40, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-logo:hover img {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(10, 20, 40, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 100px;
  transition: all 0.2s ease;
}
.nav-link:hover { color: var(--ink-900); background: rgba(15, 29, 58, 0.05); }
.nav-link.is-active {
  color: var(--ink-900);
  background: rgba(212, 168, 87, 0.14);
}

/* dropdown */
.has-dropdown { position: relative; }
.has-dropdown > .nav-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  opacity: 0.55;
  transition: transform 0.2s;
}
.has-dropdown:hover > .nav-link::after { transform: rotate(225deg) translateY(0); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--ink-800);
  transition: all 0.15s;
}
.dropdown a:hover { background: var(--cream-200); color: var(--gold-700); }
.dropdown a small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
  margin-top: 2px;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--ink-800);
  color: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink-900);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: white;
  font-size: 1.4rem;
  font-family: var(--font-display);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu .mobile-sub {
  padding: 8px 0 8px 16px;
  border-left: 1px solid rgba(212,168,87,0.3);
  margin-bottom: 8px;
}
.mobile-menu .mobile-sub a {
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 8px 0;
  border: 0;
  color: var(--gold-300);
}

/* =========================================================================
   Botones
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  position: relative;
}
.btn-primary {
  background: var(--ink-900);
  color: var(--white);
  box-shadow: 0 2px 0 0 var(--gold-500), 0 8px 24px rgba(10,20,40,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 0 0 var(--gold-500), 0 14px 32px rgba(10,20,40,0.28);
}
.btn-gold {
  background: var(--gold-500);
  color: var(--ink-900);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212,168,87,0.32);
}
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--ink-800);
}
.btn-outline:hover { background: var(--ink-900); color: var(--white); }
.dark .btn-outline,
.section--dark .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.dark .btn-outline:hover,
.section--dark .btn-outline:hover {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-800);
  padding: 12px 18px;
}
.btn-ghost:hover { color: var(--gold-700); }
.btn-ghost::after {
  content: "→";
  transition: transform 0.2s;
}
.btn-ghost:hover::after { transform: translateX(4px); }

.btn svg { width: 18px; height: 18px; }

/* =========================================================================
   Cards
   ========================================================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-500);
  font-style: italic;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }

.card--dark {
  background: var(--ink-700);
  border-color: var(--border-on-dark);
  color: var(--text-on-dark);
}
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--text-on-dark-muted); }

.card--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border: 0;
  color: var(--ink-900);
}
.card--gold h3 { color: var(--ink-900); }
.card--gold p { color: var(--ink-800); }

.card--feature {
  padding: 40px;
}

/* Service cards con icono */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-200);
  border-radius: 16px;
  color: var(--ink-800);
}
.service-icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
.service-card h3 { margin: 0; }
.service-card .price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-700);
  margin-top: auto;
}
.service-card .link {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .link::after {
  content: "→";
  transition: transform 0.2s;
}
.service-card:hover .link::after { transform: translateX(4px); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 140px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero--cream { background: var(--cream-100); }
.hero--dark {
  background: var(--ink-900);
  color: var(--text-on-dark);
}
.hero--dark h1 { color: var(--white); }
.hero--dark p { color: var(--text-on-dark); }

/* Detalle decorativo */
.hero-ornament {
  position: absolute;
  pointer-events: none;
}
.hero-ornament--circle {
  width: 520px;
  height: 520px;
  border: 1px solid var(--gold-300);
  border-radius: 50%;
  top: -180px;
  right: -180px;
  opacity: 0.6;
}
.hero-ornament--circle::before {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  opacity: 0.5;
}
.hero-ornament--circle::after {
  content: "";
  position: absolute;
  inset: 130px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  opacity: 0.4;
}

.hero h1 .accent {
  font-style: italic;
  color: var(--gold-600);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero--dark h1 .accent { color: var(--gold-400); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero--dark .hero-meta { border-color: var(--border-on-dark); }
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-style: italic;
  color: var(--gold-600);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.hero--dark .hero-meta-item .num { color: var(--gold-400); }
.hero-meta-item small {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.hero--dark .hero-meta-item small { color: var(--text-on-dark-muted); }

/* Hero asimétrico con visual */
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 50px; }
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-800);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.hero-visual .badge-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-visual .badge-floating .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-success);
  box-shadow: 0 0 0 4px rgba(45, 138, 95, 0.15);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45, 138, 95, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(45, 138, 95, 0.05); }
}
.hero-visual .badge-floating .txt {
  font-size: 0.88rem;
  color: var(--ink-800);
}
.hero-visual .badge-floating .txt strong { display: block; }

/* =========================================================================
   Breadcrumbs
   ========================================================================= */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a:hover { color: var(--ink-900); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb .current { color: var(--ink-800); font-weight: 600; }

/* =========================================================================
   Section heads
   ========================================================================= */
.section-head {
  max-width: 720px;
  margin-bottom: 60px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: 1.08rem; }

/* =========================================================================
   Pricing / Featured offer
   ========================================================================= */
.offer-card {
  background: var(--ink-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.offer-card::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-500), transparent 70%);
  opacity: 0.15;
  right: -100px;
  top: -100px;
}
@media (max-width: 880px) {
  .offer-card { grid-template-columns: 1fr; }
}
.offer-card h2 { color: var(--white); }
.offer-card p { color: var(--text-on-dark); }
.offer-price {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-400);
  line-height: 1;
  letter-spacing: -0.04em;
}
.offer-price small {
  font-size: 0.3em;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: block;
  margin-top: 12px;
}
.offer-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offer-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-on-dark);
  font-size: 0.96rem;
}
.offer-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-500);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1428' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 3px;
}

/* =========================================================================
   Process steps (Por dentro / Cómo trabajamos)
   ========================================================================= */
.process {
  position: relative;
}
.process-line {
  position: absolute;
  top: 36px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--border);
}
@media (max-width: 880px) {
  .process-line { display: none; }
}
.process-step {
  position: relative;
  text-align: center;
  padding-top: 0;
}
.process-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold-600);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process-step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; }

/* =========================================================================
   Local areas
   ========================================================================= */
.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.local-item {
  background: var(--white);
  padding: 22px 24px;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.local-item:hover { background: var(--cream-200); }
.local-item .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-900);
}
.local-item .meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.local-item.is-key {
  background: var(--ink-800);
}
.local-item.is-key .name { color: var(--white); }
.local-item.is-key .meta { color: var(--gold-300); }
.local-item.is-key:hover { background: var(--ink-700); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold-600);
  transition: transform 0.25s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 28px;
  font-size: 1rem;
  max-width: 70ch;
}

/* =========================================================================
   CTA banner
   ========================================================================= */
.cta-banner {
  background: var(--ink-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::before {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-500), transparent 70%);
  opacity: 0.15;
  left: -100px; top: -100px;
}
.cta-banner::after {
  width: 400px; height: 400px;
  border: 1px solid var(--gold-400);
  opacity: 0.15;
  right: -150px; bottom: -200px;
}
.cta-banner h2 { color: var(--white); position: relative; z-index: 1; }
.cta-banner p { color: var(--text-on-dark); margin: 18px auto; max-width: 60ch; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; margin-top: 24px; }

/* =========================================================================
   Formularios
   ========================================================================= */
.form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: 0.01em;
}
.form-field label .req { color: var(--gold-700); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  background: var(--cream-100);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.97rem;
  color: var(--ink-900);
  transition: all 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(212, 168, 87, 0.12);
}
.form-field textarea { resize: vertical; min-height: 140px; font-family: inherit; }

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0 22px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold-600);
}
.form-check a { color: var(--gold-700); text-decoration: underline; }

.form .btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 1rem; }

.form-aside {
  display: grid;
  gap: 18px;
}
.form-aside .info-block {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--cream-200);
  border-radius: 14px;
}
.form-aside .info-block svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold-600);
  margin-top: 2px;
}
.form-aside .info-block strong { display: block; margin-bottom: 4px; color: var(--ink-900); }
.form-aside .info-block p { font-size: 0.9rem; margin: 0; }

/* =========================================================================
   WhatsApp flotante
   ========================================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--ink-900);
  color: var(--text-on-dark);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand p {
  margin-top: 18px;
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  max-width: 32ch;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--text-on-dark);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-400); }

.footer-bottom {
  border-top: 1px solid rgba(232, 197, 129, 0.18);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* =========================================================================
   Bloque "Honesto" / message blocks
   ========================================================================= */
.honest-block {
  background: var(--cream-200);
  border-left: 4px solid var(--gold-500);
  padding: 24px 28px;
  border-radius: 0 16px 16px 0;
  margin: 32px 0;
  display: flex;
  gap: 16px;
}
.honest-block svg {
  width: 24px;
  height: 24px;
  color: var(--gold-700);
  flex-shrink: 0;
  margin-top: 4px;
}
.honest-block h4 { margin-bottom: 6px; color: var(--ink-900); }
.honest-block p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

/* =========================================================================
   Casos de uso - lista con bullets de oro
   ========================================================================= */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
  color: var(--text-secondary);
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream-200);
  border: 1.5px solid var(--gold-500);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08436' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}
.dark .checklist li, .section--dark .checklist li { color: var(--text-on-dark); }

/* =========================================================================
   Animaciones de aparición
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Cookies banner
   ========================================================================= */
.cookies-banner {
  position: fixed;
  bottom: 22px;
  left: 22px;
  right: auto;
  max-width: 380px;
  z-index: 95;
  background: var(--ink-900);
  color: var(--text-on-dark);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  display: none;
}
.cookies-banner.is-visible { display: block; }
.cookies-banner p { color: var(--text-on-dark); margin-bottom: 14px; }
.cookies-banner a { color: var(--gold-400); text-decoration: underline; }
.cookies-banner .actions { display: flex; gap: 8px; }
.cookies-banner .btn { padding: 10px 18px; font-size: 0.85rem; }

@media (max-width: 480px) {
  .cookies-banner { left: 14px; right: 14px; max-width: none; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 14px; right: 14px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* =========================================================================
   Tabla
   ========================================================================= */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.simple-table th, .simple-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.simple-table th {
  background: var(--cream-200);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.simple-table tr:last-child td { border-bottom: 0; }
.simple-table tr:hover td { background: var(--cream-100); }

/* =========================================================================
   NUEVO: Precio con tachado y bloque de oferta IA
   ========================================================================= */
.price-deal {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.price-deal .old {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--gold-600);
  text-decoration-thickness: 2px;
  opacity: 0.7;
}
.price-deal .new {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-400);
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-deal-dark .old { color: rgba(255,255,255,0.5); }

.offer-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--ink-900);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.offer-flag::before {
  content: "✦";
  color: var(--ink-900);
}

.ia-spec-card {
  background: var(--cream-100);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.ia-spec-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ia-spec-card .icon svg { width: 28px; height: 28px; }
.ia-spec-card h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ink-900);
}
.ia-spec-card .specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gold-300);
}
.ia-spec-card .spec-item .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-700);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.ia-spec-card .spec-item .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ia-spec-card .note {
  background: var(--cream-200);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.ia-spec-card .note strong { color: var(--gold-700); }

@media (max-width: 600px) {
  .ia-spec-card { grid-template-columns: 1fr; }
}

/* Imagen SVG en hero — se ajusta naturalmente */
.hero-visual-svg {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink-800);
}
.hero-visual-svg img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================================
   V3 — Refinamientos UI/UX Pro Max
   ========================================================================= */

/* Foco visible para accesibilidad (4px ring dorado en interactivos) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Touch targets mínimo 44x44 en todos los CTAs */
.btn {
  min-height: 44px;
  min-width: 44px;
  padding: 12px 24px;
}
.btn.btn-sm {
  min-height: 40px;
  padding: 10px 18px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================================
   PLAN COMPARISON (Pricing) — 3 columnas con destacado
   ========================================================================= */
.plan-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .plan-stack { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.plan {
  background: #ffffff;
  border: 1.5px solid var(--cream-200);
  border-radius: 16px;
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(10,20,40,0.08); }

.plan.is-featured {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, #fff, var(--cream-100));
  box-shadow: 0 18px 40px rgba(212, 168, 87, 0.18);
}
.plan.is-dark {
  background: var(--ink-800);
  color: var(--text-on-dark);
  border-color: var(--ink-700);
}
.plan.is-dark h3 { color: white; }
.plan.is-dark p { color: var(--text-on-dark-muted); }
.plan.is-dark .checklist li { color: var(--text-on-dark); }
.plan.is-dark .checklist li::before { color: var(--gold-400); }

.plan-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: var(--ink-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.plan-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.plan.is-dark .plan-tagline { color: var(--text-on-dark-muted); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.plan-price .old {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--gold-600);
  text-decoration-thickness: 1.5px;
  opacity: 0.65;
}
.plan-price .new {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  font-weight: 400;
  color: var(--ink-900);
  line-height: 1;
}
.plan.is-dark .plan-price .new { color: var(--gold-400); }
.plan.is-featured .plan-price .new { color: var(--gold-700); }

.plan-price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.plan.is-dark .plan-price-note { color: var(--text-on-dark-muted); }

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex-grow: 1;
}
.plan-features li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--cream-200);
  line-height: 1.5;
}
.plan.is-dark .plan-features li { border-bottom-color: rgba(255,255,255,0.08); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 18px; height: 18px;
  background: var(--gold-500);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1428' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center;
}

.plan-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 8px;
}

/* =========================================================================
   SECTION TYPOGRAPHY refinement
   ========================================================================= */
.eyebrow-pill {
  display: inline-block;
  background: rgba(212, 168, 87, 0.14);
  color: var(--gold-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section--dark .eyebrow-pill {
  background: rgba(212, 168, 87, 0.2);
  color: var(--gold-300);
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--cream-200);
  border-bottom: 1px solid var(--cream-200);
  margin: 48px 0;
}
.trust-item {
  text-align: center;
}
.trust-item .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--gold-700);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.trust-item .label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}
