:root {
  --blue: #2f6bff;
  --blue-2: #1e56ea;
  --blue-hover: #1748cc;
  --blue-soft: #eef4fe;
  --blue-bg: #eaf1fb;
  --navy: #071d3d;
  --navy-light: #0d2850;
  --ink: #0d1727;
  --muted: #5c6c84;
  --line: #e2e8f2;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 12px rgba(13, 23, 39, 0.04);
  --shadow: 0 14px 40px rgba(13, 23, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 29, 61, 0.16);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-blue {
  background: var(--blue-bg);
}

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

h1, h2, h3, h4 {
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 16px 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ KEYFRAMES ANIMATIONS ============ */
@keyframes spinStar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.spark-spinning {
  animation: spinStar 10s linear infinite;
  transform-origin: center;
  display: block;
}

.floating-badge {
  animation: floatBadge 4.5s ease-in-out infinite alternate;
}

/* ============ PILLS & BADGES ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.pill-glass {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-transform: none;
  letter-spacing: normal;
  font-size: 14px;
  padding: 8px 18px;
  transition: all 0.3s ease;
}

.pill-glass:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.ic {
  width: 26px;
  height: 26px;
  color: var(--blue);
  transition: transform 0.3s ease;
}

/* ============ BOTONES ESTILO ORAVO (CON FLECHA ANIMADA) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(47, 107, 255, 0.45);
}

.btn-ghost {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-ic {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

/* Efecto de flecha en hover (Oravo signature interaction) */
.btn:hover .btn-ic {
  transform: translate(2px, -2px) rotate(45deg);
}

.btn-ghost .btn-ic {
  background: var(--blue);
  color: #fff;
}

.btn-ghost:hover .btn-ic {
  background: var(--blue-hover);
}

.btn-ic svg {
  width: 14px;
  height: 14px;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: all 0.35s ease;
  padding: 22px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(7, 29, 61, 0.08);
  padding: 12px 0;
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.3);
  transition: transform 0.3s ease;
}

.logo:hover .logo-badge {
  transform: rotate(10deg) scale(1.05);
}

.logo-badge svg {
  width: 22px;
  height: 22px;
}

.header.scrolled .logo {
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.header.scrolled .nav-link {
  color: var(--ink);
}

.header.scrolled .nav-link:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Selector de idioma */
.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 3px;
  backdrop-filter: blur(8px);
}

.header.scrolled .lang-switch {
  background: var(--blue-soft);
  border-color: var(--line);
}

.lang-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.header.scrolled .lang-btn {
  color: var(--muted);
}

.lang-btn.active {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.4);
}

.burger {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.25s ease;
}

.header.scrolled .burger {
  border-color: var(--line);
  background: var(--blue-soft);
  color: var(--ink);
}

.burger svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

/* ============ HERO SECTION CON ANIMACIÓN DE ENTRADA ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../img/hero.webp?v=1.1.1') center 25% / cover no-repeat;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 160px 0 110px;
  color: #fff;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 24, 51, 0.88) 0%, rgba(7, 24, 51, 0.6) 52%, rgba(7, 24, 51, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hero-content {
  max-width: 680px;
}

/* Estado inicial animado por GSAP */
.hero-anim {
  opacity: 0;
  transform: translateY(26px);
}

.hero-eyebrow {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 20px;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.spark-badge {
  display: grid;
  place-items: center;
  color: #93c5fd;
}

.hero-eyebrow p {
  font-size: 14px;
  font-weight: 500;
  color: #f1f5f9;
}

.hero h1 {
  color: #fff;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 26px;
  letter-spacing: -0.03em;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 580px;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Tarjeta de rating en la grilla de 1280px (firme y sin retraso) */
.hero-rating {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 24px 28px;
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  margin-bottom: 8px;
  min-width: 270px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-rating:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.hero-rating-num {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
}

.hero-rating-num .star {
  width: 20px;
  height: 20px;
  fill: #ffbe0b;
  stroke: none;
  margin-top: 4px;
}

.hero-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -12px;
  transition: transform 0.25s ease;
}

.avatars img:hover {
  transform: translateY(-3px) scale(1.1);
  z-index: 2;
}

.avatars img:first-child {
  margin-left: 0;
}

.avatar-plus {
  width: 40px;
  height: 40px;
  margin-left: -12px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.rating-label {
  font-size: 14px;
  font-weight: 600;
}

/* ============ ABOUT SECTION CON TEXT-APPEAR WORD-BY-WORD ============ */
.about-head {
  text-align: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 90px;
  position: relative;
}

.about-statement-wrap {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 44px auto 34px;
  padding: 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* El efecto SplitText / text-appear de Oravo en grilla de 880px */
.about-statement {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 16px;
}

.reveal-word {
  display: inline-block;
  opacity: 0.2;
  color: var(--ink);
  transition: opacity 0.3s ease, color 0.3s ease;
  margin-right: 0.25em;
  transform: translateZ(0);
}

.reveal-word.is-revealed {
  opacity: 1;
}

/* Imágenes flotantes separadas en los extremos de la grilla de 1280px */
.about-img {
  position: absolute;
  width: 185px;
  height: 130px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(13, 23, 39, 0.12);
  border: 4px solid #fff;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  z-index: 1;
}

.img-l {
  left: 0;
  top: 10%;
  transform: rotate(-8deg);
}

.img-r {
  right: 0;
  bottom: 5%;
  transform: rotate(8deg);
}

/* ============ TARJETAS CON ANIMACIÓN GSAP (.card-wrapper & .card) ============ */
.values-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.values-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  will-change: transform, opacity;
}

.card:hover {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.value-card {
  position: relative;
  overflow: hidden;
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(47, 107, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  cursor: pointer;
}

.value-card.is-active,
.value-card:hover {
  background: #ffffff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(47, 107, 255, 0.14);
  border-color: rgba(47, 107, 255, 0.35);
}

.value-card.is-active .icon-wrap,
.value-card:hover .icon-wrap {
  transform: scale(1.1);
  background: var(--blue);
  color: #fff;
}

.value-card.is-active .icon-wrap .ic,
.value-card:hover .icon-wrap .ic {
  color: #fff;
}

.value-card-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #5e93ff);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.value-card.is-active .value-card-progress {
  opacity: 1;
}

.value-card h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.values-copy h2 {
  margin: 16px 0;
}

.values-copy p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.trust-checkmarks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.check-item:hover {
  transform: translateX(4px);
}

.check-item svg {
  color: var(--blue);
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* ============ SERVICIOS (CARRUSEL INTERACTIVO) ============ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.carousel-nav {
  display: flex;
  gap: 12px;
}

.nav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  padding: 0;
  outline: none;
}

.nav-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
  color: var(--ink);
  transition: stroke 0.25s ease;
}

.nav-arrow:hover,
.nav-arrow:focus,
.nav-arrow:active,
.nav-arrow:focus-visible {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
  outline: none !important;
}

.nav-arrow:hover {
  transform: scale(1.08);
}

.nav-arrow:active {
  transform: scale(0.96);
  background: var(--blue-2) !important;
  border-color: var(--blue-2) !important;
}

.nav-arrow:hover svg,
.nav-arrow:focus svg,
.nav-arrow:active svg,
.nav-arrow:focus-visible svg {
  stroke: #fff !important;
  color: #fff !important;
}

.nav-arrow:first-child svg {
  transform: rotate(180deg);
}

.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

/* Drag to scroll support */
.drag-scroll {
  cursor: grab;
  user-select: none;
}

.drag-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.svc-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 107, 255, 0.25);
}

.svc-head h3 {
  font-size: 20px;
  margin: 16px 0 8px;
}

.svc-head p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.svc-img-wrap {
  overflow: hidden;
  border-radius: 14px;
  height: 180px;
}

.svc-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover img {
  transform: scale(1.08);
}

/* ============ POR QUÉ ELEGIRNOS (CHOOSE US — ORAVO ACCORDION) ============ */
.choose-us-head {
  max-width: 820px;
  margin: 0 auto;
}

.choose-us-content-wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}

