/* ============================================
   HADO - Natural Bioenergetic
   Design System & Global Styles
   ============================================ */

/* Custom Fonts */
@font-face {
  font-family: "Armstrong";
  src: url("../fonts/Armstrong-Extrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Armstrong";
  src: url("../fonts/Armstrong.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  /* Colors */
  --color-bg-dark: #000000;
  --color-bg: #050505;
  --color-bg-mid: #0a0a0a;
  --color-bg-light: #111111;

  --color-gold: #c9a227;
  --color-gold-light: #e8c97a;
  --color-gold-dark: #a68523;

  --color-white: #ffffff;
  --color-text: #c8d4e6;
  --color-text-muted: #8a9bb5;

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-heading: "Armstrong", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-width: 1280px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-weight: 800;
  line-height: 1;
}

/* Particles Background - above videos, below content */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Section-specific particles */
.particles-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.benefits-section {
  position: relative;
  overflow: hidden;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}
h4 {
  font-size: 1.125rem;
}

p {
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

/* Glass Card Effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  position: relative;
  background: linear-gradient(
    135deg,
    #c9a227 0%,
    #f0d77c 25%,
    #c9a227 50%,
    #a68523 75%,
    #c9a227 100%
  );
  background-size: 200% 200%;
  animation: gold-bg-shimmer 4s linear infinite;
  color: var(--color-bg-dark);
  font-weight: 600;
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 80%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: none;
}

.btn-primary:hover {
  transform: scale(1.03) perspective(500px) rotateX(2deg);
  box-shadow:
    0 8px 30px rgba(201, 162, 39, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    135deg,
    #d4af37 0%,
    #f5e19c 30%,
    #d4af37 50%,
    #b8960c 70%,
    #d4af37 100%
  );
  background-size: 200% 200%;
}

.btn-primary:hover::before {
  animation: gold-shine-pass 0.8s ease-in-out;
}

@keyframes gold-bg-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-outline {
  background: transparent;
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--color-gold-light);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 1rem;
}

.btn svg,
.btn [data-lucide] {
  width: 20px;
  height: 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 80px;
  width: auto;
  transition: var(--transition-base);
}

.logo:hover .logo-img {
  opacity: 0.9;
}

.navbar.scrolled .logo-img {
  height: 38px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  font-size: 0.9rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: var(--transition-base);
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 10px 20px;
  background: black;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-sm);
}

.phone-label {
  font-size: 0.65rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.phone-number {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 0.05em;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 24px 80px;
  text-align: center;
  overflow: hidden;
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

/* Mobile/Desktop video switching */
.hero-video-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-video-mobile {
    display: block;
  }
  .hero-video-desktop {
    display: none;
  }
}

/* Hero Overlay - dark with gold tint */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  margin-bottom: 32px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
}

.hero-title {
  margin-bottom: 24px;
  background: linear-gradient(
    90deg,
    #c9a227 0%,
    #f0d77c 25%,
    #c9a227 50%,
    #a68523 75%,
    #c9a227 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    hero-title-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    gold-shimmer 4s linear 1.2s infinite;
  filter: drop-shadow(0 2px 15px rgba(201, 162, 39, 0.4));
  opacity: 0;
}

/* Hero title lines - customize font-weight and spacing */
.hero-line {
  display: block;
}

.hero-line-1 {
  font-weight: 700;
}

.hero-line.hero-line-1 {
  font-size: 50px;
  margin-bottom: 0px;
  margin-top: 1rem;
}

.hero-line-2 {
  font-weight: 300;
}

.hero-line.hero-line-2 {
  font-size: 48px;
  margin-bottom: 0px;
}

.hero-line-3 {
  font-weight: 700;
}

.hero-line.hero-line-3 {
  font-size: 42px;
  margin-bottom: 1rem;
}

/* Hero Lines - Tablet */
@media (max-width: 768px) {
  .hero-line.hero-line-1 {
    font-size: 30px;
  }
  .hero-line.hero-line-2 {
    font-size: 29px;
  }
  .hero-line.hero-line-3 {
    font-size: 25px;
  }
}

/* Hero Lines - Mobile */
@media (max-width: 480px) {
  .hero-line.hero-line-1 {
    font-size: 24px;
  }
  .hero-line.hero-line-2 {
    font-size: 23px;
  }
  .hero-line.hero-line-3 {
    font-size: 20px;
  }
}

@keyframes hero-title-entrance {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
    filter: drop-shadow(0 2px 15px rgba(201, 162, 39, 0));
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 2px 30px rgba(201, 162, 39, 0.6));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 2px 15px rgba(201, 162, 39, 0.4));
  }
}

