:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #1e3a8a;
  --border: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #ffffff;
  color: var(--text);
  border: 2px solid var(--brand);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  z-index: 100;
}

.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0f172a;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  height: clamp(200px, 30vw, 320px);
  display: flex;
  align-items: flex-end;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.45));
  z-index: 1;
  pointer-events: none;
}

.header-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: min(1120px, 92%);
  margin: 0 auto;
  left: 0;
  right: 0;
}

.header-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  animation: header-fade 24s infinite;
  will-change: opacity;
}

.header-slide--1 {
  animation-delay: 0s;
}

.header-slide--2 {
  animation-delay: 8s;
}

.header-slide--3 {
  animation-delay: 16s;
}

@keyframes header-fade {
  0% {
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  38% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.85rem;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 10px;
  margin: 0 auto 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .header-slide {
    animation: none;
    opacity: 0;
  }

  .header-slide--1 {
    opacity: 1;
  }
}

.header-identity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 1.05rem;
}

.header-logo {
  width: 38px;
  height: 38px;
  display: block;
}

.header-identity span {
  color: var(--brand);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

nav a:hover {
  color: var(--brand);
}

/* --- Hamburger (hidden on desktop) --- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger__bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active .hamburger__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active .hamburger__bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

a:focus-visible,
.action-button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

.hero-section {
  padding: 5rem 0 4rem;
}

.hero-section__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-section__eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.2;
}

.hero-section__text {
  color: var(--muted);
  max-width: 60ch;
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.action-button {
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.action-button-brand {
  background: var(--brand);
  color: #ffffff;
}

.action-button-brand:hover {
  background: #172554;
}

.action-button-outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-section__panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.hero-section__panel h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.hero-section__panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

section {
  padding: 3.5rem 0;
}

section[id],
article[id] {
  scroll-margin-top: clamp(210px, 31vw, 330px);
}

.section-heading {
  margin: 0 0 0.8rem;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

.section-description {
  color: var(--muted);
  max-width: 68ch;
}

.services-groups {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.service-group {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}

.service-group--electric {
  border-left: 6px solid #16a34a;
}

.service-group--combustion {
  border-left: 6px solid #f97316;
}

.service-group__heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.service-group__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-group__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.service-group__title {
  margin: 0;
  font-size: 1.2rem;
}

.service-group__tag {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25px;
}

.service-group--electric .service-group__icon {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.service-group--electric .service-group__tag {
  background: rgba(22, 163, 74, 0.16);
  color: #166534;
}

.service-group--combustion .service-group__icon {
  background: rgba(249, 115, 22, 0.14);
  color: #c2410c;
}

.service-group--combustion .service-group__tag {
  background: rgba(249, 115, 22, 0.16);
  color: #9a3412;
}

.service-group__intro {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
}

.service-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.benefit-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.benefit-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--brand);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  max-width: 62ch;
}

.about-text p + p {
  margin-top: 0.6rem;
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.about-highlights li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.about-highlights li strong {
  color: var(--brand);
  display: block;
  margin-bottom: 0.1rem;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.location-map {
  border-radius: 10px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--border);
}

.location-map iframe {
  display: block;
}

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details-list li + li {
  margin-top: 0.6rem;
}

.contact-details-list a {
  color: var(--text);
}

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 1.2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.floating-contact {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.floating-contact__button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.24);
}

.floating-contact__button svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.floating-contact__button--whatsapp {
  background: #25d366;
}

.floating-contact__button--phone {
  background: var(--brand);
}

@media (max-width: 960px) {
  .hero-section__layout,
  .contact-grid,
  .about-layout,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  header {
    overflow: visible;
    height: auto;
    min-height: clamp(200px, 30vw, 320px);
  }

  .header-nav {
    flex-wrap: wrap;
    gap: 0;
  }

  #mainNav {
    display: none;
    width: 100%;
    order: 3;
  }

  #mainNav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0;
  }

  nav a {
    display: block;
    padding: 0.7rem 0.4rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
  }

  nav li:first-child a {
    border-top: none;
  }
}

@media (max-width: 640px) {
  header {
    min-height: 220px;
  }

  .header-nav {
    padding: 0.55rem 0.65rem;
    margin-bottom: 0.3rem;
  }

  .header-identity {
    gap: 0.45rem;
    font-size: 1rem;
  }

  .header-logo {
    width: 32px;
    height: 32px;
  }

  .services-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 3.5rem;
  }

  .service-group__heading {
    align-items: flex-start;
  }

  .floating-contact {
    right: 0.7rem;
    bottom: 0.85rem;
    gap: 0.5rem;
  }

  .floating-contact__button {
    width: 50px;
    height: 50px;
  }

  .floating-contact__button svg {
    width: 24px;
    height: 24px;
  }
}

/* ============================================
   Sistema de reserva y pago
   ============================================ */

/* --- Header simplificado para subpáginas --- */
.inner-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0f172a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  height: auto;
  padding: 0;
  display: block;
  overflow: visible;
}

