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

:root {
  --primary: #722F37;
  --primary-dark: #5A252C;
  --secondary: #4A7C59;
  --accent: #C9A227;
  --text: #2C2C2C;
  --text-light: #666666;
  --bg: #FDFBF7;
  --bg-alt: #F5F0E8;
  --white: #FFFFFF;
  --border: #E0D6C8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg {
  width: 36px;
  height: 36px;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-desktop a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

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

/* Mobile Menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-mobile a {
  color: var(--text);
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #B8921F;
  color: var(--text);
}

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

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Sections */
section {
  padding: 60px 20px;
}

.section-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  color: var(--text-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Features/Services */
.features {
  background-color: var(--bg-alt);
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--primary);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.feature-price {
  margin-top: 15px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
}

/* About Section */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-visual {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border) 100%);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.about-visual svg {
  width: 120px;
  height: 120px;
  fill: var(--primary);
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-alt);
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  color: var(--text);
  font-size: 1rem;
}

.testimonial-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.contact-item h3 {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #3D6549 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cta p {
  opacity: 0.95;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--text);
  color: var(--white);
  padding: 50px 20px 25px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 35px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 2rem;
}

.legal-content h2 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 1.4rem;
}

.legal-content h3 {
  color: var(--text);
  margin: 25px 0 10px;
  font-size: 1.2rem;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-content ul {
  color: var(--text-light);
  margin: 15px 0 15px 25px;
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 80px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
}

.thank-you-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--secondary);
}

.thank-you h1 {
  color: var(--primary);
  margin-bottom: 15px;
}

.thank-you p {
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 30px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-content a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--accent);
  color: var(--text);
}

.cookie-btn-accept:hover {
  background-color: #B8921F;
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
  border-color: var(--white);
}

.cookie-btn-settings {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.cookie-btn-settings:hover {
  background-color: var(--accent);
  color: var(--text);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background-color: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cookie-modal-header h3 {
  color: var(--primary);
  font-size: 1.3rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 5px;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--text);
}

.cookie-option {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-option-header h4 {
  color: var(--text);
  font-size: 1rem;
}

.cookie-option p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  border-radius: 26px;
  transition: 0.3s;
}

.toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--secondary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Page Headers */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Stats Section */
.stats {
  background-color: var(--white);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* 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: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 5px 5px;
  z-index: 10001;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  section {
    padding: 80px 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .features-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card {
    flex: 1;
    min-width: 280px;
  }

  .about-content {
    flex-direction: row;
    align-items: center;
  }

  .about-text,
  .about-visual {
    flex: 1;
  }

  .testimonials-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial-card {
    flex: 1;
    min-width: 300px;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-item {
    flex: 1;
    min-width: 250px;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-section {
    flex: 1;
    min-width: 200px;
  }

  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-content p {
    flex: 1;
    margin-right: 20px;
  }

  .cookie-buttons {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .features-grid {
    gap: 30px;
  }

  .feature-card {
    min-width: 320px;
  }
}