/* ============================
   LAPI VISION, Portfolio Site
   ============================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@200;300;400;500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --bg: #0A0A0A;
  --fg: #F5F5F5;
  /* default accent (hub + wedding): gold */
  --gold: #C8A961;
  --gold-light: #D4BC7E;
  --gold-dark: #A68B4B;
  --surface: #141414;
  --surface-light: #1E1E1E;
  --muted: #888888;
  --border: #2A2A2A;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================
   WORLD THEMES — per body class
   Override accent color + display font per landing
   ============================ */

/* Wedding (default gold + Cormorant italic) — no overrides needed */

/* Real Estate — gold, left-aligned hero, Cormorant bold uppercase */
body.world-realestate {
  /* accent: gold (default) */
  --font-display: 'Playfair Display', Georgia, serif;
}
body.world-realestate .hero__content {
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(1.5rem, 6vw, 6rem);
  padding-right: clamp(1.5rem, 6vw, 6rem);
  max-width: 900px;
  margin-right: auto;
  margin-left: 0;
}
body.world-realestate .hero__line {
  align-self: flex-start;
  margin-left: 0;
}
body.world-realestate .hero__buttons {
  align-self: flex-start;
}
body.world-realestate .hero__eyebrow {
  text-align: left;
  padding-left: 0.55em;
}
body.world-realestate .hero__title-v2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2.4rem, 6.8vw, 5.6rem);
  line-height: 1.04;
  text-align: left;
}
body.world-realestate .hero__title-v2 span {
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  margin-left: 0.15em;
  display: inline;
}
body.world-realestate .hero__target,
body.world-realestate .hero__tagline {
  text-align: left;
}
body.world-realestate .hero__buttons {
  justify-content: flex-start;
}

/* Eventi — gold accent, hero left-aligned, Cormorant uppercase + italic span */
body.world-eventi .hero__content {
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(1.5rem, 6vw, 6rem);
  padding-right: clamp(1.5rem, 6vw, 6rem);
  max-width: 900px;
  margin-right: auto;
  margin-left: 0;
}
body.world-eventi .hero__line { align-self: flex-start; margin-left: 0; }
body.world-eventi .hero__buttons { align-self: flex-start; }
body.world-eventi .hero__title-v2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2.2rem, 6.8vw, 5.4rem);
  line-height: 1.04;
  text-align: left;
}
body.world-eventi .hero__title-v2 span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  margin-left: 0.15em;
  display: inline;
}

/* Hub — default (gold + Cormorant italic) */
body.world-hub {
  /* no overrides */
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background-color: var(--gold);
  color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.font-light { font-weight: 300; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Reveal Animation (IntersectionObserver) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger children */
.stagger-container .stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stagger-container.revealed .stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-container.revealed .stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-container.revealed .stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-container.revealed .stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-container.revealed .stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-container.revealed .stagger-item:nth-child(6) { transition-delay: 0.6s; }

.stagger-container.revealed .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   HEADER
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  animation: headerSlideIn 0.6s var(--ease) forwards;
}

@keyframes headerSlideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.header.scrolled {
  background-color: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.3s;
}

.header__logo:hover { color: var(--gold); }

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.8);
  transition: color 0.3s;
}

.header__nav a:hover { color: var(--gold); }

.header__cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.header__cta:hover { background: var(--gold-dark); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2.5rem 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: color 0.3s;
}

.mobile-menu__close:hover { color: var(--gold); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.mobile-menu__nav a {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.8);
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(15px);
  animation: none;
}

.mobile-menu.open .mobile-menu__nav a {
  animation: mobileNavIn 0.4s var(--ease) forwards;
}

.mobile-menu.open .mobile-menu__nav a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.open .mobile-menu__nav a:nth-child(2) { animation-delay: 0.16s; }
.mobile-menu.open .mobile-menu__nav a:nth-child(3) { animation-delay: 0.22s; }
.mobile-menu.open .mobile-menu__nav a:nth-child(4) { animation-delay: 0.28s; }
.mobile-menu.open .mobile-menu__nav a:nth-child(5) { animation-delay: 0.34s; }

@keyframes mobileNavIn {
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu__nav a:hover { color: var(--gold); }

@media (min-width: 768px) {
  .header__nav { display: flex; }
  .hamburger { display: none; }
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 50%, rgba(10,10,10,0.3));
  z-index: 1;
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero__line {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
  transform: scaleX(0);
  animation: heroLineIn 1s 0.2s var(--ease) forwards;
}

@keyframes heroLineIn {
  to { transform: scaleX(1); }
}

.hero__subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.4s var(--ease) forwards;
}

