/* ============================================================
   EDIL ANDREA — STYLESHEET
   ------------------------------------------------------------
   Font titoli:      Montserrat, Manrope, sans-serif
   Font paragrafi:   Manrope, Arial, sans-serif
   Blu principale:  #001659
   Highlight:        #41718D
   Sfondo soft:      #EEF2F4

   INDICE
   01. Variabili e reset
   02. Header, navigazione e pulsanti
   03. Hero e tipografia
   04. Sezioni, griglie, card e gallery
   05. Pagine interne, documenti, form e contatti
   06. Footer, sticky contacts e lightbox
   07. Landing generica / utility
   08. Responsive sito
   09. Home, CTA e gallery — refinements
   10. Landing Nanocappotto
   ============================================================ */

/* ------------------------------------------------------------
   01. VARIABILI E RESET
   ------------------------------------------------------------ */

:root {
  --ink: #001659;
  --ink-2: #0b2d64;
  --muted: #5f6f7c;
  --paper: #EEF2F4;
  --white: #fff;
  --accent: #41718D;
  --accent-2: #41718D;
  --line: rgba(0,22,89,.13);
  --radius: 22px;
  --shadow: 0 22px 60px rgba(0,22,89,.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Manrope,Arial,sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1180px,calc(100% - 44px));
  margin: auto;
}

/* ------------------------------------------------------------
   02. HEADER, NAVIGAZIONE E PULSANTI
   ------------------------------------------------------------ */

.topbar {
  background: var(--ink);
  color: #e9eef1;
  font-size: 12px;
  letter-spacing: .03em;
}

.topbar-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-inner div {
  display: flex;
  gap: 24px;
}

.topbar a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s;
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(16,38,56,.08);
  border-color: var(--line);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  margin-right: auto;
}

.brand img {
  width: 220px;
  max-height: 66px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.main-nav>a,.nav-drop-btn {
  padding: 31px 0 27px;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.main-nav>a:after,.nav-drop-btn:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 23px;
  height: 2px;
  background: var(--accent);
  transition: .25s;
}

.main-nav>a:hover:after,
.main-nav>a.active:after,
.nav-drop:hover .nav-drop-btn:after {
  right: 0;
}

.nav-drop {
  position: relative;
}

.nav-drop-menu {
  position: absolute;
  top: 72px;
  left: -20px;
  width: 235px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .25s;
}

.nav-drop:hover .nav-drop-menu,.nav-drop.open .nav-drop-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.nav-drop-menu a:hover {
  background: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .01em;
  transition: .25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #315f79;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: rgba(255,255,255,.04);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn-wide {
  width: 100%;
}

.nav-cta {
  padding: 12px 18px;
}

.nav-toggle {
  display: none;
}

/* ------------------------------------------------------------
   03. HERO E TIPOGRAFIA
   ------------------------------------------------------------ */

.hero {
  min-height: 690px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: #0d2232;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  will-change: transform;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(8,23,35,.9) 0%,rgba(8,23,35,.62) 48%,rgba(8,23,35,.18) 75%),linear-gradient(0deg,rgba(8,23,35,.7),transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 130px 0 92px;
  max-width: 930px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow:before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.display,h1,h2,h3 {
  font-family: Montserrat,Manrope,sans-serif;
  letter-spacing: -.035em;
  margin: 0;
}

.display {
  font-size: clamp(52px,7vw,92px);
  line-height: .96;
  max-width: 980px;
}

.hero .lead {
  font-size: 20px;
  line-height: 1.55;
  max-width: 720px;
  color: #e5ebee;
  margin: 26px 0 30px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-statbar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.hero-stats div {
  padding: 18px 24px;
  border-right: 1px solid rgba(255,255,255,.15);
}

.hero-stats strong {
  display: block;
  font-size: 18px;
}

.hero-stats span {
  font-size: 12px;
  color: #cfd9de;
}

/* ------------------------------------------------------------
   04. SEZIONI, GRIGLIE, CARD E GALLERY
   ------------------------------------------------------------ */

.section {
  padding: 105px 0;
}

.section-soft {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-dark .lead,.section-dark .muted {
  color: #c9d4da;
}

.section-dark .product-card {
  color: var(--ink);
}

.section-dark .product-card h3 {
  color: #001659;
}

.section-dark .product-card .index {
  color: #41718D;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-head>div {
  max-width: 760px;
}

.section h2,.page-hero h1 {
  font-size: clamp(36px,4.6vw,62px);
  line-height: 1.04;
}

.section h3 {
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: #4e5d67;
}

.muted {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.service-card,.product-card,.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(16,38,56,.04);
  transition: .35s;
}

.service-card:hover,.product-card:hover,.news-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.service-card-media,.news-media {
  height: 240px;
  overflow: hidden;
}

.service-card-media img,.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.service-card:hover img,.news-card:hover img {
  transform: scale(1.035);
}

.card-body {
  padding: 28px;
}

.card-body p {
  color: var(--muted);
}

.card-link,.line-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}

.card-link:hover {
  gap: 13px;
}

.image-stack {
  position: relative;
}

.main-img,.media-rounded img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
}

.badge-img {
  position: absolute;
  right: -22px;
  bottom: -30px;
  width: 190px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.statement {
  font-size: clamp(28px,3.5vw,48px);
  line-height: 1.12;
  margin: 0 0 28px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  margin-top: 35px;
}

.feature-list div {
  background: var(--ink);
  padding: 24px;
}

.feature-list strong {
  display: block;
  margin-bottom: 5px;
}

.feature-list span {
  font-size: 13px;
  color: #bac8cf;
}

.product-card {
  padding: 30px;
}

.product-card .index {
  font-family: Montserrat;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 42px;
}

.product-card p {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}

.gallery-item {
  grid-column: span 4;
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ink);
}

.gallery-item.wide {
  grid-column: span 8;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s;
}

.gallery-item:hover img {
  transform: scale(1.035);
  opacity: .82;
}

.gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  background: rgba(8,23,35,.65);
  backdrop-filter: blur(8px);
  border-radius: 10px;
}

/* ------------------------------------------------------------
   05. PAGINE INTERNE, FORM E CONTATTI
   ------------------------------------------------------------ */

.page-hero {
  padding: 105px 0 78px;
  background: linear-gradient(100deg,#001659 0%,#173c6e 48%,#41718D 100%);
  color: #fff;
  border-bottom: 0;
}

.page-hero h1 {
  color: #fff;
}

.page-hero .eyebrow {
  color: #b8d0dd;
}

.page-hero .lead {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.86);
}

.split-copy p {
  max-width: 720px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding: 13px 15px 13px 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 15px;
  color: var(--accent-2);
  font-weight: 900;
}

.section-dark .check-list li {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
}

.docs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 18px 8px 10px;
  border: 1px solid #d7e0e8;
  border-radius: 999px;
  background: #fff;
  color: #001659;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: .25s;
}

.doc-link::before {
  content: "PDF";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #001659;
  color: #fff;
  font-family: Manrope,Arial,sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.doc-link:hover {
  border-color: #41718D;
  background: #f8fafb;
  transform: translateY(-1px);
}

.product-info-panel {
  padding: 34px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

/* Edil Andrea — selezione lavori */
.section-head-centered {
  display: block;
  text-align: center;
}

.section-head-centered > div {
  max-width: 760px;
  margin: 0 auto;
}

.section-head-centered .eyebrow {
  justify-content: center;
}

.company-gallery {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.company-gallery-item {
  margin: 0;
  height: 330px;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  background: #001659;
}

.company-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease,opacity .4s ease;
}

.company-gallery-item:hover img {
  transform: scale(1.035);
  opacity: .9;
}

.company-gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Contatti — mappa Google a tutta larghezza */
.map-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #EEF2F4;
}

.contact-map {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.contact-zone {
  background: #EEF2F4;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 35px;
}

.contact-list>a,.contact-list>div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list small {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  color: var(--muted);
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 55px rgba(16,38,56,.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}

.field input,.field select,.field textarea {
  width: 100%;
  border: 1px solid #ccd2d4;
  background: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: .2s;
}

.field textarea {
  min-height: 115px;
  resize: vertical;
}

.field input:focus,.field select:focus,.field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(65,113,141,.16);
}

.privacy-check {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500 !important;
  color: var(--muted);
  line-height: 1.45;
}

.privacy-check input {
  width: auto;
  margin-top: 4px;
}

.privacy-check a {
  text-decoration: underline;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
}

.form-status {
  margin-top: 10px;
  font-size: 13px;
}

.form-status.error {
  color: #a42424;
}

.form-status.ok {
  color: #246b3a;
}

/* ------------------------------------------------------------
   06. FOOTER, STICKY CONTACTS E LIGHTBOX
   ------------------------------------------------------------ */

.site-footer {
  background: #0a1c2b;
  color: #dbe3e7;
  padding: 70px 0 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 45px;
}

.footer-grid h3 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-grid p,.footer-grid a {
  font-size: 13px;
  color: #aebdc5;
}

.footer-grid>div>a {
  display: block;
  margin: 7px 0;
}

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

.footer-brand img {
  width: 230px;
  max-height: 92px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
}

.footer-brand p {
  max-width: 320px;
}

.footer-accent {
  color: var(--accent) !important;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  margin-top: 45px;
  color: #78909c;
  font-size: 11px;
}

.sticky-contacts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: flex;
  gap: 8px;
}

.sticky-contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
  font-size: 12px;
  font-weight: 800;
  color: white;
}

.sticky-call {
  background: #152f43;
}

.sticky-wa {
  background: #238b57;
}

.sticky-icon {
  font-size: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease,transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(4,12,18,.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px,92vw);
  max-height: 84vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  right: 24px;
  top: 18px;
  color: #fff;
  background: none;
  border: 0;
  font-size: 36px;
  cursor: pointer;
}

.areas {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 35px;
}

.area-card {
  border-top: 3px solid var(--accent);
  background: #fff;
  padding: 26px;
  border-radius: 0 0 16px 16px;
}

.area-card strong {
  font-family: Montserrat;
  font-size: 22px;
}

.marquee {
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  font-family: Montserrat;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 13px;
}

.marquee-track {
  display: flex;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  padding: 13px 0;
  animation: marquee 24s linear infinite;
}

.marquee-track span:after {
  content: "•";
  margin-left: 34px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }

}

/* ------------------------------------------------------------
   07. LANDING GENERICA / UTILITY
   ------------------------------------------------------------ */

.landing-body {
  background: #EEF2F4;
}

.landing-top {
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px 0;
  color: #fff;
}

.landing-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-logo {
  width: 225px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
}

.landing-phone {
  font-weight: 800;
}

.landing-hero {
  min-height: 760px;
  position: relative;
  background: #0b2132;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.landing-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(7,20,31,.93) 0 45%,rgba(7,20,31,.52) 72%,rgba(7,20,31,.28));
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 65px;
  align-items: center;
  padding-top: 70px;
}

.landing-copy h1 {
  font-size: clamp(48px,6vw,78px);
  line-height: .96;
}

.landing-copy .lead {
  color: #e0e8ec;
  font-size: 19px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero-badges span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  font-size: 11px;
  font-weight: 800;
}

.landing-form {
  background: #fff;
  color: var(--ink);
  border-radius: 25px;
  padding: 28px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.landing-form h2 {
  font-size: 27px;
  margin-bottom: 5px;
}

.landing-form>p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0;
}

.landing-form .form-grid {
  gap: 12px;
}

.landing-form .field input,
.landing-form .field select,
.landing-form .field textarea {
  padding: 11px 12px;
}

.landing-form .field textarea {
  min-height: 78px;
}

.landing-benefits {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.benefit {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.benefit .n {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--accent-2);
  font-weight: 800;
}

.benefit h3 {
  margin-top: 25px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq summary {
  font-family: Montserrat;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq p {
  color: var(--muted);
  max-width: 850px;
}

.landing-footer {
  background: #0a1c2b;
  color: #91a4ae;
  padding: 28px 0;
  font-size: 11px;
}

.landing-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.landing-footer a {
  color: #c8d2d7;
}

.thankyou {
  min-height: 100vh;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 30px;
}

.thankyou-card {
  width: min(760px,100%);
  text-align: center;
}

.thankyou-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
}

.thankyou h1 {
  font-size: clamp(42px,6vw,72px);
}

.thankyou p {
  font-size: 18px;
  color: #c4d0d6;
}

.news-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-2);
  font-weight: 800;
}

.article {
  max-width: 820px;
}

.article h2 {
  font-size: 31px;
  margin-top: 45px;
}

.article p {
  color: #44535e;
}

.callout {
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  background: var(--paper);
  margin: 28px 0;
}

.source-note {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 35px;
}

