/* ==========================================================================
   Ceramica Bettoschi — design system
   Built on Bootstrap 5.3. Colours come from the 2025 brand board:
   ink #101820 (logo) and bronze #736635 (secondary).
   ========================================================================== */

/* Fonts are self-hosted (assets/vendor/fonts, SIL Open Font License) so no
   visitor data is sent to Google Fonts. Latin subset covers Italian and €. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../vendor/fonts/jost-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../vendor/fonts/jost-latin-500-normal.woff2") format("woff2");
}

:root {
  /* Palette */
  --cb-ink: #101820;
  --cb-ink-2: #1c2633;
  --cb-bronze: #736635;
  --cb-bronze-dark: #5c5129;
  --cb-bronze-soft: #efeadb;
  --cb-bg: #f7f5f1;
  --cb-surface: #ffffff;
  --cb-stone: #e9e4dc;
  --cb-text: #22212b;
  --cb-muted: #5f5d66;
  --cb-line: #e2ddd3;

  /* Type */
  --cb-font-head: "Jost", "Segoe UI", system-ui, sans-serif;
  --cb-font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Shape & depth */
  --cb-r-sm: 6px;
  --cb-r-md: 12px;
  --cb-r-lg: 20px;
  --cb-shadow-sm: 0 1px 2px rgba(16, 24, 32, .06), 0 2px 8px rgba(16, 24, 32, .04);
  --cb-shadow-md: 0 8px 30px rgba(16, 24, 32, .10);
  --cb-ease: cubic-bezier(.2, .7, .2, 1);

  --cb-nav-h: 76px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--cb-font-body);
  --bs-body-color: var(--cb-text);
  --bs-body-bg: var(--cb-bg);
  --bs-primary: var(--cb-ink);
  --bs-primary-rgb: 16, 24, 32;
  --bs-link-color: var(--cb-bronze-dark);
  --bs-link-color-rgb: 92, 81, 41;
  --bs-link-hover-color: var(--cb-ink);
  --bs-link-hover-color-rgb: 16, 24, 32;
  --bs-border-color: var(--cb-line);
  --bs-border-radius: var(--cb-r-sm);
  --bs-secondary-color: var(--cb-muted);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--cb-nav-h) + 16px); }

body {
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--cb-font-head);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--cb-ink);
  line-height: 1.15;
}

h1, .h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem); }
h2, .h2 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }

