:root {
  --pediatric-sky: #00a8cc;
  --pediatric-sky-dark: #0086a3;
  --pediatric-sky-Tint: #eaf9fc;
  --pediatric-indigo: #2b3a67;
  --firetruck-red: #ff4757;
  --firetruck-red-hover: #e83848;
  --firetruck-red-soft: #fff0f2;
  --sunny-yellow: #ffd166;
  --sunny-yellow-soft: #fff9e6;
  --mint-ok: #10b981;
  --cloud-white: #ffffff;
  --bg-soft: #f7fbfe;
  --text-main: #2b3a67;
  --text-body: #556585;
  --border-soft: #dceef5;
  --shadow-soft: 0 12px 32px rgba(43, 58, 103, 0.07);
  --shadow-hover: 0 18px 40px rgba(0, 168, 204, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Tipografía 100% Pediátrica: Redondeada, Tierna y Muy Profesional */
h1, h2, h3, h4, .brand-name, .t-price, .c-amount {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.script-subtitle {
  font-family: 'Mali', 'Playpen Sans', cursive;
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--firetruck-red);
  background: var(--firetruck-red-soft);
  border: 2px dashed #ffb8c0;
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Barra Superior Pediátrica Suave */
.station-strip {
  background: var(--pediatric-indigo);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 9px 0;
}

.station-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.station-cred {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-tag {
  background: var(--sunny-yellow);
  color: var(--pediatric-indigo);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
}

.station-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.station-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.station-links .doctor-login-btn {
  background: rgba(255, 255, 255, 0.16);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  transition: all 0.2s;
}

.station-links .doctor-login-btn:hover {
  background: var(--sunny-yellow);
  color: var(--pediatric-indigo);
}

/* Cabecera Limpia en 1 Sola Línea */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 168, 204, 0.08);
  position: sticky;
  top: 0;
  z-index: 95;
}

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

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.shield-emblem {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--pediatric-indigo);
  line-height: 1;
}

.brand-name span {
  color: var(--firetruck-red);
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pediatric-sky);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: var(--pediatric-indigo);
  font-weight: 800;
  font-size: 0.94rem;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}

.main-nav a:hover {
  color: var(--pediatric-sky);
  background: var(--pediatric-sky-tint);
}

/* Botones Redondeados Amigables */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-fire {
  background: var(--firetruck-red);
  color: var(--cloud-white);
  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.28);
}

.btn-fire:hover {
  background: var(--firetruck-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 71, 87, 0.36);
}

.btn-sky {
  background: var(--pediatric-sky);
  color: var(--cloud-white);
  box-shadow: 0 8px 20px rgba(0, 168, 204, 0.25);
}

.btn-sky:hover {
  background: var(--pediatric-sky-dark);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--pediatric-indigo);
  color: var(--cloud-white);
}

.btn-outline {
  background: var(--cloud-white);
  color: var(--pediatric-indigo);
  border: 2px solid var(--border-soft);
}

.btn-outline:hover {
  border-color: var(--pediatric-sky);
  color: var(--pediatric-sky);
  background: var(--pediatric-sky-tint);
}

/* Hero Luminoso Neonatal + Infantil */
.hero-station {
  padding: 46px 0 36px;
  background: linear-gradient(180deg, #ffffff 0%, #eaf9fc 100%);
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 40px;
  align-items: center;
}

.station-number-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sunny-yellow-soft);
  color: #b4690e;
  border: 1.5px solid var(--sunny-yellow);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.84rem;
  margin-bottom: 12px;
}

.hero-station h1 {
  font-size: 2.65rem;
  color: var(--pediatric-indigo);
  margin-bottom: 14px;
}

.hero-station h1 em {
  font-style: normal;
  color: var(--firetruck-red);
}

.hero-station h1 .sky-word {
  color: var(--pediatric-sky);
}

.hero-sub {
  font-size: 1.06rem;
  color: var(--text-body);
  margin-bottom: 22px;
}

/* Tarjetas de Precios Suaves y Redondeadas */
.tariff-board {
  background: var(--cloud-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--border-soft);
  overflow: hidden;
  margin-bottom: 24px;
}

.tariff-board-header {
  background: var(--pediatric-sky);
  color: var(--cloud-white);
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

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

.tariff-cell {
  padding: 16px;
  border-right: 1.5px dashed var(--border-soft);
  text-align: center;
}

.tariff-cell:last-child {
  border-right: none;
  background: var(--sunny-yellow-soft);
}

.tariff-cell .t-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-body);
}

.tariff-cell .t-price {
  font-size: 1.65rem;
  color: var(--pediatric-indigo);
  margin: 4px 0;
}

.tariff-cell.highlight .t-price {
  color: var(--firetruck-red);
}

.tariff-cell .t-duration {
  display: inline-block;
  background: var(--pediatric-sky-tint);
  color: var(--pediatric-sky-dark);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
}

.location-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--pediatric-indigo);
  font-weight: 700;
}

/* Escenario Infantil y Alegre del Carrito de Bomberos NEONATUM */
.firetruck-stage {
  background: var(--cloud-white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-hover);
  border: 3px solid var(--sunny-yellow);
  position: relative;
}

.stage-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--pediatric-indigo);
  font-weight: 800;
}