/* ------------------------------------------------------------
   08. RESPONSIVE — SITO PRINCIPALE
   ------------------------------------------------------------ */

@media (max-width:1050px) {
  .main-nav {
    gap: 15px;
  }

  .nav-cta {
    display: none;
  }

  .grid-2,.contact-grid {
    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-grid>div:last-child {
    grid-column: 2/-1;
  }

  .landing-hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

}

@media (max-width:860px) {
  .container {
    width: min(100% - 30px,1180px);
  }

  .topbar-inner>span {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-inner div {
    gap: 16px;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 195px;
  }

  .nav-toggle {
    display: block;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    position: relative;
  }

  .nav-toggle span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--ink);
    left: 11px;
    transition: .25s;
  }

  .nav-toggle span:nth-child(1) {
    top: 14px;
  }

  .nav-toggle span:nth-child(2) {
    top: 21px;
  }

  .nav-toggle span:nth-child(3) {
    top: 28px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
    top: 21px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
  }

  .main-nav {
    position: fixed;
    inset: 110px 0 auto 0;
    max-height: calc(100vh - 110px);
    overflow: auto;
    background: #fff;
    display: block;
    padding: 20px 28px 35px;
    transform: translateY(-130%);
    opacity: 0;
    transition: .3s;
    box-shadow: 0 25px 40px rgba(16,38,56,.12);
  }

  .main-nav.open {
    transform: none;
    opacity: 1;
  }

  .main-nav>a,.nav-drop-btn {
    display: block;
    width: 100%;
    padding: 13px 0;
    text-align: left;
    font-size: 15px;
  }

  .main-nav>a:after,.nav-drop-btn:after {
    display: none;
  }

  .nav-drop-menu {
    position: static;
    width: auto;
    padding: 0 0 8px 14px;
    box-shadow: none;
    border: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav-drop.open .nav-drop-menu {
    display: block;
  }

  .hero {
    min-height: 630px;
  }

  .hero-content {
    padding: 115px 0 65px;
  }

  .display {
    font-size: clamp(45px,12vw,68px);
  }

  .hero .lead {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    display: block;
  }

  .section-head>.btn,.section-head>.line-link {
    margin-top: 18px;
  }

  .grid-2,.grid-3,.contact-grid,.landing-hero .container,.landing-benefits {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    gap: 38px;
  }

  .main-img,.media-rounded img {
    height: 420px;
  }

  .badge-img {
    right: 10px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .gallery-item,.gallery-item.wide {
    grid-column: 1;
  }

  .gallery-item.tall {
    grid-row: auto;
  }

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

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

  .footer-grid>div:last-child {
    grid-column: auto;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }

  .landing-top {
    padding: 15px 0;
  }

  .landing-logo {
    width: 185px;
  }

  .landing-hero {
    padding: 120px 0 55px;
  }

  .landing-hero .container {
    padding-top: 0;
  }

  .landing-hero:after {
    background: linear-gradient(0deg,rgba(7,20,31,.94),rgba(7,20,31,.58));
  }

  .landing-copy h1 {
    font-size: 48px;
  }

  .landing-footer .container {
    display: block;
  }

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

  .field.full {
    grid-column: auto;
  }

  .sticky-contacts {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .sticky-contacts a {
    flex: 1;
    justify-content: center;
  }

  .page-hero {
    padding: 78px 0 58px;
  }

  .company-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .company-gallery-item {
    height: 300px;
  }

  .contact-map {
    height: 440px;
  }

}

@media (max-width:520px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 26px);
  }

  .section h2,.page-hero h1 {
    font-size: 34px;
  }

  .hero {
    min-height: 590px;
  }

  .display {
    font-size: 44px;
  }

  .hero-content {
    padding-bottom: 50px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .service-card-media,.news-media {
    height: 210px;
  }

  .main-img,.media-rounded img {
    height: 330px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px;
  }

  .company-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .company-gallery-item {
    height: 280px;
  }

  .company-gallery-actions {
    margin-top: 28px;
  }

  .contact-map {
    height: 380px;
  }

  .doc-link {
    width: 100%;
    justify-content: flex-start;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .sticky-contacts a {
    padding: 11px 8px;
  }

  .landing-phone {
    font-size: 12px;
  }

  .landing-copy h1 {
    font-size: 42px;
  }

}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}


/* ==========================================================
   HOME / PALETTE / LIGHTBOX — refinements
   ========================================================== */

/* Hero home: stesso allineamento a sinistra della landing, senza colonna form */
.home-hero {
  align-items: center;
}

.home-hero .hero-content {
  max-width: none;
  padding-top: 84px;
  padding-bottom: 84px;
}

.home-hero .display {
  max-width: 760px;
}

.home-hero .lead {
  max-width: 700px;
}

/* Sezione Nanocappotto in home */
.home-nano-main {
  align-items: stretch;
  gap: 58px;
}

.home-nano-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-nano-copy .lead {
  margin: 20px 0 14px;
}

.home-nano-copy > p:not(.lead) {
  margin: 0;
  color: #4e5d67;
}

.home-nano-actions {
  margin-top: 26px;
}

.home-nano-media {
  min-height: 390px;
  overflow: hidden;
  border-radius: 24px;
}

.home-nano-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-nano-benefits {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 42px;
}

.home-nano-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,22,89,.04);
  transition: transform .25s,box-shadow .25s;
}

.home-nano-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,22,89,.08);
}

.home-nano-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.home-nano-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #EEF2F4;
}

.home-nano-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #41718D;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-nano-card h3 {
  margin: 0;
  color: #001659;
  font-size: 17px;
  line-height: 1.3;
}

.home-nano-card p {
  margin: 0;
  color: #37434b;
  font-size: 15px;
  line-height: 1.65;
}

.home-services {
  row-gap: 28px;
}

.home-services .service-card-media {
  height: 285px;
}

.home-services .card-body {
  min-height: 245px;
  display: flex;
  flex-direction: column;
}

.home-services .card-body p {
  flex: 1;
}

.home-services .card-link {
  align-self: flex-start;
}

.section:not(.section-dark) h1,
.section:not(.section-dark) h2,
.section:not(.section-dark) h3 {
  color: #001659;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.hero h1,
.hero h2,
.hero h3,
.landing-hero h1,
.landing-hero h2,
.landing-hero h3 {
  color: #fff;
}

.eyebrow {
  color: #41718D;
}

.hero .eyebrow,.section-dark .eyebrow,.landing-hero .eyebrow {
  color: #8fb4c8;
}

.hero:after {
  background: linear-gradient(90deg,rgba(0,22,89,.88) 0%,rgba(0,22,89,.60) 46%,rgba(0,22,89,.18) 76%),linear-gradient(0deg,rgba(0,22,89,.72),transparent 48%);
}

.topbar {
  background: #001659;
}

.section-dark {
  background: #001659;
}

.site-footer {
  background: #001659;
}

.card-link,.line-link {
  border-bottom-color: #41718D;
}

.nav-drop-menu a:hover {
  background: #EEF2F4;
}

.page-hero {
  background: linear-gradient(100deg,#001659 0%,#173c6e 48%,#41718D 100%);
}

.landing-form h2 {
  color: #001659;
}

.landing-logo {
  max-height: 86px;
  object-fit: contain;
}

.gallery {
  grid-auto-rows: 310px;
}

.gallery-item img {
  object-position: center;
}

.lightbox-prev,.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: min(760px,80vw);
  color: #fff;
  text-align: center;
  font-size: 13px;
  background: rgba(0,22,89,.6);
  backdrop-filter: blur(8px);
  padding: 9px 13px;
  border-radius: 999px;
}

.lightbox img {
  max-width: min(1180px,88vw);
  max-height: 82vh;
}

.landing-hero:after {
  background: linear-gradient(90deg,rgba(0,22,89,.93) 0 45%,rgba(0,22,89,.56) 72%,rgba(0,22,89,.26));
}

@media (max-width:860px) {
  .home-services .service-card-media {
    height: 300px;
  }

  .home-services .card-body {
    min-height: auto;
  }

  .brand img {
    width: 190px;
    max-height: 58px;
  }

  .gallery {
    grid-auto-rows: 300px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-prev,.lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .lightbox img {
    max-width: 92vw;
    max-height: 78vh;
  }

}

@media (max-width:520px) {
  .home-services .service-card-media {
    height: 245px;
  }

  .gallery {
    grid-auto-rows: 260px;
  }

}


/* ==========================================================
   TYPOGRAPHY / CTA / COMPACT GALLERIES
   ========================================================== */

.display {
  font-size: clamp(44px,5.7vw,72px);
  line-height: 1;
}

.section h2,.page-hero h1 {
  font-size: clamp(30px,3.7vw,48px);
  line-height: 1.08;
}

.section h3 {
  font-size: 20px;
  line-height: 1.24;
}

.statement {
  font-size: clamp(26px,3vw,40px);
  line-height: 1.16;
}

.landing-copy h1 {
  font-size: clamp(40px,5.2vw,62px);
  line-height: 1.02;
}

.article h2 {
  font-size: 28px;
}

.landing-form h2 {
  font-size: 25px;
}

.preform-cta {
  background: #41718D;
  color: #fff;
  padding: 42px 0;
}

.preform-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.preform-cta h2 {
  margin: 0 0 5px;
  color: #fff;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: clamp(25px,2.7vw,34px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.preform-cta p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 15px;
  line-height: 1.55;
}

.preform-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 215px;
  padding: 14px 25px;
  border-radius: 999px;
  background: #fff;
  color: #001659;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0,22,89,.10);
  transition: .25s;
}

.preform-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,22,89,.16);
}

.gallery-section {
  padding-top: 62px;
  padding-bottom: 62px;
}

.gallery-section .section-head {
  margin-bottom: 24px;
}

.gallery {
  grid-auto-rows: 350px;
}

/* Gallery lavori: immagini ravvicinate */
.gallery-section .gallery {
  gap: 2px;
}

.gallery-section .gallery > figure {
  margin: 0;
}

.gallery-item {
  border-radius: 6px;
}

.gallery-caption {
  left: 10px;
  right: 10px;
  bottom: 10px;
}

@media (max-width:860px) {
  .display {
    font-size: 40px;
  }

  .section h2,.page-hero h1 {
    font-size: 32px;
  }

  .section h3 {
    font-size: 19px;
  }

  .statement {
    font-size: 32px;
  }

  .landing-copy h1 {
    font-size: 40px;
  }

  .preform-cta {
    padding: 34px 0;
  }

  .preform-cta-inner {
    align-items: flex-start;
    gap: 24px;
  }

  .preform-cta h2 {
    font-size: 25px;
  }

  .gallery-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .gallery-section .section-head {
    margin-bottom: 18px;
  }

  .gallery {
    grid-auto-rows: 330px;
  }

  .gallery-section .gallery {
    gap: 2px;
  }

}

@media (max-width:620px) {
  .preform-cta-inner {
    display: block;
  }

  .preform-cta-btn {
    margin-top: 20px;
    min-width: 0;
    width: 100%;
  }

}

@media (max-width:520px) {
  .display {
    font-size: 35px;
  }

  .section h2,.page-hero h1 {
    font-size: 28px;
  }

  .section h3 {
    font-size: 18px;
  }

  .statement {
    font-size: 29px;
  }

  .landing-copy h1 {
    font-size: 34px;
  }

  .article h2 {
    font-size: 25px;
  }

  .preform-cta {
    padding: 30px 0;
  }

  .preform-cta h2 {
    font-size: 23px;
  }

  .preform-cta p {
    font-size: 14px;
  }

  .gallery-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .gallery {
    grid-auto-rows: 300px;
  }

  .gallery-section .gallery {
    gap: 1px;
  }

}


@media (max-width:860px) {
  .home-hero .hero-content {
    padding-top: 72px;
    padding-bottom: 62px;
  }

  .home-nano-main {
    gap: 30px;
  }

  .home-nano-media {
    min-height: 0;
    height: 390px;
  }

  .home-nano-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }
}

@media (max-width:520px) {
  .home-hero .hero-content {
    padding-top: 58px;
    padding-bottom: 50px;
  }

  .home-nano-media {
    height: 330px;
  }

  .home-nano-card {
    padding: 20px;
  }

  .home-nano-card p {
    font-size: 14px;
  }
}

/* ==========================================================
   10. LANDING NANOCAPPOTTO — LAYOUT E COMPONENTI
   ========================================================== */

.lp5 {
  background: #fff;
  color: #001659;
  font-family: Manrope,Arial,sans-serif;
  overflow-x: hidden;
}

.lp5 * {
  box-sizing: border-box;
}

.lp5 h1,.lp5 h2,.lp5 h3 {
  font-family: Montserrat,Manrope,sans-serif;
  color: #001659;
  letter-spacing: -.035em;
}

