/* ==========================================================================
   Köröshajó — site.css
   Paletta: navy #191640 · kék #457DB7 · mist #D9E7EA/#C8E0E6 · réz #A8853B
   Tipográfia: Lora (címsor) · Source Sans 3 (szöveg)
   ========================================================================== */

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/lora-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lora-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Lora';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/lora-600i.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ss3-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/ss3-600.woff2') format('woff2');
}

:root {
    --navy: #191640;
    --navy-soft: #23204d;
    --blue: #457DB7;
    --blue-deep: #35648F;
    --mist: #D9E7EA;
    --mist-2: #C8E0E6;
    --foam: #F2F7F8;
    --white: #fff;
    --brass: #A8853B;
    --ink: #191640;
    --ink-soft: #4d4b6e;
    --line: rgba(25, 22, 64, .12);
    --green: #2F7D4F;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 12px 32px rgba(25, 22, 64, .10);
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --header-h: 72px;
}

/* ---------- Alap ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
    margin: 0 0 1rem;
    text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
h1 em, h2 em { font-style: italic; font-weight: 600; }

p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

:focus-visible {
    outline: 3px solid rgba(69, 125, 183, .85);
    outline-offset: 2px;
    border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--navy);
    color: var(--white);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ---------- Gombok, linkek ---------- */

.btn {
    display: inline-block;
    padding: .7rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-lg { padding: .85rem 1.9rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    border-color: rgba(255, 255, 255, .65);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .24); border-color: var(--white); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); }

/* Ghost gomb világos háttérre */
.btn-ghost-dark { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost-dark:hover { background: rgba(69, 125, 183, .1); }

.text-link {
    display: inline-block;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}
.text-link::after {
    content: '\2192';
    display: inline-block;
    margin-left: .4rem;
    transition: transform .18s ease;
}
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Eyebrow ---------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .75rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brass);
}
.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: currentColor;
    opacity: .7;
}

/* ---------- Fejléc ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
}
.brand img { border-radius: 50%; }
.brand-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .01em;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 1.9rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-nav a:not(.btn) {
    font-weight: 600;
    font-size: .98rem;
    color: var(--navy);
    text-decoration: none;
    padding: .4rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.site-nav a:not(.btn):hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: '';
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -8px; }
.nav-toggle-bar::after { left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(88vh, 760px);
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 7.5rem);
    color: var(--white);
    overflow: hidden;
}
.hero-media,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-media { z-index: 0; }
.hero-media img { object-fit: cover; }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(25, 22, 64, .92) 0%, rgba(25, 22, 64, .66) 48%, rgba(25, 22, 64, .30) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.25rem;
    padding: .35rem .9rem .35rem .5rem;
    border: 1px solid rgba(168, 133, 59, .8);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mist-2);
}
.hero-badge-year {
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--brass);
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: .04em;
}

.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 1.25rem; }
.hero-lead {
    max-width: 36rem;
    font-size: 1.15rem;
    color: var(--mist);
    margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    z-index: 2;
    color: var(--foam);
    line-height: 0;
}
.hero-wave svg { width: 100%; height: clamp(24px, 4vw, 56px); }

/* Indulási tábla kártya */

.departure-card {
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.5rem 1.25rem;
}
.departure-card-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brass);
}
.departure-card-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--mist);
}
.departure-fallback { color: var(--ink-soft); font-size: .98rem; }

.departure-row {
    display: flex;
    align-items: baseline;
    gap: .8rem;
    padding: .55rem 0;
    border-bottom: 1px dashed var(--line);
    text-decoration: none;
}
.departure-row:first-child { padding-top: 0; }
.departure-time {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}
.departure-port { flex: 1; color: var(--ink); font-weight: 600; font-size: .95rem; }
.departure-day {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--blue);
}

.departure-card-foot { margin-top: 1.15rem; }
.departure-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .9rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
}
.departure-phone:hover { color: var(--blue); }

/* ---------- Szekciók ---------- */

.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

.full-photo { margin: 0; line-height: 0; }
.full-photo img {
    width: 100%;
    height: clamp(280px, 46vw, 580px);
    object-fit: cover;
}
.section-lead { max-width: 42rem; color: var(--ink-soft); margin-bottom: 2rem; }
.section-more { margin: 2.5rem 0 0; text-align: center; }
.section-note { color: var(--ink-soft); font-size: .95rem; margin-top: 1.5rem; }

