/* Maori Group - foglio di stile
   Stesso linguaggio di Maori ESCO e Hammer & Drill (etichette con trattino, pulsanti ad anello, card, vetro),
   con il blu del logo Maori Group e un serif (Fraunces) per i titoli, in dialogo con il marchio "MAORI". */

/* Font ospitati in locale (Google Fonts, licenza OFL): nessuna richiesta a server esterni.
   Entrambi variabili: un solo file per tutti i pesi. */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dmsans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dmsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/dmsans-italic-latin.woff2") format("woff2");
}

:root {
  --navy: #0a1822;
  --navy-2: #11293b;
  --blue: #1379b2;
  --blue-dark: #0f6394;
  --blue-light: #4ba3d9;
  --blue-rgb: 19, 121, 178;
  --ink: #0a1822;
  --text: #56636f;
  --mist: #f1f5f8;
  --line: #e1e8ee;
  --white: #fff;
  --vodafone: #e60000;
  --tim: #0033a0;
  --windtre: #ff6a00;
  --radius: 18px;
  --container: 1280px;
  --header-h: 76px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 30px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 700; }
button { font: inherit; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--text { max-width: 860px; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--white); padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue-light); outline-offset: 3px;
}

/* ---------------------------------------------------------------- tipografia */
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 120; }
.display em { font-style: italic; font-weight: 400; color: var(--blue); }
.heading--light .display, .display--light { color: var(--white); }
.heading--light .display em { color: var(--blue-light); }
.heading .display { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.6rem); margin: 0; }
.heading--center { text-align: center; }
.heading--center .eyebrow { justify-content: center; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font: 600 13px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light, .heading--light .eyebrow { color: var(--blue-light); }
.lead { font: 400 clamp(1.15rem, 1rem + .45vw, 1.4rem)/1.5 var(--font-body); color: var(--ink); letter-spacing: -.01em; }
.rich { font-size: 17px; line-height: 1.75; }
.rich p:last-child { margin-bottom: 0; }
.rich img { border-radius: var(--radius); margin: 1.4em 0; height: auto; }
.rich h2, .rich h3 { font-family: var(--font-display); font-weight: 500; margin-top: 1.4em; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin-bottom: .4em; }
.rich a { text-underline-offset: 3px; }
.rich blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue); font: italic 400 1.3rem/1.5 var(--font-display); color: var(--ink); }

.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 70px) 0; }
.section--mist { background: var(--mist); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head__text { max-width: 440px; margin: 0; font-size: 17px; }

.dot {
  display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: var(--white);
}
.dot svg { width: 21px; height: 21px; }

/* ---------------------------------------------------------------- pulsanti */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 50px;
  font: 600 16px/1.2 var(--font-body); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--blue); color: var(--white); transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { color: var(--white); background: var(--blue-dark); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
/* principale: icona su cerchio bianco, anello blu staccato */
.btn--primary { padding: 8px 28px 8px 8px; outline: 2px solid var(--blue); outline-offset: 3px; }
.btn--primary svg { box-sizing: border-box; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--white); color: var(--blue); }
/* ad anello: bianco, icona su cerchio blu (come Maori ESCO) */
.btn--ring { padding: 8px 28px 8px 8px; background: var(--white); color: var(--ink); outline: 2px solid var(--blue); outline-offset: 3px; }
.btn--ring svg { box-sizing: border-box; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--blue); color: var(--white); transition: background .25s, color .25s; }
.btn--ring:hover { background: var(--blue); color: var(--white); }
.btn--ring:hover svg { background: var(--white); color: var(--blue); }
.btn--light { padding: 8px 28px 8px 8px; background: var(--white); color: var(--ink); }
.btn--light svg { box-sizing: border-box; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--blue); color: var(--white); }
.btn--light:hover { background: var(--blue-light); color: var(--navy); }
.btn--glass {
  background: rgba(255, 255, 255, .1); color: var(--white); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: var(--white); color: var(--ink); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--blue); }
.btn[disabled] { opacity: .6; cursor: wait; }
.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: var(--white); color: var(--blue); outline: 2px solid var(--blue); outline-offset: 3px; cursor: pointer;
  text-decoration: none; transition: background .2s, color .2s, opacity .2s;
}
.round-btn:hover { background: var(--blue); color: var(--white); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn--light { background: transparent; color: var(--white); outline-color: rgba(255, 255, 255, .45); }
.round-btn--light:hover { background: var(--white); color: var(--navy); }
.round-btn:disabled { opacity: .3; cursor: default; }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--white); transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.icon-btn svg { width: 16px; height: 16px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 30px; font: 600 11px/1.5 var(--font-body);
  letter-spacing: .08em; text-transform: uppercase; background: rgba(var(--blue-rgb), .1); color: var(--blue); text-decoration: none;
}
a.tag:hover { background: var(--blue); color: var(--white); }

/* ---------------------------------------------------------------- header: barra a pillola in vetro, staccata dal bordo */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 40; pointer-events: none; }
.site-header__bar {
  pointer-events: auto; position: relative; z-index: 2;
  width: min(100% - 28px, 1440px); margin-inline: auto; min-height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 0 12px 0 22px; border-radius: 60px;
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 40px rgba(10, 24, 34, .12);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  transition: background .3s, box-shadow .3s, transform .45s var(--ease);
}
.site-header.is-scrolled .site-header__bar { background: rgba(255, 255, 255, .92); box-shadow: 0 10px 40px rgba(10, 24, 34, .18); }
.site-header.is-hidden:not(.is-open) .site-header__bar { transform: translateY(calc(-100% - 20px)); }
.site-header__logo img { width: 74px; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__actions .btn { margin-left: 6px; }

.main-nav { justify-self: center; }
.main-nav > ul { position: relative; list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; } /* riferimento per la linea */
.main-nav__link {
  position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font: 600 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.main-nav__link:hover, .main-nav__link.is-current, .main-nav__link[aria-expanded="true"] { color: var(--blue); }
/* linea unica che scivola sotto la voce attiva o quella sotto il mouse (come hammeranddrill.it e maoriesco.it); la posiziona main.js */
.main-nav__indicator {
  position: absolute; bottom: 2px; left: 0; width: 0; height: 2px; border-radius: 2px; pointer-events: none; opacity: 0;
  background: var(--blue); box-shadow: 0 0 10px 1px rgba(var(--blue-rgb), .75);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), width .4s cubic-bezier(.4, 0, .2, 1), opacity .25s;
}
.main-nav__indicator.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .main-nav__indicator { transition: opacity .25s; } }
.main-nav__chev { width: 14px; height: 14px; transition: transform .3s; }
.main-nav__link[aria-expanded="true"] .main-nav__chev { transform: rotate(180deg); }

