/* GINNY Vaticano · breakfast.ginnyroma.it · mobile first (390 px) */
:root{
  --green:#173a31; --green-2:#21483e; --velvet:#2d5a50;
  --walnut:#5b3a26; --walnut-2:#7a4f33;
  --cream:#f5eee1; --paper:#efe6d4; --ink:#1d1a17; --muted:#5f574c;
  --ochre:#c9973a; --coral:#c8603d;
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"Jost",system-ui,-apple-system,"Segoe UI",sans-serif;
  --r:4px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;overflow-x:clip;background:var(--cream);color:var(--ink);font:400 16px/1.5 var(--sans)}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{overflow-wrap:break-word;font-family:var(--serif);font-weight:600;line-height:1.08;margin:0 0 .5em;letter-spacing:-.005em}
h2{font-size:2rem}
h3{font-size:1.35rem}
p{margin:0 0 .8em}
figure{margin:0}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;z-index:20;background:#fff;padding:8px}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}

/* header */
.top{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;
  height:52px;padding:0 14px 0 16px;background:var(--green);color:var(--cream)}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none}
.brand img{height:28px;width:auto}
.brand span{font:500 1.55rem/.9 var(--serif);letter-spacing:.01em}
.brand small{display:block;font:500 .58rem/1 var(--sans);letter-spacing:.24em;text-transform:uppercase;opacity:.75;margin-top:8px}
.langs{display:flex;gap:2px}
.langs a{font:500 .74rem/1 var(--sans);letter-spacing:.06em;text-decoration:none;padding:9px 6px;border-radius:var(--r);opacity:.72}
.langs a[aria-current]{opacity:1;box-shadow:inset 0 -2px 0 var(--ochre)}
.langs a:hover{opacity:1}

/* hero: tutto nella prima schermata a 390 px */
.hero{background:var(--green);color:var(--cream)}
/* foto vera 4:5: a 390 px si vede la pila di pancakes con banana e mirtilli */
.hero-img img{width:100%;height:clamp(200px,30vh,250px);object-fit:cover;object-position:50% 60%}
.hero-txt{padding:16px 20px 22px}
.hero h1{font-size:1.95rem;margin-bottom:.3em}
.lead{font-size:.98rem;line-height:1.42;color:#e7dccb;margin-bottom:.55em}
.hours{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:500;margin-bottom:.4em}
.hours svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--ochre);stroke-width:1.6;stroke-linecap:round}
.dist{list-style:none;margin:0 0 16px;padding:0 0 0 24px;font-size:.95rem;font-weight:500;position:relative}
.dist::before{content:"";position:absolute;left:3px;top:5px;width:10px;height:10px;border:2px solid var(--ochre);border-radius:50% 50% 50% 0;transform:rotate(-45deg)}
.dist li{display:inline}
.dist li+li::before{content:" · ";color:var(--ochre)}
.ctas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.btn{display:flex;align-items:center;justify-content:center;text-align:center;min-height:50px;padding:10px 14px;
  border-radius:var(--r);font:500 1rem/1.15 var(--sans);letter-spacing:.02em;text-decoration:none;transition:filter .15s}
