/* =========================================================
   UDERZO SERRAMENTI · Editorial Craft Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* --- Palette --- */
  --bg:            #f4efe8;   /* warm cream */
  --bg-elevated:   #ebe4d9;   /* deeper cream (cards on cream) */
  --bg-dark:       #1a1815;   /* deep charcoal */
  --bg-dark-elev:  #262320;
  --ink:           #1a1815;   /* body text on cream */
  --ink-muted:     #6b6459;
  --ink-soft:      #a8a094;
  --ink-invert:    #f4efe8;   /* text on dark */
  --ink-invert-muted: #b0a89c;
  --brand:         #8b6f47;   /* brass */
  --brand-hover:   #6f5738;
  --accent:        #ED7308;   /* Uderzo orange — usare con misura */
  --accent-soft:   rgba(237, 115, 8, 0.14);
  --line:          #d9d1c3;   /* hairline on cream */
  --line-dark:     #3a352f;

  /* --- Type scale --- */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-eyebrow: 0.72rem;
  --fs-body:    1rem;
  --fs-lead:    1.125rem;
  --fs-h4:      1.35rem;
  --fs-h3:      clamp(1.6rem, 2vw + .8rem, 2.2rem);
  --fs-h2:      clamp(2rem, 3vw + .8rem, 3.4rem);
  --fs-h1:      clamp(2.8rem, 5vw + 1rem, 5.6rem);
  --fs-display: clamp(3.4rem, 7vw + 1rem, 8rem);

  /* --- Space --- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 192px;

  /* --- Layout --- */
  --container-max: 1440px;
  --content-max:   1200px;
  --gutter-x:      clamp(20px, 4vw, 64px);

  /* --- Effects --- */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(26,24,21,.06), 0 2px 8px rgba(26,24,21,.04);
  --shadow:    0 4px 12px rgba(26,24,21,.08), 0 12px 40px rgba(26,24,21,.06);
  --shadow-lg: 0 12px 40px rgba(26,24,21,.14), 0 24px 80px rgba(26,24,21,.10);

  /* --- Motion --- */
  --ease-out:   cubic-bezier(.16, 1, .3, 1);      /* expo-out */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast:   180ms;
  --dur-med:    420ms;
  --dur-slow:   800ms;

  --header-h: 84px;
}

@media (max-width: 700px) { :root { --header-h: 68px; } }

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Gradient animato che vive dietro alle sezioni crema.
   Le sezioni dark (hero, footer, stats, bottega) lo coprono naturalmente. */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  background:
    radial-gradient(55vmax 55vmax at 12% 20%, rgba(237, 115, 8, 0.18),  transparent 58%),
    radial-gradient(60vmax 60vmax at 88% 78%, rgba(139, 111, 71, 0.22), transparent 60%),
    radial-gradient(48vmax 48vmax at 55% 45%, rgba(220, 195, 160, 0.20), transparent 60%),
    radial-gradient(42vmax 42vmax at 30% 90%, rgba(237, 115, 8, 0.10),  transparent 62%);
  background-size: 200% 200%;
  animation: creamDrift 36s ease-in-out infinite alternate;
  will-change: transform, background-position;
  pointer-events: none;
  filter: blur(6px);
}
@keyframes creamDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%;
  }
  50% {
    transform: translate3d(6vmax, -4vmax, 0) rotate(8deg) scale(1.08);
    background-position: 100% 0%, 0% 100%, 30% 70%, 100% 0%;
  }
  100% {
    transform: translate3d(-5vmax, 5vmax, 0) rotate(-6deg) scale(0.96);
    background-position: 100% 100%, 0% 0%, 70% 30%, 100% 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--ink-invert); }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: 1.25; }

p { max-width: 68ch; }
.lead { font-size: var(--fs-lead); color: var(--ink-muted); line-height: 1.6; max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-1px);
}
.dark .eyebrow::before { background: var(--accent); }

.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* =========================================================
   Layout primitives
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--gutter-x);
}
.content {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter-x);
}
.section { padding-block: var(--space-9); }
.section-lg { padding-block: var(--space-10); }
@media (max-width: 700px){
  .section { padding-block: var(--space-8); }
  .section-lg { padding-block: var(--space-9); }
}

.dark {
  background: var(--bg-dark);
  color: var(--ink-invert);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--ink-invert); }