/* pannello "Settori" */
.mega {
  pointer-events: auto; position: relative; z-index: 1;
  width: min(100% - 28px, 1200px); margin: 10px auto 0; padding: 26px; border-radius: 28px;
  background: rgba(255, 255, 255, .96); box-shadow: 0 30px 80px rgba(10, 24, 34, .22);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  animation: mega-in .35s var(--ease);
}
.mega[hidden] { display: none; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 20px; }
.mega__title { margin: 0 0 10px 10px; font: 600 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.mega__title a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); text-decoration: none; }
.mega__title svg { width: 14px; height: 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--ink);
  transition: background .2s;
}
.mega li a:hover, .mega li a[aria-current] { background: var(--mist); }
.mega li strong { display: block; font-size: 15px; line-height: 1.3; }
.mega li small { display: block; font-size: 13px; line-height: 1.4; color: var(--text); }
.mega__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(var(--blue-rgb), .1); color: var(--blue); transition: background .2s, color .2s; }
.mega li a:hover .mega__icon { background: var(--blue); color: var(--white); }
.mega__icon svg { width: 18px; height: 18px; }
.mega__card { position: relative; display: flex; align-items: flex-end; min-height: 100%; overflow: hidden; border-radius: 20px; color: var(--white); text-decoration: none; isolation: isolate; }
.mega__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.mega__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 34, .05), rgba(10, 24, 34, .88)); }
.mega__card:hover img { transform: scale(1.06); }
.mega__card-text { padding: 20px; }
.mega__card small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-light); }
.mega__card strong { display: block; color: var(--white); font: 500 1.7rem/1.1 var(--font-display); margin: 4px 0; }
.mega__card span span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.mega__card svg { width: 15px; height: 15px; }

.menu-toggle { display: none; gap: 5px; width: 44px; height: 44px; padding: 13px 11px; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 35; overflow-y: auto;
  padding: calc(var(--header-h) + 50px) 28px 40px; background: var(--navy); color: var(--white);
  animation: fade-in .3s;
}
.mobile-menu[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } }
.mobile-menu > ul, .mobile-menu details ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li > a, .mobile-menu summary {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 0;
  font: 500 clamp(1.7rem, 1.2rem + 2vw, 2.4rem)/1.2 var(--font-display); color: var(--white); text-decoration: none; cursor: pointer; list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 26px; height: 26px; transition: transform .3s; }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mobile-menu details ul { padding: 8px 0 12px 4px; }
.mobile-menu details a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .75); text-decoration: none; font-size: 18px; }
.mobile-menu a:hover { color: var(--blue-light); }
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 30px; }
.mobile-menu__foot a { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .8); text-decoration: none; }
.mobile-menu__foot svg { width: 18px; height: 18px; color: var(--blue-light); }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero della home */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 60px) 0 30px; color: var(--white); background: var(--navy);
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 8s linear;
}
.hero__slides img.is-on { opacity: 1; transform: scale(1); }
.hero::before { /* velo blu: più scuro a sinistra e in basso, dove stanno testo e numeri */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 24, 34, .9) 0%, rgba(10, 24, 34, .55) 45%, rgba(10, 24, 34, .15) 100%),
    linear-gradient(0deg, rgba(10, 24, 34, .9) 0%, transparent 45%);
}
.hero::after { /* bagliore blu */
  content: ""; position: absolute; z-index: -1; left: -15%; bottom: -40%; width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(var(--blue-rgb), .35), transparent 60%); pointer-events: none;
}
.hero__inner { margin-block: auto; }
.hero__title { font-size: clamp(3.2rem, min(1rem + 7.5vw, 15vh), 8.6rem); line-height: .98; color: var(--white); margin: 0 0 .35em; letter-spacing: -.035em; font-weight: 400; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > * { display: inline-block; }
.hero__title em {
  font-weight: 300; padding-right: .06em;
  background: linear-gradient(100deg, #8fd0f7 0%, var(--blue-light) 45%, #d7eefc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(255, 255, 255, .85); margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.hero__actions .btn--primary { outline-color: rgba(255, 255, 255, .5); }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 40px; }
.hero-stats {
  list-style: none; margin: 0; padding: 18px 8px; display: grid; grid-template-columns: repeat(4, auto); border-radius: 22px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.hero-stats li { padding: 0 clamp(16px, 2.4vw, 36px); border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-stats li:first-child { border-left: 0; }
.hero-stats strong { display: block; font: 400 clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem)/1 var(--font-display); color: var(--white); letter-spacing: -.02em; }
.hero-stats li > span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero__progress { display: grid; justify-items: end; gap: 10px; }
.hero__counter { font: 400 15px/1 var(--font-display); color: rgba(255, 255, 255, .6); letter-spacing: .08em; }
.hero__counter b { font-weight: 500; color: var(--white); font-size: 22px; }
.hero__bars { display: flex; gap: 6px; }
.hero__bars i { position: relative; width: 38px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__bars i::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__bars i.is-done::after { transform: scaleX(1); }
.hero__bars i.is-on::after { animation: bar var(--slide-ms, 6000ms) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero__scroll { position: absolute; right: clamp(16px, 2.2vw, 34px); bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; } /* sul lato destro, fuori dalla colonna dei contenuti */
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* entrata del titolo, riga per riga (solo con JS attivo) */
.js .hero__title .line > * { transform: translateY(105%); }
.js.is-loaded .hero__title .line > * { transform: none; transition: transform 1.2s var(--ease); }
.js.is-loaded .hero__title .line:nth-child(2) > * { transition-delay: .12s; }

/* ---------------------------------------------------------------- chi siamo */
.intro { overflow: hidden; }
.intro::before {
  content: ""; position: absolute; top: -200px; right: -220px; width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--blue-rgb), .12), transparent 65%);
}
.intro__grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.intro__head .btn { margin-top: 34px; }
.intro__text > p:not(.lead) { font-size: 17px; }
.intro__pillars { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.intro__pillars li {
  padding: 22px; border-radius: var(--radius); background: var(--mist); border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
}
.section--mist .intro__pillars li { background: var(--white); }
.intro__pillars li:hover { transform: translateY(-4px); background: var(--white); border-color: var(--line); box-shadow: 0 18px 40px rgba(10, 24, 34, .08); }
.intro__pillars strong { display: block; margin: 16px 0 4px; font-size: 1.1rem; }
.intro__pillars span:last-child { font-size: 14px; line-height: 1.5; display: block; }

/* ---------------------------------------------------------------- settori: mosaico */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(290px, auto); gap: 16px; }
.bento__item {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 290px; padding: 96px 26px 26px; border-radius: 24px; color: var(--white); text-decoration: none; background: var(--navy);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.bento__item--1 { grid-column: span 2; grid-row: span 2; }
.bento__item img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 34, 0) 20%, rgba(10, 24, 34, .9) 100%); transition: background .45s; }
.bento__item:hover { color: var(--white); transform: translateY(-4px); box-shadow: 0 28px 60px rgba(10, 24, 34, .25); }
.bento__item:hover img { transform: scale(1.07); }
.bento__item:hover::before { background: linear-gradient(180deg, rgba(19, 121, 178, .15) 0%, rgba(10, 24, 34, .92) 100%); }
.bento__icon { position: absolute; top: 22px; left: 22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--blue); }
.bento__icon svg { width: 22px; height: 22px; }
.bento__arrow {
  position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4); transition: background .3s, border-color .3s, transform .45s var(--ease);
}
.bento__arrow svg { width: 18px; height: 18px; }
.bento__item:hover .bento__arrow { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }
.bento__title { display: block; font: 500 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.1 var(--font-display); margin-bottom: 8px; }
.bento__item--1 .bento__title { font-size: clamp(2rem, 1.2rem + 2vw, 3.2rem); }
.bento__text { display: block; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 560px; }
.bento__item:not(.bento__item--1) .bento__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bento__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bento__tags span { padding: 5px 14px; border-radius: 30px; font-size: 13px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------------------------------------------------------------- storia (timeline orizzontale) */
.story { background: var(--navy); color: rgba(255, 255, 255, .72); overflow: hidden; }
.story::before {
  content: ""; position: absolute; top: -300px; right: -200px; width: 800px; height: 800px; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--blue-rgb), .3), transparent 65%);
}
.story__nav { display: flex; gap: 14px; }
.timeline { position: relative; }
.timeline__track {
  list-style: none; margin: 0; padding: 0 max(20px, calc((100vw - var(--container)) / 2)) 10px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: max(20px, calc((100vw - var(--container)) / 2));
  padding-top: 10px; margin-top: -10px; /* spazio per il sollevamento della card: altrimenti il bordo superiore viene tagliato */
  cursor: grab;
}
.timeline__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.timeline__track::-webkit-scrollbar { display: none; }
.timeline__step {
  position: relative; scroll-snap-align: start; padding: 30px 28px 32px; border-radius: 24px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  transition: background .35s, border-color .35s, transform .45s var(--ease);
}
.timeline__step:hover { background: rgba(var(--blue-rgb), .14); border-color: rgba(var(--blue-rgb), .5); transform: translateY(-4px); }
.timeline__year {
  display: block; font: 300 clamp(3.4rem, 2.6rem + 2vw, 4.6rem)/1 var(--font-display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); margin-bottom: 22px; transition: color .35s, -webkit-text-stroke-color .35s;
}
.timeline__step:hover .timeline__year { color: var(--white); -webkit-text-stroke-color: transparent; }
.timeline__dot { position: absolute; top: 30px; right: 26px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: var(--white); box-shadow: 0 0 0 6px rgba(var(--blue-rgb), .2); }
.timeline__dot svg { width: 19px; height: 19px; }
.timeline__step h3 { color: var(--white); font: 500 1.4rem/1.2 var(--font-display); }
.timeline__step p { font-size: 15px; line-height: 1.6; margin: 0; }
.timeline__bar { width: min(100% - 40px, var(--container)); margin: 34px auto 0; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.timeline__bar { overflow: visible; }
.timeline__bar span { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); box-shadow: 0 0 10px 1px rgba(75, 163, 217, .7); transition: width .2s; }

