/* ============================================================
   Aton De Rosa — Architettura Diversa
   ============================================================ */

:root {
  --bg:        #0a0a0b;
  --bg-2:      #101012;
  --surface:   #141416;
  --text:      #f3f2ef;
  --muted:     #9a9a9e;
  --muted-2:   #7c7c80;
  --accent:    #ff4a17;
  --accent-2:  #ff6a3d;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.18);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;

  /* Hero panel: a WHITE padded card that frames a rounded photo + a rounded
     buttons pill, both floating in the white with a gap between them. */
  --panel-pad:    clamp(11px, 1.15vw, 17px);  /* white framing thickness */
  --panel-gap:    clamp(9px, 0.95vw, 15px);   /* white gap photo <-> buttons */
  --radius-panel: clamp(40px, 4.2vw, 58px);   /* very-rounded outer corners */
  --radius-photo: clamp(28px, 3vw, 42px);     /* rounded photo corners */
  --ticker-h:     clamp(56px, 5.6vw, 78px);   /* buttons pill height */

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --pad: clamp(18px, 4vw, 88px);
  --maxw: 100%;

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-ui: "Space Grotesk", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* Keyboard focus visibility */
a:focus-visible,
button:focus-visible,
.svc-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Hide scrollbar visual noise but keep function */
body::-webkit-scrollbar { width: 0; height: 0; }

/* ============================================================
   Shared type
   ============================================================ */
.section-title,
.hero__title,
.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
}

/* line-mask reveal wrapper. Default state = VISIBLE (JS sets hidden). */
.line { display: block; overflow: hidden; }
.line__inner { display: block; will-change: transform; }

/* Split-text primitives (created by JS from plain text → visible if JS fails).
   Per-glyph/word vertical masks for premium "reveal" motion. */
.char, .word { display: inline-block; padding-bottom: .06em; margin-bottom: -.06em; }
.char { overflow: hidden; }
.char__i, .word__i { display: inline-block; will-change: transform; }
/* headings that slide in horizontally must not be clipped by the line mask */
.section-title .line, .contact__title .line { overflow: visible; }

/* generic fade / slide elements are visible by default; JS animates them */
[data-fade], [data-slide] { will-change: transform, opacity; }

/* ============================================================
   Buttons — orange pill
   ============================================================ */
.btn-pill {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 8px 0 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
}
.btn-pill::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: #1a1a1c;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn-pill:hover::before { transform: translateY(0); }
.btn-pill__text { white-space: nowrap; transition: color .4s var(--ease); }
.btn-pill__icon {
  display: grid; place-items: center;
  width: calc(var(--h) - 14px); height: calc(var(--h) - 14px);
  background: #0f0f10; border-radius: 999px; color: #fff;
  transition: transform .5s var(--ease), background .4s var(--ease);
}
.btn-pill__icon svg { width: 18px; height: 18px; }
.btn-pill:hover .btn-pill__icon { transform: rotate(45deg); background: var(--accent); }
.btn-pill--lg {
  --h: 72px;
  font-size: .82rem; padding-left: 32px; gap: 18px;
}

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.loader__inner {
  display: flex; align-items: baseline; gap: 28px;
}
.loader__logo {
  font-family: var(--font-ui); font-weight: 700; font-size: clamp(2rem, 7vw, 4.5rem);
  letter-spacing: -.03em;
}
.loader__logo span { color: var(--accent); }
.loader__logo img { height: clamp(66px, 15vw, 140px); width: auto; display: block; }
.loader__count {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 7vw, 4.5rem); color: var(--muted-2);
}
.loader__count i { font-style: normal; font-size: .5em; }
.loader__bar {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: rgba(255,255,255,.06);
}
.loader__bar span { display: block; height: 100%; width: 0%; background: var(--accent); }
.loader.is-done { pointer-events: none; }

