:root {
  --bg: #04111d;
  --bg-soft: #0b2238;
  --text: #edf3f8;
  --muted: #b6c3d0;
  --line: rgba(255, 255, 255, 0.15);
  --accent: #00d2ff;
  --accent-2: #ff7a18;
  --card: rgba(13, 30, 48, 0.62);
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
canvas {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: #04010f;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

.video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(2, 5, 12, 0.55), rgba(2, 5, 12, 0.72)),
    radial-gradient(circle at 20% 10%, rgba(10, 22, 34, 0.22), rgba(2, 5, 12, 0.58) 65%);
}

body.home-lite-mode .video-bg {
  display: none;
}

body.home-lite-mode .video-overlay {
  background:
    linear-gradient(to bottom, rgba(2, 5, 12, 0.72), rgba(2, 5, 12, 0.86)),
    radial-gradient(circle at 20% 10%, rgba(10, 22, 34, 0.22), rgba(2, 5, 12, 0.66) 65%),
    url("./resource/Bg_BN_.webp") center / cover no-repeat;
}

main {
  position: relative;
  z-index: 1;
}

.aurora-bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aurora-bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.aurora-page-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 10%, rgba(6, 30, 51, 0.28), transparent 42%),
    linear-gradient(to bottom, rgba(6, 8, 16, 0.56), rgba(6, 8, 16, 0.76));
}

.services-page .aurora-page-overlay,
.contatti-page .aurora-page-overlay,
.privacy-page .aurora-page-overlay,
.cookie-policy-page .aurora-page-overlay {
  background:
    radial-gradient(circle at 20% 4%, rgba(108, 242, 251, 0.2), transparent 34%),
    radial-gradient(circle at 78% 10%, rgba(108, 242, 251, 0.14), transparent 30%),
    linear-gradient(to bottom, rgba(6, 8, 16, 0.3), rgba(6, 8, 16, 0.52));
}

.glass {
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
}

.brand-text strong {
  font-family: "Syne", sans-serif;
  font-size: 1.86rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #eff6ff;
}

.brand-floating {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 35;
  padding: 4px 6px 4px 0;
  border-radius: 12px;
  background: none;
  border: 0;
  box-shadow: none;
}

.menu-toggle {
  position: fixed;
  top: 18px;
  right: 14px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(116, 232, 255, 0.66);
  cursor: pointer;
  z-index: 36;
  display: grid;
  place-content: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(4, 18, 31, 0.95), rgba(6, 26, 45, 0.86));
  box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.45), 0 8px 20px rgba(0, 0, 0, 0.38);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  animation: menu-toggle-pulse 1.9s ease-in-out infinite;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  background: rgba(9, 22, 36, 0.92);
  box-shadow: 0 0 0 6px rgba(0, 210, 255, 0.14), 0 10px 24px rgba(0, 0, 0, 0.45);
  animation-play-state: paused;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: #eff8ff;
  box-shadow: 0 0 8px rgba(123, 232, 255, 0.52);
}

@keyframes menu-toggle-pulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.42), 0 8px 20px rgba(0, 0, 0, 0.38);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 0 0 7px rgba(0, 210, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.42);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0), 0 8px 20px rgba(0, 0, 0, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle {
    animation: none;
  }
}

.side-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 8, 16, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 33;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100dvh;
  border-radius: 0;
  border: 0;
  z-index: 40;
  transform: translateX(100%);
  transition: transform 0.26s ease;
  padding: 76px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: url("./resource/Bg_BN_.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow:
    -14px 0 28px rgba(0, 0, 0, 0.42),
    inset 3px 0 0 rgba(0, 210, 255, 0.42),
    inset 6px 0 12px rgba(0, 210, 255, 0.14),
    inset 0 0 0 1px rgba(2, 8, 16, 0.78);
}

.side-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(165deg, rgba(2, 8, 16, 0.74), rgba(2, 8, 16, 0.9) 56%, rgba(2, 8, 16, 0.97)),
    radial-gradient(circle at 20% 12%, rgba(0, 210, 255, 0.14), rgba(2, 8, 16, 0.24) 42%, rgba(2, 8, 16, 0.88) 82%);
}

.side-menu::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 210, 255, 0.9), rgba(150, 255, 250, 0.76));
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.32);
}

.side-menu > * {
  position: relative;
  z-index: 1;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu.open + .side-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(2, 12, 24, 0.66);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.side-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-menu-nav a {
  text-decoration: none;
  color: #eaf3ff;
  font-family: "Syne", sans-serif;
  font-size: 1.56rem;
  font-weight: 700;
  letter-spacing: -0.008em;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transform: translateX(0) scale(1);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, letter-spacing 0.2s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.side-menu-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 9px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 210, 255, 0.95), rgba(150, 255, 250, 0.9));
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.28);
  transition: width 0.22s ease;
}

.side-menu-nav a:hover {
  background: rgba(0, 210, 255, 0.09);
  border-color: rgba(131, 190, 255, 0.28);
  transform: translateX(4px) scale(1.01);
  letter-spacing: 0.002em;
  animation: side-link-pop 0.24s ease;
}

.side-menu-nav a:hover::after {
  width: calc(100% - 32px);
}