.inner-header::after {
  display: none;
}

.inner-header .header-nav {
  margin: 0 auto;
}

/* --- Indicador de pasos --- */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 2rem 0 2.5rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.25s ease;
}

.step.active {
  background: var(--brand);
  color: #ffffff;
}

.step.completed {
  color: var(--brand);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.step.active .step-number {
  background: #ffffff;
  color: var(--brand);
  border-color: #ffffff;
}

.step.completed .step-number {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.step-line {
  width: 40px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.step-line.completed {
  background: var(--brand);
}

/* --- Sección de reserva --- */
.booking-section {
  padding: 2rem 0 4rem;
}

.booking-step {
  min-height: 320px;
}

.booking-step h2 {
  margin: 0 0 1.2rem;
  font-size: 1.3rem;
}

.hidden {
  display: none !important;
}

/* --- Tarjetas de servicios (seleccionables) --- */
.services-booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-option {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  font-size: inherit;
  color: var(--text);
  width: 100%;
}

.service-option:hover {
  border-color: var(--brand);
}

.service-option.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.18);
}

.service-option h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.service-option p {
  color: var(--muted);
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
}

.service-option__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-option__price {
  font-weight: 700;
  color: var(--brand);
  font-size: 1.15rem;
}

.service-option__duration {
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- Calendario --- */
.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.calendar-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.cal-nav {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.cal-nav:hover:not(:disabled) {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.cal-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
  color: var(--text);
}

.cal-day--empty {
  cursor: default;
}

.cal-day:hover:not(.cal-day--disabled):not(.cal-day--empty) {
  background: rgba(30, 58, 138, 0.1);
}

.cal-day--today {
  font-weight: 700;
  border: 2px solid var(--brand);
}

.cal-day--selected {
  background: var(--brand) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.cal-day--disabled {
  color: var(--border);
  cursor: default;
}

.cal-day--holiday {
  background: #fff3f3;
  color: #c0392b;
  text-decoration: line-through;
}

/* --- Franjas horarias --- */
.time-slots-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}

.time-slots-container h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.time-slot {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  text-align: center;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-family: inherit;
  color: var(--text);
}

.time-slot:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.time-slot.selected {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.time-slots-hint {
  color: var(--muted);
  font-style: italic;
  grid-column: 1 / -1;
  text-align: center;
  margin: 1rem 0;
}

/* --- Página de reserva --- */
.page-section {
  padding: 3rem 0;
}

.container-sm {
  max-width: 720px;
}

.section-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 2rem;
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.alert-error ul {
  margin: 0;
  padding-left: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  text-align: center;
  padding: 0.85rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- Formulario y resumen (paso 3) --- */
.booking-form-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.form-group textarea {
  resize: vertical;
}

/* --- Resumen de la reserva --- */
.booking-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  position: sticky;
  top: 5rem;
}

.booking-summary h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.summary-list {
  margin: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.summary-row dt {
  color: var(--muted);
  font-weight: 500;
}

.summary-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.summary-total {
  border-bottom: none;
  font-size: 1.15rem;
  padding-top: 0.8rem;
}

.summary-total dd {
  color: var(--brand);
}

.btn-full {
  width: 100%;
  text-align: center;
  margin-top: 1.2rem;
  padding: 0.85rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-full:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.summary-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* --- Navegación inferior --- */
.booking-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.booking-nav .action-button {
  cursor: pointer;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
}

/* --- Aviso de cancelación --- */
.cancel-notice {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 10px;
  color: #92400e;
}

.cancel-notice p {
  margin: 0;
}

/* --- Confirmación --- */
.confirmation-section {
  padding: 4rem 0;
  text-align: center;
}

.confirmation-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
}

.confirmation-card h1 {
  font-size: 1.6rem;
  margin: 1rem 0 0.5rem;
}

.confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.confirm-icon svg {
  width: 36px;
  height: 36px;
}

.confirm-icon--success {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.confirm-icon--error {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.confirm-details {
  text-align: left;
  margin: 1.5rem 0;
}

.confirm-email-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* --- Toast de notificación --- */
.booking-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  z-index: 100;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  max-width: 90vw;
}

.booking-toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- Textos de carga y error --- */
.loading-text {
  color: var(--muted);
  font-style: italic;
  text-align: center;
  padding: 2rem 0;
}

.error-text {
  color: #ef4444;
  text-align: center;
  padding: 2rem 0;
}

/* --- Responsive: reserva --- */
@media (max-width: 960px) {
  .services-booking-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-layout,
  .booking-form-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .services-booking-grid {
    grid-template-columns: 1fr;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-indicator {
    gap: 0;
  }

  .step-label {
    display: none;
  }

  .step {
    padding: 0.4rem 0.6rem;
  }

  .step-line {
    width: 24px;
  }

  .confirmation-card {
    padding: 1.5rem 1rem;
  }
}
