/* =====================================================
   ANYLOPEZ — CLÍNICA ESTÉTICA
   Diseño V3 · Lumière Méditerranée
   ===================================================== */

/* ── Variables ────────────────────────────────────── */
:root {
  /* Paleta V3 */
  --ivory:      #F8F3ED;
  --sand:       #EDE4D8;
  --sand-mid:   #D9CCBE;
  --terra:      #B87254;
  --terra-dk:   #8C5238;
  --gold:       #C9A870;
  --dark:       #1A1208;
  --dark-mid:   #2D2016;
  --text:       #2A1F14;
  --text-mid:   #6B5540;
  --text-light: #9B8573;
  --border:     #DDD0C2;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Aliases para compatibilidad con páginas internas */
  --primary:    var(--dark);
  --secondary:  var(--text-mid);
  --accent:     var(--terra);
  --bg-light:   var(--sand);
  --bg-cream:   var(--ivory);
  --bg-white:   #ffffff;
  --text-dark:  var(--text);
  --radius:     2px;
  --shadow:     0 4px 24px rgba(26,18,8,.10);
  --shadow-lg:  0 8px 48px rgba(26,18,8,.16);
  --transition: all 0.25s var(--ease);

  /* Layout */
  --header-h:   88px;
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
  padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: 'Jost', sans-serif; }
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9990; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Scroll Reveal ────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.rv.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }
.d4 { transition-delay: 0.48s; }

/* ── Utilities ────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section    { padding: 120px 0; }
.section--bg    { background: var(--sand); }
.section--dark  { background: var(--dark); color: #fff; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra);
  display: block; margin-bottom: 16px;
}
/* alias */
.section-label { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra-dk); display: block; margin-bottom: 16px; }

.section-title { font-size: clamp(28px, 4vw, 56px); margin-bottom: 20px; }
.section-subtitle { font-size: 16px; color: var(--text-mid); max-width: 600px; margin-bottom: 40px; }

/* ── Botones ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; border: none; transition: all 0.3s var(--ease);
  text-decoration: none;
}
.btn::after { content: '→'; font-size: 13px; transition: transform 0.3s var(--ease); }
.btn:hover::after { transform: translateX(4px); }

.btn-primary, .btn-terra, .btn-accent {
  background: var(--terra-dk); color: #fff;
}
.btn-primary:hover, .btn-terra:hover, .btn-accent:hover {
  background: #6b3d27; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140,82,56,.3);
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-mid); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-outline-white, .btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover, .btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-terra { background: transparent; color: var(--terra); border: 1.5px solid var(--terra); }
.btn-outline-terra:hover { background: var(--terra); color: #fff; }
.btn-wa-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; padding: 14px 32px;
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; border: none; transition: background 0.2s, transform 0.15s;
}
.btn-wa-cta:hover { background: #20b857; transform: translateY(-1px); }
.btn-wa-cta::after { display: none; }

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9998; height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  background: linear-gradient(to bottom, rgba(15,10,5,0.58) 0%, transparent 100%);
}
.preload .site-header,
.preload .site-header * { transition: none !important; }
.site-header.scrolled {
  background: rgba(248,243,237,0.97);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 48px; max-width: 100%;
}
.logo-img, .header-logo-img {
  height: 68px; width: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.4));
  transition: transform 0.3s var(--ease), filter 0.3s;
}
.logo-img:hover, .header-logo-img:hover { transform: scale(1.04); }
.site-header:not(.scrolled) .logo-img,
.site-header:not(.scrolled) .header-logo-img {
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.55)) drop-shadow(0 0 20px rgba(255,255,255,0.06));
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(248,243,237,0.85); transition: color 0.2s; position: relative;
}
.site-header.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--terra);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--terra); }

.header-ctas { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-google {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 300; color: rgba(248,243,237,0.65); white-space: nowrap;
  transition: color 0.2s;
}
.site-header.scrolled .header-google { color: var(--text-mid); }
.header-google-stars { color: #F9C23C; font-size: 11px; letter-spacing: 1px; }

.header-wa-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: #25D366; border-radius: 50%;
  transition: transform 0.2s;
}
.header-wa-btn:hover { transform: scale(1.08); }
.header-wa-btn svg { width: 18px; height: 18px; }

/* Mobile hamburger */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: rgba(248,243,237,0.9); transition: all 0.3s;
}
.site-header.scrolled .menu-toggle span { background: var(--dark); }

/* ═══════════════════════════════════════════════════
   HERO — Dark left + Video right
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 45% 55%;
  overflow: hidden;
  margin-top: 0;
}

.hero-left {
  background: var(--dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 72px 80px 72px;
  position: relative; overflow: hidden;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 300; line-height: 1.0; letter-spacing: -0.02em;
  color: var(--ivory); margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-desc {
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: rgba(248,243,237,0.58); max-width: 380px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(201,168,112,0.6), transparent);
  animation: lineGrow 2.2s ease infinite;
}
.scroll-hint-label {
  font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(201,168,112,0.5);
}
@keyframes lineGrow {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-right { position: relative; overflow: hidden; background: var(--dark); }
.hero-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  z-index: 1;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right, rgba(26,18,8,0.5) 0%, transparent 25%),
              linear-gradient(to top,   rgba(26,18,8,0.25) 0%, transparent 40%);
}
/* ═══════════════════════════════════════════════════
   DOLOR → SOLUCIÓN AFLUENTE (Slice 3)
   ═══════════════════════════════════════════════════ */
