/* ============================================================
   EMIREA — SISTEMA DI PRENOTAZIONE DIRETTA
   Master Creative Developer Style & Animations (Inspired by Praiano)
   Palette: Emirea Navy & Oro Sabbia · Tipografia: Cormorant & Plus Jakarta
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:             #FFFFFF;
  --bg-elevated:    #F8F6F2;
  --bg-sand-soft:   #F3EDE3;
  --bg-dark:        #122537;
  --bg-dark-deep:   #0C1926;
  --bg-dark-soft:   #1C344A;

  --text-primary:   #122537;
  --text-muted:     #5B6E80;
  --text-dim:       #8A9AA8;
  --text-light:     #E6EEF4;

  --accent:         #CDAC82;
  --accent-light:   #E2CBAD;
  --accent-hover:   #DEC09A;
  --accent-glow:    rgba(205, 172, 130, 0.25);

  --border:         rgba(18, 37, 55, 0.08);
  --border-strong:  rgba(18, 37, 55, 0.16);
  --border-dark:    rgba(255, 255, 255, 0.12);
  --loss:           #B85842;

  --display:        'Manrope', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --body:           'DM Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --sans:           var(--body);

  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.76, 0, 0.24, 1);

  --space-xs:       0.5rem;
  --space-sm:       1rem;
  --space-md:       2rem;
  --space-lg:       4rem;
  --space-xl:       6.5rem;
  --space-2xl:      10rem;

  --container:      1240px;
  --gutter:         clamp(1.5rem, 5vw, 4.5rem);
  --shadow-subtle:  0 10px 30px rgba(18, 37, 55, 0.04);
  --shadow-card:    0 20px 48px rgba(18, 37, 55, 0.07);
  --shadow-hover:   0 28px 65px rgba(18, 37, 55, 0.12);
  --shadow-dark:    0 35px 90px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* handled via inertial rAF smoothScroll */
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input[type="range"], summary {
    cursor: none;
  }
}

body.preloader-active {
  overflow: hidden;
}

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

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ============================================================
   GRAIN OVERLAY (Inspirato da Praiano Sunset Suites)
   ============================================================ */
.grain-overlay {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grain-move 0.16s steps(1) infinite;
}

@keyframes grain-move {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 1%); }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(4%, -2%); }
  50%  { transform: translate(-3%, 2%); }
  60%  { transform: translate(2%, -4%); }
  70%  { transform: translate(-4%, 1%); }
  80%  { transform: translate(1%, 3%); }
  90%  { transform: translate(-2%, -1%); }
  100% { transform: translate(0, 0); }
}

