/* Cosmo Pizza · stile dei pannelli 70x100: cielo stellato, riquadri scuri, titoli slab bianchi e gialli */

@font-face { font-family: "Alfa Slab One"; src: url("../fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --space: #0b0a1f;
  --panel: rgba(12, 14, 34, .78);
  --panel-line: rgba(255, 255, 255, .08);
  --text: #f3f1ea;
  --muted: #c9c6d8;
  --yellow: #f6c445;
  --orange: #f0a43a;
  --red: #e8322f;
  --green: #2fa84f;
  --blue: #2457c9;
  --sky: #1e9be0;
  --radius: 14px;
  --font-title: "Alfa Slab One", Rockwell, "Roboto Slab", Georgia, serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-ui: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-space: "Orbitron", "Poppins", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  background: var(--space) url("../img/space-bg.webp") center top / cover fixed;
  min-height: 100vh;
}
@media (max-width: 800px) { body { background-attachment: scroll; background-size: 160% auto; background-repeat: repeat-y; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -.18em; flex: none; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { margin-block: 2rem; }
.panel {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 2rem);
  backdrop-filter: blur(2px);
}
.two-col { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col--reviews { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* Titoli */
.h-page, .h-section, .cat-title, .h-footer, .h-small { font-family: var(--font-title); font-weight: 400; letter-spacing: .02em; line-height: 1.2; }
.h-page { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; text-transform: uppercase; }
.h-page__sub { display: block; margin-top: .35rem; font-size: .45em; color: var(--yellow); }
.h-section { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--yellow); margin: 0 0 1rem; text-transform: uppercase; }
.h-small { font-size: 1.1rem; color: var(--yellow); margin: 1.5rem 0 .6rem; text-transform: uppercase; }
.h-center { text-align: center; }
.cat-title { color: var(--yellow); text-align: center; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 1rem; text-transform: uppercase; }
.flag-title {
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase; text-align: center;
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .04em; margin: 0 0 1rem;
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
h2.flag-heading, h3.flag-heading { margin: 0 0 1rem; text-align: center; line-height: 1.1; }
.flag-heading .flag-title { display: inline-block; margin: 0; }
.flag-kicker { display: block; font: 400 .9rem var(--font-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.flag-italia   { background-image: linear-gradient(90deg, var(--green) 0 37%, #fff 37% 63%, var(--red) 63%); }
.flag-america  { background-image: linear-gradient(90deg, var(--blue) 0 37%, #fff 37% 63%, var(--red) 63%); }
.flag-canarias { background-image: linear-gradient(90deg, var(--yellow) 0 37%, #fff 37% 63%, var(--sky) 63%); }
.lead { font-size: 1.15rem; color: var(--muted); }
.page-head { text-align: center; margin-bottom: 1.5rem; }
.page-head .open-badge { justify-content: center; }

/* Intestazione */
.announce { background: var(--red); color: #fff; text-align: center; font: 600 .95rem var(--font-ui); padding: .5rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(8, 8, 24, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--panel-line); }
.site-header__in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand img { width: clamp(170px, 22vw, 240px); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; font-family: var(--font-ui); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--yellow); }
.langs { gap: .4rem !important; }
.langs a { font-size: .8rem; padding: .15rem .4rem; border: 1px solid var(--panel-line); border-radius: 6px; color: var(--muted); }
.langs a[aria-current="true"] { background: var(--yellow); color: #000; border-color: var(--yellow); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--text); border-radius: 2px; }
@media (max-width: 960px) {
  .js .nav-toggle { display: block; }
  .site-header__in { flex-wrap: wrap; }
  .js .site-nav { display: none; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: flex-start; padding-bottom: 1rem; gap: 1rem; }
  .site-nav ul { flex-wrap: wrap; }
  .js .site-nav.is-open { display: flex; }
}

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; gap: .45rem; justify-content: center;
  font: 700 1rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer;
  padding: .8rem 1.3rem; border-radius: 999px; border: 2px solid transparent; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #ff4a3d; color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--text); border-color: rgba(255, 255, 255, .25); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--call { background: var(--red); color: #fff !important; padding: .5rem 1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* Hero */
.hero { text-align: center; padding: clamp(3rem, 10vw, 7rem) 0 clamp(2rem, 6vw, 4rem); }
.hero__title { margin: 0; }
.hero__title img { width: min(760px, 92%); margin: 0 auto; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .6)); }
.hero__tagline { display: block; margin-top: 1.25rem; font: 400 clamp(1.1rem, 2.6vw, 1.6rem)/1.3 var(--font-title); color: var(--yellow); text-transform: uppercase; letter-spacing: .03em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }
.hero__phone a, .callout__phone a { font: 700 clamp(1.8rem, 5vw, 2.8rem)/1.1 var(--font-ui); color: var(--red); text-decoration: none; letter-spacing: .02em; }
.hero__phone { margin: 1.5rem 0 0; }
.open-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.25rem 0 0; font: 400 1rem var(--font-ui); background: rgba(0, 0, 0, .35); padding: .4rem 1rem; border-radius: 999px; }
.open-badge .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--red); }
.open-badge.is-open .dot { background: #3ddc6b; box-shadow: 0 0 0 4px rgba(61, 220, 107, .25); }
.open-badge span:not(.dot) { color: var(--muted); }
.callout { text-align: center; }
.callout__phone { margin: 0; }
.callout .hero__cta { margin-top: 1rem; }
.intro { text-align: center; }
.intro .lead { max-width: 60ch; margin: 0 auto; }

/* Tre anime */
.souls { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.soul { text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; display: flex; flex-direction: column; }
.soul:hover { transform: translateY(-4px); border-color: rgba(246, 196, 69, .5); color: var(--text); }
.soul ul { list-style: none; padding: 0; margin: 0 0 1rem; font: 400 .95rem/1.9 var(--font-title); text-transform: uppercase; text-align: center; }
.soul__from { margin-top: auto; text-align: center; color: var(--yellow); font: 600 1rem var(--font-ui); }

/* Piatti */
.dish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.dish-list--cols { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem 2rem; margin-bottom: 1.5rem; }
.dish__head { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.dish__name { margin: 0; font: 400 1.15rem/1.3 var(--font-title); text-transform: uppercase; letter-spacing: .02em; }
.dish__price { font: 400 1.15rem var(--font-title); color: var(--yellow); white-space: nowrap; }
.dish__head .dish__price { margin-left: auto; }
.menu-cat--pizza .dish__head .dish__price { margin-left: 0; }
.menu-cat--pizza .dish__price::before { content: "– "; color: var(--text); }
.dish__qty { font: 600 .85rem var(--font-ui); color: var(--muted); margin-left: auto; }
.dish__qty + .dish__price { margin-left: .5rem; }
.dish__desc { margin: .1rem 0 0; color: var(--muted); }
.dish__photo { margin-top: .6rem; border-radius: 10px; max-width: 320px; }
.dish.is-out { opacity: .55; }
.dish.is-out .dish__price { color: var(--red); }
.dish-list--compact { gap: .35rem; }
.dish-list--compact .dish__name { font: 600 1.05rem var(--font-ui); text-transform: none; letter-spacing: 0; }
.dish-list--compact .dish__price { font: 600 1.05rem var(--font-ui); color: var(--text); }
.tag { display: inline-flex; vertical-align: middle; margin-left: .25rem; }
.tag--spicy { color: var(--red); }
.tag--veg { color: #3ddc6b; }
.menu-cat { margin-bottom: 1.5rem; }
.menu-cat__body.has-photos { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .menu-cat__body.has-photos { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.cat-nav { position: sticky; top: 68px; z-index: 10; margin: 0 -16px 1.25rem; padding: .6rem 16px; background: rgba(8, 8, 24, .85); backdrop-filter: blur(6px); overflow-x: auto; }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; white-space: nowrap; }
.cat-nav a { display: block; padding: .35rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: var(--text); text-decoration: none; font: 600 .9rem var(--font-ui); }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--yellow); color: #000; border-color: var(--yellow); }
.extras { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; font: 600 .95rem var(--font-ui); margin-bottom: 1.5rem; padding: .9rem 1.2rem; }
.extras strong { color: var(--yellow); }
.tax-note { font-family: var(--font-ui); color: var(--muted); }

/* Galleria */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--panel); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 1.5rem .7rem .5rem; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font: 600 .9rem var(--font-ui); display: flex; justify-content: space-between; gap: .5rem; }
.gallery figcaption span { color: var(--yellow); white-space: nowrap; }

/* Orari */
.hours { margin: 0; font-family: var(--font-space); text-transform: uppercase; font-size: .95rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.hours dt { color: var(--orange); font-weight: 500; }
.hours dd { margin: 0; }
.hours .is-today dt, .hours .is-today dd { color: #fff; font-weight: 700; }
.hours .is-today dt::before { content: "▸ "; color: var(--yellow); }
.hours--compact { font-size: .8rem; }
.holiday-badge { margin: 1.25rem 0 0; text-align: center; font-family: var(--font-space); }
.holiday-badge strong { display: block; color: var(--red); font-size: 1.2rem; text-transform: uppercase; }
.holiday-badge span { font-weight: 700; font-size: 1.1rem; }
.holiday-note { font: 600 .85rem var(--font-ui); color: var(--red); }
.special-days { padding-left: 1.1rem; font-family: var(--font-ui); font-size: .95rem; }

/* Recensioni */
.stars { --s: 1.1rem; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); vertical-align: -.15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23555a78' d='m12 2 3 6.6 7.2.7-5.4 4.8 1.6 7.1L12 17.5l-6.4 3.7 1.6-7.1L1.8 9.3 9 8.6z'/%3E%3C/svg%3E") left / var(--s) repeat-x; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f6c445' d='m12 2 3 6.6 7.2.7-5.4 4.8 1.6 7.1L12 17.5l-6.4 3.7 1.6-7.1L1.8 9.3 9 8.6z'/%3E%3C/svg%3E") left / var(--s) repeat-x; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-family: var(--font-ui); }
.rating-summary--big { justify-content: center; font-size: 1.25rem; }
.rating-summary--big .stars { --s: 1.6rem; }
.rating-summary span { color: var(--muted); }
.review-mini { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--yellow); }
.review-mini p { margin: .3rem 0; font-style: italic; }
.review-mini footer { font: 600 .9rem var(--font-ui); color: var(--muted); }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.review__head { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.review__title { margin: 0; font: 600 1.1rem var(--font-ui); }
.platform-ratings { list-style: none; margin: .75rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font: 600 1rem var(--font-ui); }
.page-head .platform-ratings { justify-content: center; }
.platform-ratings .ico { color: var(--yellow); }
.review-google { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 1rem; }
.review__source { color: var(--yellow); font-weight: 600; }
.review__body { margin: .6rem 0; }
.review__meta { margin: 0; font: 400 .9rem var(--font-ui); color: var(--muted); }
.review__reply { margin-top: .8rem; padding: .7rem 1rem; border-radius: 10px; background: rgba(246, 196, 69, .08); border-left: 3px solid var(--yellow); }
.review__reply strong { font: 600 .9rem var(--font-ui); color: var(--yellow); }
.review__reply p { margin: .3rem 0 0; }

/* Moduli */
.form label { display: block; font: 600 .95rem var(--font-ui); margin: .9rem 0 .3rem; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: .7rem .9rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .35); color: var(--text); font: 400 1rem var(--font-ui);
}
.form input:focus, .form textarea:focus { border-color: var(--yellow); outline: none; }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: .3rem; }
.form button { margin-top: 1.2rem; width: 100%; }
.star-input { border: 0; padding: 0; margin: 0; }
.star-input legend { font: 600 .95rem var(--font-ui); padding: 0; }
.star-input__row { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { margin: 0; cursor: pointer; color: #555a78; }
.star-input label .ico { width: 2.2rem; height: 2.2rem; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--yellow); }
.star-input input:focus-visible + label { outline: 3px solid var(--yellow); border-radius: 4px; }
.notice { padding: .8rem 1rem; border-radius: 10px; font: 400 .95rem var(--font-ui); }
.notice ul { margin: 0; padding-left: 1.1rem; }
.notice--ok { background: rgba(61, 220, 107, .15); border: 1px solid rgba(61, 220, 107, .5); }
.notice--err { background: rgba(232, 50, 47, .15); border: 1px solid rgba(232, 50, 47, .6); }

/* FAQ */
.faq { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.faq__item { padding: 0; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font: 700 1.6rem var(--font-ui); color: var(--yellow); }
.faq__item[open] summary::after { content: "–"; }
.faq__q { display: inline; margin: 0; font: 600 1.08rem/1.4 var(--font-ui); }
.faq__a { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* Contatti */
.contact-list { margin: 1rem 0 0; font-family: var(--font-ui); }
.contact-list div { margin-bottom: .6rem; }
.contact-list dt { color: var(--yellow); font-weight: 600; }
.contact-list dd { margin: 0; }
.map { margin-top: 1.5rem; text-align: center; min-height: 140px; display: grid; place-items: center; gap: .5rem; }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: 10px; }
.small { font: 400 .85rem var(--font-ui); color: var(--muted); }
.prose p { margin: 0 0 1rem; }

/* Piè di pagina */
.site-footer { margin-top: 3rem; background: rgba(6, 6, 18, .92); border-top: 1px solid var(--panel-line); padding: 2.5rem 0 1rem; font-family: var(--font-ui); font-size: .95rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.site-footer__logo { width: 210px; margin-bottom: .8rem; }
.site-footer__phone a { color: var(--red); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.h-footer { font-size: 1rem; color: var(--yellow); margin: 0 0 .8rem; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0 0 1rem; padding: 0; }
.footer-links a { color: var(--text); text-decoration: none; line-height: 2; }
.footer-links a:hover { color: var(--yellow); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--panel-line); color: var(--muted); font-size: .85rem; }
.site-footer__bottom a { color: var(--muted); }

.fab-call { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.fab-call .ico { width: 1.6rem; height: 1.6rem; }
@media (max-width: 700px) { .fab-call { display: grid; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .fab-call, .cat-nav, .btn { display: none !important; }
  .panel { background: none; border: 0; }
  .dish__desc, .dish__price { color: #000; }
}
