/* =====================================================
   TRAVELFY — Landing Costa Mujeres
   -----------------------------------------------------
   Extensión mínima del template original.
   style.css permanece intacto y continúa definiendo
   tipografía, cards, formularios, botones, FAQ, footer,
   vehículos, pasos, ruta, sombras y responsive general.
===================================================== */

/* Acción naranja usada únicamente en esta landing. */
.cm-hero .btn-primary-custom,
.cm-booking .btn-primary-custom,
#vehiculos .btn-primary-custom {
  background-color: #ff7417;
  border-color: #ff7417;
}

.cm-hero .btn-primary-custom:hover,
.cm-booking .btn-primary-custom:hover,
#vehiculos .btn-primary-custom:hover {
  background-color: #e95f05;
  border-color: #e95f05;
}

/* Breadcrumbs superior e inferior de la arquitectura nueva. */
.cm-breadcrumb {
  padding: 0.65rem 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.cm-breadcrumb .breadcrumb {
  font-size: 0.75rem;
}

.cm-breadcrumb a {
  color: var(--primary-color);
}

/* Hero: el template original usa hero a dos columnas;
   esta landing requiere fotografía de fondo a ancho completo. */
.cm-hero {
    position: relative;
    padding: 0;
    color: var(--text-light);
    background:
        linear-gradient(
            90deg,
            rgba(5, 57, 96, 0.96),
            rgba(5, 57, 96, 0.74) 48%,
            rgba(5, 57, 96, 0.18)
        ),
        var(--hero-image) center / cover no-repeat;
}

.cm-hero-content {
  padding-top: 4.5rem;
  padding-bottom: 4rem;
}

.cm-hero h1 {
  color: var(--text-light);
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin: 0.8rem 0 1rem;
}

.cm-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
}

.cm-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
}

.cm-route-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-weight: 600;
}

.cm-route-summary span small {
  display: block;
  margin-left: 1.5rem;
  font-weight: 400;
  opacity: 0.8;
}

.cm-hero-trust {
  padding: 0.85rem 0;
  background: rgba(6, 48, 85, 0.9);
  font-size: 0.78rem;
}

/* Visuales sin crear nuevos componentes de card. */
.cm-car-visual,
.cm-faq-visual {
  min-height: 280px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: var(--border-radius-lg);
  background: radial-gradient(circle at 65% 70%, #dce9f5 0 22%, transparent 23%), linear-gradient(135deg, #edf6fb, #fff);
}

.cm-car-visual i,
.cm-faq-visual i {
  color: var(--secondary-color);
  font-size: 9rem;
  filter: drop-shadow(0 14px 10px rgba(0, 0, 0, 0.14));
}

.cm-car-visual span {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
}

/* El mapa real no forma parte del template base; se conserva
   la representación gráfica ligera de la propuesta aprobada. */
.cm-map {
  min-height: auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, #dff3f8, #bde7ef);
}

.cm-map-line {
  width: 55%;
  height: 62%;
  position: absolute;
  z-index: 1;
  left: 23%;
  top: 18%;
  border-left: 7px solid var(--primary-color);
  border-bottom: 7px solid var(--primary-color);
  border-radius: 0 0 0 50px;
  transform: rotate(12deg);
}

.cm-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hoteles: componente que no existe en el BasicTravelfy original. */
.cm-hotel-card {
  height: 100%;
  overflow: hidden;
  display: block;
  padding-bottom: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.cm-hotel-img {
  height: 150px;
  background-position: center;
  background-size: cover;
  width: 100%;
  overflow: hidden;
}

.cm-hotel-card h3,
.cm-hotel-card small,
.cm-hotel-card strong,
.cm-hotel-card a {
  display: block;
  margin-left: 1rem;
  margin-right: 1rem;
}

.cm-hotel-card h3,
.cm-hotel-card strong {
  margin-top: 0.85rem;
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
}

.cm-hotel-card strong {
  font-family: var(--font-heading);
}

.cm-hotel-card .cm-hotel-name {
  margin-bottom: 0rem;
}

.cm-hotel-card small { color: var(--text-muted); }
.cm-hotel-card a { margin-top: 0.5rem; color: #ff7417; font-size: 0.78rem; font-weight: 700; }

.cm-vehicle-icon {
  height: 140px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  background: linear-gradient(#fff, #eef3f8);
}

.cm-vehicle-icon i { color: #a5afb9; font-size: 6rem; }
.cm-vehicle-dark i { color: var(--secondary-color); }

.cm-booking { padding-top: 3.5rem; }
.cm-booking .booking-form-card { padding: 1rem; }

/* CTA y destinos visuales de la nueva arquitectura. */

.cm-destination {
  min-height: 145px;
  display: flex;
  align-items: end;
  padding: 1rem;
  border-radius: var(--border-radius);
  color: var(--text-light);
  background: linear-gradient(0deg, rgba(6, 35, 58, 0.75), transparent), linear-gradient(135deg, #8bd5df, #1c7897);
}

.cm-destination-2 { background: linear-gradient(0deg, rgba(6, 35, 58, 0.75), transparent), linear-gradient(135deg, #9ddce2, #287f91); }
.cm-destination-3 { background: linear-gradient(0deg, rgba(6, 35, 58, 0.75), transparent), linear-gradient(135deg, #70cfdf, #12698d); }
.cm-destination-4 { background: linear-gradient(0deg, rgba(6, 35, 58, 0.75), transparent), linear-gradient(135deg, #b8e7dc, #298ba0); }

.cm-destination span { font-family: var(--font-heading); font-weight: 700; }
.cm-destination small { display: block; margin-top: 0.35rem; color: #ffb57f; }

.route-details-list dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin: 0;
}

.route-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.route-detail > i {
    flex: 0 0 auto;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.route-detail dt {
    font-weight: 700;
    margin: 0;
    font-size: 0.92rem;
    font-family: var(--font-heading);
}

.route-detail dd {
    margin: 0;
    color: var(--text-muted);
}

@media (max-width: 767.98px) {
    .route-details-list dl {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
  .cm-hero-content { padding-top: 3rem; padding-bottom: 3rem; }
  .cm-route-summary { align-items: flex-start; gap: 0.6rem; font-size: 0.8rem; }
  .cm-hotel-img { height: 115px; }
  .cm-car-visual, .cm-faq-visual { min-height: 220px; }
}

.how-it-works-section {
    background-color: var(--bg-light);
}

.route-section {
  background-color: var(--bg-white);
}

.vehicles-section {
  background-color: var(--bg-white);
}