/* ==========================================================================
   Implants & Smiles — Design System & Custom Stylesheet
   Fuentes: Figtree (headings) + Rubik (body)
   Paleta: #D7D7D9 | #373737 | #C1E6EC | #7BC9DB
   Bootstrap 5 como base
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* ─── Brand Palette ─────────────────────────────────── */
  --color-gray-light:  #D7D7D9;   /* divisores y fondos grises claros */
  --color-dark:        #000000;   /* negro puro para textos e isotipos */
  --color-dark-bg:     #373737;   /* fondo oscuro de casos de éxito */
  --color-cyan-light:  #C1E6EC;   /* fondos de secciones claras */
  --color-cyan:        #7BC9DB;   /* primario: botones, acentos, iconos */

  /* Derivados */
  --color-cyan-dark:   #08A5C8;   /* hover del primario y enlaces */
  --color-cyan-xlight: #EAF7FA;   /* fondos hover muy sutiles */
  --color-white:       #FFFFFF;
  --color-body-bg:     #FFFFFF;
  --color-text-main:   #000000;
  --color-text-muted:  #000000;   /* texto negro con jerarquía por font-weight */
  --color-border:      #D7D7D9;

  /* ─── Typography ────────────────────────────────────── */
  /*
    Playfair → Serif headings (Hero "ILUMINAMOS", Contacto, etc.)
    Figtree  → headings / navbar / labels / CTAs
      300 Light  | 400 Regular | 500 Medium | 600 SemiBold | 700 Bold | 800 ExtraBold
    Rubik    → body text / descriptions / inputs
      300 Light  | 400 Regular | 500 Medium | 700 Bold
  */
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-heading:  'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:     'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Weights — Figtree */
  --fw-light:      300;
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;

  /* ─── Radii (solo donde el diseño lo exige) ─────────── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-pill: 100px;

  /* ─── Shadows ───────────────────────────────────────── */
  --shadow-sm:   0 2px 8px  rgba(55, 55, 55, 0.06);
  --shadow-md:   0 6px 20px rgba(55, 55, 55, 0.10);
  --shadow-lg:   0 12px 32px rgba(55, 55, 55, 0.14);
  --shadow-cyan: 0 6px 18px rgba(123, 201, 219, 0.35);

  /* ─── Transitions ───────────────────────────────────── */
  --t-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Base & Typography
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);   /* Rubik 400 */
  font-size: 1rem;
  color: var(--color-text-main);
  background-color: var(--color-body-bg);
  line-height: 1.65;
  overflow-x: hidden;
  /* Sin padding-top: el hero se extiende detrás del navbar transparente */
}

/* Headings — Figtree */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: 0;
}

/* Utilidad de color */
.text-brand     { color: var(--color-cyan)       !important; }
.text-dark-700  { color: var(--color-dark)       !important; }
.text-muted-is  { color: var(--color-text-muted) !important; }
.bg-cyan-light  { background-color: var(--color-cyan-light) !important; }
.bg-dark-brand  { background-color: var(--color-dark)      !important; }
.border-brand   { border-color: var(--color-border) !important; }

/* --------------------------------------------------------------------------
   3. Navbar
   -------------------------------------------------------------------------- */
/* ── Navbar: sin fondo en top (hero blanco), sólido al hacer scroll ── */
.navbar-custom {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition:
    background-color 300ms ease,
    backdrop-filter 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease,
    padding 200ms ease;
  padding: 14px 0;
}

/* Al hacer scroll: glassmorphism blanco */
.navbar-custom.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(55, 55, 55, 0.07);
  padding: 8px 0;
}

.navbar-brand img {
  height: 46px;
  width: auto;
}

/* Nav links — Figtree SemiBold, uppercase, pequeño */
.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);   /* Figtree 600 */
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dark);
  padding: 8px 14px !important;
  position: relative;
  transition: color var(--t-fast);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--color-cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-cyan-dark);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Botón CTA — Figtree Bold */
.btn-agenda {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);       /* Figtree 700 */
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white) !important;
  background-color: var(--color-cyan);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-cyan);
  transition: background-color var(--t-normal), transform var(--t-fast), box-shadow var(--t-normal);
  text-decoration: none;
}