@keyframes gold-shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0;
  animation: hero-subtitle-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s
    forwards;
}

@keyframes hero-subtitle-entrance {
  0% {
    opacity: 0;
    transform: translateY(-80px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(10px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.hero-cta .btn:first-child {
  opacity: 0;
  animation: cta-from-left 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.hero-cta .btn:last-child {
  opacity: 0;
  animation: cta-from-right 1s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

@keyframes cta-from-left {
  0% {
    opacity: 0;
    transform: translateX(-60px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateX(8px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes cta-from-right {
  0% {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateX(-8px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 28px 48px;
  opacity: 0;
  animation: stats-from-depth 1.2s cubic-bezier(0.16, 1, 0.3, 1) 3s forwards;
}

@keyframes stats-from-depth {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(10px);
  }
  50% {
    opacity: 0.7;
    filter: blur(2px);
  }
  80% {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.stat {
  text-align: center;
  padding: 0 32px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--color-gold) 50%,
    transparent 100%
  );
  opacity: 0.4;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
  z-index: 3;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  padding: var(--section-padding) 0;
  z-index: 3;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: #000;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

/* ============================================
   WAVE DIVIDER
   ============================================ */
.wave-divider {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 3;
}

.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  min-height: 80px;
  max-height: 150px;
}

.wave {
  fill: var(--color-gold);
}

.wave-1 {
  opacity: 0.35;
  animation: wave-move 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-2 {
  opacity: 0.25;
  animation: wave-move 20s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite reverse;
}

.wave-3 {
  opacity: 0.15;
  animation: wave-move 15s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-4 {
  opacity: 0.08;
  animation: wave-move 10s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite reverse;
}

@keyframes wave-move {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .wave-divider {
    height: 80px;
  }

  .waves {
    min-height: 50px;
    max-height: 100px;
  }
}

/* ============================================
   GLASS SECTIONS (Alternating)
   ============================================ */
.section-glass {
  position: relative;
  background: transparent;
}

/* Glass background panel */
.section-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(201, 162, 39, 0.03) 0%,
    rgba(201, 162, 39, 0.06) 50%,
    rgba(201, 162, 39, 0.03) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: -1;
}

/* Subtle golden glow */
.section-glass::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 162, 39, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* Enhanced glass cards in glass sections */
.section-glass .glass-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-glass .glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 162, 39, 0.25);
}

/* Glass sections - all cards dark with subtle gold accent */
.section-glass .number-card,
.section-glass .step {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.30) 100%
  );
  border-color: rgba(201, 162, 39, 0.25);
}

/* ============================================
   NUMBERS SECTION
   ============================================ */
.numbers-section {
  /* Styles defined in section-glass */
}

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

.number-card {
  padding: 48px 32px;
  text-align: center;
  transition: var(--transition-base);
}

.number-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.3);
}


.number-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
}

.number-icon svg,
.number-icon [data-lucide] {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
}

.number-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.number-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.number-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
  position: relative;
  overflow: hidden;
  z-index: 3;
}

/* Benefits Video Background */
.section-video {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 0;
  overflow: hidden;
}

.section-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Overlay - dark with subtle gold */
.section-overlay {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

/* Particles over video and overlay */
.benefits-section .particles-section-bg {
  z-index: 2;
}

/* Content over everything */
.benefits-section .container {
  position: relative;
  z-index: 4;
}

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

.benefit-card {
  padding: 40px 32px;
  transition: var(--transition-base);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.2);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.15) 0%,
    rgba(201, 162, 39, 0.05) 100%
  );
  border-radius: var(--radius-md);
}

.benefit-icon svg,
.benefit-icon [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.benefits-cta {
  text-align: center;
  margin-top: 48px;
}

@keyframes gold-shine-pass {
  0% {
    left: -100%;
  }
  100% {
    left: 150%;
  }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
  /* Styles defined in section-glass */
}

/* How Section Animations */
.how-section .section-title {
  opacity: 0;
  transform: translateY(60px);
}

.how-section .section-subtitle {
  opacity: 0;
  transform: translateX(-60px);
}

.how-section .step {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
}

.how-section.in-view .section-title {
  animation: how-title-entrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.how-section.in-view .section-subtitle {
  animation: how-subtitle-entrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s
    forwards;
}

.how-section.in-view .step:nth-child(1) {
  animation: how-card-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.how-section.in-view .step:nth-child(3) {
  animation: how-card-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
}

.how-section.in-view .step:nth-child(5) {
  animation: how-card-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}

@keyframes how-title-entrance {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes how-subtitle-entrance {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  60% {
    opacity: 1;
    transform: translateX(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes how-card-entrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 360px;
  padding: 32px;
  padding-top: 80px;
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-gold-light);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.step-content {
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-gold-light);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-gold) 0%,
    rgba(201, 162, 39, 0.2) 100%
  );
}

/* ============================================
   MADE IN ITALY SECTION
   ============================================ */
.italy-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding: 64px;
  align-items: center;
}

.italy-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.italy-text > p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.italy-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.italy-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.italy-features li span {
  color: var(--color-white);
}

.italy-features svg,
.italy-features [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.italy-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.italy-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
}

.flag-colors {
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(
    90deg,
    #009246 0%,
    #009246 33.33%,
    #ffffff 33.33%,
    #ffffff 66.66%,
    #ce2b37 66.66%,
    #ce2b37 100%
  );
}

.qr-code-img {
  width: 250px;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  padding: 80px 64px;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.1) 0%,
    rgba(201, 162, 39, 0.02) 100%
  );
  border-color: rgba(201, 162, 39, 0.2);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--color-text-muted);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-gold-light);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact svg,
.footer-contact [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.view-counter-fixed {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 9998;
  border: 1px solid rgba(255,255,255,0.15);
}

.view-counter-fixed svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 768px) {
  .view-counter-fixed {
    bottom: 24px;
    left: 12px;
    font-size: 0.65rem;
    padding: 6px 10px;
  }
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-legal a:hover {
  color: var(--color-gold-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-stats {
    padding: 24px 32px;
  }

  .stat {
    padding: 0 24px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .steps-container {
    flex-direction: column;
    gap: 24px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(
      180deg,
      var(--color-gold) 0%,
      rgba(201, 162, 39, 0.2) 100%
    );
  }

  .italy-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .italy-features {
    grid-template-columns: 1fr;
    justify-items: center;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 32px;
  }

  .stat {
    padding: 0;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--color-gold) 50%,
      transparent 100%
    );
  }

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

  .italy-content {
    padding: 40px 24px;
  }

  .italy-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
  }

  .italy-text h2 {
    font-size: 1.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .italy-text > p {
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .step.glass-card {
    min-height: 265px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
  }

  .cta-content {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .logo {
    display: block;
    margin: 0 auto;
  }

  .footer-brand p {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

}

@media (max-width: 480px) {
  .btn {
    padding: 14px 24px;
    font-size: 0.85rem;
  }

  .hero-badge {
    padding: 10px 16px;
    font-size: 0.7rem;
  }

  .number-card,
  .benefit-card {
    padding: 32px 24px;
  }

  .step {
    padding: 32px 20px;
  }

  .italy-text h2 {
    font-size: 1.5rem;
  }

  .italy-text > p {
    font-size: 0.9rem;
  }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 9998;
}

/* Forza il menu mobile fuori da qualsiasi stacking context */
body.menu-open .nav-menu.active,
body.menu-open .hamburger.active {
  transform: none !important;
  will-change: auto;
}

.nav-menu.active a {
  font-size: 1.5rem;
}

.hamburger.active {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 9999;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  transition:
    transform var(--transition-base),
    filter var(--transition-base);
}

.whatsapp-float img {
  width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(37, 211, 102, 0.4));
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float:hover img {
  filter: drop-shadow(0 6px 20px rgba(37, 211, 102, 0.6));
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 150px;
  }
}

/* ============================================
   PAGE HEADER (Internal Pages)
   ============================================ */
.page-header {
  position: relative;
  padding: 180px 24px 100px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(201, 162, 39, 0.08) 0%,
    transparent 100%
  );
  z-index: 3;
}

.page-header h1 {
  margin-bottom: 16px;
  background: linear-gradient(
    90deg,
    #c9a227 0%,
    #f0d77c 50%,
    #c9a227 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-shimmer 4s linear infinite;
}

.page-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

/* ============================================
   BENEFITS PAGE
   ============================================ */
.benefits-page-section {
  padding-top: 40px;
}

.benefits-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefits-full-grid .benefit-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
}

.benefits-full-grid .benefit-icon {
  flex-shrink: 0;
}

.benefits-full-grid .benefit-content h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.benefits-full-grid .benefit-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.benefits-full-grid .benefit-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .benefits-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .benefits-full-grid {
    grid-template-columns: 1fr;
  }

  .benefits-full-grid .benefit-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ============================================
   MATERIALS PAGE
   ============================================ */
.materials-section {
  padding-top: 40px;
}

.materials-category {
  margin-bottom: 48px;
}

.category-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.material-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
}

.material-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.material-icon svg,
.material-icon [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.material-info {
  flex: 1;
}

.material-info h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 4px;
}

.material-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.no-materials {
  text-align: center;
  padding: 80px 40px;
  max-width: 500px;
  margin: 0 auto;
}

.no-materials-icon {
  margin-bottom: 24px;
}

.no-materials-icon svg,
.no-materials-icon [data-lucide] {
  width: 64px;
  height: 64px;
  color: var(--color-gold);
  opacity: 0.5;
}

.no-materials h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.no-materials p {
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.8rem;
}

/* ============================================
   AUTH SECTION (Login/Registrazione)
   ============================================ */
.auth-container {
  max-width: 900px;
  margin: 0 auto;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.auth-card {
  padding: 40px;
}

.auth-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.auth-card h2 svg,
.auth-card h2 [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.auth-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-form .form-group {
  gap: 6px;
}

.auth-form .btn-block {
  margin-top: 8px;
}

.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-row-half {
    grid-template-columns: 1fr;
  }
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.auth-links {
  text-align: center;
  margin-top: 8px;
}

.auth-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-decoration: underline;
  transition: var(--transition-base);
}

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

/* User Bar (logged in) */
.user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  margin-bottom: 32px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
}

.user-info svg,
.user-info [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.user-info strong {
  color: var(--color-white);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding-top: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-wrapper {
  padding: 48px;
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Honeypot field */
.hp-field {
  position: absolute;
  left: -9999px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: 16px 20px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-white);
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.05);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ef4444;
}

.form-group .error-message {
  font-size: 0.8rem;
  color: #ef4444;
}

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

.form-group-checkbox {
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--color-gold);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--color-gold-light);
}

.form-group-checkbox .error-message {
  margin-left: 32px;
}

/* Alerts */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.alert svg,
.alert [data-lucide] {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  padding: 32px;
  text-align: center;
}

.info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
}