/* ============================================================
   CUSTOM CURSOR (Inspirato da Praiano Sunset Suites)
   ============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  top: 0;
  left: 0;
  opacity: 0;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--accent);
  top: 0;
  left: 0;
  opacity: 0;
  transition: width 0.35s var(--ease-out-expo),
              height 0.35s var(--ease-out-expo),
              border-color 0.3s ease,
              background-color 0.35s ease,
              transform 0.15s ease,
              opacity 0.3s ease;
}

.cursor-ring.is-hovering {
  width: 64px;
  height: 64px;
  background: rgba(205, 172, 130, 0.08);
  border-color: var(--accent-light);
}

.cursor-ring.is-clicking {
  width: 28px;
  height: 28px;
  background: rgba(205, 172, 130, 0.2);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ============================================================
   PRELOADER (Inspirato da Praiano Sunset Suites)
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  transition: transform 1.05s var(--ease-in-out);
}

#preloader.slide-out {
  transform: translateY(-100%);
}

.preloader-logo {
  width: 175px;
  height: auto;
  opacity: 0;
  transform: translateY(18px);
  animation: preloader-appear 0.9s var(--ease-out-expo) 0.2s forwards;
}

.preloader-line {
  width: 1px;
  height: 0;
  background: var(--accent);
  opacity: 0.6;
  animation: preloader-line-grow 0.95s var(--ease-out-expo) 0.5s forwards;
}

@keyframes preloader-line-grow {
  from { height: 0; opacity: 0; }
  to   { height: 44px; opacity: 0.7; }
}

.preloader-tagline {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #C6D5E1;
  text-transform: uppercase;
  opacity: 0;
  text-align: center;
  animation: preloader-appear 0.9s var(--ease-out-expo) 0.65s forwards;
}

@keyframes preloader-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   NAVBAR (Stile Luxury Scrolled & Brand)
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7000;
  padding: 1.5rem var(--gutter);
  transition: background 0.45s ease,
              backdrop-filter 0.45s ease,
              padding 0.35s ease,
              box-shadow 0.4s ease,
              border-color 0.35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(18, 37, 55, 0.08);
  box-shadow: 0 4px 28px rgba(18, 37, 55, 0.06);
}

.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-logo-light {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.navbar-logo-dark {
  display: none;
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

#navbar.scrolled .navbar-logo-light {
  display: none;
}

#navbar.scrolled .navbar-logo-dark {
  display: block;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #D3DFE8;
}

#navbar.scrolled .navbar-nav {
  color: #4A5E72;
}

.navbar-nav a {
  position: relative;
  padding: 4px 0;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
}

.navbar-nav a:hover {
  color: #FFFFFF;
}

#navbar.scrolled .navbar-nav a:hover {
  color: var(--text-primary);
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.navbar-cta {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: color 0.4s var(--ease-out-expo),
              border-color 0.4s ease,
              transform 0.28s var(--ease-out-expo),
              box-shadow 0.3s ease;
}

.navbar-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  border-radius: 999px;
}

.navbar-cta:hover {
  color: var(--bg-dark);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(205, 172, 130, 0.35);
}

.navbar-cta:hover::before {
  width: 100%;
}

#navbar.scrolled .navbar-cta {
  background: transparent;
  color: var(--bg-dark);
  border-color: rgba(18, 37, 55, 0.3);
}

#navbar.scrolled .navbar-cta:hover {
  color: var(--bg-dark);
  border-color: var(--accent);
}

/* ============================================================
   HAMBURGER & FULLSCREEN MENU (Inspirato da Praiano)
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5.5px;
  padding: 8px;
  background: transparent;
  border: none;
  z-index: 7500;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.4s var(--ease-out-expo);
}

#navbar.scrolled .hamburger span {
  background: var(--text-primary);
}

.hamburger span:nth-child(1) { width: 26px; }
.hamburger span:nth-child(2) { width: 19px; }
.hamburger span:nth-child(3) { width: 23px; }

.hamburger:hover span {
  width: 26px !important;
}

.hamburger.is-open span:nth-child(1) {
  width: 25px;
  transform: translateY(7.5px) rotate(45deg);
  background: #FFFFFF !important;
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  width: 25px;
  transform: translateY(-7.5px) rotate(-45deg);
  background: #FFFFFF !important;
}

#nav-menu {
  position: fixed;
  inset: 0;
  z-index: 6800;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-in-out), visibility 0.5s var(--ease-in-out);
}

#nav-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-menu-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.nav-menu-item {
  overflow: hidden;
}

.nav-menu-link {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.15;
  transform: translateY(115%);
  transition: transform 0.65s var(--ease-out-expo), color 0.3s ease;
}

.nav-menu-link em {
  font-style: italic;
  color: var(--accent);
}

.nav-menu-link:hover {
  color: var(--accent);
  transform: translateX(10px);
}

#nav-menu.is-open .nav-menu-link {
  transform: translateY(0);
}

#nav-menu.is-open .nav-menu-item:nth-child(1) .nav-menu-link { transition-delay: 0.08s; }
#nav-menu.is-open .nav-menu-item:nth-child(2) .nav-menu-link { transition-delay: 0.14s; }
#nav-menu.is-open .nav-menu-item:nth-child(3) .nav-menu-link { transition-delay: 0.20s; }
#nav-menu.is-open .nav-menu-item:nth-child(4) .nav-menu-link { transition-delay: 0.26s; }
#nav-menu.is-open .nav-menu-item:nth-child(5) .nav-menu-link { transition-delay: 0.32s; }
#nav-menu.is-open .nav-menu-item:nth-child(6) .nav-menu-link { transition-delay: 0.38s; }

.nav-menu-footer {
  margin-top: 3.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  transition: opacity 0.5s ease 0.45s;
}

#nav-menu.is-open .nav-menu-footer {
  opacity: 1;
}

/* ============================================================
   CONTAINER & SECTION UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-kicker {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #8C6A43;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.section-kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.section-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.section-title em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   SCROLL REVEAL (Inspirato da Praiano)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.1s var(--ease-out-expo),
              transform 1.1s var(--ease-out-expo);
  will-change: opacity, transform;
}

[data-reveal="left"] { transform: translateX(-35px); }
[data-reveal="right"] { transform: translateX(35px); }
[data-reveal="scale"] { transform: scale(0.95); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   BUTTONS (Animazione a riempimento ispirata a Praiano)
   ============================================================ */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.28s var(--ease-out-expo),
              color 0.4s var(--ease-out-expo),
              border-color 0.4s ease,
              box-shadow 0.28s ease;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

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