.btn-agenda:hover {
  background-color: var(--color-cyan-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(123, 201, 219, 0.5);
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 640px;
  height: 85vh;
  max-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 50px;
  background-color: var(--color-white);
  overflow: hidden;
}

/* Contenedor de la imagen de fondo completa que abarca navbar y bordes */
.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
  transform-origin: 75% 35%;
  transform: scale(1);
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* En móviles y tablets se añade un sutil degradado para que el texto sea siempre 100% legible */
@media (max-width: 991.98px) {
  .hero-section {
    height: auto;
    min-height: 520px;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .hero-bg-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.4) 100%);
  }
}

/* H1 — Serif "ILUMINAMOS" (weight 500) + Serif "TU SONRISA" (weight 400 cyan) */
.hero-title {
  margin-bottom: 20px;
  line-height: 1.04;
}

.hero-title-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--color-dark);
  display: block;
  letter-spacing: 0.01em;
}

.hero-title-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: #08A5C8;
  display: block;
  letter-spacing: 0.01em;
}

/* Subtítulo — Rubik Regular 400 */
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);    /* 400 */
  font-size: 0.98rem;
  color: var(--color-dark);
  max-width: 440px;
  line-height: 1.45;
  margin-bottom: 24px;
}

/* Botón VER CASOS REALES — Rectángulo con esquinas redondeadas suaves */
.hero-actions {
  margin-bottom: 24px;
}

.btn-outline-custom {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);     /* 500 */
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: transparent;
  border: 1.5px solid var(--color-dark);
  border-radius: 12px;
  padding: 8px 24px;
  display: inline-block;
  text-decoration: none;
  transition: background-color var(--t-normal), color var(--t-normal), transform var(--t-fast);
}

.btn-outline-custom:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Cita Gandhi — Composición centrada con color verde-azulado/cyan */
.hero-quote-wrapper {
  display: inline-block;
  text-align: center;
  margin-top: 4px;
}

.hero-quote {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-style: normal;
  font-size: 0.95rem;
  color: #08A5C8;
  line-height: 1.35;
  text-align: center;
}

.hero-quote-author {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-style: normal;
  font-size: 0.95rem;
  color: #08A5C8;
  display: block;
  margin-top: 2px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   5. Section Headers (reutilizable)
   -------------------------------------------------------------------------- */
/* Título de sección — Figtree ExtraBold 800, uppercase */
.section-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);   /* 800 */
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  margin-bottom: 12px;
}

/* Título con Serif (Hero, Contacto, etc.) */
.section-title-serif {
  font-family: var(--font-serif) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

/* Subtítulo de sección — Rubik Regular 400 */
.section-subtitle {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);    /* 400 */
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   6. ¿Quiénes Somos?
   -------------------------------------------------------------------------- */
/* Lead — Rubik Medium 500 */
.quienes-lead {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);     /* 500 */
  font-size: 1.1rem;
  color: var(--color-dark);
  line-height: 1.6;
}

/* Cuerpo — Rubik Regular 400 */
.quienes-body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);    /* 400 */
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* CTA frase destacada */
.quienes-cta-text {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);       /* 700 */
  color: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   7. Pilares de Valor (4 columnas)
   -------------------------------------------------------------------------- */
.section-pillars {
  background-color: var(--color-gray-light);
  border-color: #C8CACD !important;
}

.pillar-col {
  border-right: 1px solid rgba(55, 55, 55, 0.15);
}

.pillar-col:last-child {
  border-right: none;
}

@media (max-width: 991.98px) {
  .pillar-col {
    border-right: none;
    border-bottom: 1px solid rgba(55, 55, 55, 0.12);
    padding-bottom: 20px;
  }
  .pillar-col:last-child {
    border-bottom: none;
  }
}

.pillar-card {
  padding: 24px 16px;
  height: 100%;
  transition: transform var(--t-normal);
}

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

/* Ícono circular */
.pillar-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px solid var(--color-cyan);
  background-color: var(--color-cyan-xlight);
  color: var(--color-cyan);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: background-color var(--t-normal), color var(--t-normal), box-shadow var(--t-normal);
}

