/* TappaMia 9.0 — Golden hour design system
   Un solo foglio condiviso da tutte le pagine pubbliche: token, base, header, footer e componenti.
   Gli stili specifici di pagina vivono in gh-<pagina>.css. */

:root{
  --gh-bg:#0F1B1F;
  --gh-bg-deep:#0B1518;
  --gh-surface:#142429;
  --gh-surface-2:#1A2E34;
  --gh-surface-3:#21383F;
  --gh-line:#2C3B40;
  --gh-line-strong:#4A5D62;
  --gh-text:#F4EEE6;
  --gh-text-soft:#D9D3CA;
  --gh-muted:#B6BFBD;
  --gh-faint:#8A9694;
  --gh-amber:#F2A541;
  --gh-amber-soft:rgba(242,165,65,.14);
  --gh-amber-text:#F2D3A6;
  --gh-teal:#4FC1B6;
  --gh-teal-soft:rgba(79,193,182,.14);
  --gh-danger:#F28B7A;
  --gh-danger-strong:#C2453A;
  --gh-display:Unbounded,"Arial Black",system-ui,sans-serif;
  --gh-body:Figtree,"Segoe UI",system-ui,sans-serif;
  --gh-radius:10px;
  --gh-radius-sm:6px;
  --gh-max:1360px;
  --gh-pad:clamp(20px,3vw,40px);
  --gh-ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--gh-bg);color:var(--gh-text);font-family:var(--gh-body);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%}
img{height:auto}
a{color:var(--gh-amber)}
a:hover{color:var(--gh-text)}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
:focus-visible{outline:3px solid rgba(242,165,65,.6);outline-offset:3px}
::selection{background:var(--gh-amber);color:var(--gh-bg)}
.gh-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Header ---------- */
.wrap.tm73-public-wrap{max-width:none;padding:0;margin:0}
.tm73-header{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:none;margin:0;padding:16px max(var(--gh-pad),calc((100vw - var(--gh-max))/2 + var(--gh-pad)));background:rgba(15,27,31,.88);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:0;border-bottom:1px solid var(--gh-line);border-radius:0;box-shadow:none;height:auto}
.tm73-brand{display:flex;align-items:center;gap:10px;color:var(--gh-text);text-decoration:none;font-family:var(--gh-display);font-weight:600;font-size:19px;letter-spacing:-.02em;text-transform:lowercase}
.tm73-brand:hover{color:var(--gh-text)}
.tm73-brand img,.tm73-brand .tm81-logo-box{width:34px;height:34px;flex:0 0 34px}
.tm73-brand b{font-weight:inherit;color:inherit}
.tm73-nav{display:flex;gap:30px;font-size:15px;font-weight:600}
.tm73-nav a{color:var(--gh-text);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.tm73-nav a:hover{color:var(--gh-amber)}
.tm73-nav a[aria-current="page"]{color:var(--gh-amber);border-bottom-color:var(--gh-amber)}
.tm73-actions{display:flex;align-items:center;gap:18px;font-size:15px;font-weight:600}
.tm73-lang,.tm73-account{color:var(--gh-text);text-decoration:none;background:none;border:0;padding:0;min-height:44px;display:inline-flex;align-items:center}
.tm73-lang:hover,.tm73-account:hover{color:var(--gh-amber);background:none}
.tm73-primary{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;background:var(--gh-amber);color:var(--gh-bg)!important;border-radius:var(--gh-radius-sm);text-decoration:none;font-weight:700;border:0;box-shadow:none;transition:background .2s}
.tm73-primary:hover{background:var(--gh-text);color:var(--gh-bg)!important;transform:none}
.tm73-header .tm-menu-toggle{display:none;width:44px;height:44px;padding:0;border:1px solid var(--gh-line);border-radius:var(--gh-radius-sm);background:transparent;color:var(--gh-text);cursor:pointer;place-items:center}
.tm73-header .tm-menu-toggle svg{width:20px;height:20px}
.tm73-header .tm-menu-toggle path{stroke:currentColor}
.tm-mobile-panel.tm73-mobile-panel{position:fixed;z-index:199;top:78px;left:16px;right:16px;max-height:calc(100dvh - 94px);overflow:auto;padding:10px;display:grid;gap:4px;background:var(--gh-surface);border:1px solid var(--gh-line);border-radius:var(--gh-radius);box-shadow:0 30px 80px rgba(0,0,0,.5)}
.tm-mobile-panel.tm73-mobile-panel[hidden]{display:none}
.tm-mobile-panel.tm73-mobile-panel a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:var(--gh-radius-sm);color:var(--gh-text);font-size:15px;font-weight:600;text-decoration:none}
.tm-mobile-panel.tm73-mobile-panel a:hover,.tm-mobile-panel.tm73-mobile-panel a[aria-current="page"]{background:var(--gh-surface-2);color:var(--gh-amber)}
.tm-mobile-panel.tm73-mobile-panel .tm-mobile-primary{margin-top:4px;justify-content:center;background:var(--gh-amber);color:var(--gh-bg)}
.tm-mobile-panel.tm73-mobile-panel .tm-mobile-primary:hover{background:var(--gh-text);color:var(--gh-bg)}
.tm-menu-open{overflow:hidden}
@media(max-width:1120px){
  .tm73-nav,.tm73-account{display:none}
  .tm73-header .tm-menu-toggle{display:grid}
}
@media(max-width:520px){
  .tm73-header{padding:12px 16px;gap:10px}
  .tm73-brand{font-size:17px}
  .tm73-actions{gap:10px}
  .tm73-primary{padding:0 14px;font-size:14px}
}

