/* ==========================================================================
   AURA Studio — Dark Luxury Design System
   WCAG 2.1 Level AA Compliant
   Mobile-First Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette (Dark Luxury) */
  --bg-canvas: #121316;
  --bg-surface: #181A1F;
  --bg-surface-elevated: #22252D;
  --bg-card: #1C1F26;
  --bg-glass: rgba(18, 19, 22, 0.82);
  --bg-glass-card: rgba(28, 31, 38, 0.7);

  /* Gold Metallic Accents */
  --gold-primary: #C5A880;
  --gold-light: #E0CCA7;
  --gold-dark: #9A7B54;
  --gold-glow: rgba(197, 168, 128, 0.22);
  --gold-border: rgba(197, 168, 128, 0.3);

  /* Typography Colors (High Contrast WCAG AA >= 4.5:1) */
  --text-main: #F5F5F7;       /* Contrast ratio on canvas: 16.5:1 */
  --text-muted: #A1A1AA;      /* Contrast ratio on canvas: 5.2:1 */
  --text-gold: #D8BF97;       /* Contrast ratio on canvas: 8.5:1 */
  --text-inverse: #121316;

  /* Semantic UI Colors */
  --color-error: #F87171;
  --color-error-bg: rgba(239, 68, 68, 0.12);
  --color-error-border: #EF4444;
  --color-success: #34D399;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-success-border: #10B981;

  /* Borders & Dividers */
  --border-subtle: #2A2E38;
  --border-focus: var(--gold-primary);

  /* Typography */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale (Mobile First) */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 0.75rem;  /* 12px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2.5rem;   /* 40px */
  --space-2xl: 4rem;    /* 64px */
  --space-3xl: 6rem;    /* 96px */

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 4px 20px var(--gold-glow);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --header-height: 76px;
  --container-max: 1240px;
  --container-narrow: 860px;
}

/* --------------------------------------------------------------------------
   2. BASE & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Accessible focus ring for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
}

.bg-canvas { background-color: var(--bg-canvas); }
.bg-surface { background-color: var(--bg-surface); }

.section-header {
  margin-bottom: var(--space-xl);
}

.text-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & UI COMPONENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem 1.75rem;
  min-height: 48px; /* Touch target accessibility */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0E0F12;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
  border: 1px solid var(--gold-light);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.4);
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
}

.btn-outline-gold:hover {
  background: rgba(197, 168, 128, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  min-height: 40px;
}

.btn-block {
  width: 100%;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn-text {
  opacity: 0.3;
}

.btn.is-loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   5. LEGAL MODALS (PRIVACY & COOKIE POLICIES)
   -------------------------------------------------------------------------- */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.legal-modal-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.legal-modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(197, 168, 128, 0.08);
  position: relative;
  animation: cardFadeIn 0.35s ease-out;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
}

.legal-modal-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: all var(--transition-fast);
}

.legal-modal-close:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.legal-modal-body {
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  padding-right: 0.75rem;
}

.legal-modal-body h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-main);
  margin: 1.25rem 0 0.5rem;
  font-size: 0.98rem;
}

.legal-modal-body p {
  margin-bottom: 0.75rem;
}