.hero__subtitle-large {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.9s var(--ease) forwards;
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 200;
  color: white;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1s 0.6s var(--ease) forwards;
}


.hero__tagline {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 1.2s var(--ease) forwards;
}

.hero__tagline span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .hero__tagline { font-size: 1.125rem; }
  .hero__tagline span { font-size: 1rem; }
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__buttons {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 1.3s var(--ease) forwards;
}

.btn-primary {
  padding: 0.6rem 1.5rem;
  background: var(--gold);
  color: white;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 300;
  border-radius: 2px;
  transition: background 0.3s;
}

.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 300;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.4); }

@media (min-width: 768px) {
  .btn-primary,
  .btn-outline {
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
  }
}

/* Hero bottom */
.hero__bottom {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: heroFadeUp 0.8s 1.5s var(--ease) forwards;
}

@media (min-width: 768px) {
  .hero__bottom {
    bottom: 2rem;
    gap: 1rem;
  }
}

.hero__indicators {
  display: flex;
  gap: 0.5rem;
}

.hero__indicator {
  height: 2px;
  border-radius: 999px;
  transition: all 0.5s;
  background: rgba(255,255,255,0.3);
  width: 16px;
}

.hero__indicator:hover { background: rgba(255,255,255,0.5); }

.hero__indicator.active {
  width: 32px;
  background: var(--gold);
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero__scroll span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

.hero__scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================
   SHOWREEL
   ============================ */
.showreel {
  padding: 6rem 1.5rem;
}

.showreel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.showreel__main {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.showreel__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showreel__main video,
.showreel__main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.showreel__main video { object-fit: cover; }

/* Scudo trasparente sopra l'iframe YouTube: blocca hover/click che
   farebbero comparire la UI del player. Il bottone audio resta sopra
   grazie a z-index: 20. */
.showreel__yt-shield {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: default;
}

.showreel__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.showreel__play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200,169,97,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.showreel__play-btn:hover {
  background: var(--gold);
  transform: scale(1.1);
}

.showreel__play-btn svg { margin-left: 3px; }

.showreel__main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.showreel__reel {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-height: 400px;
  margin: 0 auto;
  width: 100%;
}

.showreel__reel video,
.showreel__reel iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.showreel__reel-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 5;
  pointer-events: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 300;
}

.showreel__reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  pointer-events: none;
}

.showreel__sound-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
}

.showreel__sound-btn:hover {
  background: rgba(200,169,97,0.6);
  transform: scale(1.1);
}

.showreel__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.showreel__extra {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  aspect-ratio: 21/9;
}

.showreel__extra--tall {
  aspect-ratio: 3/4;
}

.showreel__extra img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .showreel__photos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .showreel__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .showreel__reel {
    max-height: none;
    margin: 0;
  }
  .showreel__main-wrap {
    grid-column: 1 / -1;
  }
  .showreel__grid--reels-only {
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
  }
}

/* ============================
   BANNER PHOTO
   ============================ */
.banner-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.banner-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%);
  pointer-events: none;
}

/* ============================
   PORTFOLIO GRID
   ============================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Project Card */
.project-card {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s, transform 0.3s;
}

.project-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.project-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.project-card__thumb-bg {
  position: absolute;
  inset: 0;
}

.project-card__thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__thumb-img {
  transform: scale(1.05);
}

/* Project gallery (dettaglio progetto) */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem 0;
}

@media (max-width: 640px) {
  .project-gallery { grid-template-columns: 1fr; }
}

.project-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #0b0b0b;
  aspect-ratio: 3 / 2;
}

.project-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-gallery__item:hover img {
  transform: scale(1.03);
}

.project-card__hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  padding: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-card__hover { opacity: 1; }

.project-card__hover h3 {
  font-size: 1.125rem;
  color: white;
}

.project-card__hover p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #d4d4d4;
}

.project-card__hover .badge {
  margin-top: 0.5rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(200,169,97,0.2);
  font-size: 0.75rem;
  color: var(--gold-light);
}

.project-card__info {
  padding: 1rem;
  background: var(--bg);
}

.project-card__info h3 {
  font-size: 1.125rem;
}

.project-card__info p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ============================
   ABOUT
   ============================ */
.about {
  padding: 6rem 1.5rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.about__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 300;
}

.about__name {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.about__bio {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.about__stats {
  display: flex;
  gap: 2rem;
}

.about__stat {
  text-align: center;
}

.about__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 300;
  color: var(--gold);
}

.about__stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.25rem;
  font-weight: 300;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .about__stats { gap: 3rem; }
}

/* ============================
   SERVICES
   ============================ */
.services {
  padding: 6rem 1.5rem;
  background: rgba(20,20,20,0.5);
}

