/* ============================================================
   ECORAD · Centro de Diagnóstico Médico — Hoja de estilos
   Clon fiel del diseño original (Wix) para hosting propio
   Paleta extraída del sitio original
   ============================================================ */

:root {
  --rosa: #FF1282;          /* magenta principal: títulos, botones, footer */
  --rosa-suave: #FF79A8;    /* banda de reservas y botón "Agenda tu hora" */
  --cyan: #37C7FF;          /* tarjetas sobre el hero, acento activo del menú */
  --cyan-btn: #3DABDF;      /* botones dentro de tarjetas cyan */
  --azul: #66ADE5;          /* botón "Calendario de Reservas" */
  --cian-btn: #25C3FF;      /* botón "Suscríbete ahora" */
  --amarillo: #FFB81F;      /* botón flotante "Reserva ahora" */
  --verde-wa: #37C618;
  --texto: #414141;         /* cuerpo de texto */
  --texto-nav: #464545;     /* menú */
  --gris-bg: #F2F2F2;       /* fondo newsletter */
  --blanco: #FFFFFF;
  --container: 980px;
  --font: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--texto);
  background: var(--blanco);
  font-size: 15px;
  line-height: 1.5;
}

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

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

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Botones genéricos ---------- */
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  text-align: center;
  transition: opacity .25s ease, background .25s ease, transform .2s ease;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.97); }

.btn-glass {
  background: rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 2px;
}
.btn-glass:hover { background: rgba(255, 255, 255, .42); opacity: 1; }

.btn-blue {
  background: var(--azul);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 3px;
}

.btn-pink {
  background: var(--rosa);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 6px;
}

.btn-soft {
  background: var(--rosa-suave);
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  padding: 12px 20px;
  border-radius: 3px;
}

.btn-cyan {
  background: var(--cian-btn);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 20px;
  border-radius: 2px;
  width: 100%;
}

/* ============================================================
   ENCABEZADO
   ============================================================ */
.site-header {
  background: var(--blanco);
  padding: 14px 0 10px;
}

.social-bar {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 6px;
}
.social-bar a { display: block; line-height: 0; }
.social-bar img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.social-bar a:hover { opacity: .8; }

.header-main {
  display: flex;
  align-items: center;
  gap: 34px;
}

.logo img {
  width: 218px;
  height: auto;
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
  margin: 5px 0;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--texto-nav);
  padding: 8px 0;
  display: inline-block;
}
.nav-link:hover { color: var(--cyan); }
.nav-link.active { color: var(--cyan); }

/* Submenú escritorio */
.has-sub { position: relative; }
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  min-width: 230px;
  padding: 8px 0;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 60;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--texto-nav);
  white-space: nowrap;
}
.submenu a:hover { background: #f5f5f5; color: var(--cyan); }

/* ============================================================
   HERO + SLIDER
   ============================================================ */
.hero { position: relative; }

.hero-slider {
  position: relative;
  height: 640px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide.is-active { opacity: 1; }

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 12px;
  z-index: 5;
}
.hero-dots button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .65);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active { background: var(--cian-btn); }

/* Tarjetas cyan sobre el hero */
.hero-cards-wrap {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10;
}

.hero-card {
  background: var(--cyan);
  color: #fff;
  width: 312px;
  padding: 28px 30px 24px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-card h3 {
  font-size: 24px;
  font-weight: 500;
  white-space: nowrap;
  margin-bottom: 12px;
}
.hero-card p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 18px;
}
.hero-card .btn-glass { margin-top: auto; }

/* ============================================================
   BANDA "RESERVA TU CITA"
   ============================================================ */
.cta-band {
  background: var(--rosa-suave);
  padding: 34px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  color: #fff;
  font-size: 34px;
  font-weight: 400;
}

.cta-band .btn-blue {
  min-width: 486px;
}

/* ============================================================
   CUIDAMOS TU SALUD
   ============================================================ */
.cuidamos {
  padding: 58px 0 64px;
  text-align: center;
}

.section-title {
  color: var(--rosa);
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 48px;
}

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

.cuidamos-item h3 {
  color: var(--rosa);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin: 20px 0 16px;
}

