﻿@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600;700;800&display=swap");

/* ============================================================
   Y2K Digital - Premium editorial restyle
   Layer non distruttivo caricato dopo assets/style.css.
   ============================================================ */
:root {
  --bg: #fdfaf3;
  --bg-soft: #faf6ee;
  --bg-card: #fdfaf3;
  --text: #0e1d2a;
  --muted: #556370;
  --muted-dim: #73808b;
  --line: rgba(14, 29, 42, 0.12);
  --line-strong: rgba(14, 29, 42, 0.22);
  --copper: #b8924a;
  --copper-light: #d4b06b;
  --copper-deep: #8c6b2f;
  --cream: #f5efe4;
  --ink: #0e1d2a;
  --ink-2: #12384f;
  --ink-3: #274b65;
  --metal: linear-gradient(110deg, #8c6b2f, #d4b06b, #b8924a, #f1dca3, #7b5d2d);
  --radius: 0;
  --radius-sm: 0;
  --maxw: 1200px;
}

* {
  letter-spacing: 0;
}

html {
  background: var(--bg);
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.66;
  overflow-x: hidden;
}

body::before {
  display: none;
}

body,
.nav,
.hero,
section,
.footer {
  position: relative;
}

img {
  border-radius: 0;
}

.container {
  max-width: var(--maxw);
  padding: 0 clamp(20px, 5vw, 64px);
}

.display,
.brand,
.hero h1,
.sec-head h2,
.about-grid h2,
.card h3,
.srv h3,
.value h4,
.cta-banner h2,
.form-card h3,
.contact-info h3,
.stat .n,
.step .sn,
.media-band-inner h2,
.photo-showcase h2,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif !important;
  font-weight: 400 !important;
  line-height: 1.05;
}

.metal-text,
.brand .y2k,
.stat .n {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--copper-light) !important;
  animation: none !important;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(26px, 4vw, 76px);
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--cream);
  background: linear-gradient(90deg, rgba(14, 29, 42, 0.78), rgba(14, 29, 42, 0.56));
  border-bottom: 1px solid rgba(245, 239, 228, 0.16);
  backdrop-filter: blur(14px);
}

.nav.scrolled {
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(14, 29, 42, 0.9);
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: clamp(210px, 18vw, 290px);
  color: var(--cream);
  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 400 !important;
  letter-spacing: 0;
}

.brand::after {
  content: "Strategic Digital Partner";
  display: block;
  margin-left: 8px;
  color: rgba(245, 239, 228, 0.68);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(-1px);
}

.brand .dot {
  display: none;
}

.brand .y2k {
  color: var(--cream) !important;
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  margin-left: auto;
}

.nav__switch--desktop {
  min-width: auto;
  margin-left: clamp(10px, 2vw, 34px);
}

.nav-links a {
  color: rgba(245, 239, 228, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--copper-light);
}

.nav-links a::after {
  bottom: -8px;
  height: 1px;
  background: var(--copper-light);
}

.nav__switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(245, 239, 228, 0.28);
  border-radius: 10px;
  background: rgba(245, 239, 228, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.nav__switch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 17px;
  border-radius: 7px;
  color: rgba(245, 239, 228, 0.78);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__switch-item span {
  margin-left: 5px;
  font-size: 12px;
  line-height: 1;
}

.nav__switch .nav__switch-item::after {
  display: none !important;
}

.nav__switch-item:hover {
  background: rgba(245, 239, 228, 0.1);
  color: var(--cream);
}

.nav__switch-item--active,
.nav__switch-item--active:hover {
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: var(--cream);
  box-shadow: 0 12px 28px rgba(184, 146, 74, 0.22);
}

.nav__switch-mobile {
  display: none;
}

.nav-cta,
.btn-primary {
  border-radius: 0 !important;
  background: var(--copper) !important;
  color: var(--cream) !important;
  box-shadow: none !important;
  animation: none !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--copper-light) !important;
  color: var(--ink) !important;
  transform: translateY(-2px);
}

.btn {
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 0 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn-ghost {
  border-color: rgba(245, 239, 228, 0.52);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--copper-light);
  color: var(--copper-light);
}

