/* ==========================================================================
   Coaching Manager — sito di presentazione
   Stesso linguaggio visivo di Gym Manager: nero quasi pieno, un solo accento
   lime, carta calda, serif corsivo per le parole che contano.
   Nessuna dipendenza esterna: font, stili e immagini stanno su questo dominio.
   ========================================================================== */

@import url("../fonts/fonts.css");

:root {
  --ink: #070A08;
  --ink-2: #0E120E;
  --panel: #11150F;
  --panel-2: #171C14;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --paper: #F6F4EE;
  --paper-2: #EDEAE1;
  --lime: #C9F94F;
  --lime-bright: #DCFF7A;
  --lime-ink: #11160A;
  --muted: #A6ADA4;
  --muted-2: #7C847C;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--lime); color: var(--lime-ink);
  padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografia ---------- */

.display {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(1rem, 1.5vw, 1.145rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
}
.lead b { color: var(--paper); font-weight: 600; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lime);
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.035em; }
.section-title em { font-family: var(--serif); font-style: italic; color: var(--lime); font-weight: 400; }
.section-lead { margin-top: 12px; color: var(--muted); max-width: 62ch; line-height: 1.65; }

/* ---------- Bottoni ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease), transform 0.12s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex: 0 0 15px; }
.btn:active { transform: translateY(1px); }
.btn--lime {
  background: var(--lime); color: var(--lime-ink);
  box-shadow: 0 10px 30px -16px rgba(201, 249, 79, 0.75);
}
.btn--lime:hover { background: var(--lime-bright); box-shadow: 0 14px 34px -14px rgba(201, 249, 79, 0.85); }
.btn--ghost { border-color: var(--line); color: var(--paper); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.05); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 13.5px; border-radius: 10px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 8, 0.82);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 15.5px; letter-spacing: -0.02em; }
.brand-txt span { font-size: 11px; color: var(--muted-2); letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 9px;
  font-size: 13.5px; color: var(--muted); font-weight: 500;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav-links a:hover { color: var(--paper); background: rgba(255, 255, 255, 0.05); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.menu-btn i { display: block; width: 16px; height: 1.6px; background: var(--paper); border-radius: 2px; margin: 3px auto; }
.mobile-panel { border-bottom: 1px solid var(--line-soft); background: var(--ink-2); }
.mobile-panel ul { display: flex; flex-direction: column; padding: 10px 0 4px; }
.mobile-panel a { display: block; padding: 12px 2px; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.mobile-panel .btn { margin: 14px 0 18px; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(52% 46% at 22% 18%, rgba(201, 249, 79, 0.14), transparent 68%),
    radial-gradient(40% 40% at 82% 8%, rgba(201, 249, 79, 0.07), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.version { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted-2); margin-bottom: 18px; }
.version .tag {
  border: 1px solid rgba(201, 249, 79, 0.28);
  background: rgba(201, 249, 79, 0.08);
  color: var(--lime);
  padding: 3px 9px; border-radius: 99px;
  font-weight: 700; letter-spacing: 0.06em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 24px; font-size: 12.5px; color: var(--muted-2);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--lime); flex: 0 0 15px; }

.hero-visual { position: relative; }
.shot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1A1F16, #0D110C);
  padding: 10px;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 2px 4px 10px;
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.shot-bar span {
  margin-left: auto; font-size: 10.5px; color: var(--muted-2);
  border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px;
}
.shot-frame img { border-radius: 12px; width: 100%; height: auto; }

.stat-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin-top: 16px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.02);
}
.stat b { display: block; font-size: 1.25rem; letter-spacing: -0.03em; }
.stat span { font-size: 11.5px; color: var(--muted-2); }

/* ---------- Sezioni ---------- */

section { position: relative; }
.section { padding: clamp(56px, 8vw, 92px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper .section-lead { color: #55584F; }
.section--paper .section-title em { color: #4E7A12; }
.section--panel { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: 780px; margin-bottom: clamp(26px, 4vw, 44px); }

/* ---------- Schede funzione ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), background 0.22s var(--ease);
}
.feature:hover { border-color: rgba(201, 249, 79, 0.3); transform: translateY(-2px); }
.feature .ic {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(201, 249, 79, 0.24);
  background: rgba(201, 249, 79, 0.09);
  color: var(--lime);
  margin-bottom: 15px;
}
.feature .ic svg { width: 19px; height: 19px; }
.feature h3 { font-size: 1.02rem; letter-spacing: -0.02em; margin-bottom: 7px; }
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.62; }
.feature ul { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.feature li {
  font-size: 12.5px;
  color: var(--muted-2);
  display: flex; gap: 8px; align-items: flex-start;
}
.feature li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--lime); margin-top: 7px; flex: 0 0 5px;
  opacity: 0.8;
}

/* ---------- Galleria ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gallery figure { margin: 0; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: var(--radius-lg);
}
.gallery .shot-frame { padding: 8px; }
.gallery figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted-2);
  display: flex; align-items: baseline; gap: 8px;
}
.gallery figcaption b { color: var(--paper); font-weight: 600; font-size: 13px; }
.section--paper .gallery figcaption { color: #6A6E63; }
.section--paper .gallery figcaption b { color: var(--ink); }
.section--paper .shot-bar span { border-color: rgba(0, 0, 0, 0.12); color: #6A6E63; }
.section--paper .shot-bar i { background: rgba(0, 0, 0, 0.14); }
.section--paper .shot-frame { background: linear-gradient(180deg, #FFFFFF, #EFEDE6); border-color: rgba(0, 0, 0, 0.10); }

/* ---------- Telefoni ---------- */

.phones {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px);
  align-items: flex-end; justify-content: center;
}
.phone {
  width: min(280px, 78vw);
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(165deg, #2A2F26, #0B0E0A 60%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.95);
  position: relative;
  transition: transform 0.35s var(--ease);
}
.phone:hover { transform: translateY(-4px); }
.phone::before {
  content: ""; position: absolute; left: 50%; top: 16px;
  transform: translateX(-50%);
  width: 62px; height: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}
.phone img { border-radius: 29px; width: 100%; display: block; }
.phone-caption { text-align: center; margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }
.phone-caption b { display: block; color: var(--paper); font-size: 14px; margin-bottom: 3px; }
.section--paper .phone-caption { color: #6A6E63; }
.section--paper .phone-caption b { color: var(--ink); }

.badge-soft {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.badge-soft b { color: var(--lime); font-weight: 700; }

/* ---------- Prezzi ---------- */

.price-card {
  border: 1px solid rgba(201, 249, 79, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(201, 249, 79, 0.12), transparent 58%),
    linear-gradient(180deg, #141A12, #0C100B);
  display: grid;
  gap: 22px;
}
.price-main { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.price-main .amount { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.price-main .per { font-size: 13px; color: var(--muted); padding-bottom: 8px; }
.price-note { font-size: 13px; color: var(--muted); max-width: 46ch; }
.price-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; }
.price-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.price-list svg { width: 15px; height: 15px; color: var(--lime); flex: 0 0 15px; margin-top: 3px; }

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.compare th { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6A6E63; font-weight: 700; }
.compare td:first-child { color: var(--ink); font-weight: 550; }
.compare .good { color: #3F6E0E; font-weight: 650; }
.compare .bad { color: #8A8F84; }

/* ---------- FAQ ---------- */

.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.faq details[open] { border-color: rgba(201, 249, 79, 0.24); background: rgba(201, 249, 79, 0.04); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 14.5px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--lime); font-size: 19px; line-height: 1; font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ---------- CTA finale ---------- */

.cta-band {
  border: 1px solid rgba(201, 249, 79, 0.26);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(201, 249, 79, 0.16), transparent 60%),
    linear-gradient(160deg, #12170F, #0A0D09);
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.035em; }
.cta-band p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 30px;
  background: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-grid h4 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 12px; font-weight: 700;
}
.footer-grid a { display: block; font-size: 13.5px; color: var(--muted); padding: 4px 0; transition: color 0.16s var(--ease); }
.footer-grid a:hover { color: var(--lime); }
.footer-note {
  margin-top: 30px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 12px; color: var(--muted-2);
}
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 34ch; line-height: 1.6; }

/* ---------- Pagine interne ---------- */

.page-head { padding: clamp(48px, 7vw, 80px) 0 0; }
.page-head .display { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.35rem; margin-top: 38px; margin-bottom: 10px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 6px; }
.prose p { margin: 10px 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.prose ul { margin: 10px 0; display: flex; flex-direction: column; gap: 7px; }
.prose li { display: flex; gap: 9px; color: var(--muted); font-size: 14px; }
.prose li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); margin-top: 9px; flex: 0 0 5px; }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

.feature-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.matrix-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}
.matrix-card h3 { font-size: 1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.matrix-card h3 svg { width: 17px; height: 17px; color: var(--lime); }
.matrix-card li { font-size: 13px; color: var(--muted); padding: 4px 0; display: flex; gap: 8px; }
.matrix-card li::before { content: "—"; color: rgba(201, 249, 79, 0.5); }

/* ---------- Modulo ---------- */

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.025);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(201, 249, 79, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 249, 79, 0.12);
}
.field .hint { font-size: 11.5px; color: var(--muted-2); }
.form-note { font-size: 11.5px; color: var(--muted-2); margin-top: 12px; line-height: 1.6; }
.contact-cards { display: flex; flex-direction: column; gap: 10px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-card:hover { border-color: rgba(201, 249, 79, 0.28); transform: translateY(-1px); }
.contact-card .ic { color: var(--lime); flex: 0 0 auto; }
.contact-card .ic svg { width: 18px; height: 18px; }
.contact-card b { display: block; font-size: 13.5px; font-weight: 600; }
.contact-card span { font-size: 12.5px; color: var(--muted); }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 6, 4, 0.92);
  display: none;
  padding: 24px;
  overflow: auto;
}
.lightbox.on { display: grid; place-items: center; }
.lightbox img { max-width: min(1200px, 96vw); border-radius: 14px; border: 1px solid var(--line); }
.lightbox button {
  position: fixed; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  font-size: 20px; cursor: pointer;
}

/* ---------- Animazioni ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.on { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn--ghost { display: none; }
  .menu-btn { display: grid; }
  .hero { padding-top: 44px; }
  .gallery { grid-template-columns: 1fr; }
  .phone { width: min(260px, 80vw); }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-matrix { grid-template-columns: 1fr; }
  .price-list { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .nav-cta .btn { width: auto; }
  .cta-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Correzione telefoni: larghezza fissa, immagine non deformata ----------
   Prima ogni cornice si allargava con il testo della didascalia: le tre
   schermate non stavano in fila e le immagini venivano schiacciate in altezza. */

.phones > * { flex: 0 0 auto; width: min(300px, 82vw); }
.phone { width: 100%; }
.phone img { height: auto; }
.phone-caption { max-width: 100%; }

@media (max-width: 1024px) {
  .phones > * { width: min(280px, 84vw); }
}

/* Il pulsante della galleria è un contenitore, non un controllo nativo:
   senza appearance il browser non disegna nulla di suo sopra la schermata. */
.shot-frame { display: block; }
.gallery button {
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