.pillar-card:hover .pillar-icon {
  background-color: var(--color-cyan);
  color: var(--color-white);
  box-shadow: var(--shadow-cyan);
}

/* Título pilar — Figtree Bold 700, uppercase */
.pillar-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);        /* 700 */
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Descripción pilar — Rubik Regular 400 */
.pillar-desc {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);    /* 400 */
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. Servicios
   -------------------------------------------------------------------------- */
/* Card de servicio — SIN border-radius, SIN borde gris, SIN fondo de caja según diseño */
.service-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  height: 100%;
  transition: transform var(--t-normal);
}

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

/* Imagen — recta, sin border-radius */
.service-img-wrapper {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.04);
}

.service-body {
  padding: 14px 0 0 0;
}

/* Título servicio — Figtree Bold 700 / 800, uppercase, negro puro */
.service-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);   /* 800 */
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #000000;
  margin-bottom: 6px;
}

/* Descripción servicio — Rubik Regular 400, negro puro */
.service-desc {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);    /* 400 */
  font-size: 0.86rem;
  color: #000000;
  line-height: 1.45;
  margin: 0;
}

/* Ver más servicios link — Figtree SemiBold */
.link-ver-mas {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);    /* 600 */
  font-size: 0.95rem;
  color: var(--color-cyan-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast), gap var(--t-fast);
}

.link-ver-mas:hover {
  color: var(--color-cyan);
  gap: 14px;
}

/* CTA 4ta Columna de Servicios & Influencers (según referencia 01-inicio.png) */
.service-cta-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-height: 220px;
  padding: 24px 20px;
  text-decoration: none;
  background: transparent;
  border-radius: var(--radius-md);
  transition: transform var(--t-normal), background-color var(--t-normal);
}

.service-cta-card:hover {
  transform: translateX(6px);
}

.service-cta-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-cta-text {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);     /* 500 */
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  color: var(--color-cyan);
  transition: color var(--t-normal);
}

.service-cta-arrow {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--color-cyan);
  display: inline-flex;
  align-items: center;
  transition: transform var(--t-normal), color var(--t-normal);
}

.service-cta-card:hover .service-cta-arrow {
  transform: translateX(8px);
}

.service-cta-card:hover .service-cta-text {
  color: var(--color-cyan-dark);
}

/* Responsividad Móvil y Tablet para la 4ta Columna */
@media (max-width: 991.98px) {
  .service-cta-card {
    min-height: 140px;
    justify-content: center;
    background: var(--color-cyan-xlight);
    border: 1.5px dashed var(--color-cyan);
    padding: 20px;
  }
  .service-cta-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .service-cta-card {
    min-height: 60px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
  }
  .service-cta-inner {
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   9. Casos de Éxito (fondo oscuro)
   -------------------------------------------------------------------------- */
.section-casos {
  background-color: var(--color-dark-bg);
  padding: 80px 0;
}

/* Título en blanco sobre fondo oscuro */
.section-casos .section-title {
  color: var(--color-white);
}

.section-casos .section-subtitle {
  color: var(--color-gray-light);
}

/* Cards de caso — SIN border-radius (diseño referencia = bordes rectos) */
.caso-card-wrapper {
  overflow: hidden;
  position: relative;
  background-color: #000;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.caso-card-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(123, 201, 219, 0.3) !important;
}

.caso-img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.caso-card-wrapper:hover .caso-img { transform: scale(1.04); }

/* Botón VER MÁS CASOS */
.btn-casos {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);   /* 600 */
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  border: 1.5px solid var(--color-gray-light);
  border-radius: var(--radius-pill);
  background: transparent;
  padding: 12px 36px;
  transition: background-color var(--t-normal), border-color var(--t-normal);
}

.btn-casos:hover {
  background-color: var(--color-cyan);
  border-color: var(--color-cyan);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   10. Proceso Implants & Smiles
   -------------------------------------------------------------------------- */
.proceso-section {
  background-color: var(--color-white);
  padding: 80px 0;
}

/* Card horizontal de proceso: 2 subcolumnas (indicador + texto) */
.process-card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

/* Subcolumna 1: Número + Icono */
.process-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Número grande — Figtree ExtraBold 800 */
.process-number {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);  /* 800 */
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  color: var(--color-cyan-dark);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Ícono vectorial outline limpio (sin caja de fondo) */
.process-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan-dark);
  transition: transform var(--t-normal);
}

