/* Parkinsans — Google Fonts CDN (scarica da fonts.google.com/specimen/Parkinsans e metti in /fonts/ per self-host) */
@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300;400;500;700;800&display=swap');

/* ============================================================
   HYMDO — style.css
   Mobile-first · Dark theme · Mindfulness studio Roma
   ============================================================ */

/* ---- 1. DESIGN TOKENS ---- */
:root {
  --bg:            #071C2A;
  --surface:       #0C2A3C;
  --surface-2:     #123548;
  --surface-3:     #184254;
  --border:        #1E5268;
  --border-light:  #286278;

  --accent:        #C99840;
  --accent-dim:    rgba(201, 152, 64, 0.14);
  --accent-mid:    rgba(201, 152, 64, 0.40);
  --accent-2:      #18BFCC;
  --accent-2-dim:  rgba(24, 191, 204, 0.12);
  --accent-3:      #3A85C4;

  --warm-bg:       #F0F8FA;
  --warm-surface:  #DFF0F6;
  --warm-text:     #071C2A;
  --warm-muted:    #1A5570;

  --text:          #E5F3F8;
  --text-muted:    #ffffff; 
  --text-dim:      #3C6A82;
  --white:         #FFFFFF;

  --font-display:  'Parkinsans', 'Helvetica Neue', sans-serif;
  --font-body:     'Parkinsans', 'Helvetica Neue', sans-serif;

  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --duration:      0.4s;
  --duration-slow: 0.8s;

  --container:     72rem;
  --container-sm:  48rem;
  --container-xs:  36rem;

  --radius:        0.5rem;
  --radius-lg:     1rem;
  --radius-xl:     1.5rem;
  --radius-full:   999px;
}

/* ---- 2. RESET ---- #7EB8CE;*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* ---- 3. TYPOGRAPHY ---- */
h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); }

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- 4. LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container { padding-inline: 2rem; }
}

@media (min-width: 1024px) {
  .container { padding-inline: 3rem; }
}

.container-sm {
  max-width: var(--container-sm);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

section {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  section { padding-block: 7rem; }
}

.section-dark    { background: var(--surface); }
.section-darker  { background: var(--surface-2); }

.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-block: 1.5rem;
}

/* ---- 5. HEADER & NAV ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--duration) var(--ease),
              padding var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.site-header.scrolled {
  background: rgba(7, 28, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.875rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}

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

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

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  display: none;
}

.nav-dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding-top: 0.75rem;
  min-width: 230px;
  z-index: 200;
  transition: opacity 0.18s var(--ease), visibility 0s 0.18s, transform 0.18s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s var(--ease), visibility 0s 0s, transform 0.18s var(--ease);
}

.nav-dropdown-menu-inner {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  color: var(--text-muted);
}

.nav-dropdown-menu a:hover {
  background: var(--accent-dim);
  color: var(--text);
}

.nav-dropdown-menu a::after { display: none !important; }

.nav-cta { display: none; }

@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem 3rem;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}

.nav-overlay.open {
  transform: translateX(0);
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.nav-overlay-section {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.nav-overlay-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  padding-inline: 0;
}

.nav-overlay-section a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  padding-block: 0.4rem;
  display: block;
  border-bottom: none;
}

.nav-overlay-main {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 400;
  color: var(--text-dim);
  padding-block: 0.875rem;
  display: block;
  border-bottom: 1px solid var(--border);
}

.nav-overlay-main:first-of-type { border-top: 1px solid var(--border); }

.nav-overlay-cta {
  margin-top: 2.5rem;
}

/* ---- 6. BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #0B0908;
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(201, 152, 64, 0.45);
  font-weight: 600;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 4px 32px rgba(201, 152, 64, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding-inline: 0;
  border: none;
}

.btn-ghost:hover { color: var(--text); }

.btn-lg {
  padding: 1.25rem 2.75rem;
  font-size: 1.125rem;
}

.btn-arrow::after {
  content: '\2192';
  transition: transform var(--duration) var(--ease);
}

.btn-arrow:hover::after {
  transform: translateX(5px);
}

/* ---- 7. HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 5rem;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 28% 62%, rgba(201, 152, 64, 0.22) 0%, transparent 58%),
              radial-gradient(ellipse at 72% 28%, rgba(24, 191, 204, 0.18) 0%, transparent 52%),
              radial-gradient(ellipse at 86% 78%, rgba(58, 133, 196, 0.15) 0%, transparent 46%),
              linear-gradient(
                170deg,
                rgba(7,28,42,0.18) 0%,
                rgba(7,28,42,0.04) 30%,
                rgba(7,28,42,0.58) 65%,
                rgba(7,28,42,1) 100%
              );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.6s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.8s forwards;
  flex-direction: column;
  align-items: flex-start;
}

.hero-actions .flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero-micro {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: -0.25rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.4s forwards;
}

.hero-scroll-hint::before {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-dim));
  animation: scrollPulse 2s ease-in-out 1.6s infinite;
}

/* ---- 8. STATS BAR ---- */
.stats-bar {
  padding-block: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.stat-item {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ---- 9. SECTION HEADER ---- */
.section-header {
  margin-bottom: 3rem;
}

.section-header .label {
  margin-bottom: 1rem;
}

.section-header h2 {
  color: var(--white);
  margin-bottom: 0;
}

.section-header p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 36rem;
  line-height: 1.75;
}

/* ---- 10. CARDS ---- */
.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              background var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--accent-mid);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.875rem;
}

