/* =========================================================
   Autoškola Bosák – štýly
   ========================================================= */

:root {
    --navy-900: #071528;
    --navy-800: #0b1f3a;
    --navy-700: #13305a;
    --navy-100: #e8eef7;
    --yellow: #ffc727;
    --yellow-600: #f0b400;
    --ink: #0f1b2d;
    --muted: #5b6b82;
    --line: #e3e8f0;
    --bg: #ffffff;
    --bg-alt: #f5f7fb;
    --ok: #13895b;
    --error: #c62f2f;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .05);
    --shadow: 0 10px 30px -10px rgba(11, 31, 58, .18);
    --shadow-lg: 0 30px 60px -20px rgba(11, 31, 58, .35);

    --container: 1200px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt { margin-top: 2.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.icon { flex-shrink: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--navy-700); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--yellow); border-radius: 3px; }
.eyebrow--light { color: var(--yellow); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--navy-800); --fg: #fff; --bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid var(--bd);
    background: var(--bg); color: var(--fg); font: inherit; font-weight: 700; font-size: .98rem;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg); }
.btn--primary { --bg: var(--yellow); --fg: var(--navy-900); }
.btn--primary:hover { --bg: var(--yellow-600); }
.btn--outline { --bg: transparent; --fg: var(--navy-800); --bd: var(--navy-800); }
.btn--outline:hover { --bg: var(--navy-800); --fg: #fff; }
.btn--ghost-light { --bg: rgba(255,255,255,.08); --fg: #fff; --bd: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.18); }
.btn--sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-900); color: #cdd7e6; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.topbar__inner span, .topbar__phone { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .icon { color: var(--yellow); }
.topbar__phone { color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .topbar__phone { display: none; } }

.site-header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* Rozmazanie v pseudo-elemente – backdrop-filter priamo na hlavičke
   by z nej urobil containing block pre fixed mobilné menu. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand__mark {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: var(--navy-800); color: var(--yellow); font-weight: 800; font-size: 1.4rem;
    box-shadow: inset 0 -4px 0 var(--yellow);
}
.brand__logo { width: 52px; height: 52px; object-fit: contain; transition: transform .3s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }
.brand--light .brand__logo { background: #fff; border-radius: 14px; padding: 4px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.1rem; letter-spacing: -.01em; }
.brand__text small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.brand--light { color: #fff; }
.brand--light .brand__text small { color: #9fb0c8; }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.nav a:not(.btn) {
    display: block; padding: .5rem .8rem; border-radius: 8px;
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
    transition: background .15s, color .15s;
}
.nav a:not(.btn):hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { background: var(--navy-100); color: var(--navy-800); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle__close { display: none; }

@media (max-width: 1080px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: 0; top: var(--header-offset, 76px);
        flex-direction: column; align-items: stretch; gap: 1rem;
        padding: 1.5rem 20px 2rem; background: #fff;
        transform: translateX(100%); visibility: hidden;
        transition: transform .3s var(--ease), visibility .3s;
        overflow-y: auto;
    }
    .nav ul { flex-direction: column; }
    .nav a:not(.btn) { padding: .9rem 1rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav__cta { align-self: stretch; padding: 1rem; }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav { transform: none; visibility: visible; }
    body.nav-open .nav-toggle__open { display: none; }
    body.nav-open .nav-toggle__close { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    color: #fff; background: var(--navy-900);
    min-height: min(88vh, 760px); display: flex; align-items: center;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear;
}
.hero__media img.is-active { opacity: 1; transform: scale(1); }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(7,21,40,.95) 0%, rgba(7,21,40,.82) 42%, rgba(7,21,40,.35) 100%),
        linear-gradient(0deg, rgba(7,21,40,.6), transparent 40%);
}
.hero__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; padding-block: 5rem; }
.hero__content { max-width: 680px; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .hl { color: var(--yellow); }
.hero .lead { color: #d3dcea; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.next-course {
    display: flex; gap: 1rem; align-items: center;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(12px); border-radius: var(--radius); padding: 1.1rem 1.3rem 1.1rem 1.1rem;
    max-width: 340px; animation: rise .8s .3s var(--ease) both;
}
.next-course__date {
    display: grid; place-items: center; width: 68px; height: 72px; flex-shrink: 0;
    background: var(--yellow); color: var(--navy-900); border-radius: 12px; line-height: 1;
}
.next-course__date .day { font-size: 1.9rem; font-weight: 800; }
.next-course__date .month { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: -6px; }
.next-course small { display: block; color: var(--yellow); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }
.next-course strong { display: block; line-height: 1.3; }
.next-course > div:last-child > span { color: #c3cee0; font-size: .9rem; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; padding-block: 4rem 3rem; }
    .hero::before { background: linear-gradient(180deg, rgba(7,21,40,.75), rgba(7,21,40,.95)); }
}

/* ---------- Stats ---------- */
.stats { background: var(--navy-800); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.8rem 1rem; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--yellow); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: #b5c3d8; font-size: .9rem; }
@media (max-width: 700px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-800); color: #fff; }
.section--dark h2 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.section-head--row h2 { margin-bottom: 0; }

.page-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(255,199,39,.18), transparent 40%),
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem);
    position: relative; overflow: hidden;
}
.page-hero::after {
    /* stredová čiara cesty */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: repeating-linear-gradient(90deg, var(--yellow) 0 48px, transparent 48px 80px);
    opacity: .9;
}
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { color: #cdd7e6; margin: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--2, .cards--3 { grid-template-columns: 1fr; } }

.card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.75rem; color: var(--ink); text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card p { color: var(--muted); margin-bottom: 0; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card--link:hover .card__icon { background: var(--yellow); color: var(--navy-900); }
.card__icon {
    display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
    background: var(--navy-100); color: var(--navy-800); margin-bottom: 1.1rem; transition: background .25s, color .25s;
}
.card__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; color: var(--navy-700); font-size: .92rem; }
.card--lg { padding: 2.1rem; scroll-margin-top: 100px; }
.card--lg h2 { font-size: 1.45rem; }
.card--lg p + p, .card--lg ul { margin-top: 1rem; }
.card--accent { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.card--accent p { color: #c3cee0; }
.card--accent a { color: var(--yellow); font-weight: 700; }
.card--accent .card__icon { background: var(--yellow); color: var(--navy-900); }

.price-tag { font-size: 1.6rem; font-weight: 800; color: var(--navy-800) !important; margin-top: 1.25rem !important; }
.price-tag small { font-size: .95rem; color: var(--muted); font-weight: 600; }

/* ---------- Split / benefits ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.badge-float {
    position: absolute; left: -18px; bottom: 28px; display: inline-flex; align-items: center; gap: .6rem;
    background: var(--yellow); color: var(--navy-900); font-weight: 800; padding: .9rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow);
}
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split__media img { aspect-ratio: 16/10; }
    .badge-float { left: 12px; bottom: 12px; }
}

.benefits { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
.benefits li { display: flex; gap: .9rem; }
.benefits strong { display: block; margin-bottom: .15rem; }
.benefits p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.benefits__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-800); color: var(--yellow); flex-shrink: 0; }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 1.75rem 1.5rem; background: var(--bg-alt); border-radius: var(--radius); }
.steps li > span {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--yellow); color: var(--navy-900); font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem;
    box-shadow: 0 0 0 6px #fff;
}
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review {
    margin: 0; padding: 1.75rem; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); color: var(--ink);
    display: flex; flex-direction: column; gap: 1rem;
}
.section--dark .review { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #fff; }
.review__stars { display: flex; gap: 2px; color: var(--yellow); }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .75rem; }
.review figcaption strong { display: block; line-height: 1.2; }
.review figcaption small { color: var(--muted); }
.section--dark .review figcaption small { color: #9fb0c8; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-700); color: var(--yellow); font-weight: 800; font-size: .9rem; flex-shrink: 0; }

.masonry { display: block; columns: 3 300px; column-gap: 1.25rem; }
.masonry .review { break-inside: avoid; margin-bottom: 1.25rem; }

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.gallery--preview { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .gallery--preview { grid-template-columns: repeat(2, 1fr); } }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4/3; background: var(--navy-100); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(5,12,24,.94);
    display: grid; place-items: center; padding: 4rem 1rem;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 85vh; max-width: min(1200px, 100%); width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox button {
    position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer;
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem;
}
.lightbox button:hover { background: var(--yellow); color: var(--navy-900); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1.25rem; color: #9fb0c8; font-size: .9rem; }

/* ---------- Course page ---------- */
.course-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; scroll-margin-top: 100px; }
.course-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.course-stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.course-stat strong { display: block; font-size: 2.4rem; line-height: 1; color: var(--navy-800); font-weight: 800; letter-spacing: -.03em; }
.course-stat strong::after { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--yellow); margin: .6rem 0 .5rem; }
.course-stat span { display: block; font-weight: 700; }
.course-stat small { color: var(--muted); }
@media (max-width: 900px) { .course-feature { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .course-stats { grid-template-columns: 1fr; } }

.panel { background: var(--bg-alt); border-radius: 20px; padding: 2rem; }
.panel h3 { display: flex; align-items: center; gap: .5rem; }
.panel__note { font-size: .93rem; color: var(--muted); padding: 1rem; background: #fff; border-radius: var(--radius-sm); margin: 1.25rem 0; }
.panel--highlight { background: var(--navy-100); margin-top: 2.5rem; }
.course-feature .panel { position: sticky; top: 100px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { color: var(--ok); margin-top: .2rem; background: #dff3ea; border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.checklist--compact { font-size: .95rem; color: var(--muted); }

/* ---------- Price list ---------- */
.price-list { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.price-row { display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.6rem; border-bottom: 1px solid var(--line); transition: background .15s; }
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: var(--bg-alt); }
.price-row strong { display: block; font-size: 1.08rem; }
.price-row small { color: var(--muted); }
.price-row__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 1rem; }
.price-row__price { font-weight: 800; font-size: 1.3rem; color: var(--navy-800); white-space: nowrap; }
.price-row__price small { font-size: .85rem; font-weight: 600; }
@media (max-width: 520px) {
    .price-row { flex-wrap: wrap; }
    .price-row__dots { display: none; }
    .price-row > div { flex: 1 1 100%; }
}

/* ---------- Advice ---------- */
.advice { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.advice li { display: flex; gap: 1.5rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); }
.advice h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.advice p { margin: 0; color: var(--muted); }
.advice__num { font-size: 2.2rem; font-weight: 800; color: var(--yellow); line-height: 1; -webkit-text-stroke: 1.5px var(--navy-800); }

/* ---------- News ---------- */
.news { display: grid; gap: 1.25rem; }
.news__item { padding: 1.75rem; border-left: 4px solid var(--yellow); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.news__item time { color: var(--muted); font-size: .88rem; font-weight: 600; }
.news__item h2 { font-size: 1.35rem; margin: .3rem 0 .5rem; }
.news__item p { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__info { display: grid; gap: 1rem; }
.contact-card {
    display: flex; gap: 1rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
a.contact-card:hover { border-color: transparent; box-shadow: var(--shadow); color: var(--ink); }
.contact-card .card__icon { margin: 0; width: 46px; height: 46px; }
.contact-card > div { flex: 1; min-width: 0; }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { display: block; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-card span { color: var(--muted); font-size: .92rem; }
.contact__form { scroll-margin-top: 100px; }
.contact__form h2 { font-size: 1.8rem; margin-bottom: .2rem; }

.form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field > span { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(19,48,90,.12); }
.has-error input, .has-error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .85rem; font-weight: 600; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy-800); flex-shrink: 0; }
.check.has-error { color: var(--error); }
.hp { position: absolute; left: -10000px; }

.alert { display: flex; gap: .6rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; margin-top: 1rem; }
.alert--ok { background: #dff3ea; color: var(--ok); }
.alert--error { background: #fbe4e4; color: var(--error); }

.map { height: 420px; background: var(--navy-100); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder { height: 100%; display: grid; place-content: center; text-align: center; padding: 1rem; color: var(--navy-800); }
.map__placeholder p { margin: 0 0 1rem; }
.map__placeholder .icon { margin-inline: auto; color: var(--navy-700); }
.map__placeholder .small { margin-top: 1rem; }

/* ---------- 404 ---------- */
.notfound__code { font-size: clamp(6rem, 18vw, 10rem); font-weight: 800; line-height: 1; margin: 0; color: var(--yellow); -webkit-text-stroke: 3px var(--navy-800); }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--yellow); color: var(--navy-900); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 3rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .3rem; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-band p { margin: 0; font-weight: 500; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn--primary { --bg: var(--navy-800); --fg: #fff; }
.cta-band .btn--primary:hover { --bg: var(--navy-900); }
.cta-band .btn--ghost-light { --fg: var(--navy-900); --bd: var(--navy-900); --bg: transparent; }
.cta-band .btn--ghost-light:hover { --bg: rgba(11,31,58,.08); }

.site-footer { background: var(--navy-900); color: #b5c3d8; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: 4rem 3rem; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__about { margin: 1.25rem 0; max-width: 34ch; }
.site-footer__company { line-height: 1.75; }
.site-footer__company small { color: #7e90ab; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.footer-list li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-list .icon { color: var(--yellow); margin-top: .2rem; }
.footer-list small { color: #7e90ab; }
.social { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-weight: 600; }

.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: .45rem; }
.hours li span:last-child { color: #fff; font-weight: 600; }
.hours--dark { margin-top: .5rem; }
.hours--dark li { border-color: var(--line); color: var(--muted); }
.hours--dark li span:last-child { color: var(--ink); }

.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #7e90ab; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