.process-svg-icon {
  width: 42px;
  height: 42px;
  stroke: var(--color-cyan-dark);
  stroke-width: 2.2;
}

.process-card-horizontal:hover .process-icon-wrap {
  transform: scale(1.08);
}

/* Subcolumna 2: Título + Descripción */
.process-info {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

/* Título de paso — Figtree ExtraBold 800, uppercase, negro puro */
.process-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);       /* 800 */
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000000;
  margin-bottom: 6px;
  line-height: 1.25;
}

/* Descripción de paso — Rubik Regular 400, negro puro */
.process-desc {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);    /* 400 */
  font-size: 0.85rem;
  color: #000000;
  line-height: 1.45;
  margin: 0;
}

/* Responsividad para móviles y pantallas intermedias */
@media (max-width: 991.98px) {
  .process-card-horizontal {
    max-width: 480px;
    margin-inline: auto;
    gap: 18px;
  }
}

@media (max-width: 575.98px) {
  .process-card-horizontal {
    gap: 14px;
  }
  .process-number {
    font-size: 2.3rem;
  }
  .process-svg-icon {
    width: 36px;
    height: 36px;
  }
  .process-title {
    font-size: 0.9rem;
  }
  .process-desc {
    font-size: 0.82rem;
  }
}

/* --------------------------------------------------------------------------
   11. Banner Dra. Anel Janneth Carpio Morales
   -------------------------------------------------------------------------- */
.banner-doctora-section {
  background-color: var(--color-cyan-light);
  position: relative;
  overflow: visible;     /* Permite que la imagen sobresalga por arriba */
  margin-top: 70px;      /* Espacio para el desfase superior de la imagen */
  padding-top: 36px;
  padding-bottom: 0;     /* Al ras por abajo */
}

.banner-doctora-container {
  position: relative;
  overflow: visible;
}

.banner-doctora-row {
  min-height: 380px;
}

/* Columna Izquierda: Tipografía Serif */
.banner-doctora-left {
  padding-bottom: 36px;
}

.doctora-serif-heading {
  font-family: var(--font-serif);
  color: var(--color-dark);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.doctora-serif-small {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  margin-bottom: 4px;
}

.doctora-serif-main {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  font-weight: 700;
}

/* Columna Central: Imagen con desfase superior y ras inferior */
.banner-doctora-center {
  position: relative;
  align-self: flex-end;
  display: flex;
  justify-content: center;
}

.doctora-img-wrap {
  position: relative;
  margin-top: -85px;     /* Sobresale de la línea de fondo superior */
  margin-bottom: 0;      /* Al ras de la base de la sección */
  line-height: 0;
}

.doctora-img-overflow {
  max-height: 460px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.08));
}

/* Columna Derecha: Título verde/cyan + texto negro + scroll */
.banner-doctora-right {
  padding-bottom: 36px;
}

.doctora-content-box {
  padding-left: 15px;
}

/* Heading de la doctora en color verde/cyan brand */
.doctora-title-green {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);   /* 800 */
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: #08A5C8;                     /* Cyan / Verde brand */
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Subtítulo / Credenciales en negro */
.doctora-credentials {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-size: 0.88rem;
  color: #000000;
  line-height: 1.4;
}

.doctora-credentials p {
  margin-bottom: 2px;
}

/* Contenedor de biografía con scroll interno personalizado */
.doctora-bio-scroll {
  max-height: 105px;
  max-width: 480px;
  overflow-y: auto;
  padding-right: 16px;
  margin-top: 14px;
}

.doctora-bio-text {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-size: 0.86rem;
  color: #000000;
  line-height: 1.55;
  margin: 0;
}

/* Redes Sociales Personales Dra. Anel */
.doctora-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.doctora-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 0.84rem;
  color: #000000;
  text-decoration: none;
  transition: color var(--t-fast), transform var(--t-fast);
}

.doctora-social-link i {
  color: #08A5C8;
  font-size: 1.05rem;
  transition: transform var(--t-fast);
}

.doctora-social-link:hover {
  color: #08A5C8;
  transform: translateY(-1px);
}

