/*
 * Patrick Transport — hlavný stylopis.
 * Mobile-first: základné pravidlá platia pre mobil, @media (min-width) pridáva
 * vylepšenia pre väčšie obrazovky. Tmavá, sýta farebná paleta vychádza zo
 * zelenej farby autobusu spoločnosti (logo/fotografie vo /assets/img),
 * doplnená o tyrkysový akcent pre výraznejší, „pestrejší" vzhľad.
 */

/* ===== 1. Premenné a reset ===== */
:root {
  /* Primárna zelená (farba autobusu) a doplnkový tyrkysový akcent */
  --c-primary: #8bc53f;
  --c-primary-2: #2fd0a6;
  --c-primary-dark: #4c8a1f;
  --c-primary-light: #c4e86c;
  --c-primary-soft: rgba(139, 197, 63, 0.16);
  --c-gradient: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-2) 100%);

  /* Tmavá paleta: hlboké zelenočierne pozadie, svetlý text */
  --c-bg: #0d1712;
  --c-bg-soft: #122019;
  --c-surface: #17281e;
  --c-surface-2: #1f3527;
  --c-ink: #ffffff;
  --c-text: #d8e6dc;
  --c-text-muted: #93a99a;
  --c-border: #2b4433;
  --c-border-strong: #3a5a44;

  --font-display: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 6px 18px -8px rgba(0, 0, 0, 0.5);
  --maxw: 1180px;
  --header-h: 96px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Zabraňuje horizontálnemu scrollu spôsobenému mobilným výsuvným menu
     (.site-nav), ktoré je mimo obrazovky posunuté cez transform: translateX —
     bez tohto by jeho plocha mimo viewport zväčšovala scrollWidth stránky. */
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 14px; }

ul { margin: 0 0 14px; padding-left: 20px; }

.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 56px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: #081009; color: #d9e2dc; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--c-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); flex: none; }

/* Text s farebným prechodom pre výraznejšie akcenty */
.grad-text { background: var(--c-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== 2. Tlačidlá ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-gradient); color: #08130c; box-shadow: var(--shadow-sm); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; border-color: var(--c-primary); color: var(--c-primary-light); }
.btn-outline:hover { background: var(--c-primary-soft); }
.btn-ghost { background: none; border-color: var(--c-border-strong); color: var(--c-text); }
.btn-ghost:hover { background: var(--c-surface); }
.btn-light { background: #fff; color: #0d1712; }
.btn-light:hover { background: var(--c-primary-light); }
.btn-block { width: 100%; }
.btn-small { padding: 9px 16px; font-size: 0.85rem; }

/* ===== 3. Hlavička / navigácia ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 23, 18, 0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}
.site-header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 16px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.site-logo { display: flex; align-items: center; height: 100%; flex: none; min-width: 0; }
.site-logo img { height: 28px; width: auto; max-width: 100%; }

/* Logo má veľmi široký pomer strán (nákladiak + text + autobus), preto rastie
   postupne s dostupnou šírkou obrazovky, aby na malých mobiloch nepretiekol. */
@media (min-width: 420px) { .site-logo img { height: 32px; } }
@media (min-width: 540px) { .site-logo img { height: 42px; } }
@media (min-width: 700px) { .site-header-inner { padding: 0 20px; gap: 16px; } .site-logo img { height: 60px; } }
@media (min-width: 960px) { .site-logo img { height: 76px; } }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: none; cursor: pointer;
  flex: none;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 auto; width: min(320px, 86vw);
  background: #0f1d15; box-shadow: -14px 0 40px -20px rgba(0,0,0,0.55);
  transform: translateX(100%); transition: transform .25s ease;
  overflow-y: auto; padding: 24px 24px 40px; z-index: 99;
  border-left: 1px solid var(--c-border);
}
.site-nav.is-open { transform: translateX(0); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav-list a {
  display: block; padding: 12px 10px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; color: var(--c-ink);
}
.nav-list a:hover, .nav-list a.is-active { background: var(--c-primary-soft); color: var(--c-primary-light); }

/* Skupina vpravo v hlavičke: hamburger (mobil) + prepínač jazykov (vždy úplne vpravo) */
.header-controls { display: flex; align-items: center; gap: 6px; flex: none; }

@media (min-width: 480px) {
  .header-controls { gap: 10px; }
}

/* Prepínač jazykov */
.lang-switch { position: relative; flex: none; }
.lang-switch-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px;
  border-radius: 999px; border: 1px solid var(--c-border-strong); background: var(--c-surface);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  color: var(--c-ink); cursor: pointer; text-transform: uppercase;
  width: 34px; height: 34px; justify-content: center;
}
.lang-switch-btn:hover { border-color: var(--c-primary); }
.lang-switch-btn .lang-code { display: none; }

/* Od tejto šírky je dosť miesta aj na skratku jazyka vedľa ikony glóbusu. */
@media (min-width: 480px) {
  .lang-switch-btn { width: auto; height: auto; padding: 8px 12px; }
  .lang-switch-btn .lang-code { display: inline; }
}
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; background: var(--c-surface);
  border: 1px solid var(--c-border-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  min-width: 150px; padding: 6px; display: none; z-index: 120;
}
.lang-menu.is-open { display: block; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px;
  border: none; background: none; font-family: var(--font-body); font-size: 0.9rem;
  font-weight: 600; color: var(--c-text); border-radius: 6px; cursor: pointer; text-align: left;
}
.lang-menu button:hover { background: var(--c-surface-2); }
.lang-menu button[aria-current="true"] { color: var(--c-primary-light); background: var(--c-primary-soft); }
.lang-code { font-size: 0.72rem; font-weight: 800; color: var(--c-text-muted); width: 26px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; width: auto; transform: none; box-shadow: none;
    padding: 0; overflow: visible; background: none; border-left: none;
  }
  .nav-list { flex-direction: row; align-items: center; gap: 4px; }
  .nav-list a { padding: 10px 14px; }
}

