/* ============================================================
   PÁGINA DE PRECIOS — rediseño en sintonía con la home
   Reutiliza tokens de la home: azul --primary #125781, acento
   naranja #FF7400, tarjetas blancas redondeadas, degradado azul
   con patrón de puntos. Estilos scoped a .pricing_page.
   ============================================================ */

.pricing_page {
    color: #1f2a36;
    overflow-x: hidden;
}

/* ---------- HERO ---------- */
.pricing_hero {
    position: relative;
    overflow: hidden;
    padding: 66px 24px 118px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(900px 480px at 0% 0%, rgba(255, 116, 0, 0.16), transparent 60%),
        radial-gradient(900px 460px at 100% 100%, rgba(30, 122, 179, 0.45), transparent 60%),
        linear-gradient(180deg, #1a6f9e 0%, #125781 50%, #0f4d72 100%);
}

.pricing_hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.55;
    pointer-events: none;
}

.pricing_hero > * {
    position: relative;
    z-index: 1;
}

.pricing_overline {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 14px;
}

.pricing_hero h1 {
    font-size: 54px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    color: #fff;
}

.pricing_hero .hero_sub {
    max-width: 780px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.pricing_chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.pricing_chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    backdrop-filter: blur(4px);
}

.pricing_chip svg {
    width: 16px;
    height: 16px;
    fill: #ffd8b0;
    flex-shrink: 0;
}

/* ---------- CONTENEDOR / SECCIONES ---------- */
.pricing_section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 62px 20px 0;
}

.pricing_section.last {
    padding-bottom: 20px;
}

.pricing_section h2.h2_title {
    margin-bottom: 8px;
}

.pricing_lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 8px;
    color: #6b7785;
    font-size: 16px;
    line-height: 1.6;
}

/* ---------- TARJETAS DE PLANES ----------
   Reutiliza la estética .price_item de la home pero con clases
   propias para poder añadir límite de buses y CTA. */
.tiers_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 22px;
    max-width: 1200px;
    margin: 34px auto 0;
    position: relative;
    z-index: 3;
}

/* Sube las tarjetas para solaparse con el hero */
.pricing_tiers {
    margin-top: -78px;
}

.tier_card {
    display: flex;
    flex-direction: column;
    flex: 1 1 240px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(18, 87, 129, 0.08);
    box-shadow: 0 14px 32px rgba(10, 40, 64, 0.14);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tier_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(10, 40, 64, 0.22);
}

.tier_card .tier_name {
    margin: 0;
    background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 22px 16px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(18, 87, 129, 0.10);
}

.tier_price {
    color: #0f1f2e;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1;
    margin: 26px 0 2px;
    text-align: center;
}

.tier_price small {
    display: block;
    font-size: 12px;
    color: #6b7785;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 8px;
}

.tier_limit {
    text-align: center;
    margin: 14px 16px 6px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(18, 87, 129, 0.06);
    color: var(--primary-color);
    font-size: 13.5px;
    font-weight: 600;
}

.tier_features {
    padding: 10px 24px 6px;
    margin: 6px 0 auto;
    list-style: none;
}

.tier_features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(18, 87, 129, 0.08);
    font-size: 13.5px;
    line-height: 1.4;
    color: #2a3744;
}

.tier_features li:last-child {
    border-bottom: none;
}

.tier_features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    fill: #1a8f4a;
}