.lp5 p {
  color: #526271;
}

.lp5-top {
  background: #fff;
  border-bottom: 1px solid rgba(0,22,89,.09);
  position: relative;
  z-index: 40;
}

.lp5-top-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp5-logo {
  width: 176px;
  height: 54px;
  object-fit: contain;
}

.lp5-top-contact {
  text-align: right;
  line-height: 1.1;
}

.lp5-top-contact small {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  font-weight: 800;
  color: #72808b;
  margin-bottom: 5px;
}

.lp5-top-contact a {
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #001659;
}

.lp5-kicker {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a8cada;
  margin-bottom: 14px;
}

.lp5-kicker-blue {
  color: #41718D;
}

.lp5-hero {
  position: relative;
  min-height: 690px;
  background: #001659;
  color: #fff;
  overflow: hidden;
}

.lp5-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lp5-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0,22,89,.96) 0%,rgba(0,22,89,.87) 43%,rgba(0,22,89,.44) 67%,rgba(0,22,89,.26) 100%),linear-gradient(0deg,rgba(0,22,89,.48),rgba(0,22,89,.05) 50%);
}

.lp5-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,.78fr);
  gap: 66px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.lp5-hero-copy {
  max-width: 650px;
}

.lp5-hero h1 {
  font-size: clamp(38px,4.4vw,62px);
  line-height: 1.03;
  color: #fff;
  max-width: 650px;
}

.lp5-hero-intro {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.86);
  max-width: 620px;
  margin: 19px 0 20px;
}

.lp5-hero-intro strong {
  color: #fff;
}

.lp5-checks {
  list-style: none;
  margin: 21px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lp5-checks li {
  position: relative;
  padding-left: 27px;
  font-size: 13px;
}

.lp5-checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.lp5-checks-light li {
  color: rgba(255,255,255,.9);
}

.lp5-checks-light li:before {
  background: #41718D;
  color: #fff;
}

.lp5-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.lp5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 800;
  transition: .25s;
}

.lp5-btn:hover {
  transform: translateY(-2px);
}

.lp5-btn-light {
  background: #fff;
  color: #001659;
}

.lp5-btn-outline {
  border: 1px solid rgba(255,255,255,.52);
  color: #fff;
  background: rgba(255,255,255,.05);
}

.lp5-btn-blue {
  background: #41718D;
  color: #fff;
  padding: 13px 22px;
}

.lp5-form-panel {
  background: #fff;
  color: #001659;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 23px;
  box-shadow: 0 25px 65px rgba(0,0,0,.24);
}

.lp5-form-title span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #41718D;
  font-weight: 800;
}

.lp5-form-title h2 {
  font-size: 20px;
  line-height: 1.15;
  margin: 6px 0 6px;
}

.lp5-form-title p {
  font-size: 11px;
  line-height: 1.45;
  margin: 0 0 16px;
}

.lp5-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lp5-form-grid .field.full {
  grid-column: 1/-1;
}

.lp5 .lp5-form-panel .field label {
  font-size: 9px;
  margin-bottom: 4px;
}

.lp5 .lp5-form-panel .field input,
.lp5 .lp5-form-panel .field select,
.lp5 .lp5-form-panel .field textarea {
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 11px;
  border: 1px solid #d4dce1;
}

.lp5 .lp5-form-panel .field textarea {
  min-height: 68px;
}

.lp5 .lp5-form-panel .privacy-check {
  font-size: 8px !important;
  line-height: 1.35;
}

.lp5-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #41718D;
  color: #fff;
  padding: 11px 16px;
  font-family: Manrope,Arial,sans-serif;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.lp5-submit:hover {
  background: #315f79;
}

.lp5-strip {
  height: 32px;
  background: #001659;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,.13);
}

.lp5-strip-track {
  display: inline-flex;
  align-items: center;
  height: 100%;
  min-width: max-content;
  animation: lp5marquee 28s linear infinite;
}

.lp5-strip span {
  display: inline-flex;
  align-items: center;
  font-size: 8px;
  letter-spacing: .14em;
  font-weight: 800;
}

.lp5-strip span:after {
  content: "•";
  font-size: 8px;
  color: #8fb4c8;
  padding: 0 21px;
}

@keyframes lp5marquee {
  to {
    transform: translateX(-50%);
  }

}

.lp5-section {
  padding: 78px 0;
}

.lp5-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .78fr;
  gap: 82px;
  align-items: center;
}

.lp5-intro-copy h2,
.lp5-section-head h2,
.lp5-faq-title h2,
.lp5-final-copy h2 {
  font-size: clamp(29px,3.2vw,43px);
  line-height: 1.06;
}

.lp5-intro-copy p,.lp5-section-head p,.lp5-faq-title p,.lp5-final-copy p {
  font-size: 13px;
  line-height: 1.72;
  margin: 16px 0;
}

.lp5-mini-actions {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.lp5-mini-actions a {
  font-size: 10px;
  font-weight: 800;
  color: #001659;
  border-bottom: 1px solid #41718D;
  padding-bottom: 2px;
}

.lp5-compare-card {
  background: #fff;
  border: 1px solid rgba(0,22,89,.14);
  box-shadow: 0 18px 45px rgba(0,22,89,.09);
  position: relative;
  min-height: 370px;
  padding: 22px 24px 22px 26px;
  overflow: hidden;
}

.lp5-compare-head {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,22,89,.11);
}

.lp5-compare-head>span {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #41718D;
  color: #fff;
  font-family: Montserrat;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.lp5-compare-head strong {
  font-family: Montserrat;
  font-size: 17px;
  line-height: 1.1;
}

.lp5-compare-card ul {
  list-style: none;
  padding: 13px 0 0;
  margin: 0;
  width: 75%;
  display: grid;
  gap: 10px;
}

.lp5-compare-card li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 9px;
  align-items: start;
}

.lp5-compare-card li>span {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #EEF2F4;
  color: #41718D;
  font-size: 8px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.lp5-compare-card li strong {
  display: block;
  font-size: 10px;
}

.lp5-compare-card li small {
  display: block;
  font-size: 8px;
  line-height: 1.3;
  color: #6a7883;
}

.lp5-wall-demo {
  position: absolute;
  right: 20px;
  bottom: 52px;
  width: 65px;
  height: 176px;
  display: flex;
  gap: 2px;
  align-items: stretch;
  transform: skewY(-3deg);
}

.lp5-wall-demo i {
  flex: 1;
  border: 1px solid rgba(0,22,89,.12);
}

.lp5-wall-demo i:nth-child(1) {
  background: #d9c5a6;
}

.lp5-wall-demo i:nth-child(2) {
  background: #b75a38;
}

.lp5-wall-demo i:nth-child(3) {
  background: #efe7da;
}

.lp5-wall-demo i:nth-child(4) {
  background: #41718D;
  width: 8px;
  flex: .6;
}

.lp5-compare-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #001659;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  padding: 9px 12px;
}

.lp5-dark {
  background: #001659;
  color: #fff;
}

.lp5-dark h2,.lp5-dark h3 {
  color: #fff;
}

.lp5-centered-head {
  text-align: center;
  margin-bottom: 28px;
}

.lp5-centered-head h2 {
  font-size: clamp(27px,3vw,39px);
  line-height: 1.08;
  color: #fff;
}

.lp5-centered-head-dark h2 {
  color: #001659;
}

.lp5-advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 16px;
  max-width: 980px;
  margin: auto;
}

.lp5-advantages div {
  position: relative;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  padding: 11px 13px 11px 35px;
  font-size: 10px;
  color: #eaf0f3;
}

.lp5-advantages div:before {
  content: "✓";
  position: absolute;
  left: 11px;
  top: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #41718D;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 8px;
}

.lp5-soft {
  background: #EEF2F4;
}

.lp5-section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.lp5-section-head.compact {
  max-width: 760px;
}

.lp5-section-head>p {
  max-width: 560px;
}

.lp5-feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 13px;
}

.lp5-feature-grid article {
  background: #fff;
  border: 1px solid rgba(0,22,89,.10);
  border-radius: 9px;
  padding: 22px;
  min-height: 170px;
}

.lp5-feature-grid small {
  font-size: 8px;
  color: #41718D;
  letter-spacing: .1em;
  font-weight: 800;
}

.lp5-feature-grid h3 {
  font-size: 15px;
  margin: 22px 0 7px;
}

.lp5-feature-grid p {
  font-size: 10px;
  line-height: 1.55;
  margin: 0;
}

.lp5-solution-grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 80px;
  align-items: center;
}

.lp5-solution-grid h2 {
  font-size: clamp(30px,3.4vw,44px);
  line-height: 1.04;
}

.lp5-solution-grid>div>p {
  font-size: 12px;
  line-height: 1.7;
  color: #cad7dd;
}

.lp5-solution-photo {
  height: 410px;
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
}

.lp5-solution-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp5-solution-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0,22,89,.7);
  color: #fff;
  font-size: 9px;
  padding: 7px 10px;
  border-radius: 999px;
}

.lp5-area-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 13px;
}

.lp5-area-grid article {
  background: #fff;
  border-top: 2px solid #41718D;
  border-radius: 0 0 9px 9px;
  padding: 20px;
  min-height: 105px;
}

.lp5-area-grid strong {
  font-size: 11px;
}

.lp5-area-grid p {
  font-size: 9px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.lp5-faq-section {
  background: #EEF2F4;
}

.lp5-faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 85px;
  align-items: start;
}

.lp5-faq-list {
  border-top: 1px solid rgba(0,22,89,.13);
}

.lp5-faq-list details {
  border-bottom: 1px solid rgba(0,22,89,.13);
  padding: 14px 0;
}

.lp5-faq-list summary {
  font-family: Montserrat;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 25px;
}

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

.lp5-faq-list summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: #41718D;
  font-size: 17px;
}

.lp5-faq-list details[open] summary:after {
  content: "−";
}

.lp5-faq-list p {
  font-size: 9px;
  line-height: 1.55;
  margin: 9px 0 0;
}

.lp5-steps-section {
  background: #fff;
}

.lp5-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 13px;
}

.lp5-steps article {
  border: 1px solid rgba(0,22,89,.12);
  border-radius: 7px;
  padding: 22px;
  min-height: 150px;
}

.lp5-steps span {
  font-family: Montserrat;
  font-size: 18px;
  color: #41718D;
  font-weight: 800;
}

.lp5-steps h3 {
  font-size: 12px;
  margin: 19px 0 6px;
}

.lp5-steps p {
  font-size: 9px;
  line-height: 1.5;
  margin: 0;
}

.lp5-center-action {
  text-align: center;
  margin-top: 24px;
}

.lp5-gallery-section {
  padding: 64px 0 26px;
  background: #EEF2F4;
}

.lp5-gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.lp5-gallery figure {
  height: 315px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
  background: #001659;
}

.lp5-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s;
}

.lp5-gallery figure:hover img {
  transform: scale(1.025);
  opacity: .92;
}

.lp5-gallery figcaption {
  position: absolute;
  left: 9px;
  bottom: 9px;
  background: rgba(0,22,89,.72);
  color: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 8px;
}

.lp5-cta-band {
  background: #41718D;
  color: #fff;
  padding: 25px 0;
}

.lp5-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.lp5-cta-band h2 {
  font-size: 18px;
  color: #fff;
  margin: 0 0 4px;
}

.lp5-cta-band p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 10px;
}

.lp5-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #001659;
  border-radius: 999px;
  padding: 10px 17px;
  min-width: 135px;
  font-size: 9px;
  font-weight: 800;
}

.lp5-final-form {
  background: #EEF2F4;
}

.lp5-final-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 85px;
  align-items: start;
}

.lp5-contact-lines {
  margin-top: 28px;
  display: grid;
}

.lp5-contact-lines a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,22,89,.12);
}

.lp5-contact-lines small {
  display: block;
  font-size: 8px;
  letter-spacing: .12em;
  color: #75838e;
  font-weight: 800;
}

.lp5-contact-lines strong {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.lp5-form-panel-final {
  box-shadow: 0 18px 45px rgba(0,22,89,.10);
  border-color: rgba(0,22,89,.08);
}

.lp5-footer {
  background: #001659;
  color: #9fb1bc;
  padding: 22px 0 68px;
  font-size: 9px;
}

.lp5-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.lp5-footer a {
  color: #dce5e9;
}

.lp5-sticky {
  display: none;
  position: fixed;
  z-index: 98;
  left: 10px;
  right: 10px;
  bottom: 10px;
  gap: 7px;
}

.lp5-sticky a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 9px;
  border-radius: 999px;
  background: #001659;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,22,89,.28);
}