.services__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.services__desc {
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover { border-color: rgba(200,169,97,0.4); }

.service-card__price {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-card__price-note {
  font-size: 0.75rem;
  color: rgba(136,136,136,0.6);
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-weight: 400;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.service-card__features {
  margin-top: auto;
}

.service-card__feature {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.service-card__feature::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials {
  padding: 6rem 1.5rem;
}

.testimonials__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

/* Auto-rotating carousel with dots */
.testimonials__carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials__viewport {
  overflow: hidden;
  padding: 1rem 0;
}

.testimonials__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.45, 0, 0.15, 1);
  will-change: transform;
}

.testimonials__slide {
  flex: 0 0 var(--slide-basis, 100%);
  min-width: 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(200, 169, 97, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.3s ease;
}

.testimonials__dot:hover {
  background: rgba(200, 169, 97, 0.55);
}

.testimonials__dot.is-active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 2rem;
  width: 100%;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
}

.testimonial-card__quote {
  color: var(--muted);
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
  font-weight: 300;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  flex-shrink: 0;
  font-weight: 300;
}

.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 400;
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.testimonial-card__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

.testimonial-card__badge {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

.testimonial-card__badge--wedding {
  color: var(--gold);
  border-color: rgba(200, 169, 97, 0.4);
}

.testimonial-card__badge--real-estate {
  color: #9ec5e8;
  border-color: rgba(158, 197, 232, 0.35);
}

/* ============================
   CTA SECTION
   ============================ */
.cta {
  padding: 8rem 1.5rem;
  background: var(--surface);
}

.cta__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta__text {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--fg);
  font-weight: 300;
  transition: border-color 0.3s, color 0.3s;
}

.btn-cta-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 300;
  transition: background 0.3s;
}

.btn-cta-gold:hover { background: var(--gold-dark); }

@media (min-width: 640px) {
  .cta__buttons { flex-direction: row; }
}

/* ============================
   FOOTER
   ============================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer__brand p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.footer__links a:hover { color: var(--gold); }

.footer__socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__socials a {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.3s;
}

.footer__socials a:hover { color: var(--gold); }

.footer__bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer__links { align-items: center; }
  .footer__socials { align-items: flex-end; }
}

/* ============================
   FILTER BAR (Portfolio page)
   ============================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.3s;
  font-weight: 300;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

/* ============================
   FORMS (Contact & Booking)
   ============================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(136,136,136,0.5);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

.form-success {
  font-size: 0.875rem;
  color: #22c55e;
  margin-top: 0.75rem;
}

.form-error-msg {
  font-size: 0.875rem;
  color: #ef4444;
  margin-top: 0.75rem;
}

.btn-submit {
  width: 100%;
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 400;
  border-radius: 0.5rem;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

.btn-submit:hover { background: var(--gold-dark); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================
   PAGE SECTIONS (Contact, Booking, Portfolio, Project)
   ============================ */
.page-section {
  min-height: 100vh;
  padding: 8rem 1.5rem 4rem;
}

.page-section__header h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-section__header p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
}

/* ============================
   PROJECT DETAIL
   ============================ */
.project-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 60vh;
  padding: 5rem 1.5rem;
}

.project-hero--cover {
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-hero__meta {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

.project-hero__title {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.project-content {
  padding: 5rem 1.5rem;
}

.project-video {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.project-video__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.project-video__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200,169,97,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.project-video__play:hover { background: rgba(200,169,97,0.6); }

.project-description {
  margin-top: 3rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted);
}

.project-details {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-details__label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.project-details__value {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  text-transform: capitalize;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.3s;
}

.project-back:hover { color: rgba(200,169,97,0.8); }

@media (min-width: 768px) {
  .project-details { grid-template-columns: repeat(3, 1fr); }
}

/* ============================
   404 PAGE
   ============================ */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.not-found h1 {
  font-size: 8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.not-found p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.25rem;
}

.not-found a {
  margin-top: 2rem;
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--fg);
  transition: border-color 0.3s, color 0.3s;
}

.not-found a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================
   LOADING
   ============================ */
.loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading__spinner {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================
   LAZY LOADING (image optimization)
   ============================ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* ============================
   HUB v2, Hero, Nav, Worlds, Manifesto, Capabilities, Contact
   ============================ */

/* --- Hero eyebrow + title v2 --- */
.hero__eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.55em;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 1.5rem;
  padding-left: 0.55em;
}

.hero__title-v2 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--fg);
}
.hero__title-v2 span {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
  display: inline-block;
  margin-left: 0.25em;
}

@media (max-width: 640px) {
  .hero__title-v2 span {
    display: block;
    margin-left: 0;
    margin-top: 0.1em;
  }
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  cursor: pointer;
}
.nav-dropdown__caret {
  font-size: 0.7em;
  transform: translateY(1px);
  transition: transform 0.25s var(--ease);
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 190px;
  padding: 0.6rem 0;
  background: rgba(14,14,14,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 100;
}
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.9rem;
  height: 0.9rem;
}
.nav-dropdown__menu a {
  display: block;
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--fg);
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown__menu a:hover {
  color: var(--gold);
  background: rgba(200,169,97,0.06);
}
.nav-dropdown__menu a.is-active {
  color: var(--gold);
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .nav-dropdown__caret {
  transform: translateY(1px) rotate(180deg);
}

.header__nav a.is-active {
  color: var(--gold);
}

/* Mobile menu label */
.mobile-menu__label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--gold);
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 400;
}

