/*
  BB Servizi - revisione V14
  Un unico foglio di stile per pagine principali, servizi, portfolio e guide.
*/

:root {
  color-scheme: light;
  --font: "Manrope", Arial, sans-serif;
  --ink: #22211f;
  --ink-soft: #393633;
  --muted: #6d6862;
  --muted-light: #918a82;
  --paper: #ffffff;
  --paper-warm: #fbfaf8;
  --surface: #f6f3ef;
  --surface-strong: #eee8e0;
  --dark: #171614;
  --dark-soft: #211f1c;
  --accent: #c9822f;
  --accent-strong: #985419;
  --accent-light: #e4a14a;
  --accent-soft: #f6eadb;
  --green: #25d366;
  --line: rgba(34, 33, 31, 0.11);
  --line-strong: rgba(34, 33, 31, 0.18);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 10px 30px rgba(34, 28, 22, 0.07);
  --shadow: 0 20px 58px rgba(34, 28, 22, 0.10);
  --shadow-lg: 0 30px 88px rgba(25, 21, 17, 0.16);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --header-h: 80px;
  --container: 1320px;
  --section-y: 108px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 22px); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open, body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
main { min-height: 55vh; }
section[id], article section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
::selection { background: rgba(201, 130, 47, 0.22); color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(152, 84, 25, 0.42);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 52px)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section.soft, .soft {
  background:
    radial-gradient(circle at 8% 0%, rgba(201, 130, 47, 0.07), transparent 30%),
    var(--surface);
}
.section.dark, .dark { background: var(--paper); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; text-wrap: balance; }
h1 { margin-bottom: 0; font-size: clamp(3.35rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.055em; }
h2 { margin-bottom: 0; font-size: clamp(2.55rem, 5.2vw, 4.9rem); line-height: .98; letter-spacing: -.045em; }
h3 { margin-bottom: 0; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.2; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.72; }
.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.lead { font-size: clamp(1.12rem, 2vw, 1.5rem); line-height: 1.55; }

/* Header */
.header {
  position: fixed;
  z-index: 1200;
  inset: 0 0 auto;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding-inline: clamp(22px, 4vw, 68px);
  border-bottom: 1px solid rgba(34, 33, 31, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 28px rgba(31, 27, 23, 0.045);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img { width: 46px; height: 34px; object-fit: contain; filter: invert(1); }
.brand > b, .brand span { display: block; }
.brand b { display: block; color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1; letter-spacing: .13em; }
.brand small { display: block; margin-top: 6px; color: #77716b; font-size: 9px; line-height: 1; letter-spacing: .34em; }
.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 36px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.nav > a, .drop > button {
  position: relative;
  padding: 30px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.nav > a::after, .drop > button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after,
.drop:hover > button::after, .drop:focus-within > button::after, .drop.open > button::after { transform: scaleX(1); }
.nav > a[aria-current="page"] { color: var(--accent-strong); }
.drop { position: relative; }
.drop-caret { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.drop.open .drop-caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% - 5px);
  left: 50%;
  width: min(310px, 88vw);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.drop-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}
.drop-menu a:hover, .drop-menu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); }
.actions { justify-self: end; }
.topcta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 24px;
  border: 1px solid #b96d23;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 12px 28px rgba(201, 130, 47, 0.22);
  color: #201307;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s ease, filter .25s ease;
}
.topcta:hover { transform: translateY(-2px); box-shadow: 0 17px 38px rgba(201, 130, 47, 0.30); filter: saturate(1.06); }
.menu-btn { display: none; }
.mobile { display: none; }

/* Buttons */
.btn, .legal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(32, 27, 22, 0.05);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .065em;
  text-align: center;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.btn:hover, .legal-btn:hover { transform: translateY(-2px); border-color: rgba(152, 84, 25, 0.45); box-shadow: 0 14px 32px rgba(32, 27, 22, 0.10); }
.btn.primary, .legal-btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #211408;
  box-shadow: 0 13px 30px rgba(201, 130, 47, 0.25);
}
.btn.primary:hover, .legal-btn.primary:hover { box-shadow: 0 18px 38px rgba(201, 130, 47, 0.32); }
.btn.ghost { background: rgba(255, 255, 255, 0.82); }
.hero-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero, .portfolio-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(820px, 88svh);
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 78px;
  background-position: center;
  background-size: cover;
  color: #fff;
}
.home-page .hero { min-height: max(720px, 100svh); }
.hero::before, .portfolio-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, .70), rgba(7, 7, 7, .34) 50%, rgba(7, 7, 7, .52)),
    linear-gradient(180deg, rgba(7, 7, 7, .12), rgba(7, 7, 7, .65));
}
.service-velux .hero, .contact-page .hero { background-image: url("hero-velux.webp"); }
.service-fotovoltaico .hero { background-image: url("hero-fotovoltaico.webp"); }
.service-linea-vita .hero { background-image: url("hero-linea-vita.webp"); }
.service-bagni .hero { background-image: url("hero-bagni.webp"); }
.service-mobili .hero { background-image: url("hero-mobili.webp"); }
.guide-hub .hero { background-image: url("hero-velux.webp"); }
.portfolio-hero { background-image: url("hero-bagni.webp"); }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  margin-inline: auto;
  padding-inline: 20px;
  text-align: center;
}
.hero-logo { width: 106px; height: 68px; margin: 0 auto 13px; object-fit: contain; }
.hero-brand {
  margin-bottom: 18px;
  color: #efad5e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .235em;
  text-transform: uppercase;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .42);
}
.hero h1, .portfolio-hero h1 { color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .42); }
.service-page .hero h1, .contact-page .hero h1, .guide-hub .hero h1, .guide-article .hero h1 { font-size: clamp(3rem, 6.2vw, 6rem); }
.hero .lead, .portfolio-hero .lead {
  max-width: 860px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .40);
}
.hero .hero-btns, .portfolio-hero .hero-btns { margin-top: 30px; }
.hero .btn.ghost, .portfolio-hero .btn.ghost {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(12, 12, 12, .20);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.hero .btn.ghost:hover, .portfolio-hero .btn.ghost:hover { border-color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .12); }
.mobile-home-back {
  position: absolute;
  z-index: 5;
  top: calc(var(--header-h) + 18px);
  left: max(18px, calc((100vw - var(--container)) / 2));
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(15, 15, 15, .30);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.mobile-home-back::before { content: "←"; font-size: 16px; }

.slides, .hero > .slides, .hero > .slides .slide { position: absolute; z-index: -2; inset: 0; }
.hero > .slides .slide { opacity: 0; transition: opacity .8s ease; }
.hero > .slides .slide.active { opacity: 1; }
.hero > .slides .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s ease;
}
.hero > .slides .slide.active img { transform: scale(1.08); }
.subtitle { margin-top: 14px; color: #fff; font-size: clamp(1.55rem, 3vw, 2.7rem); font-weight: 700; line-height: 1.2; text-shadow: 0 3px 22px rgba(0, 0, 0, .42); }
.pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 28px auto 24px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding-inline: 18px;
  border: 1px solid rgba(231, 164, 79, .68);
  border-radius: 999px;
  background: rgba(14, 14, 14, .54);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(9px);
  transition: transform .25s var(--ease), background .25s ease;
}
.pill:hover { transform: translateY(-2px); background: rgba(201, 130, 47, .27); }
.pill svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: #efad5e; stroke-width: 1.7; }
.hero > .dots {
  position: absolute;
  z-index: 4;
  right: 50%;
  bottom: 28px;
  display: flex;
  width: min(880px, calc(100% - 44px));
  gap: 10px;
  transform: translateX(50%);
}
.dot {
  position: relative;
  flex: 1;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.dot::before { content: ""; position: absolute; inset: -11px 0; }
.dot:hover { background: rgba(255, 255, 255, .82); }
.dot.active, .dot[aria-pressed="true"] { background: var(--accent-light); }
.vip-badge, .linea-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .60);
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
  color: var(--ink);
  text-align: left;
}
.vip-badge img, .linea-cert-badge img { width: 60px; height: 60px; object-fit: contain; }
.linea-cert-badge img { filter: invert(1); }
.vip-badge span, .linea-cert-badge span { max-width: 285px; font-size: 14px; font-weight: 800; line-height: 1.3; }