.card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* Test card */
.test-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 2.25rem;
  border-top: 4px solid var(--accent);
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.test-card:hover {
  border-top-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 8px 32px rgba(201, 152, 64, 0.15);
}

.test-icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
}

.test-card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}

.card-cta {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: 1.5rem;
  transition: gap var(--duration) var(--ease);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.01em;
}

.card:hover .card-cta {
  gap: 0.875rem;
}

/* ---- 11. TWO-COLUMN GRID ---- */
.two-col {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .two-col.align-start { align-items: start; }
}

/* ---- 12. STEPS ---- */
.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.25rem;
  align-items: flex-start;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s;
}

.step:last-child { border-bottom: none; }
.step:first-child { padding-top: 0; }

.step:hover {
  padding-left: 0.25rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--accent-mid);
  line-height: 1;
  padding-top: 0.1em;
  transition: color 0.2s;
}

.step:hover .step-num {
  color: var(--accent);
}

.step-content h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- 13. PRICING ---- */
.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  transition: background 0.3s var(--ease);
}

.pricing-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent-mid);
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: 0 8px 40px rgba(201, 152, 64, 0.2);
}

.pricing-card.featured::after {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pricing-card.featured::before {
  content: 'Più scelto';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0B0908;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}

.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-card.featured .pricing-amount {
  color: var(--accent);
}

.pricing-unit {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-feature::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---- 14. PROFILE ---- */
.profile-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-2);
  max-width: 420px;
}

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

.profile-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--border);
}

.profile-role {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.profile-locations {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.profile-loc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.profile-loc-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* ---- 15. STUDIO IMAGES ---- */
.studio-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .studio-gallery .gallery-main {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .studio-gallery {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .studio-gallery .gallery-main {
    grid-column: 1;
    grid-row: 1 / 3;
  }
}

.gallery-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-img::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--border-light);
  z-index: 0;
  pointer-events: none;
}

.gallery-img.ratio-portrait { aspect-ratio: 3/4; }

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

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

/* ---- 16. FOOTER ---- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: 4rem 3rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

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

.footer-logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-contact {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color var(--duration) var(--ease);
}

.footer-legal a:hover { color: var(--text-muted); }

/* ---- 17. DISCLAIMER ---- */
.disclaimer {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 1.5rem;
}

/* ---- 18. CONTACT FORM ---- */
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  width: 100%;
  transition: border-color var(--duration) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C5048' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ---- 19. ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0) translateY(0); opacity: 1; transform-origin: top; }
  70%  { transform: scaleY(1) translateY(0); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(1) translateY(0); opacity: 0; }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* Stagger reveal */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-stagger].revealed > *:nth-child(1) { transition-delay: 0.00s; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger].revealed > *:nth-child(6) { transition-delay: 0.40s; }