.dolor-solucion-section {
  background: var(--ivory);
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}
.dolor-solucion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.ds-col { display: flex; flex-direction: column; }
.ds-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 16px;
}
.ds-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 500; line-height: 1.18;
  color: var(--dark); margin: 0 0 24px;
}
.ds-title em { font-style: italic; color: var(--terra); }
.ds-body {
  font-family: 'Jost', sans-serif;
  font-size: 1rem; line-height: 1.7;
  color: var(--text); margin: 0 0 18px;
}
.ds-body.ds-emphasis {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-style: italic;
  color: var(--text); line-height: 1.5;
  margin-top: 8px;
}
.ds-body.ds-emphasis strong {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 600;
  color: var(--terra-dk);
}
.ds-bullets {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 22px;
}
.ds-bullets li {
  display: flex; flex-direction: column;
  padding-left: 18px;
  border-left: 2px solid var(--terra);
}
.ds-bullets li strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--dark); margin-bottom: 4px;
  font-style: italic;
}
.ds-bullets li span {
  font-family: 'Jost', sans-serif;
  font-size: 0.94rem; line-height: 1.55;
  color: var(--text-mid);
}
@media (max-width: 860px) {
  .dolor-solucion-section { padding: 64px 0 56px; }
  .dolor-solucion-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ═══════════════════════════════════════════════════
   CAL.COM EMBED
   ═══════════════════════════════════════════════════ */
.calcom-section {
  background: var(--cream, #f8f3ed);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.calcom-section .container { max-width: 1080px; }
.calcom-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.calcom-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra); display: block; margin-bottom: 12px;
}
.calcom-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 500; line-height: 1.15;
  color: var(--dark); margin: 0 0 12px;
}
.calcom-title em { font-style: italic; color: var(--terra); }
.calcom-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 1rem; line-height: 1.55;
  color: var(--ink-soft, #5a5048); margin: 0;
}
.calcom-embed-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-height: 600px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.calcom-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 600px;
  font-family: 'Jost', sans-serif;
  color: var(--ink-soft, #5a5048); font-size: 0.95rem;
}
@media (max-width: 720px) {
  .calcom-section { padding: 48px 0 40px; }
  .calcom-embed-wrap, .calcom-loading { min-height: 720px; }
}

/* ═══════════════════════════════════════════════════
   LEAD STRIP
   ═══════════════════════════════════════════════════ */
.lead-strip {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.lead-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr auto;
  gap: 20px; align-items: center;
}
.lead-strip-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500; color: var(--dark);
  white-space: nowrap; padding-right: 8px;
  border-right: 1px solid var(--border);
}
.lead-strip-label span {
  display: block; font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 2px;
}

/* ── Form fields ── */
.form-field { display: flex; flex-direction: column; gap: 4px; }
.form-field label, .form-group label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light);
}
.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea,
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  background: var(--ivory); border: 1px solid var(--border);
  padding: 11px 14px; font-size: 14px; color: var(--text);
  outline: none; transition: border-color 0.2s;
  width: 100%; -webkit-appearance: none; appearance: none;
  font-family: 'Jost', sans-serif;
}
.form-field input:focus, .form-field select:focus,
.form-group input:focus, .form-group select:focus,
.form-group textarea:focus { border-color: var(--terra); }
.form-field select, .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B87254' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer; background-color: var(--ivory);
}
.form-group textarea {
  resize: vertical; min-height: 100px; line-height: 1.6;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-consent { margin-top: 4px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.consent-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--terra); width: 16px; height: 16px; cursor: pointer; }
.consent-label a { color: var(--terra); text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════ */
.trust-strip { background: var(--terra-dk); padding: 0; }
.trust-inner {
  display: flex; align-items: stretch;
  max-width: 1280px; margin: 0 auto;
}
.trust-item {
  flex: 1; padding: 22px 28px;
  display: flex; align-items: center; gap: 10px;
  border-right: 1px solid rgba(255,255,255,0.18);
  transition: background 0.3s;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255,255,255,0.08); }
.trust-stars { color: #fff; font-size: 13px; letter-spacing: 1px; }
.trust-text { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.9); white-space: nowrap; }
.trust-badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; border: 1px solid rgba(255,255,255,0.5); padding: 3px 8px;
}

/* ═══════════════════════════════════════════════════
   SERVICIOS — Grid con fotos reales
   ═══════════════════════════════════════════════════ */
.services-section { background: var(--ivory); }
.services-intro-wrap {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 120px 0 56px; max-width: 1280px; margin: 0 auto; padding-left: 48px; padding-right: 48px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; background: var(--border);
}
.svc-card {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/5; background: var(--sand);
}
.svc-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.svc-card:hover .svc-card-img { transform: scale(1.07); }
.svc-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 28px 32px;
}
.svc-num {
  font-family: 'Cormorant Garamond', serif; font-size: 11px;
  letter-spacing: 0.18em; color: var(--gold); margin-bottom: 8px;
}
.svc-title {
  font-family: 'Cormorant Garamond', serif; font-size: 30px;
  font-weight: 300; color: #fff; line-height: 1.2;
}
.svc-title em { font-style: italic; color: var(--gold); }
.svc-desc {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.72);
  line-height: 1.6; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s;
}
.svc-card:hover .svc-desc { max-height: 80px; opacity: 1; margin-top: 10px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s 0.08s, transform 0.4s 0.08s var(--ease); margin-top: 14px;
}
.svc-link::after { content: '→'; transition: transform 0.3s; }
.svc-card:hover .svc-link { opacity: 1; transform: translateY(0); }
.svc-card:hover .svc-link::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════
   OFERTA DEL MES
   ═══════════════════════════════════════════════════ */