.btn-wa {
  background: #25d366 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}

.hero {
  min-height: 86vh;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: left;
  padding: 124px clamp(20px, 5vw, 64px) clamp(72px, 10vw, 124px);
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(14, 29, 42, 0.94), rgba(18, 56, 79, 0.68), rgba(14, 29, 42, 0.26)),
    radial-gradient(circle at 78% 20%, rgba(212, 176, 107, 0.24), transparent 34%),
    linear-gradient(135deg, #12384f 0%, #274b65 46%, #0e1d2a 100%) !important;
}

.hero.inner {
  min-height: 66vh;
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(14, 29, 42, 0.78), transparent);
  pointer-events: none;
}

.hero > .container {
  max-width: 1200px;
  width: 100%;
  z-index: 3;
}

canvas#net {
  opacity: 0.42;
  filter: sepia(0.25) hue-rotate(342deg) saturate(0.8) brightness(1.08);
}

.hero-glow {
  background: none !important;
}

.badge {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 22px;
  padding: 0;
  color: var(--copper-light);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge::before,
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.badge .pulse {
  display: none;
}

.hero h1 {
  max-width: 14ch;
  margin: 0 0 26px;
  color: var(--cream);
  font-size: clamp(52px, 8vw, 104px);
  letter-spacing: 0;
}

.hero .lead {
  max-width: 64ch;
  margin: 0 0 34px;
  color: rgba(245, 239, 228, 0.86);
  font-size: clamp(16px, 1.4vw, 19px);
}

.hero .cta-row {
  justify-content: flex-start;
}

.scroll-cue {
  display: none;
}

.sec {
  padding: clamp(72px, 10vw, 118px) 0;
  background: var(--bg);
}

.sec[style*="background:var(--bg-soft)"] {
  background: var(--bg-soft) !important;
}

.sec-head {
  max-width: 800px;
  margin: 0 auto clamp(40px, 6vw, 68px);
  text-align: left;
}

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

.sec-head h2,
.about-grid h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0;
}

.sec-head p,
.about-grid p,
.card p,
.srv p,
.step p,
.value p,
.cta-banner p,
.contact-info p,
.form-card .hint {
  color: var(--muted);
}

.grid,
.grid-3,
.grid-2,
.values,
.steps {
  gap: 0 !important;
}

.grid-3,
.values {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid,
.grid-3,
.grid-2,
.values {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card,
.value,
.step,
.srv,
.form-card,
.info-item {
  background: var(--bg-card) !important;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
  box-shadow: none !important;
}

.card,
.value,
.step {
  min-height: 250px;
  padding: clamp(30px, 4vw, 46px);
}

.card:hover,
.value:hover,
.step:hover,
.srv:hover,
.form-card:hover,
.info-item:hover {
  background: var(--bg-soft) !important;
  transform: none;
  box-shadow: none !important;
}

.card::before {
  display: none;
}

.card .ico,
.srv .big-ico,
.value .ico,
.info-item .ico {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: var(--copper);
  background: transparent !important;
  border: 1px solid var(--line);
  border-radius: 0 !important;
}

.card h3,
.srv h3,
.value h4 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 33px);
  letter-spacing: 0;
}

.card .more,
.foot-col h5,
.srv .num,
.card__num {
  color: var(--copper);
}

.srv {
  grid-template-columns: 92px 1fr;
  gap: 28px;
  padding: clamp(30px, 4vw, 46px);
  margin-bottom: 0;
}

.srv + .srv {
  border-top: 0;
}

