/* ==========================================================================
   4Z CARPENTERIA - DESIGN SYSTEM & STYLESHEET
   Style: Industrial Luxury / Titanium Forge & Amber Gold
   ========================================================================== */

:root {
  /* Core Palette - Dark Titanium (Default) */
  --bg-main: #0c0e12;
  --bg-surface: #13161c;
  --bg-surface-elevated: #1a1e26;
  --bg-surface-glass: rgba(19, 22, 28, 0.75);
  --bg-surface-hover: #222733;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(245, 158, 11, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverted: #0f172a;

  /* Accent: Forge Amber & Electric TIG Arc */
  --accent-amber: #f59e0b;
  --accent-amber-glow: #d97706;
  --accent-amber-soft: rgba(245, 158, 11, 0.12);
  --accent-amber-border: rgba(245, 158, 11, 0.28);

  --accent-cyan: #38bdf8;
  --accent-cyan-soft: rgba(56, 189, 248, 0.12);

  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.15);
  --danger: #ef4444;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.25);
  --shadow-arc: 0 0 25px rgba(56, 189, 248, 0.2);

  /* Transitions */
  --trans-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --max-width: 1280px;
  --header-height: 80px;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.85);
  --bg-surface-hover: #e2e8f0;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-glow: rgba(217, 119, 6, 0.35);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverted: #ffffff;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--trans-smooth), color var(--trans-smooth);
}

/* Subtle Industrial Background Pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.03) 0%, transparent 40%),
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  pointer-events: none;
  z-index: 0;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-silver {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-amber-soft);
  border: 1px solid var(--accent-amber-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.96rem;
  transition: all var(--trans-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0c0e12;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-amber-border);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

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

.btn-outline-amber:hover {
  background: var(--accent-amber-soft);
  border-color: var(--accent-amber);
  transform: translateY(-2px);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--trans-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c0e12;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
  position: relative;
  overflow: hidden;
}

.brand-symbol::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
  transform: rotate(35deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0%, 80% { transform: translateX(-100%) rotate(35deg); }
  100% { transform: translateX(100%) rotate(35deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--trans-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-amber);
  transition: width var(--trans-smooth);
}

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

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

/* Status Indicator: Open / Closed */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-green 2s infinite;
}

.status-dot.closed {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
  animation: none;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

/* Theme Switcher Button */
.theme-toggle-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.theme-toggle-btn:hover {
  color: var(--accent-amber);
  border-color: var(--accent-amber-border);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

/* Mobile Menu Drawer - strictly hidden on desktop */
.mobile-menu-drawer {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 90px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 52px;
}

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

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 600;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
}

.hero-badge.highlight {
  background: var(--accent-amber-soft);
  border-color: var(--accent-amber-border);
  color: var(--accent-amber);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 580px;
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--accent-amber);
}

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

/* Hero Visual Card */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card-stack {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
  aspect-ratio: 4/3.2;
}

.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 14, 18, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.hero-card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-amber);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

/* Floating Badges on Hero */
.floating-glass-badge {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.floating-text-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.floating-text-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PILLARS / VALUE PROPOSITIONS
   ========================================================================== */

.pillars-section {
  padding: 40px 0 80px;
}

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

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
  opacity: 0;
  transition: opacity var(--trans-smooth);
}

.pillar-card:hover {
  transform: translateY(-4px);
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  padding: 90px 0;
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

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

.service-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-smooth);
  display: flex;
  flex-direction: column;
}

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

.service-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-amber);
  border: 1px solid var(--border-subtle);
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-specs {
  list-style: none;
  margin-top: auto;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.service-specs li svg {
  color: var(--accent-amber);
  flex-shrink: 0;
}

/* ==========================================================================
   INTERACTIVE QUOTE ESTIMATOR (PREVENTIVATORE LIVE)
   ========================================================================== */

.calculator-section {
  padding: 100px 0;
  position: relative;
}

.calc-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.calc-form-area {
  padding: 40px;
}

.calc-sidebar {
  background: var(--bg-surface-elevated);
  border-left: 1px solid var(--border-subtle);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-step-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-amber);
  color: #0c0e12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.calc-grid-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.calc-cat-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.calc-cat-card:hover {
  border-color: var(--accent-amber-border);
  background: var(--bg-surface-elevated);
}