p { text-wrap: pretty; }
.lead { font-size: 1.2rem; color: var(--cb-muted); }
.text-muted, .text-body-secondary { color: var(--cb-muted) !important; }

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--cb-bronze);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--cb-bronze-soft); color: var(--cb-ink); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  padding: .6rem 1rem;
  background: var(--cb-surface);
  color: var(--cb-ink);
  border-radius: var(--cb-r-sm);
  box-shadow: var(--cb-shadow-md);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.section-sm { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.container-narrow { max-width: 780px; }
.bg-surface { background: var(--cb-surface); }
.bg-stone { background: var(--cb-stone); }
.bg-ink { background: var(--cb-ink); color: #e9ebee; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  font-family: var(--cb-font-head);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cb-bronze);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.bg-ink .eyebrow, .hero .eyebrow { color: #cfc39a; }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

/* Placeholder marker for content the owner still has to supply */
.todo {
  background: #fff3c4;
  color: #6b5200;
  padding: 0 .3em;
  border-radius: 3px;
  font-size: .92em;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-padding-y: .75rem;
  --bs-btn-font-weight: 500;
  --bs-btn-border-radius: 999px;
  font-family: var(--cb-font-head);
  letter-spacing: .02em;
  transition: transform .2s var(--cb-ease), box-shadow .2s var(--cb-ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .45rem; }
.btn-lg { --bs-btn-padding-x: 1.9rem; --bs-btn-padding-y: .95rem; --bs-btn-font-size: 1.05rem; }

.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--cb-bronze);
  --bs-btn-border-color: var(--cb-bronze);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--cb-bronze-dark);
  --bs-btn-hover-border-color: var(--cb-bronze-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--cb-bronze-dark);
  --bs-btn-active-border-color: var(--cb-bronze-dark);
  --bs-btn-focus-shadow-rgb: 115, 102, 53;
  box-shadow: 0 6px 18px rgba(115, 102, 53, .28);
}
.btn-ink {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--cb-ink);
  --bs-btn-border-color: var(--cb-ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--cb-ink-2);
  --bs-btn-hover-border-color: var(--cb-ink-2);
  --bs-btn-active-bg: var(--cb-ink-2);
  --bs-btn-active-color: #fff;
}
.btn-outline-ink {
  --bs-btn-color: var(--cb-ink);
  --bs-btn-border-color: var(--cb-ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--cb-ink);
  --bs-btn-hover-border-color: var(--cb-ink);
  --bs-btn-active-bg: var(--cb-ink);
  --bs-btn-active-color: #fff;
}
.btn-outline-light {
  --bs-btn-hover-color: var(--cb-ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--cb-font-head);
  font-weight: 500;
  color: var(--cb-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--cb-bronze);
  padding-bottom: 2px;
}
.link-arrow .bi { transition: transform .2s var(--cb-ease); }
.link-arrow:hover { color: var(--cb-bronze-dark); }
.link-arrow:hover .bi { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.site-nav {
  min-height: var(--cb-nav-h);
  background: rgba(16, 24, 32, .96);
  backdrop-filter: saturate(140%) blur(10px);
  transition: min-height .25s var(--cb-ease), box-shadow .25s var(--cb-ease);
}
.site-nav.is-scrolled {
  --cb-nav-h: 62px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
  transition: height .25s var(--cb-ease);
}
.site-nav.is-scrolled .navbar-brand img { height: 34px; }

.site-nav .nav-link {
  position: relative;
  font-family: var(--cb-font-head);
  font-size: 1rem;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .78);
  padding: .5rem .9rem !important;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible { color: #fff; }
.site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .15rem;
  height: 2px;
  background: #cfc39a;
}
.site-nav .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .3);
  padding: .45rem .6rem;
}
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(207, 195, 154, .5); }
.nav-phone {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-family: var(--cb-font-head);
  white-space: nowrap;
}
.nav-phone:hover { color: #fff; }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    padding-block: 1rem 1.5rem;
  }
  .site-nav .nav-link {
    font-size: 1.2rem;
    padding: .8rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .site-nav .nav-link.active::after { left: 0; right: auto; width: 28px; bottom: .5rem; }
}

main { padding-top: var(--cb-nav-h); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, .15) 0%, rgba(16, 24, 32, .35) 45%, rgba(16, 24, 32, .88) 100%),
    linear-gradient(90deg, rgba(16, 24, 32, .55) 0%, rgba(16, 24, 32, 0) 70%);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 46ch; }
.hero-content { padding-block: 6rem 4.5rem; }

.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(3rem, 2rem + 3vw, 4.5rem);
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(115, 102, 53, .35), transparent 60%),
    var(--cb-ink);
  color: #e9ebee;
  overflow: hidden;
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: rgba(255, 255, 255, .78); max-width: 56ch; }
.page-hero::after {
  /* subtle tile grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  pointer-events: none;
}
.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .7);
  font-size: .9rem;
}
.breadcrumb a { color: #cfc39a; text-decoration: none; }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust {
  background: var(--cb-surface);
  border-bottom: 1px solid var(--cb-line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.6rem 0;
}
.trust-item .bi {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cb-bronze-soft);
  color: var(--cb-bronze-dark);
  font-size: 1.25rem;
}
.trust-item strong {
  display: block;
  font-family: var(--cb-font-head);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--cb-ink);
  line-height: 1.2;
}
.trust-item span { font-size: .9rem; color: var(--cb-muted); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.service-card {
  position: relative;
  height: 100%;
  padding: 2rem 1.75rem;
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  border-radius: var(--cb-r-md);
  transition: transform .3s var(--cb-ease), box-shadow .3s var(--cb-ease), border-color .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cb-shadow-md);
  border-color: transparent;
}
.service-card .icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.4rem;
  border-radius: var(--cb-r-md);
  background: var(--cb-ink);
  color: #fff;
  font-size: 1.5rem;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.service-card p { color: var(--cb-muted); margin-bottom: 1.4rem; }
.service-card .stretched-link::after { border-radius: var(--cb-r-md); }

/* Story */
.story-media {
  position: relative;
}
.story-media img {
  border-radius: var(--cb-r-lg);
  box-shadow: var(--cb-shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.story-badge {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--cb-bronze);
  color: #fff;
  border-radius: var(--cb-r-md);
  box-shadow: var(--cb-shadow-md);
  text-align: center;
  line-height: 1.1;
}
.story-badge strong {
  display: block;
  font-family: var(--cb-font-head);
  font-weight: 500;
  font-size: 2.6rem;
}
.story-badge span { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 575.98px) { .story-badge { right: .75rem; bottom: .75rem; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .6rem;
}
.check-list li::before {
  content: "\F26E"; /* bi-check2 */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: .05rem;
  color: var(--cb-bronze);
  font-size: 1.1rem;
}

/* Timeline (storia) */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--cb-line);
}
.timeline li {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0 0 1rem 1.5rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cb-surface);
  border: 2px solid var(--cb-bronze);
}
.timeline .year {
  flex: none;
  min-width: 3.2rem;
  font-family: var(--cb-font-head);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--cb-bronze-dark);
}
.timeline p { margin: 0; }

