/* =========================================================
   Tema Premium v5 — Dra. Verónica Chávez
   Diseño visual más cálido, profesional y menos plano.
   Compatible con la estructura HTML actual.
   ========================================================= */

:root {
  --bg: #f6f0e8;
  --bg-soft: #fbf7f1;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-warm: #fff8ec;
  --text: #193334;
  --muted: #6c7a78;
  --primary: #0d6b67;
  --primary-dark: #084946;
  --primary-soft: #dff2ee;
  --accent: #c99b55;
  --accent-dark: #a77933;
  --accent-soft: #f5e2bd;
  --danger: #b35f4a;
  --line: rgba(17, 61, 58, 0.14);
  --shadow-sm: 0 10px 30px rgba(12, 49, 48, 0.10);
  --shadow-md: 0 22px 65px rgba(12, 49, 48, 0.16);
  --shadow-lg: 0 35px 90px rgba(12, 49, 48, 0.22);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
  --font-title: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: #f6f0e8;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Fondo vectorial (SVG): degradados nítidos + grano sutil, sin filter:blur */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('assets/bg.svg') center center / cover no-repeat;
}

img, svg {
  max-width: 100%;
}

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

.container,
.nav-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

section {
  position: relative;
  padding: 110px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 15px;
  border: 1px solid rgba(201, 155, 85, 0.34);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.78);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(201, 155, 85, 0.12);
}

.section-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(201, 155, 85, 0.16);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-header h2,
.hero h1,
.about-content h2,
.cta-content h2 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.section-header p {
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

/* NAV */
.navbar {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 1000;
  transition: transform 0.28s ease, background 0.28s ease;
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  min-width: 126px;
}

.logo-img {
  display: block;
  max-height: 54px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(25, 51, 52, 0.82);
  transition: 0.2s ease;
}

.nav-link:hover {
  background: rgba(13, 107, 103, 0.08);
  color: var(--primary-dark);
}

.nav-cta {
  margin-left: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 28px rgba(13, 107, 103, 0.26);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(13, 107, 103, 0.32);
}

/* Botón CTA visible solo en móvil dentro de la barra */
.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--primary-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary-dark);
  border-radius: 99px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 90px;
  overflow: hidden;
}


.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: 68px;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(2.8rem, 3.6vw, 5rem);
  color: var(--primary-dark);
  text-wrap: balance;
}

.hero-desc {
  max-width: 630px;
  margin: 28px 0 34px;
  color: #536865;
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 25px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #0b5753 60%, #073d3a 100%);
  box-shadow: 0 18px 40px rgba(13, 107, 103, 0.28);
}

.btn-primary:hover,
.btn-white:hover,
.btn-outline:hover {
  transform: translateY(-3px);
}

.btn-primary:hover {
  box-shadow: 0 24px 50px rgba(13, 107, 103, 0.36);
}

.btn-outline {
  color: var(--primary-dark);
  border-color: rgba(13, 107, 103, 0.22);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.btn-full {
  width: 100%;
}

.hero-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}

.stat-mini {
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 32px rgba(15, 62, 60, 0.08);
}

.stat-mini-num {
  display: block;
  font-family: var(--font-title);
  color: var(--accent-dark);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 600;
}

.stat-mini-label {
  display: block;
  margin-top: 5px;
  color: #5f706e;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-images {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr 0.68fr;
  gap: 18px;
  align-items: center;
  flex: 1
}

/* Rectángulo de color desplazado detrás del video (estilo capas) */
.hero-images::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -26px;
  bottom: 84px;
  left: 70px;
  border-radius: 46px;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: var(--shadow-md);
  z-index: 0;
}

.hero-img-col {
  position: relative;
  z-index: 1;
}

.main-col {
  align-self: stretch;
}

.img-large,
.img-small,
.about-image img,
.service-img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.img-large {
  height: 720px;
  border-radius: 48px;
  box-shadow: var(--shadow-lg);
  object-position: center;
}

.hero-video {
  position: relative;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 48px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 73, 70, 0) 45%, rgba(8, 73, 70, 0.55) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero-video.is-playing::after {
  opacity: 0;
}