.calc-cat-card.active {
  border-color: var(--accent-amber);
  background: var(--accent-amber-soft);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.calc-cat-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--accent-amber);
}

.calc-cat-title {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Slider Controls */
.calc-range-group {
  margin-bottom: 32px;
}

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

.calc-range-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
  cursor: pointer;
  border: 2px solid #ffffff;
}

/* Material & Finish Pills */
.calc-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.calc-pill {
  padding: 10px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.calc-pill:hover {
  border-color: var(--border-medium);
}

.calc-pill.active {
  background: var(--accent-amber);
  color: #0c0e12;
  font-weight: 700;
  border-color: var(--accent-amber);
}

/* Checkbox Addons */
.calc-addons-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.calc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.calc-checkbox-label:hover {
  border-color: var(--border-medium);
}

.calc-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-amber);
  width: 18px;
  height: 18px;
}

/* Summary Card in Sidebar */
.calc-summary-card {
  background: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.calc-price-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.calc-price-range {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-amber);
  line-height: 1.1;
  margin-bottom: 8px;
}

.calc-tax-saving {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--success-soft);
  color: var(--success);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.calc-breakdown-list {
  list-style: none;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-breakdown-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.calc-breakdown-list li strong {
  color: var(--text-primary);
}

/* ==========================================================================
   MATERIAL & FINISH VISUALIZER (CONFIGURATORE FINITURE)
   ========================================================================== */

.visualizer-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

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

.preview-stage {
  position: relative;
  height: 380px;
  background: radial-gradient(circle at center, #1e2430 0%, #0c0e12 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-object {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.5s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-object-inner {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-sm);
  border: 8px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
}

.preview-bar {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

/* Material Presets */
.preview-object.finish-nero-micaceo {
  background: linear-gradient(135deg, #1c1d22 0%, #0e0f12 50%, #2b2d35 100%);
  border: 2px solid #3d414d;
  box-shadow: 0 0 35px rgba(28, 29, 34, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.preview-object.finish-corten {
  background: linear-gradient(135deg, #8b3a1a 0%, #56230f 40%, #a44820 100%);
  border: 2px solid #b3562a;
  box-shadow: 0 0 35px rgba(139, 58, 26, 0.5), inset 0 0 25px rgba(0, 0, 0, 0.4);
}

.preview-object.finish-antracite {
  background: linear-gradient(135deg, #374151 0%, #1f2937 60%, #4b5563 100%);
  border: 2px solid #4b5563;
  box-shadow: 0 0 35px rgba(55, 65, 81, 0.6);
}

.preview-object.finish-inox-tig {
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 40%, #cbd5e1 70%, #64748b 100%);
  border: 2px solid #cbd5e1;
  box-shadow: 0 0 40px rgba(226, 232, 240, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.8);
}

.preview-object.finish-bianco {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #ffffff 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.3);
}

.preview-spec-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-primary);
}

/* Material Selection List */
.finish-swatches {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.swatch-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.swatch-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
}

.swatch-card.active {
  border-color: var(--accent-amber);
  background: var(--accent-amber-soft);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.swatch-color-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.swatch-color-circle.swatch-nero { background: #1a1c23; }
.swatch-color-circle.swatch-corten { background: #8b3a1a; }
.swatch-color-circle.swatch-antracite { background: #374151; }
.swatch-color-circle.swatch-inox { background: linear-gradient(135deg, #e2e8f0, #94a3b8); }
.swatch-color-circle.swatch-bianco { background: #ffffff; }

.swatch-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.swatch-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PORTFOLIO & GALLERY SECTION
   ========================================================================== */

.portfolio-section {
  padding: 100px 0;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--trans-fast);
  color: var(--text-secondary);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: var(--bg-surface-elevated);
}

.filter-btn.active {
  background: var(--accent-amber);
  color: #0c0e12;
  font-weight: 700;
  border-color: var(--accent-amber);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-smooth);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.project-image-box {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #14171d;
}

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

.project-card:hover .project-image-box img {
  transform: scale(1.06);
}

.project-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-amber);
  border: 1px solid var(--border-subtle);
  z-index: 2;
}

.project-zoom-indicator {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans-fast);
  color: #ffffff;
  font-size: 1.8rem;
}

.project-card:hover .project-zoom-indicator {
  opacity: 1;
}

.project-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-cat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-amber);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.project-material-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-smooth);
  padding: 24px;
}

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

.lightbox-dialog {
  max-width: 1080px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.lightbox-image-pane {
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
}

.lightbox-image-pane img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-content-pane {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  max-height: 80vh;
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--trans-fast);
}

.lightbox-close-btn:hover {
  background: var(--accent-amber);
  color: #0c0e12;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(19, 22, 28, 0.85);
  border: 1px solid var(--border-medium);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--trans-fast);
}

.lightbox-nav-btn:hover {
  background: var(--accent-amber);
  color: #0c0e12;
}

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

/* ==========================================================================
   ABOUT SECTION: NICO & ARBER
   ========================================================================== */

.about-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

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

.about-image-collage {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
  aspect-ratio: 4/3.4;
}

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

.about-quote-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--accent-amber-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
}

.about-quote-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.about-quote-author {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.about-paragraphs p {
  margin-bottom: 18px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-founders-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.founder-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.founder-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-amber);
  margin-bottom: 12px;
}

.founder-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: auto;
  transition: color var(--trans-fast);
}

.founder-phone-btn:hover {
  color: var(--accent-amber);
}

/* ==========================================================================
   FISCAL BONUS & DETRAZIONI 50%
   ========================================================================== */

.tax-section {
  padding: 90px 0;
}

.tax-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(19, 22, 28, 0.9) 100%);
  border: 1px solid var(--accent-amber-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.tax-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.tax-benefit-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tax-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.tax-benefit-list li svg {
  color: var(--accent-amber);
  margin-top: 4px;
  flex-shrink: 0;
}

.tax-highlight-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.tax-big-percent {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

.tax-big-label {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  padding: 90px 0;
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

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

.testimonial-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--trans-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-bottom: 16px;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-amber);
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-project-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  padding: 90px 0;
}

.faq-container {
  max-width: 840px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--trans-fast);
}

.faq-item.active {
  border-color: var(--accent-amber-border);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--trans-smooth);
  color: var(--accent-amber);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-smooth), padding var(--trans-smooth);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   CONTACT & INSPECTION SECTION
   ========================================================================== */

.contact-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--trans-fast);
}

