/* ============================================================================
   DENTISALUD CHILOÉ — DRA. JANETH JURADO (CASTRO, CHILOÉ)
   Estilos Mobile-First | Minimalista Clínico
   Predominio de Azul Clínico (#E0F2FE, #0284C7, #0F172A) + Blanco Puro
   Verde muy tenue y discreto en la página (verde intenso solo en los logos)
   ============================================================================ */

:root {
  /* Paleta clínica principal (Azul clínico dominante) */
  --sky-soft: #E0F2FE;
  --sky-tint: #F0F9FF;
  --blue-primary: #0284C7;
  --blue-hover: #0369A1;
  --navy-deep: #0F172A;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;

  /* Tonos complementarios clínicos */
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Verde MUY tenue para micro-detalles clínicos en la página */
  --sage-soft-bg: #F2FAF6;
  --sage-soft-border: #CFE9DC;
  --sage-soft-text: #16654E;

  /* Canal WhatsApp (azul-verde clínico sobrio para armonizar con la paleta) */
  --wa-green: #0F766E;
  --wa-green-hover: #115E59;

  /* Estados de validación */
  --success-bg: #EEF9F3;
  --success-text: #16654E;
  --error-bg: #FEE2E2;
  --error-text: #991B1B;
  --warn-bg: #FEF3C7;
  --warn-text: #92400E;

  /* Tipografía y radios */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 28px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 44px -12px rgba(2, 132, 199, 0.16);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset limpio y accesible */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy-deep);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-hover);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue-primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-deep);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Contenedor principal */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 18px;
}

/* ============================================================================
   BOTONES REUTILIZABLES
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 50px;
  padding: 13px 24px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.24);
}

.btn-primary:hover {
  background-color: var(--blue-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.3);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background-color: var(--white);
  color: var(--navy-deep);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--sky-soft);
  border-color: var(--blue-primary);
  color: var(--navy-deep);
}

.btn-whatsapp {
  background-color: var(--wa-green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.22);
}

.btn-whatsapp:hover {
  background-color: var(--wa-green-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.text-primary {
  color: var(--blue-primary);
}

/* ============================================================================
   HEADER & NAVEGACIÓN — LOGO CIRCULAR PURO (SIN FONDO CUADRADO)
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-deep);
}

.brand:hover {
  color: var(--navy-deep);
}

.brand-logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.1));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.brand-text small {
  font-size: 0.75rem;
  color: var(--slate-600);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--navy-deep);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 18px 20px;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.main-nav.is-open {
  display: flex;
}

.main-nav a:not(.btn) {
  color: var(--slate-700);
  font-weight: 500;
  padding: 8px 4px;
  font-size: 0.95rem;
}

.main-nav a:not(.btn):hover {
  color: var(--blue-primary);
}

/* ============================================================================
   HERO SECTION + BENTO REAL DE LA CLÍNICA
   ============================================================================ */
.hero {
  background: radial-gradient(circle at top right, var(--sky-soft) 0%, rgba(224, 242, 254, 0.4) 40%, var(--white) 78%);
  padding: 36px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--sky-soft);
  color: var(--navy-deep);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid #BAE6FD;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

.hero-name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.38rem);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}

.hero-headline {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3.05rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy-deep);
  letter-spacing: -0.025em;
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: clamp(1.04rem, 2.2vw, 1.2rem);
  color: var(--slate-700);
  max-width: 56ch;
}

.value-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.badge-pill svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.badge-warmth {
  background-color: var(--white);
  color: var(--navy-deep);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.badge-warmth svg {
  color: var(--blue-primary);
}

/* Verde MUY tenue solo como acento suave en Diagnóstico Gratis */
.badge-free {
  background-color: var(--sage-soft-bg);
  color: var(--sage-soft-text);
  border: 1.5px solid var(--sage-soft-border);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--slate-600);
  font-size: 0.875rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--blue-primary);
}

.meta-item a {
  color: var(--slate-700);
  font-weight: 600;
}

/* Mosaico Visual Hero con fotos reales + logo horizontal */
.hero-visual {
  display: flex;
  flex-direction: column;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hero-bento-main,
.hero-bento-waiting {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
  background-color: var(--sky-soft);
}

.hero-bento-main img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 25%;
}

.hero-bento-side {
  display: grid;
  gap: 12px;
}

