/* ==========================================================
   Tabaccheria delle Gondole — Lido di Ostia
   mobile first · nessun framework

   Dall'insegna: il bordeaux #760112 (cornice #3d000c) e i due caratteri,
   League Gothic per la scritta grande, Montserrat per SERVIZI / PAGAMENTI.
   Sezioni bianche (scritte bordeaux) alternate a sezioni bordeaux piene
   (scritte bianche), con taglio netto fra le due. Piede color cornice.
   ========================================================== */

:root {
  --brand: #760112;        /* faccia dell'insegna */
  --brand-2: #8c0a1d;      /* passaggio del mouse, pressione */
  --frame: #3d000c;        /* cornice dell'insegna: piede */
  --brand-velo: rgba(118, 1, 18, .08);

  --ink: #1d1416;
  --muted: #5e5052;
  --line: rgba(118, 1, 18, .14);
  --card: #ffffff;
  --tint: #f7e9eb;
  --soft: #fbf6f6;
  --paper: #fdf8f8;        /* il fondo chiaro sotto alla sfumatura */

  --ok: #1b6f45;   --ok-bg: #e1f1e8;
  --warn: #85550a; --warn-bg: #f9eed8;
  --no: #8a2a2a;   --no-bg: #f5e2e2;

  --f-disp: "League Gothic", "Oswald", "Arial Narrow", sans-serif-condensed, sans-serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px;
  --hdr: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sec--red :focus-visible, .foot :focus-visible { outline-color: #fff; }
::selection { background: var(--brand); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 8px;
  background: var(--brand); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--f-disp); font-size: 1.4rem; line-height: 1; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn .ic { width: 19px; height: 19px; }
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--brand-2); box-shadow: 0 14px 28px -16px rgba(118, 1, 18, .9); }
.btn--line { border-color: var(--brand); color: var(--brand); background: rgba(255,255,255,.6); }
.btn--line:hover { background: #fff; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--tint); }
.btn:active { transform: translateY(1px); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
/* fondo pieno invece del vetro smerigliato: sul telefono il vetro rallenta lo scorrimento */
.hdr.is-stuck { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); box-shadow: 0 8px 20px -16px rgba(61, 0, 12, .45); }
.hdr__in { display: flex; align-items: center; gap: 12px; height: var(--hdr); }

.brand { display: flex; align-items: center; margin-right: auto; min-width: 0; text-decoration: none; }
.brand img { display: block; height: 20px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
@media (min-width: 760px) { .brand img { height: 24px; } }
/* in cima alla home c'è già l'insegna: il nome nell'header compare solo dopo.
   Da nascosto non riceve tocchi (visibility), e visibility torna subito visibile in apertura. */
.js .hdr .brand { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.js .hdr.is-past .brand { opacity: 1; visibility: visible; transition: opacity .2s, visibility 0s; }

.nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 4px 16px 14px;
  background: #fff;
  border-bottom: 3px solid var(--brand);
  box-shadow: 0 18px 30px -20px rgba(61, 0, 12, .5);
}
.nav.is-open { display: block; }
.nav a {
  display: flex; align-items: center; min-height: 54px; padding: 0 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-disp); font-size: 1.75rem; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--brand);
}
.nav a:last-child { border-bottom: 0; }
.nav a.is-active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.hdr__call {
  display: none; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 14px; border-radius: 10px;
  background: var(--brand); color: #fff;
  font-family: var(--f-disp); font-size: 1.35rem; letter-spacing: .05em;
  text-decoration: none; white-space: nowrap;
}
.hdr__call:hover { background: var(--brand-2); }
.hdr__call .ic { width: 17px; height: 17px; }