/* ---------------------------------------------------------------- negozi (home) */
.stores-teaser__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.stores-teaser .lead { margin: 22px 0 34px; }
.brand-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-tile {
  --c: var(--blue); position: relative; display: grid; gap: 4px; padding: 26px; border-radius: 24px; min-height: 170px; align-content: end;
  background: var(--mist); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color .35s, transform .45s var(--ease);
}
.brand-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: translateY(101%); transition: transform .5s var(--ease); }
.brand-tile:hover { color: var(--white); transform: translateY(-4px); }
.brand-tile:hover::before { transform: none; }
.brand-tile--vodafone { --c: var(--vodafone); } .brand-tile--tim { --c: var(--tim); } .brand-tile--windtre { --c: var(--windtre); }
.brand-tile__n { font: 400 clamp(3rem, 2rem + 2.4vw, 4.4rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--c); transition: color .35s; }
.brand-tile:hover .brand-tile__n, .brand-tile:hover strong { color: var(--white); }
.brand-tile__label { font-size: 15px; }
.brand-tiles__wide { grid-column: 1 / -1; }
.brand-tile--corner { min-height: 0; grid-template-columns: 1fr auto; align-items: center; padding: 22px 26px; background: var(--navy); color: rgba(255, 255, 255, .75); }
.brand-tile--corner::before { background: var(--blue); }
.brand-tile--corner strong { display: block; color: var(--white); font: 500 1.35rem/1.2 var(--font-display); }
.brand-tile--corner .brand-tile__chains { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font: 800 14px/1.2 var(--font-body); letter-spacing: -.01em; }
.brand-tile--corner .brand-tile__chains span { color: var(--c2); transition: color .35s; }
.brand-tile--corner:hover .brand-tile__chains span { color: var(--white); }
.brand-tile--corner .brand-tile__arrow { position: static; color: var(--white); }
.brand-tile__arrow { position: absolute; top: 22px; right: 22px; width: 22px; height: 22px; transition: transform .35s; }
.brand-tile:hover .brand-tile__arrow { transform: translate(3px, -3px); }

/* ---------------------------------------------------------------- team (home) */
.team-teaser__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.team-teaser .heading { margin-bottom: 24px; }
.team-teaser .btn { margin-top: 12px; }
.team-teaser__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.team-teaser__photos figure { margin: 0; position: relative; overflow: hidden; border-radius: 22px; background: var(--white); }
.team-teaser__photos figure:nth-child(2) { margin-top: 60px; }
.team-teaser__photos figure:nth-child(3) { margin-top: 20px; }
.team-teaser__photos img { width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.team-teaser__photos figure:hover img { transform: scale(1.05); }
.team-teaser__photos figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 14px; font-size: 12px; line-height: 1.35;
  background: rgba(255, 255, 255, .85); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.team-teaser__photos figcaption strong { display: block; font-size: 14px; }

/* ---------------------------------------------------------------- news */
.news-home { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.news-home__list { display: grid; gap: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-lead { margin-bottom: 24px; }
.news-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.section--mist .news-card { border-color: transparent; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(10, 24, 34, .1); border-color: transparent; }
.news-card__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 13px; }
.news-card h3 { font: 500 1.3rem/1.25 var(--font-display); margin: 0 0 10px; letter-spacing: -.01em; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; } /* card interamente cliccabile */
.news-card h3 a:hover { color: var(--blue); }
.news-card__excerpt { font-size: 15px; line-height: 1.6; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 600; font-size: 14px; color: var(--blue); }
.news-card__more svg { width: 16px; height: 16px; transition: transform .3s; }
.news-card:hover .news-card__more svg { transform: translateX(4px); }
/* in evidenza: immagine grande con testo sopra */
.news-card--featured { min-height: 520px; justify-content: flex-end; color: var(--white); border: 0; isolation: isolate; background: var(--navy); }
.news-card--featured .news-card__img { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; }
.news-card--featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 34, 0) 30%, rgba(10, 24, 34, .92) 100%); }
.news-card--featured .news-card__body { flex: none; padding: clamp(24px, 3vw, 40px); }
.news-card--featured h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }
.news-card--featured h3 a, .news-card--featured .news-card__more { color: var(--white); }
.news-card--featured .news-card__excerpt { color: rgba(255, 255, 255, .78); max-width: 640px; }
.news-card--featured .news-card__meta { color: rgba(255, 255, 255, .75); }
.news-card--featured .tag { background: var(--blue); color: var(--white); }
/* mini: miniatura a sinistra */
.news-card--mini { flex-direction: row; align-items: stretch; border-radius: 18px; }
.news-card--mini .news-card__img { width: 150px; flex: none; aspect-ratio: auto; }
.news-card--mini .news-card__body { padding: 16px 20px; }
.news-card--mini h3 { font-size: 1.08rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card--mini .news-card__meta { margin-bottom: 8px; }

/* ---------------------------------------------------------------- fascia "Lavora con noi" */
.cta-band { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0; background: var(--navy); color: rgba(255, 255, 255, .75); }
.cta-band::before { content: ""; position: absolute; left: -200px; top: -300px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(var(--blue-rgb), .35), transparent 65%); pointer-events: none; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: clamp(300px, 34vw, 560px); aspect-ratio: 1000 / 485;
  background: var(--blue-light); opacity: .14; pointer-events: none;
  -webkit-mask: url("../img/maori-group-fin.png") center / contain no-repeat; mask: url("../img/maori-group-fin.png") center / contain no-repeat;
}
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; }
.cta-band__inner > div { max-width: 680px; }
.cta-band h2 { font-size: clamp(2.6rem, 1.4rem + 4vw, 5.2rem); color: var(--white); margin-bottom: .25em; line-height: 1; }
.cta-band h2 em { color: var(--blue-light); }
.cta-band p:last-child { margin: 0; font-size: 18px; }

