/* CSS Layers for cascade management */
@layer reset, tokens, layout, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  body {
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  
  input, button, textarea, select {
    font: inherit;
  }
  
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
}

@layer tokens {
  :root {
    /* Color Palette - Warm Textured Modern */
    --color-primary: #D4745E;
    --color-primary-dark: #B85E48;
    --color-primary-light: #E89B88;
    --color-secondary: #5A4A3F;
    --color-secondary-dark: #3D332B;
    --color-accent: #E8A87C;
    --color-accent-dark: #D89060;
    
    /* Neutrals with warm tint */
    --color-bg: #FAF7F4;
    --color-surface: #FFFFFF;
    --color-surface-dark: #F5F1ED;
    --color-text: #2D2520;
    --color-text-light: #6B5F56;
    --color-text-muted: #9B8F86;
    --color-border: #E5DDD6;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Typography Scale */
    --font-family: 'Outfit', sans-serif;
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3.5rem;
    --text-5xl: 4.5rem;
    
    /* Border Radius Scale */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-2xl: 32px;
    
    /* Layered Shadow System */
    --shadow-sm: 
      0 1px 2px rgba(45, 37, 32, 0.04),
      0 2px 4px rgba(45, 37, 32, 0.02);
    --shadow-md: 
      0 2px 4px rgba(45, 37, 32, 0.06),
      0 4px 8px rgba(45, 37, 32, 0.04),
      0 8px 16px rgba(45, 37, 32, 0.02);
    --shadow-lg: 
      0 4px 8px rgba(45, 37, 32, 0.08),
      0 8px 16px rgba(45, 37, 32, 0.06),
      0 16px 32px rgba(45, 37, 32, 0.04);
    --shadow-xl: 
      0 8px 16px rgba(45, 37, 32, 0.1),
      0 16px 32px rgba(45, 37, 32, 0.08),
      0 24px 48px rgba(45, 37, 32, 0.06);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
  }
}

@layer layout {
  body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-bg);
    position: relative;
  }
  
  /* SVG Noise Filter for Texture */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.025;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  }
  
  main {
    flex: 1;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
  }
  
  .container-wide {
    max-width: 1400px;
  }
  
  .container-narrow {
    max-width: 900px;
  }
  
  section {
    padding: var(--space-2xl) 0;
    position: relative;
  }
  
  @media (max-width: 768px) {
    section {
      padding: var(--space-xl) 0;
    }
  }
}