.hero-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 38px rgba(8, 73, 70, 0.4);
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  z-index: 2;
}

.hero-video-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

.hero-video-play::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: heroPulse 2.4s ease-out infinite;
}

@keyframes heroPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.hero-video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.hero-video.is-playing .hero-video-play {
  opacity: 0;
  pointer-events: none;
}

.hero-video-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  text-align: right;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s ease;
}

.hero-video.is-playing .hero-video-label {
  opacity: 0;
}

.hvl-top {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
}

.hvl-sub {
  display: block;
  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1.15;
  margin-top: 2px;
}

.img-small {
  height: 330px;
  border-radius: 34px;
  box-shadow: var(--shadow-md);
  object-position: center;
}

.sub-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(54px);
}

.hero-floating-card,
.context-card,
.about-badge-card {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.hero-floating-card {
  position: absolute;
  left: -44px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(320px, calc(100% - 30px));
  padding: 18px;
  border-radius: 24px;
}

.floating-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.fb-title,
.fb-sub {
  display: block;
}

.fb-title {
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.2;
}

.fb-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.context-card {
  padding: 26px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(13, 107, 103, 0.92), rgba(8, 73, 70, 0.94));
  color: #fff;
}

.context-card p {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.7rem;
  line-height: 1.08;
}

/* SERVICES */
.services {
  background:
    linear-gradient(180deg, rgba(246, 240, 232, 0) 0%, rgba(255, 255, 255, 0.48) 100%),
    radial-gradient(circle at 0 0, rgba(13, 107, 103, 0.10), transparent 34rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 155, 85, 0.14), transparent 35%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 155, 85, 0.34);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #fff8ec 100%);
  border-color: rgba(201, 155, 85, 0.44);
}

.service-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 24px rgba(167, 121, 51, 0.26);
}

.service-img {
  height: 220px;
  border-radius: 34px 34px 0 0;
  filter: saturate(1.02) contrast(1.02);
}

.service-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.service-content h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--primary-dark);
  font-size: 2rem;
  line-height: 1.05;
}

.service-desc,
.service-includes {
  color: var(--muted);
}

.service-desc {
  margin: 0 0 18px;
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 8px 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 107, 103, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(223, 242, 238, 0.82), rgba(255, 248, 236, 0.72));
}

.price-label,
.price-currency {
  color: #60716f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-amount {
  font-family: var(--font-title);
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 700;
}

.service-includes {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.service-includes li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.service-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--primary);
  font-weight: 900;
}

.service-content .btn {
  margin-top: auto;
}


/* CONDITION SERVICES */
.services-intro {
  padding-bottom: 64px;
}