.doctora-social-link:hover i {
  transform: scale(1.15);
}


/* Scrollbar estilizada en cyan/verde */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #08A5C8 rgba(8, 165, 200, 0.15);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(8, 165, 200, 0.15);
  border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #08A5C8;
  border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan-dark);
}

/* Responsividad para Móvil y Tablet */
@media (max-width: 991.98px) {
  .banner-doctora-section {
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 20px;
  }
  .banner-doctora-left {
    text-align: center;
    padding-bottom: 20px;
  }
  .doctora-img-wrap {
    margin-top: -30px;
    margin-bottom: 20px;
  }
  .doctora-img-overflow {
    max-height: 340px;
    margin: 0 auto;
  }
  .banner-doctora-right {
    padding-bottom: 20px;
  }
  .doctora-content-box {
    padding-left: 0;
    text-align: center;
  }
  .doctora-bio-scroll {
    max-height: 180px;
    text-align: left;
    padding-right: 12px;
  }
}

/* --------------------------------------------------------------------------
   12. Somos la Clínica de Confianza (Influencers)
   -------------------------------------------------------------------------- */
/* Cards influencer — Mismo estilo que servicios: sin borde gris, sin border-radius, fondo limpio */
.influencer-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-normal);
}

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

.influencer-img-wrapper {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

.influencer-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 0;
  filter: none;
  transition: transform 0.4s ease;
}

.influencer-card:hover .influencer-img {
  transform: scale(1.04);
}

.influencer-body {
  padding: 8px 0 0 0;
}

/* Nombre influencer — Figtree ExtraBold 800, uppercase, negro puro */
.influencer-name {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);   /* 800 */
  font-size: 0.95rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #000000;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* --------------------------------------------------------------------------
   13. Misión, Visión y Valores (Container Fluid con alto contraste)
   -------------------------------------------------------------------------- */
.section-mvv {
  background-color: var(--color-gray-light); /* #D7D7D9 */
  padding: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Card MVV — Con esquinas redondeadas pronunciadas (border-radius: 24px) */
.mvv-card {
  background-color: var(--color-white);
  border-radius: 24px;
  border: none;
  padding: 34px 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

/* Fila de cabecera (Título Serif + Icono) */
.mvv-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Título MVV — Playfair Display Serif 700, uppercase, color cyan brand */
.mvv-title-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-cyan);
  margin: 0;
}

.mvv-header-icon {
  flex-shrink: 0;
}

/* Descripción MVV — Rubik Regular 400, negro puro */
.mvv-desc {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-size: 0.92rem;
  color: #000000;
  line-height: 1.55;
  margin: 0;
}

/* Layout de Valores (2 filas de items alineados) */
.valores-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.valores-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Item de valor individual */
.valor-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-size: 0.88rem;
  color: #000000;
  white-space: nowrap;
}

.valor-icon {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. Contacto & Footer (Estructura Unificada)
   -------------------------------------------------------------------------- */
.contact-footer-section {
  background-color: var(--color-white);
  padding: 60px 0 40px;
}

/* Imagen WTC — Esquinas sutilmente redondeadas */
.contact-img-wrapper {
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Título Contacto — Playfair Display Serif 700, mayúsculas */
.contact-title-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 2.5vw, 2.4rem);
  letter-spacing: 0.04em;
  color: #373737;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Inputs de Formulario Planos y Limpios */
.custom-form-input {
  border: 1px solid #D2D4D7;
  border-radius: 4px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-size: 0.85rem;
  color: #000000;
  background-color: var(--color-white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.custom-form-input::placeholder {
  color: #7A7C80;
  font-size: 0.8rem;
  font-weight: var(--fw-regular);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.custom-form-input:focus {
  border-color: var(--color-cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 165, 200, 0.15);
}

.custom-form-input.is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff8f8;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}


/* Botón ENVIAR — Figtree Bold 700, cyan brand */
.btn-submit-cyan {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);        /* 700 */
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-cyan);
  border: none;
  border-radius: 4px;
  padding: 10px 32px;
  width: 100%;
  transition: background-color var(--t-normal), box-shadow var(--t-normal);
}

.btn-submit-cyan:hover {
  background-color: var(--color-cyan-dark);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(8, 165, 200, 0.35);
}

/* Línea divisoria horizontal entre formulario e info */
.contact-footer-divider {
  border: none;
  border-top: 1px solid #D2D4D7;
  opacity: 1;
  margin: 40px 0;
}

/* --------------------------------------------------------------------------
   15. Columnas de Información Footer
   -------------------------------------------------------------------------- */
.footer-col-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);   /* 800 */
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000000;
  margin-bottom: 16px;
}