.dark .lead { color: var(--ink-invert-muted); }
.dark .eyebrow { color: #c9a67a; }
.dark .eyebrow::before { background: #c9a67a; }

.hr-fine { height: 1px; background: var(--line); border: 0; }
.dark .hr-fine { background: var(--line-dark); }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex; align-items: center;
  transition: background-color var(--dur-med) var(--ease-out),
              backdrop-filter var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out);
  color: var(--ink-invert);
}
.site-header.is-scrolled {
  background: rgba(244, 239, 232, 0.85);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  height: 44px;
}
.brand img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity var(--dur-med) var(--ease-out);
}
.brand .brand-logo-color { display: none; }
.brand .brand-logo-white { display: block; }
.site-header.is-scrolled .brand .brand-logo-color { display: block; }
.site-header.is-scrolled .brand .brand-logo-white { display: none; }
@media (max-width: 700px) {
  .brand img { height: 34px; }
  .brand { height: 38px; }
}

.nav-desktop {
  display: flex; align-items: center; gap: var(--space-6);
}
.nav-desktop a {
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav-desktop a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right var(--dur-med) var(--ease-out);
}
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after { right: 0; }

.cta-header {
  border: 1px solid currentColor;
  padding: 10px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}
.cta-header:hover { background: currentColor; color: var(--bg); }
.is-scrolled .cta-header:hover { color: var(--bg); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  width: 22px; height: 1.4px;
  background: currentColor;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) linear, top var(--dur-med) var(--ease-out);
  left: 11px;
}
.nav-toggle span:nth-child(1){ top: 17px; }
.nav-toggle span:nth-child(2){ top: 25px; }
.nav-toggle.is-open span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ top: 21px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  color: var(--ink-invert);
  z-index: 90;
  padding: calc(var(--header-h) + 40px) var(--gutter-x) var(--space-8);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
  display: flex; flex-direction: column;
  gap: var(--space-6);
}
.nav-mobile.is-open { transform: translateY(0); }
.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.1;
  border-bottom: 1px solid var(--line-dark);
  padding-block: var(--space-4);
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.nav-mobile.is-open a {
  opacity: 1; transform: translateY(0);
}
.nav-mobile.is-open a:nth-child(1){ transition-delay: 150ms; }
.nav-mobile.is-open a:nth-child(2){ transition-delay: 220ms; }
.nav-mobile.is-open a:nth-child(3){ transition-delay: 290ms; }
.nav-mobile.is-open a:nth-child(4){ transition-delay: 360ms; }
.nav-mobile.is-open a:nth-child(5){ transition-delay: 430ms; }
.nav-mobile .mobile-contact {
  margin-top: var(--space-6);
  color: var(--ink-invert-muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav-desktop, .cta-header { display: none; }
  .nav-toggle { display: inline-flex; }
}

body.nav-open { overflow: hidden; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn .arrow {
  display: inline-block;
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width var(--dur-med) var(--ease-out);
}
.btn .arrow::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:hover .arrow { width: 26px; }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-light { border-color: var(--bg); color: var(--bg); }
.btn-light:hover { background: var(--bg); color: var(--ink); }

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* Split-word reveal for big headlines */
.split-word { display: inline-block; overflow: hidden; padding-block: 0.05em; margin-right: 0.25em; }
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1000ms var(--ease-out);
}
.is-in .split-word > span,
.split-parent.is-in .split-word > span { transform: translateY(0); }
.split-parent.is-in .split-word:nth-child(1) > span { transition-delay: 60ms; }
.split-parent.is-in .split-word:nth-child(2) > span { transition-delay: 120ms; }
.split-parent.is-in .split-word:nth-child(3) > span { transition-delay: 180ms; }
.split-parent.is-in .split-word:nth-child(4) > span { transition-delay: 240ms; }
.split-parent.is-in .split-word:nth-child(5) > span { transition-delay: 300ms; }
.split-parent.is-in .split-word:nth-child(6) > span { transition-delay: 360ms; }
.split-parent.is-in .split-word:nth-child(7) > span { transition-delay: 420ms; }
.split-parent.is-in .split-word:nth-child(8) > span { transition-delay: 480ms; }

/* =========================================================
   Media / image treatments
   ========================================================= */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
}
.media-frame > img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1400ms var(--ease-out);
}
.media-frame:hover > img { transform: scale(1.04); }