@keyframes side-link-pop {
  0% {
    transform: translateX(0) scale(1);
  }
  55% {
    transform: translateX(6px) scale(1.025);
  }
  100% {
    transform: translateX(4px) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .side-menu-nav a {
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .side-menu-nav a:hover {
    animation: none;
    transform: none;
  }

  .side-menu-nav a::after {
    transition: none;
  }
}

.side-menu-cta {
  margin-top: auto;
  justify-content: center;
  text-align: center;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 80px 0;
}

.hero {
  min-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  width: min(100%, 980px);
  margin: 0 auto;
}

.chip {
  width: fit-content;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.shop-preview {
  text-align: center;
  padding-top: 26px;
  padding-bottom: 26px;
}

.shop-preview .section-head {
  margin-top: -200px;
  margin-bottom: 0;
}

.shop-lead {
  margin: 12px auto 0;
  max-width: 70ch;
  color: var(--muted);
}

/* ── Testi 3D promo card (index shop section) ── */
.shop-t3d-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 52px;
  padding: 40px 44px;
  border-radius: 24px;
  text-align: left;
}
.shop-t3d-promo-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.shop-t3d-promo-copy h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.shop-t3d-promo-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
  max-width: 44ch;
}
.shop-t3d-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-t3d-pills span {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.shop-t3d-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shop-t3d-promo-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.shop-t3d-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.shop-t3d-promo:hover .shop-t3d-promo-img img {
  transform: scale(1.03);
}

.shop-proximity {
  font-family: "Syne", sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.03;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

.variable-proximity {
  display: inline;
  position: relative;
}

.vp-word {
  display: inline-block;
  white-space: nowrap;
}

.vp-letter {
  display: inline-block;
  will-change: transform, filter, opacity, font-variation-settings;
  transition: transform 0.09s linear, filter 0.09s linear, opacity 0.09s linear;
}

.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;
}

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  margin: 0;
  line-height: 1.03;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.blur-text-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.16em;
}

.lead {
  color: var(--muted);
  max-width: 78ch;
  margin: 20px 0 28px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}

.btn {
  border: 0;
  text-decoration: none;
  color: #04111d;
  background: linear-gradient(120deg, var(--accent), #96fffa);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.btn-small {
  font-size: 0.86rem;
  padding: 10px 14px;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.stats article {
  min-width: 120px;
}

.stats strong {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  display: block;
}

.stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.blur-word {
  display: inline-block;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  will-change: transform, filter, opacity;
}

body.js-reveal .blur-word {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-50px);
}

body.js-reveal .blur-word.animate {
  animation: blur-word-in 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes blur-word-in {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(-50px);
  }
  60% {
    filter: blur(5px);
    opacity: 0.5;
    transform: translateY(5px);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  margin-top: 8px;
}

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

#gallery.section {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.gallery-section .section-head {
  width: min(calc(100% - 12px), 1740px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-rotating {
  min-height: 1.25em;
}

.hero-rotating {
  width: 100%;
  margin: 0 auto 18px;
  color: var(--muted);
  font-family: "Syne", sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.services-rotating-stage {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.02em;
  min-width: min(90vw, 16ch);
}

#servizi .section-head {
  text-align: center;
  margin-top: 0;
  margin-bottom: 38px;
}

#servizi .section-head .eyebrow {
  width: 100%;
  text-align: center;
}

#servizi .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.chip-servizi {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */

.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 28px), 1240px);
  margin: 0 auto;
  padding: 22px 0 28px;
}

.footer-shell {
  border-radius: 20px;
  border: 1px solid rgba(108, 242, 251, 0.16);
  background:
    linear-gradient(145deg, rgba(6, 8, 16, 0.96), rgba(6, 30, 51, 0.88) 42%, rgba(14, 22, 34, 0.92)),
    radial-gradient(ellipse at 0% 100%, rgba(108, 242, 251, 0.1), transparent 55%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(235, 252, 255, 0.06);
  padding: 28px 32px 18px;
}

/* ── Main row ── */
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Brand ── */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-brand:hover .footer-brand-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 12px rgba(108, 242, 251, 0.4));
}

.footer-brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand-name {
  font-family: "Syne", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #edf8ff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-brand-tagline {
  font-size: 0.72rem;
  color: rgba(108, 242, 251, 0.68);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Contact block ── */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c9d9e7;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1px solid rgba(108, 242, 251, 0.2);
  background: rgba(108, 242, 251, 0.05);
  transition: color 0.22s, border-color 0.22s, background 0.22s, box-shadow 0.22s;
}

.footer-email-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-email-link:hover {
  color: #6cf2fb;
  border-color: rgba(108, 242, 251, 0.48);
  background: rgba(108, 242, 251, 0.09);
  box-shadow: 0 0 20px rgba(108, 242, 251, 0.16);
}

.footer-email-link:hover svg {
  opacity: 1;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(108, 242, 251, 0.2);
  background: linear-gradient(145deg, rgba(6, 18, 36, 0.92), rgba(3, 10, 22, 0.85));
  display: grid;
  place-items: center;
  color: rgba(160, 215, 240, 0.72);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1),
              border-color 0.22s,
              box-shadow 0.22s,
              color 0.22s;
}

/* Platform-specific hover tint layer */
.footer-social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.28s;
}
.footer-social-ig::before {
  background: linear-gradient(135deg, rgba(195, 55, 130, 0.22), rgba(255, 100, 40, 0.14));
}
.footer-social-fb::before {
  background: rgba(22, 110, 235, 0.18);
}

.footer-social-btn svg {
  position: relative;
  z-index: 1;
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1);
}

.footer-social-btn:hover {
  color: #edf8ff;
  transform: translateY(-4px) scale(1.08);
}
.footer-social-btn:hover::before { opacity: 1; }
.footer-social-btn:hover svg { transform: scale(1.1); }

.footer-social-ig:hover {
  border-color: rgba(210, 70, 130, 0.55);
  box-shadow: 0 10px 32px rgba(0,0,0,0.4), 0 0 22px rgba(200, 55, 120, 0.25);
}
.footer-social-fb:hover {
  border-color: rgba(40, 115, 235, 0.55);
  box-shadow: 0 10px 32px rgba(0,0,0,0.4), 0 0 22px rgba(30, 100, 220, 0.25);
}