/* ---------------------------------------------------------------- contatti + form */
.contact { overflow: hidden; }
.contact__grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.contact .lead { margin: 22px 0 30px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 12px 18px 12px 12px;
  border-radius: var(--radius); background: var(--mist); color: var(--ink); text-decoration: none; border: 1px solid transparent;
  transition: border-color .25s, background .25s, transform .25s;
}
.contact-item:hover { color: var(--ink); background: var(--white); border-color: rgba(var(--blue-rgb), .4); transform: translateY(-2px); }
.contact-item small { display: block; font-size: 12px; color: var(--text); letter-spacing: .04em; }
.contact-item__arrow { width: 18px; height: 18px; color: var(--blue); }
.form-card { position: relative; padding: clamp(26px, 4vw, 48px); border-radius: 28px; background: var(--white); box-shadow: 0 30px 70px rgba(10, 24, 34, .1); border: 1px solid var(--line); }
.form-card__head { margin-bottom: 24px; }
.form-card__head h3 { font: 500 1.8rem/1.2 var(--font-display); margin-bottom: .2em; }
.form-card__head p { font-size: 14px; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field small { font-weight: 400; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--mist); border: 1.5px solid transparent; border-radius: 12px; resize: vertical; appearance: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231379b2' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background-color: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .15); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select, .field.is-invalid .file-drop { border-color: #c0392b; background-color: #fdf3f2; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; cursor: pointer;
  border: 1.5px dashed #b9c6d1; background: var(--mist); font-size: 15px; transition: border-color .2s, background .2s;
}
.file-drop svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.field--file:hover .file-drop, .file-drop.is-over { border-color: var(--blue); background: rgba(var(--blue-rgb), .06); }
.field--file input:focus-visible + .file-drop { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.file-drop.has-file { border-style: solid; border-color: var(--blue); color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; margin: 4px 0 24px; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; cursor: pointer;
  border: 1.5px solid #bfc9d2; border-radius: 6px; background: var(--white); display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--white); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { font-weight: 600; }
.check.is-invalid span { color: #c0392b; }
.check.is-invalid input { border-color: #c0392b; }
.form-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-status { margin: 0; font-size: 14px; min-height: 1.5em; }
.form-status.is-ok { color: #1c7a3c; }
.form-status.is-error { color: #c0392b; }

/* ---------------------------------------------------------------- testata delle pagine interne */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(420px, 62vh, 620px); padding: calc(var(--header-h) + 70px) 0 clamp(40px, 6vw, 80px); color: var(--white); background: var(--navy);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 12s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .page-hero__bg { animation: none; } }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 24, 34, .88) 0%, rgba(10, 24, 34, .45) 60%, rgba(10, 24, 34, .2) 100%),
              linear-gradient(0deg, rgba(10, 24, 34, .75) 0%, transparent 55%);
}
.page-hero .display--xl { font-size: clamp(2.8rem, 1.4rem + 5vw, 6.2rem); line-height: 1; color: var(--white); margin: 0; font-weight: 400; letter-spacing: -.035em; max-width: 14em; }
.page-hero .display em { color: var(--blue-light); }
.page-hero__lead { max-width: 640px; margin: 22px 0 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(255, 255, 255, .85); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb [aria-current] { color: var(--white); }
.breadcrumb--dark { color: var(--text); }
.breadcrumb--dark a { color: var(--blue); }
.breadcrumb--dark [aria-current] { color: var(--ink); }

/* ---------------------------------------------------------------- gruppo */
.stats-row { list-style: none; margin: clamp(50px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats-row li { padding: 30px 20px 0; border-left: 1px solid var(--line); }
.stats-row li:first-child { border-left: 0; padding-left: 0; }
.stats-row strong { display: block; font: 400 clamp(2.6rem, 1.8rem + 2.4vw, 4.4rem)/1 var(--font-display); color: var(--blue); letter-spacing: -.03em; margin-bottom: 8px; }
.companies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.company { padding: 26px; border-radius: 22px; background: var(--white); transition: transform .4s var(--ease), box-shadow .4s; }
.company:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10, 24, 34, .08); }
.company--wide { grid-column: span var(--span, 2); }
.company--dark { background: var(--navy); color: rgba(255, 255, 255, .8); }
.company h3 { font: 500 1.5rem/1.2 var(--font-display); margin: 18px 0 12px; }
.company--dark h3 { color: var(--white); font-size: 2rem; }
.company ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.company li { padding: 6px 14px; border-radius: 30px; font-size: 14px; font-weight: 600; background: var(--mist); color: var(--ink); }
.company--dark li { background: rgba(255, 255, 255, .08); color: var(--white); border: 1px solid rgba(255, 255, 255, .15); }
.sister-sites { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sister {
  position: relative; display: grid; gap: 4px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); color: var(--text); text-decoration: none; height: 100%;
  transition: border-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.sister:hover { color: var(--text); border-color: rgba(var(--blue-rgb), .4); box-shadow: 0 20px 44px rgba(10, 24, 34, .08); transform: translateY(-4px); }
.sister .dot { margin-bottom: 14px; }
.sister strong { font: 500 1.6rem/1.2 var(--font-display); }
.sister small { margin-top: 10px; color: var(--blue); font-weight: 600; }
.sister__arrow { position: absolute; top: 28px; right: 28px; width: 22px; height: 22px; color: var(--blue); transition: transform .3s; }
.sister:hover .sister__arrow { transform: translate(3px, -3px); }
.offices { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.offices .heading { margin-bottom: 20px; }
.offices__map { margin: 0; border-radius: 26px; overflow: hidden; background: var(--white); box-shadow: 0 24px 60px rgba(10, 24, 34, .1); }

/* ---------------------------------------------------------------- team */
.founders .heading { margin-bottom: clamp(30px, 4vw, 50px); }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(24px, 3vw, 40px) 0; }
.founder--flip .founder__photo { order: 2; }
.founder__photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: var(--mist); }
.founder__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(var(--blue-rgb), .25), transparent); }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.founder h3 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); margin: 0 0 8px; }
.founder__role { font-weight: 600; color: var(--blue); margin-bottom: 20px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 18px; }
.person figure { margin: 0 0 14px; border-radius: 20px; overflow: hidden; background: var(--white); }
.section:not(.section--mist) .person figure { background: var(--mist); }
.person img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; filter: grayscale(.35); transition: filter .5s, transform .8s var(--ease); }
.person:hover img { filter: none; transform: scale(1.04); }
.person h3 { font: 500 1.2rem/1.25 var(--font-display); margin: 0 0 4px; }
.person p { font-size: 14px; line-height: 1.45; margin: 0; }

