/* ============================================================
   M'ARRICRIO — COMPONENTS
   ============================================================ */

/* ---------- Eyebrow / section heading pattern ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-orange-dark);
  background: rgb(221 138 62 / 0.12);
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}
.section--dark .eyebrow {
  color: var(--c-orange-light);
  background: rgb(255 255 255 / 0.1);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-8);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lead); color: var(--text-muted); }
.section--dark .section-head p { color: rgb(247 239 220 / 0.78); }

.script-accent {
  display: block;
  font-family: var(--font-script);
  font-weight: 600;
  font-size: var(--fs-script);
  color: var(--c-orange-dark);
  line-height: 1;
  margin-top: var(--space-2);
}
.section--dark .script-accent { color: var(--c-gold-light); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-orange);
  --btn-fg: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--c-orange-dark);
}
.btn:active { transform: translateY(0); }

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--c-espresso);
  border-color: var(--c-espresso);
  box-shadow: none;
}
.btn--secondary:hover {
  background: var(--c-espresso);
  --btn-fg: var(--c-cream-soft);
  color: var(--c-cream-soft);
}
.section--dark .btn--secondary {
  --btn-fg: var(--c-cream-soft);
  border-color: rgb(247 239 220 / 0.55);
}
.section--dark .btn--secondary:hover {
  background: var(--c-cream-soft);
  --btn-fg: var(--c-espresso);
  color: var(--c-espresso);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-espresso);
  box-shadow: none;
  padding-inline: 0.4em;
  border-radius: var(--radius-sm);
}
.btn--ghost:hover { transform: none; background: none; color: var(--c-orange-dark); }
.btn--ghost svg { transition: transform var(--dur-base) var(--ease-out); }
.btn--ghost:hover svg { transform: translateX(4px); }

.btn--sm { padding: 0.7em 1.3em; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn--white { --btn-bg: var(--c-cream-soft); --btn-fg: var(--c-espresso); }
.btn--white:hover { background: var(--c-white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  isolation: isolate;
}
/* backdrop-filter lives on a pseudo-element, not .site-header itself, so it
   doesn't establish a new containing block for the fixed-position mobile
   nav panel nested inside (that would break its fixed positioning). */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(247 239 220 / 0.86);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
.site-header.is-scrolled {
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.brand img { height: clamp(48px, 6vw, 64px); width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-espresso-2);
  padding-block: var(--space-2);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2.5px;
  background: var(--c-orange);
  border-radius: var(--radius-pill);
  transition: right var(--dur-base) var(--ease-out);
}
.nav-links a:hover { color: var(--c-orange-dark); }
.nav-links a:hover::after { right: 0; }
.nav-links a[aria-current="page"] {
  color: var(--c-orange-dark);
}
.nav-links a[aria-current="page"]::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgb(46 32 19 / 0.06);
  border-radius: var(--radius-pill);
  padding: 3px;
  font-size: 0.78rem;
  font-weight: 700;
}
.lang-switch a {
  padding: 0.4em 0.75em;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  color: var(--c-ink-soft);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.lang-switch a[aria-current="true"] {
  background: var(--c-espresso);
  color: var(--c-cream-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--c-espresso);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: var(--space-8) var(--container-pad);
    gap: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-in-out);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .nav-links a { font-size: 1.6rem; font-family: var(--font-display); }
  .header-actions { flex-direction: column; align-items: stretch; gap: var(--space-5); width: 100%; }
  .header-actions .btn { width: 100%; }
  .lang-switch { align-self: flex-start; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--c-border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-tiny);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45em 0.85em;
  border-radius: var(--radius-pill);
  color: var(--c-white);
  background: var(--c-espresso);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.badge svg { width: 1em; height: 1em; }
.badge--top { background: var(--c-orange); }
.badge--novita { background: var(--c-green); }
.badge--signature { background: var(--c-gold); color: var(--c-espresso); }
.badge--piccante { background: var(--c-red); }

/* ---------- Dish card ---------- */
.dish-card {
  position: relative;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
}
.dish-card .badge {
  position: static;
  align-self: flex-start;
}
.dish-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.dish-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-espresso);
}
.dish-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-orange-dark);
  white-space: nowrap;
}
.dish-card__ingredients {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

.dish-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.dish-photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform var(--dur-slow) var(--ease-out);
}
.dish-photo-card:hover img { transform: scale(1.06); }
.dish-photo-card__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: linear-gradient(to top, rgb(30 20 10 / 0.88), transparent);
  color: var(--c-cream-soft);
}
.dish-photo-card__caption h3 { color: var(--c-cream-soft); margin-bottom: 0.2em; font-size: 1.3rem; }
.dish-photo-card__caption p { color: rgb(247 239 220 / 0.85); font-size: 0.9rem; margin: 0; }
.dish-photo-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-orange-light);
}