/* Shared section structures */
.head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 42px;
}
.head > p { max-width: 630px; margin: 0; justify-self: end; font-size: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 72px); align-items: center; }

/* Home */
.grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(34, 33, 31, .08);
  border-radius: var(--radius);
  background: #ddd;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .03) 18%, rgba(0, 0, 0, .22) 48%, rgba(0, 0, 0, .94) 100%);
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease), filter .35s ease; }
.card:hover { transform: translateY(-7px); border-color: rgba(201, 130, 47, .28); box-shadow: var(--shadow); }
.card:hover img { transform: scale(1.05); }
.card-copy { position: absolute; z-index: 2; right: 23px; bottom: 22px; left: 23px; }
.card-copy h3 { color: #fff; font-size: 21px; text-shadow: 0 2px 14px rgba(0, 0, 0, .65); }
.card-copy p { margin: 10px 0 14px; color: rgba(255, 255, 255, .87); font-size: 13px; line-height: 1.58; text-shadow: 0 2px 12px rgba(0, 0, 0, .60); }
.card-copy span { color: #f0ad5b; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.service-carousel-controls { display: none; }
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cert {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.cert:hover { transform: translateY(-4px); border-color: rgba(201, 130, 47, .28); box-shadow: var(--shadow); }
.cert img { width: 105px; height: 105px; object-fit: contain; }
.cert img[src*="bb-logo-white"] { filter: invert(1); }
.cert p { margin: 10px 0 0; }
.portfolio { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.port {
  position: relative;
  isolation: isolate;
  grid-column: span 2;
  height: 330px;
  overflow: hidden;
  border: 1px solid rgba(34, 33, 31, .08);
  border-radius: var(--radius);
  background: #ddd;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.port:nth-child(4), .port:nth-child(5) { grid-column: span 3; }
.port::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .86)); }
.port img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.port:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.port:hover img { transform: scale(1.05); }
.port span { position: absolute; z-index: 2; right: 22px; bottom: 20px; left: 22px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust-card {
  min-height: 210px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f7f2eb);
  box-shadow: var(--shadow-sm);
}
.trust-card .trust-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border: 1px solid rgba(201, 130, 47, .36); border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 800; }
.trust-card p { margin: 11px 0 0; font-size: 14px; }
.reviewbox {
  min-height: 220px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #f4eee6);
  box-shadow: var(--shadow-sm);
}
.contact, .cta, .portfolio-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  gap: 38px;
  padding: 44px;
  border: 1px solid rgba(201, 130, 47, .38);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 0%, rgba(201, 130, 47, .16), transparent 34%),
    linear-gradient(135deg, #fff, #f7f1e9);
  box-shadow: var(--shadow);
}
.contact p, .cta p, .portfolio-cta p { max-width: 740px; margin: 18px 0 0; }
.contact .hero-btns, .cta .hero-btns, .portfolio-cta .hero-btns { justify-content: flex-end; margin: 0; }

