/* ============================================
   REMATTO ARTIGIANO - MAIN STYLESHEET
   Design System + Components + Layouts
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Colors - Warm Artisan Palette */
  --bg-primary: #0f0a08;
  --bg-secondary: #1a1210;
  --bg-tertiary: #241a14;
  --bg-card: rgba(30, 20, 15, 0.7);
  --bg-card-hover: rgba(45, 30, 22, 0.9);

  --text-primary: #fff8f0;
  --text-secondary: #c4a890;
  --text-muted: #8b7060;

  --accent-primary: #c4956a;
  --accent-secondary: #8b5a3c;
  --accent-highlight: #e8c9a8;
  --accent-teal: #5a8b7a;
  --accent-warm: #d4a574;

  --gradient-primary: linear-gradient(135deg, #c4956a 0%, #8b5a3c 100%);
  --gradient-secondary: linear-gradient(135deg, #d4a574 0%, #c4956a 100%);
  --gradient-accent: linear-gradient(135deg, #5a8b7a 0%, #3d6357 100%);

  --border-color: rgba(196, 149, 106, 0.15);
  --border-color-light: rgba(196, 149, 106, 0.25);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;

  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --fs-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);
  --fs-hero: clamp(3rem, 2rem + 5vw, 5.5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --section-padding: clamp(4rem, 8vw, 8rem);

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(196, 149, 106, 0.25);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: var(--fs-hero);
  font-weight: 600;
}

h2 {
  font-size: var(--fs-4xl);
}

h3 {
  font-size: var(--fs-3xl);
}

h4 {
  font-size: var(--fs-2xl);
}

h5 {
  font-size: var(--fs-xl);
}

h6 {
  font-size: var(--fs-lg);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-primary);
}

.section-title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: var(--container-wide);
}

section {
  padding: var(--section-padding) 0;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  font-family: var(--font-primary);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(196, 149, 106, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
}

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

.btn-outline:hover {
  background: rgba(196, 149, 106, 0.1);
  border-color: var(--accent-primary);
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--fs-base);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: background var(--transition-base);
}

.nav.scrolled {
  background: rgba(15, 10, 8, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-weight: 700;
}

/* Footer Logo */
.footer-logo {
  display: inline-block;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

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

  .nav-toggle {
    display: flex;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: var(--space-xl);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196, 149, 106, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 90, 60, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.7;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   PARTNER LOGOS / ESSENCE SECTION
   ============================================ */
.partners {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partners-track {
  display: flex;
  gap: var(--space-3xl);
  animation: marquee 30s linear infinite;
}

.partners-track img {
  height: 30px;
  opacity: 0.5;
  filter: grayscale(100%) brightness(2);
  transition: opacity var(--transition-fast);
}

.partners-track img:hover {
  opacity: 1;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   SERVICES / CREAZIONI BENTO GRID
   ============================================ */
.services {
  background: var(--bg-secondary);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-secondary);
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.service-card--wide {
  grid-column: span 2;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(184, 40, 46, 0.1);
  border: 1px solid rgba(184, 40, 46, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 24px;
}

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

.service-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
  position: relative;
  font-family: var(--font-display);
}

.service-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  position: relative;
  line-height: 1.7;
}

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

  .service-card--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

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

  .service-card--large,
  .service-card--wide {
    grid-column: span 1;
  }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  position: relative;
}

.process-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.process-step {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--bg-primary);
  margin: 0 auto var(--space-lg);
  font-family: var(--font-primary);
}

.process-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
  font-family: var(--font-display);
}

.process-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

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

  .process-step::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

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

/* ============================================
   CASE STUDIES / COLLEZIONI
   ============================================ */
.case-studies-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-secondary);
}

.case-card-image {
  height: 200px;
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-content {
  padding: var(--space-xl);
}

.case-card-tag {
  font-size: var(--fs-xs);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.case-card-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
  font-family: var(--font-display);
}

.case-card-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.case-card-stats {
  display: flex;
  gap: var(--space-xl);
}

.case-stat {
  text-align: left;
}

.case-stat-value {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.case-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

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

@media (max-width: 640px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
  background: var(--bg-secondary);
}

.comparison-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.comparison-table {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  font-family: var(--font-primary);
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table td {
  font-size: var(--fs-sm);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-check {
  color: var(--accent-teal);
  font-size: 20px;
}

.comparison-x {
  color: var(--text-muted);
  font-size: 20px;
}

/* ============================================
   TEAM / STORIA SECTION
   ============================================ */
.team-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.team-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-secondary);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
}

.team-role {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

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

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

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  background: var(--bg-secondary);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-secondary);
}

.pricing-card--featured {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, rgba(196, 149, 106, 0.08) 0%, var(--bg-card) 50%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--bg-primary);
  letter-spacing: 0.02em;
}

.pricing-plan {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
}

.pricing-price {
  margin-bottom: var(--space-xl);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: var(--space-2xl);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.pricing-feature-icon {
  color: var(--accent-teal);
  font-size: 18px;
}

.pricing-card .btn {
  width: 100%;
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.testimonial-quote {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  font-family: var(--font-display);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

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

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

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--bg-secondary);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-fast);
  font-family: var(--font-display);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  font-size: 24px;
  transition: transform var(--transition-base);
  color: var(--accent-primary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-xl);
}

.faq-answer p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   BLOG / CONTACT SECTION
   ============================================ */
.blog-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-secondary);
}

.blog-image {
  height: 180px;
  background: var(--bg-tertiary);
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: var(--space-xl);
}

.blog-date {
  font-size: var(--fs-xs);
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  line-height: 1.4;
  font-family: var(--font-display);
}

.blog-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.footer-cta {
  text-align: center;
  padding: var(--space-5xl) 0;
  border-bottom: 1px solid var(--border-color);
}

.footer-cta-title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
}

.footer-cta-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  padding: var(--space-4xl) 0;
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-lg);
  max-width: 300px;
  line-height: 1.7;
}

.footer-heading {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-color);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: var(--space-lg);
}

.footer-social a {
  color: var(--text-muted);
  font-size: 20px;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent-primary);
}

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

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for grid items */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-stagger.visible>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-stagger.visible>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-stagger.visible>*:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal-stagger.visible>*:nth-child(5) {
  transition-delay: 0.5s;
}

.reveal-stagger.visible>*:nth-child(6) {
  transition-delay: 0.6s;
}

.reveal-stagger.visible>*:nth-child(7) {
  transition-delay: 0.7s;
}

.reveal-stagger.visible>*:nth-child(8) {
  transition-delay: 0.8s;
}

.reveal-stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}