.info-icon svg,
.info-icon [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.info-card h3 {
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.info-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 8px;
}

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

.info-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.info-card-cta {
  text-decoration: none;
  border: 1px solid rgba(201, 162, 39, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.info-card-cta:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.15);
}

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

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .contact-info {
    flex-direction: column;
  }

  .page-header {
    padding: 140px 24px 60px;
  }
}

/* ============================================
   REVIEWS SLIDER
   ============================================ */
.reviews-section {
  position: relative;
  overflow: hidden;
}

.reviews-slider-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.reviews-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc(100% - 48px);
  max-width: 500px;
  min-width: 300px;
  scroll-snap-align: center;
  padding: 40px;
  text-align: center;
  margin: 0 auto;
}

.review-quote {
  margin-bottom: 20px;
}

.review-quote svg,
.review-quote [data-lucide] {
  width: 40px;
  height: 40px;
  color: var(--color-gold);
  opacity: 0.5;
}

.review-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 24px;
  font-style: italic;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.review-stars svg,
.review-stars [data-lucide] {
  width: 20px;
  height: 20px;
}

.review-stars .star-filled {
  color: #f59e0b;
  fill: #f59e0b;
}

.review-stars .star-empty {
  color: var(--color-text-muted);
  opacity: 0.3;
}