.lp5-sticky a:last-child {
  background: #41718D;
}

@media (max-width:980px) {
  .lp5-hero-grid {
    grid-template-columns: 1fr .88fr;
    gap: 35px;
  }

  .lp5-intro-grid,.lp5-solution-grid,.lp5-faq-grid,.lp5-final-grid {
    gap: 45px;
  }

  .lp5-section {
    padding: 66px 0;
  }

  .lp5-gallery figure {
    height: 285px;
  }

}

@media (max-width:800px) {
  .lp5-top-inner {
    height: 68px;
  }

  .lp5-logo {
    width: 150px;
  }

  .lp5-hero {
    min-height: 0;
  }

  .lp5-hero-grid {
    grid-template-columns: 1fr;
    padding-top: 65px;
    padding-bottom: 45px;
  }

  .lp5-hero-overlay {
    background: linear-gradient(0deg,rgba(0,22,89,.96) 0%,rgba(0,22,89,.75) 70%,rgba(0,22,89,.56) 100%);
  }

  .lp5-hero-copy {
    max-width: none;
  }

  .lp5-hero h1 {
    font-size: 38px;
    max-width: 620px;
  }

  .lp5-form-panel {
    max-width: 620px;
    width: 100%;
    margin: auto;
  }

  .lp5-intro-grid,.lp5-solution-grid,.lp5-faq-grid,.lp5-final-grid {
    grid-template-columns: 1fr;
  }

  .lp5-intro-grid {
    gap: 35px;
  }

  .lp5-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp5-area-grid,.lp5-steps {
    grid-template-columns: 1fr 1fr;
  }

  .lp5-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .lp5-gallery figure:last-child {
    grid-column: 1/-1;
  }

  .lp5-solution-photo {
    height: 360px;
  }

  .lp5-sticky {
    display: flex;
  }

  .lp5-footer {
    padding-bottom: 82px;
  }

}

@media (max-width:560px) {
  .lp5-top-inner {
    height: 62px;
  }

  .lp5-logo {
    width: 132px;
  }

  .lp5-top-contact small {
    font-size: 7px;
  }

  .lp5-top-contact a {
    font-size: 13px;
  }

  .lp5-hero-grid {
    padding-top: 46px;
    padding-bottom: 34px;
    gap: 28px;
  }

  .lp5-hero h1 {
    font-size: 32px;
    line-height: 1.07;
  }

  .lp5-hero-intro {
    font-size: 13px;
  }

  .lp5-checks li {
    font-size: 11px;
  }

  .lp5-hero-actions {
    display: grid;
  }

  .lp5-btn {
    width: 100%;
  }

  .lp5-form-panel {
    padding: 18px;
    border-radius: 13px;
  }

  .lp5-form-grid {
    grid-template-columns: 1fr;
  }

  .lp5-form-grid .field.full {
    grid-column: auto;
  }

  .lp5-section {
    padding: 52px 0;
  }

  .lp5-intro-copy h2,
  .lp5-section-head h2,
  .lp5-faq-title h2,
  .lp5-final-copy h2 {
    font-size: 28px;
  }

  .lp5-intro-copy p,.lp5-section-head p,.lp5-faq-title p,.lp5-final-copy p {
    font-size: 12px;
  }

  .lp5-compare-card {
    padding: 18px;
    min-height: 365px;
  }

  .lp5-compare-card ul {
    width: 72%;
  }

  .lp5-advantages {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .lp5-feature-grid,.lp5-area-grid,.lp5-steps,.lp5-gallery {
    grid-template-columns: 1fr;
  }

  .lp5-gallery {
    gap: 8px;
  }

  .lp5-gallery figure,.lp5-gallery figure:last-child {
    grid-column: auto;
    height: 320px;
  }

  .lp5-solution-photo {
    height: 320px;
  }

  .lp5-centered-head {
    margin-bottom: 22px;
  }

  .lp5-centered-head h2 {
    font-size: 27px;
  }

  .lp5-cta-band-inner {
    display: block;
  }

  .lp5-cta-pill {
    margin-top: 15px;
    width: 100%;
  }

  .lp5-footer .container {
    display: block;
  }

  .lp5-footer span {
    display: block;
    margin: 5px 0;
  }

  .lp5-strip span:after {
    padding: 0 14px;
  }

}


/* ==========================================================
   LANDING NANOCAPPOTTO — tipografia e confronto AFONTERMO®
   ========================================================== */

.lp5 {
  font-size: 16px;
  line-height: 1.68;
}

.lp5-kicker {
  font-size: 11px;
  margin-bottom: 15px;
}

.lp5-top-contact small {
  font-size: 10px;
}

.lp5-top-contact a {
  font-size: 16px;
}

.lp5-hero h1 {
  font-size: clamp(42px,4.6vw,60px);
  line-height: 1.04;
}

.lp5-hero-intro {
  font-size: 17px;
  line-height: 1.65;
}

.lp5-checks li {
  font-size: 15px;
  line-height: 1.5;
}

.lp5-btn {
  font-size: 13px;
  padding: 13px 20px;
}

.lp5-form-title span {
  font-size: 10px;
}

.lp5-form-title h2 {
  font-size: 24px;
}

.lp5-form-title p {
  font-size: 13px;
  line-height: 1.5;
}

.lp5 .lp5-form-panel .field label {
  font-size: 12px;
}

.lp5 .lp5-form-panel .field input,
.lp5 .lp5-form-panel .field select,
.lp5 .lp5-form-panel .field textarea {
  font-size: 14px;
  padding: 11px 12px;
}

.lp5 .lp5-form-panel .privacy-check {
  font-size: 11px !important;
}

.lp5-submit {
  font-size: 13px;
  padding: 13px 18px;
}

.lp5-strip {
  height: 38px;
}

.lp5-strip span {
  font-size: 10px;
}

.lp5-intro-copy h2,
.lp5-section-head h2,
.lp5-faq-title h2,
.lp5-final-copy h2 {
  font-size: clamp(36px,4.2vw,54px);
  line-height: 1.06;
}

.lp5-intro-copy p,.lp5-section-head p,.lp5-faq-title p,.lp5-final-copy p {
  font-size: 16px;
  line-height: 1.72;
}

.lp5-mini-actions a {
  font-size: 13px;
}

.lp5-compare-head strong {
  font-size: 20px;
}

.lp5-compare-card li strong {
  font-size: 13px;
}

.lp5-compare-card li small {
  font-size: 11px;
  line-height: 1.4;
}

.lp5-compare-foot {
  font-size: 10px;
}

.lp5-centered-head h2 {
  font-size: clamp(34px,4vw,50px);
}

.lp5-advantages div {
  font-size: 14px;
  line-height: 1.45;
  padding: 13px 15px 13px 39px;
}

.lp5-feature-grid small {
  font-size: 10px;
}

.lp5-feature-grid h3 {
  font-size: 19px;
}

.lp5-feature-grid p {
  font-size: 14px;
  line-height: 1.6;
}

.lp5-solution-grid h2 {
  font-size: clamp(36px,4.2vw,54px);
}

.lp5-solution-grid>div>p {
  font-size: 16px;
  line-height: 1.7;
}

.lp5-solution-photo figcaption {
  font-size: 11px;
}

.lp5-faq-list summary {
  font-size: 15px;
  line-height: 1.45;
}

.lp5-faq-list p {
  font-size: 14px;
  line-height: 1.65;
}

.lp5-steps h3 {
  font-size: 17px;
}

.lp5-steps p {
  font-size: 14px;
  line-height: 1.55;
}

.lp5-gallery figcaption {
  font-size: 11px;
}

.lp5-cta-band h2 {
  font-size: 24px;
}

.lp5-cta-band p {
  font-size: 14px;
}

.lp5-cta-pill {
  font-size: 12px;
  padding: 11px 19px;
}

.lp5-contact-lines small {
  font-size: 10px;
}

.lp5-contact-lines strong {
  font-size: 15px;
}

.lp5-footer {
  font-size: 12px;
}

.lp5-sticky a {
  font-size: 12px;
}


/* ==========================================================
   CONFRONTO AFONTERMO® / CAPPOTTO TRADIZIONALE
   ========================================================== */

.lp5-comparison-section {
  background: #fff;
}

.lp5-comparison-intro {
  max-width: 970px;
  margin-bottom: 48px;
}

.lp5-comparison-intro h2 {
  font-size: clamp(36px,4.3vw,56px);
  line-height: 1.08;
  font-weight: 600;
  max-width: 920px;
}

.lp5-comparison-intro h2 strong {
  font-weight: 800;
}

.lp5-comparison-intro p {
  max-width: 940px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.72;
  color: #46545f;
}

.lp5-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.lp5-comparison-box {
  position: relative;
  border: 1px solid #d5dee4;
  border-radius: 12px;
  background: #fff;
  padding: 38px 34px 30px;
  min-height: 100%;
}

.lp5-comparison-box-choice {
  border: 2px solid #41718D;
}

.lp5-choice-label {
  position: absolute;
  left: 26px;
  top: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #41718D;
  color: #fff;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.lp5-comparison-box h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 22px;
  color: #001659;
}

.lp5-pros-cons {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp5-pros-cons li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid #e3e9ed;
}

.lp5-pros-cons li:last-child {
  border-bottom: 0;
}

.lp5-pros-cons li>span {
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.lp5-pros li>span {
  color: #20aa59;
}

.lp5-cons li>span {
  color: #df432d;
}

.lp5-pros-cons p {
  font-size: 15px;
  line-height: 1.62;
  color: #37434b;
  margin: 0;
}

@media (max-width:800px) {
  .lp5-hero h1 {
    font-size: 40px;
  }

  .lp5-hero-intro {
    font-size: 16px;
  }

  .lp5-comparison-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lp5-comparison-intro {
    margin-bottom: 40px;
  }

}

@media (max-width:560px) {
  .lp5-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .lp5-hero-intro {
    font-size: 15px;
  }

  .lp5-checks li {
    font-size: 14px;
  }

  .lp5-form-title h2 {
    font-size: 22px;
  }

  .lp5 .lp5-form-panel .field input,
  .lp5 .lp5-form-panel .field select,
  .lp5 .lp5-form-panel .field textarea {
    font-size: 16px;
  }

  .lp5-intro-copy h2,
  .lp5-section-head h2,
  .lp5-faq-title h2,
  .lp5-final-copy h2 {
    font-size: 32px;
  }

  .lp5-intro-copy p,.lp5-section-head p,.lp5-faq-title p,.lp5-final-copy p {
    font-size: 15px;
  }

  .lp5-centered-head h2 {
    font-size: 31px;
  }

  .lp5-feature-grid h3 {
    font-size: 18px;
  }

  .lp5-feature-grid p,.lp5-faq-list p,.lp5-steps p {
    font-size: 14px;
  }

  .lp5-faq-list summary {
    font-size: 15px;
  }

  .lp5-comparison-intro h2 {
    font-size: 32px;
  }

  .lp5-comparison-intro p {
    font-size: 15px;
  }

  .lp5-comparison-box {
    padding: 34px 20px 22px;
  }

  .lp5-choice-label {
    left: 18px;
    font-size: 10px;
  }

  .lp5-comparison-box h3 {
    font-size: 21px;
  }

  .lp5-pros-cons {
    margin-top: 4px;
  }

  .lp5-pros-cons li {
    grid-template-columns: 22px 1fr;
    gap: 9px;
    padding: 12px 0;
  }

  .lp5-pros-cons p {
    font-size: 14px;
    line-height: 1.55;
  }

  .lp5-cta-band h2 {
    font-size: 21px;
  }

  .lp5-cta-band p {
    font-size: 14px;
  }

}

/* ==========================================================
   HOME — HERO E PRIMA SEZIONE (REFERENCE 30/08/2026)
   Header, logo e menu restano invariati.
   ========================================================== */

.home-hero-reference {
  min-height: 570px;
  align-items: center;
  background: #001659;
}

.home-hero-reference .hero-bg {
  inset: 0;
  transform: none;
  background-position: center 47%;
}

.home-hero-reference::after {
  background:
    linear-gradient(90deg,
      rgba(0,22,89,.98) 0%,
      rgba(0,22,89,.87) 31%,
      rgba(0,22,89,.88) 53%,
      rgba(0,22,89,.42) 75%,
      rgba(0,22,89,.08) 100%),
    linear-gradient(0deg,rgba(0,22,89,.34),rgba(0,22,89,.02) 48%);
}

.home-hero-reference .hero-content {
  width: 100%;
  padding-top: 84px;
  padding-right: clamp(34px, 4.5vw, 72px);
  padding-bottom: 84px;
  padding-left: clamp(34px, 4.5vw, 72px);
}

.home-hero-copy {
  width: min(820px,66%);
}

.home-hero-reference .eyebrow {
  color: rgba(255,255,255,.88);
  margin-bottom: 18px;
}

.home-hero-reference .display {
  font-size: clamp(44px,5vw,68px);
  line-height: 1.01;
  max-width: 820px;
}

.home-hero-reference .lead {
  max-width: 590px;
  margin: 24px 0 30px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.92);
}

.home-hero-reference .btn-light {
  background: #fff;
  color: #001659;
  border-color: #fff;
}

.home-hero-reference .btn-light:hover {
  background: #eef2f4;
  border-color: #eef2f4;
}

.home-experience-section {
  background: #EEF2F4;
}

.home-experience-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(520px,1.08fr);
  gap: clamp(54px,6vw,88px);
  align-items: center;
}