.siren-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--firetruck-red-soft);
  color: var(--firetruck-red);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.76rem;
}

.truck-svg-container {
  background: linear-gradient(180deg, #dff6ff 0%, #f2fbff 76%, #e2eef3 76%, #d5e5ec 100%);
  border-radius: 20px;
  padding: 16px 10px 8px;
  border: 2px solid var(--border-soft);
}

.doctor-profile-strip {
  margin-top: 14px;
  background: var(--pediatric-sky-tint);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Olas Divisoras Suaves Tipo Nube (Estilo Pediátrico) */
.cloud-wave-divider {
  line-height: 0;
  overflow: hidden;
  background: #eaf9fc;
}

.cloud-wave-divider svg {
  display: block;
  width: 100%;
  height: 54px;
}

/* Secciones */
.section-block {
  padding: 64px 0;
}

.section-white {
  background: var(--cloud-white);
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 42px;
}

.section-head h2 {
  font-size: 2.25rem;
  color: var(--pediatric-indigo);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-body);
  font-size: 1.04rem;
}

/* AGENDA EN TIEMPO REAL */
.booking-station-wrapper {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: start;
}

.calendar-panel, .checkout-panel {
  background: var(--cloud-white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.18rem;
  color: var(--pediatric-indigo);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--border-soft);
}

.step-num {
  background: var(--pediatric-sky);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.consult-type-selector {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.consult-radio-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  border: 2px solid var(--border-soft);
  border-radius: 18px;
  cursor: pointer;
  background: var(--bg-soft);
  transition: all 0.2s;
}

.consult-radio-card:hover {
  border-color: var(--pediatric-sky);
}

.consult-radio-card.selected {
  border-color: var(--firetruck-red);
  background: var(--firetruck-red-soft);
}

.consult-radio-card .c-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  color: var(--pediatric-indigo);
  display: block;
}

.consult-radio-card .c-desc {
  font-size: 0.83rem;
  color: var(--text-body);
}

.consult-radio-card .c-price-tag {
  text-align: right;
  flex-shrink: 0;
  margin-left: 12px;
}

.consult-radio-card .c-amount {
  font-size: 1.35rem;
  color: var(--firetruck-red);
  display: block;
}

.consult-radio-card .c-time-badge {
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--pediatric-indigo);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.day-rate-notice {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--pediatric-sky-tint);
  color: var(--pediatric-sky-dark);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.slot-btn {
  padding: 10px 8px;
  border: 2px solid var(--border-soft);
  background: var(--bg-soft);
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--pediatric-indigo);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.15s;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--pediatric-sky);
  background: #fff;
  transform: translateY(-1px);
}

.slot-btn.selected {
  background: var(--pediatric-sky);
  color: var(--cloud-white);
  border-color: var(--pediatric-sky);
  box-shadow: 0 6px 14px rgba(0, 168, 204, 0.28);
}

.slot-btn.night-slot:not(.selected):not(:disabled) {
  background: var(--sunny-yellow-soft);
  border-color: var(--sunny-yellow);
}

.slot-btn:disabled {
  background: #eef2f6;
  color: #a0aec0;
  border-color: #e2e8f0;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-sub {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.9;
}

/* Inputs y Checkout */
.field-group {
  margin-bottom: 12px;
}

.field-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--pediatric-indigo);
  margin-bottom: 4px;
}

.field-group input, .field-group select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border-soft);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--pediatric-indigo);
}

.field-group input:focus {
  outline: none;
  border-color: var(--pediatric-sky);
}

.invoice-box {
  background: var(--pediatric-sky-tint);
  border: 1.5px solid var(--border-soft);
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.payment-options {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.pay-option-card {
  border: 2px solid var(--border-soft);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  background: var(--bg-soft);
  transition: all 0.2s;
}

.pay-option-card.active {
  border-color: var(--mint-ok);
  background: #ecfdf5;
}

.gateway-box {
  background: #f0f9ff;
  border: 2px dashed var(--pediatric-sky);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  display: none;
}

.gateway-box.visible {
  display: block;
}

/* Tarjetas Pediátricas Redondeadas y Tiernas */
.credentials-columns, .blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.editorial-card, .blog-article-card {
  background: var(--cloud-white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.editorial-card:hover, .blog-article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pediatric-sky);
}

.card-badge-circle {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--pediatric-sky-tint);
  color: var(--pediatric-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.editorial-card h3, .blog-article-card h3 {
  font-size: 1.32rem;
  color: var(--pediatric-indigo);
  margin-bottom: 10px;
}

/* Triaje Pediátrico Luminoso */
.triage-board {
  background: linear-gradient(135deg, #0093b5 0%, #2b3a67 100%);
  color: var(--cloud-white);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-hover);
}

.triage-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 22px;
}

.footer-station {
  background: var(--pediatric-indigo);
  color: #e2e8f0;
  padding: 56px 0 32px;
  border-top: 6px solid var(--sunny-yellow);
}

@media (max-width: 980px) {
  .hero-layout,
  .booking-station-wrapper,
  .credentials-columns,
  .triage-two-col,
  .blog-list-grid,
  .tariff-grid {
    grid-template-columns: 1fr;
  }
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-nav {
    display: none;
  }
}
