
/* ── Validation error messages (override app.css green) ──────── */
form label.error,
form label.validation_error_message:not(:empty) {
  color: #c0392b;
}

/* ── Página listado oficinas ──────────────────────────────── */
.o-oficinas-section {
  padding: 40px 0 20px;
}

.o-oficinas-group-title {
  text-align: center;
  color: #4a8a42;
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 28px;
}

.o-oficinas-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.m-oficina-card {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.09);
  background: #fff;
  min-height: 180px;
  padding: 0px;
  gap: 16px;
}

/* Bloque izquierdo: imagen o placeholder oscuro */
.m-oficina-card--image {
  flex: 0 0 38%;
  background-color: #1c2235;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 12px;
}

.m-oficina-card--image.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  border-radius: 12px;
}

.m-oficina-card--city {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  padding: 16px 20px;
  position: relative;
  z-index: 1;
}

/* Bloque derecho: info */
.m-oficina-card--info {
  flex: 1;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-oficina-card--title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c2235;
  margin: 0 0 4px;
}

.m-oficina-card--address {
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.m-oficina-card--contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}

.m-oficina-card--contact a {
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.m-oficina-card--contact a:hover {
  color: #4a8a42;
  text-decoration: underline;
}

.m-oficina-card--buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.a-btn-oficina {
  display: inline-block;
  padding: 9px 22px;
  background-color: #4a8a42;
  color: #fff !important;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s;
  white-space: nowrap;
  line-height: 1.4;
}

.a-btn-oficina:hover {
  background-color: #3a6f34;
  color: #fff !important;
}

.m-oficina-card--schedule {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

.m-oficina-card--schedule strong {
  color: #333;
  display: block;
  margin-bottom: 2px;
}

.m-oficina-card--schedule p {
  margin: 0;
  color: #333 !important;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 640px) {
  .m-oficina-card {
    flex-direction: column;
  }
  .m-oficina-card--image {
    flex: 0 0 auto;
    min-height: 130px;
    border-radius: 12px;
  }
  .m-oficina-card--image.has-image::after {
    border-radius: 12px;
  }
  .m-oficina-card--info {
    padding: 4px 8px;
  }
  .o-oficinas-group-title {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 1240px) {
  .o-descubre-container--blue .odc-content .odc-sec1 .odc-c-bg,
  .o-descubre-container--grey .odc-content .odc-sec1 .odc-c-bg {
    background-image: none;
  }
}

@media only screen and (min-width: 1240px) {
  .m-promo-item .mprmi-body .mprmi-content {
    position: inherit!important;
  }
}

/* ── Coverage tiers ──────────────────────────────────────── */
.mfi-prices--coverage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.coverage-option {
  width: 100%;
}

.coverage-option .a-button--tarifa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: none;
}
/* Sin efectos en hover */
.coverage-option .a-button--tarifa:hover,
.coverage-option .a-button--tarifa:focus {
  opacity: 1;
  box-shadow: none;
  outline: none;
}

/* Gold — todo el texto blanco */
.coverage--gold .a-button--tarifa {
  background: #1a5c2e;
  border-color: #1a5c2e;
}
.coverage--gold .a-button--tarifa,
.coverage--gold .a-button--tarifa * {
  color: #fff !important;
}

/* Silver — todo el texto blanco */
.coverage--silver .a-button--tarifa {
  background: #2e7d45;
  border-color: #2e7d45;
}
.coverage--silver .a-button--tarifa,
.coverage--silver .a-button--tarifa * {
  color: #fff !important;
}

/* Basic — texto navy */
.coverage--basic .a-button--tarifa {
  background: #fff;
  border-color: #1b2a3b;
  color: #1b2a3b;
}
.coverage--basic .a-button--tarifa:hover,
.coverage--basic .a-button--tarifa:focus,
.coverage--basic .a-button--tarifa:hover *,
.coverage--basic .a-button--tarifa:focus * {
  background: #fff;
  border-color: #1b2a3b;
  color: #1b2a3b !important;
}
.coverage--basic .a-price .price-total { color: #4b5563; }

/* ── Coverage label (columna: nombre arriba, ⓘ debajo) ─── */
.coverage-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 21px;
  font-weight: 700;
  flex: 0 0 auto;
}

/* ── Price layout ────────────────────────────────────────── */
.coverage-option .a-price {
  text-align: right;
  flex: 1 1 auto;
}
.coverage-option .a-price .price-day {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
}
.coverage-option .a-price .price-day .total {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.coverage-option .a-price .price-day .small { font-size: 13px; }
.coverage-option .a-price .price-total { font-size: 12px; margin-top: 2px; }

/* ── Tooltip ⓘ (bajo el nombre, popup a la derecha) ─────── */
.coverage-info {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.info-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.coverage--basic .info-icon {
  background: rgba(27,42,59,.12);
  color: #1b2a3b;
}

/* Popup aparece a la derecha del ⓘ */
.coverage-info .coverage-popup {
  display: none;
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%);
  z-index: 200;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 12px 14px;
  pointer-events: none;
}
/* Flecha apuntando a la izquierda */
.coverage-info .coverage-popup::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #fff;
}
.coverage-info:hover .coverage-popup,
.coverage-info.open .coverage-popup {
  display: block;
  pointer-events: auto;
}

.coverage-popup .wrap,
.coverage-popup .wrap *,
.coverage-popup .wrap ul,
.coverage-popup .wrap ul li {
  color: #1b2a3b !important;
}
.coverage-popup .wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.8;
}
.coverage-popup .wrap ul li { white-space: nowrap; }

@media (max-width: 600px) {
  .coverage-option .a-button--tarifa { flex-direction: column; align-items: flex-start; gap: 8px; }
  .coverage-option .a-price { text-align: left; }
  .coverage-option .a-price .price-day { justify-content: flex-start; }
  /* En móvil el popup aparece abajo del ⓘ */
  .coverage-info .coverage-popup {
    top: calc(100% + 8px);
    left: 0;
    transform: none;
  }
  .coverage-info .coverage-popup::before {
    top: -12px;
    right: auto;
    left: 12px;
    transform: none;
    border-right-color: transparent;
    border-bottom-color: #fff;
  }
}

/* ── Botón submit formularios reserva ───────────────────────── */
.a-button--offset .btn {
  color: #fff !important;
}