/* Brand wall — most supplier logos are white artwork, so the wall sits on ink */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--cb-r-md);
  overflow: hidden;
}
@media (min-width: 576px) { .brand-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .brand-wall { grid-template-columns: repeat(5, 1fr); } }
.brand-wall li {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 1.25rem 1.5rem;
  background: var(--cb-ink);
  transition: background-color .3s;
}
.brand-wall img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
  opacity: .72;
  transition: opacity .3s, transform .3s var(--cb-ease);
}
.brand-wall img.is-dark { filter: invert(1); }
.brand-wall img.on-light { background: #fff; padding: 4px 8px; border-radius: 4px; }
.brand-wall li:hover { background: var(--cb-ink-2); }
.brand-wall li:hover img { opacity: 1; transform: scale(1.04); }

/* Media rows (servizi) */
.media-row + .media-row { margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.media-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--cb-r-lg);
  box-shadow: var(--cb-shadow-md);
}
.media-row .num {
  font-family: var(--cb-font-head);
  font-size: .9rem;
  letter-spacing: .18em;
  color: var(--cb-bronze);
}

/* Steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-top: 2px solid var(--cb-bronze);
  background: var(--cb-surface);
  border-radius: 0 0 var(--cb-r-md) var(--cb-r-md);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: .75rem;
  font-family: var(--cb-font-head);
  font-size: 2rem;
  color: var(--cb-bronze);
  line-height: 1;
}
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; color: var(--cb-muted); font-size: .97rem; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.filter-chips button {
  border: 1px solid var(--cb-line);
  background: var(--cb-surface);
  color: var(--cb-ink);
  border-radius: 999px;
  padding: .5rem 1.15rem;
  font-family: var(--cb-font-head);
  font-size: .95rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-chips button:hover { border-color: var(--cb-ink); }
.filter-chips button[aria-pressed="true"] {
  background: var(--cb-ink);
  border-color: var(--cb-ink);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}
.gallery-grid.is-teaser { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--cb-r-md);
  overflow: hidden;
  background: var(--cb-stone);
}
.gallery-item[hidden] { display: none; }
.gallery-item a { display: block; color: inherit; }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--cb-ease);
}
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(16, 24, 32, .8));
  color: #fff;
  font-size: .92rem;
  line-height: 1.35;
}
.gallery-item figcaption strong {
  display: block;
  font-family: var(--cb-font-head);
  font-weight: 500;
  font-size: 1.05rem;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .zoom {
  position: absolute;
  top: .75rem;
  right: .75rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--cb-ink);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s, transform .25s var(--cb-ease);
}
.gallery-item:hover .zoom,
.gallery-item a:focus-visible .zoom { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Prezzi
   -------------------------------------------------------------------------- */
.price-hook {
  font-family: var(--cb-font-head);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  color: var(--cb-ink);
  line-height: 1.25;
}
.price-hook span { color: var(--cb-bronze); }

.factor {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--cb-r-md);
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
}
.factor .bi { font-size: 1.6rem; color: var(--cb-bronze); }
.factor h3 { font-size: 1.15rem; margin: .8rem 0 .4rem; }
.factor p { font-size: .95rem; color: var(--cb-muted); margin: 0; }


.accordion {
  --bs-accordion-bg: var(--cb-surface);
  --bs-accordion-border-color: var(--cb-line);
  --bs-accordion-border-radius: var(--cb-r-md);
  --bs-accordion-inner-border-radius: var(--cb-r-md);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(115, 102, 53, .35);
  --bs-accordion-active-bg: var(--cb-bronze-soft);
  --bs-accordion-active-color: var(--cb-ink);
}
.accordion-button { font-family: var(--cb-font-head); font-size: 1.1rem; font-weight: 500; }