/* ===== 4. Hero ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 78vh; display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,13,0.4) 0%, rgba(10,18,13,0.82) 75%, rgba(8,14,10,0.96) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 60px 20px 40px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-content h1 { color: #fff; max-width: 760px; }
.hero-lead { max-width: 560px; font-size: 1.05rem; color: #e7ede4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; max-width: 480px; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; background: var(--c-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat span { font-size: 0.82rem; color: #cdd8c8; }

@media (min-width: 700px) {
  .hero-stats { max-width: 620px; }
}

/* ===== 5. Karty služieb ===== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-primary); }
.service-icon {
  width: 62px; height: 62px; border-radius: 16px; background: var(--c-primary-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.6rem;
}
.service-icon img { width: 36px; height: 36px; }
.service-card ul { padding-left: 18px; margin-bottom: 0; }
.service-card li { margin-bottom: 6px; }

/* Malé ikonové dlaždice (feature list) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-item { text-align: center; padding: 10px; }
.feature-item .service-icon { margin: 0 auto 12px; width: 54px; height: 54px; }
.feature-item .service-icon img { width: 30px; height: 30px; }
.feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; color: var(--c-text-muted); margin: 0; }

/* ===== 6. O nás / obsah so stĺpcami ===== */
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 52px; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media { position: relative; }
.split-media-badge {
  position: absolute; bottom: -18px; left: -18px; background: var(--c-gradient);
  color: #08130c; padding: 14px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 700;
}
.split-media-badge span { display: block; font-size: 0.72rem; font-weight: 600; opacity: 0.85; }
.split-media-badge b { font-size: 1.5rem; }