/* Service pages */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.benefit, .service, .step, .audience-card, .deposit, .reason, .guide-service-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.benefit, .service, .step, .audience-card {
  padding: 28px;
  border-radius: var(--radius);
}
.benefit, .service, .step, .audience-card, .deposit, .reason, .guide-service-card {
  transition: transform .32s var(--ease), box-shadow .32s ease, border-color .32s ease;
}
.benefit:hover, .service:hover, .step:hover, .audience-card:hover, .deposit:hover, .reason:hover, .guide-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 130, 47, .30);
  box-shadow: var(--shadow);
}
.icon, .num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 130, 47, .36);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}
.benefit p, .service p, .step p, .audience-card p { margin: 12px 0 0; font-size: 15px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.services .service { min-height: 190px; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reason { padding: 18px 20px; border-radius: 16px; color: var(--ink-soft); font-weight: 750; }
.slideshow {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #e7e2dc;
  box-shadow: var(--shadow);
}
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slideshow .slide.active { opacity: 1; }
.slideshow .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .58)); }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 7s ease; }
.slideshow .slide.active img { transform: scale(1.075); }
.slideshow .dots { position: absolute; z-index: 3; right: 22px; bottom: 18px; left: 22px; display: flex; gap: 9px; }
.deposits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.deposit { padding: 20px; border-radius: 17px; color: var(--ink-soft); font-weight: 750; line-height: 1.45; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { min-height: 225px; }
.step b { display: block; margin-bottom: 12px; color: var(--accent-strong); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.faq { display: grid; gap: 12px; }
.faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(30, 25, 21, .045);
}
.faq summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 20px;
  transform: translateY(-50%);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid rgba(34, 33, 31, .07); }