.legal-modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-modal-body li {
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION (GLASSMORPHISM + MOBILE DRAWER)
   -------------------------------------------------------------------------- */
.header-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.header-glass.scrolled {
  background: rgba(18, 19, 22, 0.95);
  border-color: var(--gold-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.desktop-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link:focus {
  color: var(--gold-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hide-mobile {
  display: none;
}

.btn-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--gold-primary);
  border-color: var(--gold-border);
  background: rgba(197, 168, 128, 0.08);
}

.icon-lock {
  width: 18px;
  height: 18px;
}

/* Hamburger button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--gold-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Mobile Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background: var(--bg-surface);
  border-left: 1px solid var(--gold-border);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.is-active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.drawer-close-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.drawer-close-btn:hover {
  color: var(--gold-primary);
}

.drawer-nav {
  flex: 1;
}

.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.drawer-link:hover {
  color: var(--gold-primary);
  padding-left: 0.5rem;
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.drawer-contact-info {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
  .hamburger-btn {
    display: none;
  }
  .hide-mobile {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(34, 37, 45, 0.5) 0%, transparent 60%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, transparent, var(--bg-canvas));
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-content {
  max-width: 850px;
}

.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--gold-border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats-banner {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-stats-banner {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
  .stat-divider {
    display: none;
  }
}

.stat-pill {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.stat-divider {
  height: 1px;
  background: var(--border-subtle);
}

/* --------------------------------------------------------------------------
   8. AEO ANSWER-READY SECTION (INVERTED PYRAMID)
   -------------------------------------------------------------------------- */
.section-aeo {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.aeo-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.aeo-answer-block {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.aeo-question {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.aeo-direct-answer {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-main);
}

.aeo-direct-answer strong {
  color: var(--gold-primary);
}

.aeo-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .aeo-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .aeo-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-item:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
}

.pillar-icon {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. SERVIZI SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
}

.service-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  background: var(--bg-surface-elevated);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-top: auto;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--gold-primary);
  font-weight: bold;
}

.service-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.service-link:hover {
  transform: translateX(4px);
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   10. CHI SIAMO & METRICHE SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-narrative .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-text strong {
  color: var(--text-main);
}

.architect-quote {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-surface-elevated);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.architect-quote p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.architect-quote cite {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color var(--transition-fast);
}

.metric-card:hover {
  border-color: var(--gold-border);
}

.metric-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   11. PORTFOLIO SECTION
   -------------------------------------------------------------------------- */
.portfolio-filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  min-height: 44px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--gold-border);
}

.filter-btn.active {
  color: #0E0F12;
  background: var(--gold-primary);
  border-color: var(--gold-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.project-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  background: var(--bg-surface-elevated);
  overflow: hidden;
}

.project-placeholder-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-placeholder-art {
  transform: scale(1.05);
}

/* Rich Dark Aesthetic Gradients for Projects */
.art-brera {
  background: linear-gradient(135deg, #1C2331, #0d1117), radial-gradient(circle at center, rgba(197, 168, 128, 0.3), transparent);
}
.art-como {
  background: linear-gradient(135deg, #1A282F, #0E181D), radial-gradient(circle at center, rgba(84, 150, 168, 0.25), transparent);
}
.art-quadrilatero {
  background: linear-gradient(135deg, #2B2118, #150F0B), radial-gradient(circle at center, rgba(197, 168, 128, 0.35), transparent);
}
.art-chalet {
  background: linear-gradient(135deg, #252326, #121113), radial-gradient(circle at center, rgba(160, 155, 145, 0.25), transparent);
}
.art-navigli {
  background: linear-gradient(135deg, #2A1F2D, #130D16), radial-gradient(circle at center, rgba(180, 120, 160, 0.2), transparent);
}
.art-hotel {
  background: linear-gradient(135deg, #2D261B, #14100B), radial-gradient(circle at center, rgba(220, 180, 110, 0.3), transparent);
}

.art-caption {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  padding: 0.5rem 1rem;
  background: rgba(18, 19, 22, 0.7);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(18, 19, 22, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   12. TABELLA COMPARATIVA DEI SERVIZI
   -------------------------------------------------------------------------- */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.comparison-table thead th {
  background: var(--bg-surface-elevated);
  font-family: var(--font-serif);
  color: var(--text-main);
  border-bottom: 2px solid var(--gold-border);
}

.th-feature {
  width: 32%;
  font-size: 1rem;
  font-weight: 600;
}

.th-tier {
  width: 22.6%;
}

.th-tier.tier-highlight {
  background: rgba(197, 168, 128, 0.08);
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
}

.tier-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--gold-primary);
  color: #0E0F12;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.tier-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.tier-ideal {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.td-feature {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.td-value {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.td-value.check {
  color: var(--text-main);
  font-weight: 500;
}

.td-value.check::before {
  content: '◆ ';
  color: var(--gold-primary);
}

.td-value.neutral {
  color: var(--text-muted);
}

.td-value.cross {
  color: #6B7280;
}

.td-value.highlight {
  background: rgba(197, 168, 128, 0.04);
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--gold-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  min-height: 48px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-toggle-icon::before {
  content: '+';
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-answer p {
  margin-top: 1rem;
}

.faq-answer strong {
  color: var(--text-main);
}

.faq-steps-list {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-steps-list strong {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   14. CONTATTI & FORM DI PRENOTAZIONE
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
  }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.contact-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.contact-icon {
  font-size: 1.25rem;
}

.contact-item strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.contact-item p, .contact-item a {
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--gold-primary);
}

/* Map visual simulator */
.map-simulation-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-header {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

.map-pin-badge {
  color: var(--gold-primary);
  font-weight: 600;
}

.map-sub {
  color: var(--text-muted);
}

.map-visual {
  height: 160px;
  position: relative;
  background: #15181E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.map-pin {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-core {
  background: var(--gold-primary);
  color: #0E0F12;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.pin-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.map-caption-street {
  position: absolute;
  bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(18, 19, 22, 0.8);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-label .req {
  color: var(--gold-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
  outline: none;
}

.form-input.has-error, .form-select.has-error, .form-textarea.has-error {
  border-color: var(--color-error-border);
  background-color: rgba(239, 68, 68, 0.05);
}

.form-input.is-valid, .form-select.is-valid, .form-textarea.is-valid {
  border-color: var(--color-success-border);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.field-error {
  font-size: 0.8rem;
  color: var(--color-error);
  min-height: 18px;
}

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.link-gold {
  color: var(--gold-primary);
  text-decoration: underline;
}

.link-gold:hover {
  color: var(--gold-light);
}

.form-feedback {
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  padding: 0;
  display: none;
}

.form-feedback.is-success {
  display: block;
  background: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: var(--color-success);
  padding: 1rem;
}

.form-feedback.is-error {
  display: block;
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: var(--color-error);
  padding: 1rem;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0D0E11;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-address strong {
  color: var(--text-main);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 3px;
}

.footer-text-small {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.footer-social-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.social-label {
  color: var(--text-muted);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a {
  color: var(--gold-primary);
  font-weight: 500;
}

.social-links a:hover {
  color: var(--gold-light);
}

.sep {
  color: var(--border-subtle);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.footer-legal-links a:hover {
  color: var(--gold-primary);
}

.back-to-top {
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  border-color: var(--gold-primary);
  background: rgba(197, 168, 128, 0.1);
}