.review-author {
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.review-name {
  font-weight: 600;
  color: var(--color-white);
  font-size: 1rem;
}

/* Navigation */
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.reviews-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.reviews-nav-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #000;
}

.reviews-nav-btn svg,
.reviews-nav-btn [data-lucide] {
  width: 24px;
  height: 24px;
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: var(--transition-base);
}

.reviews-dot.active {
  background: var(--color-gold);
  transform: scale(1.2);
}

/* Responsive */
@media (min-width: 768px) {
  .review-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .review-card {
    flex: 0 0 calc(50% - 12px);
    max-width: 480px;
  }
}

@media (max-width: 600px) {
  .review-card {
    flex: 0 0 100%;
    padding: 30px 24px;
  }

  .review-text {
    font-size: 1rem;
  }

  .reviews-nav-btn {
    width: 40px;
    height: 40px;
  }
}

/* Google Reviews Link - Stile sobrio */
.reviews-google-link {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.reviews-google-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.reviews-google-link a:hover {
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.08);
}

.reviews-google-link svg,
.reviews-google-link [data-lucide] {
  width: 16px;
  height: 16px;
}

.reviews-google-link a:hover svg:first-child {
  fill: var(--color-gold);
}

/* ============================================
   LEGAL PAGES (Privacy, Cookie Policy)
   ============================================ */
