/* ============================================================
   Miami Fresh Laundry — Página de agenda (mobile-first, visual)
   ============================================================ */

:root {
  --c-navy: #1F3A4A;
  --c-primary: #2C6B82;
  --c-primary-dark: #1F4E60;
  --c-primary-light: #4A92AB;
  --c-teal-soft: #A4D4DE;
  --c-accent: #E8A5B0;
  --c-accent-soft: #FAD8DD;
  --c-cream: #F5EFE6;
  --c-cream-dark: #E8DFD0;
  --c-bg: #F4F8FA;
  --c-card: #ffffff;
  --c-text: #1A3A4A;
  --c-text-soft: #6B7E88;
  --c-border: #E1EAEE;
  --shadow-sm: 0 2px 8px rgba(28,75,95,0.06);
  --shadow-md: 0 8px 24px rgba(28,75,95,0.10);
  --shadow-lg: 0 24px 60px rgba(28,75,95,0.18);
  --shadow-card: 0 1px 3px rgba(28,75,95,0.06), 0 8px 28px rgba(28,75,95,0.06);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
}

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

html { scroll-behavior: smooth; }

html { overflow-x: hidden; } /* aquí, no en body — body con overflow-x rompe position:fixed en iOS Safari */
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--c-text);
  background:
    radial-gradient(ellipse at top, #E0EEF3 0%, var(--c-bg) 60%),
    var(--c-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100dvh;
  letter-spacing: -0.01em;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; } /* asegura ocultamiento aunque haya display:flex/grid */

/* ===== Accesibilidad: focus visible solo para teclado ===== */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--c-primary-light);
  outline-offset: 2px;
  border-radius: 8px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--c-primary-light);
  outline-offset: 2px;
}

/* ===== Respeta prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bubbles { display: none !important; } /* no distraer a quien pidió menos movimiento */
}

/* Burbujas de fondo (suben continuamente, siempre visibles) */
.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bubbles .b {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background:
    /* Brillo principal (arriba-izquierda) */
    radial-gradient(circle at 28% 28%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.55) 16%, rgba(255,255,255,0) 38%),
    /* Tinte iridiscente sutil */
    radial-gradient(circle at 70% 70%, rgba(168, 218, 230, 0.4), transparent 60%),
    /* Base translúcida */
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.55) 50%, rgba(74,146,171,0.18) 90%, rgba(74,146,171,0.05) 100%);
  border: 1.2px solid rgba(74, 146, 171, 0.35);
  box-shadow:
    inset -4px -4px 12px rgba(74, 146, 171, 0.20),
    inset 4px 4px 10px rgba(255, 255, 255, 0.85),
    0 6px 16px rgba(28, 75, 95, 0.10);
  opacity: 0;
  animation: rise linear infinite;
  will-change: transform, opacity;
}
.bubbles .b::after {
  content: '';
  position: absolute;
  top: 16%;
  left: 20%;
  width: 28%;
  height: 22%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
/* Delays NEGATIVOS para que ya estén a media animación al cargar la página
   (cada burbuja arranca como si llevara N segundos animándose) */
.bubbles .b1  { width: 50px; height: 50px; left: 5%;  animation-duration: 18s; animation-delay:  -3s; }
.bubbles .b2  { width: 32px; height: 32px; left: 18%; animation-duration: 14s; animation-delay:  -8s; }
.bubbles .b3  { width: 64px; height: 64px; left: 38%; animation-duration: 22s; animation-delay: -12s; }
.bubbles .b4  { width: 28px; height: 28px; left: 60%; animation-duration: 13s; animation-delay:  -2s; }
.bubbles .b5  { width: 72px; height: 72px; left: 78%; animation-duration: 24s; animation-delay: -16s; }
.bubbles .b6  { width: 40px; height: 40px; left: 90%; animation-duration: 16s; animation-delay: -10s; }
.bubbles .b7  { width: 22px; height: 22px; left: 28%; animation-duration: 10s; animation-delay:  -5s; }
.bubbles .b8  { width: 56px; height: 56px; left: 50%; animation-duration: 20s; animation-delay: -14s; }
.bubbles .b9  { width: 34px; height: 34px; left: 12%; animation-duration: 15s; animation-delay:  -7s; }
.bubbles .b10 { width: 44px; height: 44px; left: 70%; animation-duration: 17s; animation-delay: -13s; }
.bubbles .b11 { width: 26px; height: 26px; left: 45%; animation-duration: 11s; animation-delay:  -9s; }
.bubbles .b12 { width: 38px; height: 38px; left: 85%; animation-duration: 19s; animation-delay: -17s; }

@keyframes rise {
  0%   { transform: translate3d(0, 0, 0) scale(0.85);                opacity: 0; }
  8%   {                                                              opacity: 0.95; }
  50%  { transform: translate3d(20px, -55vh, 0) scale(1);            opacity: 0.9; }
  92%  {                                                              opacity: 0.75; }
  100% { transform: translate3d(-15px, -115vh, 0) scale(1.1);        opacity: 0; }
}

/* ====== Contenedor "phone" ====== */
.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: transparent;
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
}