.page-head {
    background: linear-gradient(115deg, var(--navy) 0%, var(--navy-soft) 100%);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    color: var(--white);
    text-align: center;
}
.page-head h1 { color: var(--white); margin-bottom: .75rem; }
.page-head .eyebrow { color: var(--mist-2); justify-content: center; }
.page-lead { max-width: 46rem; font-size: 1.12rem; color: var(--mist); margin: 0 auto; }

/* ---------- Intro (főoldal) ---------- */

.section-intro { background: var(--foam); }
.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.intro-media { margin: 0; }
.intro-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
}
.intro-caption {
    margin-top: .75rem;
    font-size: .88rem;
    color: var(--ink-soft);
}
.fact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin: 1.75rem 0;
    padding: 0;
    list-style: none;
}
.fact-list li {
    border-left: 3px solid var(--mist-2);
    padding-left: .9rem;
}
.fact-list strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
}
.fact-list span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Útvonal („vízvonal") ---------- */

.section-route {
    background: var(--white);
    padding-bottom: 0;
}
.section-route .container { max-width: 1080px; }
.section-route .section-lead { margin-bottom: 0; }

/* A cím alatti teljes sáv háttere az illusztrált útvonaltérkép; balra fehér
   átmenet biztosítja a megállólista olvashatóságát, jobbra a térkép mutatja
   vizuálisan a hajó útját */
.route-mapband {
    margin-top: 2rem;
    padding: 2.5rem 0 clamp(3.5rem, 7vw, 5.5rem);
    background-color: var(--white);
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 38%, rgba(255, 255, 255, .35) 62%, rgba(255, 255, 255, 0) 82%),
        url('../images/route-map.webp?v=2');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
}

.route-panel { max-width: 560px; }

/* A mobil térkép csak 980px alatt jelenik meg, a lista alatt */
.route-mapsmall { display: none; margin: 1.75rem 0 0; }
.route-mapsmall a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.route-mapsmall img { width: 100%; }

.route-zoom { margin: 1.5rem 0 0; }

.route {
    position: relative;
    margin: 0;
    padding: .5rem 0 .5rem;
    list-style: none;
}
.route::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 21px;
    width: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='40' viewBox='0 0 14 40'%3E%3Cpath d='M7 0c5 6.7-5 13.3 0 20s-5 13.3 0 20' fill='none' stroke='%23457DB7' stroke-opacity='.45' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: repeat-y;
}
.route-stop {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: .65rem;
    padding: .5rem 0 .5rem 64px;
}
.route-marker {
    position: absolute;
    left: 21px;
    top: 50%;
    transform: translate(-50%, -50%) translateX(7px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    border: 2.5px solid var(--blue);
}
.route-port .route-marker {
    width: 34px;
    height: 34px;
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.route-num {
    font-size: .8rem;
    font-weight: 600;
    color: var(--brass);
    font-variant-numeric: tabular-nums;
    min-width: 1.4rem;
}
.route-name { color: var(--ink-soft); }
.route-port .route-name {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--navy);
}

/* ---------- Kártyák ---------- */

.card-grid {
    display: grid;
    gap: 1.4rem;
    margin-top: 2.25rem;
}
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

.service-card,
.article-card {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.9rem 1.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover,
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: .5rem;
    border-radius: 50%;
    background: var(--mist);
    color: var(--navy);
}
.service-card-title,
.article-card-title {
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 600;
    color: var(--navy);
}
.service-card-desc,
.article-card-desc {
    color: var(--ink-soft);
    font-size: .97rem;
    flex: 1;
}
.article-card-eyebrow {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brass);
}

/* ---------- CTA sáv ---------- */

.section-cta {
    background: linear-gradient(115deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: var(--white);
}
.section-cta h2 { color: var(--white); margin-bottom: .5rem; }
.section-cta p { color: var(--mist); margin: 0; max-width: 36rem; }
.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}
.cta-phone {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}
.cta-phone:hover { color: var(--mist-2); }

/* ---------- Menetrend tábla ---------- */

.section-schedule { background: var(--foam); }