/* ============================================================
   Custom cursor
   ============================================================ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: difference;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.cursor.is-hover { width: 64px; height: 64px; background: #fff; }
.cursor__label { display: none; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 22px var(--pad);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav__group { display: flex; gap: 40px; }
.nav__group--right { justify-content: flex-end; }
.nav__group a, .nav__logo {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--text); position: relative;
}
.nav__group a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .4s var(--ease);
}
.nav__group a:hover::after { width: 100%; }
.nav__logo {
  font-family: var(--font-ui); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em;
  text-transform: none; justify-self: center;
}
.nav__logo span { color: var(--accent); }
.nav__logo img { height: clamp(40px, 4.6vw, 58px); width: auto; display: block; }
.nav__burger { display: none; position: relative; z-index: 101; }

/* Mobile overlay menu */
.nav__overlay {
  position: fixed; inset: 0; z-index: 95;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-100%);
  transition: transform .65s var(--ease);
  visibility: hidden;
}
.nav__overlay.is-open { transform: translateY(0); visibility: visible; }
.nav__overlay ul { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.nav__overlay a {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; line-height: 1.1; letter-spacing: -.01em;
  font-size: clamp(2.2rem, 13vw, 4.5rem); color: var(--text);
  transition: color .3s var(--ease);
}
.nav__overlay a:hover { color: var(--accent); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; isolation: isolate;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(116px, 15vh, 210px) var(--pad) clamp(30px, 5vh, 70px);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.hero__head {
  position: relative; z-index: 2;
}
.hero__title {
  font-size: clamp(3rem, 10.7vw, 13rem);
  color: #d7d7d5;
  pointer-events: none;
  width: 100%;
}
.hero__aside {
  position: absolute; top: 10px; right: 0; z-index: 4;
  display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 48px);
}
.hero__tag {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  line-height: 1.5; text-align: right; white-space: nowrap;
}
.hero__cta { display: flex; align-items: center; gap: 16px; }
.hero__cta-vert {
  writing-mode: vertical-rl;
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}

/* Media = the white PANEL (photo + buttons band, one border) + un-clipped
   building cut-out. .hero__media has NO z-index so its children bubble into the
   hero's stacking context: panel(1) < title(2) < building(3) → the heading
   passes BEHIND the building. */
.hero__media {
  position: relative;
  /* Positive gap pushes the panel (and the building with it) DOWN, away from the
     title — so the heading "sits higher" and the letters stay readable while the
     building still bursts up out of the frame into them. */
  margin-top: clamp(10px, 2.4vw, 46px);
}

/* THE panel: a GLOWING WHITE padded card. Its white background IS the frame;
   the rounded photo + rounded buttons pill float inside it with a gap between.
   The building is a sibling (not a child) so it still breaks out over the heading.
   The intro wipes this white open horizontally so it "covers" the black margin. */
.hero__panel {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: var(--panel-gap);
  padding: var(--panel-pad);
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow: 0 0 32px rgba(255,255,255,.32), 0 0 6px rgba(255,255,255,.6), 0 48px 120px -46px rgba(0,0,0,.95);
  will-change: transform;
}

/* Photo frame: a rounded card (all corners) floating in the white panel. */
.hero__frame {
  position: relative; z-index: 1;
  aspect-ratio: 16 / 8.4;
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: #0c0e11;
}
.hero__bg-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
  filter: brightness(.74) saturate(1.02);
  transform-origin: 50% 50%;
  will-change: transform; /* gentle scroll zoom set in main.js */
}
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(8,8,10,.72) 0%, rgba(8,8,10,.12) 46%, rgba(8,8,10,.42) 100%);
}
.hero__glow {
  position: absolute; z-index: 2; left: 50%; bottom: 2%;
  width: 82%; height: 90%; transform: translateX(-50%);
  background: radial-gradient(50% 52% at 50% 56%, rgba(255,130,55,.34), rgba(255,74,23,.12) 44%, transparent 70%);
  pointer-events: none; filter: blur(6px);
}

/* Building cut-out: sits on the PHOTO floor (above the buttons pill), breaks out
   of the panel top, settles into the scene on scroll. */