.btn:hover::before {
  width: 100%;
}

/* Pulsante Accento (Oro Sabbia) che si riempie in Navy */
.btn-accent {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(205, 172, 130, 0.28);
}

.btn-accent::before {
  background: var(--bg-dark);
}

.btn-accent:hover {
  color: #FFFFFF;
  border-color: var(--bg-dark);
  box-shadow: 0 14px 38px rgba(18, 37, 55, 0.35);
}

/* Pulsante Dark (Navy) che si riempie in Oro Sabbia */
.btn-dark {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
  box-shadow: 0 12px 28px rgba(18, 37, 55, 0.16);
}

.btn-dark::before {
  background: var(--accent);
}

.btn-dark:hover {
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(205, 172, 130, 0.4);
}

/* Pulsante Outline Light che si riempie in Oro Sabbia */
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.btn-outline::before {
  background: var(--accent);
}

.btn-outline:hover {
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(205, 172, 130, 0.3);
}

/* Pulsante Outline Dark che si riempie in Navy */
.btn-outline-dark {
  background: transparent;
  border-color: rgba(18, 37, 55, 0.25);
  color: var(--text-primary);
}

.btn-outline-dark::before {
  background: var(--bg-dark);
}

.btn-outline-dark:hover {
  color: #FFFFFF;
  border-color: var(--bg-dark);
  box-shadow: 0 10px 28px rgba(18, 37, 55, 0.2);
}

.btn svg, .btn .arrow {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
  position: relative;
  z-index: 2;
}

.btn:hover .arrow {
  transform: translate(3px, -3px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 820px;
  position: relative;
  isolation: isolate;
  color: #FFFFFF;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 165px 0 110px;
}





.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(205, 172, 130, 0.35);
  border-radius: 999px;
  color: #F1DEC7;
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  background: rgba(205, 172, 130, 0.08);
  margin-bottom: 28px;
}

.hero-tag span {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  font-style: italic;
  color: var(--accent);
  position: relative;
}

.hero-lead {
  font-size: 1.08rem;
  color: #D4E1EC;
  line-height: 1.8;
  max-width: 530px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-under {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #BCCBD7;
  font-size: 0.8rem;
  margin-top: 40px;
}

.mini-avatars {
  display: flex;
}

.mini-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -9px;
  display: grid;
  place-items: center;
  color: var(--bg-dark);
  font-size: 0.65rem;
  font-weight: 800;
  background: #A4B8C9;
}

.mini-avatars span:first-child { margin-left: 0; background: #C5D4E0; }
.mini-avatars span:nth-child(2) { background: #E2D3BF; }
.mini-avatars span:nth-child(3) { background: var(--accent); }

/* Hero Visual Stage */
.hero-stage {
  height: 550px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}

.orbit {
  position: absolute;
  width: 530px;
  height: 530px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit::before {
  content: '';
  position: absolute;
  inset: 48px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.mock-browser {
  position: relative;
  width: 440px;
  transform: rotate(-3deg);
  border-radius: 20px;
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: mock-float 8s ease-in-out infinite;
}

@keyframes mock-float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-1.5deg) translateY(-12px); }
}

.browser-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid #E6ECF1;
  background: #F9FAFB;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  height: 8px;
  width: 8px;
  background: #D5DDE3;
  border-radius: 50%;
}

