/* =========================================================
   GAIA — Impresa di pulizie
   Palette: nero · bianco · beige
   ========================================================= */

:root {
  --ink: #0F0E0C;
  --ink-2: #1B1916;
  --ink-3: #2A2723;
  --muted: #625A4F;
  --paper: #FFFFFF;
  --ivory: #F8F5EF;
  --cream: #F1EADF;
  --beige: #E6D9C5;
  --sand: #D3BFA0;
  --taupe: #7D6A4E;
  --line: rgba(15, 14, 12, .1);
  --line-light: rgba(248, 245, 239, .14);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand: "Comfortaa", var(--sans);

  --r-xl: 40px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 40px 80px -40px rgba(60, 45, 20, .35);
  --shadow-sm: 0 14px 30px -16px rgba(60, 45, 20, .35);
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* grana fine per un effetto "carta" */
  content: "";
  position: fixed; inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: calc(var(--section) * .55); }

.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }
.ico--xl { width: 34px; height: 34px; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1;
  letter-spacing: -.02em;
}
.h2 em, .hero__title em { color: var(--taupe); padding-right: .04em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--taupe);
}
.eyebrow .ico { width: 12px; height: 12px; }
.eyebrow--light { color: var(--sand); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px 60px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head__text { max-width: 400px; color: var(--muted); font-size: 17px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 19ch; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
}
.btn .ico { width: 19px; height: 19px; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); transform: translateY(-2px); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: var(--beige); transform: translateY(-2px); }
.btn--outline-light { border: 1.5px solid var(--line-light); color: var(--ivory); }
.btn--outline-light:hover { border-color: var(--ivory); }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-grid; place-items: center; flex: none;
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn--line { border: 1.5px solid var(--line); background: rgba(255,255,255,.4); }
.icon-btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.icon-btn--dark { background: var(--ink); color: var(--ivory); }
.icon-btn--dark:hover { background: var(--ink-3); }
.icon-btn--light { background: rgba(248,245,239,.08); border: 1.5px solid var(--line-light); color: var(--ivory); }
.icon-btn--light:hover { background: var(--ivory); color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 700;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--taupe); }
.link-arrow:hover .ico { transform: translate(2px, -2px); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--taupe); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.header.is-scrolled {
  background: rgba(248, 245, 239, .82);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { height: 40px; width: auto; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.brand__word { height: 21px; width: auto; }

.nav ul { display: flex; gap: 6px; }
.nav a {
  position: relative; display: block;
  padding: 10px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-3);
  transition: background-color .3s, color .3s;
}
.nav a:hover { background: rgba(15,14,12,.05); color: var(--ink); }
.nav a.is-active { background: var(--ink); color: var(--ivory); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px; letter-spacing: .01em;
  padding: 0 10px;
}
.header__phone .ico { width: 18px; height: 18px; color: var(--taupe); }
.header__phone:hover { color: var(--taupe); }
.show-md { display: none; }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--ink); color: var(--ivory);
  display: flex; flex-direction: column;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  clip-path: circle(0% at calc(100% - 40px) 38px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-size: clamp(38px, 10vw, 56px); line-height: 1.15;
  border-bottom: 1px solid var(--line-light);
  padding: 6px 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.menu__nav a span { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--sand); letter-spacing: .1em; }
.menu__nav a:hover { color: var(--sand); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .35s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .4s; }
.menu__foot { display: grid; gap: 10px; padding-top: 24px; }
.menu__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu__row .btn { padding: 0 12px; }