.hero__building {
  position: absolute; z-index: 3;
  left: 50%;
  /* The plaza's front edge must TOUCH the photo frame's bottom margin — the circular
     base sits right on the "line di fine foto", not floating above it and not spilling
     past it (client: "il bordo del palazzo deve toccare proprio il margine"). The PNG
     has ~2% empty space below the plaza (0.0205 of its height); the box is
     --bld-factor × the frame height, so that lip = --bld-factor × 0.0205 of the frame
     height. We drop the box below the frame's bottom edge by exactly that fraction =>
     the lowest opaque pixel (plaza front) lands on the border. Proportional (not px)
     so it holds at any width, and the lip auto-tracks --bld-factor. */
  --bld-factor: 1.44;
  --frame-h: calc(100% - var(--panel-pad) * 2 - var(--panel-gap) - var(--ticker-h));
  bottom: calc(var(--panel-pad) + var(--ticker-h) + var(--panel-gap)
    - var(--frame-h) * var(--bld-factor) * 0.0205);
  height: calc(var(--frame-h) * var(--bld-factor)); width: auto;
  /* height is authoritative — never let the global img{max-width:100%} clamp the
     width (that would squash the building's aspect on narrow/mobile screens). */
  max-width: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  pointer-events: none;
  will-change: transform;
}
/* cheap contact shadow under the building (avoids costly drop-shadow raster) */
.hero__shadow {
  position: absolute; z-index: 2; left: 50%; bottom: 2%;
  width: 52%; height: 11%; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.55), transparent 72%);
  filter: blur(8px); pointer-events: none;
}
@media (max-width: 720px){
  /* MOBILE = same behaviour as desktop: the building bursts up out of the frame,
     over the top margin, and its curved roof touches the "ARCHITETTURA" letters.
     Base stays anchored to the frame floor (base-touch formula), we just retune the
     frame proportions + burst factor so it fits the phone width and reaches the title. */
  /* keep the desktop photo proportions so the building stays proportional and fits
     the phone width (a taller frame would blow the building up past the screen). */
  .hero__frame { aspect-ratio: 16 / 9; }
  .hero__building { --bld-factor: 1.5; }
  /* Put the tag + CONTATTACI ABOVE the title so the heading sits directly on top of
     the photo panel — that's what lets the building rise up into "ARCHITETTURA"
     (on desktop the aside is absolute/out-of-flow; here we stack it on top). */
  .hero__head { display: flex; flex-direction: column; }
  .hero__aside { order: -1; margin-top: 0; margin-bottom: 20px; }
  /* FULL-BLEED hero on phones: the white photo card + building fill (almost) the
     whole page width instead of floating as a small card with big black margins.
     min-height:auto kills the big empty black band under the card (content-tall hero),
     less top padding so the composition sits high and fills the screen. */
  .hero {
    padding-left: 10px; padding-right: 10px;
    padding-top: clamp(94px, 12vh, 128px); padding-bottom: 28px;
    min-height: auto;
  }
}

.hero__caption {
  position: absolute; left: clamp(18px, 3vw, 44px); top: clamp(18px, 3vw, 40px); z-index: 3;
}
.hero__caption-title {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; font-size: clamp(.9rem, 1.6vw, 1.3rem);
}
.hero__caption-meta {
  margin-top: 8px; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75);
  line-height: 1.7;
}

/* ============================================================
   Buttons pill — a rounded dark pill floating INSIDE the white panel,
   below the photo (gap of white between them), same curvature language.
   ============================================================ */
.hero__ticker {
  position: relative; z-index: 2;
  flex: none;
  height: var(--ticker-h);
  display: flex; align-items: center;
  border-radius: 999px;
  background: #0a0a0c;
  overflow: hidden;
}
.hero__ticker:hover .marquee__track { animation-play-state: paused; }

.marquee__track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.marquee__group { display: flex; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 13px; padding: 0 30px;
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; font-size: clamp(.85rem, 1.35vw, 1.3rem); letter-spacing: .04em;
  white-space: nowrap; color: var(--text);
}
.marquee__item .chip {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px;
  background: var(--accent); color: #fff; flex: none;
}
.marquee__item .chip svg { width: 14px; height: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Section head (Projects / Services)
   ============================================================ */
.section-head {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 7vw, 100px) var(--pad) clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 30px;
}
.section-title { font-size: clamp(2.8rem, 9vw, 9rem); color: var(--text); }
.section-sub {
  position: absolute; left: 50%; top: clamp(18px, 2.6vw, 40px); transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #f3f2ef;
  line-height: 1.6; text-align: center;
  /* backlit: soft white glow hugging the letters (illuminated) + a thin dark edge so
     they stay legible where they sit over the bright white title. */
  text-shadow:
    0 0 1px rgba(0,0,0,.9), 0 1px 3px rgba(0,0,0,.7),
    0 0 12px rgba(255,255,255,.6), 0 0 26px rgba(255,255,255,.34);
}
@media (max-width: 900px){ .section-sub{ display:none; } }
.section-cta { display: flex; align-items: flex-end; gap: 16px; justify-self: end; }
.section-cta__vert {
  writing-mode: vertical-rl;
  font-size: .55rem; letter-spacing: .22em; text-transform: uppercase; color: #e9e9e6; white-space: nowrap;
  text-shadow: 0 0 10px rgba(255,255,255,.5), 0 0 20px rgba(255,255,255,.28), 0 1px 2px rgba(0,0,0,.55);
}
/* Vertical "standing" CTA pill (Progetti / Servizi): the orange pill is rotated
   so it reads top→bottom, sitting on the right. It slides in from the right on
   scroll (figma-style directional reveal — handled in main.js). */
