/* ============================================================
   MÉTODO VS® — style.css
   Hoja de estilos principal del landing page
   ============================================================ */

/* ----------------------------------------------------------
   VARIABLES
   ---------------------------------------------------------- */
:root {
  /* ── Rose Gold — acento principal premium ── */
  --gold:         #c4956a;   /* rose gold base             */
  --gold-light:   #d4a574;   /* rose gold luminoso         */
  --gold-dark:    #a07850;   /* rose gold profundo         */
  --gold-shine:   #e8c9a0;   /* destello champagne        */
  --gold-vivid:   #c4956a;   /* rose gold — acentos CTA   */
  --gold-soft:    #d4b08a;   /* rose gold suave bordes     */

  /* ── Burgundy/Wine — acentos elegantes ── */
  --copper:       #8c4a5a;   /* burgundy elegante          */
  --copper-light: #a5637a;   /* burgundy claro             */

  /* ── Nude/Taupe — secundarios sofisticados ── */
  --silver:       #b8a99a;
  --silver-light: #d5cbc2;
  --silver-dark:  #8a7d72;

  /* ── Fondos oscuros (espresso rosado) ── */
  --bg-dark:      #1a1215;   /* marrón-rosado profundo     */
  --bg-dark-2:    #241a1e;   /* con tinte burgundy         */
  --bg-warm:      #2a1e22;

  /* ── Fondos claros (consultorio estético) ── */
  --bg-cream:     #fdf8f5;   /* pearl blush                */
  --bg-cream-2:   #f8efe8;   /* champagne suave            */

  /* ── Texto ── */
  --text-dark:    #2c1f24;
  --text-body:    #4a3640;
  --text-muted:   #8a7480;
  --text-light:   #b5a0a8;

  /* ── Bordes y sombras — tintes rosados ── */
  --border:       rgba(196,149,106,0.25);
  --border-light: rgba(44,31,36,0.07);
  --radius:       16px;
  --radius-lg:    24px;
  --shadow-sm:    0 2px 16px rgba(44,31,36,0.06);
  --shadow:       0 8px 36px rgba(44,31,36,0.10);
  --shadow-lg:    0 20px 60px rgba(44,31,36,0.16);
  --shadow-gold:  0 8px 32px rgba(196,149,106,0.25);
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Alias de compatibilidad ── */
  --rose:         #c4956a;
  --rose-light:   #d4a574;
  --rose-dark:    #a07850;
  --champagne:    #f8efe8;
  --blush:        #f5e6e0;
  --warm-beige:   #ecddd4;
}

/* ----------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* evita desbordamiento horizontal en iOS también */
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
}

/* ----------------------------------------------------------
   LAYOUT HELPERS
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  overflow-x: hidden; /* contiene transforms de animación (slide-left/right) */
}

.section-sm {
  padding: 3.5rem 0;
  overflow-x: hidden;
}

.bg-dark  { background: var(--bg-dark); }
.bg-cream { background: var(--bg-cream); }

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }

/* ----------------------------------------------------------
   GRID SYSTEM
   ---------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ----------------------------------------------------------
   SECTION HEADER
   ---------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  color: var(--text-dark);
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-vivid), var(--gold-light), var(--gold-vivid));
  border-radius: 2px;
  margin: 0.75rem auto 0;
  box-shadow: 0 0 12px rgba(196,149,106,0.40);
}

/* Override for left-aligned titles */
.section-header[style*="text-align:left"] .section-title::after,
.nosotros-content .section-title::after {
  margin-left: 0;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 1rem auto 0;
  line-height: 1.75;
}