.choose-us-dropdown-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choose-us-dropdown {
  border-radius: 18px;
  background: transparent;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  cursor: pointer;
}

.choose-us-dropdown:hover {
  background: rgba(47, 107, 255, 0.03);
}

.choose-us-dropdown.is-open {
  background: var(--blue-soft);
  border-bottom: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.08);
  padding-bottom: 12px;
}

.choose-us-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  cursor: pointer;
  user-select: none;
}

.choose-us-dropdown.is-open .choose-us-dropdown-toggle {
  padding-bottom: 8px;
}

.dropdown-count {
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.3s ease;
  min-width: 36px;
}

.choose-us-dropdown.is-open .dropdown-count {
  color: var(--blue);
}

.dropdown-questions {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.choose-us-dropdown:hover .dropdown-questions {
  color: var(--blue);
}

.choose-us-dropdown.is-open .dropdown-questions {
  color: var(--navy);
  font-weight: 700;
}

.choose-us-dropdown-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  padding: 0 18px;
}

.choose-us-dropdown.is-open .choose-us-dropdown-content {
  max-height: 250px;
  opacity: 1;
  padding-bottom: 10px;
}

.choose-us-dropdown-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  padding-left: 52px;
}

/* Columna Derecha: Imagen Doctor y Badge Glassmorphism */
.choose-us-image-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 570px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
  background: var(--blue-soft);
}

.choose-us-image-wrap .scale-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.choose-us-image-wrap:hover .scale-image {
  transform: scale(1.03);
}

.choose-us-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 25, 47, 0.68) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  pointer-events: none;
}

.trusted-client-wrap {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.trusted-client-wrap .trusted-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0;
}

.trusted-client-wrap .trusted-num {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 2px 0 6px;
}

.happy-client-image-heading-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clients-image {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.happy-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

/* ============ CIFRAS / STATS (ESTILO EXACTO ORAVO) ============ */
.number-section {
  background: #ffffff;
  padding-top: 80px;
  padding-bottom: 90px;
}

.numbers-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.numbers-heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 680px;
}

.numbers-heading-wrap h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
}

.number-cards-wrap {
  display: flex;
  flex-direction: column;
}

.number-card {
  position: relative;
}

.line-top, .line-bottom {
  background-color: rgba(15, 23, 42, 0.12);
  height: 1px;
  width: 100%;
}

.number-card-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 38px 0;
}

.number-card-heading,
.stat-label {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  max-width: 220px;
}

