/*
 * SARL GARCIA FORAGES - Corporate Navy Theme
 * A sophisticated corporate theme for French construction companies
 * Palette: Deep Navy, Bordeaux Red, and Silver
 * Typography: Professional design with clean aesthetics
 */

/* ============================================
   GENERATED COLOR SCHEME: CORPORATE NAVY
   Light Mode:
   - Primary: #1d3557
   - Secondary: #457b9d
   - Accent: #a8dadc
   - Neutral: #f1faee
   - Background: #ffffff
   - Text: #1a1a1a
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
  /* Primary Colors */
  --color-primary: #1d3557;
  --color-primary-dark: #152945;
  --color-primary-light: #2d4a73;

  /* Secondary Colors */
  --color-secondary: #457b9d;
  --color-secondary-dark: #35627d;
  --color-secondary-light: #5a8fb5;

  /* Accent Colors */
  --color-accent: #a8dadc;
  --color-accent-dark: #8ac8cc;
  --color-accent-light: #c5e6e8;

  /* Bordeaux Red (Special Accent) */
  --color-bordeaux: #800020;
  --color-bordeaux-light: #a01535;

  /* Neutral Colors */
  --color-neutral: #f1faee;
  --color-neutral-dark: #e1efe8;

  /* Background Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8f9fa;
  --color-bg-tertiary: #e9ecef;

  /* Text Colors */
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #6c757d;

  /* Status Colors */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  --color-info: #17a2b8;

  /* Silver/Metallic Tones */
  --color-silver: #c0c0c0;
  --color-silver-light: #e8e8e8;
  --color-silver-dark: #a0a0a0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
  --shadow-corporate: 0 2px 12px rgba(29, 53, 87, 0.15);

  /* Typography */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ============================================
   DARK MODE VARIABLES
   ============================================ */
[data-theme="dark"] {
  --color-primary: #2d4a73;
  --color-primary-dark: #1d3557;
  --color-primary-light: #3d5a83;

  --color-secondary: #5a8fb5;
  --color-secondary-dark: #457b9d;
  --color-secondary-light: #6a9fc5;

  --color-accent: #457b9d;
  --color-accent-dark: #35627d;
  --color-accent-light: #558bad;

  --color-bordeaux: #a01535;
  --color-bordeaux-light: #c02545;

  --color-neutral: #1a1a1a;
  --color-neutral-dark: #252525;

  --color-bg-primary: #0d1117;
  --color-bg-secondary: #161b22;
  --color-bg-tertiary: #21262d;

  --color-text-primary: #f1faee;
  --color-text-secondary: #c9d1d9;
  --color-text-muted: #8b949e;

  --color-silver: #4a4a4a;
  --color-silver-light: #5a5a5a;
  --color-silver-dark: #3a3a3a;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.6);
  --shadow-corporate: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

h1.serif, h2.serif, h3.serif {
  font-family: var(--font-serif);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}

strong, b {
  font-weight: 700;
  color: var(--color-text-primary);
}

em, i {
  font-style: italic;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--container-padding);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: calc(-1 * var(--space-md));
}

.col {
  flex: 1 0 0%;
  padding: var(--space-md);
}

/* Grid Columns */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-primary);
  box-shadow: var(--shadow-corporate);
  transition: background-color var(--transition-base);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-logo img {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.header-logo-text {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-neutral);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-md);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-neutral);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-neutral);
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.nav-link.material-icons {
  font-size: var(--text-lg);
}

/* Theme Switcher */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: background-color var(--transition-fast);
}

.theme-switcher:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.theme-switcher span {
  font-size: var(--text-lg);
  color: var(--color-neutral);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--color-neutral);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(29, 53, 87, 0.85) 0%, rgba(69, 123, 157, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-4xl);
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--color-neutral);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-neutral);
  margin-bottom: var(--space-2xl);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-bordeaux);
  color: var(--color-neutral);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-bordeaux-light);
  color: var(--color-neutral);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-neutral);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-secondary-light);
  color: var(--color-neutral);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-neutral);
  border: 2px solid var(--color-neutral);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--color-neutral);
  color: var(--color-primary);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-bordeaux), var(--color-secondary));
}

[data-theme="dark"] .section-title {
  color: var(--color-neutral);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Section Backgrounds */
.section-bg-neutral {
  background-color: var(--color-bg-secondary);
  position: relative;
}

.section-bg-neutral::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="pinstripe" patternUnits="userSpaceOnUse" width="100" height="10"><line x1="0" y1="5" x2="100" y2="5" stroke="rgba(29, 53, 87, 0.03)" stroke-width="1"/></pattern></defs><rect fill="url(%23pinstripe)" width="100" height="100"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.section-bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
}

.section-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(29, 53, 87, 0.85);
  filter: blur(3px);
}

.section-bg-image .container {
  position: relative;
  z-index: 2;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background-color: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-corporate);
  transition: all var(--transition-base);
  height: 100%;
  border: 1px solid var(--color-silver-light);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.card-icon span {
  font-size: 32px;
  color: var(--color-neutral);
}

.card-title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

[data-theme="dark"] .card-title {
  color: var(--color-neutral);
}

.card-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  font-weight: 600;
  color: var(--color-bordeaux);
  text-decoration: none;
}

.card-link:hover {
  color: var(--color-bordeaux-light);
  text-decoration: underline;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

[data-theme="dark"] .about-text h3 {
  color: var(--color-neutral);
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-corporate);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-bordeaux);
  display: block;
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-corporate);
  transition: all var(--transition-base);
  background-color: var(--color-bg-primary);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-content {
  padding: var(--space-xl);
}

.service-card-title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

[data-theme="dark"] .service-card-title {
  color: var(--color-neutral);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.contact-item-icon span {
  font-size: 24px;
  color: var(--color-neutral);
}

.contact-item-content h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

[data-theme="dark"] .contact-item-content h4 {
  color: var(--color-neutral);
}

.contact-item-content p {
  margin-bottom: 0;
}

.contact-item-content a {
  color: var(--color-text-secondary);
}

.contact-item-content a:hover {
  color: var(--color-bordeaux);
}

/* Contact Form */
.contact-form {
  background-color: var(--color-bg-primary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-corporate);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
  border: 2px solid var(--color-silver-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29, 53, 87, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Map Container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-corporate);
  margin-top: var(--space-xl);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-primary);
  color: var(--color-neutral);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  padding-right: var(--space-xl);
}

.footer-brand img {
  height: 50px;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.footer-section h4 {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-neutral);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--container-padding);
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
  text-align: center;
}

[data-theme="dark"] .legal-page h1 {
  color: var(--color-neutral);
}

.legal-page h2 {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

[data-theme="dark"] .legal-page h2 {
  color: var(--color-neutral);
}

.legal-page h3 {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  color: var(--color-secondary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page p,
.legal-page ul {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-page ul {
  padding-left: var(--space-xl);
}

.legal-page li {
  margin-bottom: var(--space-sm);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-neutral);
  padding: var(--space-sm) var(--space-md);
  z-index: 100;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;
    --text-4xl: 1.875rem;
    --text-6xl: 2.75rem;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
  }

  .header-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    padding: var(--space-md);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-xl);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: var(--space-xl);
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .btn {
    width: 100%;
  }

  .btn + .btn {
    margin-top: var(--space-md);
  }

  .section {
    padding: var(--space-2xl) 0;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }
.p-4 { padding: var(--space-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .section {
    page-break-inside: avoid;
  }
}
