/* =========================================================
   Sole di Zafferano: sito dimostrativo di Nordporta IT.
   Un ristorante inventato: nome, indirizzo e telefono non
   esistono. Palette: pareti zafferano, tovaglie bordeaux,
   pietra chiara e ottone.
   ========================================================= */

/* ---------- Font ----------
   I font stanno nella cartella fonts/: nessuna richiesta a servizi esterni. */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-normal-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Colori e misure ---------- */
:root {
  --cream: #FBF4E6;        /* sfondo, come la pietra chiara */
  --cream-2: #F4E6CC;      /* sezioni alternate */
  --paper: #FFFBF3;        /* schede */
  --ink: #2B1810;          /* testo */
  --ink-soft: #6A5040;     /* testo secondario */
  --line: #E6D2B0;         /* bordi */
  --saffron: #E07B22;      /* zafferano */
  --saffron-deep: #A84A0C; /* zafferano per testi piccoli */
  --marigold: #F2B640;     /* calendula */
  --burgundy: #7A1E2C;     /* bordeaux delle tovaglie */
  --burgundy-dark: #561320;
  --gold: #C99A3E;         /* ottone */
  --leaf: #3D7A35;
  --chili: #C2381B;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 14px 34px -18px rgba(74, 32, 12, .45);
  --gutter: 16px;
  --header-h: 72px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--burgundy); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--cream-2); }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.center { text-align: center; margin: clamp(32px, 4vw, 48px) 0 0; }