/* Legacy img fallback */
.footer-social-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* ── Divider ── */
.footer-divider {
  height: 1px;
  margin: 22px 0 14px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(108, 242, 251, 0.18) 25%,
    rgba(108, 242, 251, 0.18) 75%,
    transparent
  );
}

/* ── Bottom bar ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-credit {
  margin: 0;
  color: #7a90a6;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #7a90a6;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-legal a:hover {
  color: #6cf2fb;
}

.footer-legal-dot {
  color: rgba(122, 144, 166, 0.35);
  font-size: 0.8rem;
  user-select: none;
  line-height: 1;
}

.footer-vat {
  color: #5e7389;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-footer {
    width: min(calc(100% - 18px), 1240px);
    padding: 16px 0 20px;
  }

  .footer-shell {
    padding: 20px 18px 14px;
    border-radius: 16px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-contact {
    justify-content: flex-start;
    width: 100%;
  }

  .footer-bottom {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .footer-brand-logo {
    width: 50px;
    height: 50px;
  }

  .footer-brand-name {
    font-size: 1.3rem;
  }

  .footer-email-link {
    font-size: 0.86rem;
    padding: 8px 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-credit,
  .footer-legal a,
  .footer-legal-dot,
  .footer-vat {
    font-size: 0.74rem;
  }
}

#servizi .services-rotating {
  display: flex;
  justify-content: center;
  width: 100%;
}

#servizi .services-rotating-stage {
  width: 100%;
  justify-content: center;
}

#servizi.section {
  margin-top: 0;
  padding-top: 22px;
}

#servizi .services {
  margin-top: 68px;
}

@media (max-width: 900px) {
  #servizi .section-head {
    margin-bottom: 28px;
  }

  .shop-preview {
    padding-top: 18px;
    padding-bottom: 26px;
  }

  .shop-preview .section-head {
    margin-top: -200px;
  }

  .shop-t3d-promo {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
    margin-top: 36px;
  }
  .shop-t3d-promo-img {
    order: -1;
    aspect-ratio: 16/9;
  }
  .shop-t3d-promo-copy p {
    max-width: none;
  }

  #servizi.section {
    padding-top: 10px;
  }

  #servizi .services {
    margin-top: 56px;
  }
}

.rotate-char {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  will-change: transform, opacity, filter;
}

body.js-reveal .rotate-char.in {
  animation: rotate-char-in 0.42s cubic-bezier(0.22, 0.9, 0.27, 1) both;
}

body.js-reveal .rotate-char.out {
  animation: rotate-char-out 0.35s cubic-bezier(0.18, 0.86, 0.22, 1) both;
}

@keyframes rotate-char-in {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes rotate-char-out {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
  to {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(-120%);
  }
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

#contatti .eyebrow {
  color: #02c6f1;
  margin-bottom: 10px;
}

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

.service-card {
  border-radius: 20px;
  padding: 22px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.24s ease;
}

.service-media-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.service-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(140, 190, 235, 0.2);
  display: block;
  margin-bottom: 0;
}

.service-overlay {
  position: absolute;
  inset: 10px 10px auto 10px;
  padding: 0;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: #ecf6ff;
  background: transparent;
  border: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  transform: translateZ(22px);
  pointer-events: none;
}

.tilted-caption {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 8px;
  background-color: #eef8ff;
  padding: 5px 10px;
  font-size: 11px;
  color: #18344e;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.16s ease;
  z-index: 5;
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 640px) {
  .tilted-caption {
    display: none;
  }
}

.dome-gallery-shell {
  position: relative;
  width: min(50vw, 960px);
  height: min(46svh, 590px);
  min-height: 320px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
  overflow: visible;
}

.dg-root {
  position: relative;
  width: 100%;
  height: 100%;
  --radius: 620px;
  --viewer-pad: 66px;
  --segments-x: 34;
  --segments-y: 34;
  --overlay-blur-color: rgba(6, 0, 16, 0.72);
  --tile-radius: 20px;
  --enlarge-radius: 28px;
  --image-filter: none;
}

.dg-root * {
  box-sizing: border-box;
}

.dg-root .dg-sphere,
.dg-root .dg-item,
.dg-root .dg-item-image {
  transform-style: preserve-3d;
}

.dg-main {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  background: transparent;
}

.dg-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  perspective: calc(var(--radius) * 2);
  perspective-origin: 50% 50%;
  contain: layout size;
  overflow: visible;
}

.dg-sphere {
  transform: translateZ(calc(var(--radius) * -1));
  will-change: transform;
}

body.ios-webkit .dg-sphere {
  will-change: auto;
}

.dg-overlay,
.dg-overlay-blur {
  display: none;
}

.dg-overlay {
  background-image: radial-gradient(rgba(255, 255, 255, 0) 65%, var(--overlay-blur-color) 100%);
}

.dg-overlay-blur {
  -webkit-mask-image: radial-gradient(rgba(255, 255, 255, 0) 70%, black 90%);
  mask-image: radial-gradient(rgba(255, 255, 255, 0) 70%, black 90%);
  backdrop-filter: blur(3px);
}

.dg-item {
  --circ: calc(var(--radius) * 3.14);
  --rot-y: calc((360deg / var(--segments-x)) / 2);
  --rot-x: calc((360deg / var(--segments-y)) / 2);
  --item-width: calc(var(--circ) / var(--segments-x));
  --item-height: calc(var(--circ) / var(--segments-y));
  width: calc(var(--item-width) * var(--item-size-x));
  height: calc(var(--item-height) * var(--item-size-y));
  position: absolute;
  top: -999px;
  right: -999px;
  bottom: -999px;
  left: -999px;
  margin: auto;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  transition: transform 300ms;
  transform: rotateY(calc(var(--rot-y) * (var(--offset-x) + ((var(--item-size-x) - 1) / 2)) + var(--rot-y-delta, 0deg)))
    rotateX(calc(var(--rot-x) * (var(--offset-y) - ((var(--item-size-y) - 1) / 2)) + var(--rot-x-delta, 0deg)))
    translateZ(var(--radius));
}

.dg-item-image {
  position: absolute;
  display: block;
  inset: 10px;
  border-radius: var(--tile-radius);
  background: transparent;
  overflow: hidden;
  backface-visibility: hidden;
  transition: transform 140ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  border: 1px solid rgba(171, 210, 255, 0.16);
}

.dg-item-image:hover {
  transform: scale(1.02);
}

.dg-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  backface-visibility: hidden;
  filter: var(--image-filter);
}

.dg-viewer {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--viewer-pad);
}

.dg-frame {
  width: min(92vw, 1320px);
  height: min(88vh, 920px);
  border-radius: var(--enlarge-radius);
  display: flex;
}

.dg-scrim {
  position: fixed;
  inset: -8vh -8vw;
  z-index: 10;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
  backdrop-filter: none;
}

.dg-root[data-enlarging="true"] .dg-scrim {
  opacity: 1;
  pointer-events: all;
}

.dg-enlarge {
  position: absolute;
  z-index: 30;
  border-radius: var(--enlarge-radius);
  overflow: hidden;
  transform-origin: top left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52);
  background: transparent;
  pointer-events: auto;
}

.dg-enlarge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--image-filter);
}

.dg-enlarge-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(196, 230, 255, 0.45);
  background: rgba(4, 16, 28, 0.76);
  color: #f0f7ff;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.dg-enlarge-close:hover {
  transform: scale(1.06);
  background: rgba(7, 23, 39, 0.94);
  border-color: rgba(150, 217, 255, 0.7);
}

.dg-enlarge-close:focus-visible {
  outline: 2px solid rgba(0, 210, 255, 0.72);
  outline-offset: 2px;
}

.dg-edge-fade {
  display: none;
}

.dg-edge-fade-top {
  top: 0;
  transform: rotate(180deg);
}

.dg-edge-fade-bottom {
  bottom: 0;
}

body.dg-scroll-lock {
  overflow: hidden;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-copy p {
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.socials a {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 1px solid rgba(108, 242, 251, 0.32);
  background: rgba(6, 30, 51, 0.44);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 242, 251, 0.72);
  box-shadow: 0 0 14px rgba(108, 242, 251, 0.26);
}

.socials img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.contact-form {
  padding: 20px;
  border-radius: 18px;
  display: grid;
  gap: 12px;
  position: relative;
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #d3e4f4;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(2, 8, 14, 0.45);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(0, 210, 255, 0.45);
  border-color: transparent;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.76;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #c7d8e8;
}

.form-status[data-state="loading"] {
  color: #9fe8ff;
}

.form-status[data-state="success"] {
  color: #8df0b7;
}

.form-status[data-state="error"] {
  color: #ffb1b1;
}

.contact-hero {
  min-height: 48svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 126px;
  padding-bottom: 38px;
}

.contact-hero-copy {
  width: min(100%, 980px);
  margin: 0 auto;
}

.contact-hero-copy h1 {
  max-width: 20ch;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.contact-trust-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.contact-trust-list li {
  border: 1px solid rgba(108, 242, 251, 0.28);
  border-radius: 999px;
  background: rgba(7, 21, 35, 0.62);
  color: #cfe2f2;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 30px;
  padding: 6px 11px;
  display: inline-flex;
  align-items: center;
}

.contact-hub {
  padding-top: 14px;
  padding-bottom: 88px;
}

.contact-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-channel-card {
  border-radius: 18px;
  padding: 16px;
  border-color: rgba(108, 242, 251, 0.2);
  background:
    linear-gradient(145deg, rgba(10, 31, 51, 0.66), rgba(5, 17, 28, 0.52)),
    radial-gradient(circle at 12% 0%, rgba(108, 242, 251, 0.1), rgba(108, 242, 251, 0));
}

.contact-channel-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-channel-head h2 {
  font-size: 1.12rem;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(108, 242, 251, 0.22);
  background: linear-gradient(145deg, rgba(6, 18, 36, 0.92), rgba(3, 10, 22, 0.84));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
  stroke: rgba(176, 232, 255, 0.82);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

/* Instagram icon */
.contact-channel-icon.icon-ig {
  border-color: rgba(200, 60, 130, 0.32);
  background: linear-gradient(145deg, rgba(195, 52, 128, 0.14), rgba(5, 14, 28, 0.9));
}
.contact-channel-icon.icon-ig svg {
  stroke: rgba(240, 140, 190, 0.88);
}