[data-stagger].revealed > *:nth-child(7) { transition-delay: 0.48s; }

[data-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 20. CUSTOM CURSOR ---- */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], label, .card, .test-card, .pricing-card {
    cursor: none;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: left, top;
  }

  .cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    transition: opacity 0.2s, width 0.2s, height 0.2s;
  }

  .cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(201, 152, 64, 0.35);
    transition: width 0.35s var(--ease),
                height 0.35s var(--ease),
                border-color 0.35s var(--ease),
                opacity 0.2s;
  }

  body.cursor-hover .cursor-ring {
    width: 52px;
    height: 52px;
    border-color: rgba(201, 152, 64, 0.7);
  }

  body.cursor-hover .cursor-dot {
    width: 3px;
    height: 3px;
    opacity: 0.5;
  }

  body:not(.cursor-active) .cursor-dot,
  body:not(.cursor-active) .cursor-ring {
    opacity: 0;
  }
}

/* ---- 21. SERVICE CARDS ---- */
.service-card {
  padding: 0;
  overflow: hidden;
}

.service-card > h3,
.service-card > p {
  padding-inline: 1.75rem;
}

.service-card > h3 {
  padding-top: 1.5rem;
}

.service-card > p:last-child {
  padding-bottom: 1.75rem;
}

.service-card-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card-img {
  transform: scale(1.04);
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,28,42,0.88) 0%, rgba(7,28,42,0.28) 60%, transparent 100%);
}

.service-card-img.riflessologia {
  background-image: url('/foto/riflessologia.webp'),
    linear-gradient(135deg, #092030 0%, #104060 50%, #162A3A 100%);
}
.service-card-img.massaggio {
  background-image: url('/foto/massaggio.webp'),
    linear-gradient(135deg, #0D2838 0%, #194A60 50%, #0A2030 100%);
}
.service-card-img.counseling {
  background-image: url('/foto/counseling.webp'),
    linear-gradient(135deg, #0A1E32 0%, #1A3A58 50%, #0E2840 100%);
}

/* ---- 22. TEST PILL GRID ---- */
.test-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  max-width: 640px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .test-cta-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }
}

.test-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-2);
  border: 2px solid var(--accent-mid);
  border-radius: var(--radius-lg);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: border-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              background var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.test-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201, 152, 64, 0.2);
}

/* Sezione test gratuiti — evidenziata */
.section-tests {
  background: var(--surface);
  position: relative;
}

.section-tests::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
}

/* Sezione percorso mindfulness — evidenziata */
.section-mbsr {
  background: linear-gradient(180deg, rgba(232,146,74,0.06) 0%, transparent 40%);
  position: relative;
  border-top: 1px solid var(--accent-mid);
}

/* Sezione test con sfondo caldo */
.section-warm {
  background: var(--warm-bg);
}

.section-warm .label {
  color: #1A808C;
}

.section-warm h2 {
  color: var(--warm-text);
}

.section-warm h2 em {
  color: var(--accent);
}

.section-warm p {
  color: var(--warm-muted);
}

.section-warm .test-pill {
  background: #fff;
  border: 2px solid rgba(201, 152, 64, 0.35);
  color: var(--warm-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.section-warm .test-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201, 152, 64, 0.06);
  box-shadow: 0 4px 16px rgba(201, 152, 64, 0.15);
}

/* ---- 23. CTA FINALE ---- */
.cta-finale {
  position: relative;
  overflow: hidden;
}

/* cta-finale non ha pseudo-element — sfondo gestito inline */

/* ---- 24. LABEL VARIANTS ---- */
.label-green {
  color: var(--accent-2);
}

/* ---- 25. TEST CARD DECORATION ---- */
.test-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  transform: translate(30%, -30%);
  pointer-events: none;
}

.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: var(--white); }
.text-center  { text-align: center; }

.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }

.mx-auto { margin-inline: auto; }
.max-prose { max-width: 42rem; }