/* ---------- Photo slots (segnaposto per le vostre foto) ---------- */
.media {
  position: relative; overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255,255,255,.75) 0%, transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(211,191,160,.85) 0%, transparent 60%),
    linear-gradient(160deg, #EFE6D8, #E2D3BC);
}
.media::before { /* emblema in filigrana */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../assets/brand/gaia-emblema.svg") center / auto 34% no-repeat;
  opacity: .07;
}
.media::after { /* trama sottile */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(135deg, rgba(15,14,12,.025) 0 1px, transparent 1px 14px);
}
.media > img, .media > video, .media > picture img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  transition: transform 1.2s var(--ease);
}
.media__tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--taupe);
}
.media__tag .ico { width: 14px; height: 14px; }
.media__tag--right { left: auto; right: 14px; }
.media__art {
  position: absolute; inset: 0; margin: auto; z-index: 0;
  width: clamp(64px, 24%, 120px); height: clamp(64px, 24%, 120px);
  color: var(--taupe); opacity: .5;
  stroke-width: 1.1;
  transition: transform .8s var(--ease), opacity .4s;
}
.media:has(> .media__art)::before { display: none; }
.media--dark .media__art { color: var(--sand); opacity: .45; }
.svc:hover .media__art { transform: scale(1.08) rotate(-3deg); opacity: .7; }
.media:has(> img) .media__art { display: none; }
.media:has(> img) .media__tag, .media:has(> picture) .media__tag, .media:has(> video) .media__tag { display: none; }

.media--dark {
  background:
    radial-gradient(110% 80% at 10% 0%, rgba(230,217,197,.16) 0%, transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(211,191,160,.12) 0%, transparent 60%),
    linear-gradient(160deg, #24211D, #171512);
}
.media--dark::before { background-image: url("../assets/brand/gaia-emblema-light.svg"); opacity: .06; }
.media--dark::after { background-image: repeating-linear-gradient(135deg, rgba(248,245,239,.03) 0 1px, transparent 1px 14px); }
.media--dark .media__tag { background: rgba(248,245,239,.1); color: var(--sand); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(30px); filter: blur(6px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(55% 55% at 88% 18%, rgba(211,191,160,.38), transparent 70%),
    radial-gradient(45% 45% at 0% 100%, rgba(230,217,197,.7), transparent 70%),
    var(--ivory);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(255,255,255,.6); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: clamp(22px, 3vw, 34px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); box-shadow: 0 0 0 0 rgba(125,106,78,.5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(125,106,78,.45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(125,106,78,0); } }

.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(50px, 7.4vw, 108px);
  line-height: .96; letter-spacing: -.025em;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .1em 0; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 120ms); }
@keyframes rise { to { transform: none; } }
.hero__spark { width: .32em; height: .32em; margin-left: .12em; vertical-align: .55em; color: var(--sand); animation: twinkle 3.2s ease-in-out infinite; }

.hero__lead { max-width: 520px; font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--muted); margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ico { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--ivory); }

.hero__visual { position: relative; justify-self: end; width: min(100%, 520px); }
.arch {
  position: relative;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(255,255,255,.6); outline-offset: -10px;
}
.arch .media { position: absolute; inset: 0; }
.media--hero::before { background-size: auto 30%; opacity: .1; background-position: center 45%; }
.media--hero .media__tag { left: 50%; bottom: auto; top: 63%; transform: translateX(-50%); white-space: nowrap; }

.badge {
  position: absolute; left: -54px; bottom: 56px; z-index: 3;
  width: 158px; height: 158px; border-radius: 50%;
  background: var(--ivory);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge__ring text { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; fill: var(--ink); }
.badge img { width: 52px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; right: -28px; top: 20%; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
}
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--beige); display: grid; place-items: center; }
.float-card__icon .ico { width: 18px; height: 18px; }
.float-card strong { display: block; font-size: 14.5px; line-height: 1.2; }
.float-card small { font-size: 12.5px; color: var(--muted); }
.float-chip {
  position: absolute; right: 22px; bottom: -18px; z-index: 3;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--ivory);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  animation: float 7s ease-in-out infinite reverse;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.twinkle { position: absolute; color: var(--taupe); animation: twinkle 3s ease-in-out infinite; z-index: 2; }
.t1 { width: 22px; height: 22px; top: 4%; left: 6%; }
.t2 { width: 14px; height: 14px; top: 14%; right: 4%; animation-delay: 1s; color: var(--sand); }
.t3 { width: 18px; height: 18px; bottom: 30%; right: -40px; animation-delay: 1.8s; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--ivory); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 38px); line-height: 1; white-space: nowrap; }
.marquee__track svg { width: 16px; height: 16px; color: var(--sand); flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 17px)); } }