.muted { color: var(--ink-soft); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--burgundy); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Titoli di sezione ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 .9rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--saffron-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .55; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .55; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head h2::after {
  content: ""; display: block; width: 76px; height: 12px; margin: 16px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 12'%3E%3Cpath d='M0 6h27M49 6h27' stroke='%23C99A3E' stroke-width='1.5'/%3E%3Ccircle cx='31' cy='6' r='1.7' fill='%23C99A3E'/%3E%3Ccircle cx='45' cy='6' r='1.7' fill='%23C99A3E'/%3E%3Cpath d='M38 0l6 6-6 6-6-6z' fill='%23E07B22'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-intro { color: var(--ink-soft); margin: 0; font-size: 1.08rem; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font: 800 .98rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .92rem; }
.btn-primary { background: var(--burgundy); color: #FFF6EA; box-shadow: 0 10px 22px -12px rgba(122, 30, 44, .8); }
.btn-primary:hover { background: #8E2536; }
.btn-outline { border-color: currentColor; color: var(--burgundy); background: transparent; }
.btn-outline:hover { background: rgba(122, 30, 44, .07); }
.btn-gold { background: var(--marigold); color: var(--ink); }
.btn-gold:hover { background: #F6C35E; }
.btn-ghost-light { border-color: rgba(255, 246, 234, .75); color: #FFF6EA; }
.btn-ghost-light:hover { background: rgba(255, 246, 234, .12); }

/* ---------- Intestazione ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 244, 230, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(201, 154, 62, .35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; color: var(--saffron); --sun-core: var(--burgundy); --sun-ring: var(--marigold); }
.brand-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1; color: var(--burgundy); }
.brand-sub { display: block; margin-top: 5px; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 1rem; }
.nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  color: var(--ink); font-weight: 700; font-size: .98rem; text-decoration: none;
}
.nav ul a:hover { background: rgba(224, 123, 34, .13); color: var(--burgundy); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang-switch { display: inline-flex; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.lang-switch button {
  min-width: 38px; min-height: 32px; padding: .4rem .6rem;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 800 .78rem/1 var(--font-body); letter-spacing: .06em; color: var(--ink-soft);
}
.lang-switch button[aria-pressed="true"] { background: var(--burgundy); color: #FFF6EA; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: .85rem .25rem; border-radius: 0; border-bottom: 1px solid rgba(201, 154, 62, .3); font-size: 1.1rem; }
  .nav ul a:hover { background: none; }
  .nav .btn { align-self: flex-start; }
}
@media (max-width: 560px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.25rem; white-space: nowrap; }
  .brand-sub { display: none; } /* lo stesso testo è già nel titolo della pagina */
  .header-inner { gap: .5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px);
  background:
    radial-gradient(rgba(168, 74, 12, .11) 1.2px, transparent 1.7px) 0 0 / 22px 22px,
    radial-gradient(ellipse at 82% 35%, rgba(242, 182, 64, .32), transparent 62%),
    var(--cream);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero-title {
  margin: 0 0 .15em;
  font-size: clamp(3.1rem, 8.2vw, 5.8rem); font-weight: 700; line-height: .95; letter-spacing: -.015em;
  color: var(--burgundy);
}
.hero-tagline {
  margin: 0 0 1.1rem;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.25; color: var(--saffron-deep);
  text-wrap: balance;
}
.hero-lead { max-width: 34em; margin: 0 0 1.9rem; font-size: 1.12rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-media { position: relative; justify-self: center; width: min(100%, 440px); }
.mandala {
  position: absolute; left: 50%; top: 47%; width: 150%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: var(--gold); opacity: .5; pointer-events: none;
}

/* Arco: richiama le finestre indiane (e gli archi di Roma) */
.arch-wrap { position: relative; }
.arch-wrap::before {
  content: ""; position: absolute; inset: -12px;
  border: 2px solid var(--gold); opacity: .85;
  border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px;
}
.arch {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 50% 50% 22px 22px / 40% 40% 22px 22px;
  background: var(--cream-2); box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1.5px solid rgba(255, 238, 205, .7);
  border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px;
}

.hero-badge {
  position: absolute; left: -22px; bottom: 30px;
  display: flex; flex-direction: column; gap: 2px; max-width: 200px;
  padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 16px;
  background: var(--paper); box-shadow: var(--shadow);
  color: var(--ink-soft); font-size: .82rem; line-height: 1.35; text-decoration: none;
}
.hero-badge-score { display: flex; align-items: center; gap: .3rem; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--burgundy); line-height: 1.1; }
.hero-badge-score .icon { color: var(--marigold); width: 1em; height: 1em; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { width: min(84%, 360px); margin-top: .5rem; }
  .hero-badge { left: -10px; bottom: 20px; }
}
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Piatti del cuore ---------- */
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.dish-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 0 0 1px rgba(201, 154, 62, .22), var(--shadow);
  transition: transform .25s ease;
}
.dish-card:hover { transform: translateY(-4px); }
.dish-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish-body { padding: 1.1rem 1.3rem 1.4rem; }
.dish-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dish-head h3 { margin: 0; font-size: 1.4rem; }
.price { font-weight: 800; color: var(--burgundy); white-space: nowrap; }
.dish-body p { margin: .45rem 0 0; font-size: .98rem; color: var(--ink-soft); }
.tag {
  display: inline-flex; align-items: center; gap: .35em; margin-top: .85rem;
  padding: .3rem .65rem; border-radius: 999px;
  background: rgba(61, 122, 53, .1); color: var(--leaf);
  font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.tag .icon { width: 1.1em; height: 1.1em; }
@media (max-width: 960px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  /* su smartphone le schede scorrono di lato, così la pagina resta corta */
  .dish-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 26px; scroll-padding-inline: var(--gutter);
  }
  .dish-grid::-webkit-scrollbar { display: none; }
  .dish-card { scroll-snap-align: start; }
  .dish-card:hover { transform: none; }
}

/* ---------- Chi siamo ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 96px); }
.about-media { position: relative; justify-self: center; width: min(100%, 420px); }
.about-inset {
  position: absolute; right: -9%; bottom: -7%; width: 44%; aspect-ratio: 1; object-fit: cover;
  border: 8px solid var(--cream); border-radius: 50%; box-shadow: var(--shadow);
}
.about-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.about-text > p:not(.eyebrow) { color: var(--ink-soft); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.features li { display: flex; align-items: flex-start; gap: .9rem; }
.feature-icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(224, 123, 34, .14); color: var(--saffron-deep);
}
.feature-icon .icon { width: 24px; height: 24px; }
.features h3 { margin: 0 0 .15rem; font-family: var(--font-body); font-size: 1rem; font-weight: 800; }
.features p { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { width: min(76%, 340px); margin-bottom: 1.5rem; }
}
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ---------- Menu ---------- */
.legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.25rem; margin: 1.1rem 0 0; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.legend > span { display: inline-flex; align-items: center; gap: .35rem; }
.mark { width: 1.05em; height: 1.05em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mark-veg { color: var(--leaf); }
.mark-hot { color: var(--chili); }

.menu-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.menu-tabs {
  display: none; gap: .45rem; padding: 1rem;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
  border-bottom: 1px solid var(--line); background: #FBF1E0;
}
.js .menu-tabs { display: flex; }
.menu-tabs [role="tab"] {
  flex: none; scroll-snap-align: start; min-height: 44px; padding: .65rem 1.05rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer;
  font: 800 .92rem/1 var(--font-body); color: var(--ink);
}
.menu-tabs [role="tab"]:hover { border-color: var(--saffron); color: var(--burgundy); }
.menu-tabs [role="tab"][aria-selected="true"] { border-color: var(--burgundy); background: var(--burgundy); color: #FFF6EA; }
@media (min-width: 900px) { .menu-tabs { flex-wrap: wrap; justify-content: center; overflow: visible; } }

.menu-panel { padding: clamp(24px, 4vw, 48px); }
.menu-panel:focus-visible { outline-offset: -6px; }
.menu-panel + .menu-panel { border-top: 1px solid var(--line); } /* senza JavaScript tutte le categorie sono visibili */
.panel-title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .35rem; font-size: 1.6rem; color: var(--burgundy); }
.panel-title::after { content: ""; flex: 1; height: 1px; margin-left: .4rem; background: var(--line); }
.panel-note { margin: 0 0 1.2rem; font-style: italic; color: var(--ink-soft); }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 3rem; list-style: none; margin: 1rem 0 2.25rem; padding: 0; }
.menu-list:last-child { margin-bottom: 0; }
.mi-row { display: flex; align-items: baseline; gap: .5rem; margin: 0; }
.mi-name { font-weight: 800; font-size: 1.05rem; }
.mi-dots { flex: 1; min-width: 1.25rem; border-bottom: 2px dotted #D8C29E; transform: translateY(-.3em); }
.mi-price { font-weight: 800; color: var(--burgundy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mi-desc { margin: .15rem 0 0; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.menu-foot { margin: 0; padding: 1.1rem clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); background: #FBF1E0; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } }

/* ---------- Domicilio ---------- */
.delivery {
  position: relative; color: #FFF6EA;
  padding-block: clamp(72px, 10vw, 128px);
  background:
    linear-gradient(90deg, rgba(36, 18, 10, .94) 0%, rgba(36, 18, 10, .8) 45%, rgba(36, 18, 10, .3) 100%),
    url("../images/delivery.jpg") center / cover no-repeat;
}
.delivery-content { max-width: 580px; }
.delivery h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); color: #FFF6EA; }
.delivery p { font-size: 1.1rem; color: rgba(255, 246, 234, .88); }
.eyebrow-light { color: var(--marigold); }
.delivery-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 700px) {
  .delivery { background: linear-gradient(rgba(36, 18, 10, .84), rgba(36, 18, 10, .9)), url("../images/delivery.jpg") center / cover no-repeat; }
}

/* ---------- Orari e contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 28px); }
.card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; color: var(--burgundy); }
.card h3 .icon { color: var(--saffron-deep); }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: .55rem .4rem; border-bottom: 1px dashed var(--line); text-align: left; }
.hours th { font-weight: 700; }
.hours td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours td span { display: inline-block; white-space: nowrap; } /* pranzo e cena: vanno a capo solo interi */
.hours td span + span { margin-left: 1rem; }
.hours tr.is-closed td { color: var(--chili); font-weight: 700; }
.hours tr.is-today { background: rgba(242, 182, 64, .2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--burgundy); font-weight: 800; }
.card-note { margin: 1rem 0 0; font-size: .9rem; color: var(--ink-soft); }

.card address { font-size: 1.12rem; line-height: 1.5; margin-bottom: .75rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 0; }
.services { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.services li {
  padding: .32rem .7rem; border-radius: 999px;
  background: rgba(224, 123, 34, .12); color: var(--saffron-deep);
  font-size: .82rem; font-weight: 800;
}

.map {
  grid-column: 1 / -1; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow);
}
.map-art { display: block; width: 100%; height: clamp(260px, 32vw, 380px); background: var(--cream-2); }
.map-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem;
  padding: .85rem 1.2rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft);
}
.map-bar a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; text-decoration: none; }
.map-bar .icon { width: 1em; height: 1em; }

@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 72px 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--burgundy-dark); color: rgba(255, 246, 234, .82);
  font-size: .98rem;
}
/* bordo smerlato, come il bordo di una tovaglia */
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px;
  background: radial-gradient(circle at 50% 100%, var(--burgundy-dark) 12px, transparent 12.5px) 0 0 / 24px 14px repeat-x;
}
.site-footer a { color: #FFF6EA; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; align-items: flex-start; gap: .8rem; }
.footer-brand .brand-mark { color: var(--marigold); --sun-core: var(--saffron); --sun-ring: var(--burgundy-dark); }
.footer-name { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #FFF6EA; line-height: 1.2; }
.footer-title { margin: 0 0 .75rem; font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 246, 234, .15);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Barra azioni (smartphone) ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(86, 19, 32, .97); box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .45);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px;
    border-radius: 12px; color: #FFF6EA; text-decoration: none; font-size: .74rem; font-weight: 800;
  }
  .action-bar a:active { background: rgba(255, 255, 255, .1); }
  .action-bar .icon { width: 22px; height: 22px; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Logo e decorazioni ----------
   Gli stili stanno qui e non negli attributi style="…": la Content-Security-Policy di nordporta.com li blocca. */
.sun-rays { fill: var(--sun-rays, currentColor); }
.sun-core { fill: var(--sun-core, currentColor); }
.sun-ring { fill: none; stroke: var(--sun-ring, #FBF4E6); stroke-width: 1.6; }
.mandala-lines { fill: none; stroke: currentColor; stroke-width: 1.1; }
.mandala-dots { fill: currentColor; }

/* ---------- Nota «sito dimostrativo» (Nordporta IT) ---------- */
.concept-bar { padding: .6rem var(--gutter); background: var(--ink); color: #FFF6EA; font-size: .88rem; line-height: 1.45; text-align: center; }
.concept-bar p { margin: 0; }
.concept-bar a { color: var(--marigold); font-weight: 800; }

/* ---------- Movimento ridotto ---------- */@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