/* ---------- Location card ---------- */
.location-card {
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.location-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
  font-weight: 600;
}
.location-card__meta svg { width: 1.1em; height: 1.1em; color: var(--c-orange); }
.location-card h3 { margin-bottom: var(--space-1); }
.location-card__address {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--c-espresso);
}
.location-card__address svg { width: 1.2em; height: 1.2em; flex-shrink: 0; margin-top: 0.15em; color: var(--c-orange); }
.location-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
}

/* ---------- Value / feature card ---------- */
.value-card {
  padding: var(--space-6);
  text-align: left;
}
.value-card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgb(221 138 62 / 0.14);
  color: var(--c-orange-dark);
  margin-bottom: var(--space-4);
}
.value-card__icon svg { width: 28px; height: 28px; }

/* ---------- Timeline (about page) ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 8px; bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--c-orange) 0 6px, transparent 6px 12px);
}
.timeline-item {
  position: relative;
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.timeline-item__dot {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-espresso);
  color: var(--c-cream-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.timeline-item__dot svg { width: 24px; height: 24px; }
.timeline-item__body h3 { margin-bottom: var(--space-2); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-4); max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--bg-surface);
  border: 1.5px solid var(--c-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-espresso);
}
.faq-item__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgb(221 138 62 / 0.14);
  color: var(--c-orange-dark);
  display: grid;
  place-items: center;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.faq-item__icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--c-orange); color: var(--c-white); }
.faq-item__a {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-muted);
  max-width: 65ch;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.gallery-grid__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--c-parchment);
}
.gallery-grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-grid__item:hover img { transform: scale(1.08); }
.gallery-grid__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(30 20 10 / 0.35), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.gallery-grid__item:hover::after { opacity: 1; }
.gallery-grid__item--tall { grid-row: span 2; }
.gallery-grid__item--tall img { aspect-ratio: 1/2.05; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .gallery-grid__item--tall { grid-row: span 2; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgb(20 13 8 / 0.92);
  padding: var(--space-6);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  color: var(--c-cream-soft);
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  transition: background var(--dur-fast) var(--ease-out);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgb(255 255 255 / 0.22); }
.lightbox__close { top: var(--space-5); right: var(--space-5); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: var(--space-5); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: var(--space-5); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__nav--prev { left: var(--space-2); }
  .lightbox__nav--next { right: var(--space-2); }
}

/* ---------- Menu category nav (jump links) ---------- */
.menu-jumpnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgb(247 239 220 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--c-border);
  padding-block: var(--space-3);
}
.menu-jumpnav__inner {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.menu-jumpnav__inner::-webkit-scrollbar { display: none; }
.menu-jumpnav a {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55em 1.1em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border);
  color: var(--c-espresso-2);
  transition: all var(--dur-fast) var(--ease-out);
}
.menu-jumpnav a:hover, .menu-jumpnav a.is-active {
  background: var(--c-espresso);
  border-color: var(--c-espresso);
  color: var(--c-cream-soft);
}

.menu-category { scroll-margin-top: calc(var(--header-h) + 70px); padding-block: var(--space-10); }
.menu-category:first-of-type { padding-top: var(--space-6); }
.menu-category__head { max-width: 640px; margin-bottom: var(--space-6); }
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

