/* ==========================================================================
   ESCORT WEB DESIGN — Design System
   Nero opaco + rosa · profondità 3D · tipografia editoriale premium
   ========================================================================== */

/* ------------------------------------------------------------------ *
 *  1. Design tokens
 * ------------------------------------------------------------------ */
:root {
  /* Colore — base scura */
  --ink-900: #08080a;   /* nero opaco profondissimo (sfondo pagina)      */
  --ink-850: #0b0b0e;   /* nero opaco                                     */
  --ink-800: #101014;   /* superficie 1                                   */
  --ink-750: #15151b;   /* nero antracite (card/pannelli)                 */
  --ink-700: #1c1c24;   /* antracite chiaro (superficie sollevata)        */
  --ink-650: #24242e;   /* hover superfici                                */

  /* Colore — rosa */
  --rose-600: #ff2e6e;  /* rosa intenso (accento primario)                */
  --rose-500: #ff4f86;  /* rosa vivo                                       */
  --rose-400: #ff79a6;  /* rosa medio                                      */
  --rose-200: #f4b8ce;  /* rosa cipria (testi secondari delicati)         */
  --rose-100: #f8d4e1;  /* rosa cipria chiarissimo                        */

  /* Colore — neutri chiari */
  --ice-050: #f5f7fc;   /* bianco ghiaccio (testo principale)             */
  --ice-200: #d7dbe6;   /* testo chiaro secondario                        */
  --mist-400: #9aa0b2;  /* testo tenue                                     */
  --mist-500: #767c8f;  /* testo molto tenue / meta                       */

  /* Colore — grigio titanio (bordi/dettagli tecnici) */
  --titan-700: #2a2b34;
  --titan-600: #353743;
  --titan-500: #43454f;

  /* Accenti funzionali */
  --rose-glow: rgba(255, 46, 110, .55);
  --rose-soft: rgba(255, 46, 110, .12);
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .12);

  /* Tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Raggi */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Ombre / profondità */
  --shadow-1: 0 2px 10px rgba(0,0,0,.4);
  --shadow-2: 0 14px 40px -12px rgba(0,0,0,.65);
  --shadow-3: 0 34px 80px -24px rgba(0,0,0,.8);
  --shadow-rose: 0 20px 60px -18px rgba(255,46,110,.45);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 80px;

  /* Transizioni */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ------------------------------------------------------------------ *
 *  2. Reset & base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ice-200);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Trama ambientale di fondo: bagliori rosa molto delicati, fissi */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 78% -5%, rgba(255,46,110,.14), transparent 60%),
    radial-gradient(45% 40% at 8% 8%, rgba(255,79,134,.08), transparent 55%),
    radial-gradient(70% 60% at 50% 115%, rgba(255,46,110,.10), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  opacity: .6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--rose-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 200;
  background: var(--rose-600);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* ------------------------------------------------------------------ *
 *  3. Tipografia
 * ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ice-050);
  letter-spacing: -.01em;
}

.h-display {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
h2, .h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { color: var(--ice-200); }
strong { color: var(--ice-050); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose-200);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--rose-600), transparent);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--mist-400);
  max-width: 62ch;
}

.text-rose { color: var(--rose-400); }

/* ------------------------------------------------------------------ *
 *  4. Layout
 * ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(70px, 10vw, 130px); position: relative; }
.section--tight { padding-block: clamp(50px, 7vw, 90px); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 20px; }

/* Head a tutta larghezza (titolo su una riga + testo largo come la griglia) */
.section-head--full { max-width: none; }
.lead--full { max-width: none; }
/* Titolo su una sola riga da tablet in su; dimensione fluida calcolata per non sforare */
@media (min-width: 720px) {
  .section-head__title-1l {
    white-space: nowrap;
    font-size: clamp(1.75rem, 3.9vw, 3rem);
  }
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
}

/* ------------------------------------------------------------------ *
 *  5. Bottoni
 * ------------------------------------------------------------------ */
.btn {
  --btn-pad-y: 14px;
  --btn-pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), background .3s, border-color .3s, color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose-500), var(--rose-600) 70%);
  box-shadow: var(--shadow-rose), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px -16px rgba(255,46,110,.6), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn--ghost {
  color: var(--ice-050);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--titan-600);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--rose-500);
  background: rgba(255,46,110,.06);
}