.btn:hover{filter:brightness(1.08)}
.btn:focus-visible,.langs a:focus-visible,summary:focus-visible,.ig a:focus-visible{outline:2px solid var(--ochre);outline-offset:2px}
.btn-main{background:var(--ochre);color:#1d1a17}
.btn-alt{background:transparent;color:var(--cream);box-shadow:inset 0 0 0 1.5px var(--cream)}
.payoff{font:italic 500 1.15rem/1.3 var(--serif);margin:14px 0 0;opacity:.85}

/* regalo: biglietto da mostrare in cassa */
.gift{padding:28px 16px;background:var(--walnut) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23f5eee1' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M10 70 C10 45 25 30 40 22 C38 40 30 58 10 70Z M10 70 L36 28'/%3E%3Cpath d='M70 50 C58 44 52 30 54 12 C66 20 72 34 70 50Z M70 50 L56 16'/%3E%3C/g%3E%3C/svg%3E")}
.ticket{position:relative;max-width:560px;margin:0 auto;background:var(--cream);color:var(--ink);text-align:center;
  padding:26px 22px 22px;border-radius:6px;outline:1.5px dashed var(--walnut-2);outline-offset:-9px;
  box-shadow:0 10px 30px rgba(0,0,0,.25)}
.ticket::before,.ticket::after{content:"";position:absolute;top:50%;width:22px;height:22px;margin-top:-11px;border-radius:50%;background:var(--walnut)}
.ticket::before{left:-11px}.ticket::after{right:-11px}
.ticket-mark{font:600 2.4rem/1 var(--serif);color:var(--velvet);margin:0 0 4px}
.ticket h2{font-size:1.75rem;margin-bottom:.25em}
.gift-p{font:italic 600 1.6rem/1.2 var(--serif);color:var(--coral);margin-bottom:.5em}
.gift-note{font-size:.88rem;color:var(--muted);margin:0}

/* strada */
.street{padding:44px 0 40px}
.route-list{list-style:none;margin:0 0 14px;padding:0}
.route-list li{padding:10px 0 10px 22px;border-bottom:1px solid #ddd0b8;position:relative}
.route-list li::before{content:"";position:absolute;left:2px;top:18px;width:8px;height:8px;border-radius:50%;background:var(--ochre)}
.addr{font:500 1.2rem/1.3 var(--serif);margin:14px 0 16px}
.street .btn{display:inline-flex;min-width:220px}
.map{width:100%;height:auto;margin-top:26px;border-radius:6px;font-family:var(--sans)}
.map .route{fill:none;stroke:var(--green);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.map .route-dash{stroke:var(--walnut-2);stroke-width:2.5;stroke-dasharray:2 6}
.map .dot{fill:var(--cream);stroke:var(--green);stroke-width:3}
.map .dot-s{stroke-width:2}
.map .pin{fill:var(--coral)}
.map .pin-t{fill:#fff;font:600 15px var(--serif)}
.map .m-l{font-size:13px;font-weight:500;fill:var(--ink)}
.map .m-s{font-size:10.5px;fill:var(--muted)}
.map .m-k{font-size:12px;font-weight:500;fill:var(--coral)}
.dehors{margin-top:26px}.dehors img{border-radius:6px;aspect-ratio:3/2;object-fit:cover;width:100%}
.map-note{font-size:.75rem;color:var(--muted);margin-top:6px}

/* menu */
.menu{padding:44px 0;background:var(--green);color:var(--cream)}
.carte{list-style:none;margin:0;padding:0}
.carte li{display:flex;align-items:baseline;gap:8px;padding:9px 0;border-bottom:1px solid rgba(245,238,225,.14)}
.carte .it{flex:1}
.carte .pr{font:600 1.15rem/1 var(--serif);color:var(--ochre);white-space:nowrap}
.carte-s li{padding:7px 0;font-size:.95rem}
.menu .ph{margin:28px 0 22px}
.menu .ph img{border-radius:6px;aspect-ratio:3/2;object-fit:cover;width:100%}
.menu h3{color:var(--ochre)}
.menu .table{margin:30px 0 26px}
[hidden]{display:none!important}
/* foto piatti con nome e prezzo: una grande e sei in due colonne (GIN-27) */
.dishes{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px;margin:24px 0 0}
.dishes figure:first-child{grid-column:1/-1}
.dishes img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:6px}
.dishes figcaption{display:flex;flex-direction:column;gap:2px;margin-top:8px;font-size:.88rem;line-height:1.3;color:#e7dccb}
.dishes figure:first-child figcaption{flex-direction:row;align-items:baseline;justify-content:space-between;gap:12px;font-size:.95rem}
.dp{font:600 1.15rem/1.1 var(--serif);color:var(--ochre);white-space:nowrap}
/* menu completo: chiuso di default, si apre col tasto (details nativo, nessuna libreria) */
.full{margin-top:28px}
.btn-full{list-style:none;cursor:pointer;gap:10px;color:var(--cream);box-shadow:inset 0 0 0 1.5px var(--ochre)}
.btn-full::-webkit-details-marker{display:none}
.btn-full::after{content:"+";font:400 1.35rem/1 var(--sans);color:var(--ochre)}
.full[open] .btn-full::after{content:"2"}
.full-body{padding-top:14px}
.carte .pr::before{content:"€";margin-right:.25em;font:400 .8rem var(--sans);opacity:.7}
.tel{white-space:nowrap}

/* sala: il pezzo forte (GIN-27). Telefono: schede 4:5 quasi a tutta larghezza che scorrono */
.room{padding:44px 0 36px}
.room-txt{color:var(--muted);max-width:620px}
.gallery{display:grid;grid-auto-flow:column;grid-auto-columns:86%;gap:10px;margin-top:22px;padding:0 20px;
  overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;scrollbar-width:none;overscroll-behavior-x:contain}
.gallery::-webkit-scrollbar{display:none}
.gallery figure{scroll-snap-align:start;overflow:hidden;border-radius:6px;background:var(--paper)}
.gallery img{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover}
.ig{margin:16px auto 0}
.ig a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:500 .95rem/1 var(--sans);letter-spacing:.03em;color:var(--walnut);text-decoration:none}
.ig svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.ig a:hover{text-decoration:underline}

/* domande */
.faq{padding:40px 0;background:var(--paper)}
.faq details{border-bottom:1px solid #d6c8ad}
.faq summary{cursor:pointer;list-style:none;padding:16px 30px 16px 0;position:relative;font:600 1.22rem/1.25 var(--serif)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:12px;font:400 1.5rem var(--sans);color:var(--walnut-2)}
.faq details[open] summary::after{content:"\2212"}
.faq details p{color:var(--muted);margin:0 0 16px}

/* chiusura */
.close{padding:44px 0 40px;background:var(--green);color:var(--cream);text-align:center}
.close-name{font:600 1.5rem/1.2 var(--serif);margin-bottom:.6em}
.close p{margin-bottom:.4em}
.close .ctas{max-width:460px;margin:22px auto 0}
.foot{background:#10291f;color:#cfc4b0;text-align:center;padding:18px 16px 90px;font-size:.85rem}
.foot a{text-decoration:none}

/* barra fissa quando i bottoni del hero escono dallo schermo */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:9;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(23,58,49,.97);
  transform:translateY(110%);visibility:hidden;transition:transform .25s,visibility .25s}
.bar.on{transform:none;visibility:visible}
.bar .btn{min-height:46px;font-size:.95rem}

/* ===== computer: contenuto max 1200 px, stessi margini, ritmo verticale regolare ===== */
@media (min-width:900px){
  :root{--gut:40px;--side:max(var(--gut),calc((100% - 1200px)/2 + var(--gut)));--sec:96px;--brass:rgba(201,151,58,.55);
    --paper-bg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23173a31' stroke-opacity='.06' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M30 160 C30 120 48 92 70 78 M70 78 C62 98 50 112 34 120 M52 104 C40 98 34 86 34 72 C46 78 52 90 52 104Z M62 88 C72 80 86 78 98 82 C88 92 74 94 62 88Z'/%3E%3Cpath d='M120 70 C122 46 136 28 156 20 M156 20 C150 40 138 54 122 60 M138 40 C128 34 124 22 126 10 C136 18 140 28 138 40Z'/%3E%3Ccircle cx='140' cy='120' r='5'/%3E%3Ccircle cx='150' cy='126' r='4'/%3E%3Ccircle cx='132' cy='128' r='4'/%3E%3Ccircle cx='142' cy='134' r='3.5'/%3E%3Cpath d='M141 138 C140 152 132 162 120 170'/%3E%3Ccircle cx='24' cy='30' r='3'/%3E%3Ccircle cx='31' cy='24' r='2.5'/%3E%3Ccircle cx='18' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
    --green-bg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23f5eee1' stroke-opacity='.055' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M30 160 C30 120 48 92 70 78 M70 78 C62 98 50 112 34 120 M52 104 C40 98 34 86 34 72 C46 78 52 90 52 104Z M62 88 C72 80 86 78 98 82 C88 92 74 94 62 88Z'/%3E%3Cpath d='M120 70 C122 46 136 28 156 20 M156 20 C150 40 138 54 122 60 M138 40 C128 34 124 22 126 10 C136 18 140 28 138 40Z'/%3E%3Ccircle cx='140' cy='120' r='5'/%3E%3Ccircle cx='150' cy='126' r='4'/%3E%3Ccircle cx='132' cy='128' r='4'/%3E%3Ccircle cx='142' cy='134' r='3.5'/%3E%3Cpath d='M141 138 C140 152 132 162 120 170'/%3E%3Ccircle cx='24' cy='30' r='3'/%3E%3Ccircle cx='31' cy='24' r='2.5'/%3E%3Ccircle cx='18' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E")}
  .wrap{max-width:1200px;padding:0 var(--gut)}
  h2{font-size:3rem;font-weight:500;line-height:1.05;margin-bottom:.55em}
  h2::after{content:"";display:block;width:56px;height:1px;background:var(--ochre);margin-top:22px}

  /* intestazione allineata al contenuto */
  .top{height:64px;padding:0 var(--side);border-bottom:1px solid var(--brass)}
  .brand img{height:34px}
  .brand span{font-size:1.8rem}
  .langs a{font-size:.8rem;padding:10px 8px}

  /* hero 900-1023 px: due colonne con la foto 4:5 */
  .hero{display:grid;grid-template-columns:1fr 1fr;min-height:560px}
  .hero-img,.hero-img picture{display:block;height:100%}
  .hero-img img{height:100%;max-height:none;object-position:50% 60%}
  .hero-txt{align-self:center;padding:48px 40px}
  .hero h1{font-size:3rem;font-weight:500;line-height:1.04}
  .lead{font-size:1.1rem;margin-bottom:1em}
  .dist{margin-bottom:28px}
  .payoff{margin-top:22px}

  /* biglietto del caffe: fascia bassa, biglietto largo e orizzontale */
  .gift{padding:36px var(--side)}
  .ticket{max-width:1120px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:40px;
    text-align:left;padding:30px 56px}
  .ticket-mark{grid-row:1/3;font-size:3.6rem;padding-right:40px;border-right:1px solid var(--brass);align-self:stretch;display:flex;align-items:center}
  .ticket h2{font-size:2.1rem;margin:0}
  .ticket h2::after{display:none}
  .gift-p{grid-column:2;font-size:1.75rem;margin:4px 0 0}
  .gift-note{grid-column:3;grid-row:1/3;max-width:230px;font-size:.95rem;padding-left:40px;border-left:1px solid var(--brass)}

  /* la strada: due colonne bilanciate, mappa grande */
  .street{padding:var(--sec) 0}
  .two{display:grid;grid-template-columns:5fr 7fr;gap:72px;align-items:center}
  .route-list li{border-color:var(--brass);font-size:1.05rem}
  .addr{font-size:1.35rem;margin:22px 0}
  .map{margin-top:0;box-shadow:0 0 0 1px var(--brass)}
  .dehors{margin:0 0 24px}

  /* menu: 7 foto piatto con prezzo, poi il tasto del menu completo */
  .menu{padding:var(--sec) 0;background:var(--green) var(--green-bg)}
  /* foto vere 3:2: la prima grande (2x2), le altre sei in due file da tre */
  .dishes{grid-template-columns:repeat(5,1fr);gap:28px 16px;margin-top:8px}
  .dishes figure:first-child{grid-column:span 2;grid-row:span 2;display:flex;flex-direction:column}
  .dishes figure:first-child img{flex:1;min-height:0;aspect-ratio:auto}
  .dishes figcaption{font-size:.86rem;margin-top:10px}
  .dishes figure:first-child figcaption{font-size:1rem}
  .full{margin-top:48px;padding-top:40px;border-top:1px solid var(--brass)}
  .btn-full{display:inline-flex;min-width:260px}
  .full-body{padding-top:40px}
  .full-body > .carte{columns:2;column-gap:72px}
  .carte li{break-inside:avoid;padding:12px 0;font-size:1.02rem}
  .side{display:grid;grid-template-columns:5fr 7fr;grid-template-rows:auto 1fr;column-gap:72px;
    margin-top:56px;padding-top:48px;border-top:1px solid var(--brass)}
  .menu .table{grid-column:1;grid-row:1/3;margin:0}
  .side h3{grid-column:2;font-size:2rem;font-weight:500;margin:0 0 .4em}
  .side .carte{grid-column:2;align-self:start}

  /* la sala: galleria ampia (fino a 1440 px), carta da parati e velluti in grande */
  .room{padding:var(--sec) 0 64px}
  .room .wrap{display:grid;grid-template-columns:5fr 7fr;gap:72px;align-items:end}
  .room h2{margin:0}
  .room-txt{font-size:1.08rem;max-width:680px}
  .room-txt p:last-child{margin:0}
  .gallery{max-width:1440px;margin:48px auto 0;padding:0 var(--gut);overflow:visible;grid-auto-flow:row;
    grid-template-columns:1.25fr 1fr 1fr .8fr .8fr;grid-template-rows:repeat(2,clamp(240px,21vw,320px));gap:12px;
    grid-template-areas:"a b b c c" "a e e d f"}
  .gallery figure{border-radius:4px}
  .gallery img{aspect-ratio:auto}
  .g-a{grid-area:a}.g-b{grid-area:b}.g-c{grid-area:c}.g-d{grid-area:d}.g-e{grid-area:e}.g-f{grid-area:f}
  .ig{max-width:1440px;margin-top:20px;padding:0 var(--gut)}

  /* domande: titolo a sinistra, risposte a destra, carta da parati discreta */
  .faq{padding:var(--sec) 0;background:var(--paper) var(--paper-bg)}
  .faq .wrap{display:grid;grid-template-columns:4fr 8fr;gap:72px;align-items:start}
  .faq h2{margin:0}
  .faq details{border-color:var(--brass)}
  .faq-list{border-top:1px solid var(--brass)}
  .faq summary{font-size:1.4rem;padding:20px 40px 20px 0}
  .faq summary::after{top:16px}

  .close{padding:var(--sec) 0}
  .close-name{font-size:2rem;font-weight:500}
  .close .ctas{margin-top:32px}
  .bar{display:none}
  .foot{padding:20px var(--side);border-top:1px solid var(--brass)}
}
@media (min-width:1024px){
  /* hero: foto 16:9 a tutta larghezza, testo sul lato scuro con velatura */
  .hero{display:block;position:relative;height:min(calc(100vh - 64px),760px);min-height:560px;overflow:hidden}
  .hero-img,.hero-img picture{position:absolute;inset:0}
  .hero-img img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:70% 80%}
  .hero::after{content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(90deg,rgba(14,34,28,.94) 0%,rgba(14,34,28,.86) 28%,rgba(14,34,28,.45) 50%,rgba(14,34,28,0) 66%)}
  .hero-txt{position:absolute;z-index:1;top:0;bottom:0;left:var(--side);display:flex;flex-direction:column;justify-content:center;
    width:540px;max-width:none;padding:0;align-self:auto}
  .hero h1{font-size:3.7rem;font-weight:500;line-height:1.02;margin-bottom:.4em;text-shadow:0 1px 18px rgba(0,0,0,.35)}
  .lead{font-size:1.15rem;margin-bottom:1em}
  .hours,.dist{font-size:1rem}
  .dist{margin-bottom:28px}
  .payoff{margin-top:22px}

}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bar{transition:none}}