.oferta-section {
  padding: 120px 0; background: var(--dark);
  position: relative; overflow: hidden;
}
.oferta-section::before {
  content: 'INDIBA';
  position: absolute; top: 50%; right: -40px; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(100px, 16vw, 200px); font-weight: 300;
  color: rgba(255,255,255,0.025); letter-spacing: -5px;
  pointer-events: none; white-space: nowrap; line-height: 1;
}
.oferta-grid {
  display: grid; grid-template-columns: 1fr;
  max-width: 720px; position: relative; z-index: 1;
}
.oferta-pill {
  display: inline-block; padding: 6px 16px; background: var(--terra);
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: #fff; margin-bottom: 24px;
}
.oferta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 60px); font-weight: 300;
  line-height: 1.1; color: var(--ivory); margin-bottom: 16px;
}
.oferta-title em { font-style: italic; color: var(--gold); }
.oferta-desc {
  font-size: 15px; font-weight: 300; color: rgba(248,243,237,0.55);
  max-width: 520px; line-height: 1.85; margin-bottom: 28px;
}
.oferta-plazas {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,112,0.15); border: 1px solid rgba(201,168,112,0.3);
  color: var(--gold); font-size: 13px; font-weight: 600;
  padding: 8px 16px; margin-bottom: 28px;
}
.oferta-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ═══════════════════════════════════════════════════
   POR QUÉ ELEGIRNOS
   ═══════════════════════════════════════════════════ */
.porque-section { padding: 120px 0; background: var(--ivory); }
.porque-header { text-align: center; margin-bottom: 64px; }
.porque-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.porque-card {
  background: #fff; padding: 48px 36px;
  border-top: 3px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.porque-card:hover { border-color: var(--terra); box-shadow: 0 8px 32px rgba(26,18,8,0.08); }
.porque-num {
  font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 300;
  color: var(--sand-mid); line-height: 1; margin-bottom: 20px; transition: color 0.3s;
}
.porque-card:hover .porque-num { color: var(--terra); }
.porque-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--terra), var(--gold));
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.porque-icon svg { width: 24px; height: 24px; }
.porque-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--dark); margin-bottom: 10px; }
.porque-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   PROCESO — Editorial
   ═══════════════════════════════════════════════════ */
.proceso-section { padding: 120px 0; background: var(--sand); }
.proceso-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: end; margin-bottom: 80px;
}
.proceso-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); margin-bottom: 60px;
}
.p-step {
  padding: 48px 36px 48px 0;
  border-right: 1px solid var(--border);
}
.p-step:last-child { border-right: none; padding-right: 0; }
.p-step:not(:first-child) { padding-left: 36px; }
.p-num {
  font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 300;
  color: var(--sand-mid); line-height: 1; margin-bottom: 20px; transition: color 0.35s;
}
.p-step:hover .p-num { color: var(--terra); }
.p-step-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--dark); margin-bottom: 12px; }
.p-step-desc { font-size: 14px; font-weight: 300; color: var(--text-mid); line-height: 1.75; }
.proceso-cta { text-align: center; }


/* ═══════════════════════════════════════════════════
   TESTIMONIOS — Dark editorial + Carousel
   ═══════════════════════════════════════════════════ */