.btn--block { width: 100%; }
.btn--lg { --btn-pad-y: 17px; --btn-pad-x: 32px; font-size: 1.05rem; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--rose-400);
  transition: gap .3s var(--ease), color .3s;
}
.btn-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-link:hover { color: var(--rose-200); gap: 12px; }
.btn-link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ *
 *  6. Header & navigazione
 * ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height .4s var(--ease), background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(8,8,10,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  /* logo + 7 voci + pulsante non stanno nei 1240px del contenuto: l'header può essere un po' più largo */
  max-width: calc(var(--container) + 160px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: .02em;
  color: var(--ice-050);
}
.brand__text { font-weight: 500; }
.brand__accent { color: var(--rose-500); }
.brand__mark {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
  box-shadow: 0 0 18px var(--rose-glow);
  transform: rotate(45deg);
}

.mainnav { margin-left: auto; }
.mainnav__list { display: flex; align-items: center; gap: 2px; }
.mainnav__item { position: relative; }

.mainnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px;
  border-radius: var(--r-pill);
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ice-200);
  transition: color .25s, background .25s;
}
.mainnav__link:hover, .mainnav__link.is-active { color: var(--ice-050); }
.mainnav__item--has-children:hover > .mainnav__link { background: rgba(255,255,255,.04); color: var(--ice-050); }

.mainnav__caret {
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .6;
  transition: transform .3s var(--ease);
}
.mainnav__item--has-children:hover .mainnav__caret { transform: rotate(225deg) translateY(-1px); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  padding: 10px;
  background: rgba(21,21,27,.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  backdrop-filter: blur(20px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.dropdown::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto 0;
  height: 14px;
}
.mainnav__item--has-children:hover .dropdown,
.mainnav__item--has-children:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown__link {
  display: block;
  padding: 11px 14px;
  border-radius: var(--r-md);
  transition: background .2s;
}
.dropdown__link:hover, .dropdown__link.is-active { background: rgba(255,46,110,.08); }
.dropdown__title { display: block; font-weight: 600; color: var(--ice-050); font-size: .96rem; }
.dropdown__hint { display: block; font-size: .8rem; color: var(--mist-500); margin-top: 2px; }

.header-cta { flex-shrink: 0; --btn-pad-x: 22px; }

.navburger { display: none; }

/* Menu mobile */
.mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8,8,10,.97);
  backdrop-filter: blur(10px);
  padding: calc(var(--header-h) + 14px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobilemenu[hidden] { display: none; }
.mobilemenu.is-open { opacity: 1; transform: translateY(0); }
.mobilemenu__list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.mobilemenu__link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 15px 8px;
  font-size: 1.12rem; font-weight: 600;
  color: var(--ice-050);
  border-bottom: 1px solid var(--line);
}
.mobilemenu__caret {
  width: 9px; height: 9px;
  border-right: 2px solid var(--rose-400);
  border-bottom: 2px solid var(--rose-400);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.mobilemenu__acc[aria-expanded="true"] .mobilemenu__caret { transform: rotate(225deg); }
.mobilemenu__sub {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.mobilemenu__sub.is-open { max-height: 420px; }
.mobilemenu__sub li a {
  display: block;
  padding: 12px 8px 12px 20px;
  color: var(--mist-400);
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.mobilemenu__sub li a:hover { color: var(--rose-200); }

/* ------------------------------------------------------------------ *
 *  7. Hero
 * ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: clamp(640px, 94vh, 960px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + clamp(30px, 8vh, 96px));
  padding-bottom: clamp(28px, 4vh, 56px);
  overflow: hidden;
  isolation: isolate;
}

/* Fotografia di sfondo a tutta pagina */
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--ink-900); }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
}
/* Overlay nero sfumato (scuro a sinistra per i testi, scuro in basso per le card) */
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(8,8,10,.95) 0%, rgba(8,8,10,.72) 32%, rgba(8,8,10,.26) 60%, rgba(8,8,10,.5) 100%),
    linear-gradient(0deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.42) 26%, rgba(8,8,10,0) 54%),
    radial-gradient(60% 50% at 82% 16%, rgba(255,46,110,.12), transparent 60%);
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
}
.hero__copy { max-width: 660px; margin-bottom: clamp(34px, 6vh, 70px); }
.hero__eyebrow { margin-bottom: 24px; }
.hero h1 { margin-bottom: 22px; text-shadow: 0 2px 34px rgba(0,0,0,.55); }
.hero h1 em { font-style: italic; color: var(--rose-400); }
.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ice-200);
  margin-bottom: 34px;
  max-width: 52ch;
  text-shadow: 0 1px 18px rgba(0,0,0,.6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----- Le 4 card di servizio sovrapposte alla fotografia ----- */
.hero__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.3vw, 20px);
}
.hero-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 14px 15px 16px;
  border-radius: var(--r-lg);
  background: rgba(11,11,15,.52);
  border: 1px solid rgba(255,255,255,.13);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s, background .4s, box-shadow .5s;
}
.hero-card::before {
  content: "";
  position: absolute; top: 0; left: 15px; right: 15px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-500), transparent);
  opacity: .55;
}
.hero-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,46,110,.45);
  background: rgba(16,13,19,.6);
  box-shadow: var(--shadow-3), var(--shadow-rose);
}
.hero-card__preview {
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  background: rgba(7,7,10,.5);
  border: 1px solid var(--line-strong);
  margin-bottom: 13px;
  overflow: hidden;
}
.hero-card__preview img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s var(--ease-out);
}
.hero-card:hover .hero-card__preview img { transform: scale(1.05); }
.hero-card__preview .stack { height: 100%; padding: 10px; }
.hero-card__title {
  font-family: var(--font-display);
  font-size: 1.04rem; line-height: 1.16;
  color: var(--ice-050); margin-bottom: 4px;
}
.hero-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 8px;
  font-size: .82rem; font-weight: 700;
  color: var(--rose-400);
}
.hero-card__cta svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.hero-card:hover .hero-card__cta svg { transform: translateX(3px); }