.flex         { display: flex; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-4        { gap: 1rem; }

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

/* ---- 22. ACCESSIBILITY ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent-dim);
  color: var(--text);
}

/* ---- 23. REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-label,
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-scroll-hint {
    opacity: 1 !important;
    animation: none !important;
  }

  #hero-canvas { display: none; }
}

/* ---- 24. SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ---- 25. MOBILE IMPROVEMENTS ---- */
@media (max-width: 639px) {
  /* Buttons full-width su mobile nel hero e CTA */
  .hero-actions .flex-row {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .flex-row .btn {
    width: 100%;
    justify-content: center;
  }

  /* Padding sezioni ridotto su mobile */
  section {
    padding-block: 3.5rem;
  }

  /* Test cards grid 2 colonne su mobile */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing cards stacked ma più compatte */
  .pricing-card {
    padding: 1.75rem;
  }

  /* CTA finale buttons full-width */
  .cta-finale .flex {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-finale .flex .btn {
    width: 100%;
    justify-content: center;
  }

  /* Steps più compatti */
  .step {
    grid-template-columns: 42px 1fr;
    gap: 1rem;
    padding-block: 1.5rem;
  }

  /* Stats bar padding */
  .stat-item {
    padding: 1.25rem 1rem;
  }
}

/* Migliora la leggibilità su mobile per i section-header */
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 2rem;
  }
  .section-header p {
    font-size: 1rem;
  }
  .two-col {
    gap: 2rem;
  }
}

/* ============================================================
   EFFECTS.JS STYLES — effects.js components
   ============================================================ */

/* ---- E1. SCROLL PROGRESS BAR ---- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  z-index: 9998;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ---- E2. HERO TITLE BOOST ---- */
.hero-title {
  font-size: clamp(3.5rem, 11vw, 7.5rem) !important;
}

.hero-sub {
  font-size: 1.3rem !important;
  color: rgba(229, 243, 248, 0.85) !important;
  max-width: 38rem !important;
}

/* ---- E3. FLOATING CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  box-shadow: 0 8px 32px rgba(201, 152, 64, 0.55);
  padding: 1rem 1.75rem !important;
  font-size: 0.9375rem !important;
  position: relative;
}

.floating-cta-pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ctaPulse 2.5s ease-in-out 1s infinite;
  pointer-events: none;
}

@keyframes ctaPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.15); }
  100% { opacity: 0;   transform: scale(1.15); }
}

@media (max-width: 639px) {
  .floating-cta {
    bottom: 1.25rem;
    right: 1.25rem;
    left: 1.25rem;
  }
  .floating-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- E4. GALLERY LIGHTBOX ---- */
.gallery-clickable {
  cursor: zoom-in !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 9, 17, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(201, 152, 64, 0.2);
  color: var(--accent);
  border-color: var(--accent-mid);
}

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  display: block;
}

.lightbox.open .lightbox-img-wrap img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 2;
  flex-shrink: 0;
}

.lightbox-nav:hover {
  background: rgba(201, 152, 64, 0.2);
  border-color: var(--accent-mid);
  color: var(--accent);
}

.lightbox-prev { left: -68px; }
.lightbox-next { right: -68px; }

@media (max-width: 900px) {
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
  .lightbox-img-wrap { max-width: 90vw; }
}

.lightbox-counter {
  position: absolute;
  bottom: -2.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* ---- E5. BOOKING MODAL ---- */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(3, 9, 17, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
}

.booking-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  scrollbar-width: thin;
}

.booking-modal-overlay.open .booking-modal {
  transform: translateY(0) scale(1);
}

.booking-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.booking-modal-close:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent-mid);
}

.booking-modal-header {
  margin-bottom: 2rem;
  padding-right: 2.5rem;
}

.booking-modal-header .label {
  margin-bottom: 0.75rem;
}

.booking-modal-header h3 {
  color: var(--white);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.booking-modal-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 639px) {
  .booking-modal {
    padding: 2rem 1.5rem;
    max-height: 95vh;
  }
}