.burger {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0; margin-left: auto;
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 760px) {
  .hdr__call { display: inline-flex; }
}
@media (min-width: 1000px) {
  .burger { display: none; }
  .nav {
    display: flex; gap: 4px; position: static; margin-left: auto;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav a {
    position: relative; min-height: 40px; padding: 0 7px; border: 0;
    font-size: 1.2rem; color: var(--muted);   /* otto voci: il nome a sinistra deve restare largo 290px */
  }
  .nav a:hover { color: var(--brand); }
  /* la riga sotto la voce attiva, come sotto SERVIZI e PAGAMENTI nell'insegna */
  .nav a.is-active { color: var(--brand); text-decoration: none; }
  .nav a.is-active::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 4px; height: 2px; background: var(--brand); }
}

/* ---------- home ---------- */
/* sezioni chiare bianche piene, taglio netto sulla sezione bordeaux che segue */
.hero, .sec:not(.sec--red) { background: #fff; }
/* l'insegna occupa tutta la larghezza dello schermo, da bordo a bordo, come sopra la vetrina */
.hero__sign { width: 100%; margin: 0; padding: 12px 0 0; }
.hero__sign h1 { margin: 0; }
.hero__sign img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 16px rgba(61, 0, 12, .16)); }
@media (min-width: 760px) { .hero__sign { padding-top: 24px; } }

/* la scritta IQOS sotto l'insegna, senza cornice (ultima versione del committente, 30/09).
   Telefono: due righe (TABACCHERIA · IQOS / PREMIUM PARTNER | OSTIA GONDOLE) alla stessa scala,
   la prima larga quanto lo spazio interno. Computer: la riga intera, come nel file. */
.partner { margin: 6px 0 0; background: #fff; }
.partner img { display: block; height: auto; }
.partner .partner__tutta { display: none; width: 100%; }     /* stessa forza di ".partner img", che altrimenti vince */
.partner__righe { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 12px; }
.partner__righe img { height: calc((100vw - 24px) * 115 / 1163); width: auto; }
@media (min-width: 760px) {
  .partner { margin-top: 12px; }
  .partner .partner__tutta { display: block; }
  .partner .partner__righe { display: none; }
}
.hero__in { padding-top: 26px; padding-bottom: 64px; }
.hero__where {
  display: flex; align-items: center; gap: 8px;
  font-size: .92rem; font-weight: 500; color: var(--muted);
}
.hero__where .ic { width: 17px; height: 17px; color: var(--brand); }
/* la frase d'apertura, nel carattere dell'insegna */
.hero__claim {
  max-width: 20em; margin-top: 16px;
  font-family: var(--f-disp); font-size: clamp(2.1rem, 8.4vw, 3.2rem); line-height: 1.02;
  letter-spacing: .03em; text-transform: uppercase; color: var(--brand);
}
/* seconda riga del titolo: stesso carattere, più piccola e in nero */
.hero__open { display: block; margin-top: 6px; font-size: .62em; line-height: 1.1; color: var(--ink); }
.hero__lead {
  max-width: 34em; margin-top: 12px;
  font-size: 1.05rem; line-height: 1.55; color: var(--ink);
}
.hero__cta { display: flex; gap: 10px; margin-top: 22px; }
.hero__cta .btn { flex: 1 1 0; padding: 0 12px; }
@media (min-width: 560px) {
  .hero__cta .btn { flex: 0 0 auto; padding: 0 26px; }
}
@media (min-width: 760px) {
  .hero__in { padding-top: 40px; padding-bottom: 100px; }
  .hero__lead { font-size: 1.18rem; }
}

.hero__card { display: none; margin: 0; }
@media (min-width: 1000px) {
  .hero__in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; column-gap: 56px; }
  .hero__card {
    display: block; padding: 6px 26px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 18px 40px -28px rgba(61, 0, 12, .45);
  }
  .hero__card > div { padding: 16px 0; border-top: 1px solid var(--line); }
  .hero__card > div:first-child { border-top: 0; }
  .hero__card dt {
    display: flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  }
  .hero__card dt .ic { width: 16px; height: 16px; color: var(--brand); }
  .hero__card dd { margin: 6px 0 0; font-family: var(--f-disp); font-size: 1.75rem; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--brand); }
  .hero__card a { text-decoration: none; }
  .hero__card a:hover { text-decoration: underline; }
}