/* ----- Mini-interfacce CSS riutilizzabili (anteprime realistiche) ----- */
.ui-ph { background: var(--titan-700); border-radius: 4px; }
.ui-photo {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,46,110,.5), rgba(120,30,70,.4)),
    var(--ink-700);
  position: relative;
  overflow: hidden;
}
.ui-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6));
}
.ui-row { display: flex; gap: 6px; }
.ui-line { height: 6px; border-radius: 3px; background: var(--titan-600); }
.ui-line.sm { width: 40%; }
.ui-line.md { width: 65%; }
.ui-line.lg { width: 88%; }
.ui-chip { height: 14px; border-radius: 7px; background: var(--rose-soft); border: 1px solid rgba(255,46,110,.3); }
.ui-btn { height: 20px; border-radius: 10px; background: linear-gradient(135deg, var(--rose-500), var(--rose-600)); }
.ui-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ui-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: 9px; }
.hero-card__preview .stack > .ui-photo { flex: 1; }

/* ------------------------------------------------------------------ *
 *  8. Card servizi
 * ------------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--ink-750), var(--ink-800));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,46,110,.35);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(255,46,110,.12);
}
.svc-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.svc-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.svc-card:hover .svc-card__img { transform: scale(1.04); }
/* velo per far risaltare il numero e staccare dal corpo card */
.svc-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,.1) 0%, transparent 30%, transparent 70%, rgba(8,8,10,.45) 100%);
  pointer-events: none;
}
.svc-card__num {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ice-050);
  opacity: .85;
  z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.svc-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-card__eyebrow { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-300, var(--rose-400)); font-weight: 700; margin-bottom: 12px; }
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { color: var(--mist-400); font-size: .98rem; margin-bottom: 22px; }
.svc-card .btn-link { margin-top: auto; }