/* ---------- Header sopra la foto (Home, Destinazioni, Chi siamo) ---------- */
.gh-overlay-header .tm73-header{position:absolute;left:0;right:0;background:linear-gradient(180deg,rgba(15,27,31,.65),rgba(15,27,31,0));border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}

/* ---------- Footer ---------- */
.tm73-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;max-width:none;margin:0;padding:40px max(var(--gh-pad),calc((100vw - var(--gh-max))/2 + var(--gh-pad)));background:var(--gh-bg);border:0;border-top:1px solid var(--gh-line);border-radius:0;color:var(--gh-text);font-size:15px}
.tm73-footer-brand{display:flex;align-items:center;gap:10px;color:var(--gh-text);text-decoration:none;font-family:var(--gh-display);font-weight:600;font-size:18px;text-transform:lowercase}
.tm73-footer-brand img,.tm73-footer-brand .tm81-logo-box{width:30px;height:30px}
.tm73-footer-links{display:flex;flex-wrap:wrap;gap:28px}
.tm73-footer-links a{color:var(--gh-text);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.tm73-footer-links a:hover,.tm73-footer-links a[aria-current="page"]{color:var(--gh-amber)!important}
.tm73-footer-meta{font-size:13px;color:var(--gh-muted)}

/* ---------- Layout ---------- */
.gh-container{width:100%;max-width:var(--gh-max);margin:0 auto;padding-left:var(--gh-pad);padding-right:var(--gh-pad)}
.gh-section{padding-top:110px}
.gh-kicker{display:block;font-size:13px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gh-amber)}
.gh-kicker--teal{color:var(--gh-teal)}
.gh-display{font-family:var(--gh-display);font-weight:700;letter-spacing:-.04em;line-height:1}
.gh-h2{margin:0;font-family:var(--gh-display);font-weight:600;font-size:clamp(30px,3.4vw,44px);line-height:1.05;letter-spacing:-.035em}
.gh-lead{margin:0;font-size:18px;line-height:1.6;color:var(--gh-text-soft)}
.gh-muted{color:var(--gh-muted)}
.gh-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:20px;margin-bottom:40px}
.gh-link{font-weight:700;font-size:16px;text-decoration:none}
.gh-link .arr,.gh-btn .arr{display:inline-block;transition:transform .25s var(--gh-ease)}
.gh-link:hover .arr,.gh-btn:hover .arr{transform:translateX(4px)}

/* ---------- Bottoni ---------- */
.gh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:var(--gh-radius-sm);font:inherit;font-weight:700;font-size:16px;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.gh-btn--fill{background:var(--gh-amber);color:var(--gh-bg);border:0}
.gh-btn--fill:hover{background:var(--gh-text);color:var(--gh-bg)}
.gh-btn--line{background:transparent;color:var(--gh-text);border:1.5px solid rgba(244,238,230,.45)}
.gh-btn--line:hover{border-color:var(--gh-amber);color:var(--gh-text)}
.gh-btn:disabled{opacity:.55;cursor:not-allowed}

/* ---------- Superfici ---------- */
.gh-card{background:var(--gh-surface);border:1px solid var(--gh-line);border-radius:var(--gh-radius)}
.gh-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:32px;padding:48px;background:var(--gh-surface);border:1px solid var(--gh-line);border-radius:var(--gh-radius)}
.gh-band h2{margin:0 0 12px;font-family:var(--gh-display);font-weight:600;font-size:clamp(26px,2.6vw,36px);letter-spacing:-.035em}
.gh-band p{margin:0;font-size:17px;line-height:1.6;color:var(--gh-muted);max-width:720px}
@media(max-width:600px){.gh-band{padding:28px 22px}}

/* ---------- Form ---------- */
.gh-field{display:flex;flex-direction:column;gap:8px}
.gh-field label,.gh-label{font-size:14px;font-weight:700;color:var(--gh-text)}
.gh-input,.gh-field input,.gh-field select,.gh-field textarea{width:100%;min-height:50px;padding:0 14px;border:1.5px solid var(--gh-line);border-radius:var(--gh-radius-sm);background:var(--gh-bg);color:var(--gh-text);font:inherit;font-size:16px}
.gh-field textarea{padding:12px 14px;min-height:120px;resize:vertical}
.gh-input:focus,.gh-field input:focus,.gh-field select:focus,.gh-field textarea:focus{outline:0;border-color:var(--gh-amber);box-shadow:0 0 0 3px rgba(242,165,65,.2)}
::placeholder{color:#7E8A88;opacity:1}

/* ---------- Chip ---------- */
.gh-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1.5px solid var(--gh-line);background:transparent;color:var(--gh-text);border-radius:999px;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.gh-chip:hover{border-color:var(--gh-amber)}
.gh-chip[aria-pressed="true"]{background:var(--gh-amber);border-color:var(--gh-amber);color:var(--gh-bg);font-weight:700}

/* ---------- Movimento ---------- */
[data-gh-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s ease-out,transform .7s var(--gh-ease)}
[data-gh-reveal].is-in{opacity:1;transform:none}
html:not(.gh-js) [data-gh-reveal]{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  [data-gh-reveal]{opacity:1;transform:none}
}

/* ---------- Pagine con stile di pagina proprio ---------- */
body.gh-page{background:var(--gh-bg)!important;color:var(--gh-text);font-family:var(--gh-body)!important}
body.gh-page main h1{font-family:var(--gh-display);font-weight:700;letter-spacing:-.04em;line-height:1.02}
body.gh-page main h2{font-family:var(--gh-display);font-weight:600;letter-spacing:-.03em}
body.gh-page main [class*="-btn"],body.gh-page main .tm83-plan{border-radius:var(--gh-radius-sm)!important}
body.gh-page main [class$="-kicker"]{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:700}