/* Facebook icon */
.contact-channel-icon.icon-fb {
  border-color: rgba(30, 105, 235, 0.32);
  background: linear-gradient(145deg, rgba(22, 100, 230, 0.14), rgba(5, 14, 28, 0.9));
}
.contact-channel-icon.icon-fb svg {
  stroke: none;
  fill: rgba(130, 185, 255, 0.88);
}

.contact-channel-card p {
  margin: 10px 0 12px;
  color: #c1d1df;
  line-height: 1.55;
}

.contact-channel-link {
  width: fit-content;
  color: #dff6ff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-channel-link:hover {
  color: #6cf2fb;
  border-color: rgba(108, 242, 251, 0.62);
}

.contact-copy-btn {
  margin-top: 10px;
  min-height: 32px;
  width: fit-content;
  border-radius: 10px;
  border: 1px solid rgba(108, 242, 251, 0.3);
  background: rgba(6, 26, 42, 0.65);
  color: #daf5ff;
  font-weight: 700;
  padding: 7px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.contact-copy-btn:hover {
  border-color: rgba(108, 242, 251, 0.62);
  background: rgba(8, 36, 59, 0.82);
  transform: translateY(-1px);
}

.contact-copy-btn:focus-visible {
  outline: 2px solid rgba(108, 242, 251, 0.8);
  outline-offset: 2px;
}

.contact-form-advanced {
  border-radius: 18px;
  padding: 18px;
  border-color: rgba(108, 242, 251, 0.2);
}

.contact-form-advanced h2 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin: 0 0 14px;
}