/* ------------------------------------------------------------------ *
 *  9. Smart vs Premium
 * ------------------------------------------------------------------ */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
}
.tier {
  position: relative;
  padding: clamp(30px, 3.5vw, 46px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--ink-750);
  overflow: hidden;
}
.tier--smart { background: linear-gradient(180deg, var(--ink-750), var(--ink-850)); }
.tier--premium {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,46,110,.14), transparent 60%),
    linear-gradient(180deg, var(--ink-700), var(--ink-800));
  border-color: rgba(255,46,110,.3);
  box-shadow: var(--shadow-rose);
}
.tier__badge {
  position: absolute; top: 24px; right: 26px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  color: var(--rose-100);
  background: rgba(255,46,110,.14);
  border: 1px solid rgba(255,46,110,.35);
}
.tier__name { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 8px; }
.tier__desc { color: var(--mist-400); margin-bottom: 26px; }
.tier__list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.tier__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ice-200); }
.tier__list li svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; color: var(--rose-500); }

.tiers-note {
  margin-top: 28px;
  text-align: center;
  color: var(--mist-400);
  font-size: 1.02rem;
}
.tiers-note strong { color: var(--rose-200); }

/* ------------------------------------------------------------------ *
 *  10. "Perché sceglierci" — feature grid
 * ------------------------------------------------------------------ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.feat {
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: var(--ink-800);
  border: 1px solid var(--line);
  transition: border-color .4s, transform .4s var(--ease-out), background .4s;
}
.feat:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--ink-750); }
.feat__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--rose-400);
  background: rgba(255,46,110,.09);
  border: 1px solid rgba(255,46,110,.2);
}
.feat__icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feat p { color: var(--mist-400); font-size: .95rem; }

/* ------------------------------------------------------------------ *
 *  11. Timeline processo
 * ------------------------------------------------------------------ */
.timeline { position: relative; display: grid; gap: 4px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--rose-600), var(--titan-600) 60%, transparent);
}
.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
}
.tl-step__dot {
  position: relative;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ice-050);
  background: var(--ink-750);
  border: 1px solid var(--titan-600);
  z-index: 1;
  transition: border-color .4s, box-shadow .4s, color .4s;
}
.tl-step.is-visible .tl-step__dot {
  border-color: var(--rose-500);
  color: var(--rose-200);
  box-shadow: 0 0 0 5px rgba(255,46,110,.08), 0 0 26px -6px var(--rose-glow);
}
.tl-step__body { padding-top: 6px; }
.tl-step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.tl-step p { color: var(--mist-400); max-width: 60ch; }

/* ------------------------------------------------------------------ *
 *  12. Gallery concept
 * ------------------------------------------------------------------ */
.concepts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.concept {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-800);
  aspect-ratio: 16 / 10;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.concept:hover { transform: translateY(-5px); border-color: rgba(255,46,110,.3); box-shadow: var(--shadow-3); }
.concept__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.concept:hover .concept__img { transform: scale(1.05); }
.concept__canvas { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; }
.concept__tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(8,8,10,.7); color: var(--rose-200);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.concept__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(8,8,10,.92));
  font-family: var(--font-display);
  font-size: 1.1rem; color: var(--ice-050);
}

/* ------------------------------------------------------------------ *
 *  13. FAQ
 * ------------------------------------------------------------------ */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--ice-050);
}
.faq__icon {
  position: relative; flex-shrink: 0;
  width: 26px; height: 26px;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; border-radius: 2px;
  background: var(--rose-500);
  transform: translate(-50%,-50%);
  transition: transform .35s var(--ease);
}
.faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__a-inner { padding: 0 4px 26px; color: var(--mist-400); max-width: 72ch; }