.schedule-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.schedule-legend li { display: flex; align-items: center; gap: .45rem; }
.schedule-legend li::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
}
.legend-free::before { background: var(--white); border: 2.5px solid var(--blue); }
.legend-full::before { background: var(--mist-2); border: 2.5px solid var(--mist-2); }
.legend-past::before { background: transparent; border: 2px dashed rgba(77, 75, 110, .5); }

.schedule-hint { color: var(--ink-soft); margin: .5rem 0 1.5rem; }

.schedule-board {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1.1rem;
    background: var(--navy);
    color: var(--white);
}
.week-label {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
}
.week-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .4rem .9rem;
    border: 1.5px solid var(--white);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.week-btn:hover:not(:disabled) { background: var(--mist-2); border-color: var(--mist-2); }
.week-btn:disabled { opacity: .3; cursor: default; }

.sched-day + .sched-day { border-top: 1px solid var(--line); }
.sched-day-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 1.1rem;
    background: var(--foam);
    font-size: .92rem;
    font-weight: 600;
    color: var(--navy);
}
.sched-day-head .today-flag {
    padding: .05rem .6rem;
    border-radius: 999px;
    background: var(--brass);
    color: var(--white);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.sched-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem 1.1rem;
}
.sched-row + .sched-row { border-top: 1px dashed var(--line); }
.sched-port {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex: 0 0 175px;
    font-size: .93rem;
    font-weight: 600;
    color: var(--navy);
}
.sched-port svg { color: var(--blue); flex: none; }
.sched-slots {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.slot {
    font: inherit;
    font-size: .93rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    padding: .32rem .85rem;
    border-radius: 999px;
    line-height: 1.3;
}
.slot-free {
    background: var(--white);
    border: 2px solid var(--blue);
    color: var(--blue);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.slot-free:hover { background: var(--blue); color: var(--white); transform: scale(1.05); }
.slot-full {
    background: var(--mist-2);
    border: 2px solid var(--mist-2);
    color: var(--navy-soft);
    opacity: .75;
}
.slot-past {
    background: transparent;
    border: 2px dashed rgba(77, 75, 110, .35);
    color: rgba(77, 75, 110, .55);
}

.schedule-phone { margin-top: 1.5rem; color: var(--ink-soft); }

.schedule-static { width: 100%; border-collapse: collapse; }
.schedule-static caption { padding: .8rem; font-weight: 600; }
.schedule-static th, .schedule-static td { padding: .7rem 1rem; border-top: 1px solid var(--line); text-align: left; }

/* ---------- Árak ---------- */

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}
.price-block {
    background: var(--foam);
    border-radius: var(--radius);
    padding: 1.7rem 1.6rem;
}
.price-block h3 { margin-bottom: 1rem; }
.price-list { margin: 0; }
.price-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .45rem 0;
    border-bottom: 1px dashed var(--line);
}
.price-list dt { color: var(--ink-soft); }
.price-list dd {
    margin: 0;
    font-weight: 600;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.price-note { margin: 1rem 0 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Kikötők, tudnivalók ---------- */

.port-card {
    background: var(--foam);
    border-radius: var(--radius);
    padding: 1.7rem 1.6rem;
}
.port-card h3 { margin-bottom: .4rem; }
.port-card p { margin: 0 0 .4rem; color: var(--ink-soft); }
.port-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: .9rem;
    border-radius: 50%;
    background: var(--mist);
    color: var(--navy);
}
.port-note {
    margin-top: .6rem !important;
    padding: .55rem .8rem;
    border-radius: var(--radius-sm);
    background: rgba(168, 133, 59, .12);
    color: #7a6128 !important;
    font-size: .92rem;
}

.note-list {
    max-width: 46rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}
.note-list li {
    position: relative;
    padding: .45rem 0 .45rem 1.9rem;
    color: var(--ink-soft);
}
.note-list li strong { color: var(--navy); }
.note-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .95rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2.5px solid var(--blue);
}

/* ---------- Prose, műszaki adatok ---------- */

.prose { max-width: 46rem; }
.prose-narrow { max-width: 43rem; }
.prose h2 { margin-top: 2.25rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; color: var(--ink-soft); }
.prose li strong { color: var(--navy); }
.prose p { color: var(--ink-soft); }
.prose p strong { color: var(--navy); }