.hero-brand-emblem-card {
  background-color: var(--white);
  border: 1.5px solid #BAE6FD;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}

.hero-brand-emblem-card img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.hero-bento-waiting img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center;
}

.photo-caption-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background-color: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}

.floating-trust-card {
  position: relative;
  margin-top: 12px;
  background-color: var(--white);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.trust-logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.floating-trust-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-deep);
}

.floating-trust-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* ============================================================================
   SECCIONES GENERALES
   ============================================================================ */
.section {
  padding: 64px 0;
}

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

.section-header {
  margin-bottom: 36px;
}

.section-header.centered {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  background-color: var(--sky-soft);
  color: var(--blue-hover);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.02rem;
}

/* ============================================================================
   SOBRE LA DOCTORA
   ============================================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
  margin-bottom: 16px;
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  object-fit: cover;
  object-position: center 25%;
}

.about-photo-note {
  background-color: var(--sky-tint);
  border-top: 1px solid var(--border);
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-hover);
  text-align: center;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--slate-600);
}

.lead-text {
  font-size: 1.06rem;
  color: var(--navy-deep);
  margin: 0 0 14px;
}

.about-content p {
  color: var(--slate-700);
  margin: 0 0 16px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 14px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--slate-700);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--sky-soft);
  color: var(--blue-primary);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================================
   CATÁLOGO DE SERVICIOS
   ============================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #BAE6FD;
}

.service-featured {
  border: 2px solid var(--blue-primary);
  background: linear-gradient(180deg, var(--sky-tint) 0%, var(--white) 38%);
  box-shadow: var(--shadow-lg);
}

.featured-ribbon {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--blue-primary);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--sky-soft);
  color: var(--blue-primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-deep);
}

.service-intro {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--slate-600);
}

.featured-highlight-box {
  background-color: var(--white);
  border: 1px solid #BAE6FD;
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.featured-highlight-box strong {
  display: block;
  color: var(--navy-deep);
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.featured-highlight-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.service-items {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
  flex-grow: 1;
}

.service-items li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.service-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--blue-primary);
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-primary);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ============================================================================
   GALERÍA REAL DE INSTALACIONES EN CASTRO
   ============================================================================ */
.clinic-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.gallery-card {
  margin: 0;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-tall img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 58%;
}

.gallery-wide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
}

.gallery-card figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.gallery-card figcaption strong {
  display: block;
  font-size: 0.96rem;
  color: var(--navy-deep);
  margin-bottom: 3px;
}

.gallery-card figcaption span {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-600);
}

/* ============================================================================
   SECCIÓN DE AGENDAMIENTO ONLINE
   ============================================================================ */
.section-booking {
  background: linear-gradient(180deg, var(--sky-soft) 0%, var(--bg-light) 100%);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.booking-steps-summary {
  margin: 26px 0;
  display: grid;
  gap: 16px;
}

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

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-item strong {
  display: block;
  color: var(--navy-deep);
  font-size: 0.96rem;
}

.step-item p {
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.urgency-callout {
  background-color: var(--white);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.urgency-callout strong {
  display: block;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.urgency-callout p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.booking-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
}

.preview-mode-banner {
  background-color: var(--warn-bg);
  color: var(--warn-text);
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.83rem;
  margin-bottom: 18px;
}

.preview-mode-banner code {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1px 5px;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-deep);
  margin-bottom: 7px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.label-row label {
  margin-bottom: 0;
}

.hint-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-hover);
  background-color: var(--sky-soft);
  padding: 2px 9px;
  border-radius: 999px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--navy-deep);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 14px;
}

/* Chips rápidos de días hábiles */
.quick-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 10px;
  scrollbar-width: thin;
}

.day-chip {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 8px 10px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--navy-deep);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}

.day-chip:hover {
  border-color: var(--blue-primary);
  background-color: var(--bg-light);
}