/* ------------------------------------------------------------------ *
 *  14. CTA band
 * ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(90% 140% at 50% -20%, rgba(255,46,110,.22), transparent 60%),
    linear-gradient(180deg, var(--ink-700), var(--ink-850));
  border: 1px solid rgba(255,46,110,.22);
  box-shadow: var(--shadow-3);
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 18px; position: relative; }
.cta-band p { color: var(--mist-400); max-width: 56ch; margin: 0 auto 32px; position: relative; font-size: 1.1rem; }
.cta-band .btn { position: relative; }

/* ------------------------------------------------------------------ *
 *  15. Footer
 * ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(50px, 6vw, 80px) 36px;
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,46,110,.03));
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(32px, 5vw, 70px);
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}
.brand--footer { margin-bottom: 20px; }
.site-footer__claim { color: var(--mist-400); max-width: 42ch; font-size: .98rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.site-footer__h {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rose-200);
  margin-bottom: 16px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.site-footer__col a { color: var(--mist-400); font-size: .95rem; transition: color .25s; }
.site-footer__col a:hover { color: var(--ice-050); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px;
  color: var(--mist-500); font-size: .88rem;
}
.site-footer__legal a { color: var(--mist-400); }
.site-footer__legal a:hover { color: var(--rose-200); }

/* ------------------------------------------------------------------ *
 *  16. Animazioni di rivelazione allo scroll
 * ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ------------------------------------------------------------------ *
 *  17. Responsive
 * ------------------------------------------------------------------ */
/* Sotto i 1300px il menu completo non entra più (il pulsante usciva a destra): si passa al menu a tendina */
@media (max-width: 1300px) {
  .mainnav, .header-cta { display: none; }
  .navburger { display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto; padding: 8px; }
  .navburger span { width: 26px; height: 2px; background: var(--ice-050); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
  .navburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .navburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 1080px) {

  .hero__copy { max-width: none; }
  .hero__cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .concepts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .services-grid, .tiers, .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .concepts { grid-template-columns: 1fr 1fr; }

  /* Hero: foto a tutta larghezza, overlay più marcato per la leggibilità,
     card in griglia compatta 2x2 sotto ai testi */
  .hero { min-height: clamp(560px, 86vh, 760px); }
  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.55) 34%, rgba(8,8,10,.18) 70%),
      linear-gradient(90deg, rgba(8,8,10,.6), rgba(8,8,10,.3));
  }
  .hero__bg img { object-position: 74% 18%; }
}

@media (max-width: 460px) {
  .site-footer__cols { grid-template-columns: 1fr; }
  .concepts { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__cards { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ *
 *  18. Riduzione del movimento
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==================================================================== *
 *  PAGINE SERVIZIO
 * ==================================================================== */

/* Breadcrumb */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .86rem; color: var(--mist-500);
  padding-top: calc(var(--header-h) + 26px);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--mist-400); transition: color .25s; }
.breadcrumb a:hover { color: var(--rose-200); }
.breadcrumb span[aria-current] { color: var(--ice-200); }
.breadcrumb span[aria-hidden] { color: var(--titan-500); }

/* Hero interna */
.svc-hero { position: relative; padding-bottom: clamp(30px, 5vw, 60px); overflow: hidden; }
.svc-hero::before {
  content: ""; position: absolute; z-index: -1;
  top: -10%; right: -5%; width: 60%; height: 90%;
  background: radial-gradient(circle, rgba(255,46,110,.14), transparent 65%);
  filter: blur(50px);
}
.svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  perspective: 1600px;
}
.svc-hero__copy { max-width: 560px; }
.svc-hero__copy .eyebrow { margin-bottom: 20px; }
.svc-hero__copy h1 { margin-bottom: 20px; }
.svc-hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--mist-400); margin-bottom: 32px; }

/* Immagine hero più grande, con inclinazione 3D elegante e bagliore rosa */
.svc-hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-3), var(--shadow-rose);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
  will-change: transform;
}
.svc-hero__media:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 90px -24px rgba(0,0,0,.8), 0 24px 70px -20px rgba(255,46,110,.5);
}
/* Riflesso lucido discreto sopra l'immagine */
.svc-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.1) 0%, transparent 28%, transparent 100%);
  pointer-events: none;
  opacity: .7;
  transition: opacity .6s;
}
.svc-hero__media:hover::after { opacity: 1; }
.svc-hero__media img { width: 100%; height: auto; display: block; }

/* Prose (presentazione) */
.prose { max-width: 760px; }
.prose p { font-size: 1.08rem; color: var(--ice-200); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
/* Versione a tutta larghezza: paragrafi su due colonne affiancate */
.prose--full {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 60px);
}
.prose--full p { margin-bottom: 0; }
@media (max-width: 760px) {
  .prose--full { grid-template-columns: 1fr; gap: 18px; }
}