.contact-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-presets button {
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(108, 242, 251, 0.28);
  background: rgba(7, 23, 38, 0.62);
  color: #d4e8f6;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.contact-presets button:hover {
  border-color: rgba(108, 242, 251, 0.58);
  color: #e5f9ff;
  background: rgba(8, 31, 51, 0.82);
}

.contact-presets button:focus-visible {
  outline: 2px solid rgba(108, 242, 251, 0.82);
  outline-offset: 2px;
}

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

.contact-form-advanced select,
.contact-form-advanced input[type="file"] {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(2, 8, 14, 0.45);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.contact-form-advanced select:focus,
.contact-form-advanced input[type="file"]:focus {
  outline: 2px solid rgba(0, 210, 255, 0.45);
  border-color: transparent;
}

.contact-form-note {
  margin: 0;
  color: #9fb3c5;
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-privacy-note a {
  color: #dff6ff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(108, 242, 251, 0.36);
}

.form-privacy-note a:hover {
  color: #6cf2fb;
  border-color: rgba(108, 242, 251, 0.76);
}

@media (min-width: 920px) {
  .contact-hub-grid {
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.25fr);
    gap: 18px;
    align-items: start;
  }

  .contact-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.services-page main,
.contatti-page main,
.privacy-page main,
.cookie-policy-page main {
  position: relative;
  z-index: 1;
}

.legal-hero {
  min-height: 42svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 28px;
}

.legal-hero-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
  padding: 34px 30px;
  border-radius: 24px;
  border-color: rgba(108, 242, 251, 0.2);
  background:
    linear-gradient(145deg, rgba(10, 31, 51, 0.72), rgba(5, 17, 28, 0.56)),
    radial-gradient(circle at 15% 0%, rgba(108, 242, 251, 0.12), rgba(108, 242, 251, 0));
}

.legal-hero-shell h1 {
  max-width: 18ch;
  margin-top: 10px;
}

.legal-hero .lead {
  max-width: 72ch;
}

.legal-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.legal-hero-meta {
  margin: 18px 0 0;
  color: #b6c5d4;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.legal-content {
  padding-top: 18px;
  padding-bottom: 88px;
}

.legal-intro {
  padding: 18px 24px;
  border-radius: 18px;
  margin-bottom: 36px;
  border-color: rgba(108, 242, 251, 0.18);
  font-size: 0.93rem;
}

.legal-intro p {
  margin: 0;
  color: #d3e3ef;
  line-height: 1.7;
}

.legal-intro a,
.legal-card a {
  color: #6cf2fb;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: rgba(108, 242, 251, 0.72);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  border-bottom: 0;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, text-shadow 0.2s ease;
}

.legal-intro a:visited,
.legal-card a:visited {
  color: #6cf2fb;
  text-decoration-color: rgba(108, 242, 251, 0.72);
}

.legal-intro a:hover,
.legal-card a:hover {
  color: #96fffa;
  text-decoration-color: rgba(150, 255, 250, 0.9);
  text-shadow: 0 0 10px rgba(108, 242, 251, 0.22);
}

.legal-intro a:focus-visible,
.legal-card a:focus-visible {
  outline: 2px solid rgba(108, 242, 251, 0.84);
  outline-offset: 3px;
  border-radius: 4px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.legal-card {
  padding: 22px 20px;
  border-radius: 20px;
  border-color: rgba(108, 242, 251, 0.18);
  background:
    linear-gradient(150deg, rgba(9, 26, 42, 0.72), rgba(6, 18, 29, 0.58)),
    radial-gradient(circle at 8% 0%, rgba(108, 242, 251, 0.08), rgba(108, 242, 251, 0));
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 12px;
}

.legal-card p,
.legal-card li {
  color: #c8d8e6;
  line-height: 1.72;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 0;
  padding-left: 18px;
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-placeholder {
  color: #a8f0ff;
  font-weight: 700;
}

.legal-update-note {
  margin-top: 8px;
  font-weight: 600;
}

/* ── Shared legal page layout (privacy / cookie-policy) ── */

.legal-content-wrap {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.legal-layout {
  display: grid;
  grid-template-columns: 228px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  padding: 20px 16px;
  border-radius: 20px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 210, 255, 0.25) transparent;
}

.legal-toc-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px 4px;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-toc-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 0.76rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
  line-height: 1.45;
}

.legal-toc-link:hover {
  color: var(--text);
  background: rgba(0, 210, 255, 0.07);
}

.legal-toc-link.is-active {
  color: var(--accent);
  background: rgba(0, 210, 255, 0.11);
  font-weight: 600;
}

.legal-toc-num {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  opacity: 0.48;
  font-family: 'Syne', sans-serif;
}

.legal-body { min-width: 0; }

.legal-section {
  padding: 38px 0;
  border-top: 1px solid rgba(0, 210, 255, 0.11);
  scroll-margin-top: 100px;
}

.legal-section:first-child {
  border-top: none;
  padding-top: 0;
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.legal-num-badge {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.legal-section h2 {
  font-size: clamp(1.1rem, 1.9vw, 1.38rem);
  margin: 0;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

.legal-section p,
.legal-section li {
  color: #c4d6e6;
  line-height: 1.8;
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}

.legal-section ul:last-child { margin-bottom: 0; }

.legal-section li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 0;
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.55);
}

.legal-section li + li { margin-top: 10px; }

.legal-section a {
  color: #6cf2fb;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(108, 242, 251, 0.35);
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration-color 0.18s;
}

.legal-section a:hover {
  color: #96fffa;
  text-decoration-color: rgba(150, 255, 250, 0.85);
}

.legal-section a:focus-visible {
  outline: 2px solid rgba(108, 242, 251, 0.8);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Cookie category chips */
.cookie-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.cookie-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  border: 1px solid;
  letter-spacing: 0.02em;
}

.cookie-cat-chip--required {
  background: rgba(0, 210, 255, 0.09);
  border-color: rgba(0, 210, 255, 0.28);
  color: var(--accent);
}

.cookie-cat-chip--analytics {
  background: rgba(120, 220, 100, 0.08);
  border-color: rgba(120, 220, 100, 0.25);
  color: #88dd66;
}

.cookie-cat-chip--marketing {
  background: rgba(255, 140, 50, 0.09);
  border-color: rgba(255, 140, 50, 0.26);
  color: #ff9a50;
}

.cookie-cat-chip--preferences {
  background: rgba(178, 100, 255, 0.09);
  border-color: rgba(178, 100, 255, 0.26);
  color: #c87aff;
}

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc { display: none; }

  .legal-section { padding: 28px 0; }
}

body.cookie-modal-open {
  overflow: hidden;
}

.cookie-consent-root {
  position: relative;
  z-index: 140;
}

.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 141;
  background: rgba(1, 8, 16, 0.72);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.cookie-backdrop.is-visible {
  opacity: 1;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: var(--cookie-banner-offset, 18px);
  z-index: 140;
  width: min(calc(100% - 36px), 1160px);
  margin: 0 auto;
  padding: 24px 24px 22px;
  border-radius: 22px;
  border-color: rgba(108, 242, 251, 0.22);
  background:
    linear-gradient(145deg, rgba(7, 19, 31, 0.96), rgba(8, 29, 49, 0.92) 42%, rgba(21, 33, 45, 0.9)),
    radial-gradient(circle at 8% 0%, rgba(108, 242, 251, 0.14), rgba(108, 242, 251, 0) 36%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(235, 252, 255, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, bottom 0.24s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner.is-lifted {
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(235, 252, 255, 0.06);
}

.cookie-banner h2,
.cookie-modal h2,
.cookie-modal h3 {
  margin: 0;
}

.cookie-banner-copy {
  min-width: 0;
}

.cookie-banner-copy p,
.cookie-modal-head p,
.cookie-category-copy p,
.cookie-modal-status {
  color: #c6d7e5;
  line-height: 1.66;
}

.cookie-banner-copy p,
.cookie-modal-head p {
  margin: 0 0 12px;
}

.cookie-banner-copy > p:last-child,
.cookie-modal-head > p:last-child {
  margin-bottom: 0;
}

.cookie-banner-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
}

.cookie-banner-links,
.cookie-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.86rem;
}

.cookie-banner-links a,
.cookie-modal-links a {
  color: #dff6ff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(108, 242, 251, 0.36);
}

.cookie-banner-links a:hover,
.cookie-modal-links a:hover {
  color: #6cf2fb;
  border-color: rgba(108, 242, 251, 0.78);
}

.cookie-link-note {
  color: #9fb5c8;
}

.cookie-link-separator {
  color: rgba(159, 181, 200, 0.75);
}

.cookie-banner-actions,
.cookie-modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.cookie-banner-actions .btn,
.cookie-modal-actions .btn,
.cookie-secondary-btn {
  min-height: 44px;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.cookie-banner-actions {
  align-self: stretch;
  align-content: center;
}

.cookie-secondary-btn {
  border: 1px solid rgba(108, 242, 251, 0.26);
  border-radius: 12px;
  background: rgba(6, 26, 42, 0.56);
  color: #e3f4ff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 11px 16px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cookie-secondary-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 242, 251, 0.66);
  background: rgba(8, 34, 55, 0.84);
}

.cookie-secondary-btn:focus-visible,
.cookie-modal-close:focus-visible,
.cookie-switch input:focus-visible + .cookie-switch-track,
.footer-legal a[data-open-cookie-preferences]:focus-visible {
  outline: 2px solid rgba(108, 242, 251, 0.84);
  outline-offset: 3px;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 142;
  width: min(calc(100% - 32px), 760px);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  scrollbar-gutter: stable;
  transform: translate(-50%, -46%);
  padding: 26px 24px 22px;
  border-radius: 24px;
  border-color: rgba(108, 242, 251, 0.22);
  background:
    linear-gradient(145deg, rgba(7, 19, 31, 0.98), rgba(8, 29, 49, 0.94) 42%, rgba(21, 33, 45, 0.92)),
    radial-gradient(circle at 8% 0%, rgba(108, 242, 251, 0.12), rgba(108, 242, 251, 0) 34%);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(235, 252, 255, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-modal.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 20, 34, 0.74);
  color: #f1f9ff;
  font-size: 1.55rem;
  cursor: pointer;
}

.cookie-modal-head {
  padding-right: 44px;
}

.cookie-modal-head h2 {
  margin-top: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.cookie-modal-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.cookie-category-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.cookie-category-card {
  border: 1px solid rgba(108, 242, 251, 0.16);
  border-radius: 18px;
  padding: 16px 16px 14px;
  background:
    linear-gradient(150deg, rgba(7, 24, 39, 0.72), rgba(7, 18, 29, 0.56)),
    radial-gradient(circle at 10% 0%, rgba(108, 242, 251, 0.08), rgba(108, 242, 251, 0));
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-category-copy {
  min-width: 0;
}

.cookie-category-copy h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.cookie-category-copy p {
  margin: 0;
  font-size: 0.92rem;
}

.cookie-category-control {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-category-control-locked {
  color: #b4c7d8;
}

.cookie-toggle-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cookie-switch-track {
  width: 56px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(108, 242, 251, 0.24);
  background: rgba(7, 19, 31, 0.78);
  display: inline-flex;
  align-items: center;
  padding: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-switch-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef8ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch-track {
  background: linear-gradient(120deg, rgba(0, 210, 255, 0.96), rgba(150, 255, 250, 0.88));
  border-color: rgba(108, 242, 251, 0.74);
}

.cookie-switch input:checked + .cookie-switch-track .cookie-switch-thumb {
  transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-switch-track {
  opacity: 0.92;
  cursor: not-allowed;
  background: linear-gradient(120deg, rgba(0, 210, 255, 0.82), rgba(150, 255, 250, 0.78));
  border-color: rgba(108, 242, 251, 0.58);
}

.cookie-modal-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 0.86rem;
}

.footer-legal a[data-open-cookie-preferences] {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  margin-top: 4px;
  border: 1px solid rgba(108, 242, 251, 0.22);
  border-radius: 12px;
  background: rgba(7, 24, 39, 0.54);
  color: #dff6ff;
  font-weight: 700;
}

.footer-legal a[data-open-cookie-preferences]:hover {
  color: #6cf2fb;
  transform: translateY(-1px);
  text-shadow: 0 0 8px rgba(108, 242, 251, 0.44);
  border-color: rgba(108, 242, 251, 0.62);
  background: rgba(8, 34, 55, 0.76);
}

.services-intro {
  min-height: 52svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 124px;
  padding-bottom: 44px;
}

.services-intro-copy {
  width: min(100%, 980px);
  margin: 0 auto;
}

.services-intro h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4.8vw, 4rem);
  max-width: 20ch;
}

.services-cards-section {
  padding-top: 20px;
  padding-bottom: 26px;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  margin-top: -26px;
  margin-bottom: 26px;
}

.services-service-link {
  color: inherit;
  align-self: start;
}

.services-service-card {
  border-radius: 18px;
  padding: 20px 18px 18px;
  height: auto;
  display: flex;
  flex-direction: column;
  border-color: rgba(108, 242, 251, 0.18);
  background:
    linear-gradient(145deg, rgba(8, 22, 38, 0.82), rgba(6, 16, 28, 0.72)),
    linear-gradient(180deg, rgba(108, 242, 251, 0.04), rgba(108, 242, 251, 0));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.liquid-glass-card {
  --glass-x: 50%;
  --glass-y: 22%;
  --glass-tilt-x: 0deg;
  --glass-tilt-y: 0deg;
  --glass-lift: 0px;
  --glass-glow: 0.46;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(232, 245, 255, 0.34);
  background:
    linear-gradient(148deg, rgba(238, 248, 255, 0.1), rgba(186, 218, 244, 0.06) 42%, rgba(10, 24, 40, 0.24)),
    linear-gradient(145deg, rgba(8, 22, 38, 0.74), rgba(6, 16, 28, 0.62));
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(248, 253, 255, 0.48),
    inset 0 -12px 22px rgba(6, 22, 35, 0.28);
  transform: perspective(1200px) translateY(var(--glass-lift)) rotateX(var(--glass-tilt-x)) rotateY(var(--glass-tilt-y));
  transition:
    transform 0.3s cubic-bezier(0.22, 0.9, 0.25, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.liquid-glass-card::before {
  content: "";
  position: absolute;
  inset: -34% -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--glass-x) var(--glass-y),
      rgba(255, 255, 255, 0.26) 0%,
      rgba(230, 246, 255, 0.14) 18%,
      rgba(177, 226, 255, 0.06) 34%,
      rgba(177, 226, 255, 0) 52%
    ),
    radial-gradient(
      circle at calc(var(--glass-x) - 28%) calc(var(--glass-y) + 18%),
      rgba(0, 0, 0, 0.24),
      rgba(0, 0, 0, 0) 44%
    );
  opacity: var(--glass-glow);
  transition: opacity 0.28s ease;
}

.liquid-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(250, 254, 255, 0.16), rgba(250, 254, 255, 0.04) 30%, rgba(250, 254, 255, 0)),
    linear-gradient(95deg, rgba(127, 219, 255, 0.1), rgba(255, 201, 238, 0.03) 52%, rgba(127, 219, 255, 0.1));
  mix-blend-mode: screen;
  opacity: 0.42;
}

.liquid-glass-card > * {
  position: relative;
  z-index: 1;
}

.liquid-glass-card h2,
.liquid-glass-card p,
.liquid-glass-card li,
.liquid-glass-card .services-card-btn {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

.services-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.services-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(108, 242, 251, 0.32);
  background: linear-gradient(150deg, rgba(108, 242, 251, 0.14), rgba(6, 30, 51, 0.32));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.services-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #b8f7ff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(108, 242, 251, 0.34);
  background: rgba(10, 33, 53, 0.62);
  color: #bfefff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.services-service-card h2 {
  font-size: clamp(1.3rem, 3vw, 1.62rem);
  margin-bottom: 10px;
}

.services-service-card p {
  margin: 0 0 16px;
  color: #c2cfdc;
  line-height: 1.6;
}

.services-mini-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
}

.services-mini-features li {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(108, 242, 251, 0.25);
  background: rgba(6, 18, 31, 0.54);
  color: #cde7f6;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.services-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(108, 242, 251, 0.34);
  background: rgba(6, 30, 51, 0.52);
  color: #dff6ff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  margin-top: auto;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.services-service-link:hover .services-service-card {
  border-color: rgba(108, 242, 251, 0.52);
  box-shadow: 0 14px 32px rgba(2, 8, 16, 0.38);
}

.services-service-link:hover .services-service-card:not(.liquid-glass-card) {
  transform: translateY(-3px);
}

.services-service-link:hover .liquid-glass-card {
  --glass-lift: -3px;
  border-color: rgba(237, 248, 255, 0.56);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(247, 253, 255, 0.55),
    inset 0 -12px 22px rgba(6, 22, 35, 0.25),
    0 0 26px rgba(200, 236, 255, 0.2);
}

.services-service-link:hover .services-card-icon {
  border-color: rgba(108, 242, 251, 0.58);
  box-shadow: 0 0 14px rgba(108, 242, 251, 0.22);
}

.services-service-link:hover .services-card-btn {
  transform: translateY(-1px);
  border-color: rgba(108, 242, 251, 0.68);
  background: rgba(8, 36, 60, 0.68);
  box-shadow: 0 0 16px rgba(108, 242, 251, 0.24);
}

.services-card-toggle:focus-visible {
  outline: 2px solid rgba(108, 242, 251, 0.9);
  outline-offset: 2px;
  border-color: rgba(108, 242, 251, 0.9);
  box-shadow: 0 0 0 4px rgba(108, 242, 251, 0.18), 0 0 16px rgba(108, 242, 251, 0.24);
}

.services-service-card.is-open {
  border-color: rgba(108, 242, 251, 0.58);
  box-shadow: 0 16px 32px rgba(2, 8, 16, 0.4);
}

.services-card-detail {
  margin-top: 0;
  padding: 14px 14px 13px;
  border-radius: 14px;
  border: 1px solid rgba(108, 242, 251, 0.18);
  background:
    linear-gradient(165deg, rgba(6, 16, 28, 0.88), rgba(7, 23, 39, 0.76)),
    radial-gradient(circle at 12% 10%, rgba(108, 242, 251, 0.12), rgba(108, 242, 251, 0));
  display: grid;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 560ms cubic-bezier(0.22, 0.9, 0.25, 1),
    opacity 320ms ease,
    transform 560ms cubic-bezier(0.22, 0.9, 0.25, 1),
    margin-top 560ms cubic-bezier(0.22, 0.9, 0.25, 1);
}

.services-card-detail[hidden] {
  display: none !important;
}

.services-card-detail.is-open {
  margin-top: 14px;
  opacity: 1;
  transform: translateY(0);
}

.services-card-detail p {
  margin: 0;
  color: #c8d6e4;
  line-height: 1.58;
  font-size: 0.92rem;
}

.services-card-detail-ideal {
  color: #d7f4ff;
}

.services-card-detail-ideal strong {
  color: #9fefff;
}

.services-why {
  padding-top: 18px;
  padding-bottom: 92px;
}

.services-why-box {
  position: relative;
  border-radius: 22px;
  padding: 28px 24px 24px;
  border-color: rgba(108, 242, 251, 0.24);
  overflow: hidden;
  background:
    linear-gradient(156deg, rgba(9, 28, 45, 0.9), rgba(4, 13, 23, 0.82)),
    radial-gradient(circle at 14% -20%, rgba(108, 242, 251, 0.2), rgba(108, 242, 251, 0));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(207, 248, 255, 0.08);
}

.services-why-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(108, 242, 251, 0.95), rgba(108, 242, 251, 0));
  opacity: 0.9;
  pointer-events: none;
}

.services-why-box h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: #eff8ff;
  text-wrap: balance;
}

.services-benefits-list {
  list-style: none;
  counter-reset: why-points;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.services-benefits-list li {
  counter-increment: why-points;
  position: relative;
  min-height: 56px;
  padding: 12px 14px 12px 56px;
  border-radius: 14px;
  border: 1px solid rgba(108, 242, 251, 0.18);
  background:
    linear-gradient(145deg, rgba(8, 24, 40, 0.72), rgba(5, 15, 26, 0.64)),
    radial-gradient(circle at 0% 0%, rgba(108, 242, 251, 0.08), rgba(108, 242, 251, 0));
  color: #d7e5f2;
  line-height: 1.45;
  font-weight: 500;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.services-benefits-list li::before {
  content: "0" counter(why-points);
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #b7f4ff;
  border: 1px solid rgba(108, 242, 251, 0.34);
  background: rgba(7, 28, 46, 0.7);
}

.services-benefits-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 242, 251, 0.34);
}

@media (min-width: 760px) {
  .services-why-box {
    padding: 34px 30px 30px;
  }

  .services-benefits-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .services-benefits-list li:last-child {
    grid-column: 1 / -1;
  }
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-reveal [data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1100px) {
  .dome-gallery-shell {
    width: min(64vw, 760px);
    height: min(52svh, 520px);
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
    padding-top: 30px;
  }
}

@media (min-width: 760px) {
  .services-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: -40px;
    margin-bottom: 40px;
  }

  .services-intro {
    min-height: 56svh;
    padding-bottom: 54px;
  }
}

@media (max-width: 680px) {
  .dome-gallery-shell {
    width: 92vw;
    height: min(56svh, 500px);
    min-height: 300px;
  }
}

@media (max-width: 420px) {
  .dome-gallery-shell {
    min-height: 390px;
  }

  .section {
    padding: 62px 0;
  }
}

@media (max-width: 520px) {
  .brand-text strong {
    font-size: 1.58rem;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }
}

.video-bg {
  transform: translateZ(0) scale(1.09); /* leggero zoom per tagliare il watermark Veo in basso a destra */
}

.aurora-bg-canvas {
  transform: translateZ(0);
}

/* ── Footer nav ── */
.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0 0;
}

.footer-nav a {
  color: #7a90a6;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #6cf2fb;
}

/* ── Inline section links ── */
#servizi .section-head p a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

#servizi .section-head p a:hover {
  color: #6cf2fb;
}