.window-dots i:first-child { background: #F69D84; }
.window-dots i:nth-child(2) { background: #E8C170; }

.browser-url {
  font-family: var(--sans);
  font-size: 0.62rem;
  color: #798C9B;
  letter-spacing: 0.05em;
}

.demo-nav {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}

.demo-logo {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #1A3854;
}

.demo-nav small {
  font-size: 0.65rem;
  font-weight: 600;
  color: #6A7D90;
}

.property-photo {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #C4D3DE;
}

.photo-label {
  position: absolute;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  color: #FFFFFF;
  font-family: var(--display);
  font-size: 1.6rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.photo-caption {
  position: absolute;
  bottom: 8px;
  left: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.book-demo {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin: 18px 20px 22px;
}

.book-field {
  flex: 1;
  background: #F1F4F7;
  border-radius: 9px;
  padding: 9px 12px;
  min-width: 0;
}

.book-field span {
  display: block;
  color: #6C7F91;
  font-size: 0.55rem;
  margin-bottom: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.book-field strong {
  font-size: 0.76rem;
  white-space: nowrap;
  color: #122537;
}

.book-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 9px;
  padding: 13px 14px;
  white-space: nowrap;
  background: #1A3854;
  color: #FFFFFF;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  border: 0;
  transition: color 0.35s ease, transform 0.25s ease;
}

.book-button::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.book-button:hover {
  color: var(--bg-dark);
  transform: translateY(-1px);
}

.book-button:hover::before {
  width: 100%;
}

/* Floating Badges */
.float-card {
  position: absolute;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
  background: #FFFFFF;
  color: #122537;
  z-index: 4;
}

.float-top {
  top: 45px;
  right: -8px;
  padding: 16px 18px;
  width: 175px;
  transform: rotate(7deg);
  animation: float-badge-top 6s ease-in-out infinite;
}

@keyframes float-badge-top {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50%      { transform: rotate(8deg) translateY(-8px); }
}

.float-top .pill {
  width: 36px;
  height: 36px;
  background: #F6EEE2;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #8C673E;
  margin-bottom: 8px;
  font-weight: 700;
}

.float-top p {
  font-size: 0.68rem;
  color: #6B7E90;
  margin: 0 0 2px;
}

.float-top strong {
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.float-bottom {
  bottom: 26px;
  left: -35px;
  padding: 16px 18px;
  display: flex;
  gap: 13px;
  align-items: center;
  width: 235px;
  transform: rotate(4deg);
  animation: float-badge-bottom 7s ease-in-out infinite -2s;
}

@keyframes float-badge-bottom {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50%      { transform: rotate(3deg) translateY(-8px); }
}

.float-bottom-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--bg-dark);
  font-size: 1.3rem;
  font-weight: bold;
}

.float-bottom small {
  color: #728495;
  font-size: 0.62rem;
  display: block;
}

.float-bottom strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--text-primary);
}

/* ============================================================
   TICKER (Luxury Marquee Banner)
   ============================================================ */
.ticker {
  background: var(--accent);
  color: #172F47;
  overflow: hidden;
  padding: 18px 0;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ticker-run {
  display: flex;
  gap: 48px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}

.ticker-run span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.ticker-run b {
  font-size: 0.9rem;
  opacity: 0.6;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   PROBLEM SECTION (#problema)
   ============================================================ */
.problem {
  padding: var(--space-xl) 0;
  background: var(--bg-elevated);
}

.problem-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 50px;
}

.problem-header h2 {
  margin-top: 14px;
}

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

.pain-card {
  min-height: 250px;
  padding: 32px 30px;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.pain-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.pain-card.wide {
  grid-column: span 2;
  background: var(--bg-dark);
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
  border-color: rgba(255, 255, 255, 0.08);
}

.pain-card.wide:hover {
  border-color: var(--accent);
}

.pain-card h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
  color: var(--text-primary);
}

.pain-card.wide h3 {
  color: #FFFFFF;
}

.pain-card p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.pain-card.wide p {
  color: #C5D5E2;
}

.pain-card .card-num {
  font-family: var(--sans);
  font-size: 0.65rem;
  color: #798D9F;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.pain-card .big-figure {
  font-family: var(--display);
  font-size: 3.8rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--loss);
  margin: 14px 0 4px;
}

.pain-card .big-figure span {
  font-size: 1.7rem;
  vertical-align: top;
}

.mini-spend {
  position: relative;
  height: 120px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0 0 28px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.mini-spend .bar {
  width: 28%;
  border-radius: 8px 8px 0 0;
  background: #476682;
  height: 100%;
  display: grid;
  place-items: end center;
  padding-bottom: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #FFFFFF;
}

.mini-spend .bar:nth-child(2) {
  height: 76%;
  background: #9BB0C1;
}

.mini-spend .bar:nth-child(3) {
  height: 48%;
  background: var(--accent);
  color: var(--bg-dark);
}

.problem-footer {
  text-align: center;
  margin-top: 36px;
  color: #7C8F9F;
  font-size: 0.74rem;
  line-height: 1.6;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}

/* ============================================================
   SOLUTION SECTION (#soluzione)
   ============================================================ */
.solution {
  padding: var(--space-xl) 0;
  background: #FFFFFF;
}

.solution-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}

.solution-top h2 {
  margin-top: 14px;
  max-width: 680px;
}

.solution-top p {
  max-width: 360px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.service-card {
  min-height: 350px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--bg-elevated);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s ease,
              background-color 0.35s ease,
              border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: #FFFFFF;
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.service-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: #7B8F9F;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #F3ECE2;
  display: grid;
  place-items: center;
  color: #8C6A43;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.service-bottom {
  margin-top: auto;
  padding-top: 26px;
  font-family: var(--sans);
  font-size: 0.68rem;
  color: #7C5C36;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Method Strip */
.method {
  margin-top: 56px;
  border-radius: 24px;
  background: var(--bg-sand-soft);
  border: 1px solid rgba(205, 172, 130, 0.4);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.method-title {
  flex: 1.2;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
}

.method-steps {
  display: flex;
  justify-content: space-between;
  flex: 2.8;
  gap: 16px;
  align-items: center;
}

.method-steps span {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #274057;
  white-space: nowrap;
}

.method-steps b {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 400;
}

/* ============================================================
   SIMULATOR SECTION (#simulatore)
   ============================================================ */
.calculator {
  background: var(--bg-dark);
  padding: var(--space-xl) 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.calculator::before {
  content: '';
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: #507596;
  filter: blur(140px);
  opacity: 0.28;
  right: -200px;
  top: 40px;
  pointer-events: none;
}

.calc-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 75px;
  align-items: center;
  position: relative;
}

.calculator h2 {
  margin-top: 14px;
  max-width: 500px;
  color: #FFFFFF;
}

.calculator .calc-intro {
  color: #CAD7E2;
  line-height: 1.8;
  font-size: 1.02rem;
  margin-top: 20px;
  font-weight: 300;
}

.calc-note {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  color: #B9CAD6;
  font-size: 0.78rem;
  line-height: 1.7;
  margin-top: 36px;
}

.calc-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: #FFFFFF;
  color: var(--text-primary);
  padding: 38px 40px;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.35);
}

.calc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.calc-card-header h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.calc-tag {
  padding: 7px 13px;
  border-radius: 999px;
  background: #F5EFE5;
  color: #795730;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.range-row {
  margin-bottom: 24px;
}

.range-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.range-meta output {
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
  color: #122537;
}

/* Range Input Styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 20px;
  background: #E4EBF1;
  outline: none;
  cursor: pointer;
  accent-color: var(--accent);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3.5px solid #F5EBD9;
  box-shadow: 0 2px 8px rgba(18, 37, 55, 0.3);
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3.5px solid #F5EBD9;
}

.calc-result {
  border-radius: 18px;
  background: #F4EBDD;
  padding: 26px 28px;
  margin-top: 28px;
}

.result-heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #795730;
}

.result-number {
  font-family: var(--display);
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.1;
  font-weight: 500;
  margin: 8px 0 6px;
  color: #122537;
  font-variant-numeric: tabular-nums;
}

.result-description {
  font-size: 0.78rem;
  color: #62594D;
  line-height: 1.6;
}

.calc-disclaimer {
  font-size: 0.65rem;
  color: #7A8E9E;
  line-height: 1.65;
  margin-top: 16px;
}

/* ============================================================
   DIFFERENTIATOR SECTION (#differenza)
   ============================================================ */
.differentiator {
  padding: var(--space-xl) 0;
  background: var(--bg-elevated);
}

.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.difference-visual {
  height: 440px;
  background: #E2EAEF;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}



.difference-inner {
  width: 370px;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.journey {
  padding: 20px 24px;
  background: #FFFFFF;
  border-radius: 16px;
  margin: 12px 0;
  box-shadow: 0 14px 28px rgba(18, 37, 55, 0.08);
  display: flex;
  align-items: center;
  gap: 18px;
  transform: rotate(-3deg);
  transition: transform 0.35s ease;
}

.journey:hover {
  transform: rotate(0) scale(1.02);
}

.journey:nth-child(2) {
  transform: translateX(25px) rotate(2deg);
}

.journey:nth-child(2):hover {
  transform: translateX(25px) rotate(0) scale(1.02);
}

.journey:nth-child(3) {
  transform: rotate(-1.5deg);
}

.journey:nth-child(3):hover {
  transform: rotate(0) scale(1.02);
}

.journey-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #F4EBDD;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.88rem;
  color: #846034;
  flex-shrink: 0;
}

.journey strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.journey small {
  display: block;
  font-size: 0.72rem;
  color: #6C7F90;
  margin-top: 3px;
}

.difference-copy h2 {
  margin-top: 14px;
}

.difference-copy > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 18px;
}

.difference-list {
  padding: 0;
  margin: 28px 0 38px;
  display: grid;
  gap: 16px;
}

.difference-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.difference-list li span {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.05rem;
}

/* ============================================================
   FAQ SECTION (#faq)
   ============================================================ */
.faq {
  padding: var(--space-xl) 0;
  background: #FFFFFF;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.faq h2 {
  margin-top: 14px;
}

.faq-intro {
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 360px;
  margin-top: 18px;
  font-size: 0.98rem;
}

.faq-items {
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  transition: background-color 0.25s ease;
}

summary {
  list-style: none;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  padding-right: 36px;
  position: relative;
  line-height: 1.45;
  color: var(--text-primary);
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: '−';
}

details p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 16px 36px 4px 0;
}

/* ============================================================
   BOOK PANEL SECTION (#videochiamata)
   ============================================================ */
.book-section {
  padding: 0 0 var(--space-lg);
  background: #FFFFFF;
}

.book-panel {
  background: var(--bg-dark);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 76px 72px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 40px;
  box-shadow: 0 35px 90px rgba(18, 37, 55, 0.2);
}

.book-panel::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -200px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  border: 65px solid rgba(205, 172, 130, 0.14);
  pointer-events: none;
}