/* White variant for dark sections */
.bg-dark .section-title { color: #fff; }
.bg-dark .section-subtitle { color: rgba(255,255,255,0.70); }

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--copper) 100%);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  box-shadow: 0 4px 20px rgba(196,149,106,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-shine) 0%, var(--gold-light) 50%, var(--gold) 100%);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(196,149,106,0.45), 0 0 0 1px rgba(196,149,106,0.20);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-soft);
  box-shadow: inset 0 0 0 0 rgba(196,149,106,0);
}
.btn-outline-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,149,106,0.35);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-lg  { padding: 0.95rem 2.2rem; font-size: 1rem; border-radius: 12px; }
.btn-sm  { padding: 0.5rem 1.2rem; font-size: 0.82rem; border-radius: 8px; }
.btn-full { width: 100%; justify-content: center; }

/* ----------------------------------------------------------
   NAVBAR
   ---------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(26,18,21,0.90);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(196,149,106,0.10);
  transition: background var(--transition), box-shadow var(--transition);
  gap: 1rem;
}

.navbar.scrolled {
  background: rgba(26,18,21,0.97);
  box-shadow: 0 4px 30px rgba(26,18,21,0.60);
  border-bottom-color: rgba(196,149,106,0.18);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  padding: 0.25rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff !important;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(196,149,106,0.30);
  text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-shine), var(--gold-light));
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(196,149,106,0.45);
}

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.lang-btn:hover,
.lang-btn.active {
  background: rgba(196,149,106,0.15);
  border-color: var(--rose);
  color: var(--rose-light);
}

.lang-flag { font-size: 0.95rem; line-height: 1; }
.lang-code { letter-spacing: 0.02em; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(196,149,106,0.12); }

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 65px; left: 0; right: 0;
  z-index: 999;
  background: rgba(26,18,21,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196,149,106,0.12);
  padding: 0 1.5rem;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, padding 0.3s ease;
}
.mobile-menu.open {
  max-height: 640px;
  opacity: 1;
  padding: 1.25rem 1.5rem 1.75rem;
}
.mobile-menu .nav-link {
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: block;
  width: 100%;
}
.mobile-menu .nav-link::after { display: none; }
.mobile-menu .nav-link:hover { color: var(--gold); }
.mobile-menu .nav-link.nav-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  padding: 0.75rem;
}
.mobile-menu .lang-selector {
  margin-top: 1.25rem;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.25rem;
}

/* ----------------------------------------------------------
   SCROLL INDICATOR
   ---------------------------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 1.4rem;
  animation: scrollArrow 2s ease infinite;
  z-index: 1;
}
@keyframes scrollArrow {
  0%,100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.7; transform: translateX(-50%) translateY(7px); }
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero-badge {
  display: inline-block;
  background: rgba(196,149,106,0.12);
  border: 1px solid rgba(196,149,106,0.40);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(196,149,106,0.15), inset 0 0 12px rgba(196,149,106,0.06);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  max-width: 680px;
}

.hero-title .highlight {
  color: var(--gold-light);
  font-style: italic;
  text-shadow: 0 0 40px rgba(218,165,32,0.35);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero trust badges */
.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-value {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  text-shadow: 0 0 20px rgba(196,149,106,0.35);
}

.trust-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ----------------------------------------------------------
   NOSOTROS / DOCTOR
   ---------------------------------------------------------- */
.dr-photo-wrapper {
  position: relative;
}

.dr-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dr-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(196,149,106,0.40);
  white-space: nowrap;
}

.nosotros-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.nosotros-content p {
  color: var(--text-body);
  line-height: 1.8;
}

.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.credential-badge {
  display: inline-block;
  background: var(--bg-cream-2);
  border: 1px solid rgba(196,149,106,0.15);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  transition: all var(--transition);
}
.credential-badge:hover {
  background: rgba(196,149,106,0.1);
  border-color: var(--rose);
  color: var(--rose-dark);
}

.philosophy-quote {
  border-left: 3px solid var(--rose);
  padding: 1.2rem 1.5rem;
  background: rgba(196,149,106,0.04);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.gold-accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-shine));
  border-radius: 2px;
  margin: 0.5rem 0 1.5rem;
  box-shadow: 0 0 8px rgba(196,149,106,0.35);
}