.legal-section {
  padding-top: 40px;
}

.legal-content {
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.legal-block h3 {
  font-size: 1rem;
  color: var(--color-white);
  margin: 20px 0 12px;
}

.legal-block p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-block ul {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 12px 0;
  padding-left: 24px;
}

.legal-block li {
  margin-bottom: 8px;
}

.legal-block a {
  color: var(--color-gold);
  text-decoration: underline;
}

.legal-block a:hover {
  color: var(--color-gold-light);
}

.legal-footer {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Cookie Table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.875rem;
}

.cookie-table th,
.cookie-table td {
  padding: 12px;
  text-align: left;
  border: 1px solid var(--glass-border);
}

.cookie-table th {
  background: rgba(201, 162, 39, 0.1);
  color: var(--color-gold);
  font-weight: 500;
}

.cookie-table td {
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .legal-content {
    padding: 24px;
  }

  .cookie-table {
    font-size: 0.75rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 8px;
  }
}

/* ============================================
   COOKIE BANNER (GDPR)
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-white);
}

.cookie-banner-text p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.cookie-banner-text .cookie-links {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.cookie-banner-text .cookie-links a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-banner-text .cookie-links a:hover {
  color: var(--color-gold-light);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Pannello personalizzazione */
.cookie-customize-panel {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
}

.cookie-category {
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-info strong {
  color: var(--color-white);
  font-size: 0.9375rem;
}

.cookie-required {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-gold);
  margin-left: 8px;
}

.cookie-category p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
  padding-left: 60px;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  transition: var(--transition-base);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition-base);
}

.cookie-toggle input:checked + .toggle-slider {
  background: var(--color-gold);
}

.cookie-toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-customize-actions {
  margin-top: 20px;
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-category p {
    padding-left: 0;
    margin-top: 8px;
  }
}

/* ============================================
   PROMO BANNERS (Garanzia & Dilaziona)
   ============================================ */

/* ============================================
   BANNER ZONES (dinamiche)
   ============================================ */

.banner-zone-grid {
  display: grid;
  gap: 40px;
  margin: 0 auto;
}

.banner-grid-1 { grid-template-columns: 1fr; }
.banner-grid-2 { grid-template-columns: repeat(2, 1fr); }
.banner-grid-3 { grid-template-columns: repeat(3, 1fr); }
.banner-grid-4 { grid-template-columns: repeat(4, 1fr); }

.banner-zone-item {
  display: block;
  text-decoration: none;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.banner-zone-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.15);
}