.media-cover {
  position: absolute; inset: 0;
  background: var(--ink);
  transform-origin: bottom;
  transform: scaleY(1);
  transition: transform 1200ms var(--ease-in-out);
}
.reveal.is-in .media-cover { transform: scaleY(0); }

.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-3-4 { aspect-ratio: 3 / 4; }
.aspect-1-1 { aspect-ratio: 1 / 1; }
.aspect-16-10 { aspect-ratio: 16 / 10; }
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-3-2 { aspect-ratio: 3 / 2; }

/* Building signature overlay for panoramic photos */
.pano {
  position: relative;
  overflow: hidden;
}
.pano-img {
  width: 100%; height: 100%; object-fit: cover;
}
.pano-signature {
  position: absolute;
  bottom: 24px; right: 28px;
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.9rem, 1vw + .5rem, 1.4rem);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 20px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
  padding: 8px 14px;
  border-left: 1px solid rgba(255,255,255,0.4);
  padding-left: 16px;
  max-width: 60%;
  text-align: right;
}
.pano-signature .sig-tag {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 4px;
}
@media (max-width: 700px){
  .pano-signature {
    bottom: 16px; right: 16px;
    max-width: 75%;
    padding: 6px 12px;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-dark);
  color: var(--ink-invert);
  padding-block: var(--space-9) var(--space-6);
  margin-top: 0;
}
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-invert-muted);
  margin-bottom: var(--space-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .footer-logo {
  display: block;
  height: 44px;
  width: auto;
  margin-bottom: var(--space-4);
}
.footer-brand p {
  color: var(--ink-invert-muted);
  font-size: 0.95rem;
  max-width: 36ch;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { color: var(--ink-invert); font-size: 0.95rem; opacity: 0.85; transition: opacity var(--dur-fast); }
.footer-list a:hover { opacity: 1; }
.footer-contact { font-size: 0.95rem; color: var(--ink-invert-muted); line-height: 1.75; }
.footer-contact strong { color: var(--ink-invert); font-weight: 500; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-top: var(--space-5);
  font-size: 0.82rem;
  color: var(--ink-invert-muted);
  flex-wrap: wrap;
  gap: var(--space-4);
  line-height: 1.6;
}
.footer-bottom-left { display: flex; flex-direction: column; gap: 4px; }
.footer-legal { font-size: 0.76rem; opacity: 0.75; letter-spacing: 0.02em; }
.footer-made {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-invert-muted);
  letter-spacing: 0.02em;
}
.footer-made a {
  color: var(--ink-invert);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  padding-bottom: 1px;
}
.footer-made a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
@media (max-width: 700px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 800px){
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px){
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Cards, tags, chips
   ========================================================= */
.tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid currentColor;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw + 1rem, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: var(--space-3);
}

/* =========================================================
   Utilities
   ========================================================= */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); } .mt-8 { margin-top: var(--space-8); }
.mb-3 { margin-bottom: var(--space-3); } .mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); } .mb-6 { margin-bottom: var(--space-6); }

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: 8px;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px;
  transform: translateY(-200%);
  transition: transform 200ms;
  z-index: 200;
}
.skip-link:focus { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .split-word > span { opacity: 1; transform: none; }
  .media-cover { display: none; }
}

/* =========================================================
   Cookie banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 150;
  background: var(--bg-dark);
  color: var(--ink-invert);
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  transform: translateY(140%);
  transition: transform 620ms var(--ease-out);
  max-width: 1180px;
  margin: 0 auto;
}
.cookie-banner.is-open { transform: translateY(0); }
.cookie-banner-text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-invert-muted);
}
.cookie-banner-text strong {
  display: block;
  color: var(--ink-invert);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-banner-text a {
  color: var(--ink-invert);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}
.cookie-banner-text a:hover { color: var(--accent); }
.cookie-banner-actions {
  display: flex; gap: var(--space-3);
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink-invert);
  color: var(--ink-invert);
  background: transparent;
  cursor: pointer;
  transition: background var(--dur-med), color var(--dur-med), border-color var(--dur-med);
  white-space: nowrap;
}
.cookie-btn:hover {
  background: var(--ink-invert);
  color: var(--bg-dark);
}
.cookie-btn--accept {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cookie-btn--accept:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    gap: var(--space-4);
  }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* Privacy checkbox in form */
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--space-3) 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
  cursor: pointer;
}
.field-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.field-check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}
.field-check a:hover { color: var(--accent); }
.field-check.is-error { color: var(--accent); }