@layer components {
  /* Header & Navigation */
  .site-header {
    background: var(--color-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    gap: var(--space-lg);
  }
  
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-surface);
    font-size: var(--text-xl);
    font-weight: 700;
    transition: opacity var(--transition-base);
  }
  
  .logo:hover {
    opacity: 0.85;
  }
  
  .logo svg {
    height: 40px;
    width: auto;
    margin-right: var(--space-sm);
  }
  
  .nav-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
  
  .main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
  }
  
  .main-nav a {
    color: var(--color-surface);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: color var(--transition-base);
    position: relative;
    padding: var(--space-xs) 0;
  }
  
  .main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
  }
  
  .main-nav a:hover {
    color: var(--color-accent);
  }
  
  .main-nav a:hover::after {
    width: 100%;
  }
  
  /* Language Switcher */
  .lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
  }
  
  .lang-btn {
    color: var(--color-surface);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-xs);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    opacity: 0.7;
  }
  
  .lang-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .lang-btn.active {
    opacity: 1;
    background: var(--color-accent);
    color: var(--color-secondary);
  }
  
  .lang-divider {
    color: var(--color-surface);
    opacity: 0.3;
  }
  
  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-surface);
    font-size: var(--text-xl);
    cursor: pointer;
    padding: var(--space-xs);
    transition: transform var(--transition-base);
  }
  
  .mobile-menu-toggle:hover {
    transform: scale(1.1);
  }
  
  @media (max-width: 968px) {
    .mobile-menu-toggle {
      display: block;
    }
    
    .nav-wrapper {
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100vh;
      background: var(--color-secondary-dark);
      flex-direction: column;
      padding: var(--space-2xl) var(--space-lg);
      gap: var(--space-md);
      align-items: stretch;
      transition: right var(--transition-slow);
      box-shadow: var(--shadow-xl);
    }
    
    .nav-wrapper.active {
      right: 0;
    }
    
    .main-nav ul {
      flex-direction: column;
      gap: var(--space-sm);
      align-items: stretch;
    }
    
    .main-nav a {
      padding: var(--space-sm);
      display: block;
      border-radius: var(--radius-md);
    }
    
    .main-nav a:hover {
      background: rgba(255, 255, 255, 0.1);
    }
    
    .lang-switcher {
      padding-top: var(--space-md);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      justify-content: center;
    }
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    background: linear-gradient(135deg, #5A4A3F 0%, #3D332B 100%);
    color: var(--color-surface);
    padding: var(--space-3xl) 0;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.36;
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--color-surface);
  }
  
  .hero p {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
  }
  
  .hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
  }
  
  @media (max-width: 768px) {
    .hero {
      padding: var(--space-2xl) 0;
    }
    
    .hero-cta {
      flex-direction: column;
    }
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
  }
  
  .btn:hover::before {
    left: 100%;
  }
  
  .btn-primary {
    background: var(--color-accent);
    color: var(--color-secondary);
    box-shadow: 
      0 4px 8px rgba(232, 168, 124, 0.3),
      0 8px 16px rgba(232, 168, 124, 0.2);
  }
  
  .btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 
      0 6px 12px rgba(232, 168, 124, 0.35),
      0 12px 24px rgba(232, 168, 124, 0.25);
  }
  
  .btn-secondary {
    background: transparent;
    color: var(--color-surface);
    border: 2px solid var(--color-surface);
  }
  
  .btn-secondary:hover {
    background: var(--color-surface);
    color: var(--color-secondary);
    transform: translateY(-2px);
  }
  
  .btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
  }
  
  .btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-surface);
    transform: translateY(-2px);
  }
  
  /* Cards */
  .card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
  }
  
  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
  }
  
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  
  .card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-surface);
    font-size: var(--text-xl);
    box-shadow: var(--shadow-sm);
  }
  
  .card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
  }
  
  .card p {
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  /* Grid Layouts */
  .grid {
    display: grid;
    gap: var(--space-lg);
  }
  
  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  @media (max-width: 768px) {
    .grid-2, .grid-3 {
      grid-template-columns: 1fr;
    }
  }
  
  /* Section Headings */
  .section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-text);
  }
  
  .section-description {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  /* FAQ Accordion */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
  }
  
  .faq-item:hover {
    box-shadow: var(--shadow-md);
  }
  
  .faq-question {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    text-align: left;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: color var(--transition-base);
  }
  
  .faq-question:hover {
    color: var(--color-primary);
  }
  
  .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: transform var(--transition-base);
  }
  
  .faq-item.active .faq-icon {
    transform: rotate(180deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
  }
  
  .faq-answer-content {
    padding: 0 var(--space-lg) var(--space-md);
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  .faq-item.active .faq-answer {
    max-height: 500px;
  }
  
  /* Service Areas Map Section */
  .service-areas {
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
  }
  
  .service-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
  }
  
  .areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    position: relative;
  }
  
  .area-card {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background: var(--color-surface-dark);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
  }
  
  .area-card:hover {
    border-color: var(--color-primary);
    transform: translateX(4px);
  }
  
  .area-card h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .area-card h4 i {
    color: var(--color-primary);
  }
  
  .area-card p {
    color: var(--color-text-light);
    font-size: var(--text-sm);
  }
  
  /* Image with Caption */
  .image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
  }
  
  .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
  }
  
  .image-wrapper:hover img {
    transform: scale(1.05);
  }
  
  /* Feature Sections */
  .feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
  }
  
  .feature-section.reverse {
    direction: rtl;
  }
  
  .feature-section.reverse > * {
    direction: ltr;
  }
  
  .feature-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--color-text);
  }
  
  .feature-content p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
  }
  
  .feature-list {
    list-style: none;
    margin-top: var(--space-lg);
  }
  
  .feature-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--color-text-light);
    line-height: 1.6;
  }
  
  .feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
  }
  
  @media (max-width: 968px) {
    .feature-section {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
    
    .feature-section.reverse {
      direction: ltr;
    }
  }
  
  /* Timeline */
  .timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
  }
  
  .timeline-item {
    margin-bottom: var(--space-xl);
    position: relative;
  }
  
  .timeline-content {
    width: calc(50% - var(--space-xl));
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
  }
  
  .timeline-marker {
    position: absolute;
    left: 50%;
    top: var(--space-lg);
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border: 4px solid var(--color-bg);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-sm);
  }
  
  .timeline-year {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
  }
  
  .timeline-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
  }
  
  .timeline-content p {
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  @media (max-width: 768px) {
    .timeline::before {
      left: 20px;
    }
    
    .timeline-content {
      width: calc(100% - 60px);
      margin-left: 60px !important;
    }
    
    .timeline-marker {
      left: 20px;
    }
  }
  
  /* Blog/Updates Grid */
  .updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
  }
  
  .update-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
  }
  
  .update-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
  }
  
  .update-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
  }
  
  .update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }
  
  .update-card:hover .update-image img {
    transform: scale(1.08);
  }
  
  .update-content {
    padding: var(--space-lg);
  }
  
  .update-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
  }
  
  .update-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
  }
  
  .update-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    line-height: 1.3;
  }
  
  .update-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
  }
  
  .read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: gap var(--transition-base);
  }
  
  .read-more:hover {
    gap: var(--space-sm);
  }
  
  /* Contact Form */
  .contact-section {
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
  }
  
  .contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-surface);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
  }
  
  .contact-details h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
  }
  
  .contact-details p, .contact-details a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-base);
  }
  
  .contact-details a:hover {
    color: var(--color-primary);
  }
  
  .form-group {
    margin-bottom: var(--space-md);
  }
  
  .form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--color-text);
    font-size: var(--text-sm);
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    background: var(--color-surface);
    color: var(--color-text);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(212, 116, 94, 0.1);
  }
  
  .form-group textarea {
    min-height: 140px;
    resize: vertical;
  }
  
  .checkbox-group {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    margin-bottom: var(--space-md);
  }
  
  .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
  }
  
  .checkbox-group label {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    line-height: 1.5;
    cursor: pointer;
  }
  
  .checkbox-group a {
    color: var(--color-primary);
    text-decoration: none;
  }
  
  .checkbox-group a:hover {
    text-decoration: underline;
  }
  
  .map-container {
    margin-top: var(--space-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
  }
  
  .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  @media (max-width: 968px) {
    .contact-grid {
      grid-template-columns: 1fr;
      gap: var(--space-xl);
    }
    
    .map-container {
      height: 300px;
    }
  }
  
  /* Footer */
  .site-footer {
    background: var(--color-secondary);
    color: var(--color-surface);
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
    position: relative;
  }
  
  .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
    position: relative;
  }
  
  .footer-about h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-surface);
  }
  
  .footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-md);
  }
  
  .footer-section h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-surface);
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: var(--space-sm);
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
  }
  
  .footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
  }
  
  .footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    position: relative;
  }
  
  .footer-legal {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
  }
  
  .footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-base);
  }
  
  .footer-legal a:hover {
    color: var(--color-accent);
  }
  
  @media (max-width: 968px) {
    .footer-content {
      grid-template-columns: 1fr;
      gap: var(--space-xl);
    }
  }
  
  /* Cookie Consent Banner */
  .cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-secondary-dark);
    color: var(--color-surface);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
  }
  
  .cookie-consent.show {
    transform: translateY(0);
  }
  
  .cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
  }
  
  .cookie-consent p {
    flex: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
  }
  
  .cookie-consent p a {
    color: var(--color-accent);
    text-decoration: underline;
  }
  
  .cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
  }
  
  .cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
  }
  
  .cookie-btn-accept {
    background: var(--color-accent);
    color: var(--color-secondary);
  }
  
  .cookie-btn-accept:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
  }
  
  .cookie-btn-decline {
    background: transparent;
    color: var(--color-surface);
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .cookie-btn-decline:hover {
    border-color: var(--color-surface);
  }
  
  .cookie-btn-customize {
    background: transparent;
    color: var(--color-surface);
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .cookie-btn-customize:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }
  
  /* Cookie Settings Modal */
  .cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    padding: var(--space-lg);
    overflow-y: auto;
  }
  
  .cookie-settings-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cookie-settings-content {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-xl);
  }
  
  .cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
  }
  
  .cookie-settings-header h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text);
  }
  
  .cookie-close {
    background: none;
    border: none;
    font-size: var(--text-xl);
    color: var(--color-text-muted);
    cursor: pointer;
    padding: var(--space-xs);
    transition: color var(--transition-base);
  }
  
  .cookie-close:hover {
    color: var(--color-text);
  }
  
  .cookie-category {
    padding: var(--space-md);
    background: var(--color-surface-dark);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
  }
  
  .cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
  }
  
  .cookie-category h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text);
  }
  
  .cookie-category p {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    line-height: 1.6;
  }
  
  .cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
  }
  
  .cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-border);
    border-radius: 26px;
    transition: background var(--transition-base);
  }
  
  .cookie-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition-base);
  }
  
  .cookie-toggle input:checked + .cookie-slider {
    background: var(--color-primary);
  }
  
  .cookie-toggle input:checked + .cookie-slider::before {
    transform: translateX(24px);
  }
  
  .cookie-toggle input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .cookie-settings-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }
  
  @media (max-width: 768px) {
    .cookie-consent-content {
      flex-direction: column;
      align-items: stretch;
    }
    
    .cookie-buttons {
      flex-direction: column;
    }
    
    .cookie-settings-content {
      padding: var(--space-lg);
    }
    
    .cookie-settings-actions {
      flex-direction: column;
    }
  }
  
  /* Legal Pages */
  .legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
  }
  
  .legal-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--color-text);
  }
  
  .legal-updated {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
  }
  
  .legal-content h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text);
  }
  
  .legal-content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
  }
  
  .legal-content p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .legal-content ul, .legal-content ol {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
    line-height: 1.8;
  }
  
  .legal-content li {
    margin-bottom: var(--space-sm);
  }
  
  .legal-content a {
    color: var(--color-primary);
    text-decoration: none;
  }
  
  .legal-content a:hover {
    text-decoration: underline;
  }
}

@layer utilities {
  .text-center {
    text-align: center;
  }
  
  .mt-0 { margin-top: 0; }
  .mt-sm { margin-top: var(--space-sm); }
  .mt-md { margin-top: var(--space-md); }
  .mt-lg { margin-top: var(--space-lg); }
  .mt-xl { margin-top: var(--space-xl); }
  
  .mb-0 { margin-bottom: 0; }
  .mb-sm { margin-bottom: var(--space-sm); }
  .mb-md { margin-bottom: var(--space-md); }
  .mb-lg { margin-bottom: var(--space-lg); }
  .mb-xl { margin-bottom: var(--space-xl); }
  
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
  }
  
  .fade-in.animated {
    opacity: 1;
    transform: translateY(0);
  }
  
  .bg-surface {
    background: var(--color-surface);
  }
  
  .bg-surface-dark {
    background: var(--color-surface-dark);
  }
}