/* stato aperto / chiuso */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 18px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--ink);
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #b9aeb0; flex: none; }
.status.is-open .status__dot { background: #1fa463; box-shadow: 0 0 0 4px rgba(31, 164, 99, .18); }
.status.is-closed .status__dot { background: var(--brand); }

/* ---------- sezioni ---------- */
/* sezioni chiare (scritte bordeaux) alternate a sezioni bordeaux piene (scritte bianche) */
.sec { padding: 64px 0; scroll-margin-top: var(--hdr); position: relative; }
.sec--red { background: var(--brand); color: #fff; }
@media (min-width: 760px) { .sec { padding: 96px 0; } }

.sec__head { margin-bottom: 24px; }
/* etichetta come SERVIZI / PAGAMENTI sull'insegna: Montserrat, spaziata, con la riga sotto */
.eyebrow {
  display: inline-block; padding-bottom: 7px;
  border-bottom: 2px solid currentColor;
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand);
}
.sec--red .eyebrow { color: #fff; }
.sec__head h2 {
  margin-top: 16px;
  font-family: var(--f-disp); font-size: clamp(2.6rem, 11vw, 4rem); letter-spacing: .03em; text-transform: uppercase;
  color: var(--brand);
}
.sec--red .sec__head h2 { color: #fff; }
.sec__lead { max-width: 42em; margin-top: 12px; font-size: 1.02rem; color: var(--muted); }
.sec--red .sec__lead { color: rgba(255,255,255,.85); }
@media (min-width: 760px) { .sec__head { margin-bottom: 36px; } }

/* ---------- servizi: riquadri ---------- */
.tiles { display: grid; gap: 10px; }
.tile {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 80px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink);
  transition: box-shadow .15s, border-color .15s;
}
.tile:hover { border-color: var(--brand); box-shadow: 0 14px 28px -20px rgba(61, 0, 12, .6); }
.sec--red .tile { border-color: #fff; }
.sec--red .tile:hover { box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .55); }
.tile:active { background: var(--soft); }
.tile__ic {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--tint); color: var(--brand);
}
.tile__ic .ic { width: 23px; height: 23px; }
/* le emoji dei quattro servizi, nei caratteri a colori di ogni sistema */
.tile__ic--emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 25px; line-height: 1;
}
@media (min-width: 1000px) { .tile__ic--emoji { width: 56px; height: 56px; font-size: 30px; border-radius: 13px; } }
.tile__txt { flex: 1; min-width: 0; }
.tile__t { display: block; font-family: var(--f-disp); font-size: 1.65rem; line-height: 1.05; letter-spacing: .035em; text-transform: uppercase; color: var(--brand); }
.tile__d { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.tile__go { width: 18px; height: 18px; color: var(--brand); }
.tile__badge {
  display: inline-block; margin-left: 4px; padding: 3px 8px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-family: var(--f-body); font-size: .68rem; font-weight: 600; letter-spacing: .02em; text-transform: none;
  vertical-align: 4px; white-space: nowrap;
}

@media (min-width: 640px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .tile { flex-direction: column; align-items: flex-start; gap: 16px; min-height: 216px; padding: 22px; }
  .tile__txt { flex: 1; }
  .tile__go { position: absolute; right: 20px; bottom: 20px; }
}

.also {
  margin-top: 12px; padding: 14px 16px;
  border: 1.5px dashed rgba(118, 1, 18, .35); border-radius: var(--r);
  background: rgba(255,255,255,.5);
}
.also__k {
  margin-bottom: 10px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.also__list { display: grid; gap: 10px; }
@media (min-width: 760px) { .also__list { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 36px; } }
.also__list li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.also__ic, .also__logo {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--tint); color: var(--brand);
}
.also__ic .ic { width: 23px; height: 23px; }
.also__logo { width: auto; min-width: 46px; padding: 6px 10px; background: #fff; }
.also__logo img { display: block; height: 30px; width: auto; }
.sec--red .also { border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.08); }
.sec--red .also__ic { background: rgba(255,255,255,.92); color: var(--brand); }  /* bianco come quelli con le emoji */
.sec--red .also__k { color: rgba(255,255,255,.8); }
.sec--red .also strong { color: #fff; }
.also strong { display: block; font-family: var(--f-disp); font-weight: 400; font-size: 1.65rem; line-height: 1.1; letter-spacing: .035em; text-transform: uppercase; color: var(--brand); }
@media (min-width: 1000px) { .also { margin-top: 14px; } }

/* ---------- riquadri informativi ---------- */
.panel {
  padding: 20px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 16px 36px -30px rgba(61, 0, 12, .5);
}
@media (min-width: 760px) { .panel { padding: 26px; } }
.panel__t {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-family: var(--f-disp); font-size: 1.9rem; letter-spacing: .035em; text-transform: uppercase; color: var(--brand);
}
.panel__t .ic { width: 22px; height: 22px; color: var(--brand); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 14px 6px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--soft); color: var(--ink);
  font-family: var(--f-disp); font-size: 1.3rem; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase;
}

/* loghi dei circuiti: riquadri uguali, altezza ottica regolata per marchio */
.logos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.logo {
  display: flex; align-items: center; justify-content: center;
  height: 68px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.logo img { display: block; height: var(--h, 28px); width: auto; max-width: 100%; object-fit: contain; }
.logo--span { grid-column: 1 / -1; }
.logo--ticketone { background: #202867; border-color: #202867; --h: 34px; }  /* il logo esiste solo su questo blu */
.logo--ciaotickets { --h: 27px; }
.logo--vivaticket { --h: 17px; }
.logo--trenitalia { --h: 46px; }
.logo--postepay { --h: 24px; }
.logo--mooney { --h: 25px; }
.logos:last-child { margin-bottom: 0; }
/* segnaposto finché non arriva il logo ufficiale: il nome, nello stesso riquadro */
.logo--txt { font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; color: var(--ink); }
.also__logo.logo--txt { font-size: .85rem; }
/* loghi aggiunti il 30/09: altezze ottiche per farli sembrare della stessa taglia */
.logo--pagopa { --h: 34px; }
.logo--findomestic { --h: 30px; }
.logo--compass { --h: 24px; }
.logo--hype { --h: 44px; }
.logo--dazn { --h: 40px; }
/* Sport, TV e Internet: griglia a 6 colonne, due riquadri larghi sopra (calcio) e tre sotto (TV e internet) */
.logos--sport { grid-template-columns: repeat(6, 1fr); }
.logos--sport > :nth-child(-n+2) { grid-column: span 3; height: 88px; }
.logos--sport > :nth-child(n+3) { grid-column: span 2; padding: 10px 8px; }
.logo--seriea { --h: 68px; }
.logos--sport .logo__sub { font-size: .95rem; }
.logo--sky { --h: 24px; gap: 7px; }
.logo--sky img { flex: none; }
.logo__sub { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; line-height: 1; color: #000; }
/* Ostiamare: solo il nome, in viola, nel carattere dell'insegna */
.logo--ostiamare {
  font-family: var(--f-disp); font-size: 2.1rem; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  color: #5a2d91;
}
/* Bollette e bollettini: Poste Italiane (logo largo) e pagoPA (quasi quadrato) sulla stessa riga */
.logos--bollette { grid-template-columns: 1.6fr 1fr; }
.logos--bollette .logo--poste { --h: 20px; }
.panel--wide { grid-column: 1 / -1; }

/* spedizioni: sei loghi, 2 / 3 / 6 per riga */
.logos--ship { gap: 10px; margin-bottom: 18px; }
.logos--ship .logo { height: 80px; box-shadow: 0 12px 28px -24px rgba(61, 0, 12, .6); }
@media (min-width: 640px) { .logos--ship { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logos--ship { grid-template-columns: repeat(6, 1fr); } }
.logo--brt { --h: 42px; }
.logo--amazon { --h: 32px; }
.logo--gls { --h: 34px; }
.logos .logo--gls { background: #061ab1; border-color: #061ab1; }  /* il marchio è il riquadro blu */
.logo--poste { --h: 19px; }
.logo--ups { --h: 48px; }
.logo--fedex { --h: 28px; }

/* gestori telefonici: 13 loghi, 2 / 4 / 5 per riga; l'ultima riga resta centrata */
.logos--gestori { display: flex; flex-wrap: wrap; justify-content: center; }
.logos--gestori .logo { flex: 0 0 calc((100% - 8px) / 2); min-width: 0; }
@media (min-width: 640px) { .logos--gestori .logo { flex-basis: calc((100% - 24px) / 4); } }
@media (min-width: 1000px) { .logos--gestori .logo { flex-basis: calc((100% - 32px) / 5); } }
.logo--tim { --h: 26px; }
.logo--vodafone { --h: 40px; }
.logo--windtre { --h: 42px; }
.logo--fastweb { --h: 21px; }
.logo--coopvoce { --h: 38px; }
.logo--iliad { --h: 32px; }
.logo--very { --h: 38px; }
.logo--kena { --h: 22px; }
.logo--tiscali { --h: 25px; }
.logo--federmobile { --h: 34px; }
.logo--lyca { --h: 40px; }
.logo--cmlink { --h: 36px; }
.logo--noitel { --h: 25px; }

/* logo legato a una sola voce dell'elenco (sotto il testo della voce) */
.li-logo { display: block; height: 36px; width: auto; margin-top: 8px; }
/* Revolut è solo la destinazione del bonifico: logo dentro la frase, all'altezza del testo */
.inline-logo { display: inline-block; height: 1em; width: auto; margin: 0 .1em; vertical-align: -.14em; }

.list li {
  display: flex; gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 1rem; font-weight: 500; line-height: 1.45;
}
.list li:first-child { border-top: 0; padding-top: 2px; }
.list li::before {
  content: ""; flex: 0 0 7px; height: 7px; margin-top: .6em;
  border-radius: 1.5px; background: var(--brand);
}

.duo { display: grid; gap: 14px; }
@media (min-width: 820px) {
  .duo { grid-template-columns: 1fr 1fr; align-items: start; }
  .duo > #eventi-circuiti { grid-row: 1 / span 2; }
}

/* tre riquadri in fila sul computer (giochi e scommesse) */
@media (min-width: 1000px) { .trio { grid-template-columns: repeat(3, 1fr); } }

.groups { display: grid; gap: 14px; }
@media (min-width: 720px) { .groups { grid-template-columns: 1fr 1fr; } }

.note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .93rem; line-height: 1.5; color: var(--muted);
}
.note .ic { width: 19px; height: 19px; margin-top: 1px; color: var(--brand); }
.sec:not(.sec--red) .note, .sec:not(.sec--red) .sec__lead { color: #4a3d3f; }  /* testo piccolo un filo più scuro */
.sec--red .note { color: rgba(255,255,255,.85); }
.sec--red .note .ic { color: #fff; }
.sec--red .panel { border-color: #fff; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .55); }

/* emoji dei servizi nei titoli dei riquadri (tabacchi e giochi), nello stesso quadratino dei riquadri dei servizi */
.panel__emoji, .also__ic--emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; line-height: 1;
}
.panel__emoji {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--tint); font-size: 22px;
}
.also__ic--emoji { font-size: 24px; }

/* avviso 18+ sotto tabacchi e giochi: il bollino tondo e la frase */
.note--eta { align-items: center; margin-top: 18px; font-weight: 500; }
.eta {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border: 2px solid currentColor; border-radius: 50%;
  font-family: var(--f-disp); font-size: 1.15rem; letter-spacing: .02em; line-height: 1;
  color: var(--brand);
}
.sec--red .eta { color: #fff; }

/* ---------- eventi in evidenza ---------- */
.events { margin-top: 40px; scroll-margin-top: calc(var(--hdr) + 12px); }
.events__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px;
  margin-bottom: 14px;
}
.events__t { display: flex; align-items: center; gap: 10px; font-family: var(--f-disp); font-size: 2.2rem; letter-spacing: .035em; text-transform: uppercase; color: var(--brand); }
.events__t .ic { width: 24px; height: 24px; color: var(--brand); }
.events__upd { font-size: .85rem; color: var(--muted); }

.events__list { display: grid; gap: 12px; }
.events__list:empty { display: none; }
@media (min-width: 720px) { .events__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .events__list { grid-template-columns: repeat(3, 1fr); } }

.ev {
  display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: start;
  padding: 14px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
}
.ev--nodate { grid-template-columns: 1fr; }
.ev__date {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 4px 9px; border-radius: 10px;
  background: var(--brand); color: #fff; line-height: 1; text-align: center;
}
.ev__w { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.ev__d { margin-top: 4px; font-family: var(--f-disp); font-size: 2.2rem; }
.ev__m { margin-top: 2px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ev__kind { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ev__t { margin-top: 3px; font-family: var(--f-disp); font-size: 1.6rem; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; color: var(--brand); }
.ev__meta { margin-top: 5px; font-size: .88rem; color: var(--muted); }
.ev__note { margin-top: 6px; font-size: .9rem; }
.ev__av {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--tint); color: var(--brand);
  font-size: .8rem; font-weight: 600;
}
.ev__av::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ev__av--ok { background: var(--ok-bg); color: var(--ok); }
.ev__av--warn { background: var(--warn-bg); color: var(--warn); }
.ev__av--no { background: var(--no-bg); color: var(--no); }

/* schede con immagine (eventi letti dai circuiti) */
.ev--img { grid-template-columns: 108px 1fr; }
.ev__pic {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 10px; background: var(--tint);
}
.ev__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev__pic .ev__date { display: none; }                  /* sul telefono la data sta nel testo */
.ev__place { display: flex; gap: 6px; align-items: flex-start; margin-top: 4px; font-size: .86rem; line-height: 1.35; color: var(--muted); }
.ev__place .ic { width: 15px; height: 15px; margin-top: 1px; color: var(--brand); }
.ev__more { color: var(--brand); font-weight: 600; }
.ev__buy { grid-column: 1 / -1; width: 100%; min-height: 46px; padding: 0 12px; font-size: 1.25rem; white-space: normal; text-align: center; }
.ev__buy .ic { width: 15px; height: 15px; }
@media (min-width: 720px) {
  .ev--img { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
  .ev--img .ev__pic { border-radius: 0; }
  .ev__pic .ev__date { display: flex; position: absolute; left: 12px; top: 12px; min-width: 58px; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
  .ev--img .ev__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 14px; }
  .ev--img .ev__buy { width: auto; margin: auto 18px 18px; }
}

.events__empty {
  padding: 18px;
  border: 1.5px dashed rgba(118, 1, 18, .35); border-radius: var(--r);
  background: rgba(255,255,255,.7);
  color: var(--muted);
}
.events__foot { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.tickets-foot { margin-top: 28px; }
.events__foot .btn { align-self: stretch; }
@media (min-width: 720px) {
  .events__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .events__foot .btn { align-self: auto; }
}

/* ---------- contatti (sezione bordeaux) ---------- */
/* dietro, la foto della vetrina coi suoi colori, senza velo: in alto resta libera così si leggono
   l'insegna e le tende (TABACCHERIA · IQOS Premium Partner); titolo e riquadri stanno sotto le
   tende, dove la foto scurisce verso un nero caldo.
   Foto del 01/10/2026, 2000×1108: larga quanto lo schermo e alta in proporzione, quindi le
   posizioni sono in vw. Nella foto l'insegna sta all'1,8–8,4% della larghezza e le tende finiscono
   al 16,2%; la foto è alzata dell'1% per togliere la striscia di soffitto.
   Telefono: foto al 116% (resta intera la scritta "OSTIA GONDOLE"), misure × 1,16, alzata dell'1,5%.
   Si scarica solo avvicinandosi (classe is-foto). */
.sec--foto {
  --scuro: 15, 9, 10;
  background-color: rgb(var(--scuro));
  background-repeat: no-repeat;
  padding-top: 30vw;
}
.sec--foto.is-foto, html:not(.js) .sec--foto {
  background-image:
    linear-gradient(to bottom, rgba(var(--scuro), 0) 0, rgba(var(--scuro), 0) 21vw,
      rgba(var(--scuro), .55) 33vw, rgba(var(--scuro), .86) 46vw, rgb(var(--scuro)) 60vw),
    url("../img/vetrina2-1200.jpg");
  background-size: 100% 100%, 116% auto;
  background-position: 0 0, 50% -1.5vw;
}
.sec--foto .sec__head { text-shadow: 0 2px 14px rgba(0, 0, 0, .75), 0 1px 3px rgba(0, 0, 0, .6); }
.sec--foto .eyebrow { box-shadow: 0 6px 10px -8px rgba(0, 0, 0, .8); }
.sec--foto .cbox { background: rgba(var(--scuro), .66); border-color: rgba(255, 255, 255, .2); }
@media (min-width: 900px) {
  .sec--foto { padding-top: 17vw; }
  .sec--foto.is-foto, html:not(.js) .sec--foto {
    background-image:
      linear-gradient(to bottom, rgba(var(--scuro), 0) 0, rgba(var(--scuro), 0) 15.5vw,
        rgba(var(--scuro), .5) 23vw, rgba(var(--scuro), .82) 36vw, rgb(var(--scuro)) 52vw),
      url("../img/vetrina2-2000.jpg");
    background-size: 100% 100%, 100% auto;
    background-position: 0 0, 50% -1vw;
  }
}
.contacts { display: grid; gap: 12px; }
@media (min-width: 900px) { .contacts { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.cbox {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px;
  background: rgba(0,0,0,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 16px;
}
@media (min-width: 760px) { .cbox { padding: 24px; } }
.cbox__k {
  display: flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.cbox__k .ic { width: 17px; height: 17px; color: #fff; }
.cbox__v { font-family: var(--f-disp); font-size: 2.1rem; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; }
.cbox__sub { display: block; margin-top: 4px; font-family: var(--f-body); font-size: .92rem; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.8); }
.cbox__tel { text-decoration: none; }
.cbox .btn { margin-top: auto; }
.status--box { margin-top: auto; align-self: flex-start; background: rgba(0,0,0,.18); border-color: transparent; color: #fff; }
.status--box.is-open .status__dot { background: #4fe39a; box-shadow: 0 0 0 4px rgba(79, 227, 154, .25); }
.status--box.is-closed .status__dot { background: #f2b8b8; }

/* ---------- footer ---------- */
.foot {
  /* sotto i 760px lascia spazio alla barra rapida */
  padding: 36px 0 calc(40px + 68px + env(safe-area-inset-bottom));
  background: var(--frame); color: rgba(255,255,255,.8);
  font-size: .92rem;
}
.foot p + p { margin-top: 8px; }
.foot__name { margin-bottom: 14px; }
.foot__name img { display: block; height: 22px; width: auto; max-width: 100%; }
.foot__small { max-width: 62em; font-size: .8rem; color: rgba(255,255,255,.6); }
.foot a { color: inherit; }
@media (min-width: 760px) { .foot { padding-bottom: 40px; } }

/* ---------- barra rapida (telefono) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 3px solid var(--brand);
  box-shadow: 0 -8px 20px -14px rgba(61, 0, 12, .5);
  transition: transform .22s ease;
}
.dock.is-off { transform: translateY(115%); }
.dock__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 10px;
  border: 2px solid var(--brand); color: var(--brand);
  font-family: var(--f-disp); font-size: 1.4rem; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none;
}
.dock__btn .ic { width: 19px; height: 19px; }
.dock__btn--main { background: var(--brand); color: #fff; }
@media (min-width: 760px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