/* --- Manifesto --- */
.manifesto {
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 820px) {
  .manifesto__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.manifesto__label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.72rem;
  color: var(--gold);
  padding-top: 0.8em;
}
.manifesto__text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 1.75rem;
}
.manifesto__sub {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 56ch;
  line-height: 1.7;
}

/* --- Worlds showcase --- */
.worlds {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.worlds__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.worlds__desc {
  color: var(--muted);
  font-weight: 300;
  max-width: 62ch;
  line-height: 1.6;
}
.worlds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (max-width: 960px) {
  .worlds__grid { grid-template-columns: 1fr; }
}

.world-card {
  position: relative;
  display: block;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--fg);
  isolation: isolate;
  transition: transform 0.6s var(--ease), border-color 0.4s var(--ease);
}
@media (max-width: 960px) {
  .world-card { min-height: 480px; }
}
.world-card__bg {
  position: absolute; inset: 0; z-index: 1;
}
.world-card__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.6s var(--ease);
  filter: grayscale(25%) brightness(0.7);
}
.world-card__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.92) 100%);
  transition: background 0.5s var(--ease);
}
.world-card__content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 100%; min-height: inherit;
  padding: 2rem 2rem 2.25rem;
}
.world-card__top {
  display: flex; justify-content: space-between; align-items: center;
}
.world-card__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.world-card__label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: var(--fg);
  opacity: 0.7;
}
.world-card__body {
  margin-top: auto;
  transform: translateY(24px);
  transition: transform 0.55s var(--ease);
}
.world-card__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  color: var(--fg);
}
.world-card__desc {
  color: rgba(245,245,245,0.78);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
  max-width: 40ch;
}
.world-card__meta {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem 0;
  border-top: 1px solid rgba(200,169,97,0.2);
  border-bottom: 1px solid rgba(200,169,97,0.2);
  padding: 0.7rem 0;
}
.world-card__meta li {
  font-size: 0.82rem;
  color: rgba(245,245,245,0.72);
  padding: 0.28rem 0;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.world-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 400;
  padding-bottom: 0.4em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}

/* hover state */
@media (hover: hover) {
  .world-card:hover {
    border-color: var(--gold);
  }
  .world-card:hover .world-card__bg img {
    transform: scale(1.06);
    filter: grayscale(0%) brightness(0.85);
  }
  .world-card:hover .world-card__body {
    transform: translateY(0);
  }
  .world-card:hover .world-card__meta {
    display: block;
    animation: fadeIn 0.5s var(--ease);
  }
  .world-card:hover .world-card__cta {
    border-bottom-color: var(--gold);
    letter-spacing: 0.32em;
  }
}

/* On touch devices always show meta */
@media (hover: none) {
  .world-card__body { transform: translateY(0); }
  .world-card__meta { display: block; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Capabilities --- */
.capabilities {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.capabilities__title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
  max-width: 22ch;
}
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 960px) { .capabilities__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .capabilities__grid { grid-template-columns: 1fr; } }

.cap-card {
  padding: 2.4rem 1.8rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s var(--ease);
}
.cap-card:last-child { border-right: none; }
@media (max-width: 960px) {
  .cap-card { border-right: 1px solid var(--border); }
  .cap-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .cap-card { border-right: none; }
}
.cap-card:hover {
  background: rgba(200,169,97,0.03);
}
.cap-card__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}
.cap-card__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
}
.cap-card__desc {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  font-size: 0.92rem;
}

/* --- Virtual Tour demo --- */
.vt-demo {
  margin-top: clamp(3rem, 6vw, 5rem);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.vt-demo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}