/* ----------------------------------------------------------
   SERVICE CARDS
   ---------------------------------------------------------- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,160,64,0.2);
}

.service-icon-wrap {
  font-size: 2.2rem;
  display: block;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

/* Dark-section service cards */
.bg-dark .service-card {
  background: rgba(196,149,106,0.04);
  border: 1px solid rgba(196,149,106,0.15);
  box-shadow: 0 4px 24px rgba(26,18,21,0.25);
}
.bg-dark .service-card:hover {
  background: rgba(196,149,106,0.08);
  border-color: rgba(196,149,106,0.30);
  box-shadow: 0 12px 40px rgba(196,149,106,0.15);
}
.bg-dark .service-name { color: #fff; }
.bg-dark .service-desc { color: rgba(255,255,255,0.68); }

/* ----------------------------------------------------------
   MEDICINA REGENERATIVA — FEATURE LIST
   ---------------------------------------------------------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(196,149,106,0.18) 0%, rgba(196,149,106,0.08) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid rgba(196,149,106,0.30);
  box-shadow: 0 4px 16px rgba(196,149,106,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
}

.feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   SOCIAL LINKS
   ---------------------------------------------------------- */
.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: rgba(196,149,106,0.14);
  border-color: var(--rose);
  transform: translateY(-3px);
}

/* ----------------------------------------------------------
   STAT CARD
   ---------------------------------------------------------- */
.stat-card {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--gold-vivid);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-vivid);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------
   ALLY BENEFITS
   ---------------------------------------------------------- */
.ally-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.ally-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-cream-2);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--text-body);
  border-left: 3px solid var(--rose);
  line-height: 1.6;
}

.ally-benefit::before {
  content: '✓';
  color: var(--rose);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* Ally form card */
.ally-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.ally-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* ----------------------------------------------------------
   TESTIMONIALS
   ---------------------------------------------------------- */
.testimonial-carousel {
  overflow: hidden;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--bg-dark);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.92rem;
  margin: 0;
}

.testimonial-city {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ----------------------------------------------------------
   FAQ ACCORDION
   ---------------------------------------------------------- */
.accordion-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.accordion-item:hover { box-shadow: var(--shadow-sm); }

.accordion-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  gap: 1rem;
  user-select: none;
}

.accordion-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1);
}

.accordion-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.8;
}

.accordion-item.open .accordion-answer { max-height: 400px; }
.accordion-item.open .accordion-icon   { transform: rotate(45deg); }
.accordion-item.open .accordion-question { color: var(--gold-dark); }

/* ----------------------------------------------------------
   BLOG
   ---------------------------------------------------------- */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  background: linear-gradient(135deg, var(--bg-dark-2), var(--bg-dark));
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-bottom: 2px solid var(--border);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: rgba(201,160,64,0.1);
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.blog-excerpt {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ----------------------------------------------------------
   CONTACT SECTION
   ---------------------------------------------------------- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.contact-info-item:last-of-type { border-bottom: none; margin-bottom: 0; }

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(196,149,106,0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(196,149,106,0.18);
}

.contact-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-info-item strong {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-info-item span {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   CONTACT FORM
   ---------------------------------------------------------- */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-group {
  margin-bottom: 1.1rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  color: rgba(255,255,255,0.6);
}

/* Light-background variant */
.ally-form-card .form-group label,
#form-general .form-group label {
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(201,160,64,0.12);
  background: rgba(255,255,255,0.09);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.28); }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4956a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}