/* ====== Selector de idioma (flotante) ====== */
.lang {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  z-index: 60;
  display: flex;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(225, 234, 238, 0.8);
  border-radius: var(--r-pill);
  padding: 3px;
  box-shadow: var(--shadow-md);
}
.lang__btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-soft);
  border-radius: var(--r-pill);
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.lang__btn.active {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ====== Hero ====== */
.hero {
  text-align: center;
  padding: 28px 22px 20px;
  background: linear-gradient(180deg, #EAF3F6 0%, transparent 100%);
}
.hero__logo {
  width: 130px;
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 4px 10px rgba(28,75,95,0.12));
}
.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 800;
  color: var(--c-primary-dark);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.hero__sub {
  font-size: 14.5px;
  color: var(--c-text-soft);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.45;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.pill__icon { font-size: 14px; }

/* Progreso (4 puntos) */
.progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  transition: all 0.3s;
}
.dot.active {
  background: var(--c-primary);
  width: 24px;
  border-radius: var(--r-pill);
}
.dot.done {
  background: var(--c-primary-light);
}

/* ====== Owner intro ====== */
.owner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 18px 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.owner__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(28,75,95,0.18);
}
.owner__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.owner__text small {
  font-size: 11.5px;
  color: var(--c-text-soft);
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}
.owner__text strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: -0.2px;
}
.owner__text span {
  font-family: 'Allura', cursive;
  font-size: 20px;
  color: var(--c-accent);
  margin-top: 2px;
  line-height: 1;
}

/* ====== Pricing ====== */
.pricing {
  margin: 4px 18px 16px;
  padding: 18px 16px 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.pricing__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pricing__icon { font-size: 22px; }
.pricing__head h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: -0.2px;
}

.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #F8FBFC 0%, #EAF3F6 100%);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 14px 10px 12px;
  text-align: center;
}
.price--express {
  background: linear-gradient(180deg, #FFF8EC 0%, #FFE9C0 100%);
  border-color: #F0C155;
}
.price__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  margin-bottom: 2px;
  min-height: 52px; /* asegura altura uniforme: emoji + título */
}
.price__emoji { font-size: 20px; line-height: 1; }
.price__top strong {
  font-size: 14px;
  color: var(--c-primary-dark);
  font-weight: 700;
}
.price__badge {
  font-size: 9px;
  padding: 2px 6px;
  background: #E8A926;
  color: #fff;
  border-radius: var(--r-pill);
  letter-spacing: 0.6px;
  font-weight: 700;
  text-transform: uppercase;
}
.price__amount {
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}
.price__money {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-primary-dark);
  letter-spacing: -1px;
}
.price__per {
  font-size: 12px;
  color: var(--c-text-soft);
  font-weight: 600;
}
.price__meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  color: var(--c-text-soft);
  line-height: 1.3;
}