@media (max-width: 640px) {
  .vt-demo__grid { grid-template-columns: 1fr; }
}
.vt-demo__col { text-align: left; }
.vt-demo__col-label {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem 0.25rem;
}
.vt-demo__label {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}
.vt-demo__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.vt-demo__desc {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto 2rem;
}
.vt-demo__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.vt-demo__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vt-demo__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  background: #000;
  display: block;
}
.vt-demo__yt-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: default;
}
.vt-demo__sound {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease;
}
.vt-demo__sound:hover {
  background: rgba(200,169,97,0.85);
  transform: scale(1.05);
}
.vt-demo__sound svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .vt-demo__frame { padding-top: 75%; }
}

/* --- Contact hub form --- */
.contact-hub {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.contact-hub__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 820px) {
  .contact-hub__grid { grid-template-columns: 1fr; }
}
.contact-hub__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
  margin-top: 0.6rem;
  margin-bottom: 1.2rem;
}
.contact-hub__desc {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 2.2rem;
}
.contact-hub__info {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}
.contact-hub__info li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.contact-hub__info-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.68rem;
  color: var(--gold);
}
.contact-hub__info a { color: var(--fg); transition: color 0.2s; }
.contact-hub__info a:hover { color: var(--gold); }

.contact-hub__form {
  background: var(--surface-light);
  border: 1px solid var(--border);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-form__row {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}
.contact-form__label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 0.55rem;
  font-weight: 400;
}
.contact-form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-form__input:focus {
  outline: none;
  border-color: var(--gold);
  background: #0c0c0c;
}
textarea.contact-form__input {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}
select.contact-form__input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
  border: none;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-form__status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gold);
  font-style: italic;
}
.form-error {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  font-weight: 300;
}
.form-success {
  color: var(--gold);
}

/* ============================
   LANDING, Real Estate & Eventi shared components
   ============================ */

