/* =========================================================
   Tirreno Nautic Service - Stile principale
   Palette nautica, layout responsive, animazioni reveal
   ========================================================= */

:root {
  --color-deep: #0B2A4A;        /* blu profondo */
  --color-sea:  #1E6091;        /* azzurro mare */
  --color-teal: #0E8388;        /* accento ottanio */
  --color-sand: #F4EBD0;        /* sabbia chiara */
  --color-light:#F7FAFC;        /* bianco caldo */
  --color-white:#FFFFFF;
  --color-text: #1A202C;
  --color-muted:#5A6678;
  --color-border:#E2E8F0;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --shadow-sm: 0 1px 3px rgba(11, 42, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 42, 74, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 42, 74, 0.18);

  --radius: 14px;
  --maxw: 1200px;
  --nav-h: 72px;
}

/* ---------- Reset minimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-sea); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-teal); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--color-deep); margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--color-teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(11, 42, 74, 0);
  backdrop-filter: blur(0);
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
.nav.is-scrolled {
  background: rgba(11, 42, 74, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 12px; color: var(--color-white); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .3px; }
.nav__brand span.brand-sub { font-family: var(--font-body); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; opacity: .8; display: block; }
.nav__brand:hover { color: var(--color-sand); }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav__list a {
  color: var(--color-white);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: 6px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--color-sand); transition: width .3s ease;
}
.nav__list a:hover { color: var(--color-sand); }
.nav__list a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  background: none; border: 0; color: var(--color-white);
  width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav__toggle svg { width: 28px; height: 28px; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__list {
    position: fixed; top: var(--nav-h); right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(11, 42, 74, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px 24px 24px;
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav__list.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav__list a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* iOS Safari: evita "scossa" della barra browser */
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('../img/45.jpg') center/cover no-repeat, var(--color-deep);
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,42,74,.55) 0%, rgba(11,42,74,.35) 40%, rgba(11,42,74,.85) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.16); }
}

.hero__content { padding: 120px 24px 100px; max-width: 900px; }
.hero__eyebrow {
  display: inline-block;
  font-size: .85rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--color-sand);
  border: 1px solid rgba(244, 235, 208, .5);
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero__title { color: var(--color-white); margin-bottom: 16px; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero__title em { font-style: italic; color: var(--color-sand); }
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 640px; margin: 0 auto 36px; opacity: .92; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn--primary { background: var(--color-sand); color: var(--color-deep); }
.btn--primary:hover { background: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--color-deep); }
.btn--ghost { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.15); border-color: var(--color-white); color: var(--color-white); transform: translateY(-2px); }
.btn--dark { background: var(--color-deep); color: var(--color-white); }
.btn--dark:hover { background: var(--color-sea); color: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--color-white); opacity: .8;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .75rem; letter-spacing: 3px; text-transform: uppercase;
}
.hero__scroll .mouse {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px;
  position: relative;
}
.hero__scroll .mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px;
  background: var(--color-white); border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- Section base ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--color-white); }
.section--dark { background: var(--color-deep); color: var(--color-light); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-white); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section__eyebrow {
  display: inline-block;
  font-size: .8rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--color-teal); font-weight: 600;
  margin-bottom: 12px;
}
.section__lead { font-size: 1.1rem; color: var(--color-muted); }
.section--dark .section__lead { color: rgba(255,255,255,.78); }
.section--dark .section__eyebrow { color: var(--color-sand); }

/* ---------- Chi siamo (split image + text) ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,42,74,.0) 0%, rgba(14,131,136,.2) 100%);
  z-index: 1;
}
.about__badge {
  position: absolute; left: -16px; bottom: -16px; z-index: 2;
  background: var(--color-deep); color: var(--color-sand);
  padding: 18px 22px; border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--color-white); line-height: 1; }
.about__badge span { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; }

.about__body p { font-size: 1.05rem; color: var(--color-text); }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.stat { padding: 18px 12px; background: var(--color-light); border-radius: 12px; text-align: center; border: 1px solid var(--color-border); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--color-deep); }
.stat span { font-size: .8rem; color: var(--color-muted); letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { aspect-ratio: 16 / 11; }
}

/* ---------- Servizi grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,42,74,0) 50%, rgba(11,42,74,.45) 100%);
}
.service-card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card__icon {
  width: 44px; height: 44px;
  background: var(--color-light); color: var(--color-sea);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 10px; color: var(--color-deep); }
.service-card p { color: var(--color-muted); font-size: .98rem; margin-bottom: 0; }

/* ---------- Brand partner marquee ---------- */
.brand-marquee {
  margin-top: 56px;
  padding: 32px 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
.brand-marquee__title {
  display: block;
  text-align: center;
  font-size: .8rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 22px;
  padding: 0 24px;
}
.brand-marquee__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.brand-marquee__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: brandMarquee 40s linear infinite;
  will-change: transform;
}
.brand-marquee__track:hover { animation-play-state: paused; }
.brand-marquee__track img {
  height: 54px;
  max-height: 54px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.brand-marquee__track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}
@keyframes brandMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .brand-marquee__track { gap: 48px; animation-duration: 28s; }
  .brand-marquee__track img { height: 42px; max-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none; }
}