.form-group select option { background: #241a1e; color: #fff; }

.form-group textarea { resize: vertical; min-height: 90px; }

/* Light form variant (médicos, general) */
.ally-form-card .form-group input,
.ally-form-card .form-group select,
.ally-form-card .form-group textarea,
#form-general .form-group input,
#form-general .form-group select,
#form-general .form-group textarea {
  background: #faf8f5;
  border-color: rgba(0,0,0,0.12);
  color: var(--text-dark);
}
.ally-form-card .form-group input::placeholder,
.ally-form-card .form-group textarea::placeholder,
#form-general .form-group input::placeholder,
#form-general .form-group textarea::placeholder {
  color: var(--text-light);
}
.ally-form-card .form-group input:focus,
.ally-form-card .form-group select:focus,
.ally-form-card .form-group textarea:focus,
#form-general .form-group input:focus,
#form-general .form-group select:focus,
#form-general .form-group textarea:focus {
  background: #fff;
}
.ally-form-card .form-group select {
  background-color: #faf8f5;
  color: var(--text-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--gold);
  margin-top: 0.15rem;
  cursor: pointer;
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #fc8181;
  margin-top: 0.35rem;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #fc8181;
  box-shadow: 0 0 0 3px rgba(252,129,129,0.15);
}

/* ----------------------------------------------------------
   GLOBAL VIBRANCY ENHANCEMENTS
   ---------------------------------------------------------- */