.home-experience-copy {
  max-width: 620px;
}

.home-experience-copy h2 {
  max-width: 590px;
  margin-bottom: 26px;
}

.home-experience-copy p {
  margin: 0 0 18px;
  color: #4e5d67;
  font-size: 16px;
  line-height: 1.72;
}

.home-experience-copy .btn {
  margin-top: 8px;
}

.home-experience-gallery {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(190px,.82fr);
  gap: 14px;
  min-height: 450px;
}

.home-experience-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #eef2f4;
}

.home-experience-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-experience-gallery a:hover img {
  transform: scale(1.025);
}

.home-experience-main {
  min-height: 450px;
}

.home-experience-main img {
  object-position: center;
}

.home-experience-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 450px;
}

.home-experience-side a {
  min-height: 0;
}

.home-experience-side a:last-child img {
  object-position: center 38%;
}

@media (max-width: 1100px) {
  .home-experience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .home-experience-gallery,
  .home-experience-main,
  .home-experience-side {
    min-height: 400px;
  }
}

@media (max-width: 860px) {
  .home-hero-reference {
    min-height: 520px;
  }

  .home-hero-reference .hero-bg {
    background-position: 62% center;
  }

  .home-hero-reference::after {
    background: linear-gradient(90deg,rgba(0,22,89,.94) 0%,rgba(0,22,89,.78) 52%,rgba(0,22,89,.30) 100%);
  }

  .home-hero-copy {
    width: min(650px,88%);
  }

  .home-hero-reference .display {
    font-size: clamp(39px,7vw,54px);
  }

  .home-experience-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-experience-copy {
    max-width: 720px;
  }

  .home-experience-gallery {
    grid-template-columns: minmax(0,1.45fr) minmax(180px,.85fr);
    min-height: 390px;
  }

  .home-experience-main,
  .home-experience-side {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .home-hero-reference {
    min-height: 540px;
    align-items: flex-end;
  }

  .home-hero-reference .hero-bg {
    background-position: 66% center;
  }

  .home-hero-reference::after {
    background:
      linear-gradient(90deg,rgba(0,22,89,.94) 0%,rgba(0,22,89,.72) 72%,rgba(0,22,89,.38) 100%),
      linear-gradient(0deg,rgba(0,22,89,.78),rgba(0,22,89,.04) 55%);
  }

  .home-hero-reference .hero-content {
    padding-top: 68px;
    padding-right: 24px;
    padding-bottom: 48px;
    padding-left: 24px;
  }

  .home-hero-copy {
    width: 100%;
  }

  .home-hero-reference .display {
    font-size: clamp(36px,11vw,48px);
  }

  .home-hero-reference .lead {
    font-size: 16px;
    line-height: 1.58;
    margin: 20px 0 24px;
  }

  .home-hero-reference .hero-actions {
    gap: 10px;
  }

  .home-hero-reference .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-experience-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .home-experience-grid {
    gap: 30px;
  }

  .home-experience-copy p {
    font-size: 15px;
    line-height: 1.68;
  }

  .home-experience-gallery {
    grid-template-columns: 1.2fr .8fr;
    gap: 8px;
    min-height: 300px;
  }

  .home-experience-main,
  .home-experience-side {
    min-height: 300px;
  }

  .home-experience-side {
    gap: 8px;
  }

  .home-experience-gallery a {
    border-radius: 10px;
  }
}

/* ============================================================
   11. PAGINA EDIL ANDREA — LAYOUT EDITORIALE / PREMIUM
   ============================================================ */

.company-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #001659;
  color: #fff;
}

.company-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 48%;
  transform: scale(1.015);
}

.company-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,rgba(0,22,89,.94) 0%,rgba(0,22,89,.78) 38%,rgba(0,22,89,.32) 66%,rgba(0,22,89,.08) 100%),
    linear-gradient(0deg,rgba(0,22,89,.22),rgba(0,22,89,0) 52%);
}

.company-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 78px;
  padding-bottom: 78px;
}

.company-hero-copy {
  width: min(650px,62%);
}

.company-hero .eyebrow {
  color: #c8deea;
}

.company-hero h1 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(42px,5vw,68px);
  line-height: 1.04;
}

.company-hero-copy > p {
  max-width: 600px;
  margin: 24px 0 30px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.65;
}

.company-story-section {
  background: #fff;
}

.company-story-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(470px,1.08fr);
  gap: clamp(54px,7vw,94px);
  align-items: center;
}

.company-story-copy {
  max-width: 650px;
}

.company-story-copy h2 {
  max-width: 600px;
  margin-bottom: 28px;
}

.company-story-copy p {
  margin: 0 0 18px;
  color: #4e5d67;
  line-height: 1.75;
}

.company-story-media {
  position: relative;
  padding: 0 0 52px 0;
}

.company-story-media > a {
  display: block;
  min-height: 500px;
  overflow: hidden;
  border-radius: 18px;
  background: #EEF2F4;
  cursor: zoom-in;
  box-shadow: 0 28px 70px rgba(0,22,89,.12);
}

.company-story-media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.company-story-media > a:hover img {
  transform: scale(1.025);
}

.company-story-badge {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: min(330px,78%);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid rgba(0,22,89,.1);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0,22,89,.14);
}

.company-story-badge-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #EEF2F4;
  color: #41718D;
}

.company-story-badge-icon svg {
  width: 34px;
  height: 34px;
}

.company-story-badge strong,
.company-story-badge span {
  display: block;
}

.company-story-badge strong {
  margin-bottom: 3px;
  color: #001659;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.company-story-badge span {
  color: #5f6f7c;
  font-size: 13px;
  line-height: 1.5;
}

.company-values-section {
  padding: 28px 0 0;
  background: #fff;
}

.company-values-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  overflow: hidden;
  background: #EEF2F4;
  border: 1px solid rgba(0,22,89,.07);
  border-radius: 18px;
}

.company-value {
  position: relative;
  padding: 34px 28px 36px;
  text-align: center;
}

.company-value + .company-value::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 0;
  width: 1px;
  background: rgba(0,22,89,.1);
}

.company-value-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  color: #41718D;
  box-shadow: 0 10px 28px rgba(0,22,89,.07);
}

.company-value-icon svg {
  width: 34px;
  height: 34px;
}

.company-value h3 {
  margin-bottom: 9px;
  color: #001659;
  font-size: 17px;
}

.company-value p {
  margin: 0;
  color: #5f6f7c;
  font-size: 14px;
  line-height: 1.6;
}

.company-services-section {
  background: #EEF2F4;
}

.company-section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.company-section-heading h2 {
  max-width: 700px;
}

.company-services-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.company-service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,22,89,.09);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0,22,89,.06);
  transition: transform .3s ease,box-shadow .3s ease;
}

.company-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,22,89,.1);
}

.company-service-image {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #dfe7eb;
}

.company-service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(0,22,89,.38),transparent 48%);
}

.company-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.company-service-card:hover .company-service-image img {
  transform: scale(1.035);
}

.company-service-number {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: #001659;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.company-service-body {
  padding: 28px 28px 30px;
}

.company-service-body h3 {
  margin-bottom: 12px;
  color: #001659;
  font-size: 21px;
}

.company-service-body p {
  margin: 0;
  color: #5f6f7c;
  line-height: 1.68;
}

.company-projects-section {
  background: #fff;
}

.company-projects-head {
  display: grid;
  grid-template-columns: minmax(0,.72fr) minmax(360px,.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 40px;
}

.company-projects-head p {
  margin: 0 0 6px;
  color: #5f6f7c;
  font-size: 16px;
  line-height: 1.7;
}

.company-projects-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
}

.company-project {
  margin: 0;
  height: 360px;
  overflow: hidden;
  border-radius: 12px;
  background: #EEF2F4;
  cursor: zoom-in;
}

.company-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease,opacity .4s ease;
}

.company-project:hover img {
  transform: scale(1.035);
  opacity: .94;
}

.company-projects-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.company-final-cta {
  padding: 34px 0;
  background: linear-gradient(100deg,#001659 0%,#173c6e 56%,#41718D 100%);
  color: #fff;
}

.company-final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.company-final-cta .eyebrow {
  margin-bottom: 8px;
  color: #b9d2df;
}

.company-final-cta h2 {
  color: #fff;
  font-size: clamp(26px,3vw,38px);
  line-height: 1.08;
}

.company-final-cta p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
}

.company-final-cta-btn {
  flex: 0 0 auto;
  min-width: 220px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #fff;
  color: #001659;
  text-align: center;
  font-weight: 800;
  transition: .25s;
}

.company-final-cta-btn:hover {
  background: #EEF2F4;
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .company-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .company-story-media > a,
  .company-story-media img {
    min-height: 440px;
    height: 440px;
  }

  .company-value {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 860px) {
  .company-hero {
    min-height: 470px;
  }

  .company-hero-bg {
    background-position: 62% center;
  }

  .company-hero::after {
    background: linear-gradient(90deg,rgba(0,22,89,.95) 0%,rgba(0,22,89,.78) 56%,rgba(0,22,89,.35) 100%);
  }

  .company-hero-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .company-hero-copy {
    width: min(620px,86%);
  }

  .company-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .company-story-copy {
    max-width: 760px;
  }

  .company-story-media {
    max-width: 760px;
  }

  .company-values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .company-value:nth-child(3)::before {
    display: none;
  }

  .company-value:nth-child(n+3) {
    border-top: 1px solid rgba(0,22,89,.1);
  }

  .company-services-grid {
    grid-template-columns: 1fr;
  }

  .company-service-card {
    display: grid;
    grid-template-columns: minmax(220px,.8fr) 1.2fr;
  }

  .company-service-image {
    height: 100%;
    min-height: 250px;
  }

  .company-service-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .company-projects-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .company-projects-grid {
    grid-template-columns: 1.25fr 1fr;
  }

  .company-project-large {
    grid-row: span 2;
    height: 100%;
  }

  .company-project:not(.company-project-large) {
    height: 250px;
  }

  .company-final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .company-hero {
    min-height: 520px;
  }

  .company-hero-bg {
    background-position: 66% center;
  }

  .company-hero::after {
    background:
      linear-gradient(90deg,rgba(0,22,89,.96) 0%,rgba(0,22,89,.82) 70%,rgba(0,22,89,.5) 100%),
      linear-gradient(0deg,rgba(0,22,89,.6),rgba(0,22,89,0) 55%);
  }

  .company-hero-inner {
    align-items: flex-end;
    padding-top: 58px;
    padding-bottom: 46px;
  }

  .company-hero-copy {
    width: 100%;
  }

  .company-hero h1 {
    font-size: clamp(34px,10vw,46px);
  }

  .company-hero-copy > p {
    margin: 18px 0 24px;
    font-size: 16px;
    line-height: 1.58;
  }

  .company-story-section {
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .company-story-media {
    padding-bottom: 0;
  }

  .company-story-media > a,
  .company-story-media img {
    min-height: 330px;
    height: 330px;
    border-radius: 12px;
  }

  .company-story-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: -42px auto 0;
    grid-template-columns: 52px 1fr;
    padding: 18px 20px;
  }

  .company-story-badge-icon {
    width: 52px;
    height: 52px;
  }

  .company-values-section {
    padding-top: 0;
  }

  .company-values-grid {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .company-value {
    padding: 26px 22px;
    text-align: left;
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 16px;
    align-items: center;
  }

  .company-value + .company-value::before {
    top: 0;
    bottom: auto;
    left: 22px;
    right: 22px;
    width: auto;
    height: 1px;
  }

  .company-value:nth-child(3)::before {
    display: block;
  }

  .company-value:nth-child(n+3) {
    border-top: 0;
  }

  .company-value-icon {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    margin: 0;
  }

  .company-value-icon svg {
    width: 29px;
    height: 29px;
  }

  .company-value h3 {
    margin: 0 0 4px;
  }

  .company-value p {
    grid-column: 2;
  }

  .company-services-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .company-section-heading {
    margin-bottom: 30px;
  }

  .company-service-card {
    display: block;
    border-radius: 14px;
  }

  .company-service-image {
    height: 220px;
    min-height: 0;
  }

  .company-service-body {
    padding: 23px 22px 26px;
  }

  .company-projects-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .company-projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .company-project-large {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 250px;
  }

  .company-project:not(.company-project-large) {
    height: 190px;
  }

  .company-project {
    border-radius: 8px;
  }

  .company-projects-action {
    margin-top: 28px;
  }

  .company-final-cta {
    padding: 30px 0;
  }

  .company-final-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ============================================================
   12. PAGINA EDIL ANDREA — LAYOUT PREMIUM V2
   ============================================================ */

.company-premium-page {
  background: #fff;
}

.company-premium-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #001659;
  color: #fff;
}

.company-premium-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.company-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 22, 89, 0.94) 0%, rgba(0, 22, 89, 0.84) 34%, rgba(0, 22, 89, 0.3) 64%, rgba(0, 22, 89, 0.06) 100%),
    linear-gradient(180deg, rgba(0, 22, 89, 0.1) 0%, rgba(0, 22, 89, 0.42) 100%);
}