/* --------------------------------------------------------------------------
   Legal pages (privacy)
   -------------------------------------------------------------------------- */
.legal-toc {
  position: sticky;
  top: calc(var(--cb-nav-h) + 1.5rem);
  font-size: .93rem;
}
.legal-toc ol { padding-left: 1.2rem; margin: 0; color: var(--cb-muted); }
.legal-toc li { margin-bottom: .45rem; }
.legal-toc a { color: var(--cb-text); text-decoration: none; }
.legal-toc a:hover { color: var(--cb-bronze-dark); text-decoration: underline; }

.legal-text { max-width: 72ch; }
.legal-text h2 {
  font-size: 1.45rem;
  margin: 2.75rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cb-line);
}
.legal-text h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.legal-text ul { padding-left: 1.2rem; }
.legal-text li { margin-bottom: .4rem; }
.legal-table {
  --bs-table-bg: var(--cb-surface);
  font-size: .95rem;
  border: 1px solid var(--cb-line);
}
.legal-table th { font-family: var(--cb-font-head); font-weight: 500; background: var(--cb-stone); }
.legal-table td, .legal-table th { padding: .85rem 1rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem);
  border-radius: var(--cb-r-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(115, 102, 53, .45), transparent 70%),
    var(--cb-ink);
  color: #e9ebee;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }

/* --------------------------------------------------------------------------
   Contact & visit
   -------------------------------------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cb-line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list li > div { flex: 1; min-width: 0; }
.info-list .bi {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--cb-r-md);
  background: var(--cb-bronze-soft);
  color: var(--cb-bronze-dark);
  font-size: 1.15rem;
}
.info-list small {
  display: block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cb-muted);
}
.info-list a, .info-list strong {
  font-family: var(--cb-font-head);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--cb-ink);
  text-decoration: none;
}
.info-list a:hover { color: var(--cb-bronze-dark); }

.hours { width: 100%; font-size: .97rem; }
.hours td { padding: .45rem 0; border-bottom: 1px dashed var(--cb-line); }
.hours td:last-child { text-align: right; color: var(--cb-muted); }
.hours tr.is-today td { color: var(--cb-ink); font-weight: 600; }
.hours small { display: block; font-size: .82rem; letter-spacing: 0; text-transform: none; color: var(--cb-muted); font-weight: 400; }

.panel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  border-radius: var(--cb-r-lg);
  box-shadow: var(--cb-shadow-sm);
}

/* Click-to-load map */
.map-consent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  height: 100%;
  border-radius: var(--cb-r-lg);
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(16, 24, 32, .55), rgba(16, 24, 32, .75)),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, .06) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .06) 46px 48px),
    #3c4652;
  color: #fff;
}
.map-consent p { max-width: 34ch; margin: .75rem auto 1.25rem; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.map-consent .bi-geo-alt-fill { font-size: 2.4rem; color: #cfc39a; }
.map-consent iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Forms */
.form-label { font-weight: 500; font-size: .95rem; color: var(--cb-ink); }
.form-control, .form-select {
  padding: .75rem 1rem;
  border-radius: var(--cb-r-sm);
  border-color: #d6d0c4;
  background-color: #fdfcfa;
}
.form-control:focus, .form-select:focus {
  border-color: var(--cb-bronze);
  box-shadow: 0 0 0 .2rem rgba(115, 102, 53, .2);
  background-color: #fff;
}
.form-check-input:checked { background-color: var(--cb-ink); border-color: var(--cb-ink); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(115, 102, 53, .25); border-color: var(--cb-bronze); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--cb-ink);
  color: rgba(255, 255, 255, .7);
  font-size: .97rem;
}
.site-footer h2 {
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cfc39a;
  margin-bottom: 1.1rem;
}
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .footer-logo { height: 40px; width: auto; }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}
.site-footer .todo { background: rgba(255, 243, 196, .15); color: #f5e3a3; }

/* --------------------------------------------------------------------------
   Reveal on scroll (progressive enhancement; JS adds .reveal-ready)
   -------------------------------------------------------------------------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--cb-ease), transform .7s var(--cb-ease);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-nav, .site-footer, .map-consent, .cta-band { display: none !important; }
  main { padding-top: 0; }
}
