/* ==========================================================================
   EDEL — IMPRESA DI PULIZIE
   Design system + styles
   Palette : Navy #2D266A · Green #7BC000 · Light Blue #68B7E3 · White
   Type    : Fraunces (display, soft serif) + Manrope (UI / body)
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* brand */
  --navy:        #2D266A;
  --navy-deep:   #1E1A4D;
  --green:       #7BC000;
  --green-deep:  #5A9400;
  --green-ink:   #3F7300;  /* AA-contrast green for small UI text on white */
  --blue:        #68B7E3;
  --blue-soft:   #A9D8F0;
  --white:       #FFFFFF;

  /* neutrals (cool, to read as "clean air / water") */
  --mist:        #F5F8FC;
  --mist-2:      #EBF2F9;
  --ink:         #211F3A;
  --ink-soft:    #5C6479;
  --line:        rgba(45, 38, 106, .10);
  --line-strong: rgba(45, 38, 106, .16);

  /* gradients */
  --grad-fresh:  linear-gradient(135deg, #7BC000 0%, #68B7E3 100%);
  --grad-water:  linear-gradient(150deg, #68B7E3 0%, #2D266A 100%);
  --grad-navy:   linear-gradient(160deg, #2D266A 0%, #1E1A4D 100%);

  /* type */
  --f-display: "Fraunces", Georgia, serif;
  --f-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 2px 8px rgba(45,38,106,.06);
  --sh-md: 0 18px 40px -22px rgba(45,38,106,.30);
  --sh-lg: 0 40px 80px -36px rgba(45,38,106,.40);
  --sh-glass: 0 8px 32px rgba(31,26,77,.14);

  /* layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 11vw, 140px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout helpers ------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); position: relative; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--grad-navy); color: #fff; }

/* sticky-header offset for in-page anchors */
section[id], #top { scroll-margin-top: clamp(76px, 9vw, 96px); }

.section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--light { color: #fff; }
.section__intro, .section__head .lead { color: var(--ink-soft); font-size: 1.15rem; margin-top: 18px; }
.section__head--light .section__intro { color: rgba(255,255,255,.78); }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 20px;
}
.eyebrow--light { color: var(--blue-soft); }
.eyebrow__dot {
  width: 22px; height: 7px; border-radius: var(--r-pill);
  background: var(--grad-fresh); display: inline-block;
}

/* headings */
.section__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: inherit;
}
.section__title em { font-style: italic; font-weight: 400; color: var(--green-deep); }
.section--navy .section__title em,
.cta-band__title em { color: var(--blue-soft); }

.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.6; }
strong { font-weight: 700; color: var(--ink); }

/* links */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy); margin-top: 26px;
  transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  --pad-y: 15px; --pad-x: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  border-radius: var(--r-pill);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn--sm { --pad-y: 11px; --pad-x: 20px; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(45,38,106,.6);
}
.btn--primary::after {
  content: "✦"; font-size: .7em; color: var(--green); margin-left: -2px;
  transition: transform .35s var(--ease);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(45,38,106,.7); }
.btn--primary:hover::after { transform: rotate(90deg) scale(1.2); }

.btn--ghost {
  background: rgba(45,38,106,.05); color: var(--navy);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: rgba(45,38,106,.09); transform: translateY(-3px); }