/* Dark section atmospheric glow */
.bg-dark {
  position: relative;
}
.bg-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(196,149,106,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(196,149,106,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.bg-dark > * { position: relative; z-index: 1; }

/* Contact icons — más vivaces */
.contact-icon {
  background: linear-gradient(135deg, rgba(196,149,106,0.14) 0%, rgba(196,149,106,0.06) 100%);
  border: 1px solid rgba(196,149,106,0.25);
  box-shadow: 0 4px 14px rgba(196,149,106,0.10);
}

/* Carousel dots — rose gold vivo */
.carousel-dot.active {
  background: var(--gold-vivid);
  box-shadow: 0 0 8px rgba(196,149,106,0.40);
}

/* Stats/trust: glow number */
.stat-number {
  text-shadow: 0 0 24px rgba(196,149,106,0.30);
}

/* Accordion icon color */
.accordion-icon { color: var(--gold-vivid); }

/* Social links hover */
.social-link:hover {
  background: rgba(196,149,106,0.14);
  border-color: var(--gold-vivid);
  box-shadow: 0 4px 16px rgba(196,149,106,0.22);
}

/* Philosophy quote — borde vivo */
.philosophy-quote {
  border-left-color: var(--gold-vivid);
  background: rgba(196,149,106,0.04);
}

/* Ally benefit check — más brillante */
.ally-benefit {
  border-left-color: var(--gold-vivid);
}
.ally-benefit::before {
  color: var(--gold-vivid);
}

/* Hero subtitle — más legible */
.hero-subtitle {
  color: rgba(255,255,255,0.78);
}

/* Navbar logo text glow */
.nav-logo-text {
  text-shadow: 0 0 20px rgba(218,165,32,0.30);
}

/* Lang buttons — rose gold active */
.lang-btn:hover,
.lang-btn.active {
  background: rgba(196,149,106,0.15);
  border-color: var(--gold-vivid);
  color: var(--gold-light);
  box-shadow: 0 0 8px rgba(196,149,106,0.18);
}

.form-group.has-error .form-error-msg { display: block; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.85rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem;
}

.form-success.visible,
.form-success[style*="display:block"],
.form-success[style*="display: block"] { display: block; }

.form-success-icon { font-size: 3rem; margin-bottom: 1rem; }

/* results disclaimer */
.results-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.65rem 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  background: #14101a;
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(196,149,106,0.10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.8;
  margin: 0.75rem 0 1.25rem;
  color: rgba(255,255,255,0.4);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  line-height: 1.65;
}

.footer-contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom-links a { color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ----------------------------------------------------------
   UBICACIÓN — MAPA CONSULTORIO
   ---------------------------------------------------------- */
.ubicacion-tag {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.ubicacion-title { color: #fff; }

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
  overflow: hidden; /* evita que columna derecha desborde */
  max-width: 100%;
}

.ubicacion-info {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(196,149,106,0.12);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ubicacion-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ubicacion-row:last-of-type { border-bottom: none; }

.ubicacion-icon {
  width: 42px;
  height: 42px;
  background: rgba(196,149,106,0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ubicacion-label {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.3rem;
}

.ubicacion-value {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.ubicacion-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  margin-top: auto;
}

/* -- Columna derecha: foto del consultorio -- */
.ubicacion-photo-col {
  /* No usar min-height: 100% — causa overflow en grid con transforms */
  overflow: hidden;
  max-width: 100%;
}

.ubicacion-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.55);
  border: 1px solid rgba(196,149,106,0.18);
  width: 100%;
  min-height: 480px;
}

.ubicacion-photo-wrap img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.ubicacion-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,18,21,0.92) 0%, rgba(26,18,21,0.35) 55%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
}

.ubicacion-photo-tag {
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

.ubicacion-photo-addr {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* -- Botón CTA Google Maps -- */
.btn-maps-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(196,149,106,0.16) 0%, rgba(196,149,106,0.06) 100%);
  border: 1px solid rgba(196,149,106,0.35);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  color: #fff;
  text-decoration: none;
  width: 100%;
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(196,149,106,0.12);
}

.btn-maps-cta:hover {
  background: linear-gradient(135deg, rgba(196,149,106,0.28) 0%, rgba(196,149,106,0.14) 100%);
  border-color: var(--gold-vivid);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(196,149,106,0.25);
}

.btn-maps-pin {
  font-size: 1.75rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(196,149,106,0.50));
}

.btn-maps-text {
  flex: 1;
  min-width: 0;
}

.btn-maps-text strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.22rem;
}

.btn-maps-text small {
  display: block;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-maps-arrow {
  color: var(--gold-vivid);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform var(--transition);
  text-shadow: 0 0 8px rgba(196,149,106,0.50);
}

.btn-maps-cta:hover .btn-maps-arrow {
  transform: translate(3px, -3px);
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-3  { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section   { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; gap: 1.75rem; }

  /* Navbar */
  .nav-links                  { display: none; }
  .navbar > .lang-selector    { display: none; }
  .hamburger                  { display: flex; }
  .mobile-menu                { display: flex; }

  /* Hero */
  .hero-title   { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-trust   { gap: 1.25rem; }
  .trust-value  { font-size: 1.45rem; }

  /* Doctor */
  .dr-badge { right: 0; bottom: -0.5rem; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form  { padding: 1.5rem; }
  .ally-form-card { padding: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* Ubicación — móvil */
  .ubicacion-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    overflow: hidden;
  }
  .ubicacion-info {
    padding: 1.25rem;         /* menos padding en móvil */
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;             /* evita que el grid lo expanda */
  }
  .ubicacion-row {
    gap: 0.75rem;
  }
  .ubicacion-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .ubicacion-value {
    font-size: 0.88rem;
    word-break: break-word;
  }
  .ubicacion-photo-wrap { min-height: 240px; }
  .ubicacion-photo-wrap img { min-height: 240px; }
  .ubicacion-btns {
    flex-direction: column;
    gap: 0.6rem;
  }
  .ubicacion-btns .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
  .btn-maps-cta {
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    padding: 0.9rem 1rem;
  }
  .btn-maps-text small {
    white-space: normal;      /* permite que el texto se rompa en móvil */
    word-break: break-word;
  }
  .btn-maps-text strong {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-trust { gap: 1rem; }
  .trust-item { min-width: calc(50% - 0.5rem); }

  /* Ubicación extra-pequeño */
  #ubicacion .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .ubicacion-info { padding: 1rem; }
  .btn-maps-cta { padding: 0.85rem 0.85rem; gap: 0.65rem; }
  .btn-maps-pin { font-size: 1.4rem; }
  .btn-maps-arrow { font-size: 1rem; }
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}