.cuidamos-item p {
  font-size: 15px;
  color: var(--texto);
}

.cuidamos-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto;
}

.cuidamos-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--rosa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   SERVICIOS (ESPECIALIDADES)
   ============================================================ */
.servicios { padding: 10px 0 46px; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 13px;
}

.servicio-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.servicio-card img { width: 100%; height: 171px; object-fit: cover; }

.servicio-card .btn-pink {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

/* Fila laboratorio */
.servicios-lab {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.lab-img {
  width: 57%;
  max-width: 570px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.servicios-lab .btn-soft { flex: 1; max-width: 342px; }

/* ============================================================
   INFORMACIÓN DEL LABORATORIO
   ============================================================ */
.lab-info {
  padding: 18px 0 40px;
  text-align: center;
}

.lab-lead {
  font-size: 17px;
  max-width: 880px;
  margin: 0 auto 26px;
}
.lab-lead strong { font-weight: 700; }

.lab-strong {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 22px;
}

.lab-list {
  list-style: none;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
}
.lab-list li { margin-bottom: 2px; counter-increment: paso; }
.lab-list li::before {
  content: counter(paso) ". ";
  font-size: .72em;
  vertical-align: super;
}

/* ============================================================
   BANNER ECO 5D + GALERÍA
   ============================================================ */
.banner-magia { padding: 8px 0 20px; }
.banner-magia img { width: 100%; height: auto; }
.banner-magia a:hover { opacity: .95; }

.galeria { padding: 10px 0 34px; }

.galeria-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr 1fr;
  gap: 17px;
}
.galeria-grid img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

/* ============================================================
   BANDA HORARIO
   ============================================================ */
.horario-band {
  background: var(--rosa-suave);
  text-align: center;
  padding: 48px 16px;
}
.horario-band p {
  color: #fff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.35;
}

/* ============================================================
   BANNER WHATSAPP
   ============================================================ */
.whatsapp-banner { padding: 20px 0; }
.whatsapp-banner img { width: 100%; height: auto; }
.whatsapp-banner a:hover { opacity: .92; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--gris-bg);
  padding: 56px 0 64px;
  text-align: center;
}
.newsletter .section-title { margin-bottom: 16px; }

.newsletter-sub {
  font-size: 15px;
  color: #595959;
  max-width: 700px;
  margin: 0 auto 56px;
}

.newsletter-form {
  max-width: 898px;
  margin: 0 auto;
  text-align: left;
}
.newsletter-form label {
  display: block;
  font-size: 15px;
  color: #3c5a6d;
  margin-bottom: 6px;
}
.newsletter-form input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #2e3f48;
  background: transparent;
  padding: 8px 2px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--texto);
  outline: none;
  margin-bottom: 24px;
}
.newsletter-form input:focus { border-bottom-color: var(--cian-btn); }
.newsletter-form input.is-error { border-bottom-color: var(--rosa); }