/* ---------------------------------------------------------------- telefonia e negozi */
.brand-cards { list-style: none; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.brand-card--corner::before { background: linear-gradient(180deg, rgba(19, 121, 178, .25) 20%, rgba(10, 24, 34, .92)); }
.brand-card {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 320px; padding: 24px; overflow: hidden;
  border-radius: 24px; color: var(--white); text-decoration: none; transition: transform .45s var(--ease);
}
.brand-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.brand-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10, 24, 34, .9)); }
.brand-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--brand); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.brand-card:hover { color: var(--white); transform: translateY(-4px); }
.brand-card:hover img { transform: scale(1.07); }
.brand-card:hover::after { transform: none; }
.brand-card strong { display: block; color: var(--white); font: 500 2rem/1.1 var(--font-display); }
.brand-card__body span { font-size: 14px; color: rgba(255, 255, 255, .8); }
.brand-card__arrow { position: absolute; top: 22px; right: 22px; width: 24px; height: 24px; transition: transform .3s; }
.brand-card:hover .brand-card__arrow { transform: translate(3px, -3px); }
.search { position: relative; display: block; width: min(100%, 360px); }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--blue); }
.search input { width: 100%; padding: 14px 18px 14px 48px; font: inherit; font-size: 16px; border-radius: 40px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .15); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 40px; cursor: pointer; text-decoration: none;
  font: 600 14px/1.2 var(--font-body); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); transition: background .2s, color .2s, border-color .2s;
}
.section:not(.section--mist) .chip { background: var(--mist); border-color: transparent; }
.chip span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 20px; font-size: 12px; background: rgba(var(--blue-rgb), .1); color: var(--blue); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.filters .chip[aria-pressed="true"], .filters .chip[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip[aria-pressed="true"] span, .chip[aria-current] span { background: rgba(255, 255, 255, .15); color: var(--white); }
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--white); transition: transform .4s var(--ease), box-shadow .4s; }
.store[hidden] { display: none; }
.store:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(10, 24, 34, .1); }
.store__photos { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.store__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s, transform 6s linear; transform: scale(1.06); }
.store__photos img.is-on { opacity: 1; transform: scale(1); }
.store__brand { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 30px; font: 700 12px/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--blue); }
.store__brand--vodafone { background: var(--vodafone); } .store__brand--tim { background: var(--tim); } .store__brand--windtre { background: var(--windtre); }
/* card del negozio: chip di solo colore in alto a sinistra, email come sola icona in alto a destra */
.store__brand--dot { top: 23px; width: 44px; height: 18px; padding: 0; box-shadow: 0 4px 12px rgba(10, 24, 34, .25); }
.store__mail { position: absolute; right: 14px; top: 12px; padding: 0; border: 0; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--blue); box-shadow: 0 4px 12px rgba(10, 24, 34, .2); transition: background .25s, color .25s; }
.store__mail svg { width: 18px; height: 18px; }
.store__mail:hover, .store__mail:focus-visible { background: var(--blue); color: var(--white); }
.store__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.store h3 { font: 500 1.5rem/1.2 var(--font-display); margin-bottom: 8px; }
.store__address { display: flex; gap: 8px; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.store__address svg, .store__links svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--blue); }
.store__links { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.store__links a { display: flex; gap: 8px; color: var(--text); text-decoration: none; min-width: 0; }
.store__links a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store__links a:hover { color: var(--blue); }
.store__maps { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; align-self: flex-start; padding: 9px 18px; border-radius: 30px; font-weight: 600; font-size: 14px; text-decoration: none; background: var(--mist); color: var(--ink); transition: background .2s, color .2s; }
.store__maps:hover { background: var(--blue); color: var(--white); }
.store__maps svg { width: 16px; height: 16px; }
.stores__empty { text-align: center; padding: 40px 0; font-size: 18px; }

/* ---------------------------------------------------------------- corner nelle catene di elettronica */
.corners { background: var(--navy); color: rgba(255, 255, 255, .72); overflow: hidden; }
.corners::before {
  content: ""; position: absolute; left: -260px; bottom: -320px; width: 820px; height: 820px; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--blue-rgb), .32), transparent 65%);
}
.corners .section-head__text { color: rgba(255, 255, 255, .72); max-width: 520px; }
.corners__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.corner-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 480px;
  padding: clamp(24px, 3vw, 38px); border-radius: 28px; color: var(--white); text-decoration: none; background: var(--navy-2);
}
.corner-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.corner-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 34, 0) 15%, rgba(10, 24, 34, .7) 50%, rgba(10, 24, 34, .96) 100%); }
.corner-hero:hover { color: var(--white); }
.corner-hero:hover img { transform: scale(1.06); }
.corner-hero__badge {
  position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 40px;
  font: 700 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
  background: linear-gradient(100deg, #ffe08a, #f5b93a); box-shadow: 0 10px 30px rgba(245, 185, 58, .35);
  animation: badge-glow 3s ease-in-out infinite;
}
.corner-hero__badge svg { width: 18px; height: 18px; }
@keyframes badge-glow { 50% { box-shadow: 0 10px 40px rgba(245, 185, 58, .6); } }
@media (prefers-reduced-motion: reduce) { .corner-hero__badge { animation: none; } }
.corner-hero__body { display: grid; gap: 8px; max-width: 560px; }
.corner-hero small { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9fd6fa; }
.corner-hero strong { color: var(--white); font: 500 clamp(2rem, 1.4rem + 1.8vw, 3rem)/1.05 var(--font-display); letter-spacing: -.02em; }
.corner-hero__body > span:not(.corner-hero__more) { font-size: 16px; color: rgba(255, 255, 255, .8); }
.corner-hero__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: 15px; }
.corner-hero__more svg { width: 16px; height: 16px; transition: transform .3s; }
.corner-hero:hover .corner-hero__more svg { transform: translate(3px, -3px); }
.corners__side { display: grid; gap: 18px; align-content: start; }
.retailers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.retailer {
  position: relative; overflow: hidden; display: grid; gap: 6px; padding: 24px 22px; border-radius: 22px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .35s, transform .45s var(--ease);
}
.retailer::before { /* striscia del colore della catena */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--r); transition: width .45s var(--ease);
}
.retailer:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .25); }
.retailer:hover::before { width: 100%; opacity: .16; }
.retailer__name { position: relative; font: 800 clamp(1.3rem, 1rem + .8vw, 1.7rem)/1 var(--font-body); letter-spacing: -.03em; color: var(--white); }
.retailer__n { position: relative; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.corner-steps { list-style: none; margin: 0; padding: 22px; display: grid; gap: 16px; border-radius: 22px; background: rgba(var(--blue-rgb), .14); border: 1px solid rgba(var(--blue-rgb), .35); }
.corner-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.corner-steps .dot { grid-row: span 2; width: 40px; height: 40px; }
.corner-steps .dot svg { width: 18px; height: 18px; }
.corner-steps strong { color: var(--white); font-size: 16px; }
.corner-steps span:last-child { font-size: 14px; }
.corner-list { position: relative; list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.corner-card {
  display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 22px; background: var(--white); color: var(--text);
  border-top: 4px solid var(--r, var(--blue));
}
.corner-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.corner-card__chips .store__brand { position: static; }
.corner-card__retailer { padding: 5px 12px; border-radius: 30px; font: 800 12px/1.4 var(--font-body); letter-spacing: .02em; color: var(--white); background: var(--r); }
.corner-card strong { font: 500 1.35rem/1.2 var(--font-display); }
.corner-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; font-size: 14px; text-decoration: none; }
.corner-card a svg { width: 15px; height: 15px; }
.corner-card--cta { background: transparent; border: 1px dashed rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .72); }
.corner-card--cta strong { color: var(--white); }
.corner-card--cta a { color: var(--blue-light); }