.condition-service {
  overflow: hidden;
  padding: 88px 0;
  scroll-margin-top: 128px;
  background:
    radial-gradient(circle at 6% 12%, rgba(201, 155, 85, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(246, 240, 232, 0.24));
}

.condition-service.condition-alt {
  background:
    radial-gradient(circle at 92% 18%, rgba(13, 107, 103, 0.12), transparent 30rem),
    linear-gradient(180deg, rgba(223, 242, 238, 0.38), rgba(255, 248, 236, 0.34));
}

.condition-service.condition-featured {
  background:
    radial-gradient(circle at 86% 20%, rgba(201, 155, 85, 0.18), transparent 30rem),
    linear-gradient(180deg, rgba(255, 248, 236, 0.66), rgba(255, 255, 255, 0.42));
}

.condition-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.condition-reversed .condition-media {
  order: 2;
}

.condition-reversed .condition-card {
  order: 1;
}

.condition-media {
  position: relative;
}

.condition-media::before {
  content: '';
  position: absolute;
  inset: 24px -16px -16px 24px;
  border: 1px solid rgba(201, 155, 85, 0.32);
  border-radius: 38px;
  pointer-events: none;
}

.condition-img {
  position: relative;
  display: block;
  width: 100%;
  height: min(520px, 48vw);
  min-height: 380px;
  object-fit: cover;
  border-radius: 38px;
  box-shadow: var(--shadow-md);
}

.condition-card {
  position: relative;
  padding: clamp(30px, 4.4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.condition-card h2 {
  margin: 0 0 18px;
  font-family: var(--font-title);
  color: var(--primary-dark);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.condition-card .service-desc {
  font-size: 1.08rem;
}

.condition-card .service-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin-bottom: 28px;
}

.condition-card .service-price {
  max-width: 470px;
}

.price-consult {
  align-items: center;
  flex-wrap: wrap;
}

.price-consult .price-amount {
  font-size: clamp(1.45rem, 3vw, 2rem);
}


/* SYMPTOMS */
.symptoms {
  overflow: hidden;
  scroll-margin-top: 126px;
  background:
    radial-gradient(circle at 9% 18%, rgba(13, 107, 103, 0.12), transparent 30rem),
    radial-gradient(circle at 92% 10%, rgba(201, 155, 85, 0.16), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.50), rgba(246, 240, 232, 0.52));
}

.s_tabs-container {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 38px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.s-tab-btn {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(25, 51, 52, 0.72);
  font: 800 0.92rem var(--font-body);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.s-tab-btn:hover {
  transform: translateY(-2px);
  color: var(--primary-dark);
  background: rgba(13, 107, 103, 0.08);
}

.s-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 28px rgba(13, 107, 103, 0.24);
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
}

.tab-panel.active,
.tab-panel.show {
  display: block;
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.symptom-card {
  position: relative;
  min-height: 292px;
  padding: 30px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.symptom-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 155, 85, 0.13), transparent 42%);
  opacity: 0;
  transition: opacity 0.26s ease;
  pointer-events: none;
}

.symptom-card:hover {
  transform: translateY(-7px);
  border-color: rgba(201, 155, 85, 0.34);
  box-shadow: var(--shadow-md);
}

.symptom-card:hover::before {
  opacity: 1;
}

.symptom-icon {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 24px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-soft), var(--surface-warm));
  box-shadow: 0 14px 28px rgba(13, 107, 103, 0.12);
}

.symptom-card h3,
.symptom-card p {
  position: relative;
  z-index: 1;
}

.symptom-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--primary-dark);
  font-size: 1.82rem;
  line-height: 1.05;
}

.symptom-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.symptoms-cta {
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin: 42px auto 0;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 30%, rgba(201, 155, 85, 0.22), transparent 16rem),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.symptoms-cta p {
  margin: 0;
  color: #4c625f;
  font-size: 1.04rem;
}

.symptoms-cta strong {
  color: var(--primary-dark);
}

/* ABOUT */
.about {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(246, 240, 232, 0));
  color: var(--text);
  overflow: hidden;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -22px 24px 34px -22px;
  border: 1px solid rgba(201, 155, 85, 0.42);
  border-radius: 42px;
}

.about-image img {
  position: relative;
  height: 620px;
  border-radius: 42px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.26);
}

.about-badge-card {
  position: absolute;
  right: -22px;
  bottom: 38px;
  max-width: 260px;
  padding: 20px;
  border-radius: 24px;
  color: var(--text);
}

.badge-number,
.badge-text {
  display: block;
}

.badge-number {
  color: var(--primary-dark);
  font-weight: 900;
}

.badge-text {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-content .text-accent {
  color: var(--accent-dark);
}

.about-lead {
  margin: 22px 0 12px;
  color: #fff8ec;
  font-size: 1.2rem;
  font-weight: 600;
}

.about-content p:not(.about-lead) {
  color: #4a5d5b;
}

.credentials-grid {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.credential-item,
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.credential-item {
  padding: 17px;
}

.credential-icon,
.feature-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary-dark);
  background: var(--accent-soft);
}

.credential-item strong,
.credential-item span {
  display: block;
}

.credential-item strong,
.feature strong {
  color: #fff;
}

.credential-item span,
.feature {
  color: rgba(255, 255, 255, 0.72);
}

.about-features {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.feature {
  padding: 15px;
}

.feature-icon {
  font-weight: 900;
}

/* CTA */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(90deg, rgba(255, 248, 236, 0.78), rgba(223, 242, 238, 0.86));
}

.cta-content {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 155, 85, 0.35), transparent 20rem),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-content::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  border: 42px solid rgba(255, 255, 255, 0.08);
}

