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

:root {
  --color-primary: #2c5545;
  --color-secondary: #d4a574;
  --color-accent: #8b4513;
  --color-dark: #1a1a1a;
  --color-light: #faf8f5;
  --color-muted: #6b6b6b;
  --color-border: #e0dcd5;
  --color-white: #ffffff;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-light);
}

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

ul {
  list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background-color: #1e3d30;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-dark);
}

.btn-secondary:hover {
  background-color: #c49560;
}

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

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

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

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  margin: 8px 0;
}

.nav-links a {
  font-weight: 500;
  padding: 10px 0;
  display: block;
  color: var(--color-dark);
}

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

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.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);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 32px;
  }

  .nav-links li {
    margin: 0;
  }

  .menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--color-light) 0%, #e8e4de 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  margin-bottom: 24px;
  color: var(--color-primary);
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

@media (min-width: 768px) {
  .hero {
    padding: 160px 0 100px;
  }

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

  .hero-text {
    flex: 1;
  }

  .hero-visual {
    flex: 1;
  }
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--color-white);
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  flex: 1 1 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .card {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .card {
    flex: 1 1 calc(33.333% - 16px);
  }
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--color-muted);
}

/* Service Cards */
.service-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-secondary);
  transition: all var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-primary);
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
}

.service-card p {
  color: var(--color-muted);
  margin-bottom: 20px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Feature Blocks */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  flex-direction: column;
}

.feature-content {
  flex: 1;
}

.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

@media (min-width: 768px) {
  .feature-block {
    flex-direction: row;
    align-items: center;
  }

  .feature-block.reverse {
    flex-direction: row-reverse;
  }
}

/* Statistics */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 8px;
  line-height: 1;
}

.section-dark .stat-number {
  color: var(--color-secondary);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-muted);
}

.section-dark .stat-label {
  color: rgba(255,255,255,0.8);
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.testimonial {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  flex: 1 1 100%;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  color: var(--color-secondary);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .testimonial {
    flex: 1 1 calc(50% - 16px);
  }
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--color-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 8px;
  color: var(--color-primary);
}

.step-content p {
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .process-step {
    flex: 1 1 calc(50% - 16px);
  }
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.industry-tag {
  background-color: var(--color-white);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.industry-tag:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Quote Section */
.quote-section {
  background-color: var(--color-secondary);
  padding: 80px 0;
  text-align: center;
}

.quote-text {
  font-size: 1.75rem;
  font-style: italic;
  color: var(--color-dark);
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.quote-author {
  font-weight: 600;
  color: var(--color-primary);
}

/* Contact Section */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1 1 100%;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: flex-start;
}

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

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

.contact-details h4 {
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--color-muted);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .contact-info {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Milestones */
.milestones {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.milestone {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.milestone-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  min-width: 80px;
}

.milestone-content h4 {
  margin-bottom: 8px;
}

.milestone-content p {
  color: var(--color-muted);
}

/* Values Grid */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.value-item {
  flex: 1 1 100%;
  background-color: var(--color-white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.value-item svg {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.value-item h4 {
  margin-bottom: 12px;
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .value-item {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .value-item {
    flex: 1 1 calc(25% - 18px);
  }
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background-color: var(--color-light);
}

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e3d30 100%);
  color: var(--color-white);
  padding: 60px 40px;
  border-radius: 12px;
  text-align: center;
}

.highlight-panel h3 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.highlight-panel p {
  opacity: 0.9;
  margin-bottom: 24px;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  flex: 1 1 100%;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  max-width: 300px;
}

.footer-links {
  flex: 1 1 calc(50% - 20px);
}

.footer-links h4 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .footer-brand {
    flex: 1 1 300px;
  }

  .footer-links {
    flex: 1 1 150px;
  }
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

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

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

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

.cookie-content p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.cookie-content a {
  color: var(--color-secondary);
  text-decoration: underline;
}

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

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

/* Cookie Preferences 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;
}

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

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

.modal-header h3 {
  margin-bottom: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-muted);
  padding: 8px;
}

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

.cookie-option {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-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 h4 {
  margin-bottom: 0;
}

.toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

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

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

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

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

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

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

.cookie-option p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.modal-footer {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Page Header */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e3d30 100%);
  color: var(--color-white);
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Pages */
.legal-content {
  padding: 60px 0;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-muted);
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content ul li {
  margin-bottom: 8px;
  list-style: disc;
}

/* Thank You Page */
.thank-you-section {
  padding: 140px 0 80px;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thank-you-content svg {
  width: 120px;
  height: 120px;
  margin-bottom: 32px;
}

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

.thank-you-content p {
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* Team Grid */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.team-member {
  flex: 1 1 100%;
  text-align: center;
  background-color: var(--color-white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.team-member svg {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.team-member h4 {
  margin-bottom: 4px;
}

.team-member .role {
  color: var(--color-secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-member p {
  color: var(--color-muted);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .team-member {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (min-width: 1024px) {
  .team-member {
    flex: 1 1 calc(33.333% - 22px);
  }
}

/* Benefits List */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-item svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.benefit-item h4 {
  margin-bottom: 4px;
}

.benefit-item p {
  color: var(--color-muted);
  margin-bottom: 0;
}

/* Two Column Layout */
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.two-column > * {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .two-column > * {
    flex: 1 1 calc(50% - 30px);
  }
}

/* Icon Row */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.icon-item {
  flex: 1 1 150px;
  max-width: 200px;
  text-align: center;
}

.icon-item svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.icon-item p {
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 0;
}

/* 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: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 4px;
  z-index: 10001;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 20px;
}