.srv ul li,
.area-tags span {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-soft);
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  padding: clamp(26px, 4vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat .n {
  color: var(--copper) !important;
  font-size: clamp(32px, 4vw, 52px);
}

.stat .l {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.step .sn {
  color: var(--copper);
  opacity: 1;
}

.step h4 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-grid,
.contact-grid {
  gap: clamp(44px, 7vw, 90px);
}

.about-visual,
.visual-frame,
.photo-visual,
.photo-panel {
  background: var(--bg-soft) !important;
  border: 1px solid var(--line);
  border-radius: 0 !important;
  box-shadow: none !important;
}

.about-grid:has(.photo-visual--full),
.about-grid--photo-full {
  grid-template-columns: 1fr !important;
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
}

.about-grid:has(.photo-visual--full) > .reveal:not(.photo-visual--full),
.about-grid--photo-full > .reveal:not(.photo-visual--full) {
  max-width: 920px;
}

.photo-visual--full {
  grid-column: 1 / -1 !important;
  width: 100vw !important;
  max-width: none !important;
  height: clamp(720px, 94svh, 980px) !important;
  min-height: 720px;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden;
  padding: 0 !important;
}

.photo-visual--full img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover !important;
  object-position: center;
}

.before-after-sec .sec-head {
  max-width: 860px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.before-after-card {
  position: relative;
  margin: 0;
  background: var(--bg) !important;
  border: 1px solid var(--line);
  overflow: hidden;
}

.before-after-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.before-after-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 10px 16px;
  background: rgba(14, 29, 42, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.before-after-label--after {
  background: var(--copper);
  color: var(--ink);
}

.before-after-card figcaption {
  min-height: 92px;
  padding: 18px 20px 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.before-after-open {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.before-after-open:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.before-after-label {
  pointer-events: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 38px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 10, 16, 0.86);
  cursor: zoom-out;
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1500px);
  max-height: 92vh;
  padding: clamp(12px, 2vw, 18px);
  background: #07121a;
  border: 1px solid rgba(245, 239, 228, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.image-lightbox__dialog img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #050b10;
}

.image-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 239, 228, 0.28);
  background: rgba(7, 18, 26, 0.88);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox__close:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.image-lightbox__title {
  margin: 0 52px 12px 0;
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.2;
}

body.lightbox-open {
  overflow: hidden;
}

.photo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-soft) !important;
  border: 1px solid var(--line);
  border-radius: 0 !important;
  box-shadow: none;
}

.photo-showcase h2 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 62px);
}

.photo-showcase p {
  color: var(--muted);
}

.photo-tile,
.media-band {
  border-radius: 0 !important;
}

.media-band {
  border: 1px solid var(--line);
  min-height: 340px;
}

.media-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 29, 42, 0.78), rgba(14, 29, 42, 0.34));
  pointer-events: none;
}

.media-band-inner {
  position: relative;
  z-index: 1;
}

.cta-banner {
  padding: clamp(46px, 7vw, 72px) clamp(24px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(14, 29, 42, 0.94), rgba(18, 56, 79, 0.82)),
    var(--ink) !important;
  border: 0;
  border-radius: 0 !important;
  color: var(--cream);
}

.cta-banner::before {
  display: none;
}

.cta-banner h2 {
  color: var(--cream);
}

.cta-banner p {
  color: rgba(245, 239, 228, 0.78);
}

.cta-banner .cta-row {
  align-items: center !important;
}

.cta-banner .btn {
  width: 220px !important;
  min-height: 54px !important;
  padding: 0 18px !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.contact-info h3,
.form-card h3 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
}

.info-item {
  margin-bottom: 0;
  padding: 20px 0;
  border-right: 0;
  border-left: 0;
  border-top: 0;
}