.section-cta .btn-pill {
  writing-mode: vertical-rl;
  height: auto;
  width: var(--h);
  padding: 24px 0 10px;
  gap: 16px;
  letter-spacing: .2em;
}
.section-cta .btn-pill__text { white-space: nowrap; }

/* ============================================================
   Projects grid
   ============================================================ */
.proj-grid {
  max-width: var(--maxw); margin: 0 auto;
  /* bigger + more attached cards (client ref, foto 2): tighter gutters + gap */
  padding: 0 clamp(12px, 2.2vw, 44px) clamp(40px, 6vw, 90px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(7px, 0.7vw, 12px);
}
.proj-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 11; background: var(--surface);
}
.proj-card__media { position: absolute; inset: 0; }
.proj-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease); will-change: transform;
}
.proj-card:hover .proj-card__media img { transform: scale(1.06); }
.proj-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6,6,7,.72) 0%, rgba(6,6,7,0) 45%);
}
.proj-card__label {
  position: absolute; right: clamp(18px, 2.4vw, 32px); bottom: clamp(16px, 2.2vw, 30px); z-index: 2;
  text-align: right;
}
.proj-card__label h3 {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.1rem, 2.2vw, 1.9rem); line-height: 1;
}
.proj-card__label p {
  margin-top: 8px; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72);
}

/* ============================================================
   Services accordion rows
   ============================================================ */
.svc-list {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad) clamp(60px, 9vw, 130px);
  display: flex; flex-direction: column; gap: 14px;
}
.svc-row {
  position: relative; overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  height: clamp(74px, 9vw, 116px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 clamp(24px, 3vw, 46px);
  cursor: pointer;
  transition: height .6s var(--ease), border-radius .6s var(--ease), border-color .5s var(--ease);
}
.svc-row__bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transform: scale(1.12);
  transition: opacity .6s var(--ease), transform 1.1s var(--ease);
}
.svc-row__bg img { width: 100%; height: 100%; object-fit: cover; }
.svc-row::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,6,7,.72), rgba(6,6,7,.25));
  opacity: 0; transition: opacity .6s var(--ease);
}
.svc-row__no, .svc-row__title, .svc-row__arrow { position: relative; z-index: 2; }
.svc-row__no {
  font-family: var(--font-ui); font-size: .72rem; letter-spacing: .1em; color: var(--muted);
  transition: color .4s var(--ease);
}
.svc-row__title {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.3rem, 3.4vw, 3rem); line-height: 1;
  transition: transform .5s var(--ease);
}
.svc-row__arrow {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--text);
  transition: background .5s var(--ease), transform .5s var(--ease), border-color .5s var(--ease);
}
.svc-row__arrow svg { width: 20px; height: 20px; }
.svc-row:hover, .svc-row:focus-visible {
  height: clamp(150px, 22vw, 300px);
  border-radius: var(--radius-lg);
  border-color: transparent;
}
.svc-row:hover .svc-row__bg, .svc-row:focus-visible .svc-row__bg { opacity: 1; transform: scale(1); }
.svc-row:hover::after, .svc-row:focus-visible::after { opacity: 1; }
.svc-row:hover .svc-row__no, .svc-row:focus-visible .svc-row__no { color: rgba(255,255,255,.85); }
.svc-row:hover .svc-row__title, .svc-row:focus-visible .svc-row__title { transform: translateX(6px); }
.svc-row:hover .svc-row__arrow, .svc-row:focus-visible .svc-row__arrow { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }

/* ============================================================
   Contact — full-bleed image banner (client ref, foto 3)
   ============================================================ */
