:root {
  /* Colors - Dark Theme */
  --color-primary: #7C9A92;
  --color-secondary: #AD8174;
  --color-dark: #1A1E23;
  --color-darker: #14171C;
  --color-light: #E1E2E6;
  --color-accent: #D6B08C;
  --color-success: #48A97D;
  --color-warning: #E7A74E;
  --color-error: #E05F5F;

  /* Typography */
  --font-primary: 'Raleway', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-huge: 3rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Layout */
  --container-width: 1200px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-light);
  background-color: var(--color-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: var(--font-size-huge);
}

h2 {
  font-size: var(--font-size-xxl);
}

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

p {
  margin-bottom: var(--space-sm);
}

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

a:hover {
  color: var(--color-primary);
}

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

ul, ol {
  list-style: none;
}

/* Containers */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-med);
  border: none;
  font-size: var(--font-size-md);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.btn-primary:hover {
  background-color: var(--color-primary);
  filter: brightness(1.1);
  color: var(--color-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-light);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-light);
  transform: translateY(-2px);
}

.btn-accept {
  background-color: var(--color-success);
  color: var(--color-light);
}

.btn-accept:hover {
  filter: brightness(1.1);
}

/* Header */
.site-header {
  padding: var(--space-sm) 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(26, 30, 35, 0.95);
  backdrop-filter: blur(5px);
  transition: transform var(--transition-med);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-light);
  margin: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--color-light);
  transition: all var(--transition-fast);
}

.nav-list {
  display: flex;
  gap: var(--space-md);
}

.nav-list a {
  color: var(--color-light);
  font-weight: 500;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width var(--transition-med);
}

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

/* Hero Section */
.hero {
  padding: calc(var(--space-xl) * 2) 0 var(--space-xl);
  text-align: center;
  background-color: var(--color-darker);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 154, 146, 0.2) 0%, rgba(26, 30, 35, 0.9) 100%);
  z-index: 1;
}

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

.hero-title {
  font-size: var(--font-size-huge);
  margin-bottom: var(--space-sm);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-lg);
  opacity: 0.8;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

/* Features Section */
.features {
  padding: var(--space-xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background-color: var(--color-darker);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-med);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: var(--font-size-xxl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* Process Section */
.process {
  padding: var(--space-xl) 0;
  background-color: var(--color-darker);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.process-step {
  padding: var(--space-md);
  position: relative;
  border-left: 3px solid var(--color-primary);
  margin-left: var(--space-md);
}

.materials-section {
  margin-top: 20px;
}

.process-section {
  margin-bottom: 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  position: absolute;
  left: -20px;
  top: var(--space-md);
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-xl) 0;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.testimonial {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--color-darker);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.quote {
  font-size: var(--font-size-lg);
  font-style: italic;
  position: relative;
  margin-bottom: var(--space-md);
}

.quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
  position: absolute;
  top: -2rem;
  left: -1rem;
}

.author {
  font-weight: 700;
  color: var(--color-accent);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.slider-dots {
  display: flex;
  gap: var(--space-xs);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-darker);
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.dot.active {
  background-color: var(--color-primary);
}

.prev, .next {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: var(--font-size-xl);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.prev:hover, .next:hover {
  color: var(--color-accent);
}

/* Contact Preview Section */
.contact-preview {
  padding: var(--space-xl) 0;
  text-align: center;
  background-color: var(--color-darker);
}

.contact-cta {
  margin-top: var(--space-md);
}

/* Footer */
.site-footer {
  background-color: var(--color-darker);
  padding: var(--space-lg) 0 var(--space-sm);
  font-size: var(--font-size-sm);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.footer-info, .footer-links {
  margin-bottom: var(--space-md);
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.copyright {
  text-align: center;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-sm);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-darker);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(100%);
  transition: transform var(--transition-med);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-light);
  transition: border-color var(--transition-fast);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

/* Map */
.map-container {
  height: 400px;
  margin-top: var(--space-lg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 404 Page */
.error-page {
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl) var(--space-sm);
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

/* Thank You Page */
.thank-you {
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl) var(--space-sm);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--color-success);
  margin-bottom: var(--space-md);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }

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

@keyframes slideInFromRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 1s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out;
}

.animate-slideInLeft {
  animation: slideInFromLeft 1s ease-out;
}

.animate-slideInRight {
  animation: slideInFromRight 1s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
    z-index: 102;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--color-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-med);
    z-index: 101;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    text-align: center;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

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

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: var(--font-size-xl);
  }

  .hero-title {
    font-size: var(--font-size-xxl);
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
}