.zones {
  background: rgba(28, 75, 95, 0.04);
  border-radius: var(--r-sm);
  padding: 12px 12px 10px;
}
.zones__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.zones__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zones__list li {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
}
.zones__list li > strong {
  font-weight: 600;
  color: var(--c-primary-dark);
}
.zones__list li > span:not(.zones__price) {
  color: var(--c-text-soft);
  font-size: 11.5px;
}

/* Mínimos por servicio (debajo de la tabla de zonas) */
.mins {
  margin-top: 14px;
  padding: 12px 14px 10px;
  background: linear-gradient(135deg, #F0F9FB 0%, #E5F2F5 100%);
  border: 1px solid var(--c-teal-soft);
  border-radius: var(--r-md);
}
.mins__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}
.mins__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}
.mins__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.mins__svc { color: var(--c-text); }
.mins__svc strong { color: var(--c-primary-dark); font-weight: 700; margin-left: 4px; }
.mins__val {
  font-weight: 700;
  color: var(--c-primary-dark);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mins__foot {
  font-size: 10.5px;
  color: var(--c-text-soft);
  text-align: right;
  letter-spacing: 0.3px;
  font-style: italic;
}
.zones__price {
  font-weight: 700;
  color: var(--c-primary);
  text-align: right;
  font-size: 12.5px;
}

.pricing__note {
  font-size: 11.5px;
  color: var(--c-text-soft);
  margin-top: 12px;
  text-align: center;
  line-height: 1.45;
}
.pricing__note strong {
  color: var(--c-primary-dark);
  font-weight: 600;
}
/* Banner prominente: regla de mínimos por zona */
.pricing__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #FFF4DA 0%, #FFE9B5 100%);
  border: 1.5px solid #F0C155;
  border-radius: var(--r-md);
  box-shadow: 0 3px 10px rgba(232, 169, 38, 0.15);
}
.pricing__rule-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.pricing__rule > div { flex: 1; min-width: 0; line-height: 1.3; }
.pricing__rule > div > strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #6B4309;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.pricing__rule > div > span {
  display: block;
  font-size: 13.5px;
  color: var(--c-text);
  font-weight: 500;
}
.pricing__rule > div > span strong {
  color: var(--c-primary-dark);
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1em;
  margin: 0;
  display: inline;
}

/* ====== Form ====== */
.form { padding: 8px 18px 24px; }

/* ====== Step (sección numerada) ====== */
.step {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.step.active {
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(74,146,171,0.12), var(--shadow-md);
}
.step.done {
  background: linear-gradient(180deg, #F0F9FB 0%, #fff 100%);
  border-color: var(--c-teal-soft);
}

.step__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.step__num {
  width: 36px;
  height: 36px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  transition: background 0.25s;
}
.step.done .step__num { background: var(--c-primary-light); }
.step__head h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.2;
}
.step__head p {
  font-size: 12.5px;
  color: var(--c-text-soft);
  margin-top: 2px;
}
.step__icon {
  font-size: 28px;
  opacity: 0.85;
}

/* ====== Fields ====== */
.field {
  display: block;
  margin-bottom: 14px;
}
.field > span:not(.ac-spinner),
.field__label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-primary-dark);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.opt {
  font-weight: 400;
  color: var(--c-text-soft);
  font-size: 11.5px;
  letter-spacing: 0;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px; /* evita zoom iOS */
  color: var(--c-text);
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 4px rgba(74,146,171,0.15);
}
.field input.error,
.field textarea.error,
.slots.error,
.services.error {
  border-color: #d9534f !important;
  background: #fff5f5;
  animation: shake 0.4s;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.field textarea { resize: vertical; min-height: 90px; }

/* Date input — fix de overflow (especialmente iOS Safari) */
.field input[type="date"] {
  padding-right: 8px;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input[type="date"]::-webkit-calendar-picker-indicator {
  margin-left: auto;
  padding: 4px;
  cursor: pointer;
  opacity: 0.6;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 360px) {
  .field-grid { grid-template-columns: 1fr; }
}

/* ====== Botón Usar mi ubicación ====== */
.geo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #F0F9FB 0%, #E0EFF3 100%);
  border: 1.5px solid var(--c-teal-soft);
  border-radius: var(--r-md);
  color: var(--c-primary-dark);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.geo-btn:hover {
  background: linear-gradient(135deg, #E0EFF3 0%, #CDE2E8 100%);
  box-shadow: var(--shadow-sm);
}
.geo-btn:active { transform: scale(0.98); }
.geo-btn--loading { pointer-events: none; opacity: 0.75; }
.geo-btn--loading .geo-btn__icon { display: none; }
.geo-btn__icon { font-size: 16px; line-height: 1; }
.geo-btn__spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid var(--c-teal-soft);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.geo-btn--loading .geo-btn__spinner { display: inline-block; }

/* ====== Tarjeta de resultado de zona ====== */
.zone-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--c-border);
  background: var(--c-bg);
  animation: dropIn 0.25s ease-out;
}
.zone-result__icon {
  width: 38px; height: 38px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.zone-result__body {
  flex: 1;
  line-height: 1.2;
  min-width: 0;
}
.zone-result__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary-dark);
}
.zone-result__details {
  display: block;
  font-size: 12px;
  color: var(--c-text-soft);
  margin-top: 2px;
}
.zone-result__fee {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-primary-dark);
  white-space: nowrap;
}