/* ---------- About ---------- */
.about__inner { max-width: 1040px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.about__text {
  font-family: var(--serif);
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.14; letter-spacing: -.015em;
  margin-bottom: 44px;
}
.about__text .word { opacity: .16; transition: opacity .4s ease; }
.about__text .word.on { opacity: 1; }
.about__sign { display: inline-flex; align-items: center; gap: 14px; text-align: left; padding: 10px 22px 10px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.about__sign img { width: 40px; height: auto; }
.about__sign strong { display: block; font-size: 15px; }
.about__sign span { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ---------- Services (bento) ---------- */
.services { background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc {
  position: relative; grid-column: span 4;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 10px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc .media { border-radius: calc(var(--r-lg) - 8px); aspect-ratio: 16 / 11; }
.svc:hover .media > img { transform: scale(1.05); }
.svc__body { position: relative; padding: 22px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.svc__num { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--taupe); margin-bottom: 10px; }
.svc__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 38px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 12px; padding-right: 56px; }
.svc__body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.svc__go {
  position: absolute; top: 18px; right: 14px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--ivory);
  transition: transform .5s var(--ease), background-color .3s;
}
.svc__go .ico { width: 20px; height: 20px; }
.svc:hover .svc__go { transform: rotate(45deg) scale(1.06); }

.svc--feature { grid-column: span 7; grid-row: span 2; background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.svc--feature .media { aspect-ratio: auto; flex: 1; min-height: 340px; }
.svc--feature .svc__body { flex: none; padding: 28px 22px 20px; }
.svc--feature .svc__title { font-size: clamp(38px, 3.6vw, 54px); }
.svc--feature .svc__body p { color: rgba(248,245,239,.72); max-width: 520px; }
.svc--feature .svc__num { color: var(--sand); }
.svc--feature .tags li { border-color: var(--line-light); color: var(--beige); }
.svc--feature .svc__go { background: var(--ivory); color: var(--ink); top: 26px; }
.bento > .svc:nth-child(2), .bento > .svc:nth-child(3) { grid-column: span 5; }
.bento > .svc:nth-child(2) .media, .bento > .svc:nth-child(3) .media { aspect-ratio: 16 / 8; }
.svc--wide { grid-column: span 6; flex-direction: row; }
.svc--wide .media { aspect-ratio: auto; width: 46%; min-height: 280px; flex: none; }
.svc--wide .svc__body { padding: 22px 18px 16px 26px; }
.svc--beige { background: var(--beige); border-color: transparent; }
.svc--beige .tags li { border-color: rgba(15,14,12,.14); }

/* ---------- Why ---------- */
.why {
  background: var(--ink); color: var(--ivory);
  padding-block: var(--section);
  border-radius: var(--r-xl);
  margin-inline: clamp(8px, 1.2vw, 16px);
  position: relative; overflow: hidden;
}
.why::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px;
  background: radial-gradient(closest-side, rgba(211,191,160,.16), transparent);
  pointer-events: none;
}
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; position: relative; }
.why__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.why .h2 em { color: var(--sand); }
.why__lead { color: rgba(248,245,239,.68); font-size: 17.5px; max-width: 430px; margin: 24px 0 36px; }
.why__media { position: relative; }
.why__media .media { aspect-ratio: 5 / 4; border-radius: var(--r-lg); }
.why__motto {
  position: absolute; right: 18px; bottom: -20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--beige); color: var(--ink);
  font-family: var(--brand); font-size: 14px; font-weight: 500;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.why__motto .ico { width: 14px; height: 14px; color: var(--taupe); }
.why__list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 36px 0; border-bottom: 1px solid var(--line-light);
}
.why__list li:first-child { padding-top: 8px; }
.why__icon { width: 64px; height: 64px; border-radius: 20px; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--sand); transition: background-color .4s, color .4s; }
.why__icon .ico { width: 26px; height: 26px; }
.why__list li:hover .why__icon { background: var(--beige); color: var(--ink); }
.why__num { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--sand); }
.why__list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 42px); line-height: 1.05; margin: 6px 0 10px; }
.why__list p { color: rgba(248,245,239,.68); font-size: 16px; max-width: 440px; }