.btn--light { background: #fff; color: var(--navy); box-shadow: var(--sh-md); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }

.btn--ghost-light {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }

/* ---------- 5. Reveal animation ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- 6. Header / nav --------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 14px;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(45,38,106,.3);
}
.nav { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(45,38,106,.18)); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: var(--navy); letter-spacing: -.01em; }
.brand__tag { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green-ink); margin-top: 3px; }

.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 9px 14px; font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  border-radius: var(--r-pill); transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--grad-fresh); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--navy); }

.nav__actions { display: flex; align-items: center; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero { position: relative; padding-top: clamp(40px, 7vw, 80px); padding-bottom: 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--blue { width: 50vw; height: 50vw; max-width: 620px; max-height: 620px; top: -18%; right: -12%; background: radial-gradient(circle, var(--blue) 0%, transparent 70%); animation: float1 18s ease-in-out infinite; }
.blob--green { width: 42vw; height: 42vw; max-width: 520px; max-height: 520px; bottom: -22%; left: -14%; background: radial-gradient(circle, var(--green) 0%, transparent 70%); opacity: .38; animation: float2 22s ease-in-out infinite; }
.grain { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(var(--mist-2) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 75%); }

.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; padding-block: clamp(30px, 5vw, 60px) clamp(40px, 7vw, 90px);
}
.hero__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.5rem, 1.4rem + 4.8vw, 4.6rem); line-height: 1.0; letter-spacing: -.03em;
  color: var(--navy);
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--green-deep); }
.hero__sub { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink-soft); margin-top: 26px; max-width: 30ch; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 44px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.hero__trust svg { width: 22px; height: 22px; color: var(--green-deep); }

/* emblem (logo-derived composition) */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.emblem { position: relative; width: min(440px, 90%); aspect-ratio: 1; }
.emblem__orb { position: relative; width: 100%; height: 100%; animation: bob 7s ease-in-out infinite; }
.emblem__svg { width: 100%; height: 100%; filter: drop-shadow(0 40px 60px rgba(45,38,106,.32)); overflow: visible; }
.emblem__leaf { transform-origin: 210px 220px; animation: leafSway 9s ease-in-out infinite; }
.emblem__wave { stroke-dasharray: 260; stroke-dashoffset: 260; animation: drawWave 3s var(--ease) .4s forwards; }
.emblem__shine { animation: twinkle 4s ease-in-out infinite; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--sh-glass);
}
.float-card strong { display: block; font-size: .9rem; color: var(--navy); line-height: 1.15; }
.float-card span { display: block; font-size: .72rem; color: var(--ink-soft); }
.float-card__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(123,192,0,.14); color: var(--green-deep); flex-shrink: 0; }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card__icon--navy { background: rgba(45,38,106,.1); color: var(--navy); }
.float-card--rating { top: 4%; right: -6%; flex-direction: column; align-items: flex-start; gap: 2px; animation: bob 6s ease-in-out infinite; }
.float-card--rating .stars { color: var(--green); letter-spacing: 2px; font-size: 1rem; }
.float-card--leaf { bottom: 12%; left: -10%; max-width: 210px; animation: bob 7.5s ease-in-out .5s infinite; }
.float-card--shield { bottom: -4%; right: 2%; animation: bob 6.8s ease-in-out 1s infinite; }

/* marquee */
.marquee { border-block: 1px solid var(--line); padding-block: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; animation: scroll 28s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); color: var(--navy); font-weight: 400; }
.marquee__track .dot { color: var(--green); font-size: .7rem; font-style: normal; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- 8. About ----------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about__intro p { margin-top: 18px; color: var(--ink-soft); }
.about__intro .lead { color: var(--ink-soft); }
.about__intro .lead strong { color: var(--navy); }

.about__pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar {
  padding: 28px 24px; border-radius: var(--r-lg); background: var(--mist);
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.pillar::before { content: ""; position: absolute; inset: 0; background: var(--grad-fresh); opacity: 0; transition: opacity .4s var(--ease); }
.pillar > * { position: relative; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.pillar__num { font-family: var(--f-display); font-size: 1.5rem; color: var(--green-ink); font-style: italic; }
.pillar h3 { font-size: 1.2rem; color: var(--navy); margin-top: 8px; }
.pillar p { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; }
.about__pillars .pillar:nth-child(2) { transform: translateY(28px); }
.about__pillars .pillar:nth-child(2):hover { transform: translateY(22px); }

/* ---------- 9. Services -------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.card {
  position: relative; padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  isolation: isolate;
}
.card__shape {
  position: absolute; z-index: -1; width: 200px; height: 200px; right: -70px; top: -70px;
  background: var(--grad-fresh); border-radius: 47% 53% 60% 40% / 45% 50% 50% 55%;
  opacity: .1; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.card__icon {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px;
  background: var(--mist); color: var(--navy); margin-bottom: 22px;
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; color: var(--navy); }
.card p { color: var(--ink-soft); font-size: .96rem; margin-top: 12px; }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-weight: 700; font-size: .9rem; color: var(--green-ink); transition: gap .3s var(--ease); }
.card__link:hover { gap: 13px; }

.card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.card:hover .card__shape { transform: scale(1.6) rotate(40deg); opacity: .16; }
.card:hover .card__icon { background: var(--navy); color: #fff; transform: rotate(-6deg); }

.card--cta {
  background: var(--grad-navy); color: #fff; display: flex; flex-direction: column; justify-content: center;
  border: none;
}
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255,255,255,.74); margin-bottom: 22px; }
.card--cta:hover { transform: translateY(-8px); }
.card--cta:hover .card__icon { background: none; }

/* ---------- 10. Why / stats / features ---------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(48px, 7vw, 80px); }
.stat {
  padding: 34px 26px; border-radius: var(--r-lg); text-align: left;
  background: linear-gradient(160deg, #fff, var(--mist));
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
  position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--grad-fresh); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.stat.is-visible::after { transform: scaleX(1); }
.stat__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.4rem); line-height: 1; color: var(--navy); display: block; letter-spacing: -.02em; }
.stat__label { display: block; margin-top: 12px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.feature { padding: 4px; }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: rgba(104,183,227,.14); color: var(--navy); margin-bottom: 18px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; color: var(--navy); }
.feature p { color: var(--ink-soft); font-size: .94rem; margin-top: 8px; }

/* ---------- 11. Process -------------------------------------------------- */
.processo .blob { display: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 32px); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25) 12%, rgba(255,255,255,.25) 88%, transparent);
}
.step { position: relative; }
.step__num {
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--navy);
  background: #fff; box-shadow: 0 10px 26px -10px rgba(0,0,0,.5); margin-bottom: 24px; position: relative; z-index: 1;
}
.step__num::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.3); }
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; color: #fff; }
.step p { color: rgba(255,255,255,.72); font-size: .96rem; margin-top: 10px; }