/* Variantes por zona */
.zone-result--near {
  background: linear-gradient(135deg, #E8F8EC 0%, #CDF0D5 100%);
  border-color: #25D366;
}
.zone-result--near .zone-result__icon { background: #25D366; }
.zone-result--near .zone-result__fee { color: #0F7B33; }

.zone-result--mid {
  background: linear-gradient(135deg, #FFF8EC 0%, #FFE9C0 100%);
  border-color: #F0C155;
}
.zone-result--mid .zone-result__icon { background: #E8A926; }
.zone-result--mid .zone-result__fee { color: #8B5A12; }

.zone-result--far {
  background: linear-gradient(135deg, #FFEFE5 0%, #FED9C5 100%);
  border-color: #E8945C;
}
.zone-result--far .zone-result__icon { background: #D67A3F; }
.zone-result--far .zone-result__fee { color: #8B4318; }

.zone-result--ext {
  background: linear-gradient(135deg, #F5EFFC 0%, #E0CFEF 100%);
  border-color: #A674C2;
}
.zone-result--ext .zone-result__icon { background: #8B5BA8; }
.zone-result--ext .zone-result__fee { color: #5A3475; }

.zone-result--error {
  background: #fff5f5;
  border-color: #d9534f;
}
.zone-result--error .zone-result__icon { background: #d9534f; }
.zone-result--error .zone-result__fee { display: none; }

.zone-result--loading {
  background: var(--c-bg-soft);
}
.zone-result--loading .zone-result__icon {
  background: transparent;
  border: 2px solid var(--c-border);
  border-top-color: var(--c-primary);
  animation: spin 0.8s linear infinite;
  color: transparent;
}

/* ====== Autocompletado de dirección ====== */
.field--ac { position: relative; }
.field--ac input { padding-right: 42px; }

.ac-spinner {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid var(--c-border);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
  pointer-events: none;
}
.field--ac.loading .ac-spinner { display: block; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  z-index: 60;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: dropIn 0.18s ease-out;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.suggest li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.15s;
}
.suggest li:last-child { border-bottom: none; }
.suggest li:hover,
.suggest li.active { background: #F0F9FB; }
.suggest__icon {
  width: 32px;
  height: 32px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.suggest__body { line-height: 1.25; min-width: 0; }
.suggest__body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggest__body small {
  display: block;
  font-size: 12px;
  color: var(--c-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.suggest__empty {
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--c-text-soft);
}

/* ====== Slots horarias (super visuales) ====== */
.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-radius: var(--r-md);
  padding: 4px;
  margin: -4px;
}
.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px 12px;
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  transition: all 0.2s;
  text-align: center;
}
.slot:hover { border-color: var(--c-primary-light); }
.slot__emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
  transition: transform 0.25s;
}
.slot:hover .slot__emoji { transform: scale(1.1); }
.slot__time {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary-dark);
}
.slot__period {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--c-text-soft);
}
.slot.active {
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-color: var(--c-primary-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(44,107,130,0.35);
  transform: translateY(-2px);
}
.slot.active .slot__time,
.slot.active .slot__period { color: #fff; }
.slot.active .slot__period { color: rgba(255,255,255,0.85); }
.slot.active::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* ====== Servicios — Regular / Express / Otro ====== */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.svc-opt {
  position: relative;
  padding: 14px 12px 12px;
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  text-align: center;
  transition: all 0.2s;
}
.svc-opt:hover { border-color: var(--c-primary-light); }

.svc-opt__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}
.svc-opt__emoji { font-size: 22px; line-height: 1; }
.svc-opt__head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary-dark);
}
.svc-opt__price {
  margin: 4px 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-primary-dark);
  letter-spacing: -0.5px;
  line-height: 1;
}
.svc-opt__price small {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-text-soft);
  letter-spacing: 0;
  margin-left: 2px;
}
.svc-opt__time {
  display: block;
  font-size: 11px;
  color: var(--c-text-soft);
  margin-top: 2px;
}
.svc-opt__check {
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  border: 2px solid var(--c-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: transparent;
  font-weight: 800;
  transition: all 0.2s;
  background: #fff;
}

.svc-opt.active {
  background: linear-gradient(180deg, #F0F9FB 0%, #fff 100%);
  border-color: var(--c-primary);
  box-shadow: 0 6px 18px rgba(44,107,130,0.18);
}
.svc-opt.active .svc-opt__check {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.svc-opt--express { background: linear-gradient(180deg, #FFFBF1 0%, #FFF6E2 100%); }
.svc-opt--express.active {
  background: linear-gradient(180deg, #FFF8EC 0%, #FFE9C0 100%);
  border-color: #E8A926;
  box-shadow: 0 6px 18px rgba(232,169,38,0.25);
}
.svc-opt--express.active .svc-opt__check {
  background: #E8A926;
  border-color: #E8A926;
}

/* Otro: tarjeta full-width estilo lista */
.svc-other {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  text-align: left;
  transition: all 0.2s;
}
.svc-other:hover { border-color: var(--c-primary-light); }
.svc-other__emoji {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--c-bg);
  border-radius: 12px;
  font-size: 22px;
}
.svc-other__body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary-dark);
}
.svc-other__body small {
  font-size: 12px;
  color: var(--c-text-soft);
}
.svc-other__check {
  width: 22px; height: 22px;
  border: 2px solid var(--c-border);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  color: transparent;
  font-weight: 800;
  transition: all 0.2s;
}
.svc-other.active {
  background: linear-gradient(180deg, #F0F9FB 0%, #fff 100%);
  border-color: var(--c-primary);
}
.svc-other.active .svc-other__emoji { background: var(--c-primary); transform: scale(1.05); }
.svc-other.active .svc-other__check {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ====== Cantidad de libras ====== */
.lbs { margin-bottom: 14px; }
.lbs__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.lbs__input-wrap input {
  padding-right: 44px !important;
}
.lbs__unit {
  position: absolute;
  right: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary);
  pointer-events: none;
}
.lbs__chips {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 7px 12px;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-primary-dark);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.chip:hover { border-color: var(--c-primary-light); }
.chip.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.chip--unknown {
  border-style: dashed;
  color: var(--c-text-soft);
  background: rgba(28, 75, 95, 0.04);
}
.chip--unknown.active {
  background: var(--c-text-soft);
  border-color: var(--c-text-soft);
  border-style: solid;
  color: #fff;
}

/* Aviso cuando libras < mínimo del servicio */
.lbs-warn {
  position: relative;
  margin-top: 10px;
  padding: 10px 12px 10px 36px;
  background: #FFF4E5;
  border: 1px solid #F0B96B;
  border-radius: var(--r-sm);
  color: #8B5A12;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  animation: dropIn 0.25s ease-out;
}
.lbs-warn::before {
  content: '⚠️';
  font-size: 14px;
  position: absolute;
  left: 12px;
  top: 10px;
}
.lbs-warn strong { color: #6B4309; font-weight: 700; }

/* ====== Tarjeta de resumen / total ====== */
.summary {
  margin-bottom: 14px;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, #F0F9FB 0%, #E5F2F5 100%);
  border: 1.5px solid var(--c-teal-soft);
  border-radius: var(--r-md);
  animation: dropIn 0.25s ease-out;
}
.summary__title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--c-text-soft);
  padding: 4px 0;
  gap: 10px;
}
.summary__row[hidden] { display: none; }
.summary__label { flex: 1; min-width: 0; }
.summary__amount {
  font-weight: 600;
  color: var(--c-primary-dark);
  white-space: nowrap;
}
.summary__row--total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1.5px dashed rgba(44,107,130,0.25);
  font-size: 16px;
}
.summary__row--total strong:first-child { color: var(--c-primary-dark); font-weight: 700; }
.summary__grand {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-primary-dark);
  letter-spacing: -0.5px;
}
.summary__note {
  font-size: 11px;
  color: var(--c-text-soft);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}
.summary__note--warn {
  font-style: normal;
  font-size: 12px;
  background: #FFF4E5;
  border: 1px solid #F0B96B;
  color: #6B4309;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  line-height: 1.4;
  text-align: left;
}
.summary__note--warn strong { color: #4F3000; font-weight: 700; }

.field--notes { margin-top: 4px; margin-bottom: 0; }

/* ====== Submit ====== */
.submit-wrap {
  margin-top: 24px;
  padding-bottom: env(safe-area-inset-bottom);
}
.submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 32px rgba(44,107,130,0.4);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(44,107,130,0.5);
}
.submit:active { transform: translateY(0); filter: brightness(0.95); }
.submit:disabled { cursor: not-allowed; opacity: 0.75; transform: none; }
.submit__arrow {
  font-size: 18px;
  transition: transform 0.25s;
}
.submit:hover:not(:disabled) .submit__arrow { transform: translateX(4px); }

/* Estado loading: spinner reemplaza la flecha */
.submit--loading .submit__arrow {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  font-size: 0;
}

.hint {
  text-align: center;
  font-size: 11.5px;
  color: var(--c-text-soft);
  margin-top: 10px;
}

/* ====== Contacto directo ====== */
.directs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px;
}
.direct {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #F0F9FB 0%, #E5F2F5 100%);
  border: 1px solid var(--c-teal-soft);
  border-radius: var(--r-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.direct:hover { box-shadow: var(--shadow-sm); }
.direct--wa {
  background: linear-gradient(135deg, #E5F8EA 0%, #C9EFD3 100%);
  border-color: #25D366;
}
.direct--wa .direct__icon { background: #25D366; }
.direct--wa .direct__text strong { color: #075E54; }
.direct--wa .direct__arrow { color: #128C7E; }
.direct:active { transform: scale(0.98); }
.direct__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--c-primary);
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.direct__text { flex: 1; line-height: 1.2; }
.direct__text small {
  display: block;
  font-size: 11.5px;
  color: var(--c-text-soft);
  margin-bottom: 2px;
}
.direct__text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary-dark);
}
.direct__arrow {
  font-size: 18px;
  color: var(--c-primary);
}

/* ====== Footer ====== */
.footer {
  text-align: center;
  padding: 22px 18px 30px;
  color: var(--c-text-soft);
}
.footer__brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.footer__tag {
  font-family: 'Allura', cursive;
  font-size: 22px;
  color: var(--c-accent);
  margin-bottom: 10px;
  line-height: 1;
}
.footer__tag em { font-style: normal; }
.footer__copy { font-size: 11px; }
.heart { color: var(--c-accent); }

/* ====== Mejoras de UX: time hint, validación, fechas rápidas, badge, mapa, reseñas, FAQ, modal ====== */

.time-hint {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--c-text-soft);
  letter-spacing: 0.3px;
}

.field input.valid {
  border-color: #25D366;
  background: linear-gradient(180deg, #fff, #F0F9F2);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 38px !important;
}

.date-quick-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.date-quick { font-size: 12.5px; }
.date-quick.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.svc-opt__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 10px rgba(44,107,130,0.3);
  white-space: nowrap;
}

.dropoff {
  margin-top: 14px;
  padding: 12px 12px 10px;
  background: rgba(28, 75, 95, 0.03);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-md);
}
.dropoff__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-primary-dark);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.dropoff__label .opt {
  font-weight: 400;
  color: var(--c-text-soft);
  font-size: 11.5px;
}
.dropoff__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.dropoff-chip { font-size: 12px; }
.dropoff-chip.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.dropoff input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 14px;
  color: var(--c-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dropoff input:focus {
  outline: none;
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 4px rgba(74,146,171,0.15);
}

.map-preview {
  margin-top: 14px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1.5px solid var(--c-border);
  background: var(--c-bg);
  animation: dropIn 0.3s ease-out;
}
.map-preview__label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c-primary-dark);
  padding: 8px 12px;
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--c-border);
  letter-spacing: 0.3px;
}
.map-preview__hint {
  font-weight: 400;
  color: var(--c-text-soft);
  font-style: italic;
  margin-left: 4px;
}
.map-preview__map {
  width: 100%;
  height: 220px;
  cursor: grab;
}
.map-preview__map:active { cursor: grabbing; }
/* Leaflet: pulir un poco la integración visual */
.leaflet-container {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  background: #DCEBEF !important;
}
.leaflet-control-attribution {
  font-size: 9px !important;
  background: rgba(255,255,255,0.7) !important;
}

.reviews {
  margin: 8px 18px 18px;
  padding: 18px 16px 14px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.reviews__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.review {
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-border);
}
.review:last-of-type { border-bottom: none; padding-bottom: 0; }
.review:first-of-type { padding-top: 0; }
.review__stars {
  color: #F0C155;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.review__text {
  font-size: 13px;
  color: var(--c-text);
  line-height: 1.45;
  font-style: italic;
}
.review__name {
  font-size: 12px;
  color: var(--c-text-soft);
  font-weight: 600;
  margin-top: 4px;
}

.faq {
  margin: 8px 18px 18px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.faq__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__item:last-of-type { border-bottom: none; }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-primary-dark);
  text-align: left;
  cursor: pointer;
}
.faq__chevron {
  font-size: 22px;
  color: var(--c-primary);
  transition: transform 0.2s;
  font-weight: 300;
  line-height: 1;
}
.faq__item.open .faq__chevron { transform: rotate(45deg); }
.faq__a {
  font-size: 12.5px;
  color: var(--c-text-soft);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faq__item.open .faq__a { max-height: 200px; padding: 0 0 14px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 58, 74, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: dropIn 0.3s ease-out;
}
.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  background: #E8F8EC;
  border: 2px solid #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
}
.modal__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 8px;
}
.modal__body {
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.5;
  margin-bottom: 18px;
}
.modal__close {
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(44,107,130,0.3);
  transition: transform 0.15s;
}
.modal__close:active { transform: scale(0.97); }

/* ====== Responsive: escritorio ====== */
@media (min-width: 720px) {
  body { padding: 30px 0; }
  .phone {
    margin: 20px auto;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: auto;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

@media (min-width: 1100px) {
  body {
    background:
      radial-gradient(ellipse at top, #DCEBF0 0%, var(--c-bg) 60%),
      var(--c-bg);
  }
}