/* ---------- Works (before/after + gallery) ---------- */
.works__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.ba {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
  cursor: ew-resize;
  box-shadow: var(--shadow);
}
.ba img { -webkit-user-drag: none; pointer-events: none; }
.ba.is-dragging .ba__knob { transform: translate(-50%, -50%) scale(1.08); }
.ba__layer { position: absolute; inset: 0; isolation: isolate; }
.ba__before { z-index: 0; }
.ba__layer .media { position: absolute; inset: 0; }
.ba__after { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.media--before { background: radial-gradient(90% 70% at 30% 20%, rgba(160,140,110,.35), transparent 60%), linear-gradient(160deg, #CDBEA6, #A9977C); }
.media--before::after { background-image: radial-gradient(rgba(60,45,25,.16) 1.2px, transparent 1.6px); background-size: 16px 16px; }
.media--after { background: radial-gradient(110% 90% at 70% 10%, #FFFFFF 0%, transparent 60%), linear-gradient(160deg, #F8F5EF, #EFE6D8); }
.ba__label {
  position: absolute; top: 16px; z-index: 4;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(15,14,12,.78); color: var(--ivory);
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  pointer-events: none;
}
.ba__label--dopo { left: calc(var(--pos) - 14px); transform: translateX(-100%); background: rgba(255,255,255,.9); color: var(--ink); }
.ba__label--prima { left: calc(var(--pos) + 14px); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5;
  width: 2px; margin-left: -1px; background: var(--ivory);
  pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; z-index: 5;
  left: clamp(32px, var(--pos), calc(100% - 32px));
  transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--ivory); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
  pointer-events: none;
}
.ba__knob .ico { width: 16px; height: 16px; margin: 0 -2px; }
.ba__range {
  position: absolute; inset: 0; z-index: 6;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none; /* solo tastiera: il trascinamento lo gestisce .ba */
  -webkit-appearance: none; appearance: none;
}
.ba__range:focus-visible + * { outline: none; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid var(--taupe); outline-offset: 3px; }

.works__side { display: grid; grid-template-rows: 1fr auto; gap: 18px; }
.job {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
}
.job__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.job__kicker .ico { width: 12px; height: 12px; }
.job__title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 42px); line-height: 1.02; }
.job__title em { color: var(--taupe); }
.job p:not(.job__kicker) { color: var(--muted); font-size: 15.5px; }
.job .tags { margin-top: auto; }
.gallery__ig {
  position: relative; border-radius: var(--r-lg);
  background: var(--ink); color: var(--ivory);
  padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  overflow: hidden; min-height: 210px;
  transition: transform .5s var(--ease);
}
.gallery__ig::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(211,191,160,.35), transparent); transition: transform .8s var(--ease); }
.gallery__ig:hover { transform: translateY(-4px); }
.gallery__ig:hover::before { transform: scale(1.3); }
.gallery__ig > .ico { color: var(--sand); margin-bottom: auto; position: relative; }
.gallery__ig > span:not(.gallery__go) { font-family: var(--serif); font-size: 26px; line-height: 1.05; position: relative; }
.gallery__ig strong { font-weight: 400; font-style: italic; color: var(--sand); }
.gallery__ig small { font-size: 12.5px; color: rgba(248,245,239,.6); position: relative; word-break: break-all; }
.gallery__go { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--ivory); color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease); }
.gallery__ig:hover .gallery__go { transform: rotate(45deg); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 46px; left: 8%; right: 8%; border-top: 1.5px dashed rgba(125,106,78,.35); }
.step {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 26px 30px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--ivory);
  font-family: var(--serif); font-size: 26px; line-height: 1;
  margin-bottom: 26px;
  box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--line);
}
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Zone ---------- */
.zone { padding-bottom: var(--section); }
.zone__panel {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: var(--ink); color: var(--ivory);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5.5vw, 76px);
  position: relative; overflow: hidden;
}
.zone .h2 em { color: var(--sand); }
.zone__lead { color: rgba(248,245,239,.7); font-size: 17px; max-width: 500px; margin: 22px 0 28px; }
.zone__towns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.zone__towns li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 13.5px; font-weight: 600; color: var(--beige); }
.zone__towns li.is-main { background: var(--beige); color: var(--ink); border-color: var(--beige); }
.zone__towns li.is-more { border-style: dashed; color: var(--sand); }
.zone__map { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.zone__map::before { /* radar sweep */
  content: ""; position: absolute; inset: 5%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(230,217,197,0) 0deg 290deg, rgba(230,217,197,.2) 359deg, rgba(230,217,197,0) 360deg);
  animation: spin 8s linear infinite;
}
.radar { position: relative; width: 100%; height: auto; overflow: visible; }
.radar__pulse { transform-origin: 200px 200px; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }
.radar__dots circle { animation: blink 4s ease-in-out infinite; }
.radar__dots circle:nth-child(3n) { animation-delay: 1.3s; }
.radar__dots circle:nth-child(3n+1) { animation-delay: 2.6s; }
@keyframes blink { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); overflow: hidden; }
.carousel-nav { display: flex; gap: 10px; }
.reviews__track {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(var(--gutter), calc((100vw - 1240px) / 2)) 30px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2));
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(410px, 84vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--r-lg);
  padding: 32px 30px 28px;
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.review__stars { display: flex; gap: 3px; color: var(--ink); margin-bottom: 20px; }
.review__stars .ico { width: 17px; height: 17px; }
.review blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: 23px; line-height: 1.28; letter-spacing: -.005em; flex: 1; }
.review footer { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--beige); display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--taupe); flex: none; }
.review footer strong { display: block; font-size: 15px; line-height: 1.3; }
.review footer span { font-size: 13px; color: var(--muted); }
.review__example {
  position: absolute; top: 26px; right: 24px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px dashed var(--sand); color: var(--taupe);
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.review--cta { background: var(--ink); color: var(--ivory); justify-content: space-between; }
.review--cta .ico-big { width: 34px; height: 34px; color: var(--sand); margin-bottom: 22px; }
.review--cta h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.04; margin-bottom: 14px; }
.review--cta h3 em { color: var(--sand); }
.review--cta p { color: rgba(248,245,239,.7); margin-bottom: 26px; }
.review--cta .btn { align-self: flex-start; }