/* ---------- 12. Testimonials -------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.quote {
  position: relative; padding: 36px 30px 30px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.quote__mark { font-family: var(--f-display); font-size: 4rem; line-height: .6; color: var(--green); opacity: .4; height: 32px; }
.quote blockquote { font-size: 1.02rem; color: var(--ink); line-height: 1.6; margin-top: 8px; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff; background: var(--grad-water); flex-shrink: 0; }
.quote figcaption strong { display: block; font-size: .98rem; color: var(--navy); }
.quote figcaption small { display: block; font-size: .82rem; color: var(--ink-soft); }

/* ---------- 13. CTA band ------------------------------------------------- */
.cta-band { padding-block: clamp(40px, 6vw, 80px); }
.cta-band__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 80px);
  border-radius: var(--r-xl); background: var(--grad-navy); color: #fff;
  box-shadow: var(--sh-lg);
}
.cta-band__glow { position: absolute; width: 60%; height: 200%; top: -50%; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(123,192,0,.4), transparent 60%); filter: blur(40px); }
.cta-band__inner > * { position: relative; }
.cta-band .eyebrow { justify-content: center; }
.cta-band__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 1.3rem + 3.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; margin-top: 4px; }
.cta-band__text { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 48ch; margin: 22px auto 0; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ---------- 14. Contact -------------------------------------------------- */
.contatti__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contatti__intro .lead { color: var(--ink-soft); margin-top: 18px; }

.contact-list { display: grid; gap: 18px; margin-top: 36px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--mist); display: grid; place-items: center; color: var(--navy); flex-shrink: 0; }
.contact-list__icon svg { width: 24px; height: 24px; }
.contact-list small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a, .contact-list span { font-weight: 600; color: var(--navy); }
.contact-list a:hover { color: var(--green-deep); }

.biz-card { margin-top: 36px; padding: 24px; border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--line); }
.biz-card > strong { color: var(--navy); font-size: 1rem; }
.biz-card dl { display: grid; gap: 8px; margin-top: 14px; }
.biz-card dl div { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; }
.biz-card dt { color: var(--ink-soft); }
.biz-card dd { color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }

/* form */
.contatti__form-wrap {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, #fff, var(--mist));
  border: 1px solid var(--line); box-shadow: var(--sh-md);
}
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field .opt { color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong); background: #fff;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa2b4; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(104,183,227,.18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e0556b; box-shadow: 0 0 0 4px rgba(224,85,107,.12); }
.field__error { font-size: .8rem; color: #d33b54; min-height: 0; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-deep); flex-shrink: 0; }
.check a { color: var(--navy); font-weight: 600; text-decoration: underline; }

.form__status { font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form__status.is-success { color: var(--green-ink); }
.form__status.is-error { color: #d33b54; }

/* ---------- 15. Footer --------------------------------------------------- */
.footer { background: var(--grad-navy); color: rgba(255,255,255,.7); padding-top: clamp(56px, 8vw, 90px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: var(--blue-soft); }
.footer__about { margin-top: 20px; font-size: .94rem; line-height: 1.6; max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer__col a, .footer__muted { display: block; padding: 6px 0; font-size: .94rem; color: rgba(255,255,255,.7); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--green); }
.footer__muted { color: rgba(255,255,255,.5); }

.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- 16. Keyframes ------------------------------------------------ */
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-30px,30px) scale(1.08);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(34px,-26px) scale(1.1);} }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
@keyframes leafSway { 0%,100%{ transform: rotate(0deg);} 50%{ transform: rotate(-5deg);} }
@keyframes twinkle { 0%,100%{ opacity: 1;} 50%{ opacity: .4;} }
@keyframes drawWave { to { stroke-dashoffset: 0; } }
@keyframes scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .blob, .emblem__orb, .float-card, .emblem__leaf, .emblem__shine, .marquee__track { animation: none !important; }
  .emblem__wave { stroke-dashoffset: 0; animation: none; }
}