/* ---------------------------------------------------------------- pagina settore */
.settore { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 6vw, 100px); align-items: start; }
.settore__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--blue); color: var(--white); margin-bottom: 26px; }
.settore__icon svg { width: 28px; height: 28px; }
.settore .lead { font: 400 clamp(1.4rem, 1.1rem + .9vw, 2rem)/1.4 var(--font-display); letter-spacing: -.01em; margin-bottom: 28px; }
.settore__text .btn { margin: 30px 16px 0 0; }
.service-links { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.service-links a, .service-links__item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: var(--mist); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, transform .25s;
}
.service-links a:hover { background: var(--white); box-shadow: 0 12px 28px rgba(10, 24, 34, .08); transform: translateY(-2px); color: var(--ink); }
.service-links a:hover .mega__icon { background: var(--blue); color: var(--white); }
.press {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 36px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 44px); border-radius: 26px; text-decoration: none; color: rgba(255, 255, 255, .75);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #164a6d 100%);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.press::after { /* filigrana della pinna */
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 260px; aspect-ratio: 1000 / 485; background: var(--white); opacity: .06;
  -webkit-mask: url("../img/maori-group-fin.png") center / contain no-repeat; mask: url("../img/maori-group-fin.png") center / contain no-repeat;
}
.press:hover { color: rgba(255, 255, 255, .85); transform: translateY(-4px); box-shadow: 0 26px 60px rgba(10, 24, 34, .25); }
.press__label {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 40px; white-space: nowrap;
  font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: rgba(255, 255, 255, .1);
}
.press__label svg { width: 18px; height: 18px; color: var(--blue-light); }
.press__body { display: grid; gap: 6px; }
.press__body small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); }
.press__body strong { color: var(--white); font: italic 400 clamp(1.4rem, 1.1rem + .9vw, 2rem)/1.25 var(--font-display); }
.press__body span { font-size: 15px; }
.press__cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 40px; white-space: nowrap; font-weight: 600; font-size: 15px; background: var(--white); color: var(--ink); transition: background .25s, color .25s; }
.press__cta svg { width: 16px; height: 16px; }
.press:hover .press__cta { background: var(--blue-light); color: var(--navy); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.perk { padding: clamp(26px, 3vw, 40px); border-radius: 26px; background: var(--white); }
.perk--dark { background: var(--navy); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.perk--dark::before { content: ""; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(var(--blue-rgb), .45), transparent 65%); }
.perk > * { position: relative; }
.perk__who { margin: 20px 0 4px; font: 600 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.perk--dark .perk__who { color: var(--blue-light); }
.perk h3 { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); margin-bottom: 20px; }
.perk--dark h3 { color: var(--white); }
.perk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.perk li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.perk li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(var(--blue-rgb), .12); color: var(--blue); margin-top: 1px; }
.perk--dark li svg { background: rgba(255, 255, 255, .1); color: var(--blue-light); }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit {
  padding: 28px 24px; border-radius: 22px; background: var(--mist); transition: background .35s, color .35s, transform .45s var(--ease);
}
.benefit:hover { background: var(--blue); color: rgba(255, 255, 255, .85); transform: translateY(-4px); }
.benefit__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--white); color: var(--blue); margin-bottom: 22px; }
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font: 500 1.4rem/1.2 var(--font-display); transition: color .35s; }
.benefit:hover h3 { color: var(--white); }
.benefit p { font-size: 15px; margin: 0; }
.steps-section { background: var(--navy); color: rgba(255, 255, 255, .72); overflow: hidden; }
.steps-section::before { content: ""; position: absolute; right: -220px; top: -260px; width: 760px; height: 760px; pointer-events: none; background: radial-gradient(circle, rgba(var(--blue-rgb), .3), transparent 65%); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps::before { /* linea che unisce i passi */
  content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), rgba(75, 163, 217, .1));
}
.step { position: relative; padding: 0 6px; }
.step__n {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 50%;
  font: 400 1.6rem/1 var(--font-display); color: var(--white); background: var(--navy); border: 2px solid var(--blue-light);
  box-shadow: 0 0 0 8px var(--navy), 0 0 30px rgba(var(--blue-rgb), .5); transition: background .3s;
}
.step:hover .step__n { background: var(--blue); }
.step h3 { color: var(--white); font: 500 1.5rem/1.2 var(--font-display); }
.step p { font-size: 15px; margin: 0; }
.service-links__arrow { width: 16px; height: 16px; margin-left: auto; color: var(--blue); }
.settore__side { position: sticky; top: calc(var(--header-h) + 40px); }
.fact-card { padding: 30px; border-radius: 24px; background: var(--navy); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.fact-card::before { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(var(--blue-rgb), .45), transparent 65%); }
.fact-card > * { position: relative; }
.fact-card > strong { display: block; font: 400 4.2rem/1 var(--font-display); color: var(--white); letter-spacing: -.04em; }
.fact-card ul { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fact-card li { padding: 4px 12px; border-radius: 20px; font-size: 13px; background: rgba(255, 255, 255, .08); color: var(--white); }
.fact-card a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-light); font-weight: 600; text-decoration: none; }
.fact-card a svg { width: 16px; height: 16px; transition: transform .3s; }
.fact-card a:hover svg { transform: translateX(4px); }
.fact-card--quote p { font: 400 1.4rem/1.4 var(--font-display); color: var(--white); }
.fact-card--quote strong { color: var(--blue-light); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { padding: 22px 24px; border-radius: 20px; background: var(--mist); }
.facts strong { display: block; font: 400 2.6rem/1 var(--font-display); color: var(--blue); letter-spacing: -.03em; margin-bottom: 6px; }
.facts span { font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--navy); }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.gallery__item:hover img { transform: scale(1.06); opacity: .85; }
.gallery__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--blue); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.gallery__zoom svg { width: 18px; height: 18px; }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 14, 20, .96); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6, 14, 20, .8); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { font-size: 14px; color: rgba(255, 255, 255, .7); letter-spacing: .08em; }
.lightbox__close, .lightbox__nav { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--blue); border-color: var(--blue); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav { top: 50%; margin-top: -26px; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 36px 0; border-top: 1px solid var(--line); }
.pager__link { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font: 500 1.2rem/1.3 var(--font-display); }
.pager__link small { display: block; font: 600 11px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.pager__link svg { width: 22px; height: 22px; color: var(--blue); transition: transform .3s; flex: none; }
.pager__link:hover { color: var(--blue); }
.pager__link:hover svg { transform: translateX(-4px); }
.pager__link--next { justify-self: end; text-align: right; }
.pager__link--next:hover svg { transform: translateX(4px); }
.pager__all { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 34px; }
.pager__all span { aspect-ratio: 1; border-radius: 4px; background: var(--line); transition: background .2s; }
.pager__all:hover span { background: var(--blue); }

/* ---------------------------------------------------------------- news: elenco e articolo */
.filters--links { margin-bottom: 40px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 56px; }
.pagination ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.pagination li a, .pagination li span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 600; text-decoration: none; color: var(--ink); }
.pagination li a:hover { background: var(--mist); color: var(--blue); }
.pagination [aria-current] { background: var(--navy); color: var(--white); }

