/* =========================================================
   Eagle Service Roma - Design System
   Sito statico (HTML/CSS puro, nessuna dipendenza)
   ========================================================= */

/* ---------- Font brand: Pirulen ---------- */
@font-face {
  font-family: "Pirulen";
  src: url("../fonts/pirulen.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Design tokens ---------- */
:root {
  /*
   * Palette ufficiale Eagle Service Roma.
   * Dominante ARANCIONE (dal logo: #f2490a -> #fb0a00), colore secondario BLU.
   * NB: le variabili storicamente chiamate --c-sky-* ora contengono i toni
   * ARANCIONI, così da invertire la dominante senza riscrivere tutte le classi.
   * Il blu resta disponibile come --c-blue-* per contrasto e profondità.
   */

  /* Primario = ARANCIONE ESR (ex "sky") */
  --c-sky-600: #d93a00;   /* arancione intenso: pulsanti, accenti, titoli */
  --c-sky-500: #f2490a;   /* arancione logo */
  --c-sky-400: #ff6a3a;   /* arancione chiaro */
  --c-sky-100: #ffece5;   /* arancione tenue di sfondo */

  /* "navy" = antracite freddo per sezioni scure e footer (palette D, nov 2026) */
  --c-navy-900: #16181d;  /* bruno molto scuro */
  --c-navy-800: #1f2229;
  --c-navy-700: #2d313a;

  /* Blu ufficiale (secondario, dal logo originale) */
  --c-blue-900: #2e3192;
  --c-blue-600: #1f6fb2;
  --c-blue-500: #00adef;
  --c-blue-100: #e4f1fb;

  /* Accento ambra/giallo caldo (secondo accento) */
  --c-amber-500: #ee4a06;
  --c-amber-400: #ff7a4d;
  --c-amber-100: #ffeee7;

  --c-ink: #1a1d23;
  --c-muted: #5b6370;
  --c-line: #e6e8ec;
  --c-bg: #ffffff;
  --c-bg-alt: #f6f7f9;

  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(22, 24, 29, 0.10), 0 1px 2px rgba(22, 24, 29, 0.07);
  --shadow: 0 10px 25px -8px rgba(22, 24, 29, 0.20);
  --shadow-lg: 0 25px 50px -12px rgba(22, 24, 29, 0.30);

  --maxw: 1180px;
  --gap: clamp(1rem, 2vw, 1.75rem);
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section--alt {
  background: var(--c-bg-alt);
}

.section--navy {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(42, 139, 212, 0.35), transparent 60%),
    linear-gradient(160deg, var(--c-navy-900), var(--c-navy-700));
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-sky-600);
  margin-bottom: 0.75rem;
}

.section--navy .eyebrow {
  color: var(--c-amber-400);
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: var(--c-navy-900);
}

.section--navy .section-title {
  color: #fff;
}

.section-lead {
  margin-top: 0.9rem;
  max-width: 60ch;
  color: var(--c-muted);
  font-size: 1.05rem;
}

.section--navy .section-lead {
  color: rgba(255, 255, 255, 0.82);
}

.text-center {
  text-align: center;
}

.text-center .section-lead {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--c-sky-600);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--_bg);
  color: var(--_fg);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--amber {
  --_bg: var(--c-amber-500);
}

.btn--ghost {
  --_bg: transparent;
  --_fg: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  --_bg: transparent;
  --_fg: var(--c-sky-600);
  border-color: var(--c-sky-600);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--c-sky-100);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-navy-900);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 1.25rem;
  flex: none;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name {
  font-family: "Pirulen", var(--font-head);
  font-weight: 400;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-navy-800);
  padding: 0.4rem 0;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--c-amber-500);
  transition: width 0.2s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
}

.nav__link[aria-current="page"] {
  color: var(--c-sky-600);
}

.nav__cta {
  margin-left: 0.5rem;
}