.detail-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
    gap: 1rem;
    margin: 1.75rem 0;
}
.detail-facts > div {
    background: var(--foam);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}
.detail-facts strong {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: .25rem;
}
.detail-facts span {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.12rem;
    color: var(--navy);
}

.section-specs { background: var(--foam); }
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 0 3rem;
    max-width: 52rem;
}
.specs-list { margin: 0; }
.specs-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 0;
    border-bottom: 1px dashed var(--line);
}
.specs-list dt { color: var(--ink-soft); }
.specs-list dd { margin: 0; font-weight: 600; color: var(--navy); white-space: nowrap; }
.specs-note { margin-top: 1.5rem; font-size: .9rem; color: var(--ink-soft); max-width: 46rem; }

/* ---------- Videók ---------- */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 1.4rem;
    margin-top: 1.5rem;
}
.video-grid-single { max-width: 760px; }
.video-facade {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    aspect-ratio: 16 / 9;
    padding: 1rem;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(130deg, var(--navy) 0%, var(--navy-soft) 55%, var(--blue-deep) 100%);
    color: var(--white);
    font: inherit;
    cursor: pointer;
}
.video-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; }
.video-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    transition: transform .18s ease;
}
.video-facade:hover .video-play { transform: scale(1.1); }
.video-source {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mist-2);
}
.video-frame {
    aspect-ratio: 16 / 9;
    width: 100%;
    border: 0;
    border-radius: var(--radius);
}

/* ---------- Galéria ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: .9rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}
.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.gallery-grid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .25s ease;
}
.gallery-grid a:hover img { transform: scale(1.045); }

/* Mobilon a galéria képei nem kattinthatók: a lightbox ott nem adna nagyobb képet */
@media (max-width: 759px) {
    .gallery-grid a { pointer-events: none; cursor: default; }
}

.lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(92vw, 1200px);
}
.lightbox::backdrop { background: rgba(10, 9, 30, .88); }
.lightbox img {
    max-width: 92vw;
    max-height: 84vh;
    width: auto;
    height: auto;
    margin: auto;
    border-radius: var(--radius-sm);
}
.lightbox .modal-close { position: fixed; top: 1rem; right: 1rem; }
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: var(--white);
    cursor: pointer;
    transition: background-color .15s ease;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ---------- Kapcsolat ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.contact-block { margin-bottom: 1.5rem; }
.contact-big {
    margin: 0 0 .3rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
}
.contact-big a { color: var(--navy); text-decoration: none; }
.contact-big a:hover { color: var(--blue); }

.map-facade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    min-height: 220px;
    margin-top: 1rem;
    padding: 2rem;
    border: 2px dashed var(--mist-2);
    border-radius: var(--radius);
    background: var(--foam);
    font: inherit;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.map-facade:hover { background: var(--mist); border-color: var(--blue); }
.map-facade-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    color: var(--navy);
}
.map-facade-label svg { color: var(--blue); }
.map-facade-note { font-size: .85rem; color: var(--ink-soft); }
.map-frame {
    width: 100%;
    height: 420px;
    margin-top: 1rem;
    border: 0;
    border-radius: var(--radius);
}

.contact-form-wrap {
    background: var(--foam);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-form-wrap h2 { font-size: 1.5rem; }

/* ---------- Űrlapok ---------- */

.form-field { margin-bottom: 1.1rem; }
.form-field label {
    display: block;
    margin-bottom: .35rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--navy);
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: .68rem .9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    font: inherit;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(69, 125, 183, .18);
}
.form-check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: 1.25rem;
    font-size: .95rem;
    color: var(--ink-soft);
}
.form-check input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .2rem;
    accent-color: var(--blue);
}
.form-success {
    margin: 1rem 0 0;
    padding: .8rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(47, 125, 79, .12);
    color: var(--green);
    font-weight: 600;
}

/* ---------- Foglalási modal ---------- */

.booking-modal,
.lightbox {
    margin: auto;
}
.booking-modal {
    width: min(440px, calc(100vw - 2rem));
    border: 0;
    border-radius: var(--radius);
    padding: 0;
    box-shadow: 0 24px 60px rgba(10, 9, 30, .35);
}
.booking-modal::backdrop { background: rgba(10, 9, 30, .65); }
.booking-inner { position: relative; padding: 2rem 1.9rem 1.9rem; }