.counter-wrap,
.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.counter-wrap .counter,
.counter-wrap .stat-suffix,
.stat-num .counter,
.stat-num .stat-suffix {
  font-size: clamp(48px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  line-height: 1;
  margin: 0;
}

.card-description,
.stat-desc {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ============ CASOS DE ÉXITO ============ */
.cases-section {
  position: relative;
  overflow: hidden;
}

.cases-track-outer {
  width: 100%;
  overflow: hidden;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: 24px;
}

.cases-carousel {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  padding: 10px 0 20px;
}

.case-card {
  flex: 0 0 580px;
  width: 580px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.case-top {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 24px;
}

.case-top h3 {
  font-size: 21px;
  margin-bottom: 14px;
}

.case-patient {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}

.case-treatment, .case-timeline {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
}

.case-top .btn {
  margin-top: 16px;
}

.case-img-wrap {
  overflow: hidden;
  border-radius: 16px;
  height: 220px;
}

.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-img-wrap img {
  transform: scale(1.06);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--blue-soft);
}

.case-metrics div {
  padding: 16px 20px;
  border-left: 1px solid var(--line);
}

.case-metrics div:first-child {
  border-left: 0;
}

.case-metrics span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}

.case-metrics strong {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

/* ============ EQUIPO MÉDICO CON SOCIAL ICONS HOVER ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 107, 255, 0.25);
}

.team-img-wrap {
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 16px;
  height: 290px;
}

.team-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover img {
  transform: scale(1.06);
}

.team-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.team-card:hover h3 {
  color: var(--blue);
}

.team-role {
  color: var(--muted);
  font-size: 13px;
}

.doctor-socials {
  display: flex;
  gap: 6px;
}

.doctor-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.doctor-socials a svg {
  width: 13px;
  height: 13px;
}

.doctor-socials a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.team-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--pale-grey);
}

.btn-view-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--light-blue);
  border: 1px solid rgba(0, 102, 255, 0.12);
  transition: all 0.25s ease;
}

.btn-view-profile svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.btn-view-profile:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateX(2px);
}

.btn-view-profile:hover svg {
  transform: translateX(3px);
}

/* ============ TESTIMONIOS ============ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.testi-stars {
  color: #ffbe0b;
  font-size: 16px;
  letter-spacing: 2px;
}

.testi-quote {
  font-size: 54px;
  line-height: 0.5;
  color: var(--blue);
  font-weight: 800;
  opacity: 0.35;
}

.testi-card p {
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  color: var(--ink);
}

.testi-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.testi-card footer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
}

.patient-tag {
  font-size: 12px;
  color: var(--muted);
}

/* ============ BLOG ============ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-img-wrap {
  overflow: hidden;
  height: 280px;
}

.blog-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover img {
  transform: scale(1.06);
}

.blog-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.blog-cat {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
}

.blog-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.blog-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
  flex: 1;
}

/* ============ PRICING STICKY LAYOUT ORAVO ============ */
.pricing-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.pricing-sticky {
  position: sticky;
  top: 120px;
}

.pricing-copy p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

.pricing-feature-box {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.pricing-feature-box:hover {
  transform: translateY(-3px);
}

.pricing-feature-box h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.pricing-feature-box p {
  font-size: 13px;
  margin: 0;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card.popular {
  border: 2px solid var(--blue);
  box-shadow: 0 16px 48px rgba(47, 107, 255, 0.16);
}

.popular-tag {
  position: absolute;
  top: -12px;
  right: 28px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4);
}

.price-main h3 {
  font-size: 22px;
  margin: 14px 0 6px;
}

.price-main > p {
  color: var(--muted);
  font-size: 14px;
  min-height: 44px;
}

.price {
  margin: 16px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price strong {
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
}

.price span {
  color: var(--muted);
  font-size: 14px;
}

.price-inc {
  background: var(--blue-soft);
  border-radius: 16px;
  padding: 24px;
}

.price-inc h4 {
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--navy);
  font-weight: 700;
}

.price-inc li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--ink);
}

.price-inc li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ============ FAQ ACCORDION ============ */
.faq-wrap {
  max-width: 860px;
}

.faq {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  padding: 0 24px;
}

.faq-item:hover {
  border-color: rgba(47, 107, 255, 0.3);
}

.faq-q,
button.faq-q,
.faq-btn,
button.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0;
  padding: 22px 0 !important;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--ink) !important;
  box-shadow: none !important;
  transition: color 0.2s ease;
  white-space: normal !important;
}

.faq-q > span,
button.faq-q > span,
.faq-btn > span,
button.faq-btn > span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  line-height: 1.45;
}

.faq-q:hover,
.faq-q:focus,
button.faq-q:hover,
button.faq-q:focus,
.faq-btn:hover,
.faq-btn:focus,
button.faq-btn:hover,
button.faq-btn:focus {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--blue) !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.plus-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}

.faq-item.open .plus-icon-wrap {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-a p {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ EXPERT SECTION (ORAVO STYLE) ============ */
.expert-section {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 20px;
}

.expert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.expert-card {
  position: relative;
  height: 270px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.expert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.expert-card:hover img {
  transform: scale(1.08);
}

.expert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 61, 0.1) 0%, rgba(7, 29, 61, 0.85) 100%);
  pointer-events: none;
}

.expert-badge-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.expert-tick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.expert-tick svg {
  width: 14px;
  height: 14px;
}

.expert-badge-text p {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.expert-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  margin-bottom: 36px;
  font-size: clamp(28px, 3.2vw, 40px);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 90px 0 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 60px;
}

.footer-top h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0;
  max-width: 380px;
}

.news-form {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px;
  width: min(480px, 100%);
  transition: border-color 0.2s ease;
}

.news-form:focus-within {
  border-color: var(--blue);
}

.news-form input {
  flex: 1;
  background: none;
  border: 0;
  outline: 0;
  color: #fff;
  padding: 10px 20px;
  font: inherit;
  font-size: 14px;
}