/* ---------- Menu a tendina "Approfondimenti" ---------- */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-navy-800);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__dropdown-toggle::after {
  content: "\25BE"; /* freccia giù */
  font-size: 0.7em;
  transition: transform 0.2s ease;
}
.nav__dropdown-toggle[aria-current="page"] { color: var(--c-sky-600); }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown:hover .nav__dropdown-toggle::after,
.nav__dropdown:focus-within .nav__dropdown-toggle::after {
  transform: rotate(180deg);
}
.nav__dropdown-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  color: var(--c-navy-800);
  font-size: 0.92rem;
  font-family: var(--font-head);
  font-weight: 500;
}
.nav__dropdown-menu a:hover,
.nav__dropdown-menu a[aria-current="page"] {
  background: var(--c-sky-100);
  color: var(--c-sky-600);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--c-navy-900);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav__toggle span::before {
  top: -7px;
}

.nav__toggle span::after {
  top: 7px;
}

.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] span::before {
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span::after {
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 30, 52, 0.55), rgba(11, 30, 52, 0.78)),
    linear-gradient(160deg, var(--c-navy-900), var(--c-navy-700));
  background-size: cover;
  background-position: center;
}

.hero__inner {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
  max-width: 44rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.05;
}

.hero p {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 40ch;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__badges {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.2rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__badges .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-amber-400);
}

/* ---------- Page header (pagine interne) ---------- */
.page-head {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(42, 139, 212, 0.35), transparent 60%),
    linear-gradient(160deg, var(--c-navy-900), var(--c-navy-700));
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.page-head h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.page-head p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.9rem;
}

.breadcrumb a:hover {
  color: #fff;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-sky-400);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--c-sky-100);
  color: var(--c-sky-600);
  margin-bottom: 1.1rem;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--c-navy-900);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--c-muted);
  font-size: 0.97rem;
}

.card__price {
  margin-top: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-sky-600);
  font-size: 1.15rem;
}

.card__price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-muted);
}

/* Il prezzo vero e proprio deve restare grande e in evidenza,
   anche quando è dentro un <span class="prezzo"> in .card__price */
.card__price span.prezzo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-sky-600);
}

.card__link {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-sky-600);
}

.card__link:hover {
  gap: 0.7rem;
}

/* Card su sfondo scuro */
.section--navy .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.section--navy .card h3 { color: #fff; }
.section--navy .card p { color: rgba(255, 255, 255, 0.78); }
.section--navy .card__icon {
  background: rgba(42, 139, 212, 0.25);
  color: var(--c-amber-400);
}

/* ---------- Tabelle prezzi ---------- */
.price-block {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.price-block__head {
  padding: 1.1rem 1.5rem;
  background: linear-gradient(160deg, var(--c-navy-800), var(--c-sky-600));
  color: #fff;
}

.price-block__head h3 {
  font-size: 1.2rem;
}

.price-block__head p {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.96rem;
  vertical-align: top;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: var(--c-sky-100);
}

.price-table .price {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-sky-600);
}

.price-note {
  font-size: 0.9rem;
  color: var(--c-muted);
  background: var(--c-amber-100);
  border-left: 3px solid var(--c-amber-500);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0 2rem;
}

/* ---------- Lista info / feature ---------- */
.feature-list {
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--c-muted);
}

.feature-list .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-sky-100);
  color: var(--c-sky-600);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