.modal-close {
    position: absolute;
    top: .9rem;
    right: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--foam);
    color: var(--navy);
    cursor: pointer;
    transition: background-color .15s ease;
    z-index: 2;
}
.modal-close:hover { background: var(--mist); }

.booking-title { font-size: 1.35rem; margin-bottom: .25rem; }
.booking-meta {
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px dashed var(--line);
    color: var(--ink-soft);
    font-size: .95rem;
}

.booking-success { text-align: center; padding: 1rem 0 .25rem; }
.booking-success h2 { font-size: 1.4rem; }
.booking-success p { color: var(--ink-soft); }
.success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(47, 125, 79, .14);
    color: var(--green);
}

/* ---------- Lábléc ---------- */

.site-footer {
    background: var(--navy);
    color: var(--mist);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
}
.footer-logo img { border-radius: 50%; }
.footer-tagline { font-size: .95rem; color: var(--mist); opacity: .85; max-width: 22rem; }
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
    color: var(--mist-2);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
}
.footer-social:hover { color: var(--white); }

.footer-title {
    margin: 0 0 .9rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mist-2);
}
.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-list li { margin-bottom: .45rem; }
.footer-list a {
    color: var(--mist);
    text-decoration: none;
    font-size: .98rem;
}
.footer-list a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-block: 1.1rem;
    font-size: .9rem;
}
.footer-bottom p { margin: 0; opacity: .85; }
.footer-bottom a { color: var(--mist); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Reszponzív ---------- */

@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .departure-card { max-width: 480px; }
    .intro-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* Mobilon nincs háttértérkép: a mobil térkép a lista alatt jelenik meg */
    .route-mapband { background-image: none; }
    .route-mapsmall { display: block; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: 1rem clamp(1.25rem, 4vw, 2rem) 1.5rem;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
    }
    .site-nav a:not(.btn) {
        display: block;
        padding: .7rem 0;
        font-size: 1.1rem;
        border-bottom: 0;
    }
    .nav-cta-item { margin-top: .75rem; }
    .nav-cta-item .btn { display: block; }

    .sched-row { flex-direction: column; align-items: stretch; gap: .5rem; }
    .sched-port { flex: none; }
}

@media (max-width: 560px) {
    /* A hero két gombja egymás mellett marad */
    .hero-actions { flex-wrap: nowrap; gap: .6rem; }
    .hero-actions .btn {
        flex: 1;
        padding: .8rem .6rem;
        font-size: .95rem;
        white-space: nowrap;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .week-label { font-size: .95rem; }
    .week-btn { padding: .35rem .7rem; font-size: .82rem; }
    .lightbox-nav { width: 42px; height: 42px; }
    .lightbox-prev { left: .4rem; }
    .lightbox-next { right: .4rem; }
}

/* ---------- Mozgás-érzékenység ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ---------- Süti értesítő ---------- */

.cookie-notice {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 90;
    max-width: 390px;
    padding: 1.15rem 1.3rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .35s ease, transform .35s ease;
}
.cookie-notice.is-visible { opacity: 1; transform: none; }
.cookie-notice-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 .35rem;
}
.cookie-notice-text {
    color: var(--ink-soft);
    font-size: .93rem;
    line-height: 1.55;
    margin: 0 0 .95rem;
}
.cookie-notice-actions { display: flex; align-items: center; gap: 1.1rem; }
.cookie-notice-actions .btn { padding: .5rem 1.35rem; font-size: .95rem; }
.cookie-notice-link { font-size: .93rem; color: var(--blue); }

@media (max-width: 560px) {
    .cookie-notice { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
}

/* ---------- Táblázat a prose tartalomban (süti tájékoztató) ---------- */

.table-scroll { overflow-x: auto; margin: 0 0 1.5rem; }

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}
.prose th, .prose td {
    text-align: left;
    padding: .6rem .75rem .6rem 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.prose th { color: var(--navy); font-weight: 600; }
.prose td { color: var(--ink-soft); }
.prose td code {
    font-size: .88em;
    background: var(--foam);
    padding: .1em .4em;
    border-radius: 6px;
    white-space: nowrap;
}