/* ===== 7. Referencie ===== */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.stars { color: #f4c430; letter-spacing: 2px; margin-bottom: 10px; font-size: 1rem; }
.testimonial-author { margin-top: 14px; font-family: var(--font-display); font-weight: 700; color: var(--c-primary-light); font-size: 0.9rem; }

/* ===== 8. CTA pás ===== */
.cta-banner {
  background: var(--c-gradient); color: #08130c; border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
@media (min-width: 760px) {
  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-banner h2 { color: #08130c; margin-bottom: 6px; }
.cta-banner p { color: #123016; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ===== 9. Galéria ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 620px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--c-border); cursor: zoom-in; background: var(--c-surface);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(5,10,7,0.94);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.12); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }

/* ===== 10. Kontaktný formulár ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--c-primary-soft);
  display: flex; align-items: center; justify-content: center; flex: none; font-size: 1.1rem;
  color: var(--c-primary-light);
}
.contact-info-list b { display: block; font-family: var(--font-display); color: var(--c-ink); }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--c-surface);
  border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; color: var(--c-primary-light);
  font-size: 1.1rem; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.social-btn:hover { background: var(--c-gradient); color: #08130c; border-color: transparent; }

.form-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--c-ink); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-border-strong); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--c-bg-soft); color: var(--c-text);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--c-text-muted); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--c-primary); background: var(--c-surface-2);
}
.form-note { font-size: 0.82rem; color: var(--c-text-muted); margin-top: 4px; }
.form-status {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.9rem;
  background: var(--c-primary-soft); color: var(--c-primary-light); display: none;
}
.form-status.is-visible { display: block; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--c-text-muted); }
.form-consent input { width: auto; margin-top: 3px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); margin-top: 24px; box-shadow: var(--shadow-sm); filter: saturate(0.9) brightness(0.92); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Honeypot pole proti spamovým botom — skryté pre ľudí, dostupné pre boty */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ===== 11. Pätička ===== */
.site-footer { background: #081009; color: #9db3a4; padding: 52px 0 0; border-top: 1px solid var(--c-border); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; } }
.footer-logo img { height: 40px; margin-bottom: 14px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--c-primary-light); }
.icon-link { display: flex; align-items: flex-start; gap: 10px; }
.icon-sm { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--c-primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0 24px;
  display: flex; flex-direction: column; gap: 10px; font-size: 0.8rem; color: #72897a;
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom a { color: #9db3a4; }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 12. Právne dokumenty (ochrana údajov, cookies, prepravný poriadok) ===== */
.page-header { background: var(--c-bg-soft); padding: 52px 0 36px; text-align: center; }
.legal-doc h2 { margin-top: 34px; font-size: 1.35rem; }
.legal-doc h3 { margin-top: 20px; font-size: 1.05rem; }
.legal-meta { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 30px; font-size: 0.9rem; }
.legal-meta p { margin: 0 0 6px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 0.88rem; }
.legal-doc th, .legal-doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.legal-doc th { font-family: var(--font-display); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-text-muted); }
.legal-doc code { background: var(--c-surface-2); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; }
.lang-notice {
  display: flex; gap: 12px; align-items: flex-start; background: var(--c-primary-soft);
  color: var(--c-primary-light); padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 28px; font-size: 0.92rem;
}
.lang-notice[hidden] { display: none; }

/* ===== 13. Súhlas s cookies (adaptované z interného vzoru) ===== */
.cookie-consent[hidden] { display: none; }
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--c-surface); border-top: 1px solid var(--c-border-strong);
  box-shadow: 0 -12px 30px -18px rgba(0,0,0,0.6);
}
.cookie-bar-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-bar-text { flex: 1; min-width: 240px; font-size: 0.88rem; color: var(--c-text-muted); }
.cookie-bar-title { font-family: var(--font-display); font-weight: 700; color: var(--c-ink); font-size: 1rem; margin-bottom: 4px; }
.cookie-bar-link { display: inline-block; margin-top: 6px; font-size: 0.85rem; color: var(--c-primary-light); text-decoration: underline; font-weight: 600; }
.cookie-bar-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 200px; flex: none; }
.cookie-btn { white-space: nowrap; width: 100%; }

.cookie-modal { position: fixed; inset: 0; z-index: 210; background: rgba(5,10,7,0.72); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal-card { position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-width: 520px; max-height: 85vh; overflow-y: auto; padding: 26px; }
.cookie-modal-card h2 { font-size: 1.2rem; margin-bottom: 8px; padding-right: 28px; }
.cookie-modal-close { position: absolute; top: 12px; right: 14px; background: none; border: none; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--c-text-muted); padding: 4px 8px; border-radius: 8px; }
.cookie-modal-close:hover { color: var(--c-ink); background: var(--c-surface-2); }
.cookie-modal-lead { font-size: 0.88rem; color: var(--c-text-muted); margin-bottom: 16px; }
.cookie-modal-lead a { color: var(--c-primary-light); text-decoration: underline; }
.cookie-cat { padding: 14px 0; border-top: 1px solid var(--c-border); }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--c-ink); }
label.cookie-cat-head { cursor: pointer; }
.cookie-cat-name { font-size: 0.92rem; }
.cookie-cat-always { font-size: 0.7rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cookie-cat-desc { margin-top: 6px; font-size: 0.85rem; color: var(--c-text-muted); }
.cookie-switch { position: relative; display: inline-flex; flex: none; width: 42px; height: 24px; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-switch-track { position: absolute; inset: 0; border-radius: 999px; background: var(--c-border-strong); transition: background .15s ease; }
.cookie-switch-track::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.4); transition: transform .15s ease; }
.cookie-switch input:checked + .cookie-switch-track { background: var(--c-primary); }
.cookie-switch input:checked + .cookie-switch-track::before { transform: translateX(18px); }
.cookie-switch input:focus-visible + .cookie-switch-track { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.cookie-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 640px) {
  .cookie-bar-inner { padding: 16px 16px; gap: 12px; }
  .cookie-bar-actions { width: 100%; }
  .cookie-bar-actions .cookie-btn { flex: 1; }
}

/* ===== 14. Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--c-gradient); color: #08130c;
  padding: 10px 16px; border-radius: 8px; z-index: 400; transition: top .15s ease; font-weight: 700;
}
.skip-link:focus { top: 12px; }