.contact {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(24px, 4vw, 64px) var(--pad) clamp(30px, 5vw, 70px);
}
.contact__panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: clamp(480px, 84vh, 900px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(26px, 3vw, 44px);
  padding: clamp(48px, 10vw, 150px) var(--pad);
}
.contact__media { position: absolute; inset: 0; z-index: 0; }
.contact__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
}
.contact__panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6,6,7,.34) 0%, rgba(6,6,7,.5) 52%, rgba(6,6,7,.72) 100%);
}
.contact__eyebrow {
  position: relative; z-index: 2;
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(.82rem, 1.1vw, 1rem); letter-spacing: .26em; text-transform: uppercase;
  /* the orange was illegible on the photo. Now: BLACK word sitting on a solid white
     backlight (glow only behind the letter shapes, no box) → reads on any background. */
  color: #0a0a0b;
  text-shadow:
    0 0 4px #fff, 0 0 9px #fff, 0 0 16px rgba(255,255,255,.98),
    0 0 30px rgba(255,255,255,.75), 0 0 52px rgba(255,255,255,.5);
}
.contact__title {
  position: relative; z-index: 2;
  font-size: clamp(2.8rem, 11vw, 10rem); color: #fff; text-align: center;
  text-shadow: 0 10px 44px rgba(0,0,0,.42);
}
.contact__title .line { text-align: center; }
.contact .btn-pill { position: relative; z-index: 2; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 5vw, 70px) var(--pad) 40px;
}
.footer__top {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer__logo { font-family: var(--font-ui); font-weight: 700; font-size: 2rem; letter-spacing: -.02em; }
.footer__logo span { color: var(--accent); }
.footer__logo img { height: clamp(50px, 6vw, 76px); width: auto; display: block; }
.footer__nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer__nav a { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav__group { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__logo { justify-self: start; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 6px; justify-self: end; padding: 8px;
  }
  .nav__burger span {
    width: 26px; height: 2px; background: var(--text); display: block;
    transition: transform .3s var(--ease);
  }
  .nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero__aside {
    position: static; width: 100%; justify-content: space-between; margin-top: 22px;
  }
  .hero__tag { text-align: left; }

  .proj-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .section-cta { justify-self: start; align-items: center; }
  /* revert to a normal horizontal pill on small screens (tap-friendly) */
  .section-cta .btn-pill {
    writing-mode: horizontal-tb;
    height: var(--h); width: auto;
    padding: 0 8px 0 22px;
  }
}

@media (max-width: 520px) {
  .hero__cta-vert, .section-cta__vert { display: none; }
  .hero__title { font-size: clamp(2rem, 10.4vw, 3.7rem); line-height: 1.02; }
  .marquee__item { font-size: 1.15rem; padding: 0 22px; }
  .btn-pill { --h: 48px; font-size: .66rem; }
}

/* ============================================================
   Reduced motion
   ------------------------------------------------------------
   This is an animation-first site, so we intentionally keep the
   CSS animations (marquee, scroll dot, hovers) running even when
   the OS requests reduced motion. Re-enable the block below to
   respect the setting.
   ============================================================ */
/*
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .hero__scroll i::after { animation: none; }
}
*/

/* ============================================================
   FINALE — Numeri · Testimonianze · Footer
   figma-style: frosted glass, soft depth, orange glow, big type.
   Everything degrades to a clean static layout if JS/GSAP is off.
   ============================================================ */

/* Section kicker (replaces the old "( parentheses )" eyebrows): a small
   uppercase label flanked by short accent hairlines — refined + premium. */
.eyebrow {
  display: inline-flex; align-items: center; gap: clamp(10px, 1.2vw, 14px);
  font-family: var(--font-ui); font-weight: 600;
  font-size: clamp(.62rem, .78vw, .74rem); letter-spacing: .34em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before, .eyebrow::after {
  content: ""; height: 1px; width: clamp(20px, 3vw, 42px); flex: none;
  background: linear-gradient(90deg, transparent, rgba(255,106,61,.75));
}
.eyebrow::after { background: linear-gradient(90deg, rgba(255,106,61,.75), transparent); }
/* left-aligned contexts (footer CTA): single leading hairline only */
.footer__cta .eyebrow::after { display: none; }

/* Shared centered heading block for the finale sections */
.finale-head {
  position: relative; z-index: 2;
  max-width: 960px; margin: 0 auto clamp(38px, 5vw, 70px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2vw, 26px);
  text-align: center;
}
.finale-head__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: .92; letter-spacing: -.015em;
  font-size: clamp(2.1rem, 6vw, 5.4rem); color: var(--text);
}
.finale-head__title em { font-style: normal; color: var(--accent); }
.finale-head__sub {
  max-width: 620px; font-size: clamp(.92rem, 1.1vw, 1.05rem); line-height: 1.65; color: var(--muted);
}

/* ---------- Trust badge (overlapping avatars + rating) ---------- */
.trust-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 9px 22px 9px 12px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 22px 44px -22px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.18);
}
.trust-badge__avatars { display: flex; }
.trust-badge__avatars span {
  width: 32px; height: 32px; border-radius: 999px; margin-left: -11px;
  border: 2px solid #121214;
}
.trust-badge__avatars span:nth-child(1) { margin-left: 0; background: linear-gradient(135deg, #8a8a90, #56565c); }
.trust-badge__avatars span:nth-child(2) { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.trust-badge__avatars span:nth-child(3) { background: linear-gradient(135deg, #ff9d6a, #ff6a3d); }
.trust-badge__txt { text-align: left; line-height: 1.1; }
.trust-badge__txt strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .9rem; text-transform: uppercase; letter-spacing: .03em;
}
.trust-badge__txt small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.trust-badge__stars { color: var(--accent); font-size: .8rem; letter-spacing: 1px; margin-left: 2px; }

/* ---------- Numeri (stats) — asymmetric bento grid ---------- */
.stats {
  position: relative; isolation: isolate;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 9vw, 130px) var(--pad) clamp(30px, 5vw, 70px);
}
.stats::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 42% at 50% 0%, rgba(255,74,23,.13), transparent 66%);
}
/* ---------- Numeri (stats) — clean centered panel (Lumora-style, themed dark+orange) ---------- */
.stats__panel {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(40px, 6vw, 88px) clamp(22px, 4vw, 72px);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.014));
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 50px 100px -50px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.1);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2vw, 26px);
}
.stats__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: .95; letter-spacing: -.015em; max-width: 18ch;
  font-size: clamp(1.9rem, 4.6vw, 4rem); color: var(--text);
}
.stats__title em { font-style: normal; color: var(--accent); }
.stats__lead {
  max-width: 560px; font-size: clamp(.92rem, 1.1vw, 1.02rem); line-height: 1.6; color: var(--muted);
}
.stats__row {
  margin-top: clamp(18px, 2.6vw, 38px); width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats__item {
  position: relative; padding: clamp(8px, 1.4vw, 22px) clamp(8px, 1.6vw, 26px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
/* faint hairline divider between adjacent stats */
.stats__item + .stats__item::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.16), transparent);
}
.stats__num {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.7rem, 5vw, 4.6rem); letter-spacing: -.03em; color: var(--text);
  display: flex; align-items: baseline; justify-content: center; font-variant-numeric: tabular-nums;
}
.stats__suffix { color: var(--accent); font-size: .5em; margin-left: .06em; }
.stats__label {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5;
}