.company-premium-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 88px;
  padding-bottom: 88px;
}

.company-premium-hero__copy {
  width: min(640px, 60%);
}

.company-premium-hero .eyebrow {
  color: #c8deea;
}

.company-premium-hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.04;
}

.company-premium-hero h1 span {
  color: #ffff;
}

.company-premium-hero p {
  max-width: 560px;
  margin: 0 0 30px;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.72;
}

.company-premium-story {
  padding-bottom: 28px;
  background: #fff;
}

.company-premium-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}

.company-premium-story__copy {
  max-width: 640px;
}

.company-premium-story__copy h2 {
  max-width: 560px;
  margin-bottom: 24px;
}

.company-premium-story__copy p {
  margin: 0 0 18px;
  color: #465764;
  line-height: 1.76;
}

.company-premium-story__media {
  position: relative;
  padding-bottom: 64px;
}

.company-premium-story__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #eef2f4;
  box-shadow: 0 28px 70px rgba(0,22,89,0.12);
  cursor: zoom-in;
}

.company-premium-story__figure img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.company-premium-story__badge {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: min(365px, 82%);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 52px rgba(0,22,89,0.14);
}

.company-premium-story__badge-icon,
.company-premium-approach__badge-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef4fb;
  color: #6f9fcc;
}

.company-premium-story__badge-icon svg,
.company-premium-approach__badge-icon svg {
  width: 34px;
  height: 34px;
}

.company-premium-story__badge strong,
.company-premium-story__badge span,
.company-premium-approach__badge strong,
.company-premium-approach__badge span {
  display: block;
}

.company-premium-story__badge strong,
.company-premium-approach__badge strong {
  margin-bottom: 5px;
  color: #001659;
  font-family: Montserrat, Manrope, sans-serif;
  font-size: 17px;
  line-height: 1.2;
}

.company-premium-story__badge span,
.company-premium-approach__badge span {
  color: #5d6d79;
  font-size: 14px;
  line-height: 1.58;
}

.company-premium-pillars {
  padding: 0 0 32px;
  background: #fff;
}

.company-premium-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(0, 22, 89, 0.08);
  border-radius: 18px;
  background: #eef2f4;
}

.company-premium-pillars__item {
  position: relative;
  padding: 36px 28px;
  text-align: center;
}

.company-premium-pillars__item + .company-premium-pillars__item::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 0;
  width: 1px;
  background: rgba(0, 22, 89, 0.1);
}

.company-premium-pillars__icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #7ea8d0;
  box-shadow: 0 12px 30px rgba(0,22,89,0.06);
}

.company-premium-pillars__icon svg {
  width: 38px;
  height: 38px;
}

.company-premium-pillars__item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.company-premium-pillars__item p {
  margin: 0;
  color: #5d6d79;
  font-size: 14px;
  line-height: 1.65;
}

.company-premium-stats {
  padding: 0 0 44px;
  background: #fff;
}

.company-premium-stats__bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(120deg, #001659 0%, #0c2e76 56%, #183f87 100%);
  color: #fff;
  overflow: hidden;
}

.company-premium-stats__item {
  position: relative;
  padding: 16px 20px;
  text-align: center;
}

.company-premium-stats__item + .company-premium-stats__item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: rgba(255,255,255,0.18);
}

.company-premium-stats__value {
  display: block;
  margin-bottom: 4px;
  font-family: Montserrat, Manrope, sans-serif;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.1;
}

.company-premium-stats__label {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.5;
}

.company-premium-approach {
  background: #fff;
}

.company-premium-approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.company-premium-approach__copy {
  max-width: 450px;
}

.company-premium-approach__copy h2 {
  margin-bottom: 22px;
}

.company-premium-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-premium-checklist li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 42px;
  color: #334654;
  font-size: 16px;
  line-height: 1.6;
}

.company-premium-checklist li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #8bb2d2;
  background: rgba(126, 168, 208, 0.08);
}

.company-premium-checklist li::after {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 6px;
  color: #6f9fcc;
  font-size: 15px;
  font-weight: 800;
}

.company-premium-approach__media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: stretch;
}

.company-premium-approach__main,
.company-premium-approach__small {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #eef2f4;
  cursor: zoom-in;
}

.company-premium-approach__main img,
.company-premium-approach__small img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-premium-approach__main {
  min-height: 500px;
}

.company-premium-approach__stack {
  display: grid;
  gap: 20px;
  grid-template-rows: 1fr 1fr;
}

.company-premium-approach__small {
  min-height: 240px;
}

.company-premium-approach__badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  width: min(360px, 62%);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,22,89,0.14);
}

.company-premium-bottom-cta {
  padding: 0 0 78px;
  background: #fff;
}

.company-premium-bottom-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px 46px;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(0,22,89,0.97) 0%, rgba(7,34,101,0.96) 58%, rgba(24,63,135,0.95) 100%),
    url('../images/afoncasa-distributore-liguria.webp') center/cover no-repeat;
  color: #fff;
}

.company-premium-bottom-cta__inner h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.06;
}

.company-premium-bottom-cta__inner p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 18px;
}

