/* ============================================================
   Autopůjčovna Náchod - Stylesheet
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --primary: #0d2444;
  --primary-light: #1e3a8a;
  --primary-dark: #081729;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0d2444;
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-light: #f1f5f9;
  --border: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.05);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1280px;
  --header-h: 80px;
  --transition: 200ms ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* clip, not hidden: hidden on html+body makes body a scroll container and breaks the sticky header */
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--primary); margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--text-light); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
  font-family: inherit;
}
.btn--primary { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn--secondary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.brand img { height: 72px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  padding: .6rem 1rem;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  font-size: .95rem;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--primary); background: var(--bg-alt); }

@media (min-width: 769px) {
  .main-nav a { position: relative; }
  .main-nav a:hover { background: rgba(13,36,68,.07); }
  .main-nav a.is-active { background: transparent; font-weight: 600; }
  .main-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .25rem;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
  }
}

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.header-phone svg { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  color: var(--primary);
}
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--primary);
  color: #fff;
  padding: 5rem 0 6rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/hero-vans.jpg");
  background-size: cover;
  background-position: 30% 50%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(13,36,68,.93) 0%, rgba(13,36,68,.76) 55%, rgba(30,58,138,.50) 100%),
    radial-gradient(at 80% 50%, rgba(245,158,11,.18), transparent 55%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 1024px; text-align: center; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.2rem; color: rgba(255,255,255,.9); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
}
.hero-stat span { color: rgba(255,255,255,.8); font-size: .9rem; }

/* ---------- Page header (other pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: .75rem; }
.page-header p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.breadcrumbs {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Features grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,158,11,.12);
  color: var(--accent);
  border-radius: 50%;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { color: var(--primary); }
.feature p { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* ---------- Car grid ---------- */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
/* Featured grid (homepage) — fixed columns, no orphaned cards */
.car-grid--featured { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .car-grid--featured { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .car-grid--featured { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  .car-card--desktop-only { display: none; }
}
.car-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.car-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
}
.car-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.car-card:hover .car-card__media img { transform: scale(1.04); }
.car-card__media--icon {
  background: linear-gradient(135deg, #e8eef7 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-card__media--icon svg {
  width: 55%;
  max-width: 200px;
  height: auto;
  color: var(--primary);
  opacity: .35;
  transition: transform 400ms ease, opacity 400ms ease;
}
.car-card:hover .car-card__media--icon svg { transform: scale(1.06); opacity: .5; }

/* ---------- Accessories ---------- */
.accessories {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}
.accessory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.accessory {
  background: #fff;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.accessory:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.accessory-icon {
  width: 48px; height: 48px;
  margin: 0 auto .75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,158,11,.12);
  color: var(--accent);
  border-radius: 50%;
}
.accessory-icon svg { width: 24px; height: 24px; }
.accessory h3 { font-size: 1rem; margin-bottom: .25rem; color: var(--primary); }
.accessory-price {
  margin: 0;
  font-weight: 700;
  color: var(--accent-dark);
  font-size: .95rem;
}
.car-card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 1;
  background: var(--primary);
  color: #fff;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.car-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.car-card__title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.car-card__title h3 { margin: 0; font-size: 1.2rem; }
.car-card__price {
  text-align: right;
  flex-shrink: 0;
}
.car-card__price strong { color: var(--accent-dark); font-size: 1.15rem; display: block; }
.car-card__price span { color: var(--text-muted); font-size: .8rem; }

.car-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: .9rem;
}
.car-specs li {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--text-muted);
}
.car-specs strong { color: var(--text); font-weight: 600; }
.car-specs--rows { grid-template-columns: 1fr; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: .85rem;
}
.price-table th, .price-table td {
  text-align: left;
  padding: .5rem .25rem;
  border-bottom: 1px solid var(--border);
}
.price-table th { color: var(--text-muted); font-weight: 500; }
.price-table td { font-weight: 600; color: var(--primary); text-align: right; }

.car-card__actions { margin-top: auto; }

/* ---------- Filter tabs ---------- */
.filter-tabs {
  display: inline-flex;
  background: var(--bg-alt);
  padding: .35rem;
  border-radius: 999px;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--border);
}
.filter-tabs button {
  background: none;
  border: none;
  padding: .65rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: inherit;
  font-size: .95rem;
}
.filter-tabs button.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.filter-tabs-wrap { text-align: center; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}
.field label.is-required::after { content: " *"; color: var(--error); }
.field input,
.field textarea,
.field select {
  padding: .75rem .85rem;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30,58,138,.15);
}
.field input[readonly] { background: var(--bg-alt); }
.field input[type="date"] { cursor: pointer; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: var(--error);
}
.field-error {
  color: var(--error);
  font-size: .85rem;
  display: none;
}
.field.has-error .field-error { display: block; }

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius-sm);
  color: #065f46;
  margin-bottom: 1rem;
  font-weight: 500;
}
.form-success.is-visible { display: block; }
.form-error-msg {
  display: none;
  padding: .85rem 1.1rem;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--radius-sm);
  color: #991b1b;
  margin-bottom: 1rem;
}
.form-error-msg.is-visible { display: block; }
.form-error-msg a { color: inherit; font-weight: 600; text-decoration: underline; }
.form-notice {
  padding: .85rem 1.1rem;
  background: rgba(245,158,11,.1);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 1.25rem;
}
.form-notice a { font-weight: 600; color: var(--accent-dark); text-decoration: underline; }
.form-note {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13,36,68,.7);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  width: 100%;
  max-width: 580px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 95vh;
  overflow-y: auto;
}
.modal-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.modal-header h2 { margin: 0; font-size: 1.4rem; }
.modal-close {
  background: none;
  border: none;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--bg-alt); color: var(--primary); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 1rem 1.5rem 1.5rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 1.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Content prose (podminky etc.) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2.5rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border); }
.prose h2:first-of-type { margin-top: 1rem; }
.prose ul li { margin-bottom: .35rem; }
.prose .info-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

/* ---------- Contact grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info { display: grid; gap: 1.5rem; }
.contact-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-card h3 { color: var(--primary); margin-bottom: .75rem; }
.contact-card a { color: var(--primary-light); font-weight: 600; }
.contact-card .meta {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .5rem;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
  margin-top: 1.5rem;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent); }
.footer-brand img { height: 78px; margin-bottom: 1rem; border: 10px solid white; }
.footer-brand p { font-size: .9rem; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.no-margin { margin: 0; }
.text-muted { color: var(--text-muted); }
.is-hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1179px) {
  .header-cta .btn { display: none; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta .header-phone { display: none; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero-stat strong { font-size: 1.5rem; }

  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 90;
    height: fit-content;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 1rem;
  }
  .header-inner { gap: .5rem; }

  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 2rem 1.25rem; }
}

/* filter tabs as separate chips wrapping onto two rows */
@media (max-width: 640px) {
  .filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
  }
  .filter-tabs button {
    padding: .5rem .85rem;
    font-size: .875rem;
    white-space: nowrap;
    background: var(--bg-alt);
    border: 1px solid var(--border);
  }
  .filter-tabs button.is-active { border-color: var(--primary); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .car-grid { grid-template-columns: 1fr; }
  .brand img { height: 56px; }
}

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