/* ============================================================
   karpattrading.co.uk — Corporate Traditional design system
   Palette: navy + brass + cream + serif headings
   ============================================================ */

/* Self-hosted fonts (latin + latin-ext) — no third-party CDN, no IP leak */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Palette */
  --navy-950: #0f2a3d;
  --navy-900: #152d40;
  --brass-600: #b8924a;
  --brass-700: #745a23; /* darker accent — passes 4.5:1 on cream + stone backgrounds */
  --brass-400: #d4b072;
  --cream-50: #f7f3eb;
  --ink: #1a1a1a;
  --stone-200: #e8e2d0;
  --muted: #656050;
  --line: rgba(26, 26, 26, 0.12);
  --line-dark: rgba(212, 176, 114, 0.25);

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1180px;
  --pad-section: 96px;
  --pad-section-mobile: 48px;

  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: hidden;
  /* Subtle paper texture */
  background-image:
    radial-gradient(rgba(184, 146, 74, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(26, 26, 26, 0.03) 1px, transparent 1px);
  background-size: 24px 24px, 36px 36px;
  background-position: 0 0, 12px 18px;
}

body.menu-open { overflow: hidden; }

/* Visually-hidden (accessibility) — content for screen readers only */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--navy-950);
  color: var(--cream-50);
  font-weight: 700;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: top 180ms ease;
}
.skip-link:focus { top: 1rem; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-950);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 64ch; }
a { color: var(--navy-950); text-decoration-color: var(--brass-600); text-underline-offset: 3px; }
a:hover { color: var(--brass-700); }

ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: 0.25em 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-700);
  margin: 0 0 12px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}

.numerals {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Layout primitives */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: var(--pad-section) 0; }
@media (max-width: 768px) {
  .section { padding: var(--pad-section-mobile) 0; }
}

.divider-brass {
  border: 0;
  height: 2px;
  background: var(--brass-600);
  margin: 0;
}

/* ============================================================
   Site header
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms ease;
}
body.is-scrolled .site-header { box-shadow: 0 4px 18px rgba(15, 42, 61, 0.06); }

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; gap: 32px;
}

.brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo { height: 44px; width: auto; display: block; }

.site-nav {
  display: flex; gap: 28px;
  margin-left: auto;
}
.site-nav a {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  color: var(--navy-950);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--brass-700); border-bottom-color: var(--brass-700); }
.site-nav a[aria-current="page"] { color: var(--brass-700); border-bottom-color: var(--brass-700); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-left: auto;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--navy-950);
  transition: transform 200ms ease, top 200ms ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 24px; }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 0;
    background: var(--cream-50);
    flex-direction: column; gap: 0;
    padding: 24px;
    transform: translateY(-110%);
    transition: transform 240ms ease;
    border-top: 2px solid var(--brass-600);
  }
  body.menu-open .site-nav { transform: translateY(0); }
  .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--navy-950);
  color: var(--cream-50);
  padding: 110px 0 90px;
  position: relative;
}
.hero--compact { padding: 64px 0 48px; }

/* Homepage hero: full-bleed marble with a left-dark navy gradient
   (text stays legible on the left; material shows through on the right) */