/* Breadcrumb */
.breadcrumb {
  padding: 1.1rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { margin: 0 0.7em; color: var(--border); }
.breadcrumb__current { color: var(--gold); }

/* Section intro label */
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Service detail grid (4 or 6 cards) */
.services-detail {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
}
.services-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 960px) { .services-detail__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-detail__grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
  overflow: hidden;
}
.svc-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.svc-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-light);
}
.svc-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body {
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
  flex-grow: 1;
}
.svc-card__label {
  text-transform: uppercase; letter-spacing: 0.3em;
  font-size: 0.68rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.svc-card__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
.svc-card__desc {
  color: var(--muted); font-weight: 300; font-size: 0.92rem; line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.svc-card__links {
  display: flex; gap: 1rem; margin-top: auto;
  padding-top: 1rem; border-top: 1px solid var(--border);
}
.svc-card__link {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.svc-card__link--gold { color: var(--gold); }
.svc-card__link:hover { color: var(--gold); }

/* Pricing packages */
.packages {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .packages__grid { grid-template-columns: 1fr; } }
.pkg-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.2rem 2rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.pkg-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.pkg-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #121009 0%, var(--bg) 100%);
}
.pkg-card--featured::before {
  content: "Più scelto";
  position: absolute;
  top: -0.7rem; right: 1.5rem;
  background: var(--gold); color: var(--bg);
  padding: 0.3rem 0.9rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}
.pkg-card__label {
  text-transform: uppercase; letter-spacing: 0.35em;
  font-size: 0.7rem; color: var(--gold);
  margin-bottom: 1rem;
}
.pkg-card__name {
  font-family: var(--font-heading);
  font-weight: 300; font-style: italic;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.pkg-card__price {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.pkg-card__price strong {
  color: var(--fg);
  font-weight: 400;
}
.pkg-card__desc {
  color: var(--muted); font-weight: 300; font-size: 0.92rem; line-height: 1.6;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.pkg-card__features {
  list-style: none; padding: 0;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.pkg-card__features li {
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: rgba(245,245,245,0.78);
  position: relative;
  padding-left: 1.4em;
  font-weight: 300;
}
.pkg-card__features li::before {
  content: ",";
  color: var(--gold);
  position: absolute;
  left: 0;
}
.pkg-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.pkg-card__cta:hover {
  background: var(--gold);
  color: var(--bg);
}
.pkg-card--featured .pkg-card__cta {
  background: var(--gold); color: var(--bg);
}
.pkg-card--featured .pkg-card__cta:hover {
  background: var(--gold-light);
}

/* Typology chips (eventi) */
.typologies {
  padding: clamp(4rem, 7vw, 6rem) 1.5rem;
  background: var(--bg);
}
.typology-list {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2.5rem;
}
.typology-chip {
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(245,245,245,0.85);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  font-weight: 300;
}
.typology-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,97,0.04);
}

/* Client logos strip */
.clients-strip {
  padding: 3rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1200px;
  margin: 0 auto;
}
.clients-strip__label {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.68rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-bottom: 0.5rem;
}
.clients-strip__item {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  color: rgba(245,245,245,0.55);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.clients-strip__item:hover { color: var(--gold); }

/* Process steps */
.process {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  background: var(--bg);
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 800px) { .process__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .process__grid { grid-template-columns: 1fr; } }
.process-step {
  padding: 2rem 1.6rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-right: none; }
@media (max-width: 800px) {
  .process-step { border-right: 1px solid var(--border); }
  .process-step:nth-child(2n) { border-right: none; }
}
.process-step__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.process-step__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}
.process-step__desc {
  color: var(--muted); font-weight: 300; font-size: 0.88rem; line-height: 1.6;
}

/* FAQ */
.faq {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.faq__list {
  max-width: 820px;
  margin: 3rem auto 0;
}
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.2rem;
  list-style: none;
  color: var(--fg);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.5rem;
  transition: transform 0.3s var(--ease);
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Landing hero compact variant */
.hero--compact { min-height: 85vh; }
.hero--compact .hero__content { padding-bottom: 6rem; }

/* --- Hero YouTube video background --- */
.hero--video {
  overflow: hidden;
  background: var(--bg);
}
.hero--video .hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero--video .hero__video-bg iframe,
.hero--video #hero-yt-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}
@media (max-aspect-ratio: 16/9) {
  .hero--video .hero__video-bg iframe,
  .hero--video #hero-yt-player {
    width: 177.78vh;
    height: 100vh;
  }
}
.hero--video .hero__overlay {
  background: rgba(10,10,10,0.55);
}
.hero--video .hero__gradient {
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.5) 55%, rgba(10,10,10,0.92) 100%);
}

/* --- Logo sub-brand (per landing) --- */
.header__logo .logo-sub {
  display: inline-block;
  margin-right: 0.45em;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.04em;
  font-size: 0.85em;
  text-transform: none;
}

/* --- Hero target audience line --- */
.hero__target {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: rgba(245,245,245,0.72);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
@media (max-width: 640px) {
  .hero__target { font-size: 0.95rem; }
}

/* ============================
   REAL ESTATE, Price Calculator
   ============================ */

.calculator {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.calc-wrap {
  max-width: 1100px;
  margin: 2rem auto 0;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Step block */
.calc-step {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.calc-step:last-of-type { margin-bottom: 2rem; }
.calc-step__label {
  display: flex;
  align-items: baseline;
  gap: 0.65em;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--fg);
  margin-bottom: 1.4rem;
  font-weight: 400;
}
.calc-step__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-transform: none;
}
.calc-step__hint {
  color: var(--muted);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: none;
}

/* Options chip row */
.calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.calc-opt {
  padding: 0.85rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.calc-opt:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.calc-opt.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

/* Package cards */
.calc-pkgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 820px) { .calc-pkgs { grid-template-columns: 1fr; } }

.calc-pkg {
  position: relative;
  text-align: left;
  padding: 1.6rem 1.4rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  font-family: var(--font-body);
}
.calc-pkg:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.calc-pkg.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200,169,97,0.08) 0%, var(--surface) 100%);
}
.calc-pkg.active::after {
  content: "✓";
  position: absolute; top: 1rem; right: 1rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold); color: var(--bg);
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700;
}
.calc-pkg__badge {
  position: absolute; top: -0.65rem; left: 1.2rem;
  background: var(--gold); color: var(--bg);
  padding: 0.25rem 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}