.testi-section {
  background: var(--dark-mid); padding: 120px 0;
  position: relative; overflow: hidden;
}
.testi-section::before {
  content: '"';
  position: absolute; top: -80px; left: -20px;
  font-family: 'Cormorant Garamond', serif; font-size: 480px; line-height: 1;
  color: rgba(255,255,255,0.025); pointer-events: none;
}
.testi-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-bottom: 64px;
}
.google-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px;
}
.g-rating-big { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: #fff; line-height: 1; }
.g-stars { color: #F9C23C; font-size: 14px; letter-spacing: 2px; }
.g-count { font-size: 11px; font-weight: 300; color: rgba(248,243,237,0.4); margin-top: 2px; }
.testi-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 2px; background: rgba(255,255,255,0.04);
}
.t-card { padding: 40px; background: var(--dark-mid); transition: background 0.3s; }
.t-card:hover { background: rgba(255,255,255,0.04); }
.t-card.featured { background: var(--terra); }
.t-card.featured:hover { background: var(--terra-dk); }
.t-stars { color: #F9C23C; font-size: 13px; margin-bottom: 20px; }
.t-quote { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; font-style: italic; line-height: 1.65; color: rgba(248,243,237,0.88); margin-bottom: 28px; }
.t-card.featured .t-quote { color: #fff; font-size: 26px; }
.t-name { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.t-card.featured .t-name { color: rgba(255,255,255,0.9); }
.t-service { font-size: 11px; font-weight: 300; color: rgba(248,243,237,0.38); margin-top: 4px; }
.t-card.featured .t-service { color: rgba(255,255,255,0.55); }

.testimonial {
  padding: 40px;
  background: var(--ivory);
  border: 1px solid var(--border);
}
.testimonial-header .stars { color: #F9C23C; font-size: 14px; margin-bottom: 16px; }
.testimonial p { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; font-style: italic; line-height: 1.7; color: var(--text); margin-bottom: 24px; }
.testimonial-author strong { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); }
.testimonial-author span { font-size: 12px; color: var(--text-mid); display: block; margin-top: 4px; }

/* ═══════════════════════════════════════════════════
   FAQ — Accordion CSS puro
   ═══════════════════════════════════════════════════ */
.faq-section { padding: 120px 0; background: #fff; }
.faq-header { text-align: center; margin-bottom: 64px; }
.faq-list { max-width: 800px; margin: 0 auto; border: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item input[type="checkbox"] { display: none; }
.faq-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; cursor: pointer; font-size: 15px; font-weight: 400;
  color: var(--dark); transition: background 0.2s; user-select: none;
}
.faq-label:hover { background: var(--ivory); }
.faq-icon {
  width: 24px; height: 24px; border: 1.5px solid var(--terra); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s, transform 0.3s;
}
.faq-icon::after { content: '+'; font-size: 16px; color: var(--terra); line-height: 1; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease; padding: 0 32px;
}
.faq-answer p { font-size: 14px; color: var(--text-mid); line-height: 1.8; padding-bottom: 24px; }
.faq-item input:checked ~ .faq-label .faq-icon { background: var(--terra); transform: rotate(45deg); }
.faq-item input:checked ~ .faq-label .faq-icon::after { color: #fff; }
.faq-item input:checked ~ .faq-answer { max-height: 600px; }
.faq-item input:checked ~ .faq-label { background: var(--ivory); color: var(--terra); }

/* ═══════════════════════════════════════════════════
   INSTAGRAM
   ═══════════════════════════════════════════════════ */
.ig-section { padding: 80px 0 60px; background: var(--ivory); }
.ig-header { text-align: center; margin-bottom: 48px; }
.ig-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); font-weight: 400; color: var(--dark); }
.ig-handle { color: var(--terra); font-style: italic; }
.ig-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 4px; margin-bottom: 40px;
}
.ig-cell {
  aspect-ratio: 1; overflow: hidden;
  position: relative; cursor: pointer;
}
.ig-cell::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,18,8,0); transition: background 0.3s;
}
.ig-cell:hover::after { background: rgba(26,18,8,0.28); }
.ig-c1 { background: linear-gradient(135deg,#d4a898,#e8c0b0); }
.ig-c2 { background: linear-gradient(135deg,#c9b898,#ddd0b8); }
.ig-c3 { background: linear-gradient(135deg,#b8a898,#ccc0b0); }
.ig-c4 { background: linear-gradient(135deg,#c8b8a0,#e0d0b8); }
.ig-c5 { background: linear-gradient(135deg,#d4c0a8,#e8d8c0); }
.ig-c6 { background: linear-gradient(135deg,#c0a890,#d8c0a8); }
.ig-cell-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.ig-cell svg { width: 28px; height: 28px; opacity: 0.45; }
.ig-footer { text-align: center; margin-top: 32px; }
.ig-footer a { display: inline-flex; align-items: center; gap: 8px; }

/* ═══════════════════════════════════════════════════
   CTA FINAL — Dark box
   ═══════════════════════════════════════════════════ */
.cta-section { padding: 80px 0 120px; }
.cta-box {
  background: var(--dark); padding: 96px;
  display: grid; grid-template-columns: 1fr auto; gap: 80px;
  align-items: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; bottom: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,114,84,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.5vw, 56px); font-weight: 300;
  color: var(--ivory); line-height: 1.1; margin-bottom: 16px;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub { font-size: 14px; font-weight: 300; color: rgba(248,243,237,0.5); margin-bottom: 36px; max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-info-list { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.cta-info-item { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 300; color: rgba(248,243,237,0.45); }
.cta-info-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--terra); flex-shrink: 0; }
.cta-right { text-align: center; flex-shrink: 0; }
.cta-phone-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(248,243,237,0.35); margin-bottom: 12px; }
.cta-phone {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(22px,3vw,36px);
  font-weight: 300; color: var(--ivory); display: block; margin-bottom: 8px;
  white-space: nowrap; transition: color 0.2s;
}
.cta-phone:hover { color: var(--gold); }
.cta-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: #fff; padding: 16px 32px; margin-top: 24px;
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.2s, transform 0.15s; cursor: pointer; border: none; width: 100%;
}
.cta-wa-btn:hover { background: #20b857; transform: translateY(-1px); }
.cta-wa-btn svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════
   DÓNDE ESTAMOS
   ═══════════════════════════════════════════════════ */
.donde-section { padding: 100px 0 120px; background: var(--sand); }
.donde-header { text-align: center; margin-bottom: 64px; }
.donde-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: stretch;
}
/* Map wrapper */
.donde-map-wrap { border-radius: 4px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.10); display: flex; flex-direction: column; }
.donde-map {
  width: 100%; height: 0; flex: 1 1 auto; min-height: 320px; border: none; display: block;
  filter: grayscale(20%) contrast(1.05) sepia(10%);
  transition: filter .3s ease;
}
.donde-map-wrap:hover .donde-map { filter: grayscale(5%) contrast(1.05); }
.donde-map-placeholder {
  width: 100%; min-height: 320px; flex: 1 1 auto; border: none; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; padding: 32px 20px; font-family: inherit; text-align: center;
  background: linear-gradient(135deg, #efe7dc 0%, #e2d4bf 100%);
  color: var(--terra-dk, #6e2e15);
  transition: background .25s ease;
}
.donde-map-placeholder:hover,
.donde-map-placeholder:focus-visible {
  background: linear-gradient(135deg, #f5ede1 0%, #e7d8c3 100%);
  outline: none;
}
.donde-map-placeholder-icon { color: var(--terra, #8b3a1a); }
.donde-map-placeholder-text {
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.donde-map-placeholder-hint {
  font-size: 13px; opacity: .7; max-width: 280px; line-height: 1.4;
}
.donde-map-cta {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--terra); color: #fff;
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: 13px 20px;
  transition: background .2s, opacity .2s;
  white-space: nowrap;
}
.donde-map-cta:hover { background: var(--terra-dk); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(184,114,84,.35); }
/* Info column */
.donde-info { display: flex; flex-direction: column; gap: 28px; }
.donde-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 400; color: var(--dark); margin-bottom: 6px;
}
.donde-info > p { font-size: 14px; color: var(--text-mid); margin-bottom: 8px; }
/* Meta list */
.donde-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.donde-meta-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  font-family: 'Jost', sans-serif; font-size: 13px; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.donde-meta-item:last-child { border-bottom: none; }
.donde-meta-icon { flex-shrink: 0; color: var(--terra); display: flex; }
.donde-meta-phone { background: var(--cream-dark, var(--sand)); }
.donde-meta-phone a { color: var(--terra); font-weight: 700; font-size: 14px; text-decoration: none; letter-spacing: .02em; }
.donde-meta-phone a:hover { text-decoration: underline; }
/* Form */
.donde-form { display: flex; flex-direction: column; gap: 14px; }
.donde-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.donde-form-success { display: none; text-align: center; padding: 24px; }
.donde-form-success p { color: var(--terra); font-weight: 600; font-size: 15px; margin-top: 8px; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer { background: #110d05; padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo-img {
  height: 56px; width: auto; opacity: 0.85; margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.8; max-width: 240px; margin-bottom: 24px; }
.footer-col h4, .footer-col .footer-heading { font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a, .footer-col p {
  font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.4; transition: color 0.2s;
}
.footer-col p > a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-col ul li a:hover { color: var(--ivory); }
.social-links, .footer-social { display: flex; gap: 10px; margin-top: 4px; }
.social-link, .footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; color: rgba(255,255,255,0.7);
}
.social-link:hover, .footer-social a:hover { background: var(--terra); color: #fff; }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--ivory); }
.footer-legal-links { margin-top: 6px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOTANTE
   ═══════════════════════════════════════════════════ */
.whatsapp-float, #wa-float a {
  position: fixed; bottom: 28px; right: 28px; z-index: 9980;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,0.42);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover, #wa-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ═══════════════════════════════════════════════════
   MOBILE STICKY BAR
   ═══════════════════════════════════════════════════ */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9981;
  background: var(--dark); border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr; gap: 10px;
}
.mb-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px;
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s;
  text-decoration: none;
}
.mb-call { background: rgba(255,255,255,0.1); color: var(--ivory); border: 1px solid rgba(255,255,255,0.2); }
.mb-call:hover { background: rgba(255,255,255,0.18); }
.mb-wa { background: #25D366; color: #fff; border: none; }
.mb-wa:hover { background: #20b857; }

/* ═══════════════════════════════════════════════════
   INNER PAGES
   ═══════════════════════════════════════════════════ */
.breadcrumb {
  background: var(--sand); padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb .container { display: flex; gap: 8px; align-items: center; }
.breadcrumb a { font-size: 12px; color: var(--text-mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb span { font-size: 12px; color: var(--text-mid); }

.page-hero {
  background: var(--dark); padding: 80px 0;
  position: relative; overflow: hidden;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 80px); font-weight: 300;
  color: var(--ivory); margin-bottom: 16px;
}
.page-hero p { font-size: 16px; font-weight: 300; color: rgba(248,243,237,0.65); max-width: 600px; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }

/* Service icon cards (pages internas) */
.service-icon-card {
  background: #fff; border: 1px solid var(--border); padding: 40px 32px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.service-icon-card:hover { box-shadow: var(--shadow-lg); border-color: var(--terra); }
.service-icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-icon-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--dark); margin-bottom: 12px; }
.service-icon-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.contact-info-item a:hover { color: var(--terra); }
.map-embed {
  width: 100%; height: 280px; border: 0;
  display: block; margin-top: 24px;
  filter: grayscale(20%) contrast(1.05);
}

/* Form page */
.form-group { margin-bottom: 16px; }
.form-group input[type="submit"],
.form-group button,
button[type="submit"] {
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════
   UTILITIES / ALIASES — Index & Inner pages
   ═══════════════════════════════════════════════════ */

/* Section header block */
.section-header { margin-bottom: 64px; }
.section-header .section-label { display: block; margin-bottom: 12px; }
.section-header .section-subtitle { max-width: 560px; color: var(--text-mid); font-size: 16px; margin-top: 12px; }

/* Section CTA (centered) */
.section-cta { text-align: center; margin-top: 56px; }

/* processo-step = alias for p-step */
.proceso-step {
  padding: 48px 36px 48px 0;
  border-right: 1px solid var(--border);
}
.proceso-step:last-child { border-right: none; padding-right: 0; }
.proceso-step:not(:first-child) { padding-left: 36px; }
.proceso-step .p-num,
.proceso-step > .p-num { color: var(--sand-mid); transition: color 0.35s; }
.proceso-step:hover > .p-num { color: var(--terra); }
.proceso-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--dark); margin-bottom: 12px; margin-top: 12px; }
.proceso-step p { font-size: 14px; font-weight: 300; color: var(--text-mid); line-height: 1.75; }

/* ig-header: flex on desktop, centered on mobile */
.ig-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 24px; }
.ig-header .section-title { margin-bottom: 0; }

/* Testimonios badge & footer */
.testi-google-badge { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.testi-footer { text-align: center; margin-top: 48px; }

/* Mobile bar buttons (alias for mb-btn) */
.mobile-bar-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px;
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s;
  text-decoration: none; color: var(--ivory);
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.2);
}
.mobile-bar-btn:first-child { background: rgba(255,255,255,0.10); }
.mobile-bar-btn:last-child { background: #25D366; border-color: transparent; color: var(--dark); }
.mobile-bar-btn:hover { opacity: 0.88; }

/* Footer extras */
.footer-google-link { font-size: 12px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-google-link:hover { color: var(--gold); }
.footer-stars { color: #FFD700; margin-right: 4px; }

/* ═══════════════════════════════════════════════════
   INNER PAGE COMPONENTS (About, Radiofrecuencia…)
   ═══════════════════════════════════════════════════ */

/* grid-4 */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300; color: var(--gold); line-height: 1; }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 8px; }

/* Value cards */
.value-card { background: #fff; padding: 40px 32px; border-top: 3px solid var(--terra); transition: box-shadow 0.3s; }
.value-card:hover { box-shadow: var(--shadow-lg); }
.value-icon { font-size: 2rem; margin-bottom: 16px; }
.value-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--dark); margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* Team cards */
.team-card { text-align: center; }
.team-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; margin-bottom: 16px; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--dark); margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra-dk); }

/* Generic card (Radiofrecuencia page) */
.card { background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.card-img { width: 100%; height: 260px; object-fit: cover; display: block; }
.card-body { padding: 32px; }
.card-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--dark); margin-bottom: 12px; }
.card-body p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* Benefits list */
.benefits-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; margin-top: 20px; }
.benefit-item { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-mid); }
.benefit-icon { color: var(--terra); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Old JS-based FAQ (radiofrecuencia page only — scoped via .faq-question to avoid clashing with home checkbox-FAQ) */
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--dark); cursor: pointer; text-align: left;
}
.faq-question .icon { font-size: 22px; color: var(--terra); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-question + .faq-answer { display: none; padding: 0 0 20px; font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.faq-item.open .faq-question + .faq-answer { display: block; }

/* ═══════════════════════════════════════════════════
   CORRECCIONES COLORES Y CLASES
   ═══════════════════════════════════════════════════ */

/* Testimonios: .stars sin .testimonial-header wrapper */
.testimonial .stars { color: #F9C23C; font-size: 14px; letter-spacing: 1px; display: block; margin-bottom: 16px; }

/* CTA final: texto sobre fondo oscuro */
.cta-text p { font-size: 15px; font-weight: 300; color: rgba(248,243,237,0.55); margin-bottom: 12px; }
.cta-text a { color: var(--gold); transition: color 0.2s; }
.cta-text a:hover { color: var(--ivory); }

/* Porque-icon: SVGs necesitan color blanco sobre gradiente terra/gold */
.porque-icon { color: #fff; }
.porque-icon svg { stroke: #fff; }
.porque-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--dark); margin: 16px 0 10px; }
.porque-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* Trust strip: texto heredado es oscuro sobre fondo terra */
.trust-text strong { color: #fff; }

/* Lead strip form */
.lead-strip-inner {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  max-width: 1280px; margin: 0 auto;
  padding: 0 76px;
  box-sizing: border-box;
  width: 100%;
}
.lead-form {
  display: flex; gap: 12px; align-items: stretch; flex-wrap: nowrap;
}
.lead-form input:not([type="hidden"]),
.lead-form select {
  flex: 1; min-width: 0;
  background: #fff; border: 1.5px solid var(--border);
  padding: 13px 16px; font-size: 14px; color: var(--text);
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
  font-family: 'Jost', sans-serif;
  border-radius: 0;
}
.lead-form input:focus,
.lead-form select:focus { border-color: var(--terra); outline: none; box-shadow: none; }
.lead-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B87254' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer; background-color: #fff;
}
.lead-form .btn { flex-shrink: 0; white-space: nowrap; padding: 13px 28px; }
.lead-form .btn::after { display: none; }
#leadFormMsg { display:none; font-size:13px; color: var(--terra); font-weight:600; margin-top:10px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .porque-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .lead-strip-inner { grid-template-columns: 1fr; justify-content: stretch; padding: 0 24px; }
  .lead-strip-label { text-align: center; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-head { grid-template-columns: 1fr; gap: 24px; }
  .proceso-head { grid-template-columns: 1fr; gap: 24px; }
  .cta-box { grid-template-columns: 1fr; padding: 56px 40px; gap: 40px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .oferta-grid { grid-template-columns: 1fr; gap: 48px; }
  .ig-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { padding-top: var(--header-h); }

  .header-inner { padding: 0 20px; gap: 12px; }
  .logo-link { flex-shrink: 0; }
  .logo-img, .header-logo-img { height: 44px; width: auto; }
  .header-ctas .btn-terra,
  .header-ctas .header-wa-btn { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--dark); z-index: 9997; padding: 32px 24px; overflow-y: auto;
  }
  .nav-links.open a {
    display: block; padding: 16px 0; font-size: 20px;
    color: rgba(248,243,237,0.85) !important; letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open a::after { display: none; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  nav ul.nav-menu {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--dark); z-index: 9997; padding: 32px 24px; overflow-y: auto;
  }
  nav ul.nav-menu.open { display: flex; }
  nav ul.nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  nav ul.nav-menu a {
    display: block; padding: 16px 0; font-size: 20px;
    color: rgba(248,243,237,0.85) !important; letter-spacing: 0.05em;
  }
  nav ul.nav-menu .nav-cta { border: none; padding-top: 24px; }
  .menu-toggle { display: flex; }

  /* Menú móvil abierto: bloquea scroll del body y oculta superposiciones que podrían aparecer por encima */
  body.menu-open { overflow: hidden; }
  body.menu-open .mobile-bar,
  body.menu-open anylopez-chat { display: none !important; }

  .hero { grid-template-columns: 1fr; height: auto; min-height: auto; }
  .hero-left { padding: 80px 32px 64px; min-height: 65vh; justify-content: flex-start; }
  .hero-right { height: 50vh; }

  .lead-strip-inner { grid-template-columns: 1fr; }
  .lead-form { flex-direction: column; }
  .lead-strip { padding: 24px 0; }
  .lead-form .btn { width: 100%; justify-content: center; }

  .trust-inner { overflow-x: auto; flex-wrap: nowrap; padding: 0 16px; justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .services-intro-wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 64px; }
  .proceso-steps { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .container { padding: 0 24px; }
  .services-intro-wrap { padding-left: 24px; padding-right: 24px; }

  .whatsapp-float, #wa-float a { bottom: 80px !important; }
  .mobile-bar { display: grid; }

  .testi-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3,1fr); }
  .cta-box { padding: 48px 24px; }
  .donde-grid { grid-template-columns: 1fr; }
  .donde-map { height: 280px; }
  .donde-form-row { grid-template-columns: 1fr; }
  .oferta-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .benefits-list { grid-template-columns: 1fr; }
  .ig-header { flex-direction: column; align-items: flex-start; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .hero-left { padding: 72px 20px 40px; }
  .hero-title { font-size: clamp(44px, 12vw, 62px); }
  .container { padding: 0 20px; }
  .services-intro-wrap { padding-left: 20px; padding-right: 20px; }
  .ig-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── Hero stack: rating + chips (Slice 1 inspiración crislorente) ── */
.hero-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 6px 0;
  text-decoration: none;
  color: rgba(248, 243, 237, 0.85);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.3;
  transition: color 0.2s;
}
.hero-rating-link:hover,
.hero-rating-link:focus-visible { color: var(--gold); }
.hero-rating-stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 14px;
  flex-shrink: 0;
}
.hero-rating-text strong {
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-chips {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 460px;
}
.hero-chip {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(248, 243, 237, 0.78);
  padding: 6px 12px;
  border: 1px solid rgba(201, 168, 112, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}

@media (min-width: 720px) {
  .hero-rating-link { font-size: 14px; gap: 12px; }
  .hero-rating-stars { font-size: 15px; }
  .hero-chip { font-size: 13px; padding: 7px 14px; }
}

@media (max-width: 380px) {
  .hero-rating-link { font-size: 12px; gap: 8px; flex-wrap: wrap; }
  .hero-rating-stars { font-size: 13px; }
  .hero-chip { font-size: 11px; padding: 5px 10px; }
  .hero-chips { gap: 6px; }
}

/* ── Landing copy rework: Hero microgarantía ── */
.hero-guarantee {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(248, 243, 237, 0.7);
  font-style: italic;
}

/* ── Pack INDIBA ── */
.pack-indiba-section { background: var(--ivory); scroll-margin-top: 80px; }
.pack-indiba-section .section-title em,
.legado-section .section-title em { font-style: italic; color: var(--terra); }

.pack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.pack-include h3,
.pack-table h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
}
.pack-include ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pack-include li { display: flex; gap: 12px; align-items: flex-start; }
.pack-include li .pack-bullet { color: var(--terra); font-weight: 700; flex-shrink: 0; }

.pack-value {
  margin-top: 32px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.04);
  border-left: 3px solid var(--terra);
}
.pack-value .pack-value-line {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: var(--text-mid);
}
.pack-value .pack-value-price {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.pack-value .pack-value-price strong {
  color: var(--terra);
  font-size: 24px;
  font-weight: 600;
}

/* ── Pack Stack (Grand Slam offer) ── */
.pack-stack {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.pack-include .pack-stack-item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pack-stack-item:last-child { border-bottom: none; }
.pack-stack-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.pack-stack-name {
  font-size: 15px;
  font-family: 'Jost', sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
}
.pack-stack-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--terra);
  white-space: nowrap;
  flex-shrink: 0;
}
.pack-stack-reason {
  margin: 6px 0 0 0;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.pack-stack-item.is-guarantee {
  background: rgba(184, 114, 84, 0.06);
  padding: 14px 12px;
  border-bottom: none;
}

.pack-total {
  margin-top: 24px;
  padding: 20px;
  background: var(--sand);
  border-left: 3px solid var(--terra);
}
.pack-total-line {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: var(--text-mid);
}
.pack-total-line s {
  text-decoration: line-through;
}
.pack-total-price {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}
.pack-total-price strong {
  font-size: 28px;
  font-weight: 600;
  color: var(--terra);
}
.pack-total-savings {
  margin: 0;
  font-size: 15px;
  color: var(--terra-dk);
}
.pack-total-savings strong { font-weight: 700; }

.pack-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pack-table thead tr { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.pack-table th { text-align: left; padding: 12px 8px; font-weight: 600; }
.pack-table th.num,
.pack-table td.num { text-align: right; }
.pack-table tbody tr { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.pack-table td { padding: 12px 8px; }
.pack-table tr.pack-row-highlight { background: rgba(193, 123, 84, 0.08); }
.pack-table tr.pack-row-highlight td {
  padding: 14px 8px;
  font-weight: 700;
}
.pack-table tr.pack-row-highlight td.terra { color: var(--terra); }
.pack-table .pack-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.6;
}
.pack-table .pack-reason {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}
.pack-cta { margin-top: 48px; }

/* ── Otros tratamientos ── */
.otros-tratamientos-section { padding-top: 40px; padding-bottom: 40px; }
.otros-wrap { max-width: 900px; margin: 0 auto; text-align: center; }
.otros-intro {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}
.otros-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.otros-chip {
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.otros-chip:hover { background: rgba(193, 123, 84, 0.08); border-color: var(--terra); }

/* ── Legado + Equipo ── */
.legado-section { background: var(--ivory); }
.legado-grid { max-width: 780px; margin: 0 auto 64px; }
.legado-grid p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.legado-grid p:last-child { margin-bottom: 0; }

.equipo-block { max-width: 900px; margin: 0 auto; }
.equipo-header { text-align: center; margin-bottom: 32px; }
.equipo-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.equipo-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.equipo-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 4px 0;
}
.equipo-info .equipo-rol {
  font-size: 14px;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 20px 0;
}
.equipo-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.equipo-info p.equipo-bio-last { margin-bottom: 24px; }

@media (max-width: 860px) {
  .pack-grid { grid-template-columns: 1fr; gap: 32px; }
  .equipo-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; text-align: center; }
  .equipo-photo { max-width: 220px; margin: 0 auto; }
  .equipo-info h3 { font-size: 28px; }
  .pack-stack-head { flex-wrap: wrap; }
  .pack-total { padding: 16px; }
  .pack-total-price { font-size: 18px; }
  .pack-total-price strong { font-size: 24px; }
}

@media (max-width: 560px) {
  .pack-table table { font-size: 13px; }
  .pack-table th,
  .pack-table td { padding: 10px 4px; }
  .pack-table tr.pack-row-highlight td { padding: 12px 4px; }
  .pack-value { padding: 16px; }
  .pack-value .pack-value-price { font-size: 16px; }
  .pack-value .pack-value-price strong { font-size: 22px; }
  .otros-chips { gap: 8px; }
  .otros-chip { font-size: 13px; padding: 6px 12px; }
  .legado-section .section-title { font-size: 32px; }
  .hero-guarantee { font-size: 12px; }
}

/* ─── TREATMENT CARD INTERACTIVE ───────────────────────────────── */
.trat-card { cursor: pointer; }
.trat-card:focus-within { box-shadow: 0 0 0 3px rgba(192,98,48,.35), var(--shadow); }
.trat-card-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--terra-dk);
  transition: color 0.2s;
}
.trat-card-trigger:hover { color: var(--primary); }
.trat-card-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ─── TREATMENT MODAL ──────────────────────────────────────────── */
.trat-modal {
  border: none;
  padding: 0;
  margin: auto;
  width: min(720px, calc(100vw - 32px));
  max-height: 90vh;
  border-radius: 6px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.trat-modal::backdrop {
  background: rgba(28,18,8,.55);
  backdrop-filter: blur(6px);
}
@keyframes trat-modal-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.trat-modal[open] { animation: trat-modal-in 280ms cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce) {
  .trat-modal[open] { animation: none; }
}

.trat-modal-close-form { margin: 0; }
.trat-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: background 0.2s, transform 0.2s;
}
.trat-modal-close:hover { background: #fff; transform: scale(1.05); }

.trat-modal-body {
  max-height: 90vh;
  overflow-y: auto;
}

.trat-modal-hero {
  position: relative;
  background: var(--bg-cream);
}
.trat-modal-img,
.trat-modal-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.trat-modal-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(28,18,8,.75) 100%);
  pointer-events: none;
}
.trat-modal-hero-text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 32px;
  color: #fff;
  z-index: 2;
}
.trat-modal-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
#trat-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 8px;
  color: #fff;
}
.trat-modal-paraquien {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  color: rgba(255,255,255,0.92);
  max-width: 540px;
}

.trat-modal-section {
  padding: 28px 32px 8px;
}
.trat-modal-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--primary);
}

.trat-modal-beneficios {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.trat-modal-beneficios li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mid);
  padding-left: 22px;
  position: relative;
}
.trat-modal-beneficios li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.trat-modal-comofunciona p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 12px;
}
.trat-modal-comofunciona p:last-child { margin-bottom: 0; }

.trat-modal-precios-section { background: var(--bg-cream); padding-bottom: 28px; }
.precio-hero {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(192,98,48,.10);
}
.precio-hero-concepto {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mid);
}
.precio-hero-precio {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.trat-modal-precios-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.trat-modal-precios-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(107,85,64,.15);
  font-size: 14px;
  color: var(--text-mid);
}
.trat-modal-precios-list li:last-child { border-bottom: none; }
.trat-modal-precios-list .precio-monto {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.trat-modal-duracion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin: 4px 0 0;
}
.trat-modal-duracion svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
}

.trat-modal-extras { display: flex; flex-direction: column; gap: 16px; }
.trat-modal-extras p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0;
}