/* ---------- Testimonianze — stagger cards (ported from a React/shadcn
   component to vanilla JS/CSS; positioning driven by staggerTestimonials()
   in main.js). Notched corners, hard offset shadows, center card in accent. */
.reviews {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 90px) var(--pad) clamp(60px, 9vw, 130px);
}
.stagger { position: relative; }
/* no-JS / pre-JS fallback: a simple horizontal scroll row (content stays usable) */
.stagger__stage {
  display: flex; gap: 18px; overflow-x: auto; padding: 12px 4px 28px;
  scroll-snap-type: x mandatory;
}
.stagger__card {
  flex: 0 0 auto; scroll-snap-align: center; box-sizing: border-box;
  width: var(--card, 365px); min-height: var(--card, 365px); padding: 32px;
  background: #141416; color: var(--text); border: 2px solid rgba(255,255,255,.14);
  position: relative;
}
/* JS-enhanced: absolute staggered stack */
.stagger__stage.is-live {
  display: block; position: relative; overflow: hidden;
  width: 100%; height: clamp(460px, 62vw, 600px); padding: 0;
}
.stagger__stage.is-live .stagger__card {
  position: absolute; left: 50%; top: 50%; height: var(--card, 365px); cursor: pointer;
  clip-path: polygon(50px 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, calc(100% - 50px) 100%, 50px 100%, 0 100%, 0 0);
  /* transform is animated by GSAP (see staggerTestimonials); only colours transition in CSS */
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.stagger__card.is-center {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 10px 0 0 rgba(0,0,0,.45);
}
.stagger__stage.is-live .stagger__card:not(.is-center):hover { border-color: rgba(255,106,61,.5); }
/* diagonal edge line hugging the notched corner (SQRT_5000 ≈ 70.71px) */
.stagger__line {
  position: absolute; right: -2px; top: 48px; width: 70.71px; height: 2px;
  background: rgba(255,255,255,.16); transform: rotate(45deg); transform-origin: top right;
}
.is-center .stagger__line { background: rgba(255,255,255,.5); }
.stagger__avatar {
  width: 48px; height: 56px; margin-bottom: 16px; display: grid; place-items: center;
  overflow: hidden;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff;
  box-shadow: 3px 3px 0 var(--bg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
/* portrait photo fills the monogram tile (gradient stays as loading fallback) */
.stagger__avatar img {
  grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  display: block;
}
.stagger__card:nth-child(3n+2) .stagger__avatar { background: linear-gradient(135deg, #6d6d74, #3c3c42); }
.stagger__card:nth-child(3n+3) .stagger__avatar { background: linear-gradient(135deg, #ffb184, #ff6a3d); }
.is-center .stagger__avatar { background: #111113; box-shadow: 3px 3px 0 rgba(0,0,0,.4); }
.stagger__text {
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(1rem, 1.25vw, 1.28rem); line-height: 1.32;
}
.stagger__by { margin-top: 14px; font-size: .82rem; font-style: italic; color: var(--muted); }
.is-center .stagger__by { color: rgba(255,255,255,.85); }
.stagger__stage.is-live .stagger__by { position: absolute; bottom: 32px; left: 32px; right: 32px; margin: 0; }
/* prev / next controls */
.stagger__nav {
  position: absolute; z-index: 200; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.stagger__btn {
  width: 56px; height: 56px; display: grid; place-items: center; cursor: pointer;
  background: var(--bg); color: var(--text); border: 2px solid rgba(255,255,255,.16);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.stagger__btn svg { width: 22px; height: 22px; }
.stagger__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.stagger__btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }

/* ---------- Rich footer ---------- */
.footer { border-top: none; padding-top: clamp(20px, 3vw, 40px); }
.footer__cta {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: var(--maxw); margin: 0 auto; border-radius: var(--radius-xl);
  padding: clamp(44px, 6.5vw, 110px) clamp(26px, 5vw, 96px);
  background: linear-gradient(155deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 50px 100px -46px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.15);
}
.footer__cta::before {
  content: ""; position: absolute; left: -12%; bottom: -55%; width: 62%; height: 130%; z-index: -1;
  background: radial-gradient(circle, rgba(255,74,23,.34), transparent 60%);
  filter: blur(26px); pointer-events: none;
}
.footer__cta::after {
  content: ""; position: absolute; right: -14%; top: -60%; width: 55%; height: 120%; z-index: -1;
  background: radial-gradient(circle, rgba(120,80,255,.14), transparent 62%);
  filter: blur(30px); pointer-events: none;
}
.footer__cta-inner {
  position: relative; z-index: 2; max-width: 780px;
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.4vw, 34px);
}
.footer__cta-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: .95; letter-spacing: -.02em; font-size: clamp(2.2rem, 6.2vw, 6rem); color: var(--text);
}
.footer__cta-title em { font-style: normal; color: var(--accent); }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-pill {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 12px 20px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .78rem; letter-spacing: .04em; color: var(--text);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.contact-pill:hover { border-color: rgba(255,106,61,.6); background: rgba(255,74,23,.1); transform: translateY(-2px); }
.contact-pill svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* rotating circular badge (floating in the CTA panel) */
.spin-badge {
  position: absolute; z-index: 3; right: clamp(24px, 4vw, 72px); bottom: clamp(24px, 4vw, 64px);
  width: clamp(96px, 10vw, 148px); aspect-ratio: 1;
}
.spin-badge__ring { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.spin-badge__ring text {
  font-family: var(--font-ui); font-weight: 600; font-size: 8.6px; letter-spacing: 1.4px;
  text-transform: uppercase; fill: var(--text);
}
.spin-badge__core {
  position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  box-shadow: 0 12px 26px -8px rgba(255,74,23,.75);
}
.spin-badge__core svg { width: 20px; height: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

.footer__grid {
  max-width: var(--maxw); margin: clamp(46px, 6vw, 90px) auto 0;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.footer__brand-tag { margin-top: 18px; font-size: .9rem; line-height: 1.6; color: var(--muted); max-width: 320px; }
.footer__col h4 {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: .84rem; color: var(--text); opacity: .82; transition: opacity .3s, color .3s; }
.footer__col a:hover { opacity: 1; color: var(--accent); }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--text);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.footer__socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer__socials svg { width: 17px; height: 17px; }

.footer__mega {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 9.1vw, 9.5rem); line-height: .82; letter-spacing: -.02em;
  text-align: center; white-space: nowrap; margin-top: clamp(30px, 5vw, 76px); user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.02));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

.footer__bottom {
  max-width: var(--maxw); margin: clamp(24px, 3vw, 40px) auto 0;
  padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2);
}

/* ---------- Finale responsive ---------- */
@media (max-width: 1080px) {
  .stats__row { grid-template-columns: repeat(2, 1fr); row-gap: clamp(24px, 5vw, 40px); }
  .stats__item + .stats__item::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .stats__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .spin-badge { position: relative; right: auto; bottom: auto; margin: 0 0 6px; }
  .footer__cta-inner { align-items: flex-start; }
}

/* ============================================================
   SPAZI RISTRUTTURATI — floating room photos that lift above their
   captions (the client's "foto che vanno poco sopra il testo"),
   staggered like an editorial gallery. Reuses existing interior shots.
   ============================================================ */
.rooms {
  position: relative; isolation: isolate;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 9vw, 130px) var(--pad) clamp(50px, 8vw, 110px);
}
.rooms::before { /* faint watermark word behind the gallery */
  content: "INTERNI"; position: absolute; z-index: -1; left: 50%; top: clamp(120px, 20vw, 300px);
  transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(4rem, 22vw, 22rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05);
}
.rooms__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 40px);
  align-items: start;
}
/* stagger: the middle & right cards drop down so the photos "wave" and each
   photo sits a little above its own text — a lifted, floating rhythm. */
.room-card:nth-child(2) { margin-top: clamp(34px, 6vw, 100px); }
.room-card:nth-child(3) { margin-top: clamp(16px, 3vw, 52px); }
.room-card__img {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: 0 54px 100px -44px rgba(0,0,0,.92), 0 0 0 1px rgba(255,255,255,.06),
              inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card__img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6,6,7,.5), transparent 55%);
}
.room-card:hover .room-card__img { transform: translateY(-10px); box-shadow: 0 70px 120px -44px rgba(0,0,0,.95), 0 0 70px -18px rgba(255,74,23,.3), 0 0 0 1px rgba(255,106,61,.4); }
.room-card:hover .room-card__img img { transform: scale(1.07); }
.room-card__cap {
  display: flex; align-items: baseline; gap: 14px;
  padding: clamp(18px, 1.8vw, 26px) 6px 0;
}
.room-card__no {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  color: transparent; -webkit-text-stroke: 1px var(--accent); flex: none;
}
.room-card__cap h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem); line-height: 1;
}
.room-card__cap p { margin-top: 8px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rooms__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 72px); }