.calc-pkg__label {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.calc-pkg__price {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 2rem;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.calc-pkg__desc {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.calc-pkg ul {
  list-style: none; padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}
.calc-pkg ul li {
  font-size: 0.82rem;
  color: rgba(245,245,245,0.78);
  padding: 0.26rem 0 0.26rem 1.1em;
  position: relative;
  font-weight: 300;
}
.calc-pkg ul li::before {
  content: ",";
  color: var(--gold);
  position: absolute;
  left: 0;
}

/* Add-ons */
.calc-addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
@media (max-width: 720px) { .calc-addons { grid-template-columns: 1fr; } }

.calc-addon {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.calc-addon:hover { border-color: var(--gold-dark); }
.calc-addon input { position: absolute; opacity: 0; pointer-events: none; }
.calc-addon__check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1px solid var(--border);
  border-radius: 3px;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.calc-addon input:checked ~ .calc-addon__check {
  background: var(--gold);
  border-color: var(--gold);
}
.calc-addon input:checked ~ .calc-addon__check::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.calc-addon input:checked ~ .calc-addon__body .calc-addon__name { color: var(--gold); }
.calc-addon input:checked ~ .calc-addon__price { color: var(--gold); }
.calc-addon__body {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 0.12rem;
}
.calc-addon__name {
  font-size: 0.88rem;
  color: var(--fg);
  font-weight: 400;
  transition: color 0.2s;
}
.calc-addon__desc {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 300;
}
.calc-addon__price {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--fg);
  white-space: nowrap;
  transition: color 0.2s;
}

/* Total bar */
.calc-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 1.5rem;
  background: linear-gradient(135deg, #121009 0%, var(--bg) 100%);
  border: 1px solid var(--gold);
  margin-top: 0.5rem;
}
@media (max-width: 720px) {
  .calc-total { grid-template-columns: 1fr; gap: 1.25rem; }
}
.calc-total__label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.calc-total__price {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.calc-total__note {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 0.4em;
}
.calc-total__summary {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
}
.calc-total__right {
  text-align: right;
  min-width: 240px;
}
@media (max-width: 720px) { .calc-total__right { text-align: left; } }
.calc-total__disclaimer {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
  max-width: 32ch;
  margin-left: auto;
}
@media (max-width: 720px) { .calc-total__disclaimer { margin-left: 0; } }
.calc-total .pkg-card__cta {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.calc-total .pkg-card__cta:hover {
  background: var(--gold-light);
}

/* ============================
   QUOTE REQUEST MODAL
   ============================ */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: #111;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.9rem;
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.quote-modal.is-open .quote-modal__dialog {
  transform: translateY(0) scale(1);
}

.quote-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  color: var(--fg, #fff);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.quote-modal__close:hover {
  background: rgba(200, 169, 97, 0.15);
  color: var(--gold, #c8a961);
}

.quote-modal__title {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  padding-right: 2rem;
}

.quote-modal__desc {
  color: var(--muted, rgba(255,255,255,0.65));
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.quote-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.quote-modal__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.quote-modal__form input,
.quote-modal__form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.45rem;
  padding: 0.7rem 0.85rem;
  color: var(--fg, #fff);
  font-family: inherit;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.2s, background 0.2s;
}

.quote-modal__form input:focus,
.quote-modal__form textarea:focus {
  outline: none;
  border-color: var(--gold, #c8a961);
  background: rgba(255, 255, 255, 0.06);
}

.quote-modal__form textarea {
  resize: vertical;
  min-height: 70px;
}

.quote-modal__summary {
  background: rgba(200, 169, 97, 0.06);
  border: 1px solid rgba(200, 169, 97, 0.25);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.quote-modal__summary strong {
  color: var(--gold, #c8a961);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-modal__form .pkg-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: 0.3rem;
}

.quote-modal__privacy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-top: 0.2rem;
}

/* ============================
   BEFORE / AFTER SLIDER
   ============================ */
.beforeafter {
  padding: 4rem 1.5rem 6rem;
}


.beforeafter__header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.beforeafter__title {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.beforeafter__desc {
  font-size: 1rem;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  touch-action: none;
  user-select: none;
  --pos: 50%;
  cursor: ew-resize;
  background: var(--surface);
}

.ba-slider__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider__img--after,
.ba-slider__img--before {
  position: absolute;
  inset: 0;
}

.ba-slider__img--before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.ba-slider__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold, #c8a961);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto;
  cursor: ew-resize;
}

.ba-slider:hover .ba-slider__knob,
.ba-slider.is-dragging .ba-slider__knob {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.ba-slider__label {
  position: absolute;
  bottom: 1rem;
  z-index: 3;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 400;
  pointer-events: none;
}

.ba-slider__label--before { left: 1rem; }
.ba-slider__label--after { right: 1rem; }

.ba-slider:focus-visible {
  outline: 2px solid var(--gold, #c8a961);
  outline-offset: 4px;
}

/* ============================
   REEL ZOOM (mobile, no player esterno)
   ============================ */
.showreel__reel.is-zoomed {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  margin: 0;
  background: #000;
  box-shadow: none;
}

.showreel__reel.is-zoomed video,
.showreel__reel.is-zoomed iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.showreel__reel.is-zoomed .showreel__reel-label,
.showreel__reel.is-zoomed .showreel__reel-overlay,
.showreel__reel.is-zoomed .showreel__sound-btn {
  display: none;
}

.reel-zoom-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.reel-zoom-lock .reel-zoom-close {
  display: flex;
}

.reel-zoom-close:hover {
  background: rgba(200, 169, 97, 0.7);
  transform: scale(1.08);
}

/* ============================
   WORLDS HUB, due colonne desktop, una su mobile
   ============================ */
.worlds__grid--two {
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 961px) {
  .worlds__grid--two { grid-template-columns: repeat(2, 1fr); }
}

/* ============================
   CAPABILITIES, varianti colonne
   ============================ */
@media (min-width: 961px) {
  .capabilities__grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================
   MOBILE OPTIMIZATIONS (≤640px)
   ============================ */
@media (max-width: 640px) {
  /* Container con meno padding laterale */
  .container,
  .container-lg { padding: 0 0.75rem; }

  /* Showreel: video più larghi (margini ridotti) */
  .showreel { padding: 3.5rem 0; }
  .showreel .container { padding: 0 0.5rem; }
  .showreel__grid { gap: 1rem; }
  .showreel__reel {
    max-height: none;
    border-radius: 0.5rem;
  }
  .showreel__main { border-radius: 0.5rem; }
  .showreel__photos { gap: 1rem; }

  /* Disabilita la transizione opacity dei lazy img dentro le sezioni
     (per evitare flicker su iframe/video posti accanto) */

  /* Recensioni: meno padding */
  .testimonials { padding: 3.5rem 0.75rem; }
  .testimonial-card {
    padding: 1.25rem;
    min-height: auto;
  }
  .testimonials__slide { padding: 0 0.25rem; }

  /* Contact form: meno padding */
  .contact-hub { padding: 3.5rem 0.75rem; }
  .contact-hub__form { padding: 1.25rem; }
  .contact-hub__title { margin-bottom: 0.8rem; }
  .contact-hub__desc { margin-bottom: 1.5rem; }

  /* Capabilities accordion mobile (Wedding "Per chi lavoriamo") */
  .capabilities--accordion .capabilities__grid {
    display: block !important;
    grid-template-columns: none !important;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
  }
  .capabilities--accordion .cap-card {
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 1rem 1.1rem;
    cursor: pointer;
  }
  .capabilities--accordion .cap-card:last-child {
    border-bottom: none !important;
  }
  .capabilities--accordion .cap-card__num {
    display: inline-block;
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
    color: var(--gold);
  }
  .capabilities--accordion .cap-card__title {
    margin: 0;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  .capabilities--accordion .cap-card__title::after {
    content: "+";
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  .capabilities--accordion .cap-card.is-open .cap-card__title::after {
    transform: rotate(45deg);
  }
  .capabilities--accordion .cap-card__desc {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.25s ease;
    opacity: 0;
  }
  .capabilities--accordion .cap-card.is-open .cap-card__desc {
    max-height: 400px;
    margin-top: 0.6rem;
    opacity: 1;
  }
}

/* ============================
   SERVICES-DETAIL, variante 4 colonne (desktop XL)
   ============================ */
@media (min-width: 1200px) {
  .services-detail__grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================
   REAL ESTATE, ulteriori ottimizzazioni mobile (≤640px)
   ============================ */
@media (max-width: 640px) {
  /* Services detail (tipologie di servizio): card una sotto l'altra */
  .services-detail { padding: 3rem 0.75rem; }
  .services-detail__grid { gap: 1rem; margin-top: 1.5rem; }
  .svc-card__body { padding: 1.1rem 1rem 1.25rem; }
  .svc-card__desc { font-size: 0.88rem; }
  .svc-card__media { aspect-ratio: 16/10; }

  /* Calculator (preventivo): meno padding ovunque */
  .calculator { padding: 3rem 0.5rem; }
  .calc-wrap { padding: 1.1rem 0.9rem; margin-top: 1.5rem; }
  .calc-step { margin-bottom: 1.75rem; padding-bottom: 1.5rem; }
  .calc-step__label { font-size: 0.7rem; letter-spacing: 0.18em; margin-bottom: 1rem; }
  .calc-opt { padding: 0.65rem 0.9rem; font-size: 0.82rem; }
  .calc-options { gap: 0.45rem; }
  .calc-pkg { padding: 1.1rem 1rem 1rem; }
  .calc-addon { padding: 0.85rem 0.9rem; }
  .calc-total { padding: 1rem 0; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .calc-total__right { width: 100%; text-align: left; }
  .calc-total .pkg-card__cta { width: 100%; text-align: center; }

  /* Virtual tour demo: meno margine, frame più alto */
  .vt-demo { margin-top: 2rem; }
  .vt-demo__desc { margin-bottom: 1.25rem; }
  .vt-demo__grid { gap: 1.25rem; }

  /* Sezioni che hanno spesso troppo padding verticale/laterale */
  .beforeafter,
  .process,
  .typologies,
  .faq,
  .cta { padding-left: 0.75rem; padding-right: 0.75rem; }

  /* Capabilities su real-estate (non accordion): 1 colonna pulita */
  .capabilities:not(.capabilities--accordion) { padding: 3rem 0.75rem; }

  /* Hero compatto + manifesto: meno padding */
  .manifesto { padding: 3rem 0.75rem; }
}