/* ---------- 17. Responsive ---------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 340px; }
  .hero__sub { max-width: 46ch; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 620px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; gap: 4px; padding: 100px 28px 40px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    box-shadow: -20px 0 60px -30px rgba(45,38,106,.5);
    transform: translateX(100%); transition: transform .45s var(--ease); margin-left: 0;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; padding: 14px 16px; }
  .nav__links a::after { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: flex; margin-left: auto; z-index: 110; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; }
  .contatti__grid { grid-template-columns: 1fr; }
  .float-card--leaf { left: -4%; }
  .float-card--rating { right: -2%; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__pillars { grid-template-columns: 1fr; }
  .about__pillars .pillar:nth-child(2) { transform: none; }
  .hero__cta .btn { flex: 1 1 auto; }
  .float-card--shield { display: none; }
}

/* ==========================================================================
   VIDEO GALLERY (Cloudinary-powered)
   ========================================================================== */
.video-gallery { position: relative; }

.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

/* Card --------------------------------------------------------------------- */
.vcard {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: var(--sh-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.vcard:hover,
.vcard:focus-visible {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
  outline: none;
}
.vcard:focus-visible { box-shadow: var(--sh-lg), 0 0 0 3px rgba(104,183,227,.55); }

.vcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grad-water);
}
.vcard__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.vcard:hover .vcard__poster { transform: scale(1.06); }

/* gradient veil for legibility of duration / play */
.vcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,26,77,0) 45%, rgba(30,26,77,.45) 100%);
  pointer-events: none;
}

.vcard__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.92);
  color: var(--navy);
  box-shadow: var(--sh-glass);
  z-index: 1;
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease);
}
.vcard__play svg { margin-left: 3px; } /* optical center the triangle */
.vcard:hover .vcard__play,
.vcard:focus-visible .vcard__play {
  transform: scale(1.08);
  background: var(--grad-fresh);
  color: #fff;
}

.vcard__dur {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(30,26,77,.62);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}

.vcard__cap {
  display: block;
  padding: 16px 18px 18px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--navy);
}

/* Skeleton / loading ------------------------------------------------------- */
.vcard--skeleton {
  aspect-ratio: 16 / 10;
  border-color: transparent;
  background: linear-gradient(100deg, var(--mist) 30%, var(--mist-2) 50%, var(--mist) 70%);
  background-size: 220% 100%;
  animation: vshimmer 1.4s linear infinite;
  min-height: 220px;
}
@keyframes vshimmer { to { background-position: -220% 0; } }

.vgrid__msg {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.02rem;
  padding: 28px 0 4px;
}

/* Lightbox ----------------------------------------------------------------- */
.vlb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  animation: vlbIn .28s var(--ease) forwards;
}
.vlb[hidden] { display: none; }
@keyframes vlbIn { to { opacity: 1; } }

.vlb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,17,55,.74);
  backdrop-filter: blur(8px);
}
.vlb__panel {
  position: relative;
  width: min(960px, 100%);
  z-index: 1;
}
.vlb__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.vlb__stage video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.vlb__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--sh-md);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.vlb__close:hover { transform: rotate(90deg); background: var(--navy); color: #fff; }
.vlb__cap {
  margin-top: 16px;
  text-align: center;
  color: rgba(255,255,255,.86);
  font-family: var(--f-display);
  font-size: 1.05rem;
}
body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .vgrid { grid-template-columns: 1fr; }
  .vlb__close { top: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .vcard, .vcard__poster, .vcard__play, .vlb, .vlb__close { transition: none; animation: none; }
  .vcard--skeleton { animation: none; }
  .vcard:hover .vcard__poster { transform: none; }
}

/* Blank poster fallback (non-Cloudinary URLs) */
.vcard__poster--blank { width:100%; height:100%; display:block; background: var(--grad-water); }