.cta-content h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
}

.cta-content p {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.btn-white {
  position: relative;
  z-index: 1;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

/* TESTIMONIALS */
.testimonials {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 155, 85, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(246, 240, 232, 0.4));
}

.video-testimonial {
  max-width: 920px;
  margin: 0 auto 42px;
}

.video-placeholder {
  min-height: 340px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(8, 73, 70, 0.72), rgba(8, 73, 70, 0.72)),
    radial-gradient(circle at 50% 10%, rgba(201, 155, 85, 0.36), transparent 24rem);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.video-placeholder svg {
  width: 82px;
  height: 82px;
  padding: 22px;
  border-radius: 999px;
  background: #fff;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.22));
}

.video-placeholder p {
  margin: 10px 0 0;
  font-family: var(--font-title);
  font-size: 2.1rem;
  line-height: 1.05;
}

.testimonials-ticker-container {
  overflow: hidden;
  margin-inline: calc((100vw - min(var(--container), calc(100vw - 40px))) / -2);
  padding: 8px 0 22px;
}

.testimonials-ticker {
  display: flex;
  gap: 20px;
  width: max-content;
  /* !important para que el carrusel siga moviéndose aun con "reducir movimiento" */
  animation: ticker 34s linear infinite !important;
}

.testimonials-ticker:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: min(420px, 86vw);
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--accent-dark);
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.testimonial-card p {
  margin: 18px 0;
  color: #495e5c;
}

.patient-name {
  color: var(--primary-dark);
  font-weight: 800;
}

@keyframes ticker {
  from { transform: translateX(calc(-50% - 10px)); }
  to { transform: translateX(0); }
}

