/* =========================================================================
   Tema GROTESK — stile tipografico svizzero: griglia, filetti, nome enorme,
   numeri giganti, un solo colore di segnale.
   Font: Alte Haas Grotesk (titoli e testo), Share Tech Mono (etichette).
   ========================================================================= */

.t-grotesk {
  --wrap: 1360px;
  --gx: clamp(14px, 1.6vw, 24px);
  --rule: color-mix(in oklab, var(--ink) 88%, transparent);
  --hair: color-mix(in oklab, var(--ink) 22%, transparent);
  font-size: clamp(1rem, .95rem + .2vw, 1.1rem);
  line-height: 1.5;
  letter-spacing: -.005em;
}
.gk-wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* etichette monospazio */
.gk-meta, .gk-label, .gk-bar small, .gk-nums dt, .gk-fig, .gk-photo figcaption, .gk-td-n, .gk-tile span, .gk-dist, .gk-foot small, .gk-call-k, .gk-hcell b {
  font-family: var(--f-l); font-weight: 400; letter-spacing: .02em; text-transform: uppercase;
}

/* ---------- barra informazioni (griglia con filetti) ---------- */
.gk-bar {
  position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.5fr auto; align-items: stretch;
  background: var(--bg); border-bottom: 1px solid var(--rule); transition: transform .5s var(--ease-out);
}
.gk-bar.hide { transform: translateY(-100%); }
.gk-cell { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 18px; border-right: 1px solid var(--hair); text-decoration: none; min-width: 0; font-size: .92rem; line-height: 1.25; }
.gk-cell > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gk-bar small { font-size: .68rem; color: var(--muted); }
.gk-brand { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; font-weight: 700; }
.gk-mark { display: grid; place-items: center; flex: none; width: 36px; height: 36px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .9rem; letter-spacing: -.02em; }
.gk-brand-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gk-links { flex-direction: row; align-items: center; justify-content: flex-start; gap: 22px; }
.gk-links a { text-decoration: none; position: relative; }
.gk-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }
.gk-links a:hover::after { transform: scaleX(1); }
.gk-cta { flex-direction: row; align-items: center; gap: 12px; padding-inline: 24px; border-right: 0; background: var(--ink); color: var(--bg); font-weight: 700; transition: background .3s, color .3s; }
.gk-cta:hover { background: var(--accent); color: var(--on-accent); }
.gk-cta .ico { transition: transform .4s var(--ease-out); }
.gk-cta:hover .ico { transform: translateX(4px); }
@media (max-width: 1100px) { .gk-bar { grid-template-columns: 1.4fr 1fr 1.2fr auto; } .gk-links { display: none; } }
@media (max-width: 760px) { .gk-bar { grid-template-columns: 1fr auto; } .gk-c-info { display: none; } .gk-cell { padding: 8px 14px; min-height: 56px; } .gk-cta span { max-width: 9.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ---------- hero ---------- */
.gk-hero { padding: clamp(28px, 4vw, 56px) 0 0; }
.gk-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gx); padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: .76rem; color: var(--muted); }
.gk-meta span:nth-child(n+3) { text-align: right; }
.gk-name {
  margin: clamp(10px, 2vw, 24px) 0 clamp(18px, 3vw, 40px); font: 700 22vw/.8 var(--f-d); letter-spacing: -.055em; white-space: nowrap;
  text-transform: none; color: var(--ink); margin-left: -.04em;
}
.gk-name .w, .gk-h2 .w { white-space: nowrap; }
.gk-name .w { padding-bottom: .22em; margin-bottom: -.22em; }
.name-l .gk-name, .name-xl .gk-name { white-space: normal; font-size: clamp(3rem, 1rem + 7vw, 9rem); line-height: .86; text-wrap: balance; }
.name-xl .gk-name { font-size: clamp(2.6rem, 1rem + 5vw, 6.6rem); }
.gk-hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gx); align-items: end; border-top: 1px solid var(--rule); padding-top: var(--gx); }
.gk-hero-copy { grid-column: 1 / span 4; align-self: stretch; display: flex; flex-direction: column; gap: 26px; padding-bottom: 6px; }
.gk-lead { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; text-wrap: pretty; }
.gk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.gk-hero-copy .status { font-size: .9rem; color: var(--muted); }
.gk-art { grid-column: 5 / span 4; position: relative; aspect-ratio: 1; background: var(--surface); overflow: hidden; }
.gk-art .gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-photo .gk-art { grid-column: 5 / span 8; aspect-ratio: 2 / 1; }
.gk-fig { position: absolute; left: 10px; bottom: 8px; font-size: .7rem; color: var(--ink); }
.gk-photo { grid-column: 9 / span 4; margin: 0; position: relative; }
.gk-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.12); transition: filter .8s var(--ease); }
.gk-photo:hover img { filter: none; }
.gk-photo figcaption { margin-top: 8px; font-size: .7rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gk-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gx); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--rule); }
.gk-nums div { padding-top: 12px; border-right: 1px solid var(--hair); }
.gk-nums div:last-child { border-right: 0; }
.gk-nums dt { font-size: .74rem; color: var(--muted); }
.gk-nums dd { margin: 0; font: 700 clamp(4rem, 2rem + 8vw, 11rem)/.86 var(--f-d); letter-spacing: -.06em; }
.gk-nums dd small { font-size: .28em; letter-spacing: -.02em; color: var(--accent); margin-left: .1em; }
.gk-nums div:first-child dd { color: var(--accent); }
.gk-nums .gk-dd-word { font-size: clamp(2.4rem, 1.4rem + 3vw, 5rem); letter-spacing: -.04em; overflow-wrap: anywhere; }

