:root {
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --color-linen: #F7F6F3;
  --color-forest: #5A7D56;
  --color-earth: #A68B6E;
  --color-sage: #C4CCB5;
  --color-terracotta: #D9A687;
  --color-text: #2C2C2C;
  --color-text-light: #666666;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-linen);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-forest);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

a {
  color: var(--color-forest);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-terracotta);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  background: rgba(247, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-forest);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  width: clamp(32px, 4vw, 40px);
  height: clamp(32px, 4vw, 40px);
  background: var(--color-forest);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-linen);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-menu a {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu a:hover {
  background: var(--color-sage);
  color: var(--color-forest);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-forest);
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 101;
  position: relative;
}

.menu-toggle.active {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-linen);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl) var(--space-lg);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-forest);
  cursor: pointer;
  padding: var(--space-xs);
}

.mobile-nav {
  list-style: none;
  margin-top: var(--space-2xl);
}

.mobile-nav li {
  margin-bottom: var(--space-md);
}

.mobile-nav a {
  display: block;
  padding: var(--space-sm);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--color-sage);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-3xl) var(--space-md);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(90, 125, 86, 0.7), rgba(166, 139, 110, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.95);
  max-width: 100%;
}

.hero-animation {
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero-animation.top-left {
  top: 10%;
  left: 10%;
}

.hero-animation.top-right {
  top: 15%;
  right: 15%;
}

.hero-animation.bottom-left {
  bottom: 20%;
  left: 20%;
}

.hero-animation.bottom-right {
  bottom: 15%;
  right: 10%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.hero-animation svg {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-forest);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--space-md);
  text-align: center;
}

.btn:hover {
  background: var(--color-terracotta);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-forest);
}

.decline-privacy {
  background: var(--color-text);
  border: 2px solid var(--color-text);
  color: white;
}

.decline-privacy:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: white;
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.section {
  padding: var(--space-3xl) var(--space-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title p {
  text-align: center;
  margin: 0 auto;
  max-width: 65ch;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-terracotta);
  border-radius: var(--radius-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.service-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 3rem;
  color: var(--color-forest);
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-sm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-item h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.feature-icon {
  font-size: 2rem;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
}

.about-text {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-xl);
}

.pricing-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table th,
.pricing-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-sage);
}

.pricing-table th {
  background: var(--color-forest);
  color: white;
  font-weight: 600;
}

.pricing-table tr:hover {
  background: var(--color-linen);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.pricing-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.pricing-card:hover {
  border-color: var(--color-forest);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-forest);
  margin-bottom: var(--space-md);
}

.price {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-terracotta);
  margin: var(--space-md) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.process-step {
  position: relative;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.process-step h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--color-forest);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.contact-section {
  background: white;
  padding: var(--space-3xl) var(--space-md);
  border-radius: var(--radius-lg);
  margin: var(--space-3xl) auto;
  max-width: 900px;
  box-shadow: var(--shadow-md);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--color-forest);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-sage);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-forest);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.footer {
  background: var(--color-forest);
  color: white;
  padding: var(--space-2xl) var(--space-md);
  margin-top: var(--space-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--space-md);
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-menu a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.thank-you-page,
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}

.thank-you-page h1,
.error-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-lg);
}

.thank-you-page p,
.error-page p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 100%;
  margin-bottom: var(--space-lg);
}

.legal-page {
  padding: var(--space-3xl) var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.legal-page h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page p {
  margin-bottom: var(--space-md);
}

.legal-page ul,
.legal-page ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-page li {
  margin-bottom: var(--space-sm);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.legal-page table th,
.legal-page table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-sage);
}

.legal-page table th {
  background: var(--color-forest);
  color: white;
}

.home-button {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-forest);
  color: white;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.home-button:hover {
  background: var(--color-terracotta);
  color: white;
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 500px;
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
}

.privacy-popup.active {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.privacy-popup-content {
  margin-bottom: var(--space-md);
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-popup-buttons .btn {
  margin-top: 0;
  flex: 1;
  min-width: 120px;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 60vh;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .services-grid,
  .features-grid,
  .pricing-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .section {
    padding: var(--space-xl) var(--space-sm);
  }

  .hero {
    min-height: 50vh;
    padding: var(--space-xl) var(--space-sm);
  }

  .hero-animation {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 13px;
  }

  .container {
    padding: 0 var(--space-sm);
  }
}