.news-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-mid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.logo-light {
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-top: 16px;
  max-width: 380px;
  line-height: 1.6;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

.footer-contact-info {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 400px;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-bottom: 12px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-disclaimer {
  font-style: italic;
  max-width: 500px;
  text-align: center;
}



/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .about-img {
    display: none;
  }
}

@media (max-width: 992px) {
  .header {
    padding: 14px 0;
  }

  .header.scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(7, 29, 61, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 10px 0;
  }

  .header-in {
    gap: 12px;
  }

  .logo {
    white-space: nowrap;
    font-size: 17px;
    gap: 8px;
    flex-shrink: 0;
  }

  .logo-badge {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(7, 29, 61, 0.18);
    display: none;
    border: 1px solid var(--line);
    z-index: 1000;
  }

  .nav-link {
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 6px 0;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--blue);
  }

  body.nav-open .nav {
    display: flex;
  }

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
    transition: all 0.25s ease;
    padding: 10px;
  }

  .burger:hover,
  .burger:active {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
  }

  .header.scrolled .burger {
    border: 1px solid var(--line);
    background: var(--blue-soft);
    color: var(--ink);
  }

  .header.scrolled .burger:hover,
  .header.scrolled .burger:active {
    background: rgba(47, 107, 255, 0.15);
    color: var(--blue);
  }

  body.nav-open .burger {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35);
  }

  .burger svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    stroke-width: 2.5;
    fill: none;
    display: block;
    flex-shrink: 0;
    overflow: visible;
  }

  .burger svg line,
  .burger svg path {
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
  }


  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }

  .section-head .btn {
    align-self: flex-start;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .values-grid, .why-grid, .choose-us-content-wrap, .pricing-layout, .blog-grid, .expert-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .choose-us-image-wrap {
    height: 420px;
  }

  .team-grid, .testi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-img {
    display: none;
  }

  .footer-mid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-in {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .hero-rating {
    margin-top: 10px;
    width: auto;
  }

  .cases-track-outer {
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cases-track-outer::-webkit-scrollbar {
    display: none;
  }

  .cases-carousel {
    width: auto;
    gap: 16px;
  }

  .case-card {
    flex: 0 0 85vw;
    width: auto;
    max-width: 520px;
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .hero-rating {
    width: 100%;
    margin-top: 20px;
  }

  .team-grid, .testi-grid, .price-card, .stat-row, .values-cards, .expert-cards, .number-card-content-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-num, .counter-wrap {
    justify-content: flex-start;
    text-align: left;
  }

  .number-card-heading {
    max-width: none;
  }

  .footer-mid {
    grid-template-columns: 1fr;
  }

  .case-top {
    grid-template-columns: 1fr;
  }

  .header-actions .btn {
    padding: 7px 12px;
    font-size: 12px;
    gap: 6px;
  }

  .header-actions .btn .btn-ic {
    width: 18px;
    height: 18px;
  }

  .news-form {
    width: 100%;
    padding: 5px;
    gap: 6px;
  }

  .news-form input {
    min-width: 0;
    padding: 10px 14px;
    font-size: 13px;
  }

  .news-form input::placeholder {
    font-size: 13px;
  }

  .news-form .btn {
    padding: 10px 18px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Accordions Mobile Adaptation */
  .faq-item {
    padding: 0 16px;
    border-radius: 14px;
  }

  .faq-q,
  button.faq-q,
  .faq-btn,
  button.faq-btn {
    padding: 18px 0 !important;
    font-size: 16px;
    gap: 12px;
  }

  .plus-icon-wrap {
    width: 30px;
    height: 30px;
  }

  .plus-icon-wrap svg {
    width: 14px;
    height: 14px;
  }

  .faq-a p {
    padding: 0 0 18px;
    font-size: 14px;
  }

  .choose-us-dropdown-toggle {
    padding: 16px 14px;
    gap: 12px;
  }

  .dropdown-count {
    font-size: 16px;
    min-width: 28px;
  }

  .dropdown-questions {
    font-size: 17px;
  }

  .choose-us-dropdown-content {
    padding: 0 14px;
  }

  .choose-us-dropdown-content p {
    padding-left: 0;
    font-size: 14px;
  }

  .purpose-acc-header,
  button.purpose-acc-header {
    font-size: 16px;
    padding: 10px 0;
  }

  .purpose-acc-icon {
    width: 28px;
    height: 28px;
  }

  .purpose-acc-body p {
    font-size: 14px;
  }
}

@media (max-width: 440px) {
  .logo span {
    font-size: 15px;
  }

  .header-actions .btn span:not(.btn-ic) {
    display: none;
  }

  .header-actions .btn {
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .header-actions .btn .btn-ic {
    margin: 0;
  }

  .news-form {
    flex-direction: column;
    border-radius: 20px;
    padding: 8px;
    gap: 10px;
  }

  .news-form input {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
  }

  .news-form .btn {
    width: 100%;
    padding: 12px 20px;
  }
}

/* ============================================================
   PÁGINA NOSOTROS / ABOUT — OralCare Center
   · Fiel a Oravo About Page y Video de Referencia
   ============================================================ */

/* --- 1. Hero Banner Nosotros --- */
.about-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background-color: var(--navy);
  color: var(--white);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 29, 61, 0.88) 0%, rgba(7, 29, 61, 0.65) 50%, rgba(47, 107, 255, 0.4) 100%);
}

.about-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  gap: 48px;
  width: 100%;
}

.about-hero-content {
  max-width: 680px;
}

.about-hero-content .pill {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

.about-hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.about-hero-desc {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
}

.about-hero-card {
  justify-self: end;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 16px;
  max-width: 300px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.about-hero-card:hover {
  transform: translateY(-4px);
}

.about-hero-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 12px;
}

.about-hero-card p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

/* --- 2. Statement & Counters Section --- */
.about-statement-section {
  padding: 100px 0 80px;
  background: var(--white);
}

.about-statement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.about-statement-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about-statement-text {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.35;
  font-weight: 600;
  color: #c0cad9;
  letter-spacing: -0.02em;
  max-width: 1080px;
}

.about-statement-text .reveal-word {
  display: inline-block;
  color: inherit;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.about-counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-counter-card {
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-counter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.about-counter-number-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
}

.about-counter-num {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.about-counter-symbol {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--blue);
  margin-left: 2px;
}

.about-counter-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.about-counter-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* --- 3. Our Mission Section --- */
.about-mission-section {
  padding: 90px 0;
  background: var(--blue-bg);
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-mission-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-mission-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-mission-media:hover img {
  transform: scale(1.03);
}

.about-mission-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-mission-content h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin: 0;
}

.about-mission-content .lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

.about-mission-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0 16px;
}

.about-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-checklist-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-checklist-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  stroke-width: 2.5;
}

.about-checklist-item span {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

/* --- 4. Choose Us (Dark Section) - Exacto Oravo --- */
.about-choose-section {
  position: relative;
  padding: 120px 0 130px;
  background-color: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.about-choose-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.about-choose-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.about-choose-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(7, 29, 61, 0.72) 0%, rgba(7, 29, 61, 0.94) 80%);
}

.about-choose-in {
  position: relative;
  z-index: 2;
}

.about-choose-header.center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.about-choose-header .pill-white {
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  margin: 0 auto 20px;
  display: inline-flex;
}

.about-choose-header h2 {
  color: var(--white);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.2;
  margin-bottom: 18px;
  text-align: center;
}

.about-choose-header p.lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}