/* ---- E6. MARQUEE STRIP ---- */
.marquee-section {
  overflow: hidden;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 1.125rem;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee-item::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- E7. SECTION ACCENT LINE ---- */
.section-accent-line {
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  margin-bottom: 2rem;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-accent-line.revealed {
  width: 72px;
}

/* ---- E8. TEST CARD ENHANCEMENTS ---- */
.test-card-icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
  filter: saturate(0.9);
}

.test-card-number {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(201, 152, 64, 0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  font-family: var(--font-display);
  transition: color 0.4s var(--ease);
}

.test-card:hover .test-card-number {
  color: rgba(201, 152, 64, 0.11);
}

/* ---- E9. CTA BAND (inline callout) ---- */
.cta-band {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band-text {
  flex: 1;
  min-width: 200px;
}

.cta-band-text strong {
  color: var(--white);
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.cta-band-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ---- E10. PATRIZIA QUOTE ---- */
.patrizia-quote {
  position: relative;
  padding: 3rem 3.5rem;
  background: linear-gradient(145deg, var(--surface-2) 0%, rgba(201,152,64,0.04) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--accent-mid);
  overflow: hidden;
}

.patrizia-quote::before {
  content: '\201C';
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  font-size: 9rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(201, 152, 64, 0.1);
  line-height: 1;
  pointer-events: none;
}

.patrizia-quote blockquote {
  position: relative;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.75;
  color: var(--white);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  margin: 0;
}

.patrizia-quote cite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.patrizia-quote cite::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

@media (max-width: 639px) {
  .patrizia-quote {
    padding: 2rem 1.75rem;
  }
  .patrizia-quote::before {
    font-size: 6rem;
  }
}

/* ---- E11. TIMELINE ---- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(24,191,204,0.4), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.5rem;
  padding-block: 1.5rem;
  position: relative;
}

.timeline-item:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent-mid);
  margin-top: 0.4em;
  position: relative;
  z-index: 1;
  justify-self: center;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.timeline-year {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.timeline-content h4 {
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

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

/* ---- E12. VALUE CARDS (chi siamo) ---- */
.value-card {
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid var(--accent-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-left-color 0.3s var(--ease), background 0.3s var(--ease), transform 0;
}

.value-card:hover {
  border-left-color: var(--accent);
  background: var(--accent-dim);
  transform: none;
}

.value-card h3 {
  font-size: 1.0625rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

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

/* ---- E13. BOOKING TRIGGER BOX ---- */
.booking-trigger-box {
  background: linear-gradient(145deg, var(--surface-2) 0%, rgba(201,152,64,0.05) 100%);
  border: 1px solid var(--accent-mid);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.booking-trigger-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.booking-trigger-box h3 {
  color: var(--white);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.booking-trigger-box p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

/* ---- E14. CHI SIAMO HERO ---- */
.page-hero-visual {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.page-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,152,64,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(24,191,204,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  overflow: hidden;
}

.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.35;
  filter: saturate(0.7);
}

.page-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 60%),
              linear-gradient(to top, var(--bg) 0%, transparent 30%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

@media (max-width: 767px) {
  .page-hero-photo {
    width: 100%;
    opacity: 0.2;
  }
  .page-hero-content {
    max-width: 100%;
  }
}

/* ---- E15. CONTACT INFO IMPROVED ---- */
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.contact-info-row:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-text {
  flex: 1;
}

.contact-info-text small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-info-text a,
.contact-info-text span {
  color: var(--text);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.contact-info-text a:hover { color: var(--accent); }

/* ---- E16. HERO CONSULENZA FORM ---- */
.hero-consulenza {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  padding-block: 4rem;
}

.hero-consulenza-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-consulenza-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.consulenza-form-mini {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.consulenza-form-mini .form-grid {
  gap: 0.75rem;
}

/* ---- E17. SERVIZI SECTION (moved up) ---- */
.section-servizi-highlight {
  position: relative;
}

.section-servizi-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-3), var(--accent-2), var(--accent));
}

/* ---- E18. SCROLL INTO VIEW for sections ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}