.page-home .hero {
  background-image:
    linear-gradient(90deg,
      rgba(15, 42, 61, 0.62) 0%,
      rgba(15, 42, 61, 0.55) 45%,
      rgba(15, 42, 61, 0.40) 72%,
      rgba(15, 42, 61, 0.28) 100%),
    url('/photos/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}
@media (max-width: 880px) {
  /* Keep the headline legible up top, but let the marble read through
     lower down so mobile keeps the same material theme as desktop. */
  .page-home .hero {
    background-image:
      linear-gradient(180deg,
        rgba(15, 42, 61, 0.85) 0%,
        rgba(15, 42, 61, 0.66) 55%,
        rgba(15, 42, 61, 0.52) 100%),
      url('/photos/hero-bg.jpg');
  }
}

.hero__inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero h1 { color: var(--cream-50); max-width: 18ch; }
.hero .eyebrow { color: var(--brass-400); }
.hero .lede { color: rgba(247, 243, 235, 0.92); margin-top: 18px; font-size: 1.2rem; }

.btn {
  display: inline-block;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 28px;
  background: var(--brass-600); color: var(--navy-950);
  text-decoration: none;
  border: 1px solid var(--brass-600);
  border-radius: 2px;
  transition: background 160ms ease, color 160ms ease;
  cursor: pointer;
}
.btn:hover { background: var(--brass-400); border-color: var(--brass-400); color: var(--navy-950); }
.btn--ghost { background: transparent; color: var(--brass-700); }
.btn--ghost:hover { background: var(--brass-600); color: var(--navy-950); }

.hero .btn { margin-top: 32px; }

/* ============================================================
   Category cards
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr; gap: 24px; }
}

.card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 42, 61, 0.1); }

.card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--stone-200);
  object-fit: cover;
  object-position: center;
}
.card__body { padding: 22px 24px 26px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.card__arrow {
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-700);
}
.card:hover .card__arrow { color: var(--navy-950); }

/* ============================================================
   Trust strip
   ============================================================ */

.trust-strip {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 36px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip img { height: 28px; opacity: 0.92; }

/* Certification badges (replaces the flat SVG pills) */
.cert {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--brass-600);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
}
.cert__tick { width: 16px; height: 16px; flex-shrink: 0; color: var(--brass-700); }
.cert__txt { display: flex; flex-direction: column; line-height: 1.05; }
.cert__name { font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; color: var(--navy-950); }
.cert__sub { font-family: var(--font-sans); font-weight: 600; font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.trust-strip__label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-right: 8px;
}

/* ============================================================
   Spec table
   ============================================================ */

.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.spec th, .spec td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.spec th {
  font-family: var(--font-sans); font-weight: 600;
  color: var(--muted);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.spec tr:last-child td { border-bottom: none; }
.spec td:first-child {
  font-family: var(--font-serif); font-weight: 500; color: var(--navy-950); font-size: 16px;
}

/* ============================================================
   Why-Karpat 3-up
   ============================================================ */

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 880px) { .three-up { grid-template-columns: 1fr; gap: 24px; } }

.three-up__item h3 {
  font-family: var(--font-serif); font-size: 22px; font-weight: 500;
  margin-bottom: 8px;
}
.three-up__item p { font-size: 14px; color: var(--muted); }

/* ============================================================
   Sub-section (used on product pages)
   ============================================================ */

.subsection {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 72px;
  align-items: start;
}
@media (max-width: 880px) {
  .subsection { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
}

.subsection__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--stone-200);
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   CTA block
   ============================================================ */

.cta {
  background: var(--navy-950);
  color: var(--cream-50);
  padding: 72px 24px;
  text-align: center;
}
.cta h2 { color: var(--cream-50); margin-bottom: 16px; }
.cta p { color: rgba(247, 243, 235, 0.75); max-width: 50ch; margin: 0 auto 28px; }
.cta .btn { margin-top: 8px; }

/* ============================================================
   Contact form
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.form { display: grid; gap: 18px; }
.form label {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form input, .form select, .form textarea {
  width: 100%;
  /* 16px (not 15) so iOS Safari does not auto-zoom the page on field focus */
  font: 16px/1.4 var(--font-sans);
  color: var(--ink);
  padding: 12px 14px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--brass-600); outline-offset: -1px; border-color: var(--brass-600);
}
.form textarea { min-height: 140px; resize: vertical; }
.form__honey { position: absolute; left: -9999px; opacity: 0; }

.info-block { font-size: 14px; color: var(--ink); }
.info-block dt { font-weight: 600; color: var(--navy-950); margin-top: 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.info-block dd { margin: 4px 0 0; color: var(--muted); }
.info-block dd.numerals { color: var(--ink); }

/* Cookieless map link (replaces the third-party Google Maps iframe) */
.map-link {
  display: flex; align-items: center; gap: 16px;
  margin-top: 36px;
  padding: 20px 22px;
  background: var(--stone-200);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 160ms ease, background 160ms ease;
}
.map-link:hover { border-color: var(--brass-600); background: #efe9da; color: var(--ink); }
.map-link__pin { width: 28px; height: 28px; flex-shrink: 0; fill: var(--brass-700); }
.map-link__body { display: flex; flex-direction: column; gap: 4px; }
.map-link__addr { font-size: 14px; color: var(--ink); }
.map-link__cta {
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-700);
}

/* Contact form success state (shown on /contact?sent=1) */
.form-success {
  padding: 26px 28px;
  background: var(--stone-200);
  border-left: 4px solid var(--brass-600);
  border-radius: 2px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.form-success strong {
  display: block; margin-bottom: 6px;
  font-family: var(--font-serif); font-weight: 600; font-size: 21px;
  color: var(--navy-950);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--navy-950);
  color: rgba(247, 243, 235, 0.72);
  padding: 64px 24px 36px;
}
.site-footer__inner { max-width: var(--max); margin: 0 auto; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

.site-footer h3 {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brass-400);
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(247, 243, 235, 0.85); text-decoration: none; font-size: 14px; overflow-wrap: anywhere; display: inline-block; padding: 3px 0; }
.site-footer a:hover { color: var(--brass-400); }

.site-footer__about p { font-size: 13.5px; color: rgba(247, 243, 235, 0.85); max-width: 36ch; }
.site-footer__about .brand { margin-bottom: 16px; }
.site-footer__about .brand-logo { height: 56px; }

.site-footer__legal {
  display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap;
  font-size: 12px; color: rgba(247, 243, 235, 0.55);
  padding-top: 24px;
}
.site-footer__legal .numerals { color: rgba(247, 243, 235, 0.7); }
.site-footer__cookies { font-size: 11px; color: rgba(247, 243, 235, 0.55); max-width: 64ch; margin-top: 8px; }


/* ============================================================
   Accessibility — visible focus + reduced motion
   (gaps Lighthouse does not test for)
   ============================================================ */

a:focus-visible,
.card:focus-visible,
.map-link:focus-visible {
  outline: 2px solid var(--brass-600);
  outline-offset: 3px;
}
.btn:focus-visible {
  outline: 2px solid var(--navy-950);
  outline-offset: 3px;
}

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