/* ---------- Certificates ---------- */
.certs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.cert {
  display: block; text-align: left; width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 12px 12px 18px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cert:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.cert__frame {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  background: var(--ivory);
}
.cert__frame img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cert__placeholder {
  position: absolute; inset: 12px; border-radius: 10px;
  border: 1.5px dashed rgba(125,106,78,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; color: var(--taupe); padding: 20px;
}
.cert__placeholder img { width: 64px; height: auto; opacity: .22; background: none; }
.cert__placeholder span { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cert__placeholder::before, .cert__placeholder::after { content: ""; position: absolute; left: 22%; right: 22%; height: 1px; background: rgba(125,106,78,.25); }
.cert__placeholder::before { top: 18%; }
.cert__placeholder::after { bottom: 18%; }
.cert__cap { display: flex; align-items: center; gap: 10px; padding: 16px 6px 0; font-weight: 700; font-size: 15px; }
.cert__cap .ico { width: 20px; height: 20px; color: var(--taupe); }

.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(15,14,12,.94); color: var(--ivory);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { max-width: min(92vw, 900px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: 78vh; width: auto; border-radius: 12px; background: #fff; }
.lightbox figcaption { font-weight: 600; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.reviews__empty {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px 56px; align-items: center;
  background: var(--paper); border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.reviews__empty::before {
  content: "“"; position: absolute; right: 4%; top: -8%;
  font-family: var(--serif); font-size: clamp(220px, 26vw, 380px); line-height: 1;
  color: var(--beige); pointer-events: none;
}
.reviews__empty > * { position: relative; }
.reviews__stars { display: flex; gap: 6px; color: var(--sand); margin-bottom: 22px; }
.reviews__stars .ico { width: 22px; height: 22px; }
.reviews__empty h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; margin-bottom: 14px; }
.reviews__empty h3 em { color: var(--taupe); }
.reviews__empty p { color: var(--muted); font-size: 16.5px; max-width: 520px; }
.reviews__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.reviews__actions small { color: var(--muted); font-size: 13px; }

.cert-feature { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.cert-feature .cert { max-width: 420px; }
.cert__frame--photo { aspect-ratio: 1000 / 1465; background: #fff; }
.cert__zoom { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.cert__zoom .ico { width: 18px; height: 18px; }
.cert:hover .cert__zoom { transform: scale(1.08); }
.cert-info small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; }
.cert-info h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.04; margin-bottom: 26px; }
.cert-info dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; margin: 0 0 28px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert-info dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.cert-info dd { margin: 0; font-weight: 600; }
.cert-info p { color: var(--muted); max-width: 480px; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact__lead { color: var(--muted); font-size: 17px; max-width: 460px; margin: 22px 0 40px; }
.contact__list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.contact__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--ivory); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.contact__icon .ico { width: 24px; height: 24px; }
.contact__list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 4px; }
.contact__big { display: inline-block; font-family: var(--serif); font-size: clamp(40px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 12px; transition: color .3s; }
.contact__big:hover { color: var(--taupe); }
.contact__mid { display: block; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin-bottom: 10px; word-break: break-word; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px 24px; }

.map {
  position: sticky; top: calc(var(--header-h) + 20px);
  border-radius: var(--r-xl); overflow: hidden;
  height: clamp(520px, 52vw, 660px);
  background: var(--cream);
  border: 1px solid var(--line);
}
.map__cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 24px; gap: 18px; }
.map__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: relative; width: 78px; height: 78px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.map__pin::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(125,106,78,.35); animation: pulse 2.8s ease-out infinite; }
.map__pin img { width: 38px; height: auto; }
.map__text { position: relative; display: grid; gap: 14px; justify-items: center; }
.map__text strong { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.map__text small { font-size: 12px; color: var(--muted); }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.18) contrast(1.02); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--ivory); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.lockup { display: flex; align-items: center; gap: 22px; }
.lockup__mark { width: 84px; height: auto; }
.lockup__word { height: 46px; width: auto; margin-bottom: 8px; }
.lockup__motto { font-family: var(--brand); font-size: clamp(14px, 1.4vw, 17px); color: var(--beige); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 50px 0; }
.footer__cols h4 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__cols a, .footer__cols span { color: rgba(248,245,239,.78); font-size: 15px; transition: color .3s; }
.footer__cols a:hover { color: var(--ivory); }
.footer__ig { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line-light); word-break: break-all; }
.footer__ig:hover { border-color: var(--ivory); }
.footer__giant { width: 100%; height: auto; opacity: .07; margin: 10px 0 -2%; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  font-size: 13px; color: rgba(248,245,239,.55);
  position: relative;
}
.footer__bottom a:hover { color: var(--ivory); }
.footer__links { display: inline-flex; gap: 24px; }

/* ---------- WhatsApp floating button ---------- */
.fab {
  position: fixed; z-index: 70;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  transform: translateY(140%); opacity: 0;
  transition: transform .7s var(--ease), opacity .5s;
}
.fab.is-visible { transform: none; opacity: 1; }
.menu-open .fab { opacity: 0; pointer-events: none; }
.fab__btn {
  display: flex; align-items: center;
  height: 62px; padding: 0 0 0 0;
  border-radius: 999px;
  background: var(--ink); color: var(--ivory);
  box-shadow: 0 18px 40px -12px rgba(15,14,12,.55), 0 0 0 3px rgba(248,245,239,.85);
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.fab__btn:hover { transform: translateY(-3px); }
.fab__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 15px; font-weight: 700;
  padding-left: 0;
  transition: max-width .6s var(--ease), padding .6s var(--ease);
}
.fab__btn:hover .fab__label, .fab__btn:focus-visible .fab__label { max-width: 220px; padding-left: 24px; }
.fab__icon { position: relative; width: 62px; height: 62px; display: grid; place-items: center; flex: none; }
.fab__icon .ico { width: 28px; height: 28px; }
.fab__icon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--sand); animation: ring 2.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.fab__dot { position: absolute; top: 14px; right: 14px; width: 11px; height: 11px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 2.5px var(--ink); }
.fab__bubble {
  position: relative; max-width: 260px;
  background: var(--paper); color: var(--ink);
  padding: 16px 38px 16px 18px; border-radius: 20px 20px 6px 20px;
  box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.45;
  animation: pop .6s var(--ease);
}
.fab__bubble[hidden] { display: none; }
.fab__bubble strong { display: block; margin-bottom: 2px; font-size: 15px; }
.fab__close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.fab__close:hover { background: var(--ivory); color: var(--ink); }
.fab__close .ico { width: 15px; height: 15px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.95); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1160px) {
  .nav { display: none; }
  .show-md { display: inline-grid; }
  .hide-md { display: none; }
  .header__phone { display: none; }
}

@media (max-width: 1100px) {
  .svc--wide { flex-direction: column; }
  .svc--wide .media { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .svc--wide .svc__body { padding: 22px 16px 16px; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; width: min(100% - 40px, 460px); margin-top: 20px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .svc--feature { grid-column: 1 / -1; grid-row: auto; }
  .svc--feature .media { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
  .bento > .svc:nth-child(n) { grid-column: span 1; }
  .bento > .svc--feature { grid-column: 1 / -1; }
  .bento > .svc:nth-child(2) .media, .bento > .svc:nth-child(3) .media { aspect-ratio: 16 / 11; }
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .why__media { margin-bottom: 30px; }
  .works__grid { grid-template-columns: 1fr; }
  .works__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .reviews__empty { grid-template-columns: 1fr; }
  .cert-feature { grid-template-columns: 1fr; }
  .cert-feature .cert { max-width: 380px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .zone__panel { grid-template-columns: 1fr; }
  .zone__map { max-width: 400px; }
  .contact__grid { grid-template-columns: 1fr; }
  .map { position: relative; top: 0; height: 420px; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; --r-xl: 30px; --r-lg: 24px; }
  .hide-sm { display: none; }
  .brand__mark { height: 36px; }
  .brand__word { height: 19px; }
  .icon-btn { width: 44px; height: 44px; }
  .header__actions { gap: 8px; }

  .pill { font-size: 10.5px; letter-spacing: .09em; padding: 8px 14px 8px 11px; gap: 8px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__trust { gap: 10px 16px; font-size: 13.5px; }
  .badge { width: 118px; height: 118px; left: -18px; bottom: 34px; }
  .badge__ring text { font-size: 13.5px; }
  .badge img { width: 40px; }
  .float-card { right: -14px; top: 12%; padding: 10px 14px 10px 10px; }
  .float-card__icon { width: 36px; height: 36px; border-radius: 10px; }
  .float-card strong { font-size: 13.5px; }
  .float-card small { font-size: 12px; }
  .float-chip { right: 50%; transform: translateX(50%); font-size: 12px; padding: 10px 16px; animation: none; }
  .t3 { right: -16px; }

  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento > .svc:nth-child(n) { grid-column: auto; }
  .svc__title { font-size: 32px; }

  .why__list li { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .why__icon { width: 54px; height: 54px; border-radius: 16px; }
  .why__motto { right: 12px; font-size: 13px; padding: 12px 18px; }

  .works__side { grid-template-columns: 1fr; gap: 14px; }
  .gallery__ig { min-height: 170px; }
  .cert-info dl { grid-template-columns: 1fr; gap: 4px; }
  .cert-info dd { margin-bottom: 10px; }
  .ba { aspect-ratio: 1 / 1; }
  .ba__knob { width: 50px; height: 50px; left: clamp(28px, var(--pos), calc(100% - 28px)); }

  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; padding: 22px; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { font-size: 26px; }

  .zone__towns li { font-size: 12.5px; padding: 6px 12px; }
  .zone__map { max-width: 320px; }

  .review { padding: 26px 22px 22px; }
  .review blockquote { font-size: 21px; }
  .carousel-nav { display: none; }

  .contact__list li { grid-template-columns: 46px 1fr; gap: 16px; padding: 22px 0; }
  .contact__icon { width: 46px; height: 46px; border-radius: 14px; }
  .contact__icon .ico { width: 20px; height: 20px; }
  .map { height: 380px; }

  .footer__cols { grid-template-columns: 1fr; gap: 36px; }
  .lockup { gap: 16px; }
  .lockup__mark { width: 64px; }
  .lockup__word { height: 38px; }
  .footer__top .btn { width: 100%; }

  .fab__icon, .fab__btn { width: 58px; height: 58px; }
  .fab__label { display: none; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 44px; }
  .hero__trust li:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .js .hero__title .line > span { transform: none; }
  .marquee__track { animation: none; }
}