/* ---------- pulsanti ---------- */
.gk-btn {
  display: inline-flex; align-items: center; gap: .7em; min-height: 54px; padding: 0 24px; background: var(--accent); color: var(--on-accent);
  font: 700 1rem/1 var(--f-t); letter-spacing: -.01em; text-decoration: none; transition: background .3s, color .3s, box-shadow .3s;
}
.gk-btn:hover { background: var(--ink); color: var(--bg); }
.gk-btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.gk-btn-line:hover { background: var(--ink); color: var(--bg); }

/* ---------- righe di sezione: etichetta a sinistra, contenuto su 9 colonne ---------- */
.gk-sec { padding-block: clamp(72px, 10vw, 140px); }
.gk-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gx); border-top: 1px solid var(--rule); padding-top: var(--gx); }
.gk-label { grid-column: 1 / span 3; font-size: .78rem; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.gk-label b { font-weight: 400; color: var(--accent); }
.gk-row-body { grid-column: 4 / -1; min-width: 0; }
.gk-h2 { font: 700 clamp(2.6rem, 1.2rem + 5vw, 6.4rem)/.9 var(--f-d); letter-spacing: -.05em; margin-bottom: clamp(32px, 5vw, 64px); text-wrap: balance; }

.gk-statement { font: 700 clamp(1.7rem, 1rem + 2.4vw, 3.4rem)/1.08 var(--f-d); letter-spacing: -.035em; text-wrap: pretty; }
.gk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.gk-tags li { padding: 8px 12px; box-shadow: inset 0 0 0 1px var(--ink); font: 400 .8rem/1 var(--f-l); text-transform: uppercase; }

/* servizi come tabella */
.gk-table { border-top: 2px solid var(--ink); }
.gk-tr {
  position: relative; display: grid; grid-template-columns: 4.5rem 1.1fr 1.4fr 3rem; gap: var(--gx); align-items: baseline;
  padding: 22px 12px; border-bottom: 1px solid var(--hair); transition: background .35s var(--ease), color .35s var(--ease), padding .45s var(--ease-out);
}
.gk-td-n { font-size: .82rem; color: var(--accent); }
.gk-td-t { font: 700 clamp(1.3rem, 1rem + 1vw, 2rem)/1.05 var(--f-d); letter-spacing: -.03em; }
.gk-td-d { color: var(--muted); }
.gk-td-a { justify-self: end; }
.gk-td-a .ico { width: 1.6em; height: 1.6em; transform: rotate(-45deg); transition: transform .45s var(--ease-out); }
.gk-tr:hover { background: var(--accent); color: var(--on-accent); padding-inline: 24px; }
.gk-tr:hover :is(.gk-td-n, .gk-td-d) { color: inherit; }
.gk-tr:hover .gk-td-a .ico { transform: none; }

/* galleria a griglia rigida */
.gk-grid-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gx); }
.gk-tile { position: relative; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.gk-tile:first-child { grid-column: span 2; grid-row: span 2; }
.gk-tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .6s, transform 1s var(--ease-out); }
.gk-tile:hover img { filter: none; transform: scale(1.04); }
.js .gk-grid-photos .gk-tile { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out) calc(var(--i, 0) * 90ms); }
.js .gk-grid-photos.in .gk-tile { clip-path: inset(0); }
.gk-tile span { position: absolute; left: 0; top: 0; padding: 6px 8px; background: var(--bg); color: var(--ink); font-size: .7rem; }