.day-chip.is-active {
  background-color: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

.day-chip-weekday {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.day-chip-date {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.date-helper,
.input-help {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.optional-tag {
  font-weight: 400;
  color: var(--slate-500);
  font-size: 0.82rem;
}

/* Grilla de horarios */
.slots-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--slate-600);
  margin-bottom: 10px;
}

.slots-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-free {
  background-color: var(--white);
  border: 1.5px solid var(--blue-primary);
}

.dot-selected {
  background-color: var(--blue-primary);
}

.dot-busy {
  background-color: var(--border);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot-btn {
  min-height: 44px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #BAE6FD;
  background-color: var(--white);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}

.slot-btn:hover:not(:disabled) {
  background-color: var(--sky-soft);
  border-color: var(--blue-primary);
}

.slot-btn.is-selected {
  background-color: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

.slot-btn:disabled {
  background-color: var(--bg-light);
  border-color: var(--border);
  color: var(--slate-500);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.7;
}

.slots-placeholder {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  text-align: center;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  font-size: 0.88rem;
}

.slot-skeleton {
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 16px;
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.field-feedback {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--error-text);
  min-height: 1em;
}

.form-alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--error-bg);
  color: var(--error-text);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.privacy-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--slate-500);
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Estado de éxito (verde muy tenue y elegante) */
.booking-success {
  text-align: center;
  padding: 10px 4px;
}

.success-badge {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: var(--success-bg);
  color: var(--success-text);
  border: 1.5px solid var(--sage-soft-border);
  font-size: 1.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.booking-success h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy-deep);
}

.success-lead {
  margin: 0 0 20px;
  color: var(--slate-600);
  font-size: 0.94rem;
}

.success-summary {
  margin: 0 0 22px;
  text-align: left;
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.success-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  font-size: 0.9rem;
}

.success-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.success-summary dt {
  color: var(--slate-600);
  font-weight: 500;
}

.success-summary dd {
  margin: 0;
  color: var(--navy-deep);
  font-weight: 700;
  text-align: right;
}

.success-actions {
  display: grid;
  gap: 10px;
}

/* ============================================================================
   PREGUNTAS FRECUENTES
   ============================================================================ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--blue-primary);
  font-weight: 600;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--slate-700);
  font-size: 0.94rem;
}

/* ============================================================================
   UBICACIÓN Y CONTACTO
   ============================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--sky-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
  color: var(--navy-deep);
}

.contact-card p {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.contact-action {
  font-size: 0.86rem;
  font-weight: 700;
}

.social-placeholder-box {
  background-color: var(--white);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.social-placeholder-box > span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--navy-deep);
  font-size: 0.88rem;
  font-weight: 600;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  color: var(--blue-primary);
}

.social-btn:hover {
  background-color: var(--sky-soft);
  border-color: var(--blue-primary);
}

.map-embed-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-height: 340px;
  background-color: var(--bg-light);
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  background-color: var(--navy-deep);
  color: #CBD5E1;
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 36px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.footer-brand h3 {
  margin: 0 0 2px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer-role {
  margin: 0;
  color: #7DD3FC;
  font-size: 0.86rem;
  font-weight: 600;
}

.footer-desc {
  margin: 0;
  font-size: 0.9rem;
  max-width: 38ch;
  color: #94A3B8;
}

.footer-col h4 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-col a {
  color: #CBD5E1;
}

.footer-col a:hover {
  color: #7DD3FC;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-social-icon:hover {
  background-color: var(--blue-primary);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.82rem;
  color: #94A3B8;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

/* ============================================================================
   BOTÓN FLOTANTE DE WHATSAPP BUSINESS
   ============================================================================ */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--wa-green);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
  transition: transform var(--transition), background-color var(--transition);
}

.whatsapp-float:hover {
  background-color: var(--wa-green-hover);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.whatsapp-float-label {
  display: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding-right: 4px;
}

/* ============================================================================
   MEDIA QUERIES (TABLET & DESKTOP)
   ============================================================================ */
@media (min-width: 540px) {
  .hero-bento {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .hero-bento-main img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 310px;
  }

  .hero-bento-waiting img {
    height: 100%;
    aspect-ratio: 16 / 9;
  }

  .clinic-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-wide {
    grid-column: span 2;
  }
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .whatsapp-float-label {
    display: inline;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    gap: 20px;
  }

  .hero {
    padding: 54px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }

  .section {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
  }

  .clinic-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-wide {
    grid-column: span 3;
  }

  .booking-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
  }

  .booking-card {
    padding: 32px;
  }

  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 32px;
    align-items: stretch;
  }

  .map-embed-wrap iframe {
    min-height: 100%;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 1.1fr;
    gap: 40px;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