.post__head { padding: calc(var(--header-h) + 90px) 0 40px; background: var(--mist); }
.post__title { font-size: clamp(2.2rem, 1.3rem + 3vw, 4.2rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 22px; font-weight: 400; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0; font-size: 15px; }
.post__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.post__meta svg { width: 17px; height: 17px; color: var(--blue); }
.post { overflow-x: clip; } /* la fascia grigia dietro la foto esce dal contenitore */
.post__cover { margin-top: 0; margin-bottom: 0; padding-top: 40px; position: relative; }
.post__cover::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 0; height: 50%; background: var(--mist); z-index: -1; }
.post__cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 28px; }
.post__layout { position: relative; padding: clamp(40px, 5vw, 70px) 0 20px; }
.post__share { position: absolute; left: -90px; top: clamp(40px, 5vw, 70px); display: grid; gap: 10px; justify-items: center; }
.post__share > span { color: var(--text); }
.post__share svg { width: 18px; height: 18px; }
.post__share a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mist); color: var(--ink); transition: background .2s, color .2s; }
.post__share a svg { width: 17px; height: 17px; }
.post__share a:hover { background: var(--blue); color: var(--white); }
.post__body { font-size: 18px; }
.post__body > p:first-child { font-size: 1.25em; color: var(--ink); line-height: 1.6; }
.legal { padding: 40px 0 80px; font-size: 16px; }
.legal > p:first-child { font-size: 1.1em; }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 20px 0; padding: 26px 30px; border-radius: 22px; background: var(--navy); color: rgba(255, 255, 255, .75); }
.post-cta strong { display: block; color: var(--white); font: 500 1.4rem/1.3 var(--font-display); }
.post-cta .btn--primary { outline-color: rgba(255, 255, 255, .4); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 40px 0 80px; }
.post-nav__link { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 1.05rem/1.35 var(--font-display); transition: border-color .2s, background .2s; }
.post-nav__link small { display: block; font: 600 11px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.post-nav__link svg { width: 20px; height: 20px; flex: none; color: var(--blue); }
.post-nav__link:hover { border-color: var(--blue); color: var(--blue); }
.post-nav__link--next { justify-content: flex-end; text-align: right; grid-column: 2; }

/* ---------------------------------------------------------------- contatti */
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card {
  position: relative; display: grid; gap: 4px; height: 100%; padding: 28px; border-radius: 24px; background: var(--mist); color: var(--ink); text-decoration: none;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.contact-card .dot { margin-bottom: 18px; }
.contact-card small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.contact-card strong { font: 500 1.25rem/1.3 var(--font-display); overflow-wrap: anywhere; }
.contact-card__arrow { position: absolute; top: 28px; right: 28px; width: 20px; height: 20px; color: var(--blue); }
.contact-card:hover { background: var(--navy); color: var(--white); transform: translateY(-4px); }
.contact-card:hover strong { color: var(--white); }
.contact-card:hover small { color: var(--blue-light); }
.contact-card .dot svg[viewBox="0 0 448 512"] { width: 20px; }

/* ---------------------------------------------------------------- 404 */
.notfound { padding-top: calc(var(--header-h) + 100px); }
.notfound__code { margin: 0; text-align: center; font: 300 clamp(8rem, 5rem + 12vw, 16rem)/1 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(var(--blue-rgb), .35); }
.notfound .heading { margin: -30px 0 20px; }
.notfound .news-grid { margin-top: 70px; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .65); padding-top: clamp(60px, 7vw, 100px); font-size: 15px; }
.site-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer__brand img { width: 140px; margin-bottom: 22px; }
.site-footer__brand p { max-width: 320px; }
.footer-title { font: 500 1.5rem/1.2 var(--font-display); color: var(--white); margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--blue-light); }
.footer-links--icons a { display: flex; gap: 12px; align-items: flex-start; }
.footer-links--icons svg { width: 18px; height: 18px; margin-top: 3px; flex: none; color: var(--blue-light); }
.socials { list-style: none; display: flex; gap: 10px; margin: 26px 0 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: var(--white); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--white); color: var(--blue); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.site-footer__bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__legal a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.site-footer__legal a:hover { color: var(--white); }
.site-footer__fin { position: absolute; right: -80px; bottom: -60px; width: clamp(320px, 40vw, 640px); opacity: .05; pointer-events: none; filter: brightness(0) invert(1); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 30; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: var(--white); box-shadow: 0 10px 30px rgba(10, 24, 34, .3); transition: background .2s, transform .3s;
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--blue); color: var(--white); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- entrata delle sezioni (solo con JS) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__slides img { transition: opacity 1s; transform: none !important; }
  .js .hero__title .line > * { transform: none; }
  .hero__bars i.is-on::after { animation: none; transform: scaleX(1); }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  .main-nav__link { padding: 10px 10px; letter-spacing: .08em; }
  .site-header__actions .icon-btn:nth-child(-n+2) { display: none; }
}
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .main-nav, .site-header__actions .icon-btn, .mega { display: none !important; }
  .menu-toggle { display: grid; }
  .site-header__bar { grid-template-columns: auto 1fr; }
  .site-header__actions { justify-self: end; }
  .site-header__logo img { width: 62px; }
  .intro__grid, .contact__grid, .stores-teaser__grid, .team-teaser__grid, .offices { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--1 { grid-row: span 1; min-height: 420px; }
  .news-home { grid-template-columns: 1fr; }
  .news-grid, .stores { grid-template-columns: repeat(2, 1fr); }
  .companies { grid-template-columns: repeat(2, 1fr); }
  .company--wide { grid-column: span 2; }
  .company--last { grid-column: 1 / -1; }
  .people { grid-template-columns: repeat(4, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .brand-cards { grid-template-columns: repeat(3, 1fr); }
  .settore, .corners__grid { grid-template-columns: 1fr; }
  .corner-list, .steps, .benefits { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr; }
  .press { grid-template-columns: 1fr; justify-items: start; }
  .steps { row-gap: 40px; }
  .steps::before { display: none; }
  .settore__side { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .post__share { position: static; display: flex; margin-bottom: 30px; }
  .hero__foot { flex-direction: column; align-items: stretch; }
  .hero__progress { justify-items: start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .site-header { inset: 10px 0 auto; }
  .site-header__bar { width: calc(100% - 20px); padding: 0 8px 0 16px; }
  .site-header__actions .btn { display: none; }
  .hero { padding-top: calc(var(--header-h) + 50px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; padding: 18px 4px; }
  .hero-stats li:nth-child(3) { border-left: 0; }
  .hero__scroll { display: none; }
  .intro__pillars { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--1 { grid-column: auto; }
  .bento__item--1 { min-height: 380px; }
  .news-grid, .stores, .companies, .sister-sites, .contact-cards, .corner-list { grid-template-columns: 1fr; }
  .corner-hero { min-height: 420px; }
  .company--wide, .company--last { grid-column: auto; }
  .brand-cards, .steps { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .brand-card { min-height: 220px; padding: 18px; }
  .brand-card strong { font-size: 1.5rem; }
  .news-card--featured { min-height: 440px; }
  .news-card--mini .news-card__img { width: 110px; }
  .form-row, .service-links { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .founder, .founder--flip { grid-template-columns: 1fr; }
  .founder--flip .founder__photo { order: 0; }
  .founder__photo img { aspect-ratio: 1; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row li:nth-child(3) { border-left: 0; padding-left: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .team-teaser__photos figcaption { font-size: 11px; padding: 8px; }
  .team-teaser__photos figcaption strong { font-size: 12px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__all { display: none; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link--next { grid-column: auto; }
  .lightbox__nav { top: auto; bottom: 22px; margin: 0; }
  .timeline__track { grid-auto-columns: 82%; }
}

/* ---------------------------------------------------------------- dove siamo: mappa dei negozi */
.storemap__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(30px, 5vw, 80px); align-items: end; margin-bottom: clamp(30px, 4vw, 50px); }
.storemap__head .lead { margin: 0 0 20px; }
.storemap__head .storemap__stats { grid-column: 2; }
.storemap__head .heading { grid-row: span 2; align-self: start; }
.storemap__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.storemap__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.storemap__stats li { padding: 18px 16px 0; border-left: 1px solid var(--line); }
.storemap__stats li:first-child { border-left: 0; padding-left: 0; }
.storemap__stats strong { display: block; font: 400 clamp(2rem, 1.4rem + 1.6vw, 3rem)/1 var(--font-display); color: var(--blue); letter-spacing: -.03em; }
.storemap__stats span { font-size: 14px; }
.storemap__filters { margin-bottom: 18px; }
.dot-mini { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.dot-mini--vodafone { background: var(--vodafone); } .dot-mini--tim { background: var(--tim); } .dot-mini--windtre { background: var(--windtre); }
.dot-mini--corner { background: var(--white); box-shadow: inset 0 0 0 3px var(--ink); }
.storemap__cities {
  list-style: none; margin: 0 0 20px; padding: 6px; display: grid; grid-template-columns: 1fr; gap: 2px;
  max-height: 470px; overflow-y: auto; border-radius: 18px; background: var(--white);
}
.storemap__cities li[hidden] { display: none; }
.storemap__cities button {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-radius: 12px;
  background: none; color: var(--ink); font-size: 14px; text-align: left; cursor: pointer; transition: background .2s, color .2s;
}
.storemap__cities button em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.storemap__cities button b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 20px; background: var(--mist); font-size: 12px; }
.storemap__cities button:hover, .storemap__cities button.is-active { background: var(--navy); color: var(--white); }
.storemap__cities button:hover em, .storemap__cities button.is-active em { color: var(--blue-light); }
.storemap__cities button.is-active b, .storemap__cities button:hover b { background: var(--blue); color: var(--white); }

.storemap__map {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--white);
  box-shadow: 0 30px 70px rgba(10, 24, 34, .1); padding: 18px;
}
.italy-map { display: block; width: 100%; height: auto; max-height: 760px; touch-action: manipulation; }
.italy-map__region { fill: #dfe6ec; stroke: var(--white); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: fill .3s; }
.italy-map__region:hover { fill: #d2dbe3; }
.italy-map__region--toscana, .italy-map__region--umbria, .italy-map__region--lazio, .italy-map__region--sardegna { fill: #c9dcea; }
.italy-map__region--toscana { fill: #b6d2e6; }
.map-dot { cursor: pointer; outline: none; }
.map-dot__inner { transition: transform .35s var(--ease); transform-box: fill-box; transform-origin: center; }
.map-dot__core { fill: var(--blue); stroke: var(--white); stroke-width: 2; vector-effect: non-scaling-stroke; }
.map-dot__halo { fill: rgba(var(--blue-rgb), .18); opacity: 0; transition: opacity .3s; }
.map-dot--vodafone .map-dot__core { fill: var(--vodafone); } .map-dot--tim .map-dot__core { fill: var(--tim); } .map-dot--windtre .map-dot__core { fill: var(--windtre); }
.map-dot--multi .map-dot__core { fill: var(--navy); }
.map-dot__n { fill: var(--white); font-family: var(--font-body); font-weight: 700; text-anchor: middle; pointer-events: none; }
.map-dot:hover .map-dot__inner, .map-dot:focus-visible .map-dot__inner, .map-dot.is-active .map-dot__inner { transform: scale(1.25); }
.map-dot:hover .map-dot__halo, .map-dot:focus-visible .map-dot__halo, .map-dot.is-active .map-dot__halo { opacity: 1; }
.map-dot.is-dim { opacity: .15; pointer-events: none; }
.map-dot__pulse { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.4s ease-out infinite; }
@keyframes map-pulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-dot__pulse { animation: none; opacity: .5; } }

.storemap__zoom { position: absolute; top: 18px; right: 18px; z-index: 2; display: flex; padding: 4px; border-radius: 40px; background: var(--mist); }
.storemap__zoom button { padding: 8px 16px; border: 0; border-radius: 30px; background: none; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.storemap__zoom button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.storemap__card {
  position: sticky; top: calc(var(--header-h) + 40px); max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto;
  padding: 24px; border-radius: 24px; background: var(--white); box-shadow: 0 30px 70px rgba(10, 24, 34, .1);
}
.storemap__card:empty { display: none; }
.storemap__card-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.storemap__card h3 { font: 500 1.6rem/1.15 var(--font-display); margin-bottom: 12px; }
.storemap__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.storemap__card li { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.storemap__card li:first-child { padding-top: 0; border-top: 0; }
.storemap__card .store__brand { position: static; justify-self: start; }
.storemap__addr { font-size: 15px; color: var(--ink); }
.storemap__links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.storemap__links a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.storemap__links svg { width: 14px; height: 14px; }
.storemap__credits { margin: 6px 4px 0; text-align: right; font-size: 10px; color: #9aa6b2; }
@media (max-width: 1100px) {
  .storemap__head { grid-template-columns: 1fr; }
  .storemap__head .storemap__stats { grid-column: auto; }
  .storemap__grid { grid-template-columns: 1fr; }
  .storemap__side { order: 2; }
  .storemap__card { position: static; max-height: none; order: 1; }
  .storemap__cities { grid-template-columns: 1fr 1fr; max-height: 320px; }
}
@media (max-width: 720px) { .storemap__cities { grid-template-columns: 1fr; } }