.about-choose-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.about-choose-card {
  background: #ffffff !important;
  color: var(--ink) !important;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1;
}

.about-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.3);
}

.choose-us-card-heading {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f2;
}

.choose-us-card-heading h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink) !important;
  line-height: 1.3;
  margin: 0;
}

.about-choose-card p {
  color: var(--muted) !important;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* --- 5. Core Values Section --- */
.about-core-section {
  padding: 100px 0;
  background: var(--white);
}

.about-core-header {
  margin-bottom: 56px;
}

.about-core-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px;
}

.about-core-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 480px;
}

.about-core-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-core-media:hover img {
  transform: scale(1.03);
}

.about-core-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-core-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.about-core-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.about-core-card-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-core-card-ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
}

.about-core-card h3 {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.3;
}

.about-core-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* --- 6. Purpose Section (Accordion + Image) --- */
.about-purpose-section {
  padding: 100px 0;
  background: var(--blue-bg);
}

.about-purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 40px;
}

.about-purpose-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.about-purpose-header {
  margin-bottom: 32px;
}

.about-purpose-header h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  margin-top: 12px;
}

.about-purpose-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.purpose-acc-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.purpose-acc-header,
button.purpose-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 8px 0;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
  white-space: normal !important;
}

.purpose-acc-header > span:first-child,
button.purpose-acc-header > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  line-height: 1.4;
}

.purpose-acc-header:hover,
.purpose-acc-header:focus,
.purpose-acc-header:active,
button.purpose-acc-header:hover,
button.purpose-acc-header:focus,
button.purpose-acc-header:active {
  background: transparent !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--blue) !important;
}

.purpose-acc-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.purpose-acc-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.purpose-acc-item.is-open .purpose-acc-icon {
  background: var(--blue);
  color: var(--white);
}

.purpose-acc-item.is-open .purpose-acc-icon svg {
  transform: rotate(180deg);
  stroke: var(--white);
}

.purpose-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.purpose-acc-item.is-open .purpose-acc-body {
  padding-top: 8px;
}

.purpose-acc-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.about-purpose-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-purpose-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-purpose-media:hover img {
  transform: scale(1.03);
}

/* --- 7. Video Section --- */
.about-video-section {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.about-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.about-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 61, 0.4) 0%, rgba(7, 29, 61, 0.7) 100%);
}

.about-video-play-btn {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
}

.about-video-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  stroke: var(--blue);
  fill: var(--blue);
}

.about-video-play-btn:hover {
  transform: scale(1.1);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 20px 50px rgba(47, 107, 255, 0.5);
}

.about-video-play-btn:hover svg {
  stroke: var(--white);
  fill: var(--white);
}

/* Modal de Video */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 29, 61, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-active {
  display: flex;
}

.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-modal-inner iframe,
.video-modal-inner video {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Responsive Nosotros */
@media (max-width: 992px) {
  .about-hero-in {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero-card {
    justify-self: start;
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .about-hero-card img {
    width: 100px;
    height: 80px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .about-counters-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-choose-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-core-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-core-cards {
    grid-template-columns: 1fr;
  }

  .about-purpose-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-purpose-card {
    padding: 32px 24px;
  }

  .about-video-section {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: 120px 0 60px;
  }

  .about-counter-card {
    padding: 28px 20px;
  }

  .about-choose-card {
    padding: 28px 20px;
  }

  .about-purpose-card {
    padding: 24px 18px;
  }

  .about-video-play-btn {
    width: 68px;
    height: 68px;
  }

  .about-video-play-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* ============================================================
   PÁGINA SERVICIOS / SERVICES — OralCare Center
   · Fiel a Oravo Services Page y Video de Referencia
   ============================================================ */

/* --- 1. Hero Banner Servicios --- */
.services-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background-color: var(--navy);
  color: var(--white);
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.services-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 29, 61, 0.88) 0%, rgba(7, 29, 61, 0.65) 50%, rgba(47, 107, 255, 0.35) 100%);
}

.services-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: flex-end;
  gap: 48px;
  width: 100%;
}

.services-hero-content {
  max-width: 680px;
}

.services-hero-content .pill {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

.services-hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.services-hero-desc {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
}

.services-hero-card {
  justify-self: end;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 16px 20px;
  max-width: 320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}

.services-hero-card:hover {
  transform: translateY(-4px);
}

.services-hero-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  flex-shrink: 0;
}

.services-hero-card-text p.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.services-hero-card-text p.card-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* --- 2. Grid de 6 Servicios Principales --- */
.services-catalog-section {
  padding: 100px 0;
  background-color: var(--blue-bg);
}

.services-catalog-header {
  margin-bottom: 56px;
}

.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-catalog-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 24px;
  align-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}

.service-catalog-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-catalog-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-catalog-badge-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-catalog-badge-ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
}

.service-catalog-info h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.service-catalog-info p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.service-catalog-media {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.service-catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-catalog-card:hover .service-catalog-media img {
  transform: scale(1.06);
}

/* --- 3. Appointment CTA Banner --- */
.service-appointment-section {
  padding: 100px 0;
  background: #ffffff;
}

.service-appointment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.service-appointment-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  max-height: 460px;
}

.service-appointment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-appointment-media:hover img {
  transform: scale(1.03);
}