/* recensioni */
.gk-rating { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.gk-rating-big { font: 700 clamp(7rem, 4rem + 12vw, 17rem)/.78 var(--f-d); letter-spacing: -.07em; color: var(--accent); }
.gk-rating-side { display: grid; gap: 14px; max-width: 520px; padding-bottom: 10px; }
.gk-rating-side .stars { font-size: 1.4rem; --star: var(--ink); }
.gk-dist { display: grid; gap: 6px; font-size: .74rem; }
.gk-dist li { display: grid; grid-template-columns: 1.2em 1fr 3.2em; gap: 10px; align-items: center; }
.gk-dist i { height: 10px; background: linear-gradient(90deg, var(--ink) var(--w), var(--hair) var(--w)); }
.gk-dist b { font-weight: 400; text-align: right; color: var(--muted); }
.gk-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); justify-self: start; padding-bottom: 2px; }
.gk-marq { margin-top: clamp(48px, 7vw, 96px); border-block: 1px solid var(--rule); overflow: hidden; }
.gk-marq-track { display: flex; width: max-content; animation: gkMarq 70s linear infinite; }
.gk-marq:hover .gk-marq-track { animation-play-state: paused; }
.gk-dup { display: flex; }
.gk-quote { width: clamp(300px, 34vw, 520px); flex: none; padding: 32px clamp(20px, 2.4vw, 36px); border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 18px; }
.gk-quote blockquote { font: 700 clamp(1.15rem, 1rem + .5vw, 1.45rem)/1.25 var(--f-d); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gk-quote blockquote::before { content: "“"; color: var(--accent); }
.gk-quote figcaption { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 400 .78rem/1.2 var(--f-l); text-transform: uppercase; color: var(--muted); }
.gk-quote .stars { font-size: .9rem; --star: var(--accent); }
.gk-marq.is-static .gk-marq-track { animation: none; width: auto; }
@keyframes gkMarq { to { transform: translateX(-50%); } }

/* valori */
.gk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gx); }
.gk-col { border-left: 1px solid var(--hair); padding: 0 0 0 var(--gx); }
.gk-col-n { display: block; font: 700 clamp(4rem, 3rem + 4vw, 7.5rem)/.85 var(--f-d); letter-spacing: -.06em; color: var(--accent); margin-bottom: 26px; }
.gk-col h3 { font: 700 1.35rem/1.15 var(--f-d); letter-spacing: -.025em; margin-bottom: 10px; }
.gk-col p { color: var(--muted); }

/* invito all'azione a tutta larghezza */
.gk-call { background: var(--accent); color: var(--on-accent); padding-block: clamp(56px, 8vw, 110px); }
.gk-call ::selection { background: var(--ink); color: var(--bg); }
.gk-call-k { font-size: .82rem; padding-bottom: 14px; border-bottom: 1px solid currentColor; }
.gk-call-big { display: block; margin: clamp(16px, 3vw, 36px) 0; text-decoration: none; }
.gk-call-big span { display: inline-block; font: 700 18vw/.82 var(--f-d); letter-spacing: -.06em; white-space: nowrap; transition: transform .6s var(--ease-out); }
.gk-call-big:hover span { transform: translateX(.04em); }
.gk-call-row { display: flex; flex-wrap: wrap; gap: 10px; }
.gk-btn-inv { background: var(--on-accent); color: var(--accent); }
.gk-btn-inv:hover { background: var(--ink); color: var(--bg); }
.gk-btn-inv-line { background: transparent; color: var(--on-accent); box-shadow: inset 0 0 0 2px var(--on-accent); }
.gk-btn-inv-line:hover { background: var(--on-accent); color: var(--accent); }