.tier_cta {
    display: block;
    margin: 16px 20px 22px;
    padding: 13px 18px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    background: #eef3f7;
    color: var(--primary-color);
    border: 1px solid rgba(18, 87, 129, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tier_cta:hover {
    background: #e4ecf2;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Plan destacado: Profesional */
.tier_card.featured {
    border: 2px solid #FF7400;
    box-shadow: 0 22px 50px rgba(255, 116, 0, 0.22);
    transform: translateY(-8px);
    z-index: 1;
    overflow: visible;
}

.tier_card.featured:hover {
    transform: translateY(-14px);
}

.tier_card.featured .tier_name {
    background: linear-gradient(135deg, #FF7400 0%, #FF9933 100%);
    color: #fff;
    border-bottom-color: transparent;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.tier_badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #FF7400;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    border: 2px solid #FF7400;
    z-index: 3;
    box-shadow: 0 6px 18px rgba(255, 116, 0, 0.35);
    white-space: nowrap;
}

.tier_card.featured .tier_cta {
    background: linear-gradient(135deg, #ED6F18 0%, #F58E4A 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 16px rgba(237, 111, 24, 0.28);
}

.tier_card.featured .tier_cta:hover {
    filter: brightness(1.05);
    box-shadow: 0 10px 22px rgba(237, 111, 24, 0.34);
}

/* ---------- TABLA COMPARATIVA ---------- */
.compare_wrap {
    margin-top: 34px;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(18, 87, 129, 0.10);
    box-shadow: 0 14px 32px rgba(10, 40, 64, 0.10);
    background: #fff;
}

.compare_table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 14.5px;
}

.compare_table thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding: 18px 14px 16px;
    text-align: center;
    vertical-align: bottom;
    border-bottom: 2px solid rgba(18, 87, 129, 0.12);
}

.compare_table thead th .c_name {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.compare_table thead th .c_price {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0f1f2e;
    margin-top: 4px;
    letter-spacing: -0.02em;
}

.compare_table thead th.c_feature {
    text-align: left;
}

.compare_table thead th.c_feature span {
    font-size: 15px;
    font-weight: 700;
    color: #1a2632;
    text-transform: none;
    letter-spacing: 0;
}

.compare_table tbody td {
    padding: 13px 14px;
    text-align: center;
    border-bottom: 1px solid rgba(18, 87, 129, 0.07);
    color: #2a3744;
}

.compare_table tbody td.feat {
    text-align: left;
    font-weight: 500;
    color: #1f2a36;
}

.compare_table tbody tr:nth-child(even) td {
    background: rgba(18, 87, 129, 0.028);
}

.compare_table tbody tr:hover td {
    background: rgba(255, 116, 0, 0.06);
}

/* Columna destacada: Profesional (4ª col) */
.compare_table th:nth-child(4),
.compare_table td:nth-child(4) {
    background: rgba(255, 116, 0, 0.07);
    border-left: 1px solid rgba(255, 116, 0, 0.18);
    border-right: 1px solid rgba(255, 116, 0, 0.18);
}

.compare_table tbody tr:hover td:nth-child(4) {
    background: rgba(255, 116, 0, 0.12);
}

.compare_table thead th:nth-child(4) {
    border-top: 3px solid #FF7400;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.compare_table .yes,
.compare_table .no {
    font-weight: 700;
}

.compare_table .yes::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(26, 143, 74, 0.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a8f4a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center / 13px no-repeat;
    vertical-align: middle;
}

.compare_table .no::before {
    content: "–";
    color: #c2ccd6;
    font-size: 18px;
}

.compare_table td.limit_val {
    font-weight: 700;
    color: var(--primary-color);
}

/* ---------- TARJETAS (Extras / Apps) ---------- */
.pricing_cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 34px;
}

.pricing_card {
    flex: 1 1 240px;
    max-width: 290px;
    background: #fff;
    border: 1px solid rgba(18, 87, 129, 0.10);
    border-radius: 16px;
    padding: 26px 22px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pricing_card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #FF7400);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing_card:hover {
    border-color: rgba(18, 87, 129, 0.22);
    box-shadow: 0 14px 30px rgba(18, 87, 129, 0.12);
    transform: translateY(-4px);
}

.pricing_card:hover::before {
    transform: scaleX(1);
}

.pricing_card .card_icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f3fa 0%, #f5f9fc 100%);
    box-shadow: inset 0 0 0 1px rgba(18, 87, 129, 0.08);
}

.pricing_card .card_icon svg {
    width: 26px;
    height: 26px;
    fill: var(--primary-color);
}

.pricing_card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2632;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.pricing_card .card_price {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #FF7400;
    background: rgba(255, 116, 0, 0.10);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.pricing_card p {
    font-size: 14px;
    line-height: 1.55;
    color: #6b7785;
    margin: 0;
}

/* ---------- BANDA PASAJERO ---------- */
.passenger_band {
    margin: 62px auto 0;
    max-width: 1200px;
    padding: 0 20px;
}

.passenger_inner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 44px 40px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 40px;
    background:
        radial-gradient(700px 300px at 100% 0%, rgba(255, 116, 0, 0.18), transparent 60%),
        linear-gradient(120deg, #1a6f9e 0%, #125781 55%, #0f4d72 100%);
}

.passenger_inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.5;
    pointer-events: none;
}

.passenger_text {
    position: relative;
    z-index: 1;
    flex: 1 1 420px;
}

.passenger_text h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.passenger_text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0;
}

.passenger_badge {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: #fff;
    color: var(--primary-color);
    padding: 16px 34px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

/* ---------- OTROS COSTES ---------- */
.other_costs {
    margin-top: 34px;
    background: #fff;
    border: 1px solid rgba(18, 87, 129, 0.10);
    border-left: 4px solid #FF7400;
    border-radius: 14px;
    padding: 26px 28px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.other_costs h3 {
    font-size: 17px;
    color: #1a2632;
    margin: 0 0 8px;
    font-weight: 600;
}

.other_costs p {
    margin: 0;
    color: #6b7785;
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq_wrap {
    max-width: 820px;
    margin: 34px auto 0;
}

.faq_item {
    background: #fff;
    border: 1px solid rgba(18, 87, 129, 0.10);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq_item.open {
    border-color: rgba(255, 116, 0, 0.4);
    box-shadow: 0 10px 26px rgba(10, 40, 64, 0.10);
}

.faq_q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 54px 20px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #1a2632;
    position: relative;
    font-family: inherit;
}

.faq_q::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%) rotate(0deg);
    border-right: 2px solid #FF7400;
    border-bottom: 2px solid #FF7400;
    margin-top: -3px;
    transition: transform 0.3s ease;
}

.faq_item.open .faq_q::after {
    transform: translateY(-50%) rotate(-135deg);
    margin-top: 2px;
}

.faq_a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq_a p {
    margin: 0;
    padding: 0 22px 20px;
    color: #6b7785;
    font-size: 15px;
    line-height: 1.65;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .pricing_hero h1 { font-size: 40px; }
    .pricing_hero { padding: 52px 20px 104px; }
    .passenger_inner { padding: 34px 26px; }
    .passenger_text h2 { font-size: 25px; }
}

@media (max-width: 640px) {
    .pricing_hero h1 { font-size: 32px; }
    .pricing_hero .hero_sub { font-size: 16px; }
    .pricing_section { padding-top: 46px; }
    .pricing_tiers { margin-top: -70px; }
    .tier_card { flex-basis: 100%; }
    .tier_card.featured { transform: none; }
    .tier_card.featured:hover { transform: translateY(-6px); }
    .pricing_card { max-width: 100%; flex-basis: 100%; }
    .passenger_inner { flex-direction: column; align-items: flex-start; }
    .passenger_badge { font-size: 28px; padding: 12px 26px; }
}
