/* The original app toggles visibility by not rendering nodes (React).
   This static clone keeps them in the DOM, so [hidden] must always win. */
[hidden] {
  display: none !important;
}

/* <address> carries a browser default of italic; the design uses upright text. */
address {
  font-style: normal;
}

/* WCAG AA contrast fixes (user-approved "everything" option, 2026-10-31).
   Hue-preserving adjustments, rounding-validated against axe-core. */
.step-label > span { color: #77707a; }
.vehicle-tabs button.selected { color: #df1c22; }
.calculator-note { color: #77707a; }
.eyebrow { color: #e01c22; }
.why-grid > div > .eyebrow { color: #ee6166; }
.services-heading > p { color: #74707b; }
.service-number { color: #7e7189; }
.service-card p { color: #7b7481; }
.reviewer small { color: #908a9c; }
.info-row p { color: #76707d; }
.info-row small { color: #787082; }
.hours-content dl > div { color: #787080; }
.map-label { color: #6d695f; }
.map-header small { color: #6e685f; }
.closing-cta span { color: #fff9f9; }
.footer-bottom { color: #857c90; }

/* ---------- Hero: boton Politica de Tratamiento de Datos ---------- */
.button-policy {
  background: #ffffff;
  color: #17161b;
  border: 1px solid #ffffff;
  font-weight: 700;
}
.button-policy:hover {
  background: #f3f1f6;
  border-color: #f3f1f6;
}
.button-policy .icon {
  color: #e31e24;
}

/* ---------- Tarifas: barra de medios de pago ---------- */
.payment-bar {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid #e9e6ed;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.payment-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.payment-copy .eyebrow {
  font-size: 9px;
}
.payment-copy strong {
  font-size: 13px;
  color: #1d1c22;
}
.payment-copy span {
  font-size: 11px;
  color: #6b6473;
}
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.payment-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8f7fa;
  border: 1px solid #e9e6ed;
  border-radius: 8px;
  padding: 10px 16px;
  height: 48px;
}
.payment-pill img {
  display: block;
  max-height: 24px;
  width: auto;
  object-fit: contain;
}

/* ---------- Servicios: fotos reales en tarjetas ---------- */
.service-card {
  display: flex;
  flex-direction: column;
}
.service-photo-wrap {
  margin: -24px -20px 18px;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid #e9e6ed;
  aspect-ratio: 3 / 2;
  background: #f3f1f6;
}
.service-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.service-card:hover .service-photo {
  transform: scale(1.03);
}
.service-card .service-link {
  margin-top: auto;
  padding-top: 18px;
}

/* ---------- Preguntas frecuentes (#preguntas) ---------- */
.faq-section {
  background: #17161b;
  color: #ffffff;
  border-top: 1px solid #ffffff12;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: start;
}
.faq-aside .eyebrow {
  color: #ff7a7e;
}
.faq-aside h2 {
  margin-top: 12px;
  font-size: 29px;
  line-height: 1.25;
}
.faq-aside > p {
  color: #c2bacb;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
}
.faq-photo-card {
  margin-top: 22px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ffffff1c;
  background: #23222a;
}
.faq-photo-card img {
  width: 100%;
  max-height: 410px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #ffffff;
  color: #24242b;
  border-radius: 8px;
  border: 1px solid #e9e6ed;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #1d1c22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff1f1;
  color: #df1c22;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
  background: #df1c22;
  color: #ffffff;
}
.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid #f0edf3;
  background: #ffffff;
  color: #4f4a57;
  font-size: 12px;
  line-height: 1.75;
}
.faq-answer p {
  margin-top: 12px;
}
.faq-answer ul,
.faq-answer ol {
  margin-top: 10px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.faq-payments-inline {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.faq-payments-inline img {
  height: 24px;
  width: auto;
  display: block;
}

/* ---------- Ubicacion: guias en video ---------- */
.video-guides {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #e9e6ed;
}
.video-guides-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.video-guides-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1d1c22;
}
.video-guides-head span {
  font-size: 11px;
  color: #6b6473;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.video-card {
  background: #ffffff;
  border: 1px solid #e9e6ed;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.video-card:hover {
  border-color: #df1c22;
  transform: translateY(-1px);
}
.video-card img {
  width: 38px;
  height: auto;
  flex-shrink: 0;
}
.video-card strong {
  display: block;
  font-size: 12px;
  color: #1d1c22;
}
.video-card small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #df1c22;
  font-weight: 700;
}

/* ---------- Map CTA buttons using booking form ---------- */
.map-whatsapp,
.footer-whatsapp {
  background: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* ---------- Footer: redes sociales + logos institucionales ---------- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff12;
  border: 1px solid #ffffff1c;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.social-link:hover {
  transform: translateY(-2px);
  border-color: #e31e24;
}
.social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.footer-trust {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #ffffff12;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-trust-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #c2bacb;
}
.footer-trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.trust-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #ffffff;
}
.trust-logo-card.trust-logo-dark {
  background: #23222a;
  border: 1px solid #ffffff1f;
}
.trust-logo-card img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

/* ---------- Hero: 2 columnas en estadisticas y horarios bajo Nuestros horarios ---------- */
.hero-stats {
  grid-template-columns: repeat(2, 1fr);
}
.quick-hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 7px;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  color: #dfdbe6;
  font-size: 10px;
  line-height: 1.55;
}
.quick-hours strong {
  color: #ffffff;
  font-weight: 700;
}
.quick-prompt {
  color: #a7a4ae;
  margin-top: 12px;
  font-size: 11px;
}

/* ---------- Tarifas: tarjetas graficas oficiales 2026 ---------- */
.tariff-cards {
  max-width: 888px;
  margin: 24px auto 0;
  display: grid;
  gap: 16px;
}
.tariff-card {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 20px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e31e2438;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 6px 22px #24242b08;
}
.tariff-card-art {
  width: 100%;
  max-width: 196px;
  height: auto;
  display: block;
  border-radius: 10px;
}
.tariff-card-body {
  display: grid;
  gap: 12px;
}
.tariff-card-head h3 {
  font-size: 16px;
  font-weight: 800;
  color: #1d1c22;
}
.tariff-card-head p {
  margin-top: 3px;
  font-size: 11px;
  color: #6b6473;
}
.tariff-group {
  display: grid;
  gap: 6px;
}
.tariff-group-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #df1c22;
}
.tariff-brackets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.tariff-brackets > div {
  background: #f8f7fa;
  border: 1px solid #e9e6ed;
  border-radius: 7px;
  padding: 8px 10px;
  text-align: center;
}
.tariff-brackets span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #4f4a57;
}
.tariff-brackets strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: #1d1c22;
}

/* ---------- Footer: isologo negativo ---------- */
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 124px;
  gap: 4px;
}
.footer-brand img {
  width: 116px;
  height: auto;
  display: block;
}
.footer-brand span {
  font-family: var(--font-heading);
  font-size: 7.8px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: #ffffff;
  white-space: nowrap;
}

/* ---------- Ubicacion: evitar cruce de via sobre direccion en el mapa ---------- */
.road-three {
  top: 32%;
  transform: rotate(3deg);
}
.label-two {
  top: 23%;
}
.map-header small {
  background: #ffffffeb;
  color: #554e59;
  border-radius: 4px;
  padding: 4px 10px;
  box-shadow: 0 2px 8px #0000000d;
}

@media (max-width: 960px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tariff-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px;
  }
  .tariff-card-art {
    max-width: 170px;
    margin-inline: auto;
  }
  .tariff-brackets {
    grid-template-columns: repeat(2, 1fr);
  }
}