/* Divisores verticales entre columnas en pantallas grandes */
@media (min-width: 992px) {
  .footer-col-divider {
    border-right: 1px solid #D2D4D7;
    padding-right: 24px;
  }
}

/* Lista de contacto y horarios */
.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-size: 0.85rem;
  color: #000000;
  line-height: 1.45;
}

.footer-info-list i {
  font-size: 1rem;
  color: var(--color-cyan);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-info-link,
.footer-info-link:link,
.footer-info-link:visited,
.footer-info-list a,
.footer-info-list a:link,
.footer-info-list a:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000000 !important;
  text-decoration: none !important;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: 0.85rem;
  line-height: 1.45;
  transition: color var(--t-fast), transform var(--t-fast);
}

.footer-info-link span,
.footer-info-list a span {
  color: inherit;
  text-decoration: none !important;
}

.footer-info-link:hover,
.footer-info-link:focus,
.footer-info-link:active,
.footer-info-list a:hover,
.footer-info-list a:focus,
.footer-info-list a:active {
  color: var(--color-cyan) !important;
  transform: translateX(4px);
  text-decoration: none !important;
}

.footer-info-link:hover span,
.footer-info-link:focus span,
.footer-info-link:active span,
.footer-info-list a:hover span,
.footer-info-list a:focus span {
  color: var(--color-cyan) !important;
  text-decoration: none !important;
}

/* Redes Sociales en Vertical */
.social-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-vertical-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);     /* 400 */
  font-size: 0.88rem;
  color: #000000;
  transition: color var(--t-fast), transform var(--t-fast);
}

.social-vertical-link i {
  font-size: 1.05rem;
  color: var(--color-cyan);
  width: 18px;
  text-align: center;
}

.social-vertical-link:hover,
.social-vertical-link:focus {
  color: var(--color-cyan);
  transform: translateX(4px);
  text-decoration: none !important;
}

/* Mapa de Ubicación */
.footer-map-wrapper {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #D2D4D7;
}

/* Footer Bottom Bar — Figtree Regular 400 */
.footer-bottom {
  background-color: var(--color-cyan);
  color: var(--color-white);
  padding: 12px 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);    /* 400 */
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-bottom a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   16. Botón Flotante WhatsApp
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.whatsapp-float:hover {
  color: var(--color-white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --------------------------------------------------------------------------
   17. Modales (Bootstrap 5 override mínimo)
   -------------------------------------------------------------------------- */
.modal-title-brand {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);  /* 800 */
  font-size: 1.2rem;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal-modal-body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #1a1a1a;
  max-height: 70vh;
}

.legal-modal-body h5 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.legal-modal-body a {
  color: var(--color-cyan-dark);
  text-decoration: underline;
}

.legal-modal-body a:hover {
  color: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   18. Utilidades de animación (WOW + Animate.css defaults)
   -------------------------------------------------------------------------- */
[class*="animate__"] {
  animation-duration: 0.7s;
  animation-fill-mode: both;
}

/* --------------------------------------------------------------------------
   19. Estilos Específicos para Páginas Internas
   -------------------------------------------------------------------------- */
.services-page-section {
  background-color: #EAEAEA;
  padding-top: 60px;
  padding-bottom: 80px;
}

.casos-page-section {
  background-color: #EAEAEA;
  padding-top: 60px;
  padding-bottom: 80px;
}

.caso-detail-card {
  overflow: hidden;
  background: transparent;
  transition: transform var(--t-normal);
}

.caso-detail-card:hover {
  transform: translateY(-4px);
}

.caso-detail-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.influencers-page-section {
  background-color: #FFFFFF;
  padding-top: 60px;
  padding-bottom: 80px;
}