/* Split vantaggi */
.svc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.svc-split__head h2 { margin-bottom: 16px; }
.checklist { display: grid; gap: 14px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--ink-800);
  border: 1px solid var(--line);
  font-size: 1.02rem; color: var(--ice-050);
}
.checklist li svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; color: var(--rose-500); }

/* Panel (personalizzazione / gestione autonoma) */
.panel {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--ink-750);
  overflow: hidden;
}
.panel--rose {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255,46,110,.14), transparent 60%),
    var(--ink-750);
  border-color: rgba(255,46,110,.22);
}
.panel__inner { padding: clamp(30px, 4vw, 54px); max-width: 820px; }
.panel__inner .eyebrow { margin-bottom: 16px; }
.panel__inner h2 { margin-bottom: 16px; }
.panel__inner p { color: var(--mist-400); font-size: 1.06rem; }

/* Servizi correlati */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.related-card {
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--ink-800);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), border-color .4s, background .4s;
}
.related-card:hover { transform: translateY(-4px); border-color: rgba(255,46,110,.3); background: var(--ink-750); }
.related-card__eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-400); font-weight: 700; margin-bottom: 10px; }
.related-card__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--ice-050); margin-bottom: 18px; }
.related-card__arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--rose-400); }
.related-card__arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.related-card:hover .related-card__arrow svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .svc-hero__grid { grid-template-columns: 1fr; perspective: none; }
  .svc-hero__media { order: -1; transform: none; }
  .svc-hero__media:hover { transform: translateY(-4px); }
  .svc-split { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero__media { transform: none !important; }
}

/* ==================================================================== *
 *  PAGINA CONTATTI — form
 * ==================================================================== */
.contact-wrap { max-width: 820px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin-bottom: 24px;
  font-size: .98rem;
  border: 1px solid var(--line-strong);
}
.form-alert--ok { background: rgba(46,255,140,.06); border-color: rgba(46,220,130,.4); color: #d6ffe8; }
.form-alert--err { background: rgba(255,46,110,.08); border-color: rgba(255,46,110,.4); color: var(--rose-100); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ice-200); }
.field__opt { color: var(--mist-500); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--ink-800);
  border: 1px solid var(--titan-600);
  color: var(--ice-050);
  font: inherit;
  font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff4f86' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mist-500); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose-500);
  background: var(--ink-750);
  box-shadow: 0 0 0 3px rgba(255,46,110,.14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--rose-600); }
.field__err { font-size: .85rem; color: var(--rose-400); }

.field--check { gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--rose-600); }
.check span { font-size: .95rem; color: var(--mist-400); }
.check a { color: var(--rose-400); text-decoration: underline; text-underline-offset: 2px; }

.form-note { margin-top: 14px; font-size: .85rem; color: var(--mist-500); }

@media (max-width: 680px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ==================================================================== *
 *  PAGINE LEGALI
 * ==================================================================== */
.legal { max-width: 760px; }
.legal__note {
  padding: 16px 20px; margin-bottom: 30px;
  border-radius: var(--r-md);
  background: rgba(255,46,110,.06);
  border: 1px solid rgba(255,46,110,.28);
  color: var(--rose-100); font-size: .92rem;
}
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.legal p { color: var(--mist-400); margin-bottom: 12px; }
.legal strong { color: var(--ice-050); }

/* ==================================================================== *
 *  HERO SERVIZIO — variante: titolo su una riga sopra la foto,
 *  testo e bottoni a fianco dell'immagine
 * ==================================================================== */
.svc-hero2 { position: relative; }
.svc-hero2 .eyebrow { margin-bottom: 20px; }
.svc-hero2__title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ice-050);
  margin-bottom: clamp(30px, 4vw, 48px);
}
@media (min-width: 720px) {
  .svc-hero2__title {
    white-space: nowrap;
    font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  }
}
@media (max-width: 719px) {
  .svc-hero2__title { font-size: clamp(2rem, 8vw, 2.6rem); }
}
.svc-hero2__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}
.svc-hero2__sub {
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.62;
  color: var(--ice-200);
  margin-bottom: 34px;
}