.form-msg {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
}
.form-msg.ok { color: #1d9e57; }
.form-msg.error { color: var(--rosa); }

/* ============================================================
   PIE DE PÁGINA
   ============================================================ */
.site-footer {
  background: var(--rosa);
  padding: 44px 0 90px;
  margin-top: 26px;
}
.site-footer p { color: #fff; font-size: 15px; }

/* ============================================================
   BOTÓN FLOTANTE "RESERVA AHORA"
   ============================================================ */
.btn-reserva-fijo {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 90;
  background: var(--amarillo);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 26px;
  border-radius: 24px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}
.btn-reserva-fijo:hover { opacity: .9; }

/* ============================================================
   RESPONSIVE · TABLET Y MÓVIL (≤ 980px)
   ============================================================ */
@media (max-width: 980px) {
  /* --- Encabezado --- */
  .social-bar { display: none; }

  .header-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .logo { padding: 4px 0 10px; }
  .logo img { width: 100%; max-width: 340px; }

  .hamburger { display: block; }

  .main-nav {
    display: none;
    width: 100%;
    margin: 0;
    border-top: 1px solid #eee;
  }
  .main-nav.is-open { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list > li { border-bottom: 1px solid #f0f0f0; }
  .nav-link {
    display: block;
    padding: 15px 6px;
    font-size: 14px;
  }

  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: #fafafa;
    min-width: 0;
    display: none;
    padding: 4px 0;
  }
  .has-sub.is-open .submenu { display: block; }
  .submenu a { padding: 11px 24px; }

  /* --- Hero --- */
  .hero-slider { height: 355px; }
  .hero-dots { display: flex; }

  .hero-cards-wrap {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }
  .hero-card { width: 100%; min-height: 0; padding: 22px 20px; }
  .hero-card h3 { font-size: 24px; white-space: normal; }

  /* --- Banda reserva --- */
  .cta-band { padding: 28px 0; }
  .cta-band-inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .cta-band h2 { font-size: 30px; }
  .cta-band .btn-blue { min-width: 0; width: 100%; font-size: 26px; padding: 14px 20px; }

  /* --- Cuidamos tu salud --- */
  .cuidamos { padding: 42px 0 46px; }
  .section-title { font-size: 30px; margin-bottom: 36px; }
  .cuidamos-grid { grid-template-columns: 1fr; gap: 38px; }

  /* --- Servicios --- */
  .servicios-grid { grid-template-columns: 1fr; gap: 20px; }
  .servicio-card { overflow: visible; box-shadow: none; border-radius: 14px; }
  .servicio-card img {
    height: auto;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  }
  .servicio-card .btn-pink {
    position: static;
    display: block;
    width: 100%;
    font-size: 22px;
    padding: 14px 18px;
    margin-top: 10px;
    border-radius: 8px;
  }

  .servicios-lab { flex-direction: column; gap: 16px; }
  .lab-img { width: 100%; max-width: none; }
  .servicios-lab .btn-soft { max-width: none; width: 100%; font-size: 30px; padding: 14px 18px; }

  /* --- Laboratorio --- */
  .lab-lead { font-size: 15px; }
  .lab-strong { font-size: 17px; }
  .lab-list { font-size: 16px; }

  /* --- Galería --- */
  .galeria-grid { grid-template-columns: 1fr; gap: 12px; }
  .galeria-grid img { height: auto; }

  /* --- Horario --- */
  .horario-band { padding: 38px 16px; }
  .horario-band p { font-size: 26px; }

  /* --- Newsletter --- */
  .newsletter { padding: 42px 0 50px; }
  .newsletter .section-title { font-size: 27px; line-height: 1.35; }
  .newsletter-sub { margin-bottom: 40px; }

  /* --- Footer --- */
  .site-footer { padding: 34px 0 84px; }

  .btn-reserva-fijo { padding: 12px 28px; font-size: 16px; }
}

/* Móvil muy pequeño */
@media (max-width: 400px) {
  .logo img { max-width: 270px; }
  .hero-slider { height: 300px; }
}

/* ============================================================
   PÁGINAS INTERIORES · banner de título
   ============================================================ */
.page-banner {
  position: relative;
  background: var(--rosa-suave) url('../img/banner-bg.jpg') center / cover no-repeat;
  padding: 48px 0;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(252, 132, 189, .88);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 400;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.acerca { padding: 62px 0 36px; }

.acerca-grid {
  display: grid;
  grid-template-columns: 412px 1fr;
  gap: 36px;
  align-items: start;
}
.acerca-img { width: 100%; height: auto; }

.acerca-title {
  color: var(--cyan);
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 16px;
}
.acerca-title strong { font-weight: 700; }

.acerca-texto p {
  font-size: 15px;
  text-align: justify;
  margin-bottom: 2px;
}

.medicos { padding: 34px 0 74px; text-align: center; }

.medicos-title {
  color: var(--rosa);
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 46px;
}

.medicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  text-align: left;
}

.medico-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top center;
}
.medico-card h3 {
  color: var(--rosa);
  font-size: 21px;
  font-weight: 400;
  margin: 15px 0 9px;
}
.medico-card p { font-size: 14px; color: #6d6d6d; }

/* ============================================================
   ESPECIALIDADES (página)
   ============================================================ */
.esp-page { padding: 58px 0 72px; }

.esp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 62px 40px;
}

.esp-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.esp-card h2 {
  color: var(--rosa);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
  margin: 17px 0 10px;
}
.esp-card p { font-size: 15px; }

.leer-mas {
  display: inline-block;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 15px;
}
.leer-mas:hover { color: var(--rosa); }

/* ============================================================
   ECO 5D (página)
   ============================================================ */
.magia-banner { padding: 8px 0 6px; }
.magia-banner img { width: 100%; height: auto; }
.magia-banner a:hover { opacity: .96; }

.eco-intro {
  padding: 34px 0 46px;
  text-align: center;
}

.pioneros-title {
  color: var(--rosa);
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 26px;
}

.eco-badge {
  display: none;
  width: 214px;
  height: 214px;
  border-radius: 50%;
  margin: 0 auto 28px;
}

.eco-intro p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 22px;
}

.txt-rosa { color: var(--rosa); }
.txt-rosa-b { color: var(--rosa); font-weight: 700; }
.txt-cian { color: var(--cian-btn); }
.txt-cian strong { color: var(--cian-btn); }

/* --- Paquetes --- */
.paquetes {
  background: #f7f7f7;
  padding: 52px 0 40px;
}

.paquete {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 880px;
  margin: 0 auto 60px;
}

.pq-foto {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--rosa);
}