.trat-modal-garantia {
  margin: 8px 32px 0;
  padding: 14px 18px;
  background: var(--bg-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
}
.trat-modal-garantia strong { color: var(--primary); }

.trat-modal-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 24px 32px 28px;
}
.trat-modal-ctas .btn {
  flex: 1 1 auto;
  min-width: 200px;
  text-align: center;
}
.trat-modal-cta-tel { white-space: nowrap; }

@media (max-width: 640px) {
  .trat-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }
  .trat-modal-body { max-height: 100vh; }
  .trat-modal-img,
  .trat-modal-img img { height: 200px; }
  .trat-modal-hero-text { padding: 20px 20px; }
  .trat-modal-section { padding: 22px 20px 4px; }
  .trat-modal-beneficios { grid-template-columns: 1fr; }
  .trat-modal-garantia { margin: 8px 20px 0; }
  .trat-modal-ctas { padding: 20px; }
  .trat-modal-ctas .btn { flex: 1 1 100%; }
}

/* ─── LANG SWITCHER ─────────────────────────────────────── */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.lang-btn:hover { border-color: var(--terra); }
.lang-arrow { font-size: 0.65em; transition: transform 0.2s; }
.lang-btn[aria-expanded="true"] .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--charcoal, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  list-style: none;
  margin: 0;
  min-width: 130px;
  overflow: hidden;
  padding: 0;
  z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory, #f5f0e8);
  font-size: 0.85rem;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 0.15s;
}
.lang-dropdown li a:hover { background: rgba(200,168,130,0.15); }