/* ---------- Split (testo + media) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(42, 139, 212, 0.35), transparent 60%),
    linear-gradient(160deg, var(--c-navy-900), var(--c-navy-700));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.cta-banner p {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48ch;
}

/* ---------- Notice box (placeholder fasi future) ---------- */
.notice {
  background: var(--c-sky-100);
  border: 1px dashed var(--c-sky-400);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.notice__badge {
  display: inline-block;
  background: var(--c-amber-500);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.notice h2 {
  color: var(--c-navy-900);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.notice p {
  margin: 0.8rem auto 0;
  color: var(--c-muted);
  max-width: 55ch;
}

/* ---------- Contatti ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-card .card__icon {
  margin-bottom: 0;
}

.contact-card h3 {
  font-size: 1.05rem;
  color: var(--c-navy-900);
}

.contact-card a,
.contact-card p {
  color: var(--c-muted);
  font-size: 0.97rem;
}

.contact-card a:hover {
  color: var(--c-sky-600);
}

.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer .brand__name small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--c-amber-400);
}

.footer-contact li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.stack > * + * { margin-top: 1rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
}

.wa-float:hover {
  transform: scale(1.07);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav__menu[data-open="true"] {
    transform: translateY(0);
  }

  .nav__link {
    padding: 0.85rem 0;
  }

  /* In verticale la sottolineatura animata non ha senso: via del tutto. */
  .nav__link::after,
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after { display: none !important; width: 0 !important; }
  .nav__link[aria-current="page"] { font-weight: 600; }

  /* Dropdown "Approfondimenti" su mobile: fisarmonica, chiusa di default */
  .nav__dropdown { width: 100%; }
  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--c-line);
    font-size: 0.95rem;
    color: var(--c-navy-800);
  }
  .nav__dropdown-toggle::after {
    content: "\25BE";      /* freccia giù, visibile anche su mobile */
    font-size: 0.7em;
    transition: transform 0.2s ease;
  }
  .nav__dropdown[data-open="true"] .nav__dropdown-toggle::after {
    transform: rotate(180deg);
  }
  /* Il sottomenu è statico (nessun transform che lo faccia scorrere di lato)
     e nascosto finché la fisarmonica non viene aperta. */
  .nav__dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    display: none;        /* chiuso di default */
  }
  .nav__dropdown[data-open="true"] .nav__dropdown-menu { display: block; }
  /* Neutralizza le regole desktop :hover/:focus-within che altrimenti
     spostano il sottomenu con translateX(-50%) quando lo si tocca. */
  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown:focus-within .nav__dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    opacity: 1;
    visibility: visible;
  }
  .nav__dropdown-menu a {
    padding: 0.6rem 0 0.6rem 1rem;
    border-radius: 0;
  }
  .nav__dropdown-toggle {
    border-bottom: none;
  }

  .nav__cta {
    margin: 0.9rem 0 0;
    justify-content: center;
  }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-table th,
  .price-table td { padding: 0.75rem 1rem; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

/* Riduzione movimento */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Pagine di dettaglio servizio (step di controllo)
   ========================================================= */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.steps {
  display: grid;
  gap: 1.1rem;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--c-sky-100);
  color: var(--c-sky-600);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}

.step h3 {
  font-size: 1.1rem;
  color: var(--c-navy-900);
  margin-bottom: 0.3rem;
}

.step p {
  color: var(--c-muted);
  font-size: 0.97rem;
}

/* Riquadro laterale (prezzo + CTA) */
.service-aside {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.service-aside .price-big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--c-sky-600);
  line-height: 1;
}

.service-aside .price-big small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-muted);
  margin-top: 0.35rem;
}

.service-aside hr {
  border: none;
  border-top: 1px solid var(--c-line);
  margin: 1.2rem 0;
}

.service-aside .price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  color: var(--c-ink);
}

.service-aside .price-row span:last-child {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-sky-600);
  white-space: nowrap;
}

.service-aside .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.2rem;
}

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-sky-600);
  background: var(--c-sky-100);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* Riga prezzo dentro una card (es. schede lavorazioni kite) */
.card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.9rem;
  color: var(--c-muted);
}
.card .price-row strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--c-amber-600, var(--c-sky-600));
}

@media (max-width: 860px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
}

/* =========================================================
   Banner esclusività PMA
   ========================================================= */
.pma-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(700px 320px at 12% 20%, rgba(42, 139, 212, 0.30), transparent 60%),
    linear-gradient(150deg, var(--c-navy-900), var(--c-navy-700));
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}

.pma-banner__seal {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(145deg, var(--c-amber-400), var(--c-amber-500));
  color: var(--c-navy-900);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.pma-banner__seal b { font-size: 1.9rem; display: block; }
.pma-banner__seal span { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.25rem; }

.pma-banner__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber-400);
  margin-bottom: 0.6rem;
}

.pma-banner h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.15;
}

.pma-banner p {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
}

.pma-banner .hero__actions { margin-top: 1.5rem; }