/* ============================================================
   METODO — how we work, 01→04. Big orange outline numbers that fill
   on hover; a hairline over each step. Minimal, architectural.
   ============================================================ */
.metodo {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(50px, 8vw, 120px) var(--pad) clamp(56px, 9vw, 130px);
}
.metodo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.4vw, 48px); }
.metodo-step { padding-top: clamp(20px, 1.8vw, 30px); border-top: 1px solid var(--line-2); }
.metodo-step__no {
  display: block; margin-bottom: clamp(18px, 2vw, 30px);
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.6rem, 3.6vw, 4rem); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  transition: color .45s var(--ease);
}
.metodo-step:hover .metodo-step__no { color: var(--accent); }
.metodo-step h3 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem); margin-bottom: 12px; line-height: 1.05;
}
.metodo-step p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ---------- Spazi & Metodo responsive ---------- */
@media (max-width: 1080px) {
  .metodo__grid { grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 44px); }
}
@media (max-width: 760px) {
  .rooms__grid { grid-template-columns: 1fr 1fr; }
  .room-card:nth-child(2), .room-card:nth-child(3) { margin-top: 0; }
  .rooms::before { display: none; }
}
@media (max-width: 480px) {
  .rooms__grid { grid-template-columns: 1fr; }
  .metodo__grid { grid-template-columns: 1fr; }
}