.contact-method-card:hover {
  border-color: var(--accent-amber-border);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-subval {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Interactive Map Area */
.map-embed-wrapper {
  margin-top: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  height: 220px;
  position: relative;
  background: #1a1e26;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.2);
}

[data-theme="light"] .map-embed-wrapper iframe {
  filter: none;
}

/* Form Panel */
.contact-form-card {
  background: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--trans-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

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

/* File Upload Drop Area */
.file-drop-area {
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  background: var(--bg-surface);
}

.file-drop-area:hover {
  border-color: var(--accent-amber);
}

.file-drop-icon {
  font-size: 1.6rem;
  color: var(--accent-amber);
  margin-bottom: 6px;
}

.file-drop-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #080a0d;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--trans-fast);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING ACTION BUTTON (WHATSAPP) & BACK TO TOP
   ========================================================================== */

.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: all var(--trans-bounce);
  animation: pulse-wa 3s infinite;
}

.floating-wa-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}

.back-to-top-btn {
  position: fixed;
  bottom: 96px;
  right: 34px;
  width: 44px;
  height: 44px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-smooth);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--accent-amber);
  color: #0c0e12;
  transform: translateY(-4px);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-message {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-amber-border);
  box-shadow: var(--shadow-lg);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
  opacity: 0;
  transition: all var(--trans-bounce);
  pointer-events: none;
}

.toast-message.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid,
  .calc-wrapper,
  .visualizer-grid,
  .about-grid,
  .tax-grid,
  .contact-grid,
  .lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .calc-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

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

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

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-links,
  .status-badge {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Mobile Drawer Menu */
  .mobile-menu-drawer {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateX(100%);
    transition: transform var(--trans-smooth);
    z-index: 99;
  }

  .mobile-menu-drawer.open {
    transform: translateX(0);
  }

  .mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .pillars-grid,
  .services-grid,
  .testimonials-grid,
  .calc-grid-categories,
  .calc-addons-group,
  .form-row-2,
  .footer-grid,
  .about-founders-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .floating-glass-badge {
    position: static;
    margin-top: 16px;
    max-width: 100%;
    animation: none;
  }

  .calc-form-area,
  .calc-sidebar,
  .contact-form-card,
  .tax-card {
    padding: 24px 18px;
  }

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