/* Badge inline riutilizzabile */
.pma-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--c-navy-900);
  background: linear-gradient(145deg, var(--c-amber-400), var(--c-amber-500));
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.pma-chip svg { width: 16px; height: 16px; }

@media (max-width: 620px) {
  .pma-banner { grid-template-columns: 1fr; text-align: left; }
}

/* =========================================================
   FAQ (accordion nativo con <details>)
   ========================================================= */
.faq {
  display: grid;
  gap: 0.9rem;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-sky-600);
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover { color: var(--c-sky-600); }

.faq .faq__body {
  padding: 0 1.4rem 1.2rem;
  color: var(--c-muted);
  font-size: 0.98rem;
}

.faq .faq__body p + p { margin-top: 0.7rem; }

/* =========================================================
   Elenco membri PMA (chip marchi)
   ========================================================= */
.pma-members {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pma-members li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

/* =========================================================
   Fascia loghi partner / marchi ufficiali
   ========================================================= */
.partners {
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}

.partners__title {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.6rem;
}

.partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 5vw, 3.5rem);
}

.partners__row a {
  display: inline-flex;
  align-items: center;
}

.partners__row img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(0);
  opacity: 1;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partners__row a:hover img {
  filter: grayscale(1);
  opacity: 0.65;
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .partners__row img { height: 34px; }
}

/* =========================================================
   Carosello hero (CSS + JS puro, nessuna libreria)
   ========================================================= */
.hero--carousel {
  position: relative;
  background: var(--c-navy-900);
}

/* Slides di sfondo */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

.hero-carousel__slide.is-active {
  opacity: 1;
}

/* Velo scuro sopra le immagini per leggibilità del testo */
.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 24, 29, 0.04), rgba(22, 24, 29, 0.20));
  z-index: 1;
}

/* Il contenuto hero sopra il carosello */
.hero--carousel .container {
  position: relative;
  z-index: 2;
}

/* Velo leggero: ombra morbida sul testo per mantenerlo leggibile sulle foto chiare */
.hero--carousel h1,
.hero--carousel p,
.hero--carousel .hero__badges {
  text-shadow: 0 1px 3px rgba(10, 12, 16, 0.55), 0 2px 18px rgba(10, 12, 16, 0.45);
}

/* Frecce */
.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.hero-carousel__btn:hover { background: rgba(255, 255, 255, 0.3); }
.hero-carousel__btn--prev { left: clamp(0.6rem, 2vw, 1.5rem); }
.hero-carousel__btn--next { right: clamp(0.6rem, 2vw, 1.5rem); }
.hero-carousel__btn svg { width: 22px; height: 22px; }

/* Puntini */
.hero-carousel__dots {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel__dot.is-active {
  background: var(--c-amber-500);
  transform: scale(1.2);
}

@media (max-width: 560px) {
  .hero-carousel__btn { width: 38px; height: 38px; }
}

/* Slogan: frase di effetto evidenziata (centrata, arancione, con filetto sopra) */
.slogan {
  display: block;
  margin: 1.1rem auto 0;
  max-width: 34ch;
  padding-top: 1rem;
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--c-amber-500);
  text-wrap: balance;
}

.slogan::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 0.9rem;
  border-radius: 3px;
  background: var(--c-amber-500);
}

/* ---------- Recensioni Google (home) ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.review {
  margin: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.review__stars {
  color: var(--c-amber-500);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  line-height: 1;
}

.review blockquote {
  margin: 0;
  color: var(--c-ink);
  line-height: 1.6;
}

.review figcaption {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--c-muted);
}

.review figcaption strong {
  color: var(--c-ink);
  font-family: var(--font-head);
}

.reviews__cta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 720px) {
  .reviews { grid-template-columns: 1fr; }
}

/* ---------- Social (footer, contatti) ---------- */
.footer-social {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.footer-social > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-social span {
  flex: 1 1 100%;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--c-sky-500);
  border-color: var(--c-sky-500);
  transform: translateY(-2px);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-top: 0.3rem;
}

/* ---------- Prova parakite ---------- */
.prova-steps .card h3 { margin-top: 0.2rem; }