/* orari come tabella a griglia */
.gk-hours { border-top: 2px solid var(--ink); margin-bottom: 18px; }
.gk-hrow { display: grid; grid-template-columns: repeat(7, 1fr); }
.gk-hcell { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 18px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-weight: 700; font-size: .98rem; letter-spacing: -.01em; }
.gk-hcell:last-child { border-right: 0; }
.gk-hcell b { font-size: .74rem; color: var(--muted); margin-bottom: 6px; }
.gk-hcell.closed span { color: var(--muted); font-weight: 400; }
.gk-hcell.today { background: var(--accent); color: var(--on-accent); }
.gk-hcell.today b, .gk-hcell.today.closed span { color: inherit; }
.gk-visit .status { font-size: .9rem; color: var(--muted); }
.gk-visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gx); margin-top: clamp(36px, 5vw, 60px); }
.gk-visit .contacts { border-top: 2px solid var(--ink); }
.gk-visit .ct { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-weight: 700; }
.gk-visit .ct span { display: grid; }
.gk-visit .ct small { font: 400 .7rem/1.4 var(--f-l); text-transform: uppercase; color: var(--muted); }
.gk-visit .ct .ico { color: var(--accent); width: 1.4em; height: 1.4em; }
.gk-visit a.ct[href]:hover { color: var(--accent); }
.gk-map { min-height: 340px; background: var(--surface); }
.gk-map iframe { filter: grayscale(1) contrast(1.1); }
.is-dark .gk-map iframe { filter: invert(.9) grayscale(1); }

/* domande */
.gk-faq .qa { border-bottom: 1px solid var(--hair); }
.gk-faq .qa:first-child { border-top: 2px solid var(--ink); }
.gk-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 clamp(1.15rem, 1rem + .6vw, 1.6rem)/1.2 var(--f-d); letter-spacing: -.025em; }
.gk-faq .qa-ico { position: relative; width: 22px; height: 22px; flex: none; }
.gk-faq .qa-ico::before, .gk-faq .qa-ico::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: var(--accent); transition: transform .4s var(--ease-out); }
.gk-faq .qa-ico::after { transform: rotate(90deg); }
.gk-faq .qa[open] .qa-ico::after { transform: rotate(0); }
.gk-faq .qa-a p { padding: 0 0 26px; max-width: 64ch; color: var(--muted); }

/* piè di pagina */
.gk-foot { background: var(--ink); color: var(--bg); padding: clamp(48px, 6vw, 80px) 0 calc(24px + env(safe-area-inset-bottom)); overflow: hidden; }
.gk-foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gx); border-top: 1px solid color-mix(in oklab, var(--bg) 40%, transparent); padding-top: 14px; font-size: .92rem; }
.gk-foot-grid p { display: flex; flex-direction: column; gap: 4px; }
.gk-foot small { font-size: .7rem; color: color-mix(in oklab, var(--bg) 60%, transparent); margin-bottom: 6px; }
.gk-foot a { text-decoration: none; }
.gk-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gk-foot-name { margin-top: clamp(40px, 7vw, 90px); }
.gk-foot-name span { display: inline-block; font: 700 16vw/.8 var(--f-d); letter-spacing: -.06em; white-space: nowrap; color: var(--accent); }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .gk-hero-copy { grid-column: 1 / -1; order: 3; }
  .gk-art { grid-column: 1 / span 6; }
  .gk-photo { grid-column: 7 / span 6; }
  .no-photo .gk-art { grid-column: 1 / -1; }
  .gk-label { grid-column: 1 / -1; }
  .gk-row-body { grid-column: 1 / -1; }
  .gk-tr { grid-template-columns: 2.6rem 1fr 2rem; }
  .gk-td-d { grid-column: 2 / 3; }
  .gk-td-a { grid-row: 1; grid-column: 3; }
  .gk-cols { grid-template-columns: 1fr; gap: 34px; }
  .gk-col-n { margin-bottom: 12px; }
  .gk-hrow { grid-template-columns: 1fr; }
  .gk-hcell { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; border-right: 0; padding: 12px; }
  .gk-hcell b { width: 3.2em; margin: 0; }
  .gk-visit-grid { grid-template-columns: 1fr; }
  .gk-rating { grid-template-columns: 1fr; }
  .gk-foot-grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .gk-meta { grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .gk-meta span:nth-child(3) { text-align: left; }
  .gk-nums { grid-template-columns: repeat(2, 1fr); }
  .gk-nums div:nth-child(3) { display: none; }
  .gk-grid-photos { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .gk-marq-track { animation: none; } .gk-marq { overflow-x: auto; } }