/* ──────────────────────────────────────────────────────────────────────────
   PERF: content-visibility en secciones below-the-fold del Home
   ──────────────────────────────────────────────────────────────────────────
   Reduce el Layout inicial del Home (~600-1100ms en mobile) aplazando layout
   y paint de las secciones below-the-fold hasta que entran en viewport.
   `contain-intrinsic-size` calibrado con alturas reales medidas a Moto G4
   (360x640, DPR 3) para minimizar CLS. NO tocar `.hero` (above-the-fold).
   Las clases son exclusivas del Home (index.njk + en/index.njk).
   Compat: Chrome 85+, Safari 18.2+, Firefox 125+.
*/
.booking-section,
.lead-strip,
.dolor-solucion-section,
.pack-indiba-section,
.otros-tratamientos-section,
.porque-section,
.legado-section,
.proceso-section,
.testi-section,
.faq-section,
.ig-section,
.donde-section,
.cta-section {
  content-visibility: auto;
}
.booking-section            { contain-intrinsic-size: auto 667px; }
.lead-strip                 { contain-intrinsic-size: auto 370px; }
.dolor-solucion-section     { contain-intrinsic-size: auto 1363px; }
.pack-indiba-section        { contain-intrinsic-size: auto 2008px; }
.otros-tratamientos-section { contain-intrinsic-size: auto 470px; }
.porque-section             { contain-intrinsic-size: auto 1425px; }
.legado-section             { contain-intrinsic-size: auto 1746px; }
.proceso-section            { contain-intrinsic-size: auto 1458px; }
.testi-section              { contain-intrinsic-size: auto 1902px; }
.faq-section                { contain-intrinsic-size: auto 1258px; }
.ig-section                 { contain-intrinsic-size: auto 526px; }
.donde-section              { contain-intrinsic-size: auto 1693px; }
.cta-section                { contain-intrinsic-size: auto 1152px; }

/* Services (/services/) — below-fold sections */
.svc-trust,
.svc-flagship,
.svc-final-cta {
  content-visibility: auto;
}
.svc-trust                  { contain-intrinsic-size: auto 326px; }
.svc-flagship               { contain-intrinsic-size: auto 1050px; }
.svc-final-cta              { contain-intrinsic-size: auto 566px; }