.service-appointment-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.service-appointment-statement {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Responsive Servicios */
@media (max-width: 992px) {
  .services-hero-in {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-hero-card {
    justify-self: start;
    width: 100%;
    max-width: 100%;
  }

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

  .service-appointment-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .services-hero {
    padding: 120px 0 60px;
  }

  .service-catalog-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .service-catalog-media {
    width: 100%;
    height: 220px;
  }
}

/* ============================================================
   DETALLE DE SERVICIO — CMS SERVICE DETAIL STYLES (ORAVO)
   ============================================================ */
.cms-banner-section {
  position: relative;
  padding: 130px 0 40px;
  background-color: var(--navy);
  overflow: hidden;
}

.cms-banner-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doctors-icon-link-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  width: fit-content;
  transition: transform 0.25s ease, color 0.25s ease;
}

.doctors-icon-link-wrap:hover {
  transform: translateX(-4px);
  color: #fff;
}

.doctors-arrow-left-ic {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: all 0.3s ease;
}

.doctors-icon-link-wrap:hover .doctors-arrow-left-ic {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.05);
}

.doctors-arrow-left-ic svg {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.cms-banner-image-text {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.cms-bg-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.banner-image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(85%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cms-banner-image-text:hover .banner-image {
  transform: scale(1.03);
}

.banner-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 61, 0.2) 0%, rgba(7, 29, 61, 0.75) 60%, rgba(7, 29, 61, 0.95) 100%),
              linear-gradient(90deg, rgba(7, 29, 61, 0.85) 0%, rgba(7, 29, 61, 0.4) 60%, transparent 100%);
}

.cms-banner-text-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 820px;
}

.created-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cms-tag {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  width: fit-content;
}

.cms-details-heading {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.15;
  font-weight: 700;
}

.cms-details-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
  margin-top: 8px;
}

.service-doctor-name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-doctor-name::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
}

/* --- Service Content Layout --- */
.service-text-section {
  padding: 80px 0;
  background-color: #fff;
}

.service-text-layout {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-cms-description {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  border-left: 3px solid var(--blue);
  padding-left: 24px;
}

.service-rich-text h6 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 12px;
}

.service-rich-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 18px;
}

.service-rich-text ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-rich-text li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
}

.service-rich-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066FF"><path d="M5 12h14M12 5l7 7-7 7"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.service-inline-figure {
  margin: 24px 0 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-inline-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Testimonial Quote in Service Detail */
.testimonial-content-wrap {
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  background: var(--light-blue);
  border: 1px solid var(--pale-grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.05);
}

.testimonial-comma {
  width: 60px;
  height: auto;
  opacity: 0.85;
}

.testimonial-text {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  max-width: 680px;
}

.service-client-image-name-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-client-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}

.service-client-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

/* Service Image Grid */
.service-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 16px 0;
}

.service-grid-image-one {
  grid-column: 1 / 3;
}

.scale-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
}

.service-grid-image-one .scale-image-wrap {
  height: 380px;
}

.scale-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-image-wrap:hover .scale-image {
  transform: scale(1.05);
}

/* More Services Slider / Section */
.more-services-section {
  padding: 80px 0 100px;
  background-color: var(--bg-soft);
  position: relative;
}

.more-services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.more-services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.more-service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--pale-grey);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.more-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.more-service-card-media {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.more-service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.more-service-card:hover .more-service-card-media img {
  transform: scale(1.06);
}

.more-service-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.more-service-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.more-service-card-top .badge-ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-service-card-top .badge-ic svg {
  width: 20px;
  height: 20px;
}

.more-service-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.more-service-card-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  flex-grow: 1;
}

@media (max-width: 991px) {
  .more-services-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cms-banner-text-content {
    padding: 36px 24px;
  }
}

@media (max-width: 640px) {
  .cms-banner-section {
    padding: 110px 0 30px;
  }
  .cms-banner-image-text {
    min-height: 420px;
  }
  .service-image-grid {
    grid-template-columns: 1fr;
  }
  .service-grid-image-one {
    grid-column: 1;
  }
  .scale-image-wrap,
  .service-grid-image-one .scale-image-wrap {
    height: 240px;
  }
  .more-services-cards {
    grid-template-columns: 1fr;
  }
  .testimonial-content-wrap {
    padding: 32px 20px;
  }
  .testimonial-text {
    font-size: 17px;
  }
  .blog-cms-description {
    font-size: 18px;
    padding-left: 16px;
  }
}

/* ============================================================
   PÁGINA DOCTORES — DOCTORS PAGE STYLES (ORAVO)
   ============================================================ */
.doctors-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background-color: var(--navy);
  overflow: hidden;
}

.doctors-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.doctors-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(85%);
}

.doctors-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 61, 0.4) 0%, rgba(7, 29, 61, 0.75) 60%, rgba(7, 29, 61, 0.95) 100%),
              linear-gradient(90deg, rgba(7, 29, 61, 0.85) 0%, rgba(7, 29, 61, 0.5) 60%, transparent 100%);
}

.doctors-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
}

.doctors-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
}

.doctors-hero-content .h1 {
  color: #fff;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.doctors-hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.6;
}

.doctors-hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  justify-self: end;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.doctors-hero-card:hover {
  transform: translateY(-5px);
}

.doctors-hero-card-img {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.doctors-hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctors-hero-card-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.doctors-hero-card-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

/* Doctors Catalog 4 Cards Grid */
.doctors-catalog-section {
  padding: 100px 0;
  background-color: #fff;
}

.doctors-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.doctor-oravo-card {
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--pale-grey);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.doctor-oravo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.doctor-oravo-media {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: var(--light-blue);
}

.doctor-oravo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-oravo-card:hover .doctor-oravo-media img {
  transform: scale(1.06);
}

.doctor-oravo-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  flex-grow: 1;
}

