/* Presentation and calendar refinements: white, blue and red. */
.hero-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.hero-title-row h1 { margin-bottom: 24px; }
.brand-prt-logo { display: block; width: 68px; height: auto; margin-left: 5px; object-fit: contain; }
.hero-time-saving { max-width: 460px; margin: 18px 0 0; padding: 12px 14px; border-left: 4px solid var(--red); background: #fff0f2; color: var(--blue); font-size: 13px; line-height: 1.5; }
.hero-time-saving strong { display: block; margin-bottom: 2px; }
.vehicle-type-notice {
  border-left-width: 4px;
  border-radius: 0 8px 8px 0;
  margin: -4px 0 18px;
}

.vehicle-type-notice p {
  color: #002b70;
  font-weight: 700;
}
.queue-status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .9fr) auto; align-items: center; gap: 16px; margin: 16px 0 20px; padding: 14px; border: 1px solid #b7cfef; background: #eef5ff; }
.queue-copy { min-width: 0; }
.queue-status span, .capacity-status span { display: block; color: var(--blue); font: 700 10px DM Mono,monospace; letter-spacing: .04em; }
.queue-status strong { display: block; margin: 4px 0; color: var(--ink); font-size: 14px; }
.queue-status strong b { color: var(--red); font-size: 22px; }
.queue-status small, .capacity-status small { color: var(--muted); font-size: 11px; }
.queue-button { flex: 0 0 auto; border: 0; background: var(--blue); color: #fff; padding: 10px 12px; font-weight: 800; cursor: pointer; }
.queue-button:disabled { background: var(--muted); cursor: default; }
.queue-dialog { background:#fff; border:1px solid #b7cfef; border-radius:14px; box-shadow:0 28px 80px rgba(8,45,120,.38); max-width:min(1060px,calc(100vw - 32px)); overflow:hidden; padding:0; width:1060px; }
.queue-dialog::backdrop { background: rgba(8,45,120,.38); backdrop-filter: blur(8px); }
.queue-dialog-heading { background:linear-gradient(135deg,#fff 0%,var(--blue-soft) 100%); border-bottom:5px solid var(--blue); padding:34px 44px 28px; }
.queue-dialog-heading .payment-label { color:var(--red); margin-bottom:12px; }
.queue-dialog-heading h3 { color:var(--ink); font-size:36px; letter-spacing:-1.4px; margin:0 0 9px; }
.queue-dialog-heading > p:last-child { color:var(--muted); font-size:14px; margin:0; max-width:620px; }
.queue-dialog .queue-status { background:#fff; grid-template-columns:minmax(270px,1fr) minmax(300px,1.15fr) auto; margin:0; padding:34px 44px 42px; }
.queue-dialog .queue-status strong { font-size: 19px; }
.queue-dialog .queue-status strong b { font-size: 30px; }
.queue-dialog .queue-loader { background:#f4f7fd; border:1px solid var(--line); border-radius:10px; padding:13px 15px; }
.queue-dialog .queue-loader > strong { font-size:18px; }
.queue-dialog .queue-track { height:18px; }
.queue-dialog .queue-track b { font-size: 31px; }
.queue-dialog #queue-prt { width:72px; }
.queue-dialog-close { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 50%; color: var(--blue); cursor: pointer; display: flex; font-size: 24px; height: 34px; justify-content: center; line-height: 1; padding: 0 0 4px; position: absolute; right: 14px; top: 14px; width: 34px; z-index: 1; }
.queue-dialog-close:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.queue-loader { display:flex; align-items:center; gap:10px; min-width:0; }
.queue-loader > strong { color: var(--blue); font: 800 12px DM Mono,monospace; }
.queue-track { position: relative; display: block; flex: 1; height: 16px; min-width: 0; border-radius: 99px; background: #c7d9f3; overflow: hidden; }
.queue-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--blue); transition: width .18s linear; }
.queue-track b { position: absolute; top: 50%; left: 0; z-index: 2; font-size: 22px; line-height: 1; transform: translateY(-54%) scaleX(-1); transition: left .18s linear; }
.queue-loader #queue-prt { display:block; flex:0 0 auto; height:auto; width:46px; }
.queue-copy { border-left:5px solid var(--red); padding-left:16px; }
.queue-button { border-radius:4px; box-shadow:0 8px 18px rgba(7,86,191,.18); min-height:50px; padding:12px 18px; }
.add-vehicle-button { margin: 2px 0 8px; }
.vehicle-lookup-note { color: var(--muted); font-size: 10px; margin: 0 0 12px; }
.vehicle-list { display: grid; gap: 8px; margin: 0 0 8px; }
.vehicle-item { align-items: center; background: var(--blue-soft); border: 1px solid var(--line); border-radius: 4px; display: grid; gap: 10px; grid-template-columns: 34px 1fr auto; padding: 10px 11px; }
.vehicle-item .vehicle-icon { align-items: center; background: var(--red); border-radius: 4px; color: var(--white); display: flex; height: 34px; justify-content: center; width: 34px; }
.vehicle-item span, .vehicle-item strong, .vehicle-item small { display: block; }
.vehicle-item span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.vehicle-item strong { color: var(--ink); font: 800 13px DM Mono, monospace; }
.vehicle-item small { color: var(--muted); font-size: 9px; }
.remove-vehicle { align-items: center; background: var(--white); border: 1px solid var(--red); border-radius: 50%; color: var(--red); cursor: pointer; display: flex; font-size: 20px; height: 27px; justify-content: center; line-height: 1; padding: 0 0 3px; width: 27px; }
.remove-vehicle:hover { background: var(--red); color: var(--white); }
.capacity-demo { margin: 16px 0 0; padding: 14px; border-left: 4px solid #1a9b54; background: #edfff4; }
.capacity-demo strong { display: block; margin: 4px 0; color: #08733b; font-size: 14px; }
.map-zone-express path { fill: #d7f7df; stroke: #1a9b54; stroke-dasharray: 0; }
.map-zone-express text { fill: #071b32; }
.map-zone-express:hover path,.map-zone-express:focus path,.map-zone-express.active path { fill: #1a9b54; stroke: #08733b; }
.map-zone-express:hover text,.map-zone-express:focus text,.map-zone-express.active text { fill: #071b32; }
.map-key i.express { background: #1a9b54; }

.booking-map-selector .coverage-map {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid #b8cdec;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 57, 130, .09);
  padding: 16px;
}

.booking-map-selector .map-header {
  align-items: center;
  border-bottom: 2px solid #0057c8;
  margin-bottom: 10px;
  padding: 0 2px 10px;
}

.booking-map-selector .map-header span,
.booking-map-selector .map-header b {
  color: #0046ad;
  font-size: 9px;
  letter-spacing: .08em;
}

.booking-map-selector .oriente-map {
  background:
    radial-gradient(circle at 74% 28%, rgba(0, 87, 200, .06), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f3f7ff 100%);
  border-radius: 6px;
  margin-top: 0;
  padding: 8px;
}

.booking-map-selector .map-road {
  opacity: .9;
  stroke: #c4d8f4;
}

.booking-map-selector .main-road {
  stroke-width: 14px;
}

.booking-map-selector .cross-road {
  stroke-width: 9px;
}

.booking-map-selector .lower-road {
  stroke-width: 10px;
}

.booking-map-selector .map-zone path {
  fill: #e7eefb;
  filter: drop-shadow(0 4px 4px rgba(11, 58, 121, .08));
  stroke: #ffffff;
  stroke-linejoin: round;
  stroke-width: 4px;
}

.booking-map-selector .map-zone-express path {
  fill: #d7f7df;
  stroke: #108a49;
}

.booking-map-selector .map-zone text {
  fill: #06295d;
  font-size: 10px;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .85);
  stroke-linejoin: round;
  stroke-width: 3px;
}

.booking-map-selector .map-zone:hover path,
.booking-map-selector .map-zone:focus path {
  fill: #bfddff;
  stroke: #0057c8;
  stroke-width: 5px;
}

.booking-map-selector .map-zone.active path,
.booking-map-selector .map-zone-express.active path {
  fill: #0057c8;
  filter: drop-shadow(0 10px 12px rgba(0, 87, 200, .28));
  stroke: #e5163f;
  stroke-width: 6px;
}

.booking-map-selector .map-zone:hover text,
.booking-map-selector .map-zone:focus text,
.booking-map-selector .map-zone.active text,
.booking-map-selector .map-zone-express:hover text,
.booking-map-selector .map-zone-express:focus text,
.booking-map-selector .map-zone-express.active text {
  fill: #ffffff;
  stroke: rgba(0, 25, 72, .28);
}
.hero {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 64px);
  padding: 64px clamp(24px, 5vw, 80px);
}
.hero-copy { min-width: 0; }
.hero-actions { flex-wrap: wrap; gap: 20px; }
.hero-photo { min-width: 0; margin: 0; overflow: hidden; border-radius: 4px; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-photo figcaption { padding: 18px 22px; border-left: 4px solid var(--red); background: var(--blue); color: #fff; font-size: 14px; line-height: 1.5; }

.booking-section {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
  max-width: 1420px;
  padding-block: 94px;
  padding-inline: clamp(28px, 6vw, 112px);
}

.booking-section .section-intro {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, .65fr) minmax(360px, .85fr);
  max-width: none;
  padding: 0;
}

.booking-section .section-intro h2 {
  font-size: clamp(36px, 3.3vw, 52px);
  margin-bottom: 0;
}

.booking-section .section-intro > p:not(.eyebrow) {
  align-self: end;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 8px;
  max-width: 520px;
}

.booking-card {
  padding-inline: clamp(34px, 3vw, 58px);
}

.booking-card .steps {
  margin-inline: calc(clamp(34px, 3vw, 58px) * -1);
  padding-inline: clamp(34px, 3vw, 58px);
}

.booking-map-selector .coverage-map {
  margin-inline: calc(clamp(0px, 1.5vw, 16px) * -1);
}

.booking-map-selector .oriente-map {
  display: block;
  margin-inline: auto;
  max-width: 760px;
  width: 100%;
}

/* Timeline de reserva: una guía ligera, sin cajas que compitan con el formulario. */
.booking-card .steps {
  align-items: flex-start;
  background: transparent;
  border-bottom: 1px solid var(--line);
  height: auto;
  margin-bottom: 32px;
  padding-block: 22px 20px;
}
.booking-card .steps > i {
  background: #cbd8eb;
  flex: 1;
  height: 2px;
  margin-top: 17px;
  transition: background .2s ease;
}
.booking-card .steps > i.active { background: var(--blue); }
.booking-card .step {
  align-items: center;
  color: #8998ad;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  position: relative;
  text-align: center;
}
.booking-card .step b {
  background: #fff;
  border: 2px solid #cbd8eb;
  color: #8998ad;
  font-size: 12px;
  height: 36px;
  position: relative;
  width: 36px;
  z-index: 1;
}
.booking-card .step span {
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}
.booking-card .step.active { color: var(--blue); }
.booking-card .step.active b,
.booking-card .step.completed b {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.booking-card .step.active::after {
  background: var(--red);
  bottom: -21px;
  content: "";
  height: 3px;
  left: 25%;
  position: absolute;
  width: 50%;
}
.booking-card .step.completed { color: var(--blue); }

.assistant-options .assistant-field {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: 700 12px Helvetica, "Helvetica Neue", Arial, sans-serif;
  min-height: 42px;
  outline: 0;
  padding: 10px 12px;
  width: 100%;
}
.assistant-options .assistant-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7, 86, 191, .12); }
.assistant-options .assistant-primary { background: var(--blue); color: #fff; }
.assistant-options .assistant-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 420px) {
  .assistant-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assistant-options .assistant-field,
  .assistant-options .assistant-primary { grid-column: 1 / -1; }
}

.booking-map-selector .map-zone text {
  font-size: 12px;
}

@media (min-width: 1280px) {
  .booking-map-selector .coverage-map {
    padding: 14px;
  }

  .booking-map-selector .map-zone text {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .booking-section {
    display: block;
    padding-block: 76px;
    padding-inline: 20px;
  }

  .booking-section .section-intro {
    display: block;
    max-width: none;
    padding-bottom: 36px;
  }
}

@media (max-width: 520px) {
  .booking-card .steps { padding-inline: 4px; }
  .booking-card .step span { font-size: 10px; white-space: normal; }
  .booking-card .step b { height: 32px; width: 32px; }
  .booking-card .steps > i { margin-top: 15px; }
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: 88px clamp(24px, 7vw, 112px) 64px;
  background: var(--blue-soft);
  scroll-margin-top: 96px;
}
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.7; }
.about-copy h2 { font-size: clamp(34px, 3.8vw, 54px); letter-spacing: -2px; }
.about-experience { display: flex; flex-wrap: wrap; gap: 28px; margin: 28px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.about-experience > div { display: flex; flex-direction: column; gap: 4px; }
.about-experience dt { font-size: 12px; color: var(--muted); }
.about-experience dd { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 800; color: var(--blue); }
.about-copy p.about-coverage { font-size: 13px; }
.about-image { margin: 0; min-width: 0; }
.about-image img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.about-image figcaption { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.about-image figcaption a { color: var(--blue); white-space: nowrap; }
.service-video { display: block; padding: 0 clamp(24px, 7vw, 112px) 88px; }
.service-video-inner { max-width: 1080px; margin: auto; padding-top: 40px; border-top: 1px solid var(--line); }
.video-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.video-heading h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -1.3px; margin: 0; }
.video-heading .eyebrow { margin-bottom: 12px; }
.service-video .video-placeholder { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 520px; margin-top: 0; }
.service-video .play-symbol { flex-shrink: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px; }
  .hero-copy { max-width: none; }
  .hero-text { max-width: 640px; }
  .hero-photo { width: 100%; }
  .hero-title-row { align-items: flex-start; }
  .about-section { grid-template-columns: 1fr; padding: 64px 24px 40px; gap: 32px; }
  .about-image { width: 100%; max-width: 560px; justify-self: center; }
  .service-video { padding: 0 24px 64px; }
}
@media (max-width: 520px) {
  .hero-title-row { display: block; }
  .brand-prt-logo { width: 56px; margin-left: 2px; }
  .queue-status { display: flex; align-items: flex-start; flex-direction: column; }
  .queue-loader { width: 100%; }
  .queue-button { width: 100%; }
  .queue-dialog-heading { padding: 25px 20px 18px; }
  .queue-dialog-heading h3 { font-size: 27px; }
  .queue-dialog .queue-status { padding: 20px; }
  .hero-photo figcaption { padding: 14px 16px; font-size: 12px; }
  .about-copy > p:not(.eyebrow) { font-size: 15px; }
  .about-experience dd { font-size: 32px; }
  .service-video .video-placeholder { padding: 16px; min-height: 200px; }
  .service-video .video-placeholder strong { font-size: 17px; }
  .service-video .video-placeholder > b { position: absolute; top: 16px; right: 16px; }
  .service-video .play-symbol { width: 42px; height: 42px; font-size: 16px; margin-right: 12px; }
}

/* Modo noche: azul tinta, superficies profundas y texto azul claro. */
.theme-toggle { align-items:center; background:var(--blue-soft); border:1px solid var(--line); color:var(--blue); cursor:pointer; display:inline-flex; font:800 12px Helvetica,"Helvetica Neue",Arial,sans-serif; gap:7px; padding:10px 13px; }
.theme-toggle:hover { border-color:var(--blue); }
body.night-mode { --white:#041426; --ink:#d7e8ff; --blue:#68a6ff; --blue-soft:#0a2850; --muted:#a7c5ec; --line:#25558e; --red-soft:#351624; --shadow:0 20px 48px rgba(0,0,0,.46); background:#020b17; color:var(--ink); }
body.night-mode .site-header { background:rgba(4,20,38,.94); }
body.night-mode .hero, body.night-mode .service-options, body.night-mode .legal-section { background:var(--white); }
body.night-mode .hero { background:linear-gradient(107deg,#041426 0%,#041426 46%,#082d5b 100%); }
body.night-mode .booking-card, body.night-mode .feature-grid article, body.night-mode .floating-card, body.night-mode .queue-dialog, body.night-mode .queue-dialog .queue-status, body.night-mode .assistant-panel, body.night-mode .theme-toggle { background:#071c36; }
body.night-mode .single-service-copy, body.night-mode .video-section, body.night-mode .how-section, body.night-mode .summary, body.night-mode .vehicle-item, body.night-mode .legal-grid article, body.night-mode .schedule-message, body.night-mode .capacity-status, body.night-mode .queue-dialog-heading, body.night-mode .queue-dialog .queue-loader { background:#0a2850; }
body.night-mode .button-secondary, body.night-mode label input, body.night-mode label select, body.night-mode .date-button, body.night-mode .calendar-toolbar button, body.night-mode .remove-vehicle, body.night-mode .queue-dialog-close { background:#071c36; color:var(--ink); }
body.night-mode .date-button.active { background:#0b376d; box-shadow:0 0 0 3px #071c36,0 0 0 5px var(--red); }
body.night-mode .date-button strong.date-day, body.night-mode .date-button .date-availability, body.night-mode .calendar-toolbar strong { color:var(--blue); }
body.night-mode .payment-demo, body.night-mode .notice { background:#2c1623; }
body.night-mode .coverage-section, body.night-mode footer { background:#03142b; }
body.night-mode .hero-photo figcaption { background:#0b376d; }
body.night-mode .queue-dialog::backdrop { background:rgba(0,7,18,.72); }
body.night-mode .queue-track { background:#164675; }
body.night-mode .theme-toggle { color:var(--ink); }
@media (max-width: 760px) { .theme-toggle { font-size:0; height:38px; padding:8px 10px; } .theme-toggle span { font-size:18px; } }

/* Advertencia legal: lectura continua, con la multa como dato prioritario. */
.legal-grid { align-items:stretch; gap:0; max-width:1120px; }
.legal-grid article,
.legal-grid .fine-alert { background:transparent; border:0; border-radius:0; border-top:0; color:var(--ink); min-height:0; padding:10px 30px; }
.legal-grid article:first-child { padding-left:0; }
.legal-grid article + article { border-left:1px solid var(--line); }
.legal-grid article > span { background:transparent; border-radius:0; color:var(--blue); font-size:28px; font-weight:800; height:auto; justify-content:flex-start; width:auto; }
.legal-grid article:last-child > span { background:transparent; color:var(--red); }
.legal-grid h3 { font-size:17px; margin:3px 0 9px; }
.legal-grid p { font-size:12px; line-height:1.55; }
.legal-grid .fine-alert { align-items:center; border-left:1px solid var(--red); display:flex; }
.legal-grid .fine-alert > div { width:100%; }
.fine-kicker { color:var(--red)!important; font-size:11px!important; font-weight:800; letter-spacing:.8px; margin:0 0 7px!important; text-transform:uppercase; }
.fine-amount { color:var(--red); display:block; font-family:Arial,"Helvetica Neue",Helvetica,sans-serif; font-size:clamp(27px,2.7vw,42px); font-weight:800; letter-spacing:-1.8px; line-height:1; margin:0 0 11px; white-space:nowrap; }
.fine-amount small { font-size:.42em; letter-spacing:.4px; }
.legal-grid .fine-alert p:last-child { color:var(--ink); margin:0; }
body.night-mode .legal-grid article,
body.night-mode .legal-grid .fine-alert { background:transparent; }
body.night-mode .legal-grid .fine-alert p:last-child { color:var(--ink); }
@media (max-width:820px) {
  .legal-grid { gap:0; margin-top:28px; }
  .legal-grid article,
  .legal-grid .fine-alert,
  .legal-grid article:first-child { border-left:0; border-top:1px solid var(--line); padding:22px 0; }
  .legal-grid .fine-alert { border-top:2px solid var(--red); }
  .fine-amount { font-size:clamp(31px,10vw,44px); }
}

.whatsapp-help { touch-action:none; user-select:none; }
.whatsapp-help.dragging { cursor:grabbing; transform:none; }
.whatsapp-direct {
  align-items: center;
  background: #25d366;
  border: 3px solid #fff;
  border-radius: 50%;
  bottom: 28px;
  box-shadow: 0 10px 24px rgba(8, 45, 120, .24);
  color: #fff;
  display: flex;
  height: 62px;
  justify-content: center;
  position: fixed;
  right: 116px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  width: 62px;
  z-index: 20;
}
.whatsapp-direct:hover {
  box-shadow: 0 14px 30px rgba(8, 45, 120, .3);
  transform: translateY(-2px);
}
.whatsapp-direct svg {
  display: block;
  fill: currentColor;
  height: 34px;
  width: 34px;
}

/* Calendar cards inspired by the supplied blue, white and red reference. */
.hero-description-title {
  margin: 24px 0 12px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}
.hero-text + .hero-text { margin-top: 16px; }
.booking-card { scroll-margin-top: 96px; }
.header-action { display: inline-flex; align-items: center; gap: 8px; }
.header-action > span { flex-shrink: 0; }
.date-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  overflow: visible;
  padding: 4px 0;
  margin: 0 -4px 28px;
}
.calendar-toolbar { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin: 14px 0 6px; text-align: center; }
.calendar-toolbar strong { color: var(--blue); font-size: 18px; }
.calendar-toolbar button { width: 34px; height: 34px; border: 1px solid var(--blue); background: #fff; color: var(--blue); font-size: 18px; font-weight: 800; cursor: pointer; }
.calendar-toolbar button:disabled { border-color: var(--line); color: #a7b0c1; cursor: default; }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin: 0 -4px 6px; }
.calendar-weekdays span { color: var(--muted); font-size: 9px; font-weight: 800; text-align: center; text-transform: uppercase; }

.date-button {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--blue);
  min-height: 69px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.date-button strong.date-day {
  display: block;
  padding: 8px 0 0;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -2px;
}

.date-button .date-availability { display: block; padding: 1px 2px 7px; color: var(--blue); font-size: 8px; font-weight: 800; line-height: 1.15; }
.date-button.past { border-color: #d7dce5; background: #f1f3f6; color: #97a0ad; cursor: not-allowed; }
.date-button.past .date-day,.date-button.past .date-availability { color: #97a0ad; }
.date-button.dimmed {
  animation: none;
  background: #f1f3f6;
  border-color: #d7dce5;
  box-shadow: none;
  color: #97a0ad;
}
.date-button.dimmed .date-day,
.date-button.dimmed .date-availability {
  color: #97a0ad;
}
.date-button.outside-month { opacity: .72; }
.date-button.low-availability { border-color: var(--red); animation: lowAvailabilityPulse 1s ease-in-out infinite; }
.date-button.low-availability .date-availability { color: var(--red); }
.date-button.dimmed.low-availability {
  animation: none;
  border-color: #d7dce5;
}
.date-button.dimmed:hover {
  box-shadow: none;
  transform: none;
}
@keyframes lowAvailabilityPulse { 50% { box-shadow: 0 0 0 4px rgba(227,30,53,.18); } }
@media (prefers-reduced-motion: reduce) { .date-button.low-availability { animation: none; } }

.date-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 #cbdcff;
}

.date-button.active {
  background: #fff0f2;
  border-color: #e31e35;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e31e35;
  transform: translateY(-2px);
}

.date-button.active .date-day { color: #e31e35; }
.date-button.active .date-availability { color: #e31e35; }

.date-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.schedule-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  background: #eaf1ff;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.5;
}
.schedule-message.error { color: #e31e35; }
.time-head {
  align-items: stretch;
  background: #eaf1ff;
  border-left: 5px solid var(--red);
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr;
  margin: 26px 0 14px;
  padding: 14px 16px;
}
.time-head strong {
  color: var(--blue);
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.time-head span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}
body.night-mode .time-head {
  background: #0a2850;
}
body.night-mode .date-button.dimmed {
  background: #111d2d;
  border-color: #2b3d55;
}
body.night-mode .date-button.dimmed .date-day,
body.night-mode .date-button.dimmed .date-availability {
  color: #73839a;
}
.selected-schedule {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: 150px minmax(0, 1fr);
}
.selected-date-card {
  align-items: center;
  align-self: start;
  background: #fff0f2;
  border: 2px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(227, 30, 53, .18);
  color: var(--red);
  display: grid;
  justify-items: center;
  min-height: 124px;
  padding: 18px 10px;
  text-align: center;
}
.selected-date-card[hidden] {
  display: none;
}
.selected-date-card strong {
  font-size: 54px;
  font-weight: 800;
  line-height: .9;
}
.selected-date-card span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
.selected-schedule .time-list {
  grid-template-columns: 1fr;
}
body.night-mode .selected-date-card {
  background: #351624;
  box-shadow: 0 0 0 3px #071c36, 0 0 0 5px rgba(227, 30, 53, .35);
}

.summary > div { gap: 16px; align-items: baseline; }
.summary > div > strong { text-align: right; overflow-wrap: anywhere; }
.summary .summary-total {
  margin-top: 14px;
  padding-top: 20px;
  border-top: 2px solid var(--blue);
  color: var(--blue);
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}
.summary-total > span > small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 400;
}
.summary .summary-total > strong {
  color: #e31e35;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  white-space: nowrap;
}
.summary-total > strong > small { font-size: 12px; }
footer > a:not(.brand) { color: var(--white); font-size: 11px; font-weight: 800; text-decoration: none; }

.commune-search-label {
  color: var(--blue);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.commune-search {
  appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
  outline: 0;
  padding: 14px 16px;
  width: 100%;
}
.commune-search:focus {
  border: 2px solid var(--blue);
  padding: 13px 15px;
}
.commune-search::placeholder {
  color: var(--muted);
  font-weight: 600;
}
.booking-map-selector .map-zone.filtered-out {
  opacity: .72;
}
.booking-map-selector .map-zone.filtered-out path {
  fill: #f1f3f6;
  stroke: #d7dce5;
}
.booking-map-selector .map-zone.filtered-out text {
  fill: #97a0ad;
}
body.night-mode .commune-search {
  background: #071c36;
  color: var(--ink);
}
body.night-mode .booking-map-selector .map-zone.filtered-out path {
  fill: #111d2d;
  stroke: #2b3d55;
}
body.night-mode .booking-map-selector .map-zone.filtered-out text {
  fill: #73839a;
}

@media (max-width: 520px) {
  .whatsapp-direct {
    bottom: 23px;
    height: 56px;
    right: 102px;
    width: 56px;
  }
  .whatsapp-direct svg {
    height: 31px;
    width: 31px;
  }
  .date-list { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .calendar-weekdays { gap: 4px; }
  .calendar-weekdays span { font-size: 8px; }
  .date-button { min-height: 57px; }
  .date-button strong.date-day { padding-top: 6px; font-size: 20px; }
  .date-button .date-availability { min-height: 16px; padding: 1px; font-size: 6px; }
  .time-head { margin-top: 22px; padding: 12px; }
  .time-head span { font-size: 15px; }
  .selected-schedule {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
  }
  .selected-date-card {
    min-height: 112px;
    padding: 14px 8px;
  }
  .selected-date-card strong {
    font-size: 42px;
  }
  .selected-date-card span {
    font-size: 9px;
  }
  .summary .summary-total { gap: 12px; flex-wrap: wrap; }
  .summary .summary-total > strong { font-size: 26px; }
}

/* Tipografia global: Helvetica primero, con respaldos seguros del sistema. */
body,
body *:not(svg):not(path),
button,
input,
select,
textarea,
.button,
.step,
.time-button,
.plate-field input,
.summary strong,
.payment-label,
.queue-loader > strong,
.vehicle-item strong,
.feature-icon,
.fine-amount,
.map-zone text,
.tracking-map text {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif !important;
}