/* ---------- Side dishes table ---------- */
.side-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.side-table th, .side-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--c-border-soft);
}
.side-table th {
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--c-ink-soft);
  background: var(--bg-surface-alt);
}
.side-table td:not(:first-child), .side-table th:not(:first-child) { text-align: center; }
.side-table tr:last-child td { border-bottom: none; }
.side-table td:first-child { font-weight: 700; font-family: var(--font-display); color: var(--c-espresso); }
.side-table .price-cell { font-weight: 700; color: var(--c-orange-dark); }
.side-table__wrap { overflow-x: auto; border-radius: var(--radius-lg); }

/* ---------- Simple list rows (drinks/beers) ---------- */
.list-rows { display: flex; flex-direction: column; }
.list-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--c-border);
}
.list-row:last-child { border-bottom: none; }
.list-row__name { font-weight: 600; color: var(--c-espresso-2); }
.list-row__price { font-weight: 700; color: var(--c-orange-dark); font-family: var(--font-display); flex-shrink: 0; }

/* ---------- Sauce tags ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 1em;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1.5px solid var(--c-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-espresso-2);
}
.tag--free { background: rgb(92 122 78 / 0.14); border-color: transparent; color: var(--c-green); }
.tag--spicy::after { content: '🌶'; font-size: 0.8em; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-xl);
  background: var(--c-espresso);
  color: var(--c-cream-soft);
  padding: var(--space-8) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 85% 20%, rgb(221 138 62 / 0.35), transparent 60%);
  z-index: -1;
}
.cta-band h2, .cta-band h3 { color: var(--c-cream-soft); }
.cta-band p { color: rgb(247 239 220 / 0.8); }
.cta-band__text { max-width: 480px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease-out);
}
.contact-method:hover { background: rgb(221 138 62 / 0.08); }
.contact-method__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-orange);
  color: var(--c-white);
}
.contact-method__icon svg { width: 20px; height: 20px; }
.contact-method__label { font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--c-ink-soft); font-weight: 700; }
.contact-method__value { font-weight: 700; color: var(--c-espresso); font-size: 1.05rem; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--c-border-soft);
  aspect-ratio: 16/11;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Form ---------- */
.form-field { margin-bottom: var(--space-5); }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: var(--space-2);
  color: var(--c-espresso-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9em 1.1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 4px rgb(221 138 62 / 0.15);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: var(--fs-tiny); color: var(--text-muted); margin-top: var(--space-3); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-espresso);
  color: rgb(247 239 220 / 0.85);
  padding-block: var(--space-10) var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgb(247 239 220 / 0.14);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
.footer-brand img { height: 46px; margin-bottom: var(--space-4); }
.footer-brand p { max-width: 320px; color: rgb(247 239 220 / 0.68); }
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-weight: 700;
  color: var(--c-gold-light);
  margin-bottom: var(--space-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { color: rgb(247 239 220 / 0.78); transition: color var(--dur-fast); font-size: 0.92rem; }
.footer-links a:hover { color: var(--c-orange-light); }
.footer-location { margin-bottom: var(--space-5); }
.footer-location:last-child { margin-bottom: 0; }
.footer-location strong { display: block; color: var(--c-cream-soft); margin-bottom: 0.2em; }
.footer-location a { color: rgb(247 239 220 / 0.72); font-size: 0.9rem; }
.footer-location a:hover { color: var(--c-orange-light); }

.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(247 239 220 / 0.1);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.footer-social a:hover { background: var(--c-orange); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-6);
  font-size: var(--fs-tiny);
  color: rgb(247 239 220 / 0.55);
}
.footer-bottom-links { display: flex; gap: var(--space-5); }
.footer-bottom-links a:hover { color: var(--c-orange-light); }

.back-to-top {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-orange);
  color: var(--c-white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Misc decorative ---------- */
.divider-rays {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  opacity: 0.5;
  margin-block: var(--space-6);
}
.divider-rays span { width: 22px; height: 2px; background: var(--c-orange); border-radius: 2px; }
.divider-rays span:nth-child(2) { width: 34px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat-row__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem);
  font-weight: 700;
  color: var(--c-orange-dark);
}
.stat-row__label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 600;
}
@media (max-width: 640px) {
  .stat-row { grid-template-columns: 1fr; gap: var(--space-4); }
}