/* FAQ */
.faq {
  background: linear-gradient(180deg, rgba(246, 240, 232, 0.28), rgba(255, 255, 255, 0.58));
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(12, 49, 48, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font: 800 1.04rem var(--font-body);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-item.active .faq-answer,
.faq-item.open .faq-answer {
  max-height: 240px;
}

.faq-answer p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
}

/* INSURANCE */
.insurance {
  background:
    radial-gradient(circle at 90% 10%, rgba(13, 107, 103, 0.11), transparent 26rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(246, 240, 232, 0.38));
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.insurance-logo {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.insurance-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.insurance-logo img {
  max-height: 46px;
  object-fit: contain;
  filter: saturate(0.88);
}

/* CONTACT */
.contact {
  background:
    radial-gradient(circle at 10% 20%, rgba(201, 155, 85, 0.22), transparent 28rem),
    linear-gradient(135deg, #073d3a, #0d6b67);
  color: #fff;
  overflow: hidden;
}

.contact .section-header p,
.section-header.light p {
  color: rgba(255, 255, 255, 0.72);
}

.contact .section-header h2,
.section-header.light h2 {
  color: #fff;
}

.contact .text-accent,
.section-header.light .text-accent {
  color: var(--accent-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 52px;
}

.contact-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 22px;
  color: var(--primary-dark);
  background: var(--accent-soft);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 2rem;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-link {
  color: var(--accent-soft);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-emergency {
  margin-top: 18px;
}

.booking-widget-container {
  max-width: 960px;
  margin: 40px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.widget-header {
  padding: 34px 34px 20px;
  text-align: center;
}

.widget-header h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.widget-header p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.iframe-wrapper {
  margin: 0 18px 18px;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}

/* FOOTER */
.footer {
  padding: 70px 0 34px;
  background: #062f2d;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  max-height: 68px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-bottom,
.footer-links a {
  color: rgba(255, 255, 255, 0.66);
}

.footer-links h4 {
  margin: 0 0 16px;
  color: var(--accent-soft);
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  max-width: 900px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.36);
  transition: transform 0.22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

/* Mobile */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 0;
  }

  .nav-link,
  .nav-cta {
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .hero-container,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-images {
    min-height: auto;
    grid-template-columns: 1fr 0.7fr;
  }

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

  .condition-grid,
  .condition-reversed {
    grid-template-columns: 1fr;
  }

  .condition-reversed .condition-media,
  .condition-reversed .condition-card {
    order: initial;
  }

  .condition-img {
    height: min(520px, 70vw);
  }

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

@media (max-width: 860px) {
  section {
    padding: 82px 0;
  }

  .navbar {
    inset: 10px 0 auto 0;
  }

  .nav-container {
    border-radius: 28px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active,
  .nav-menu.open,
  body.menu-open .nav-menu {
    display: flex;
  }

  .nav-link,
  .nav-menu .nav-cta {
    justify-content: flex-start;
    min-height: 48px;
  }

  /* Se oculta el CTA duplicado dentro del menú desplegable */
  .nav-menu .nav-cta {
    display: none;
  }

  /* CTA visible en la barra (estilo referencia) */
  .nav-cta-mobile {
    display: inline-flex;
    margin: 0 10px 0 auto;
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-container {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.2rem);
  }

  .hero-stats-mini,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-images {
    grid-template-columns: 1fr;
  }

  .hero-images::before {
    top: -12px;
    right: -12px;
    bottom: 64px;
    left: 34px;
  }

  .img-large,
  .about-image img {
    height: min(560px, 108vw);
  }

  .sub-col {
    transform: none;
  }

  .img-small {
    height: 260px;
  }

  .hero-floating-card,
  .about-badge-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    max-width: none;
  }

  .services-grid,
  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .services-intro {
    padding-bottom: 36px;
  }

  .condition-service {
    padding: 68px 0;
    scroll-margin-top: 98px;
  }

  .condition-img {
    height: min(460px, 86vw);
    min-height: 300px;
  }

  .condition-card .service-includes {
    grid-template-columns: 1fr;
  }

  .cta-content {
    grid-template-columns: 1fr;
  }

  .btn-white {
    width: fit-content;
  }
}

@media (max-width: 520px) {
  .container,
  .nav-container {
    width: min(var(--container), calc(100% - 26px));
  }

  .hero-buttons,
  .btn,
  .btn-white {
    width: 100%;
  }

  .section-header h2,
  .about-content h2,
  .cta-content h2 {
    letter-spacing: -0.02em;
  }

  .service-content,
  .contact-card,
  .testimonial-card {
    padding: 24px;
  }

  .video-placeholder {
    min-height: 270px;
  }

  .video-placeholder p {
    font-size: 1.6rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}



@media (max-width: 1100px) {
  .symptoms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .symptoms {
    scroll-margin-top: 98px;
  }

  .s_tabs-container {
    width: 100%;
    border-radius: 28px;
  }

  .s-tab-btn {
    flex: 1 1 100%;
  }

  .symptoms-grid,
  .symptoms-cta {
    grid-template-columns: 1fr;
  }

  .symptoms-cta .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .symptom-card {
    min-height: auto;
    padding: 26px 22px;
  }

  .symptom-card h3 {
    font-size: 1.62rem;
  }
}

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

/* ============================================
   VIDEO TESTIMONIALS (9:16) + ABOUT VIDEO
   ============================================ */
.video-testimonials {
  margin-top: 4rem;
}
.video-testimonials .section-header {
  margin-bottom: 2.5rem;
}
.video-scroller {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.video-scroller .video-card {
  flex: 0 0 calc((100% - 4.5rem) / 4);
}
.video-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 30px rgba(13, 107, 103, 0.18);
  aspect-ratio: 9 / 16;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.about-video {
  margin: 1.75rem 0;
  max-width: 280px;
}
.about-video video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 10px 26px rgba(13, 107, 103, 0.18);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.about-video-caption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 992px) {
  .video-scroller .video-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
  .video-scroller {
    gap: 1rem;
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  /* Carrusel horizontal (swipe) en móvil para no ocupar tanto scroll */
  .video-scroller {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 4px 12px;
    scrollbar-width: none;
  }
  .video-scroller::-webkit-scrollbar {
    display: none;
  }
  .video-scroller .video-card {
    flex: 0 0 70%;
    max-width: 280px;
    scroll-snap-align: center;
  }
  .about-video {
    max-width: 100%;
  }
}

/* ============================================
   AJUSTE HERO (solo video, sin foto lateral)
   ============================================ */
.hero-images {
  grid-template-columns: 1fr;
  max-width: 550px;
  margin: 0 auto;
}

/* Reset para botones que usan estilos de enlace */
button.btn,
button.nav-cta {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

/* ============================================
   SECCIÓN VIDEOS (debajo del hero)
   ============================================ */
.videos-section {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(246, 240, 232, 0));
}
.videos-section .section-header {
  margin-bottom: 2.5rem;
}

/* ============================================
   PROCEDIMIENTOS (acordeón)
   ============================================ */
.procedures {
  padding: 90px 0;
}
.proc-accordion {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proc-item {
  background: #fff;
  border: 1px solid rgba(13, 107, 103, 0.12);
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(13, 107, 103, 0.06);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.proc-item.active {
  border-color: rgba(13, 107, 103, 0.35);
  box-shadow: 0 16px 38px rgba(13, 107, 103, 0.14);
}
.proc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
.proc-name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.15;
  flex: 1;
}
.proc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.proc-toggle {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 107, 103, 0.08);
  transition: background 0.25s ease, transform 0.25s ease;
}
.proc-toggle::before,
.proc-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.proc-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.proc-item.active .proc-toggle {
  background: var(--primary);
}
.proc-item.active .proc-toggle::before,
.proc-item.active .proc-toggle::after {
  background: #fff;
}
.proc-item.active .proc-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.proc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.proc-item.active .proc-panel {
  max-height: 900px;
}
.proc-panel-inner {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 28px;
  padding: 4px 26px 30px;
  align-items: center;
}
.proc-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.proc-desc {
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 16px;
}
.proc-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}
.proc-includes li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}
.proc-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 768px) {
  .proc-panel-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .proc-name {
    font-size: 1.2rem;
  }
  .proc-header {
    padding: 18px 18px;
    flex-wrap: wrap;
  }
  .proc-media img {
    height: 220px;
  }
}

/* ============================================
   MAPA DE GOOGLE
   ============================================ */
.map-embed {
  margin-top: 40px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-embed iframe {
  display: block;
}

/* ============================================
   MODAL DE AGENDAMIENTO
   ============================================ */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.booking-modal.open {
  display: flex;
}
.booking-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 36, 35, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.booking-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: bookingIn 0.28s ease;
}
@keyframes bookingIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.booking-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}
.booking-modal-close:hover {
  background: #fff;
  transform: scale(1.06);
}
.booking-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.booking-modal-body iframe {
  display: block;
  width: 100%;
  border: none;
  min-height: 85vh;
}
@media (max-width: 600px) {
  .booking-modal { padding: 0; }
  .booking-modal-dialog { max-height: 100vh; height: 100%; border-radius: 0; width: 100%; }
}

/* ============================================
   RESEÑAS DESTACADAS EN EL HERO (Google + Doctoralia)
   ============================================ */
.hero-reviews {
  max-width: 560px;
  margin-top: 8px;
}
.hero-reviews-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hr-stars {
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
}
.hr-score {
  font-weight: 800;
  color: var(--primary-dark);
}
.hr-sources {
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-review {
  margin: 0;
  padding: 0;
  will-change: transform, opacity;
}
/* Transición en arco entre reseñas (curvas cubic-bezier) */
@keyframes hrExit {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% { opacity: 0; transform: translate(-26px, -16px) rotate(-1.6deg); }
}
@keyframes hrEnter {
  0%   { opacity: 0; transform: translate(30px, 18px) rotate(1.8deg); }
  55%  { opacity: 1; transform: translate(-6px, -5px) rotate(-0.5deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}
.hero-review.is-exiting {
  animation: hrExit 0.34s cubic-bezier(0.55, 0, 0.85, 0.30) forwards;
}
.hero-review.is-entering {
  animation: hrEnter 0.62s cubic-bezier(0.34, 1.45, 0.50, 1) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-review.is-exiting,
  .hero-review.is-entering { animation: none; }
}
.hr-quote {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.35;
  color: #3a4b49;
  min-height: 4.2em;
}
.hr-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hr-name {
  font-weight: 700;
  color: var(--primary-dark);
}
.hr-name::before {
  content: '— ';
  color: var(--muted);
}
.hr-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hr-source-label {
  font-size: 0.82rem;
  color: var(--muted);
}
.hr-logo {
  height: 20px;
  width: auto;
  display: block;
}
.hr-logo[alt="Doctoralia"] {
  height: 18px;
}

@media (max-width: 768px) {
  .hr-quote { min-height: 0; }
}

/* Crédito Más Pacientes en el footer */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-credit:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.footer-credit img {
  display: block;
  border-radius: 6px;
}
.footer-credit strong {
  color: #fff;
  font-weight: 700;
}

/* Mapa dentro de la tarjeta de Ubicación */
.contact-grid { align-items: start; }
.contact-map {
  margin: 14px 0;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 8px 22px rgba(12, 49, 48, 0.14);
}
.contact-map iframe { display: block; }

/* ============================================
   ACERCA DE MÍ — rediseño (media + credenciales)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.about-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-media.is-playing .hero-video-play {
  opacity: 0;
  pointer-events: none;
}
.about-title {
  font-size: clamp(2.1rem, 3vw, 3.4rem);
  margin: 14px 0 22px;
  color: var(--primary-dark);
}
.about-title em {
  font-style: italic;
}
.about-content > p {
  color: #4a5d5b;
  line-height: 1.75;
  margin: 0 0 16px;
}
.about-creds {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 26px 0 30px;
}
.cred-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(13, 107, 103, 0.12);
  box-shadow: 0 8px 24px rgba(12, 49, 48, 0.06);
}
.cred-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-dark);
  color: #fff;
}
.cred-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cred-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.cred-title {
  color: var(--primary-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}
.cred-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-media {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ============================================
   CONTACTO — tarjeta única (datos + mapa)
   ============================================ */
.contact-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 38px 40px;
  justify-content: center;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-row .contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
}
.contact-row-text h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.contact-row-text p {
  margin: 0 0 6px;
  line-height: 1.5;
}
.contact-single .contact-map {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 100%;
}
.contact-single .contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

@media (max-width: 820px) {
  .contact-single {
    grid-template-columns: 1fr;
  }
  .contact-single .contact-map iframe {
    min-height: 280px;
  }
}

/* Precios en procedimientos */
.proc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 18px;
}
.proc-price-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.proc-price-amount {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}
.proc-price-cur {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.proc-price--consult .proc-price-amount {
  font-size: 1.4rem;
}

/* ============================================
   VIDEOS: botón "Ver más" + modal de testimonios
   ============================================ */
.videos-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.tvid-dialog {
  width: min(920px, 100%);
}
.tvid-body {
  padding: 40px 28px 28px;
  overflow-y: auto;
}
.tvid-title {
  margin: 0 0 22px;
  text-align: center;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--primary-dark);
}
.tvid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .tvid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tvid-body {
    padding: 44px 18px 20px;
  }
}

/* Oculta la tarjeta flotante "Cirujana Certificada" en móvil */
@media (max-width: 860px) {
  .hero-floating-card {
    display: none;
  }
}

/* ============================================
   ÍCONOS SOCIALES (header + footer)
   ============================================ */
.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #084946;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-link:hover {
  background: rgba(8, 73, 70, 0.1);
  transform: translateY(-1px);
}
.social-link:focus-visible {
  outline: 2px solid #084946;
  outline-offset: 2px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social .social-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.footer-social .social-link:hover {
  background: #fff;
  color: #084946;
}
.footer-social .social-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ============================================
   HEADER STICKY — estado al hacer scroll
   ============================================ */
.navbar.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(12, 49, 48, 0.18);
}

/* ============================================
   BANNER DE COOKIES
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 24px);
  z-index: 2500;
  width: min(760px, calc(100% - 28px));
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: #084946;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.cookie-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.cookie-text a {
  color: var(--accent-soft);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner .btn {
  min-height: 44px;
  padding: 0 22px;
}
.cookie-accept {
  background: #fff;
  color: #084946;
}
.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.cookie-reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.12);
}
.cookie-banner .btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    bottom: 12px;
  }
  .cookie-actions {
    justify-content: center;
  }
}