.doctor-oravo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doctor-oravo-top h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.doctor-oravo-socials {
  display: flex;
  gap: 8px;
}

.doctor-oravo-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.doctor-oravo-socials a:hover {
  background: var(--blue);
  color: #fff;
  transform: scale(1.1);
}

.doctor-oravo-socials svg {
  width: 14px;
  height: 14px;
}

.doctor-oravo-role {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.doctor-oravo-bio {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Doctor Expert Section (Why Choose Our Doctors) */
.doctor-expert-section {
  padding: 100px 0;
  background-color: var(--bg-soft);
}

.doctor-expert-layout {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.doctor-expert-heading-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.doctor-expert-heading-content-wrap .doctor-title-heading-wrap {
  max-width: 580px;
}

.doctor-expert-description-wrap {
  max-width: 480px;
}

.doctor-expert-description-wrap p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.doctor-expert-image-text-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.expert-doctor-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow);
}

.expert-doctor-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.expert-doctor-image-wrap:hover img {
  transform: scale(1.04);
}

.expert-doctor-text-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.expert-heading-description-wrap h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
}

.expert-heading-description-wrap p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.expert-doctor-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expert-doctor-list {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--pale-grey);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.expert-doctor-list:hover {
  transform: translateX(6px);
}

.expert-item-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expert-item-icon-badge svg {
  width: 18px;
  height: 18px;
}

.doctor-expert-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

/* Expert Cards Grid (3 cards from Oravo) */
.expert-section {
  padding: 80px 0 100px;
  background-color: #fff;
}

.expert-image-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.expert-image-card {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.expert-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.expert-image-card:hover img {
  transform: scale(1.06);
}

.expert-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 29, 61, 0.88) 100%);
}

.overlay-heading-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.expert-tick-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.expert-tick-badge svg {
  width: 20px;
  height: 20px;
}

.expert-text {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .doctors-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .doctor-expert-image-text-wrap {
    grid-template-columns: 1fr;
  }
  .expert-image-cards {
    grid-template-columns: 1fr;
  }
  .expert-image-card {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .doctors-hero-in {
    grid-template-columns: 1fr;
  }
  .doctors-hero-card {
    display: none;
  }
  .doctor-expert-heading-content-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .doctors-grid-4 {
    grid-template-columns: 1fr;
  }
  .doctor-oravo-media {
    height: 280px;
  }
}

/* ============================================================
   DETALLE DE DOCTOR — DOCTOR PROFILE DETAIL STYLES (ORAVO)
   ============================================================ */
/* Doctor single page header styling (dark text on white/translucent background) */
body[class*="page-template-page-doctor"] .header:not(.scrolled) {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(7, 29, 61, 0.05);
  border-bottom: 1px solid var(--pale-grey);
  padding: 14px 0;
}

body[class*="page-template-page-doctor"] .header:not(.scrolled) .logo {
  color: var(--ink);
}

body[class*="page-template-page-doctor"] .header:not(.scrolled) .nav-link {
  color: var(--ink);
}

body[class*="page-template-page-doctor"] .header:not(.scrolled) .nav-link:hover {
  color: var(--blue);
}

body[class*="page-template-page-doctor"] .header:not(.scrolled) .lang-switch {
  background: var(--blue-soft);
  border-color: var(--line);
}

body[class*="page-template-page-doctor"] .header:not(.scrolled) .lang-btn {
  color: var(--muted);
}

body[class*="page-template-page-doctor"] .header:not(.scrolled) .lang-btn.active {
  color: #fff !important;
}

body[class*="page-template-page-doctor"] .header:not(.scrolled) .burger {
  border: 1px solid var(--line);
  background: var(--blue-soft);
  color: var(--ink) !important;
}

/* Breadcrumb / Top bar for doctor profile */
.doctor-breadcrumb-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--pale-grey);
  padding: 18px 0;
  margin-top: 76px;
}

.doctor-breadcrumb-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.doctor-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.doctor-breadcrumb-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.doctor-breadcrumb-nav a:hover {
  color: var(--blue);
}

.doctor-breadcrumb-sep {
  color: var(--line-dark);
  font-size: 13px;
}

.doctor-breadcrumb-current {
  color: var(--blue);
  font-weight: 600;
}

.doctor-info-section {
  padding: 120px 0 80px;
  background-color: #fff;
}

.doctor-info-section .doctors-icon-link-wrap {
  color: var(--muted);
}

.doctor-info-section .doctors-icon-link-wrap:hover {
  color: var(--blue);
}

.doctor-info-section .doctors-arrow-left-ic {
  background: var(--blue-soft);
  border: 1px solid var(--line);
  color: var(--blue);
}

.doctor-info-section .doctors-icon-link-wrap:hover .doctors-arrow-left-ic {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.doctor-info-layout {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.doctor-link-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.doctor-image-info-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.doctor-large-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
  background: var(--light-blue);
  box-shadow: var(--shadow);
}

.doctor-large-image-wrap .scale-image-wrap {
  width: 100%;
  height: 100%;
}

.doctor-large-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-large-image-wrap:hover img {
  transform: scale(1.04);
}

.doctor-text-education-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.doctor-name-designation-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doctor-name-designation-wrap .h1 {
  font-size: clamp(32px, 3.5vw, 46px);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
}

.doctor-degree-designation {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
}

.doctor-bio-paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* Education box */
.education-info-wrap {
  padding: 28px 0;
  border-top: 1px solid var(--pale-grey);
  border-bottom: 1px solid var(--pale-grey);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-icon-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.heading-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-blue);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.info-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.education-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.education-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: baseline;
}

.education-date-wrap p {
  font-weight: 600;
  color: var(--blue);
  font-size: 14px;
}

.education-content-wrap h3,
.education-content-wrap h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.education-content-wrap p {
  font-size: 14px;
  color: var(--muted);
}

/* Lower section: Expertise & Experience */
.expertise-experience-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  padding-top: 20px;
}

