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

:root {
  --primary: #1a5f4a;
  --primary-dark: #134539;
  --secondary: #e8c547;
  --accent: #2d8a6e;
  --text: #2c3e50;
  --text-light: #5a6c7d;
  --bg: #fafbfc;
  --bg-alt: #f0f4f3;
  --white: #ffffff;
  --border: #d1d9e0;
  --shadow: rgba(26, 95, 74, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

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

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
  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 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

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

/* Navigation */
nav {
  display: none;
}

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

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

nav a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
  display: block;
}

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

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

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 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;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 197, 71, 0.4);
  color: var(--primary-dark);
}

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

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

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

section:nth-child(even) {
  background: var(--bg-alt);
}

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

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(26, 95, 74, 0.12);
}

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

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

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

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

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

.feature-content h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 30px;
}

.feature-image svg {
  width: 150px;
  height: 150px;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

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

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
}

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

.testimonial-text {
  padding-top: 30px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
}

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

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

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

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

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

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

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

.faq-answer-inner {
  padding: 0 25px 20px;
  color: var(--text-light);
}

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

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

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

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

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

/* Services */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow);
  border-left: 4px solid var(--primary);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 15px;
}

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

.service-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

/* Contact Info */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow);
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card svg {
  width: 28px;
  height: 28px;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item strong {
  color: var(--text);
  min-width: 120px;
}

/* Values/Philosophy */
.values-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
}

.value-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

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

.value-content p {
  color: var(--text-light);
}

/* Timeline/Milestones */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
  padding-left: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 5px;
  width: 15px;
  height: 15px;
  background: var(--secondary);
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.timeline-text {
  color: var(--text-light);
}

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

.industry-tag {
  background: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 2px 10px var(--shadow);
  font-weight: 500;
  color: var(--text);
}

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

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

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

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-bottom: 40px;
}

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

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 9999;
  display: none;
}

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

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

.cookie-text h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

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

.cookie-btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

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

.cookie-reject {
  background: var(--bg-alt);
  color: var(--text);
}

.cookie-settings {
  background: transparent;
  color: var(--primary);
  text-decoration: underline;
}

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

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

.cookie-modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
  padding: 25px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.cookie-modal-body {
  padding: 25px;
}

.cookie-option {
  margin-bottom: 25px;
}

.cookie-option:last-child {
  margin-bottom: 0;
}

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

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

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

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

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

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

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

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

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

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

.cookie-modal-footer {
  padding: 20px 25px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

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

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

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

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

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

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

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

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

.thank-you-content svg {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

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

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

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

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

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

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

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

.comparison-table tr:hover td {
  background: var(--bg-alt);
}

/* Highlight Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
  text-align: center;
}

.highlight-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.highlight-panel p {
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Quote Section */
.quote-section {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-alt);
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

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

/* Responsive */
@media (min-width: 768px) {
  .header-inner {
    padding: 15px 40px;
  }

  nav {
    display: flex;
    position: static;
    box-shadow: none;
    padding: 0;
  }

  nav ul {
    flex-direction: row;
    gap: 30px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 100px 40px;
  }

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

  section {
    padding: 80px 40px;
  }

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

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .feature-block {
    flex-direction: row;
    align-items: center;
  }

  .feature-block:nth-child(even) {
    flex-direction: row-reverse;
  }

  .feature-content,
  .feature-image {
    flex: 1;
  }

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

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

  .contact-grid {
    flex-direction: row;
  }

  .contact-card {
    flex: 1;
  }

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

  .value-item {
    flex: 1;
    min-width: 280px;
  }

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

  .footer-section {
    flex: 1;
  }

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

  .cookie-text {
    flex: 1;
  }
}

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

  .stats {
    gap: 40px;
  }

  .stat-number {
    font-size: 3rem;
  }
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 10001;
  transition: top 0.2s;
}

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

/* Print styles */
@media print {
  header,
  footer,
  .cookie-banner,
  .cookie-modal {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .legal-content {
    max-width: 100%;
  }
}