.pq-circulo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--rosa);
}

.pq-reserva {
  display: block;
  margin-top: 28px;
  background: var(--rosa);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 13px 16px;
  border-radius: 3px;
}
.pq-reserva:hover { opacity: .88; }

.pq-info { text-align: center; }

.pq-title {
  color: var(--rosa);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
}

.pq-sub {
  color: var(--rosa-suave);
  font-size: 22px;
  font-weight: 400;
  margin-top: 5px;
}

.pq-incluye {
  color: var(--cian-btn);
  font-size: 24px;
  font-weight: 700;
  margin: 30px 0 22px;
}

.pq-lead {
  text-align: justify;
  font-size: 16px;
  line-height: 1.5;
}
.pq-lead strong { font-weight: 700; }

.pq-cond {
  margin: 24px 0 32px;
  text-align: left;
  font-size: 16.5px;
  color: #5f5f5f;
  line-height: 1.45;
}

.pq-valor {
  color: var(--rosa);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pq-precio {
  display: inline-block;
  background: var(--rosa);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  padding: 10px 62px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.pq-nota { font-size: 13.5px; color: #6f6f6f; }

/* ============================================================
   CONTACTO (página)
   ============================================================ */
.contacto-sec { padding: 52px 0 26px; }

.contacto-grid {
  display: grid;
  grid-template-columns: 525px 1fr;
  gap: 38px;
  align-items: start;
}

.mapa iframe {
  display: block;
  width: 100%;
  height: 590px;
  border: 0;
}

.ubicacion h2 {
  color: var(--rosa);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 26px;
}
.ubicacion p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.ubicacion a:hover { color: var(--cyan); }
.ubicacion .link-sub { text-decoration: underline; }

/* --- Formulario --- */
.form-wrap { margin-top: 30px; }

#contactForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.form-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: 13px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--texto);
  outline: none;
}
#contactForm input:focus,
#contactForm textarea:focus { border-color: var(--cian-btn); }
#contactForm input.is-error { border-color: var(--rosa); }

#contactForm textarea {
  height: 156px;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.btn-enviar {
  background: #3AA8E0;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  padding: 8px 20px;
}
.btn-enviar:hover { opacity: .88; }

/* --- Banner dudas WhatsApp --- */
.banner-dudas { padding: 18px 0 4px; }
.banner-dudas img { width: 100%; height: auto; }
.banner-dudas a:hover { opacity: .92; }

/* --- Horario --- */
.horario-contacto {
  padding: 34px 0 50px;
  text-align: center;
}
.horario-contacto p {
  color: var(--rosa);
  font-size: 32px;
  line-height: 1.35;
}

/* ============================================================
   RESPONSIVE PÁGINAS INTERIORES (≤ 980px)
   ============================================================ */
@media (max-width: 980px) {
  .page-banner { padding: 34px 0; }
  .page-banner h1 { font-size: 28px; }

  /* Nosotros */
  .acerca { padding: 42px 0 30px; }
  .acerca-grid { grid-template-columns: 1fr; gap: 22px; }
  .acerca-title { font-size: 30px; }
  .medicos { padding: 26px 0 54px; }
  .medicos-title { font-size: 29px; margin-bottom: 34px; }
  .medicos-grid { grid-template-columns: 1fr; gap: 38px; }
  .medico-card { text-align: center; }
  .medico-card img { height: auto; max-height: 300px; }

  /* Especialidades */
  .esp-page { padding: 40px 0 54px; }
  .esp-grid { grid-template-columns: 1fr; gap: 42px; }
  .esp-card { text-align: center; }
  .esp-card img { height: auto; }

  /* Eco 5D */
  .eco-intro { padding: 28px 0 38px; }
  .eco-intro p { font-size: 15px; }
  .pioneros-title { font-size: 29px; }
  .eco-badge { display: block; }
  .paquetes { padding: 40px 0 30px; }
  .paquete {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 460px;
    margin-bottom: 52px;
  }
  .pq-media { max-width: 320px; margin: 0 auto; }
  .pq-title { font-size: 24px; }
  .pq-sub { font-size: 19px; }
  .pq-incluye { font-size: 21px; margin: 24px 0 18px; }
  .pq-lead { font-size: 15px; }
  .pq-cond { font-size: 15px; }
  .pq-valor { font-size: 21px; }
  .pq-precio { font-size: 26px; padding: 9px 54px; }

  /* Contacto */
  .contacto-sec { padding: 38px 0 20px; }
  .contacto-grid { grid-template-columns: 1fr; gap: 24px; }
  .mapa iframe { height: 320px; }
  .ubicacion h2 { font-size: 27px; }
  #contactForm { grid-template-columns: 1fr; }
  .form-actions { justify-content: stretch; }
  .btn-enviar { width: 100%; padding: 12px 20px; font-size: 16px; }
  .horario-contacto { padding: 28px 0 42px; }
  .horario-contacto p { font-size: 26px; }
}

/* ============================================================
   3ª CAPA · DETALLE DE ESPECIALIDAD
   (foto a la izquierda + texto a la derecha)
   ============================================================ */
.esp-det { padding: 64px 0 46px; }

.esp-det-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px 48px;
  align-items: start;
}

.esp-det-media { display: grid; gap: 24px; }
.esp-det-media img { width: 100%; height: auto; }

.esp-det-body p {
  color: #5F5E5E;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.esp-det-title {
  color: var(--rosa);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 20px;
}

.esp-det-caps {
  color: #5F5E5E;
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.esp-det-lead { color: var(--rosa) !important; font-weight: 700; }

.esp-det-list { margin: 2px 0 18px; }
.esp-det-list li {
  position: relative;
  padding-left: 17px;
  color: #5F5E5E;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 6px;
}
.esp-det-list li::before {
  content: '•';
  position: absolute;
  left: 3px;
  color: #5F5E5E;
}

.esp-det-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.esp-det-cta p {
  flex: 1 1 240px;
  max-width: 300px;
  font-size: 21px;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.btn-reserva-det {
  display: inline-block;
  background: var(--cian-btn);
  color: #fff;
  font-size: 14px;
  padding: 13px 27px;
  white-space: nowrap;
}
.btn-reserva-det:hover { opacity: .9; }

/* ---------- Ficha de médico especialista ---------- */
.medico-det-rol {
  color: #5F5E5E;
  font-size: 19px;
  margin: -6px 0 26px;
}

.medico-det-esp {
  display: inline-block;
  margin: 2px 0 8px;
  color: var(--cyan);
  font-size: 15px;
}
.medico-det-esp:hover { color: var(--rosa); }

@media (max-width: 980px) {
  .esp-det { padding: 40px 0 40px; }
  .esp-det-grid { grid-template-columns: 1fr; gap: 26px; }
  .esp-det-media { max-width: 460px; }
  .esp-det-title { font-size: 24px; }
  .esp-det-cta { gap: 18px; }
  .esp-det-cta p { font-size: 18px; max-width: none; }
  .btn-reserva-det { padding: 12px 22px; }
}