.expertise-contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.expertise-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expertise-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.expertise-items-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expertise-item {
  padding: 8px 18px;
  border-radius: 999px;
  background-color: var(--light-blue);
  border: 1px solid rgba(0, 102, 255, 0.12);
  transition: all 0.25s ease;
}

.expertise-item:hover {
  background-color: var(--blue);
}

.expertise-item:hover .expertise-text {
  color: #fff;
}

.expertise-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-dark);
}

/* Contact info wrap */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

.contact-info-link {
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-info-link:hover {
  color: var(--blue);
}

/* Experience & Certificates */
.experience-certificate-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.experience-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--pale-grey);
}

.experience-item-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: baseline;
}

.exp-date-location-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-date-location-wrap .exp-date {
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
}

.exp-date-location-wrap .exp-place {
  font-size: 13px;
  color: var(--muted);
}

.experience-heading-description-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.experience-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.experience-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Certificates */
.certificate-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.certificate-list-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.certificate-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--pale-grey);
}

.certificate-star-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.certificate-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* Doctor Testimonial Section */
.doctor-testimonial-section {
  padding: 80px 0;
  background-color: var(--light-blue);
}

.doctor-testimonial-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--pale-grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.doctor-testimonial-layout .testimonial-comma-icon {
  width: 56px;
  height: auto;
}

.client-review {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
}

.reivew-image-text-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}

.client-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 991px) {
  .doctor-image-info-wrap,
  .expertise-experience-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .doctor-large-image-wrap {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .doctor-info-section {
    padding: 100px 0 60px;
  }
  .doctor-large-image-wrap {
    height: 320px;
  }
  .education-item,
  .experience-item-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .client-review {
    font-size: 17px;
  }
  .doctor-testimonial-layout {
    padding: 32px 20px;
  }
}

/* ============================================================
   PÁGINA CONTACTO — CONTACT US PAGE STYLES (ORAVO)
   ============================================================ */
.contact-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background-color: var(--navy);
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(85%);
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 61, 0.4) 0%, rgba(7, 29, 61, 0.75) 60%, rgba(7, 29, 61, 0.95) 100%),
              linear-gradient(90deg, rgba(7, 29, 61, 0.85) 0%, rgba(7, 29, 61, 0.5) 60%, transparent 100%);
}

.contact-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
}

.contact-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
}

.contact-hero-content .h1 {
  color: #fff;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.6;
}

.contact-hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 440px;
  justify-self: end;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-hero-card-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.contact-hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero-card-info h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-hero-card-info p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.4;
}

/* Contact Form Section */
.contact-form-section {
  padding: 100px 0 80px;
  background-color: #fff;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.contact-image-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-text-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-text-title-wrap .h3 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.contact-text-title-wrap p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.contact-form-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow);
}

.contact-form-image .scale-image-wrap {
  width: 100%;
  height: 100%;
}

.contact-form-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form-image:hover img {
  transform: scale(1.04);
}

/* Interactive Form Box */
.contact-form-wrap {
  padding: 48px;
  border-radius: var(--radius-lg);
  background-color: var(--light-blue);
  border: 1px solid var(--pale-grey);
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.contact-form-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-form-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}

.contact-form-text-wrap p {
  font-size: 15px;
  color: var(--muted);
}

.contact-us-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-input-form {
  padding: 14px 4px;
  border: none;
  border-bottom: 1px solid #c9c9d0;
  background-color: transparent;
  color: var(--ink);
  font-size: 16px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.25s ease;
}

.contact-input-form:focus {
  border-bottom-color: var(--blue);
}

.contact-input-form::placeholder {
  color: #8c8e96;
}

.form-message-box {
  height: 110px;
  resize: vertical;
}

.contact-submit-button {
  margin-top: 12px;
  border-radius: 999px;
  background-color: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  padding: 14px 32px;
  width: fit-content;
  transition: all 0.35s ease;
  font-family: inherit;
}

.contact-submit-button:hover {
  background-color: #fff;
  color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
}

/* Need Help Section (3 Cards: Email, Call, Location) */
.need-help-section {
  padding: 80px 0;
  background-color: var(--bg-soft);
}

.need-help-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.need-help-heading-description-wrap {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.need-help-heading-description-wrap .h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--ink);
}

.need-help-heading-description-wrap p {
  font-size: 18px;
  color: var(--muted);
}

.help-cards-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-help-card {
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background-color: #fff;
  border: 1px solid var(--pale-grey);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-help-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.contact-help-icon {
  width: 56px;
  height: 56px;
}

.helping-text-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.helping-text-content-wrap p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.help-mail {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: auto;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  transition: color 0.2s ease;
  line-height: 1.45;
}

.help-mail:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* Map Section with Floating Banner Card */
.contact-map-section {
  padding: 80px 0 100px;
  background-color: #fff;
}

.contact-map-layout {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map {
  width: 100%;
  height: 540px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.image-location-wrap {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: linear-gradient(135deg, var(--blue) 0%, #4e8fff 100%);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 400px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 50, 150, 0.35);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.location-heading {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.location-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.location-link {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease;
}

.location-link:hover {
  transform: translateX(4px);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .help-cards-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .image-location-wrap {
    position: static;
    max-width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .contact-hero-in {
    grid-template-columns: 1fr;
  }
  .contact-hero-card {
    display: none;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 110px 0 60px;
  }
  .help-cards-wrap {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 32px 20px;
  }
  .contact-map {
    height: 380px;
  }
}

/* ============ BOTÓN VOLVER ARRIBA (BACK TO TOP) ============ */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease;
  outline: none;
}

.back-to-top svg {
  display: block;
  transition: transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-hover));
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 32px rgba(47, 107, 255, 0.45);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

.back-to-top:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.4), 0 8px 24px rgba(47, 107, 255, 0.35);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
}

