/* ==========================================================================
   Agencja Celna EURIKO — arkusz stylów
   Bez zewnętrznych zależności (brak CDN, brak Google Fonts) — RODO-friendly.
   ========================================================================== */

:root {
  --navy: #0b2a5b;
  --navy-dark: #071d3f;
  --blue: #14448c;
  --blue-light: #2f6fd0;
  --gold: #ffcc00;
  --ink: #1c2430;
  --muted: #5a6675;
  --line: #dde3ec;
  --bg: #f4f6fa;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 6px rgba(11, 42, 91, .06), 0 12px 28px rgba(11, 42, 91, .07);
  --shadow-sm: 0 1px 3px rgba(11, 42, 91, .10);
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }
a:hover { color: var(--blue-light); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }

/* ---------- Pasek górny ---------- */
.topbar {
  background: var(--navy);
  color: #cfdcf2;
  font-size: .92rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  align-items: center; justify-content: flex-end;
  min-height: 40px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar .ico { color: var(--gold); margin-right: 6px; }

/* ---------- Nagłówek / nawigacja ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}
.logo img { width: 320px; max-width: 62vw; }

.nav-toggle {
  display: none;
  background: var(--navy); color: #fff; border: 0;
  border-radius: 8px; padding: 10px 14px;
  font: inherit; font-weight: 600; cursor: pointer;
  align-items: center; gap: 9px;
}
.nav-toggle .bars { display: block; width: 20px; height: 2px; background: #fff; position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }

.main-nav ul {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  display: block; padding: 10px 16px; border-radius: 8px;
  color: var(--navy); text-decoration: none; font-weight: 600;
}
.main-nav a:hover { background: var(--bg); color: var(--blue); }
.main-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.main-nav a.ext::after { content: " ↗"; font-size: .8em; opacity: .7; }

/* ---------- Hero / slider ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, #1c5bb8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 204, 0, .16), transparent 42%),
    radial-gradient(circle at 12% 96%, rgba(255, 255, 255, .10), transparent 45%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 44px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { font-size: 1.1rem; color: #dbe6f7; max-width: 62ch; margin-bottom: 26px; }

.slider {
  position: relative;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 26px 58px;
  min-height: 168px;
  display: flex; align-items: center;
  backdrop-filter: blur(2px);
}
.slides { flex: 1; }
.slide { display: none; animation: fade .5s ease; }
.slide.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.slide .kicker {
  display: inline-block; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700; color: var(--navy);
  background: var(--gold); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.slide h2 { color: #fff; font-size: clamp(1.35rem, 1rem + 1.8vw, 2.1rem); margin-bottom: .3em; }
.slide p  { color: #dbe6f7; margin: 0; max-width: 58ch; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.slider-btn:hover { background: rgba(255, 255, 255, .28); }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; margin: 0; padding: 0; list-style: none;
}
.slider-dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7); background: transparent; cursor: pointer;
}
.slider-dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 8px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: #ffd94a; color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-solid:hover { background: var(--blue); color: #fff; }

/* ---------- Sekcje ---------- */
.section { padding: 56px 0; }
.section-white { background: var(--white); }
.section-tint  { background: var(--bg); }
.section-head { max-width: 74ch; margin-bottom: 34px; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.breadcrumbs { background: var(--white); border-bottom: 1px solid var(--line); font-size: .9rem; }
.breadcrumbs .wrap { padding-top: 12px; padding-bottom: 12px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }

/* ---------- Karty usług ---------- */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.section-white .card { background: var(--bg); }
.card:hover { box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card .num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-size: .95rem; font-weight: 700;
}
.card ul { margin: 0 0 1em; padding-left: 1.15em; }
.card li { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .note { color: var(--muted); font-size: .95rem; }

/* Usługa wiodąca */
.card-main { border-color: var(--navy); border-top: 4px solid var(--gold); }
.card-main h3 { font-size: 1.25rem; }

/* Wyróżnienie kontaktu telefonicznego */
.phone-note {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 18px; padding: 12px 16px; border-radius: 8px;
  background: rgba(255, 204, 0, .16); border: 1px solid rgba(255, 204, 0, .5);
  font-size: .96rem; color: #fff;
}
.phone-note .ico { color: var(--gold); font-size: 1.15rem; }
.phone-note a { color: #fff; font-weight: 700; }

.section-white .phone-note,
.section-tint .phone-note,
.contact-card .phone-note,
.panel .phone-note {
  background: #fff8e1; border-color: #f0dfa8; color: #5c4d16;
}
.section-white .phone-note a,
.section-tint .phone-note a,
.contact-card .phone-note a,
.panel .phone-note a { color: var(--navy); }

.rec-badge {
  display: inline-block; margin-left: 8px; padding: 2px 10px;
  border-radius: 999px; background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; vertical-align: 2px;
}
.contact-list li.is-preferred { background: #fff8e1; border-radius: 8px; padding-left: 12px; padding-right: 12px; }

/* ---------- Panel informacyjny ---------- */
.panel {
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.section-white .panel { background: var(--bg); }
.panel p:last-child { margin-bottom: 0; }

/* ---------- Lista dokumentów ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.doc-list a {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.doc-list a:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.doc-list .pdf {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 8px;
  background: #c8102e; color: #fff; font-size: .78rem; font-weight: 700;
  display: grid; place-items: center; letter-spacing: .04em;
}
.doc-list strong { display: block; color: var(--navy); font-size: 1.05rem; }
.doc-list span.meta { color: var(--muted); font-size: .9rem; }
.doc-list .arrow { margin-left: auto; color: var(--blue); font-weight: 700; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid; gap: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
}
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-size: 1.05rem;
}
.contact-list .label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a { text-decoration: none; font-weight: 700; font-size: 1.08rem; }
.contact-list address { font-style: normal; font-weight: 600; }

.map-embed {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white);
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Formularz ---------- */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-row .req { color: #c8102e; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid #c3ccda; border-radius: 8px;
}
.section-tint .form-row input, .section-tint .form-row textarea { background: var(--white); }
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue-light); }
.form-row textarea { min-height: 150px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); margin-bottom: 18px; }
.form-consent input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy-dark); color: #b9c8e2; padding: 44px 0 0; margin-top: 0; }
.footer-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  padding-bottom: 30px;
}
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .07em; }
.site-footer a { color: #dce6f7; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo-foot { background: #fff; border-radius: 8px; padding: 10px; display: inline-block; margin-bottom: 14px; }
.site-footer .logo-foot img { width: 240px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0; font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* ---------- Baner cookies ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
  display: none; gap: 16px; align-items: center; flex-wrap: wrap;
  max-width: 820px; margin: 0 auto; font-size: .95rem;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { margin: 0; flex: 1 1 320px; color: var(--muted); }

/* ---------- Treść artykułu (polityka prywatności) ---------- */
.prose { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ==========================================================================
   NARZĘDZIA (kursy walut, kalkulatory, wyszukiwarki)
   ========================================================================== */

/* Kotwice sekcji */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; padding: 0; list-style: none; }
.chips a {
  display: inline-block; padding: 8px 15px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--navy);
}
.chips a:hover { border-color: var(--blue-light); color: var(--blue); }

/* Pasek kursów na stronie głównej */
.rates-strip {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}
.rate-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.section-white .rate-card { background: var(--bg); }
.rate-card .code { font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.rate-card .val  { font-size: 1.32rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.rate-card .name { font-size: .8rem; color: var(--muted); }
.rate-card .delta { font-size: .82rem; font-weight: 700; }
.delta.up   { color: #128a3d; }
.delta.down { color: #c8102e; }
.delta.flat { color: var(--muted); }

.rates-meta { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.rates-meta strong { color: var(--navy); }

/* Karta narzędzia */
.tool {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.section-white .tool { background: var(--bg); }
.tool > h2 { margin-bottom: .35em; }
.tool .intro { color: var(--muted); }

.tool-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: end; }
.tool-grid .form-row { margin-bottom: 0; }
.tool-grid select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid #c3ccda; border-radius: 8px;
}
.tool-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Wynik */
.result {
  margin-top: 20px; padding: 18px 20px; border-radius: 8px;
  background: #eef3fb; border: 1px solid #cfdcf2; display: none;
}
.result.is-visible { display: block; }
.result.is-error { background: #fdecee; border-color: #f3c2c8; }
.result.is-ok    { background: #eaf7ef; border-color: #bfe6cd; }
.result h3 { margin-bottom: .4em; font-size: 1.05rem; }
.result dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.result dt { color: var(--muted); }
.result dd { margin: 0; font-weight: 600; text-align: right; }
.result .total { border-top: 2px solid var(--navy); margin-top: 10px; padding-top: 10px; }
.result .total dd, .result .total dt { font-size: 1.12rem; color: var(--navy); font-weight: 700; }
.result .badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; margin-left: 8px;
}
.badge.ok  { background: #128a3d; color: #fff; }
.badge.bad { background: #c8102e; color: #fff; }

/* Tabela kursów */
.table-scroll { overflow-x: auto; margin-top: 18px; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 460px; }
table.data th, table.data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--navy); color: #fff; font-weight: 600; position: sticky; top: 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tbody tr:hover { background: #eef3fb; }
table.data .cur-code { font-weight: 700; color: var(--navy); }

.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.filter-row input[type="search"] {
  flex: 1 1 220px; padding: 11px 14px; font: inherit;
  border: 1px solid #c3ccda; border-radius: 8px; background: var(--white);
}

/* Lista terminów / progów */
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 0; padding: 0; list-style: none; }
.facts li {
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--blue-light); border-radius: 8px; padding: 16px 18px;
}
.section-white .facts li { background: var(--bg); }
.facts .k { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.facts .v { font-size: 1.22rem; font-weight: 700; color: var(--navy); }

/* Linki zewnętrzne */
.linkgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.linkgrid a {
  display: block; padding: 18px 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.section-white .linkgrid a { background: var(--bg); }
.linkgrid a:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.linkgrid strong { display: block; color: var(--navy); margin-bottom: 3px; }
.linkgrid span { color: var(--muted); font-size: .92rem; }

/* Zastrzeżenie prawne */
.disclaimer {
  margin-top: 16px; padding: 14px 16px; border-radius: 8px;
  background: #fff8e1; border: 1px solid #f0dfa8;
  font-size: .9rem; color: #6b5a1e;
}
.disclaimer strong { color: #4a3d10; }

.spinner {
  display: inline-block; width: 16px; height: 16px; vertical-align: -3px;
  border: 2px solid rgba(11, 42, 91, .25); border-top-color: var(--navy);
  border-radius: 50%; animation: spin .7s linear infinite; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 620px) {
  .tool { padding: 20px; }
  .result dl { grid-template-columns: 1fr; gap: 2px 0; }
  .result dd { text-align: left; margin-bottom: 8px; }
}

/* ---------- WhatsApp (pływający przycisk) ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 74px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #0a3d22; text-decoration: none;
  border-radius: 999px; padding: 12px 20px 12px 14px;
  font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}
.wa-float:hover { background: #1fbe59; color: #08301b; }
.wa-float svg { width: 26px; height: 26px; flex: 0 0 auto; fill: #0a3d22; }
.wa-float .wa-label { white-space: nowrap; }

.contact-list .ico.wa { background: #25d366; }
.contact-list .ico.wa svg { width: 20px; height: 20px; fill: #0a3d22; }

/* ---------- Do góry ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  font-size: 1.2rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s;
}
.to-top.is-visible { opacity: .92; visibility: visible; }
.to-top:hover { opacity: 1; }

/* ==========================================================================
   RWD
   ========================================================================== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 3px solid var(--navy);
    box-shadow: var(--shadow); padding: 10px 20px 18px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-inner { position: relative; }
  .topbar .wrap { justify-content: center; text-align: center; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 40px 0; }
  .slider { padding: 22px 16px 40px; min-height: 0; }
  .slider-btn { display: none; }
  .contact-card, .prose { padding: 20px; }
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .wa-float { padding: 13px; bottom: 70px; }
  .wa-float .wa-label { display: none; }
}

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

@media print {
  .topbar, .nav-toggle, .main-nav, .hero, .cookie-bar, .to-top, .wa-float, .map-embed { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .card, .panel, .contact-card, .prose { box-shadow: none; border: 1px solid #ccc; }
}