.faq details > p { margin: 0; padding: 0 22px 22px; }
.service-note {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(201, 130, 47, .38);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf3, #f6eee3);
  color: #554b41;
  line-height: 1.65;
}
.service-note strong { color: var(--accent-strong); }
.guide-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.guide-service-card { display: flex; flex-direction: column; min-height: 210px; padding: 24px; border-radius: 20px; }
.guide-service-card span { color: var(--accent-strong); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.guide-service-card h3 { margin-top: 13px; font-size: 19px; }
.guide-service-card p { margin: 11px 0 0; font-size: 14px; line-height: 1.58; }
.guide-service-card b { margin-top: auto; padding-top: 18px; color: var(--accent-strong); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Guide hub */
.cluster-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.cluster-nav a, .category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-inline: 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.cluster-nav a:hover, .category-nav a:hover, .category-nav a.active { border-color: rgba(201, 130, 47, .48); background: var(--accent-soft); color: var(--accent-strong); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #181715;
  box-shadow: var(--shadow);
}
.guide-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease); }
.guide-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .16) 42%, rgba(0, 0, 0, .90)); }
.guide-card:hover img { transform: scale(1.06); }
.guide-copy { position: absolute; z-index: 2; right: 27px; bottom: 26px; left: 27px; color: #fff; }
.guide-copy span, .mini-card .tag { display: block; margin-bottom: 11px; color: #efad5e; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.guide-copy h3 { color: #fff; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.guide-copy p { margin: 11px 0 0; color: rgba(255, 255, 255, .86); line-height: 1.55; }
.guide-copy b { display: inline-block; margin-top: 16px; color: #f1b76d; font-size: 11px; letter-spacing: .10em; text-transform: uppercase; }
.cluster { padding-top: 24px; }
.cluster + .cluster { margin-top: 76px; }
.cluster-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 26px; margin-bottom: 25px; }
.cluster-head h3 { font-size: clamp(2rem, 4vw, 3rem) !important; }
.cluster-head p { max-width: 700px; margin: 12px 0 0; }
.service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-strong); font-size: 12px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.service-link:hover { color: var(--accent); }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini-card {
  display: flex;
  flex-direction: column;
  min-height: 225px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.mini-card:hover { transform: translateY(-4px); border-color: rgba(201, 130, 47, .30); box-shadow: var(--shadow); }
.mini-card .tag { color: var(--accent-strong); }
.mini-card h3 { font-size: 19px; }
.mini-card p { margin: 12px 0 0; font-size: 14px; line-height: 1.58; }
.mini-card .status { margin-top: auto; padding-top: 18px; color: var(--muted-light); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mini-card.live .status { color: var(--accent-strong); }

/* Guide articles */
.guide-article .hero { min-height: min(720px, 76svh); }
.guide-article .hero h1 { max-width: 1040px; margin-inline: auto; font-size: clamp(2.8rem, 6vw, 5.7rem); }
.breadcrumb { padding-top: 24px; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; gap: 9px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 9px; color: #b6afa7; }
.breadcrumb a:hover { color: var(--accent-strong); }
.answer-box {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(201, 130, 47, .36);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffaf3, #f6eee3);
  box-shadow: var(--shadow);
}
.answer-box h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.answer-box p { margin: 18px 0 0; color: #51483f; font-size: 18px; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(38px, 5vw, 64px); align-items: start; }
.article-main { min-width: 0; }
.article-main > section { margin-bottom: 66px; }
.article-main > section:last-child { margin-bottom: 0; }
.article-main h2 { margin-bottom: 18px; font-size: clamp(2rem, 4.1vw, 3.4rem); }
.article-main h3 { margin: 30px 0 10px; }
.article-main p { font-size: 17px; }
.article-main ul, .article-main ol { padding-left: 22px; color: var(--muted); line-height: 1.75; }
.article-main li + li { margin-top: 8px; }
.toc {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.toc strong { display: block; margin-bottom: 14px; color: var(--accent-strong); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.toc nav { display: grid; gap: 11px; }
.toc a { color: #5f5a54; font-size: 14px; line-height: 1.4; }
.toc a:hover { color: var(--accent-strong); }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.check { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: var(--shadow-sm); }
.check h3 { margin: 0 0 9px; }
.check p { margin: 0; font-size: 15px; }
.callout { margin: 30px 0; padding: 24px 27px; border-left: 4px solid var(--accent); border-radius: 0 18px 18px 0; background: #f8f3ec; color: var(--muted); }
.callout strong { display: block; margin-bottom: 6px; color: var(--accent-strong); }
.myth { padding: 30px; border-radius: var(--radius); background: var(--dark); color: #fff; box-shadow: var(--shadow); }
.myth h2 { color: #fff !important; font-size: clamp(2rem, 4vw, 3rem) !important; }
.myth p { margin-bottom: 0; color: #d7d1c9; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s ease; }
.related-card:hover { transform: translateY(-4px); border-color: rgba(201, 130, 47, .32); }
.related-card span { color: var(--accent-strong); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.related-card h3 { margin: 11px 0; font-size: 18px; }
.related-card b { color: var(--accent-strong); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Portfolio */
.portfolio-hero { min-height: min(780px, 84svh); }
.portfolio-intro { padding-top: 96px; }
.section-heading, .portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 34px;
}
.section-heading .copy, .portfolio-head-right { max-width: 600px; justify-self: end; }
.section-heading .copy p, .portfolio-head-right p { margin: 0 0 14px; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.category-card:hover { transform: translateY(-5px); border-color: rgba(201, 130, 47, .30); box-shadow: var(--shadow); }
.category-card .image { overflow: hidden; aspect-ratio: 4 / 3; background: #e7e2dc; }
.category-card .image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.category-card:hover .image img { transform: scale(1.055); }
.category-copy { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.category-copy h3 { font-size: 18px; }
.category-copy p { margin: 9px 0 18px; font-size: 14px; line-height: 1.58; }
.category-meta { display: flex; align-items: center; justify-content: flex-end; margin-top: auto; }
.category-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-strong); transition: background .25s ease, color .25s ease, transform .25s ease; }
.category-card:hover .category-arrow { background: var(--accent); color: #fff; transform: translateX(2px); }
.category-nav-wrap {
  position: sticky;
  z-index: 60;
  top: calc(var(--header-h) + 10px);
  margin-top: 32px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}
.category-nav { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.portfolio-section + .portfolio-section { border-top: 1px solid rgba(34, 33, 31, .06); }
.portfolio-head h2 { font-size: clamp(2.5rem, 4.6vw, 4.3rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(34, 33, 31, .08);
  border-radius: 20px;
  background: #e7e2dc;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.gallery-item::after {
  content: "↗";
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(0, 0, 0, .30);
  color: #fff;
  opacity: 0;
  transform: translateY(5px);
  backdrop-filter: blur(9px);
  transition: opacity .25s ease, transform .25s var(--ease);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .58s var(--ease); }
.gallery-item:hover { transform: translateY(-4px); border-color: rgba(201, 130, 47, .34); box-shadow: var(--shadow); }
.gallery-item:hover img { transform: scale(1.055); }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-more { margin-top: 20px; }
.gallery-more summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  min-height: 50px;
  margin-inline: auto;
  padding-inline: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.gallery-more summary::-webkit-details-marker { display: none; }
.gallery-more summary::after { content: "+"; color: var(--accent-strong); font-size: 18px; }
.gallery-more[open] summary::after { content: "−"; }
.gallery-grid-extra { padding-top: 22px; }
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: rgba(9, 9, 9, .92);
  color: #fff;
  opacity: 0;
  transition: opacity .2s ease, display .2s allow-discrete;
  backdrop-filter: blur(9px);
}
.lightbox[open], .lightbox.open { display: grid; place-items: center; opacity: 1; }
.lightbox::backdrop { background: rgba(9, 9, 9, .92); }
.lightbox-inner { position: relative; width: min(1280px, 94vw); }
.lightbox-figure { margin: 0; text-align: center; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 18px; background: #111; box-shadow: 0 28px 90px rgba(0, 0, 0, .42); }
.lightbox figcaption { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 13px; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(15, 15, 15, .66);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--accent); background: var(--accent); }
.lightbox-close { top: -15px; right: -15px; width: 46px; height: 46px; border-radius: 50%; font-size: 25px; }
.lightbox-nav { top: 50%; width: 48px; height: 58px; border-radius: 14px; font-size: 27px; transform: translateY(-50%); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

/* Contact */
.contact-hero { min-height: min(760px, 82svh); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 30px; align-items: start; }
.contact-form {
  position: relative;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .privacy-check { color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(152, 84, 25, .62); box-shadow: 0 0 0 4px rgba(201, 130, 47, .12); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b84b3d; }
.privacy-check { display: flex; align-items: flex-start; gap: 11px; margin-top: 21px; font-weight: 600; line-height: 1.55; }
.privacy-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.privacy-check a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.form-submit { margin-top: 22px; }
.form-note { margin: 12px 0 0; font-size: 12px; }
.form-status { margin-bottom: 20px; padding: 15px 17px; border-radius: 14px; font-weight: 700; }
.form-status.success { border: 1px solid rgba(32, 127, 72, .25); background: #edf8f1; color: #23653d; }
.form-status.error { border: 1px solid rgba(184, 75, 61, .28); background: #fff1ef; color: #8e352b; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.contact-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.contact-card .contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  line-height: 0;
}
.contact-card > span:not(.contact-icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  color: var(--muted);
}
.contact-card strong {
  display: block;
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}
.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-steps { margin-top: 24px; }
.contact-direct {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

/* Privacy summary in contact form */
.privacy-summary {
  margin-top: 22px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.privacy-summary a { color: var(--accent-strong); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Legal */
.legal-main { padding: calc(var(--header-h) + 76px) 0 100px; background: var(--surface); }
.legal-card { max-width: 960px; margin-inline: auto; padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.legal-card h1 { max-width: 820px; font-size: clamp(2.8rem, 6vw, 5rem); }
.legal-card > p { margin: 22px 0 0; font-size: 17px; }
.legal-meta { color: var(--muted-light); font-size: 13px !important; }
.legal-intro { max-width: 820px; }
.legal-notice { margin-top: 28px; padding: 19px 21px; border: 1px solid rgba(201, 130, 47, .36); border-radius: 16px; background: #fff8ee; color: #5b4b3c; line-height: 1.65; }
.legal-section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 16px; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.15; letter-spacing: -.025em; }
.legal-section h3 { margin-top: 20px; margin-bottom: 8px; font-size: 1.05rem; letter-spacing: -.01em; }
.legal-section p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.78; }
.legal-section ul { margin: 14px 0 0; padding-left: 22px; color: var(--muted); }
.legal-section li { margin: 8px 0; line-height: 1.72; }
.legal-section a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-entities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.legal-entity { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-warm); }
.legal-entity h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.15rem; }
.legal-entity p { margin: 0; font-size: 13.5px; line-height: 1.72; }
.legal-purpose { margin-top: 18px; padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--paper-warm); }
.legal-purpose h3 { margin: 0 0 6px; }
.legal-purpose p { margin: 0; }
.legal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }

/* Footer */
footer { padding: 64px 0 30px; background: var(--dark); color: #f4f1ec; }
.foot { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 34px; align-items: start; }
.footlogo { width: 70px; height: 48px; margin-bottom: 17px; object-fit: contain; }
.ftitle { margin-bottom: 14px; color: #fff; font-size: 15px; font-weight: 800; }
footer p { margin-bottom: 0; color: #bdb7af; }
.flinks { display: grid; gap: 10px; color: #bdb7af; font-size: 14px; }
.flinks a, .copy a { color: #bdb7af; transition: color .2s ease; }
.flinks a:hover, .copy a:hover { color: #efad5e; }
.map {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  background: var(--dark-soft);
  color: #bdb7af;
  font-size: 14px;
  line-height: 1.55;
}
.map strong { color: #fff; font-size: 15px; }
.map a { color: #efad5e; font-weight: 700; }
.footer-note { margin-top: 17px; color: #9f988f; font-size: 12px; }
.copy { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .10); color: #9f988f; font-size: 12px; }
.wa {
  position: fixed;
  z-index: 950;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 13px 34px rgba(0, 0, 0, .28);
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.wa:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 17px 40px rgba(0, 0, 0, .34); }
.wa img { width: 27px; height: 27px; object-fit: contain; }

/* Motion */
.reveal { opacity: 1; transform: none; }
.js.motion-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js.motion-ready .reveal.visible { opacity: 1; transform: none; }
.hero-inner > * { animation: heroIntro .8s var(--ease) both; }
.hero-inner > *:nth-child(2) { animation-delay: .06s; }
.hero-inner > *:nth-child(3) { animation-delay: .12s; }
.hero-inner > *:nth-child(4) { animation-delay: .18s; }
.hero-inner > *:nth-child(5) { animation-delay: .24s; }
.hero-inner > *:nth-child(6) { animation-delay: .30s; }
@keyframes heroIntro { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1280px) {
  .grid5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid5 .card { min-height: 430px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  :root { --header-h: 76px; }
  .header { grid-template-columns: 1fr auto; padding-inline: 22px; }
  .nav, .actions { display: none; }
  .menu-btn {
    justify-self: end;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: var(--dark);
    color: #fff;
    cursor: pointer;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .25s var(--ease), opacity .2s ease;
  }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .mobile {
    position: fixed;
    z-index: 1150;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: 15px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .985);
    box-shadow: 0 28px 70px rgba(24, 20, 17, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
  }
  .mobile.open, .mobile.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile > a, .mserv {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(34, 33, 31, .08);
    background: none;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .mobile > a[aria-current="page"] { color: var(--accent-strong); }
  .msub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease); }
  .msub > div { overflow: hidden; }
  .msub.open, .msub.is-open { grid-template-rows: 1fr; }
  .msub a { display: block; padding: 12px 0 12px 15px; color: var(--muted); font-size: 13px; }
  .mserv span { font-size: 18px; }
  .benefits, .timeline, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  :root { --section-y: 82px; }
  .head, .section-heading, .portfolio-head { grid-template-columns: 1fr; gap: 22px; }
  .head > p, .section-heading .copy, .portfolio-head-right { max-width: 720px; justify-self: start; }
  .split, .contact-layout, .article-shell { grid-template-columns: 1fr; }
  .slideshow { min-height: 520px; }
  .contact, .cta, .portfolio-cta { grid-template-columns: 1fr; padding: 36px; }
  .contact .hero-btns, .cta .hero-btns, .portfolio-cta .hero-btns { justify-content: flex-start; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deposits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .port, .port:nth-child(4), .port:nth-child(5) { grid-column: auto; }
  .port:last-child { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; order: -1; }
  .toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-copy { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 30px, var(--container)); }
  h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.7rem); }
  .hero, .portfolio-hero, .home-page .hero {
    min-height: 760px;
    padding: calc(var(--header-h) + 90px) 0 72px;
    background-position: center;
  }
  .home-page .hero { min-height: 880px; }
  .service-page .hero h1, .contact-page .hero h1, .guide-hub .hero h1, .guide-article .hero h1 { font-size: clamp(2.65rem, 12vw, 4.25rem); line-height: .98; }
  .hero::before, .portfolio-hero::before {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, .32), rgba(7, 7, 7, .67)),
      linear-gradient(90deg, rgba(7, 7, 7, .34), rgba(7, 7, 7, .22));
  }
  .hero-logo { width: 92px; height: 59px; }
  .hero-brand { font-size: 13px; letter-spacing: .19em; }
  .hero .lead, .portfolio-hero .lead { font-size: 17px; line-height: 1.55; }
  .mobile-home-back { display: inline-flex; left: 15px; }
  .pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 10px; }
  .pill { width: 100%; min-width: 0; justify-content: flex-start; padding-inline: 13px; font-size: 12px; line-height: 1.25; }
  .hero > .dots { bottom: 20px; gap: 7px; }
  .cert-grid, .audience, .feature-grid, .related-grid { grid-template-columns: 1fr; }
  .cert { grid-template-columns: 86px minmax(0, 1fr); padding: 24px; }
  .cert img { width: 78px; height: 78px; }
  .portfolio { grid-template-columns: 1fr; }
  .port, .port:last-child { grid-column: auto; height: 300px; }
  .contact-direct { grid-template-columns: 1fr; }
  .contact-direct .hero-btns { justify-content: flex-start; }
  .category-nav-wrap { top: calc(var(--header-h) + 7px); }
  .lightbox { padding: 16px; }
  .lightbox-close { top: -12px; right: -6px; }
  .lightbox-nav { top: auto; bottom: 54px; transform: none; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .legal-main { padding-top: calc(var(--header-h) + 48px); }
}

@media (max-width: 560px) {
  :root { --section-y: 68px; }
  .header { padding-inline: 15px; }
  .brand img { width: 42px; }
  .hero, .portfolio-hero, .home-page .hero { min-height: 740px; padding-top: calc(var(--header-h) + 88px); }
  .home-page .hero { min-height: 880px; }
  .hero-inner { padding-inline: 14px; }
  .hero-btns { display: grid; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .subtitle { font-size: 1.45rem; }
  .pills { margin-top: 23px; }
  .grid5 {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 7px 14px;
    scroll-padding-inline: 7px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .grid5::-webkit-scrollbar { display: none; }
  .grid5 .card { flex: 0 0 calc(100% - 14px); min-height: 460px; scroll-snap-align: center; }
  .card-copy h3 { font-size: 24px; }
  .card-copy p { font-size: 14px; }
  .service-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 17px; }
  .service-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); box-shadow: var(--shadow-sm); cursor: pointer; }
  .service-counter { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .10em; }
  .benefits, .timeline, .trust-grid, .services, .deposits, .guide-service-grid, .mini-grid, .category-grid, .gallery-grid, .contact-cards, .check-grid { grid-template-columns: 1fr; }
  .benefit, .service, .step, .audience-card { padding: 24px; }
  .step { min-height: 0; }
  .slideshow { min-height: 430px; border-radius: 22px; }
  .reasons { grid-template-columns: 1fr; }
  .contact, .cta, .portfolio-cta { padding: 28px 22px; border-radius: 24px; }
  .reviewbox { display: block; padding: 26px; }
  .reviewbox .btn { width: 100%; margin-top: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .contact-form { padding: 24px 20px; }
  .cluster-head { grid-template-columns: 1fr; }
  .cluster + .cluster { margin-top: 58px; }
  .guide-card { min-height: 380px; }
  .guide-copy { right: 22px; bottom: 22px; left: 22px; }
  .toc nav { grid-template-columns: 1fr; }
  .article-main > section { margin-bottom: 52px; }
  .article-main p { font-size: 16px; }
  .answer-box p { font-size: 16px; }
  .gallery-more summary { width: 100%; }
  .foot { grid-template-columns: 1fr; }
  .copy { display: grid; }
  .wa { right: 12px; bottom: 12px; width: 49px; height: 49px; }
}

@media (max-width: 390px) {
  .pills { grid-template-columns: 1fr; }
  .hero-brand { letter-spacing: .16em; }
  .mobile { padding-inline: 18px; }
}

@media (hover: none) {
  .card:hover, .port:hover, .benefit:hover, .service:hover, .step:hover, .audience-card:hover,
  .deposit:hover, .reason:hover, .guide-service-card:hover, .category-card:hover, .gallery-item:hover,
  .mini-card:hover, .related-card:hover { transform: none; }
  .gallery-item::after { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js.motion-ready .reveal { opacity: 1; transform: none; }
  .hero > .slides .slide img, .slideshow .slide img { transform: none; }
}

/* Small reusable alignment helpers generated during the V14 consolidation. */
.hero-btns.align-start { justify-content: flex-start; }
.mt-22 { margin-top: 22px; }
.drop > button.current { color: var(--accent-strong); }
.drop > button.current::after { transform: scaleX(1); }

/* ==========================================================
   BB Servizi - finitura definitiva 2026
   Branding, COMED, timeline carousels, portfolio mobile,
   contatti, Google/social e correzioni responsive.
   ========================================================== */

:root { --carousel-delay: 6000ms; }

/* Typography and collision prevention */
h1, h2, h3, h4 {
  overflow-wrap: break-word;
  word-break: normal;
}
h2 { line-height: 1.035; }
.head > *, .split > *, .contact-layout > *, .portfolio-head > *, .section-heading > * { min-width: 0; }
.split h2, .article-main h2, .answer-box h2 { margin-bottom: 18px; }
.article-main h2 + p, .answer-box h2 + p { margin-top: 0; }

/* Definitive BB logo system */
.brand img.brand-lockup {
  width: clamp(142px, 12vw, 174px);
  height: auto;
  object-fit: contain;
  filter: none;
}
.hero-logo {
  width: clamp(104px, 10vw, 124px);
  height: auto;
  aspect-ratio: 720 / 261;
  object-fit: contain;
}
.footlogo {
  width: min(202px, 100%);
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

/* Slideshow timeline: orange elapsed portion, pale remaining portion */
.dot {
  isolation: isolate;
  overflow: hidden;
  background: rgba(255, 255, 255, .46);
}
.dot::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.dot.active, .dot[aria-pressed="true"] { background: rgba(255, 255, 255, .52); }
.dot.active.is-progressing::after,
.dot[aria-pressed="true"].is-progressing::after {
  animation: bbCarouselProgress var(--carousel-delay, 6000ms) linear forwards;
}
.carousel-paused .dot.active.is-progressing::after,
.carousel-paused .dot[aria-pressed="true"].is-progressing::after { animation-play-state: paused; }
@keyframes bbCarouselProgress { to { transform: scaleX(1); } }

/* COMED Linea Vita certification identity */
.cert.cert-linea {
  grid-template-columns: minmax(190px, .86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 44px);
}
.cert.cert-linea .cert-logo-linea {
  width: 100%;
  max-width: 255px;
  height: auto;
  filter: none;
  object-fit: contain;
}
.linea-cert-badge {
  display: grid;
  grid-template-columns: minmax(185px, 248px) minmax(0, 1fr);
  align-items: center;
  width: min(720px, 100%);
  margin: 24px auto 0;
  gap: 20px;
  padding: 16px 20px;
  box-sizing: border-box;
}
.linea-cert-badge .linea-vita-comed-logo {
  width: 100%;
  height: auto;
  max-height: 92px;
  filter: none;
  object-fit: contain;
}
.linea-cert-badge span { justify-self: center; max-width: 360px; text-align: center; }

/* Home portfolio: deliberate bento layout on desktop */
.home-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.home-portfolio-grid .port { grid-column: auto; height: 330px; }
.home-portfolio-grid .port:nth-child(1) { grid-column: span 5; }
.home-portfolio-grid .port:nth-child(2) { grid-column: span 3; }
.home-portfolio-grid .port:nth-child(3) { grid-column: span 4; }
.home-portfolio-grid .port:nth-child(4),
.home-portfolio-grid .port:nth-child(5) { grid-column: span 6; height: 305px; }
.portfolio-carousel-controls { display: none; }

/* Contact cards: semantic icons instead of 01/02/03/04 */
.contact-icon svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.contact-card { transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.contact-card:hover { transform: translateY(-3px); border-color: rgba(201,130,47,.30); box-shadow: var(--shadow); }

/* Google profile + review cards */
.google-presence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.google-presence-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.google-presence-card:hover { transform: translateY(-4px); border-color: rgba(201,130,47,.32); box-shadow: var(--shadow); }
.google-presence-card > svg {
  width: 54px;
  height: 54px;
  padding: 13px;
  border: 1px solid rgba(201,130,47,.34);
  border-radius: 50%;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent-strong);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.google-presence-card span { color: var(--accent-strong); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.google-presence-card h3 { margin-top: 8px; }
.google-presence-card p { margin: 11px 0 18px; }
.google-presence-card b { color: var(--accent-strong); font-size: 12px; letter-spacing: .04em; }

/* Bathroom brands note */
.service-note {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(201,130,47,.30);
  border-radius: 17px;
  background: linear-gradient(135deg, #fff, #fbf4eb);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  line-height: 1.65;
}
.service-note strong { color: var(--ink); }

/* Footer: social, Google links and partnership VAT line */
.site-footer { padding-bottom: 24px; }
.footer-brand p { max-width: 290px; }
.footer-google { display: grid; gap: 10px; }
.footer-google-link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  transition: border-color .22s ease, background .22s ease, transform .22s var(--ease);
}
.footer-google-link:hover { transform: translateY(-2px); border-color: rgba(239,173,94,.46); background: rgba(255,255,255,.065); }
.footer-google-link > svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(239,173,94,.12);
  fill: none;
  stroke: #efad5e;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-google-link strong, .footer-google-link small { display: block; }
.footer-google-link strong { color: #fff; font-size: 13px; line-height: 1.25; }
.footer-google-link small { margin-top: 3px; color: #9f988f; font-size: 11px; line-height: 1.25; }
.social-links { display: flex; gap: 10px; margin-top: 13px; }
.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background: rgba(255,255,255,.045);
  transition: transform .22s var(--ease), border-color .22s ease, background .22s ease;
}
.social-links a:hover { transform: translateY(-2px); border-color: rgba(239,173,94,.55); background: rgba(239,173,94,.10); }
.social-links svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-links svg .fill { fill: #fff; stroke: none; }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); }
.footer-bottom .copy { margin: 0; padding: 0; border: 0; }
.footer-collaboration {
  margin-top: 15px;
  color: #bdb7af;
  font-size: clamp(9px, .82vw, 11px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .075em;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .brand img.brand-lockup { width: 156px; }
  .cert.cert-linea { grid-template-columns: minmax(170px, .78fr) minmax(0, 1.22fr); }
}

@media (max-width: 940px) {
  .home-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-portfolio-grid .port,
  .home-portfolio-grid .port:nth-child(1),
  .home-portfolio-grid .port:nth-child(2),
  .home-portfolio-grid .port:nth-child(3),
  .home-portfolio-grid .port:nth-child(4),
  .home-portfolio-grid .port:nth-child(5) { grid-column: auto; height: 310px; }
  .home-portfolio-grid .port:last-child { grid-column: 1 / -1; }
  .google-presence-grid { grid-template-columns: 1fr; }
  .linea-cert-badge { grid-template-columns: minmax(165px, 220px) minmax(0, 1fr); }
}

@media (max-width: 760px) {
  h2 { line-height: 1.065; }
  .hero-logo { width: 104px; height: auto; }
  .cert.cert-linea { grid-template-columns: 1fr; text-align: left; }
  .cert.cert-linea .cert-logo-linea { max-width: 250px; }
  .linea-cert-badge { grid-template-columns: 1fr; width: min(470px, 100%); text-align: center; }
  .linea-cert-badge .linea-vita-comed-logo { max-width: 285px; margin-inline: auto; }
  .linea-cert-badge span { max-width: none; }
}

@media (max-width: 560px) {
  .brand img.brand-lockup { width: 132px; height: auto; }
  h1 { line-height: .98; }
  h2 { font-size: clamp(2.15rem, 10.4vw, 3.35rem); line-height: 1.075; letter-spacing: -.038em; }
  .service-page .hero h1, .contact-page .hero h1, .guide-hub .hero h1, .guide-article .hero h1 {
    font-size: clamp(2.45rem, 11.2vw, 3.85rem);
    line-height: 1.01;
    letter-spacing: -.045em;
  }
  .hero > .dots, .slideshow .dots { gap: 7px; }
  .dot { height: 5px; }

  /* The home portfolio behaves like the services carousel on mobile only. */
  .home-portfolio-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 7px 14px;
    scroll-padding-inline: 7px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-portfolio-grid::-webkit-scrollbar { display: none; }
  .home-portfolio-grid .port,
  .home-portfolio-grid .port:nth-child(1),
  .home-portfolio-grid .port:nth-child(2),
  .home-portfolio-grid .port:nth-child(3),
  .home-portfolio-grid .port:nth-child(4),
  .home-portfolio-grid .port:nth-child(5),
  .home-portfolio-grid .port:last-child {
    flex: 0 0 calc(100% - 14px);
    width: calc(100% - 14px);
    height: 360px;
    scroll-snap-align: center;
  }
  .portfolio-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 17px; }
  .portfolio-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
  }
  .portfolio-counter { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .10em; }

  .google-presence-card { grid-template-columns: 46px minmax(0, 1fr); min-height: 0; padding: 23px 20px; gap: 15px; }
  .google-presence-card > svg { width: 46px; height: 46px; padding: 11px; }
  .contact-card { grid-template-columns: 46px minmax(0, 1fr); padding: 17px 18px; }
  .contact-card .contact-icon { width: 46px; height: 46px; min-width: 46px; }
  .contact-icon svg { width: 20px; height: 20px; }
  .footer-collaboration { font-size: clamp(7.5px, 2.3vw, 10px); letter-spacing: .025em; }
}

@media (max-width: 390px) {
  .brand img.brand-lockup { width: 122px; }
  .footer-collaboration { font-size: 7.3px; }
}

@media (prefers-reduced-motion: reduce) {
  .dot.active.is-progressing::after,
  .dot[aria-pressed="true"].is-progressing::after { animation: none; transform: scaleX(1); }
}

@media (max-width: 720px) {
  .legal-main { padding-top: calc(var(--header-h) + 42px); }
  .legal-card { padding: 26px 20px; border-radius: 22px; }
  .legal-entities { grid-template-columns: 1fr; }
  .legal-section { padding-top: 28px; margin-top: 28px; }
  .legal-actions .legal-btn { width: 100%; }
  .privacy-summary { font-size: 12px; }
}