.banner-zone-img {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

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

@media (max-width: 768px) {
  .banner-zone-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
    max-width: 400px;
  }
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.thankyou-header {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-content {
  max-width: 600px;
  margin: 0 auto;
}

.thankyou-icon {
  margin-bottom: 24px;
}

.thankyou-icon i,
.thankyou-icon svg {
  width: 64px;
  height: 64px;
  color: #4caf50;
}

.thankyou-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================
   PAGINE DINAMICHE (page.php)
   ============================================ */

.page-content {
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.page-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--color-gold-light);
}

.page-text h3 {
  font-size: 1.4rem;
  margin: 24px 0 12px;
  color: var(--color-gold);
}

.page-text p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.page-text ul,
.page-text ol {
  margin: 16px 0;
  padding-left: 24px;
}

.page-text li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.page-text img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}

.page-text a {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.page-text .ql-video,
.page-text iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
  margin: 20px 0;
}

.page-text video {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.page-text blockquote {
  border-left: 4px solid var(--color-gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(201, 162, 39, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.page-text strong {
  color: #fff;
}

@media (max-width: 768px) {
  .page-content {
    padding: 24px 16px;
  }
  .page-text h2 {
    font-size: 1.4rem;
  }
}

/* ============================================
   DILAZIONA PAGE
   ============================================ */

.dilaziona-content {
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.dilaziona-text h2 {
  font-family: 'Armstrong', 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.dilaziona-text p {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.dilaziona-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.dilaziona-list li {
  color: var(--color-text);
  font-size: 1.1rem;
  padding: 6px 0 6px 24px;
  position: relative;
}

.dilaziona-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.dilaziona-highlight {
  font-size: 1.2rem;
  color: var(--color-gold);
  margin: 32px 0;
}

.dilaziona-closing {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.dilaziona-closing p {
  color: var(--color-white);
  font-size: 1.15rem;
}

.dilaziona-cta-text {
  font-size: 1.3rem !important;
  color: var(--color-gold) !important;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .dilaziona-content {
    padding: 24px;
  }

  .dilaziona-text h2 {
    font-size: 1.5rem;
  }

  .dilaziona-closing p {
    font-size: 1rem;
  }

  .dilaziona-cta-text {
    font-size: 1.1rem !important;
  }
}

/* ============================================
   VIEWPORT BASSE (altezza, non larghezza)
   ============================================
   L'hero e' min-height:100vh ma il suo contenuto a dimensioni piene misura
   ~740px: su laptop 1366x768 (viewport utile ~638px) e su Windows con
   scaling 125/150% la prima schermata sfora e le CTA finiscono sotto la
   piega. Qui riduciamo di qualche px testi e spaziature in base ALL'ALTEZZA.

   Nota: sono vincolate a min-width:769px per non sovrascrivere le regole
   mobile gia' presenti piu' sopra (che agiscono sulla larghezza). */

@media (min-width: 769px) and (max-height: 720px) {
  .hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .hero-badge {
    padding: 9px 20px;
    margin-bottom: 20px;
  }

  .hero-title {
    margin-bottom: 16px;
  }

  .hero-line.hero-line-1 {
    font-size: 40px;
    margin-top: 0.5rem;
  }
  .hero-line.hero-line-2 {
    font-size: 38px;
  }
  .hero-line.hero-line-3 {
    font-size: 34px;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .hero-cta {
    margin-bottom: 28px;
  }

  .btn-lg {
    padding: 15px 32px;
  }

  .hero-stats {
    padding: 18px 32px;
  }

  .scroll-indicator {
    bottom: 16px;
  }
}

@media (min-width: 769px) and (max-height: 600px) {
  .hero {
    padding-top: 95px;
    padding-bottom: 40px;
  }

  .hero-line.hero-line-1 {
    font-size: 33px;
  }
  .hero-line.hero-line-2 {
    font-size: 32px;
  }
  .hero-line.hero-line-3 {
    font-size: 28px;
  }

  .hero-stats {
    padding: 14px 24px;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .scroll-indicator {
    display: none;
  }
}

/* Mobile in orizzontale: la larghezza gia' riduce i titoli, qui recuperiamo
   solo le spaziature verticali */
@media (max-width: 768px) and (max-height: 520px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero-cta {
    margin-bottom: 24px;
  }

  .hero-stats {
    padding: 16px 24px;
    gap: 12px;
  }

  .scroll-indicator {
    display: none;
  }
}
