.phb-op-open {
    display: inline-block;
    margin-top: 10px;
    color: var(--phb-blue);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.phb-op-open:hover { text-decoration: underline; }

.phb-ferry-page { max-width: 1180px; }
.phb-ferry-loading { padding: 28px 0; color: var(--phb-muted); }

.phb-ferry-hero {
    position: relative;
    min-height: 420px;
    border-radius: 22px;
    overflow: hidden;
    margin: 8px 0 22px;
    background: #0b2348;
    color: #fff;
    box-shadow: 0 18px 40px rgba(11, 35, 72, 0.18);
}
.phb-ferry-slides, .phb-ferry-slide { position: absolute; inset: 0; }
.phb-ferry-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.phb-ferry-slide.is-on { opacity: 1; }
.phb-ferry-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 54px 40px;
    background: linear-gradient(90deg, rgba(6, 18, 40, 0.78), rgba(6, 18, 40, 0.05));
    min-height: 420px;
    box-sizing: border-box;
}
.phb-ferry-logo {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #fff;
    color: #0038a8;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.phb-ferry-hero h2 { margin: 14px 0 8px; font-size: 40px; line-height: 1.05; }
.phb-ferry-hero p { margin: 0; font-size: 18px; }
.phb-ferry-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.phb-ferry-hero-actions button,
.phb-ferry-btn,
.phb-ferry-desk button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: #0b2348;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.phb-ferry-btn--solid,
.phb-ferry-hero-actions button:first-child { background: #0038a8; color: #fff; }
.phb-ferry-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0b2348;
    font-size: 26px;
    cursor: pointer;
}
.phb-ferry-arrow--prev { left: 14px; }
.phb-ferry-arrow--next { right: 14px; }

.phb-ferry-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}
.phb-ferry-block,
.phb-ferry-widget,
.phb-ferry-desk,
.phb-ferry-card,
.phb-ferry-sail,
.phb-ferry-fare,
.phb-ferry-promos article,
.phb-ferry-classes article {
    background: #fff;
    border: 1px solid #e4edf6;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 40, 80, 0.06);
}
.phb-ferry-block, .phb-ferry-desk { padding: 18px; margin-bottom: 16px; }
.phb-ferry-block h3, .phb-ferry-desk h3, .phb-ferry-widget h3 { margin: 0 0 12px; color: #17325c; }
.phb-ferry-kicker { margin: 0 0 8px; color: #5c6d86; font-size: 13px; }
.phb-ferry-note { color: #5c6d86; font-size: 13px; }
.phb-ferry-saved { color: #0f7a45; font-weight: 800; }

.phb-ferry-fleet, .phb-ferry-schedules, .phb-ferry-fares, .phb-ferry-promos, .phb-ferry-classes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.phb-ferry-fares { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phb-ferry-card { overflow: hidden; }
.phb-ferry-card img, .phb-ferry-shot img { width: 100%; height: 180px; object-fit: cover; display: block; }
.phb-ferry-card div, .phb-ferry-sail, .phb-ferry-fare, .phb-ferry-promos article, .phb-ferry-classes article { padding: 14px; }
.phb-ferry-card h4, .phb-ferry-sail h4, .phb-ferry-promos h4, .phb-ferry-classes h4 { margin: 0 0 6px; color: #17325c; }
.phb-ferry-card p, .phb-ferry-sail p, .phb-ferry-promos p, .phb-ferry-classes p { margin: 0 0 4px; color: #5c6d86; }
.phb-ferry-sail.is-on { outline: 2px solid #0038a8; }
.phb-ferry-fare { display: flex; flex-direction: column; gap: 6px; }
.phb-ferry-fare strong { color: #0038a8; font-size: 22px; }
.phb-ferry-features { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.phb-ferry-features li { background: #eef4ff; color: #17325c; border-radius: 999px; padding: 8px 12px; font-weight: 700; }

.phb-ferry-cal-head, .phb-ferry-legend { display: flex; align-items: center; gap: 10px; }
.phb-ferry-cal-head { justify-content: space-between; margin-bottom: 8px; }
.phb-ferry-cal-head button {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e4edf6; background: #fff; cursor: pointer; font-size: 20px;
}
.phb-ferry-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.phb-ferry-cal span { text-align: center; color: #5c6d86; font-size: 12px; font-weight: 700; }
.phb-ferry-day {
    border: 0; border-radius: 10px; min-height: 40px; font: inherit; font-weight: 800; cursor: pointer; color: #17325c;
}
.phb-ferry-day.is-available { background: #d9f5e5; }
.phb-ferry-day.is-limited { background: #ffe8a3; }
.phb-ferry-day.is-full { background: #ffd0d6; }
.phb-ferry-day.is-selected { background: #0038a8; color: #fff; }
.phb-ferry-legend { margin-top: 10px; color: #5c6d86; font-size: 13px; flex-wrap: wrap; }
.phb-ferry-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.phb-ferry-legend .is-available { background: #1f9d55; }
.phb-ferry-legend .is-limited { background: #e2b203; }
.phb-ferry-legend .is-full { background: #ce1126; }
.phb-ferry-legend .is-selected { background: #0038a8; }
.phb-ferry-day-summary { margin-top: 12px; }

.phb-ferry-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.phb-ferry-shot { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #d9e4f2; }
.phb-ferry-shot span {
    position: absolute; left: 8px; bottom: 8px; background: rgba(11, 35, 72, 0.82); color: #fff;
    border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 700;
}
.phb-ferry-gallery--hero { grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 16px; }
.phb-ferry-gallery--hero .phb-ferry-shot:first-child { grid-row: span 2; }
.phb-ferry-gallery--hero img { height: 100%; min-height: 180px; }
.phb-ferry-vessel-copy h2 { margin: 0 0 8px; color: #17325c; }
.phb-ferry-back a { color: #0038a8; font-weight: 800; text-decoration: none; }
.phb-ferry-company { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phb-ferry-company dl { margin: 0; }
.phb-ferry-company dt { font-size: 12px; font-weight: 800; color: #5c6d86; text-transform: uppercase; }
.phb-ferry-company dd { margin: 0 0 8px; }
.phb-ferry-map { height: 240px; border-radius: 16px; overflow: hidden; background: #e7eef6; }

.phb-ferry-widget {
    position: sticky;
    top: 16px;
    padding: 16px;
}
.phb-ferry-widget label, .phb-ferry-desk label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: #17325c; }
.phb-ferry-widget input, .phb-ferry-widget select,
.phb-ferry-desk input, .phb-ferry-desk select {
    display: block; width: 100%; box-sizing: border-box; margin-top: 4px;
    border: 1px solid #d5e2f0; border-radius: 10px; padding: 9px 10px; font: inherit;
}
.phb-ferry-widget .phb-ferry-btn { width: 100%; margin-bottom: 8px; }
.phb-ferry-desk form { border-top: 1px solid #e4edf6; margin-top: 14px; padding-top: 8px; }
.phb-ferry-desk h4 { margin: 8px 0; }
.phb-ferry-desk ul { padding-left: 18px; }

.phb-ferry-light {
    position: fixed; inset: 0; z-index: 80; background: rgba(6, 16, 32, 0.82);
    display: grid; place-items: center; padding: 24px;
}
.phb-ferry-light[hidden] { display: none; }
.phb-ferry-light img { max-width: min(1000px, 92vw); max-height: 84vh; border-radius: 16px; }
.phb-ferry-light button {
    position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%;
    background: #fff; font-size: 26px; cursor: pointer;
}

.phb-aznar-hero {
    position: relative;
    min-height: 460px;
    border-radius: 22px;
    overflow: hidden;
    background: #0038a8 center/cover no-repeat;
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 56, 168, 0.18);
}
.phb-aznar-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 34, 110, 0.88) 0%, rgba(0, 56, 168, 0.55) 48%, rgba(206, 17, 38, 0.28) 100%);
}
.phb-aznar-hero-copy { position: relative; z-index: 1; max-width: 680px; padding: 48px 40px 56px; }
.phb-aznar-mark { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 18px; padding: 8px; }
.phb-aznar-kicker { margin: 16px 0 8px; color: #fcd116; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.phb-aznar-kicker--blue { color: #0038a8; letter-spacing: 0.06em; }
.phb-aznar-hero h2 { margin: 0 0 10px; font-size: 52px; line-height: 0.95; }
.phb-aznar-hero p { margin: 0; max-width: 460px; font-size: 18px; }
.phb-aznar-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.phb-aznar-btn, .phb-aznar-actions button, .phb-aznar-routes a {
    display: inline-block; border: 0; border-radius: 999px; padding: 11px 16px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
.phb-aznar-actions button { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.phb-aznar-btn--gold { background: #fcd116; color: #14233f; }
.phb-aznar-btn--solid, .phb-aznar-routes a { background: #0038a8; color: #fff; }
.phb-aznar-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: -28px 18px 22px; position: relative; z-index: 2;
}
.phb-aznar-stats article {
    background: #fff; border-radius: 16px; padding: 14px 16px; border-top: 4px solid #fcd116;
    box-shadow: 0 10px 24px rgba(0, 56, 168, 0.1);
}
.phb-aznar-stats article:nth-child(2) { border-top-color: #0038a8; }
.phb-aznar-stats article:nth-child(3) { border-top-color: #ce1126; }
.phb-aznar-stats strong { display: block; color: #0038a8; font-size: 28px; }
.phb-aznar-stats span { color: #5c6d86; font-size: 13px; }
.phb-aznar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.phb-aznar-block { background: #fff; border: 1px solid #e4edf6; border-radius: 18px; padding: 18px; margin-bottom: 16px; box-shadow: 0 10px 28px rgba(15, 40, 80, 0.06); }
.phb-aznar-block h3 { margin: 0 0 8px; color: #0038a8; }
.phb-aznar-timeline { list-style: none; margin: 16px 0 0; padding: 0; border-left: 3px solid #fcd116; }
.phb-aznar-timeline li { padding: 0 0 14px 14px; }
.phb-aznar-timeline strong { display: block; color: #ce1126; }
.phb-aznar-vision { background: #f7f4e4; border-radius: 12px; padding: 12px; }
.phb-aznar-values { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.phb-aznar-values article { background: #f5f8fd; border-radius: 14px; padding: 12px; }
.phb-aznar-values h4 { margin: 0 0 4px; color: #17325c; }
.phb-aznar-fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.phb-aznar-fleet article { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e4edf6; }
.phb-aznar-fleet .is-feature { grid-column: span 2; }
.phb-aznar-fleet a { color: inherit; text-decoration: none; }
.phb-aznar-fleet img { width: 100%; height: 180px; object-fit: cover; display: block; }
.phb-aznar-fleet .is-feature img { height: 280px; }
.phb-aznar-fleet h4, .phb-aznar-fleet p, .phb-aznar-routes h4, .phb-aznar-routes p { margin: 0; }
.phb-aznar-fleet h4, .phb-aznar-fleet p { padding: 0 12px; }
.phb-aznar-fleet h4 { padding-top: 10px; color: #17325c; }
.phb-aznar-fleet p { padding-bottom: 12px; color: #5c6d86; }
.phb-aznar-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phb-aznar-routes article { border: 1px solid #e4edf6; border-left: 4px solid #0038a8; border-radius: 14px; padding: 12px; background: #fff; }
.phb-aznar-routes article:nth-child(3n) { border-left-color: #ce1126; }
.phb-aznar-routes article:nth-child(2n) { border-left-color: #fcd116; }
.phb-aznar-kind { color: #5c6d86; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.phb-aznar-routes h4 { color: #17325c; margin: 4px 0; }
.phb-aznar-routes a { margin-top: 8px; }
.phb-aznar-band { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #0038a8; color: #fff; border-radius: 18px; padding: 18px; margin-bottom: 16px; }
.phb-aznar-band h3 { margin: 0 0 6px; color: #fcd116; }
.phb-aznar-band a { color: #fff; font-weight: 800; }
.phb-aznar-widget .phb-aznar-btn { width: 100%; text-align: center; box-sizing: border-box; }
.phb-aznar-vessel { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.phb-aznar-vessel h2 { margin: 0 0 8px; color: #0038a8; }

@media (max-width: 900px) {
    .phb-ferry-layout, .phb-ferry-fleet, .phb-ferry-schedules, .phb-ferry-fares, .phb-ferry-promos, .phb-ferry-classes, .phb-ferry-gallery, .phb-ferry-company, .phb-ferry-gallery--hero,
    .phb-aznar-layout, .phb-aznar-stats, .phb-aznar-values, .phb-aznar-fleet, .phb-aznar-routes, .phb-aznar-band, .phb-aznar-vessel {
        grid-template-columns: 1fr;
    }
    .phb-aznar-fleet .is-feature { grid-column: auto; }
    .phb-aznar-hero h2 { font-size: 36px; }
    .phb-aznar-stats { margin: 16px 0; }
    .phb-ferry-hero h2 { font-size: 30px; }
    .phb-ferry-hero-copy { padding: 28px 18px; min-height: 320px; }
    .phb-ferry-widget { position: static; }
}