.info-item .t,
.field label {
  color: var(--copper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-item .v {
  color: var(--ink);
  font-family: "Cormorant Garamond", Garamond, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.form-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
}

.field input,
.field select,
.field textarea {
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  box-shadow: none;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0;
}

.faq summary {
  color: var(--ink);
}

.faq summary::after {
  color: var(--copper);
}

.faq details p {
  color: var(--muted);
}

.footer {
  margin-top: 0;
  padding: 60px 0 30px;
  background: #0a1722 !important;
  color: var(--cream);
  border-top: 0;
}

.footer .brand::after {
  display: none;
}

.foot-grid {
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(245, 239, 228, 0.12);
}

.foot-brand p,
.foot-col a,
.foot-bottom {
  color: rgba(245, 239, 228, 0.72);
}

.foot-col h5 {
  color: var(--copper-light);
}

.foot-col a:hover {
  color: var(--copper-light);
}

.wa-float {
  border-radius: 0;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.25);
  animation: none;
}

.wa-float .tip,
.toast {
  border-radius: 0;
  background: var(--ink);
  border-color: rgba(245, 239, 228, 0.18);
}

/* Promozioni e blocchi commerciali eventuali */
.promo-card,
.price-card,
.package-card,
.plan-card,
.offer-card,
.landing-card,
.feature-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .nav,
  .nav.scrolled {
    padding-inline: clamp(16px, 3vw, 40px);
  }

  .brand {
    font-size: clamp(23px, 2.2vw, 30px);
  }

  .nav-links {
    gap: clamp(12px, 2vw, 22px);
  }

  .brand,
  .nav__switch--desktop {
    min-width: auto;
  }

  .nav__switch--desktop {
    margin-left: 0;
  }

  .nav-links a,
  .nav__switch-item,
  .nav-cta {
    font-size: 10px;
  }

  .nav__switch-item {
    padding-inline: 12px;
  }

  .nav-cta {
    padding-inline: 12px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 980px) {
  .grid-3,
  .values,
  .steps,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-showcase {
    grid-template-columns: 1fr;
  }

  .brand::after {
    display: none;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav,
  .nav.scrolled {
    padding: 14px 22px;
  }

  .nav-links {
    left: auto !important;
    right: 0 !important;
    width: min(82vw, 320px) !important;
    margin-left: 0;
    background: rgba(14, 29, 42, 0.98);
  }

  .nav__switch--desktop {
    display: none;
  }

  .nav-links:not(.open) {
    display: none !important;
    transform: none !important;
  }

  .nav-links.open {
    display: flex !important;
    transform: none !important;
  }

  .nav__switch-mobile {
    display: block;
    width: 100%;
    padding-top: 12px;
  }

  .nav-links .nav__switch {
    display: flex;
    width: 100%;
  }

  .nav-links .nav__switch-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 42px;
    padding: 0 12px;
  }

  .hero {
    min-height: 78vh;
    padding: 116px 20px 72px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .hero .cta-row,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .cta-row .btn,
  .cta-row .btn {
    width: 100%;
  }

  .grid-3,
  .grid-2,
  .values,
  .steps,
  .stats,
  .foot-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .photo-visual--full {
    height: clamp(420px, 78svh, 640px) !important;
    min-height: 420px;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .before-after-card figcaption {
    min-height: auto;
  }

  .image-lightbox {
    padding: 10px;
  }

  .image-lightbox__dialog {
    width: 100%;
  }

  .image-lightbox__dialog img {
    max-height: 74vh;
  }

  .cta-banner .btn {
    width: 100% !important;
  }
}

/* ---------- IMMERSIVE FULL-WIDTH PHOTO SECTIONS ---------- */
.immersive-photo-sec {
  padding: 0 !important;
  background: var(--bg);
  overflow: hidden;
}

.immersive-photo {
  position: relative;
  width: 100vw;
  min-height: clamp(620px, 86svh, 980px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.immersive-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--focus, center);
  transform: scale(1.012);
}

.immersive-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 29, 42, 0.82), rgba(14, 29, 42, 0.42) 46%, rgba(14, 29, 42, 0.12)),
    linear-gradient(0deg, rgba(14, 29, 42, 0.68), transparent 34%, rgba(14, 29, 42, 0.28));
  pointer-events: none;
}

.immersive-photo__caption {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 7vw, 110px);
  bottom: clamp(34px, 8vw, 96px);
  max-width: min(680px, calc(100vw - 48px));
  color: var(--cream);
}

.immersive-photo__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--copper-light);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.immersive-photo__kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.immersive-photo__caption h2 {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--cream);
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.98;
}

.immersive-photo__caption p {
  max-width: 600px;
  color: rgba(245, 239, 228, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .immersive-photo {
    min-height: 68svh;
  }

  .immersive-photo::after {
    background:
      linear-gradient(0deg, rgba(14, 29, 42, 0.86), rgba(14, 29, 42, 0.28) 70%, rgba(14, 29, 42, 0.28));
  }

  .immersive-photo__caption {
    left: 22px;
    right: 22px;
    bottom: 32px;
  }

  .immersive-photo__caption h2 {
    font-size: clamp(34px, 13vw, 56px);
  }
}

/* === Foto hero a tutto schermo (Y2K Digital) === */
.hero.hero--photo{
  background-image:
    linear-gradient(90deg, rgba(14,29,42,.92), rgba(18,56,79,.55) 45%, rgba(14,29,42,.30)),
    var(--hero-photo),
    linear-gradient(135deg,#12384f 0%,#0e1d2a 100%) !important;
  background-size: cover, cover, cover !important;
  background-position: center, var(--hero-focus, center center), center !important;
  background-repeat: no-repeat !important;
}
.hero.hero--photo canvas,
.hero.hero--photo .hero-glow{ display:none !important; }
/* === fine blocco foto hero === */
/* Force photographic heroes to occupy the full viewport. */
.hero.hero--photo,
.hero.hero--short.hero--photo,
.hero.inner.hero--photo {
  min-height: 100vh !important;
  min-height: 100svh !important;
}