.book-panel::after {
  content: '';
  position: absolute;
  right: 170px;
  bottom: -240px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(205, 172, 130, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.book-panel > div {
  position: relative;
  z-index: 1;
}

.book-panel h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  font-weight: 300;
  line-height: 1.12;
  margin: 16px 0 16px;
  color: #FFFFFF;
}

.book-panel h2 span {
  font-style: italic;
  color: var(--accent);
}

.book-panel p {
  font-size: 1.05rem;
  color: #CFDCE6;
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
  font-weight: 300;
}

.book-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.book-action .btn {
  min-width: 290px;
}

.book-action small {
  font-size: 0.72rem;
  color: #B2C4D2;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #F4F3EF;
  border-top: 1px solid rgba(18, 37, 55, 0.06);
  padding: 42px 0;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

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

.footer-logo-img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.75rem;
  color: #728496;
}

.footer-note {
  text-align: right;
  line-height: 1.65;
  font-size: 0.72rem;
  color: #798C9D;
}

/* ============================================================
   MODAL (Accessible & Luxury)
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 40, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99995;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.modal {
  position: relative;
  border-radius: 24px;
  background: #FFFFFF;
  color: var(--text-primary);
  width: min(500px, 100%);
  padding: 40px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s var(--ease-out-expo);
}

.modal-backdrop.show .modal {
  transform: translateY(0) scale(1);
}

.modal h3 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
  color: var(--text-primary);
}

.modal p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

.modal code {
  color: #7E5B32;
  background: #F4EBDD;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  background: #F2EFEA;
  border: 0;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--accent);
  color: var(--bg-dark);
  transform: rotate(90deg);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1080px) {
  .navbar-nav { gap: 1.5rem; }
  .hero-grid { gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .method { flex-direction: column; align-items: stretch; }
  .method-steps { flex-wrap: wrap; gap: 14px; }
  .calc-grid { gap: 40px; }
  .difference-grid { gap: 40px; }
  .faq-grid { gap: 40px; }
}

@media (max-width: 820px) {
  .navbar-nav { display: none; }
  .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero {
    padding: 130px 0 70px;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.6rem);
  }
  .hero-stage {
    height: 420px;
    scale: 0.85;
    margin: -10px auto;
  }

  .problem-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .pain-card.wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .mini-spend { display: none; }

  .solution-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .calc-card {
    padding: 28px 24px;
  }

  .difference-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .difference-visual {
    height: 340px;
    order: 2;
  }
  .difference-copy {
    order: 1;
  }

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

  .book-panel {
    padding: 44px 28px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book-action {
    align-items: stretch;
  }
  .book-action .btn {
    min-width: 0;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-note {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-stage {
    height: 350px;
    scale: 0.68;
    margin: -25px -50px -50px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section-cta .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .method-steps b {
    display: none;
  }
  .modal {
    padding: 28px 22px;
  }
}

/* ============================================================
   PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .grain-overlay {
    animation: none !important;
  }
}