/* ---------- Contatti / Dove siamo ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-info li:last-child { border-bottom: 0; }
.contact-info .ci-icon {
  flex: 0 0 44px; height: 44px;
  background: rgba(244,235,208,.12);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-sand);
}
.contact-info .ci-icon svg { width: 22px; height: 22px; }
.contact-info .ci-label { font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; opacity: .65; display: block; margin-bottom: 2px; }
.contact-info .ci-value { color: var(--color-white); font-size: 1.02rem; font-weight: 500; }
.contact-info .ci-value a { color: var(--color-white); }
.contact-info .ci-value a:hover { color: var(--color-sand); }
.contact-info .ci-maps-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(244,235,208,.12);
  color: var(--color-sand) !important;
  font-size: .88rem; font-weight: 600;
  border: 1px solid rgba(244,235,208,.25);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.contact-info .ci-maps-link:hover {
  background: var(--color-sand);
  color: var(--color-deep) !important;
  border-color: var(--color-sand);
  transform: translateY(-2px);
}
.contact-info .ci-maps-link svg { width: 16px; height: 16px; }

.legal-info {
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  font-size: .82rem; line-height: 1.7;
  color: rgba(255,255,255,.7);
}
.legal-info span { display: block; }

/* Map placeholder */
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-deep);
  min-height: 420px;
  box-shadow: var(--shadow-lg);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1E6091 0%, #0B2A4A 100%);
  color: var(--color-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px;
  gap: 14px;
}
.map-placeholder svg { width: 56px; height: 56px; opacity: .85; }
.map-placeholder h4 { color: var(--color-white); margin: 0; }
.map-placeholder p { color: rgba(255,255,255,.75); max-width: 360px; margin: 0; font-size: .92rem; }
.map-placeholder__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer {
  background: #061a30;
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer h4 { color: var(--color-white); font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: var(--color-sand); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__brand { color: var(--color-white); font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; display: block; margin-bottom: 8px; }
.footer__social { display: flex; gap: 12px; margin-top: 14px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer__social a:hover { background: var(--color-teal); color: var(--color-white); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: rgba(255,255,255,.55);
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: var(--color-deep); color: var(--color-white);
  padding: 20px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  max-width: 760px; margin-left: auto; margin-right: auto;
  border: 1px solid rgba(255,255,255,.08);
}
.cookie-banner.is-visible { display: block; animation: cookieIn .35s ease both; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cookie-banner__body { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cookie-banner h4 { color: var(--color-white); margin: 0 0 4px; font-family: var(--font-body); font-size: 1.05rem; }
.cookie-banner p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.78); }
.cookie-banner p a { color: var(--color-sand); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-banner .btn { padding: 10px 18px; font-size: .92rem; }

@media (max-width: 720px) {
  .cookie-banner__body { grid-template-columns: 1fr; }
  .cookie-banner__actions { justify-content: flex-start; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .85s ease, transform .85s ease; will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .85s ease, transform .85s ease; }
.reveal-left.is-visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .85s ease, transform .85s ease; }
.reveal-right.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s;   opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s;  opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s;  opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s;  opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .4s;  opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .5s;  opacity: 1; transform: none; }

/* prefers-reduced-motion: niente animazioni di entrata */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-stagger > * { opacity: 1; transform: none; }
  .hero__bg { animation: none; transform: none; }
}

/* ---------- Pagine legali (privacy / cookie) ---------- */
.legal-page { padding: calc(var(--nav-h) + 60px) 0 80px; background: var(--color-light); min-height: 100vh; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal-page .legal-updated { color: var(--color-muted); font-size: .9rem; margin-bottom: 40px; display: block; }
.legal-page h2 { font-size: 1.4rem; margin-top: 36px; }
.legal-page h3 { font-size: 1.1rem; color: var(--color-sea); margin-top: 24px; }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .92rem; }
.legal-page th, .legal-page td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.legal-page th { background: var(--color-white); }
.legal-page .back-home { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: .9rem; }

/* ---------- Visually hidden (a11y) ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Mobile polish ----------
   Tap target minimi 44px, font 16px sui link (no zoom iOS), padding ridotti,
   hero alleggerita su schermi piccoli.
*/
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero__content { padding: 100px 18px 90px; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero__sub { font-size: 1rem; margin-bottom: 28px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { width: 100%; }

  .section { padding: 56px 0; }
  .section__head { margin-bottom: 40px; }

  /* Tap target minimo */
  .btn { min-height: 48px; padding: 12px 22px; }
  .nav__list a { min-height: 48px; display: flex; align-items: center; }
  .footer__social a { width: 44px; height: 44px; }
  .contact-info .ci-maps-link { min-height: 44px; }

  /* Contatti: padding più compatti */
  .contact-info li { padding: 12px 0; gap: 12px; }
  .contact-info .ci-icon { flex-basis: 40px; height: 40px; }

  /* Footer compatto */
  .footer { padding: 48px 0 20px; }
  .footer__bottom { font-size: .78rem; }

  /* Mappa più alta per essere utile su mobile */
  .map-wrap, .map-wrap iframe { min-height: 360px; }
}

/* Disabilita hover su touch device per evitare stati "appiccicati" dopo tap */
@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .service-card:hover .service-card__media img { transform: none; }
  .brand-marquee__track img:hover { filter: grayscale(1); opacity: .72; transform: none; }
}

/* Tipografia leggibile su retina/HiDPI */
@supports (-webkit-touch-callout: none) {
  /* Stop iOS Safari auto-zoom su tap (font-size minimo per input) */
  input, select, textarea { font-size: 16px; }
}