@media (max-width: 1180px) {
  .company-premium-story__grid,
  .company-premium-approach__grid {
    gap: 42px;
  }

  .company-premium-pillars__item,
  .company-premium-stats__item {
    padding-left: 18px;
    padding-right: 18px;
  }

  .company-premium-approach__media {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
}

@media (max-width: 980px) {
  .company-premium-hero {
    min-height: 540px;
  }

  .company-premium-hero__copy {
    width: min(680px, 82%);
  }

  .company-premium-story__grid,
  .company-premium-approach__grid {
    grid-template-columns: 1fr;
  }

  .company-premium-story__media,
  .company-premium-approach__media {
    max-width: 820px;
  }

  .company-premium-pillars__grid,
  .company-premium-stats__bar {
    grid-template-columns: 1fr 1fr;
  }

  .company-premium-pillars__item:nth-child(3)::before,
  .company-premium-stats__item:nth-child(3)::before {
    display: none;
  }

  .company-premium-pillars__item:nth-child(n+3),
  .company-premium-stats__item:nth-child(n+3) {
    border-top: 1px solid rgba(0, 22, 89, 0.1);
  }

  .company-premium-stats__item:nth-child(n+3) {
    border-top-color: rgba(255,255,255,0.18);
  }

  .company-premium-approach__badge {
    left: 18px;
    bottom: 18px;
  }

  .company-premium-bottom-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .company-premium-hero {
    min-height: 520px;
  }

  .company-premium-hero__bg {
    background-position: 60% center;
  }

  .company-premium-hero::before {
    background:
      linear-gradient(90deg, rgba(0, 22, 89, 0.96) 0%, rgba(0, 22, 89, 0.84) 72%, rgba(0, 22, 89, 0.48) 100%),
      linear-gradient(180deg, rgba(0, 22, 89, 0.12) 0%, rgba(0, 22, 89, 0.54) 100%);
  }

  .company-premium-hero__inner {
    padding-top: 72px;
    padding-bottom: 60px;
  }

  .company-premium-hero__copy {
    width: 100%;
  }

  .company-premium-hero h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .company-premium-hero p,
  .company-premium-bottom-cta__inner p {
    font-size: 16px;
  }

  .company-premium-story,
  .company-premium-approach,
  .company-premium-bottom-cta {
    padding-bottom: 60px;
  }

  .company-premium-story__media {
    padding-bottom: 0;
  }

  .company-premium-story__figure img {
    height: 320px;
  }

  .company-premium-story__badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -36px auto 0;
    grid-template-columns: 52px 1fr;
    padding: 18px 20px;
  }

  .company-premium-story__badge-icon,
  .company-premium-approach__badge-icon {
    width: 52px;
    height: 52px;
  }

  .company-premium-pillars__grid,
  .company-premium-stats__bar {
    grid-template-columns: 1fr;
  }

  .company-premium-pillars__item,
  .company-premium-stats__item {
    text-align: left;
  }

  .company-premium-pillars__item + .company-premium-pillars__item::before,
  .company-premium-stats__item + .company-premium-stats__item::before {
    top: 0;
    bottom: auto;
    left: 24px;
    right: 24px;
    width: auto;
    height: 1px;
  }

  .company-premium-pillars__item:nth-child(3)::before,
  .company-premium-stats__item:nth-child(3)::before {
    display: block;
  }

  .company-premium-pillars__item:nth-child(n+3),
  .company-premium-stats__item:nth-child(n+3) {
    border-top: 0;
  }

  .company-premium-pillars__icon {
    margin-bottom: 14px;
  }

  .company-premium-approach__media {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-premium-approach__main {
    min-height: 320px;
  }

  .company-premium-approach__stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .company-premium-approach__small {
    min-height: 170px;
  }

  .company-premium-approach__badge {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 8px;
    grid-template-columns: 52px 1fr;
    padding: 18px 20px;
  }

  .company-premium-bottom-cta__inner {
    padding: 30px 24px;
  }

  .company-premium-bottom-cta__inner .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   13. PAGINA EDIL ANDREA — HERO REFINEMENT V18
   ============================================================ */

.btn-secondary {
  background: #bfe3f3;
  border-color: #bfe3f3;
  color: #001659;
  box-shadow: 0 10px 24px rgba(0, 22, 89, 0.14);
}

.btn-secondary:hover {
  background: #d3edf8;
  border-color: #d3edf8;
  color: #001659;
  transform: translateY(-2px);
}

.company-premium-hero {
  min-height: 560px;
}

.company-premium-hero__bg {
  background-position: center center;
}

.company-premium-hero::before {
  background:
    linear-gradient(90deg,
      rgba(0, 22, 89, 0.94) 0%,
      rgba(0, 22, 89, 0.90) 26%,
      rgba(0, 22, 89, 0.78) 44%,
      rgba(0, 22, 89, 0.42) 60%,
      rgba(0, 22, 89, 0.12) 76%,
      rgba(0, 22, 89, 0.00) 100%),
    linear-gradient(180deg,
      rgba(255,255,255,0.00) 0%,
      rgba(0,22,89,0.18) 100%);
}

.company-premium-hero__inner {
  padding-top: 74px;
  padding-bottom: 74px;
}

.company-premium-hero__copy {
  width: min(560px, 56%);
  padding-left: 4px;
}

.company-premium-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.06;
}

.company-premium-hero p {
  max-width: 500px;
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .company-premium-hero {
    min-height: 500px;
  }

  .company-premium-hero__copy {
    width: min(620px, 82%);
  }
}

@media (max-width: 680px) {
  .company-premium-hero {
    min-height: 500px;
  }

  .company-premium-hero__bg {
    background-position: 62% center;
  }

  .company-premium-hero::before {
    background:
      linear-gradient(90deg,
        rgba(0, 22, 89, 0.95) 0%,
        rgba(0, 22, 89, 0.88) 54%,
        rgba(0, 22, 89, 0.58) 78%,
        rgba(0, 22, 89, 0.28) 100%),
      linear-gradient(180deg,
        rgba(255,255,255,0.00) 0%,
        rgba(0,22,89,0.24) 100%);
  }

  .company-premium-hero__inner {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .company-premium-hero__copy {
    width: 100%;
    padding-left: 0;
  }

  .company-premium-hero h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .company-premium-hero p {
    max-width: 92%;
    font-size: 16px;
    line-height: 1.62;
  }
}

/* ============================================================
   14. EDIL ANDREA — HERO DESKTOP CORRETTA V19
   ============================================================ */

.company-premium-hero {
  min-height: 520px;
}

.company-premium-hero__bg {
  background-position: center 48%;
  transform: scale(1.005);
}

.company-premium-hero::before {
  background:
    linear-gradient(90deg,
      rgba(0,22,89,.96) 0%,
      rgba(0,22,89,.91) 27%,
      rgba(0,22,89,.87) 44%,
      rgba(0,22,89,.62) 61%,
      rgba(0,22,89,.22) 79%,
      rgba(0,22,89,0) 100%),
    linear-gradient(0deg,rgba(0,22,89,.20),rgba(0,22,89,0) 54%);
}

/* IMPORTANTE: mantiene realmente il container centrato */
.company-premium-hero__inner {
  width: min(1180px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
  padding-top: 70px;
  padding-bottom: 70px;
}

.company-premium-hero__copy {
  width: min(760px, 68%);
  padding-left: 0;
}

.company-premium-hero h1 {
  max-width: none;
  margin: 0 0 22px;
  font-size: clamp(38px, 3.25vw, 50px);
  line-height: 1.09;
  letter-spacing: -.035em;
}

.company-premium-hero__line {
  display: block;
  color: #fff;
}

.company-premium-hero__line em {
  color: #7eabc4;
  font-style: normal;
}

.company-premium-hero p {
  max-width: 590px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.68;
}

.company-premium-hero .btn-secondary {
  min-width: 205px;
  padding: 15px 24px;
  border-radius: 5px;
  background: #ffff;
  border-color: #b9deef;
  box-shadow: none;
}

.company-premium-hero .btn-secondary:hover {
  background: #d3edf8;
  border-color: #d3edf8;
}

@media (min-width: 1181px) {
  .company-premium-hero__line {
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  .company-premium-hero__copy {
    width: min(720px, 74%);
  }

  .company-premium-hero h1 {
    font-size: clamp(38px, 4vw, 48px);
  }
}

@media (max-width: 860px) {
  .company-premium-hero {
    min-height: 500px;
  }

  .company-premium-hero__inner {
    width: min(100% - 36px, 1180px);
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .company-premium-hero__copy {
    width: min(650px, 88%);
  }

  .company-premium-hero h1 {
    font-size: clamp(34px, 5.7vw, 44px);
  }
}

@media (max-width: 620px) {
  .company-premium-hero {
    min-height: 510px;
  }

  .company-premium-hero__bg {
    background-position: 61% center;
  }

  .company-premium-hero::before {
    background:
      linear-gradient(90deg,
        rgba(0,22,89,.96) 0%,
        rgba(0,22,89,.89) 61%,
        rgba(0,22,89,.55) 83%,
        rgba(0,22,89,.28) 100%),
      linear-gradient(0deg,rgba(0,22,89,.34),rgba(0,22,89,0) 58%);
  }

  .company-premium-hero__inner {
    width: calc(100% - 36px);
    padding-top: 54px;
    padding-bottom: 50px;
  }

  .company-premium-hero__copy {
    width: 100%;
  }

  .company-premium-hero h1 {
    font-size: clamp(31px, 9vw, 30px);
    line-height: 1.08;
  }

  .company-premium-hero p {
    max-width: 96%;
    font-size: 15px;
  }

  .company-premium-hero .btn-secondary {
    min-width: 0;
  }
}

/* ============================================================
   14. PAGINA EDIL ANDREA — FIX OVERLAY HERO V20
   ============================================================ */

.company-premium-hero__bg {
  z-index: 0;
}

.company-premium-hero::before {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(0, 22, 89, 0.92) 0%,
      rgba(0, 22, 89, 0.86) 25%,
      rgba(0, 22, 89, 0.68) 43%,
      rgba(0, 22, 89, 0.38) 60%,
      rgba(0, 22, 89, 0.12) 78%,
      rgba(0, 22, 89, 0.00) 100%),
    linear-gradient(180deg,
      rgba(0, 22, 89, 0.04) 0%,
      rgba(0, 22, 89, 0.22) 100%);
}

.company-premium-hero__inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 680px) {
  .company-premium-hero::before {
    background:
      linear-gradient(90deg,
        rgba(0, 22, 89, 0.95) 0%,
        rgba(0, 22, 89, 0.88) 54%,
        rgba(0, 22, 89, 0.60) 80%,
        rgba(0, 22, 89, 0.32) 100%),
      linear-gradient(180deg,
        rgba(0, 22, 89, 0.06) 0%,
        rgba(0, 22, 89, 0.28) 100%);
  }
}

/* ============================================================
   14. PULSANTI RETTANGOLARI + CARD SERVIZI HOME V21
   ============================================================ */

/* Pulsanti principali del sito: stile rettangolare */
.btn,
.preform-cta-btn,
.lp5-btn,
.company-final-cta-btn {
  border-radius: 0;
}

/* Home — griglia dei 6 servizi */
.home-services {
  gap: 20px;
  row-gap: 24px;
  align-items: stretch;
}

.home-services .service-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #fff;
  border: 1px solid #dbe3e8;
  border-radius: 0;
  box-shadow: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.home-services .service-card:hover {
  transform: none;
  border-color: #cfdade;
  box-shadow: 0 10px 28px rgba(0, 22, 89, .07);
}

.home-services .service-card-hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-services .service-card-media {
  height: 225px;
  overflow: hidden;
  background: #e7ecef;
}

.home-services .service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.home-services .service-card:hover .service-card-media img {
  transform: scale(1.025);
}

.home-services .card-body {
  position: relative;
  min-height: 232px;
  display: block;
  padding: 30px 30px 36px;
  background: #fff;
}

.home-services .card-body::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #73a28f;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}

.home-services .service-card:hover .card-body::after,
.home-services .service-card:focus-within .card-body::after {
  transform: scaleX(1);
}

.home-services .service-card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #41718D;
}

.home-services .service-card-icon svg {
  width: 31px;
  height: 31px;
}

.home-services .card-body h3 {
  margin: 0 0 12px;
  color: #001659;
  font-size: 20px;
  line-height: 1.3;
}

.home-services .card-body p {
  margin: 0;
  color: #52616d;
  font-size: 15px;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .home-services {
    gap: 16px;
  }

  .home-services .service-card-media {
    height: 210px;
  }

  .home-services .card-body {
    min-height: 215px;
    padding: 26px 24px 32px;
  }
}

@media (max-width: 620px) {
  .home-services {
    row-gap: 16px;
  }

  .home-services .service-card-media {
    height: 220px;
  }

  .home-services .card-body {
    min-height: 0;
    padding: 24px 22px 30px;
  }

  .home-services .service-card-icon {
    margin-bottom: 14px;
  }
}

/* ============================================================
   15. GALLERY PORTFOLIO — HOME / NANOCAPPOTTO / LAVORI
   ============================================================ */

.project-showcase-section {
  overflow: hidden;
}

.project-showcase-section .section-head {
  margin-bottom: 30px;
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-tile {
  position: relative;
  margin: 0;
  height: 355px;
  overflow: hidden;
  border-radius: 0;
  background: #001659;
  cursor: zoom-in;
  isolation: isolate;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0,22,89,0.00) 35%,
      rgba(0,22,89,0.16) 55%,
      rgba(0,22,89,0.80) 100%);
  transition: background .3s ease;
}

.project-tile::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  color: #001659;
  font-size: 16px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.project-tile-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
  pointer-events: none;
}

.project-tile-caption span,
.project-tile-caption strong {
  display: block;
}

.project-tile-caption span {
  margin-bottom: 5px;
  color: rgba(255,255,255,.9);
  font-family: Manrope,Arial,sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.project-tile-caption strong {
  color: #fff;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: clamp(18px,1.6vw,24px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.project-tile:hover img,
.project-tile:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.project-tile:hover::after,
.project-tile:focus-within::after {
  background:
    linear-gradient(180deg,
      rgba(0,22,89,0.02) 25%,
      rgba(0,22,89,0.24) 52%,
      rgba(0,22,89,0.88) 100%);
}

.project-tile:hover::before,
.project-tile:focus-within::before {
  opacity: 1;
  transform: none;
}

.home-project-showcase .project-tile,
.nano-project-showcase .project-tile {
  height: 360px;
}

.works-project-showcase .project-tile {
  height: 375px;
}

/* La lightbox usa il testo del figcaption come didascalia. */
.project-showcase-grid .project-tile-caption {
  background: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

@media (max-width: 980px) {
  .project-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .project-tile,
  .home-project-showcase .project-tile,
  .nano-project-showcase .project-tile,
  .works-project-showcase .project-tile {
    height: 330px;
  }
}

@media (max-width: 620px) {
  .project-showcase-section .section-head {
    margin-bottom: 22px;
  }

  .project-showcase-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-tile,
  .home-project-showcase .project-tile,
  .nano-project-showcase .project-tile,
  .works-project-showcase .project-tile {
    height: 315px;
  }

  .project-tile-caption {
    left: 18px;
    right: 18px;
    bottom: 17px;
  }

  .project-tile-caption strong {
    font-size: 20px;
  }

  .project-tile::before {
    opacity: 1;
    transform: none;
    width: 34px;
    height: 34px;
  }
}


/* ============================================================
   16. ICONE FRECCIA CROSS-PLATFORM — NO EMOJI iOS
   ============================================================ */

/*
   Le frecce non usano caratteri Unicode: sono disegnate in CSS.
   In questo modo Safari/iOS non può sostituirle con glifi emoji.
*/
.ui-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 12px;
  margin-left: 2px;
  vertical-align: middle;
  color: currentColor;
}

.ui-arrow::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  border-radius: 1px;
}

.ui-arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

/* Manteniamo la classe per le vecchie CTA diagonali, ma con lo stesso
   segno grafico coerente e non-emoji. */
.ui-arrow-up-right {
  width: 16px;
  height: 12px;
}

/* Frecce lightbox disegnate in CSS */
.ui-chevron {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.ui-chevron-left {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.ui-chevron-right {
  transform: rotate(45deg);
  margin-right: 4px;
}

.lightbox-prev,
.lightbox-next {
  line-height: 1;
}

@media (max-width: 520px) {
  .ui-arrow {
    width: 15px;
    height: 11px;
  }
}

/* ============================================================
   17. ICON FIX iOS — ZERO UNICODE / ZERO EMOJI
   ============================================================ */

/* Project gallery expand icon: real SVG background, never a text glyph. */
.project-tile::before {
  content: "" !important;
  background-color: rgba(255,255,255,.96) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 16L16 8M10 8h6v6' fill='none' stroke='%23001659' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 20px 20px !important;
  font-size: 0 !important;
  font-family: Arial, sans-serif !important;
}

/* Sticky contacts: inline SVG only. */
.sticky-icon,
.lp5-sticky-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  font-size: 0;
  line-height: 0;
}

.sticky-icon svg,
.lp5-sticky-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lp5-sticky a {
  gap: 8px;
}

/* Prevent Apple emoji fallback in any UI icon container. */
.ui-arrow,
.ui-chevron,
.sticky-icon,
.lp5-sticky-icon,
.project-tile::before {
  font-variant-emoji: text;
}

/* ============================================================
   18. ARCHIVIO AFONTERMO / NOVOMUR / LAVORI — V25
   ============================================================ */

.afon-inline-logo {
  width: min(360px, 35vw);
  max-height: 105px;
  object-fit: contain;
  object-position: right center;
}

.afon-deep-head {
  align-items: center;
}

.afon-deep-intro {
  align-items: stretch;
}

.afon-tech-callout {
  height: 100%;
  padding: 32px;
  background: #001659;
  color: #fff;
  border-radius: 0;
}

.afon-tech-callout > strong {
  display: block;
  margin-bottom: 24px;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 20px;
  line-height: 1.25;
}

.afon-tech-callout > small {
  display: block;
  margin-top: 22px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1.6;
}

.afon-tech-numbers {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  background: rgba(255,255,255,.17);
}

.afon-tech-numbers > div {
  min-height: 115px;
  padding: 22px;
  background: #001659;
}

.afon-tech-numbers b,
.afon-tech-numbers span {
  display: block;
}

.afon-tech-numbers b {
  margin-bottom: 6px;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 27px;
  line-height: 1;
}

.afon-tech-numbers span {
  color: rgba(255,255,255,.73);
  font-size: 12px;
  line-height: 1.45;
}

.afon-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  background: var(--line);
}

.afon-benefit-grid article {
  min-height: 190px;
  padding: 28px;
  background: #fff;
}

.afon-benefit-grid h3 {
  margin-bottom: 12px;
}

.afon-benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.afon-application-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.afon-application-grid article {
  min-height: 250px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
}

.afon-application-grid article > span {
  display: inline-block;
  margin-bottom: 34px;
  color: #41718D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.afon-application-grid h3 {
  margin-bottom: 13px;
}

.afon-application-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.afon-warning {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  margin-top: 20px;
  padding: 26px 30px;
  background: #001659;
  color: #fff;
}

.afon-warning strong {
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 18px;
}

.afon-warning p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.afon-test-section {
  background: #fff;
}

.afon-spec-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
}