@media (max-width: 900px) {
  .svc-hero2__row { grid-template-columns: 1fr; perspective: none; }
  .svc-hero2__row .svc-hero__media { order: 2; transform: none; }
  .svc-hero2__row .svc-hero__media:hover { transform: translateY(-4px); }
}

/* ==================================================================== *
 *  PAGINA CONTATTI — layout a due colonne
 * ==================================================================== */
.contact-hero { padding-bottom: clamp(24px, 3vw, 40px); }
.contact-head { max-width: 760px; }
.contact-head .eyebrow { margin-bottom: 18px; }
.contact-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.04;
  letter-spacing: -.02em; color: var(--ice-050);
  margin-bottom: 18px;
}
.contact-head .lead { margin-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

/* Colonna sinistra: garanzie */
.contact-points { display: grid; gap: 14px; }
.contact-points li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: var(--ink-800);
  border: 1px solid var(--line);
  transition: border-color .3s, background .3s, transform .4s var(--ease-out);
}
.contact-points li:hover { border-color: rgba(255,46,110,.3); background: var(--ink-750); transform: translateY(-2px); }
.contact-points__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--rose-400);
  background: rgba(255,46,110,.09);
  border: 1px solid rgba(255,46,110,.2);
}
.contact-points__icon svg { width: 20px; height: 20px; }
.contact-points li > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.contact-points strong { color: var(--ice-050); font-size: 1.02rem; }
.contact-points li > span:last-child > span { color: var(--mist-400); font-size: .92rem; line-height: 1.5; }

.contact-channels { margin-top: 20px; display: grid; gap: 10px; }
.contact-channels__lang { margin: 10px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mist-400); }
.contact-channels__lang:first-child { margin-top: 0; }
.contact-channels__item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md);
  background: rgba(255,46,110,.06); border: 1px solid rgba(255,46,110,.22);
  color: var(--ice-050); font-weight: 600;
}
.contact-channels__item svg { width: 20px; height: 20px; color: var(--rose-400); }
.contact-channels__item:hover { background: rgba(255,46,110,.1); }
.contact-note { margin-top: 20px; color: var(--mist-400); font-size: .95rem; }

/* Colonna destra: form card */
.contact-card {
  position: relative;
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,46,110,.1), transparent 55%),
    linear-gradient(180deg, var(--ink-750), var(--ink-850));
  border: 1px solid rgba(255,46,110,.22);
  box-shadow: var(--shadow-3), var(--shadow-rose);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { order: 2; }
}

/* ==========================================================================
   WhatsApp (pulsante flottante) + Banner cookie + bottone small
   ========================================================================== */

.btn--sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: .9rem; }

/* ----- WhatsApp floating action button ----- */
.wa-fab {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(16px, 4vw, 28px);
  z-index: 180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #2ee36d, #1faa53);
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6), 0 4px 10px rgba(0,0,0,.35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .45);
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 38px -8px rgba(37, 211, 102, .7), 0 6px 14px rgba(0,0,0,.4);
}
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab::after { animation: none; }
}

/* Quando il banner cookie è aperto, solleva il FAB per non sovrapporsi */
body:has(.cookie-banner.is-open) .wa-fab { bottom: clamp(140px, 22vh, 190px); }

/* ----- Banner cookie ----- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 4vw, 28px);
  transform: translate(-50%, 140%);
  z-index: 190;
  width: min(900px, calc(100% - 32px));
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(255,46,110,.12), transparent 60%),
    linear-gradient(180deg, var(--ink-750), var(--ink-850));
  border: 1px solid rgba(255,46,110,.24);
  box-shadow: var(--shadow-3);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cookie-banner.is-open { transform: translate(-50%, 0); opacity: 1; }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 22px;
}
.cookie-banner__text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--mist-400);
}
.cookie-banner__text a { color: var(--rose-200); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* Canale WhatsApp nella pagina contatti (accento verde) */
.contact-channels__item--wa svg { color: #25d366; width: 22px; height: 22px; }
.contact-channels__item--wa:hover { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.4); }

/* ==========================================================================
   Pagine legali (Termini / Privacy / Cookie) — layout a tutta larghezza
   ========================================================================== */

.legal-hero {
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 64px));
  padding-bottom: clamp(24px, 4vw, 44px);
}
.legal-hero__title {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
  color: var(--ice-050);
}
.legal-hero__sub {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--rose-200);
  max-width: 70ch;
}
.legal-hero__date {
  margin: 18px 0 0;
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--mist-400);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-800);
}

/* Documento a blocchi numerati, due colonne a tutta larghezza del sito */
.legal-doc { width: 100%; }
.legal-block {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(22px, 4vw, 70px);
  padding: clamp(26px, 3.4vw, 42px) 0;
  border-top: 1px solid var(--line);
}
.legal-block:first-child { border-top: none; padding-top: clamp(8px, 1.5vw, 18px); }

.legal-block__head { align-self: start; }
@media (min-width: 861px) {
  .legal-block__head { position: sticky; top: calc(var(--header-h) + 22px); }
}
.legal-block__num {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--rose-500);
  margin-bottom: 10px;
}
.legal-block__title {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
  color: var(--ice-050);
  margin: 0;
}

.legal-block__body > *:first-child { margin-top: 0; }
.legal-block__body p {
  color: var(--mist-400);
  line-height: 1.72;
  margin: 0 0 15px;
  max-width: 74ch;
}
.legal-block__body p:last-child { margin-bottom: 0; }
.legal-block__body strong { color: var(--ice-050); font-weight: 600; }
.legal-block__body a { color: var(--rose-200); text-decoration: underline; text-underline-offset: 2px; }
.legal-block__body a:hover { color: var(--rose-400); }

.legal-list {
  list-style: none;
  margin: 2px 0 15px;
  padding: 0;
  max-width: 74ch;
  display: grid;
  gap: 10px;
}
.legal-list li {
  position: relative;
  padding-left: 24px;
  color: var(--mist-400);
  line-height: 1.68;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
}

.legal-contact {
  font-style: normal;
  display: grid;
  gap: 4px;
  margin: 2px 0 15px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,46,110,.22);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255,46,110,.09), transparent 60%),
    var(--ink-800);
  max-width: 440px;
}
.legal-contact strong { color: var(--ice-050); font-size: 1.02rem; }
.legal-contact span { color: var(--mist-400); font-size: .95rem; }
.legal-contact a { color: var(--rose-200); }

@media (max-width: 860px) {
  .legal-block { grid-template-columns: 1fr; gap: 12px; }
  .legal-block__num { margin-bottom: 6px; }
}

/* ==========================================================================
   Portfolio — Lavori realizzati (card con cornice browser)
   ========================================================================== */

.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
}

.work {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink-750), var(--ink-850));
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.work:hover {
  transform: translateY(-6px);
  border-color: rgba(255,46,110,.4);
  box-shadow: var(--shadow-3), 0 0 32px -10px var(--rose-glow);
}

/* Cornice tipo finestra browser */
.work__frame { background: var(--ink-900); }
.work__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--ink-800);
  border-bottom: 1px solid var(--line);
}
.work__dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.work__dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-650);
}
.work__dots i:first-child { background: #ff5f57; }
.work__dots i:nth-child(2) { background: #febc2e; }
.work__dots i:nth-child(3) { background: #28c840; }
.work__url {
  flex: 1;
  text-align: center;
  font-size: .78rem;
  color: var(--mist-400);
  background: var(--ink-750);
  border-radius: 7px;
  padding: 4px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work__shot {
  position: relative;
  aspect-ratio: 1200 / 481;
  overflow: hidden;
  background: var(--ink-800);
}
.work__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s var(--ease);
}
.work:hover .work__shot img { transform: scale(1.04); }

.work__body {
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.work__tag {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-400);
}
.work__name {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 1.3rem;
  color: var(--ice-050);
  margin: 0;
}
.work__desc {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--mist-400);
  margin: 0;
  flex: 1;
}
.work__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--rose-200);
}
.work__cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.work:hover .work__cta { color: var(--rose-400); }
.work:hover .work__cta svg { transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .works { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .works { grid-template-columns: 1fr; }
}