.afon-spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.afon-spec-table th,
.afon-spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.afon-spec-table tr:last-child th,
.afon-spec-table tr:last-child td {
  border-bottom: 0;
}

.afon-spec-table th {
  width: 46%;
  color: #001659;
  font-family: Montserrat,Manrope,sans-serif;
  background: #EEF2F4;
}

.afon-spec-table td {
  color: #425360;
}

.afon-video-section .section-head h2,
.afon-video-section .section-head .lead {
  color: #fff;
}

.afon-video-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.afon-video-card {
  overflow: hidden;
  background: #fff;
  color: #001659;
}

.afon-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #071635;
}

.afon-video-card > div {
  padding: 24px;
}

.afon-video-card h3 {
  color: #001659;
  margin-bottom: 9px;
}

.afon-video-card p {
  margin: 0;
  color: #5f6f7c;
  font-size: 14px;
}

.afon-ad-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  max-width: 960px;
}

.afon-ad-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
}

.afon-ad-grid img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #fff;
}

.media-archive-section,
.complete-works-archive {
  overflow: clip;
}

.media-project-list {
  display: grid;
  gap: 12px;
}

.media-project {
  border: 1px solid rgba(0,22,89,.13);
  background: #fff;
}

.media-project summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 18px 58px 18px 22px;
  color: #001659;
  cursor: pointer;
  list-style: none;
  transition: background .22s ease;
}

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

.media-project summary:hover,
.media-project[open] summary {
  background: #EEF2F4;
}

.media-project summary > span {
  flex: 1;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.media-project summary > small {
  color: #6a7984;
  font-size: 12px;
  white-space: nowrap;
}

.media-project summary > i {
  position: absolute;
  right: 23px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid #41718D;
  border-bottom: 2px solid #41718D;
  transform: translateY(-68%) rotate(45deg);
  transition: transform .22s ease;
}

.media-project[open] summary > i {
  transform: translateY(-30%) rotate(225deg);
}

.media-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  padding: 10px;
  background: #EEF2F4;
}

.media-portfolio-item {
  position: relative;
  margin: 0;
  min-height: 305px;
  overflow: hidden;
  background: #001659;
  cursor: zoom-in;
}

.media-portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(0,22,89,0) 35%,rgba(0,22,89,.18) 56%,rgba(0,22,89,.88) 100%);
}

.media-portfolio-item img {
  width: 100%;
  height: 100%;
  min-height: 305px;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}

.media-portfolio-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.media-portfolio-copy {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff;
}

.media-portfolio-copy span,
.media-portfolio-copy strong {
  display: block;
}

.media-portfolio-copy span {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

.media-portfolio-copy strong {
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 20px;
  line-height: 1.18;
}

.media-video-tile {
  display: flex;
  flex-direction: column;
  min-height: 305px;
  background: #001659;
  color: #fff;
}

.media-video-tile video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #071635;
}

.media-video-tile-copy {
  flex: 1;
  padding: 18px 20px 21px;
}

.media-video-tile-copy span,
.media-video-tile-copy strong,
.media-video-tile-copy small {
  display: block;
}

.media-video-tile-copy span {
  margin-bottom: 5px;
  color: #a9c5d3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.media-video-tile-copy strong {
  font-family: Montserrat,Manrope,sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

.media-video-tile-copy small {
  margin-top: 6px;
  color: rgba(255,255,255,.7);
}

.media-archive-category + .media-archive-category {
  margin-top: 90px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.media-archive-category-head {
  max-width: 800px;
  margin-bottom: 34px;
}

.media-archive-category-head p {
  color: var(--muted);
}

.archive-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 56px;
}

.archive-jump a {
  padding: 11px 16px;
  border: 1px solid #001659;
  background: #fff;
  color: #001659;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.archive-jump a:hover {
  background: #001659;
  color: #fff;
}

.novomur-gallery-section {
  background: #fff;
}

.paint-tech-section .product-info-panel {
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  .afon-benefit-grid,
  .afon-application-grid,
  .afon-video-grid,
  .media-portfolio-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .afon-warning {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .media-portfolio-item,
  .media-portfolio-item img,
  .media-video-tile {
    min-height: 290px;
  }
}

@media (max-width: 680px) {
  .afon-inline-logo {
    width: min(300px,70vw);
    margin-top: 18px;
    object-position: left center;
  }

  .afon-deep-head {
    display: block;
  }

  .afon-tech-numbers,
  .afon-benefit-grid,
  .afon-application-grid,
  .afon-video-grid,
  .afon-ad-grid,
  .media-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .afon-tech-callout,
  .afon-application-grid article {
    padding: 24px;
  }

  .media-project summary {
    display: block;
    padding: 17px 52px 17px 18px;
  }

  .media-project summary > span {
    display: block;
    font-size: 15px;
  }

  .media-project summary > small {
    display: block;
    margin-top: 5px;
    white-space: normal;
  }

  .media-portfolio-grid {
    gap: 7px;
    padding: 7px;
  }

  .media-portfolio-item,
  .media-portfolio-item img,
  .media-video-tile {
    min-height: 320px;
  }

  .media-portfolio-copy strong {
    font-size: 20px;
  }

  .media-archive-category + .media-archive-category {
    margin-top: 64px;
    padding-top: 56px;
  }

  .archive-jump {
    margin-bottom: 42px;
  }

  .archive-jump a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
}

.afon-distributor-badge {
  width: 128px;
  max-height: 128px;
  object-fit: contain;
  margin-left: 18px;
}

@media (max-width: 680px) {
  .afon-distributor-badge {
    width: 105px;
    margin: 12px 0 0;
  }
}

/* ============================================================
   19. LANDING NANOCAPPOTTO — PROVE, TECNICA E LAVORAZIONI V26
   ============================================================ */

.lp5-tech-proof {
  background: #EEF2F4;
}

.lp5-tech-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 34px;
}

.lp5-tech-head > div {
  max-width: 790px;
}

.lp5-tech-head h2 {
  margin-bottom: 16px;
}

.lp5-tech-head p {
  max-width: 780px;
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
}

.lp5-tech-logo {
  width: min(285px, 28vw);
  max-height: 92px;
  object-fit: contain;
  object-position: right center;
}

.lp5-tech-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  border: 1px solid rgba(0,22,89,.11);
  background: rgba(0,22,89,.11);
}

.lp5-tech-metrics article {
  min-height: 154px;
  padding: 28px 24px;
  background: #fff;
}

.lp5-tech-metrics strong,
.lp5-tech-metrics span {
  display: block;
}

.lp5-tech-metrics strong {
  margin-bottom: 10px;
  color: #001659;
  font-family: Montserrat,Manrope,sans-serif;
  font-size: clamp(27px,3vw,38px);
  line-height: 1;
}

.lp5-tech-metrics span {
  color: #526271;
  font-size: 13px;
  line-height: 1.55;
}

.lp5-tech-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.lp5-tech-detail-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(0,22,89,.1);
  background: #fff;
}

.lp5-tech-detail-grid h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.lp5-tech-detail-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.lp5-tech-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.lp5-tech-docs a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #001659;
  border-radius: 0;
  background: #fff;
  color: #001659;
  font-size: 12px;
  font-weight: 800;
  transition: background .22s ease,color .22s ease;
}

.lp5-tech-docs a:hover {
  background: #001659;
  color: #fff;
}

.lp5-workmanship-section {
  background: #fff;
}

.lp5-workmanship-section .lp5-centered-head {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.lp5-workmanship-section .lp5-centered-head p,
.lp5-explain-section .lp5-centered-head p,
.lp5-realworks-section .lp5-centered-head p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.lp5-work-steps {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(0,22,89,.11);
  background: rgba(0,22,89,.11);
}

.lp5-work-steps article {
  min-height: 230px;
  padding: 28px 24px;
  background: #fff;
}

.lp5-work-steps article > span {
  display: inline-block;
  margin-bottom: 34px;
  color: #41718D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.lp5-work-steps h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lp5-work-steps p {
  margin: 0;
  font-size: 13px;
  line-height: 1.66;
}

.lp5-work-videos {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin-top: 24px;
}

.lp5-work-video {
  overflow: hidden;
  border: 1px solid rgba(0,22,89,.1);
  background: #EEF2F4;
}

.lp5-work-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #001659;
}

.lp5-work-video > div {
  padding: 22px 24px 24px;
}

.lp5-work-video > div > span {
  display: block;
  margin-bottom: 8px;
  color: #41718D;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.lp5-work-video h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.lp5-work-video p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
}

.lp5-explain-section {
  background: #EEF2F4;
}

.lp5-explain-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  width: min(980px,100%);
  margin: 34px auto 0;
}

.lp5-explain-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0,22,89,.1);
  background: #fff;
  cursor: zoom-in;
}

.lp5-explain-grid img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 610px;
  object-fit: contain;
  background: #fff;
}

.lp5-realworks-section {
  padding: 78px 0;
  background: #EEF2F4;
}

.lp5-realworks-grid {
  gap: 8px;
  padding: 0;
  margin-top: 34px;
  background: transparent;
}

.lp5-realworks-grid .media-portfolio-item,
.lp5-realworks-grid .media-portfolio-item img {
  min-height: 330px;
}

.lp5-realworks-section .lp5-center-action {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .lp5-tech-metrics,
  .lp5-tech-detail-grid,
  .lp5-work-steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .lp5-tech-head {
    align-items: flex-start;
  }

  .lp5-tech-logo {
    width: 220px;
  }
}

@media (max-width: 760px) {
  .lp5-tech-head {
    display: block;
  }

  .lp5-tech-logo {
    width: 210px;
    margin-top: 24px;
  }

  .lp5-work-videos,
  .lp5-explain-grid {
    grid-template-columns: 1fr;
  }

  .lp5-realworks-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .lp5-realworks-grid .media-portfolio-item,
  .lp5-realworks-grid .media-portfolio-item img {
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  .lp5-tech-metrics,
  .lp5-tech-detail-grid,
  .lp5-work-steps,
  .lp5-realworks-grid {
    grid-template-columns: 1fr;
  }

  .lp5-tech-metrics article,
  .lp5-tech-detail-grid article,
  .lp5-work-steps article {
    min-height: 0;
  }

  .lp5-tech-metrics article {
    padding: 23px 20px;
  }

  .lp5-tech-detail-grid article,
  .lp5-work-steps article {
    padding: 22px 20px;
  }

  .lp5-work-steps article > span {
    margin-bottom: 20px;
  }

  .lp5-tech-docs {
    display: grid;
  }

  .lp5-tech-docs a {
    width: 100%;
    justify-content: center;
  }

  .lp5-realworks-section {
    padding: 58px 0;
  }

  .lp5-realworks-grid {
    gap: 6px;
  }

  .lp5-realworks-grid .media-portfolio-item,
  .lp5-realworks-grid .media-portfolio-item img {
    min-height: 350px;
  }
}

/* ============================================================
   19. LANDING NANOCAPPOTTO — COMFORT + CONTATTI V27
   ============================================================ */

/* Il testo descrittivo nella hero deve restare completamente bianco. */
.lp5 .lp5-hero-intro,
.lp5 .lp5-hero-intro strong {
  color: #fff !important;
}

/* Comfort abitativo: testo a sinistra e FOTO 7 a destra. */
.lp5-comfort-media {
  margin: 0;
  min-height: 430px;
  overflow: hidden;
  background: #001659;
  cursor: zoom-in;
}

.lp5-comfort-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.lp5-comfort-media:hover img {
  transform: scale(1.02);
}

/* Chiama + WhatsApp sempre visibili anche su desktop. */
.lp5-sticky {
  display: flex;
  left: auto;
  right: 18px;
  bottom: 18px;
  width: auto;
  gap: 8px;
}

.lp5-sticky a {
  flex: 0 0 auto;
  min-width: 118px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 12px;
}

.lp5-sticky a:first-child {
  background: #001659;
}

.lp5-sticky a:last-child {
  background: #238b57;
}

@media (max-width: 980px) {
  .lp5-comfort-media,
  .lp5-comfort-media img {
    min-height: 390px;
  }
}

@media (max-width: 700px) {
  .lp5-intro-grid {
    grid-template-columns: 1fr;
  }

  .lp5-comfort-media,
  .lp5-comfort-media img {
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .lp5-sticky {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }

  .lp5-sticky a {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 9px;
    font-size: 11px;
  }
}
