/* Base Reset & Variables */
:root {
  --color-primary: #5a7a6b;
  --color-primary-dark: #3d5a4d;
  --color-secondary: #d4a574;
  --color-secondary-light: #e8c9a8;
  --color-accent: #8b6f5c;
  --color-dark: #2c3e36;
  --color-light: #f8f6f3;
  --color-white: #ffffff;
  --color-gray: #6b7280;
  --color-gray-light: #e5e5e5;
  --color-text: #374151;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.875rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

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

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

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-menu li { border-bottom: 1px solid var(--color-gray-light); }
  .nav-menu a { display: block; padding: 1rem 0; }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

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

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

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

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

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

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

/* Sections */
.section {
  padding: 4rem 0;
}

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

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

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

.section-warm {
  background: var(--color-secondary-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-gray);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  max-width: 700px;
}

.hero p {
  font-size: 1.125rem;
  max-width: 560px;
  color: var(--color-gray);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-visual {
  margin-top: 2rem;
}

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

@media (min-width: 769px) {
  .hero { padding: 6rem 0; }
  .hero h1 { font-size: 3rem; }

  .hero-content {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .hero-text { flex: 1; }
  .hero-visual { flex: 1; margin-top: 0; }
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.card {
  flex: 1 1 280px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

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

/* Feature Blocks */
.features {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feature-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

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

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

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

@media (min-width: 769px) {
  .feature-block {
    flex-direction: row;
  }

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

/* Statistics */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  flex: 1 1 150px;
  max-width: 200px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-gray);
}

.section-highlight .stat-label {
  color: rgba(255,255,255,0.85);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial {
  flex: 1 1 320px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.testimonial-content {
  padding-top: 2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

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

/* Services List */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-item h3 {
  color: var(--color-primary);
  margin-bottom: 0;
}

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

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

  .service-info { flex: 1; }
}

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

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

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

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

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

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

.faq-answer-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-gray);
}

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

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

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

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

.process-content h4 {
  color: var(--color-dark);
}

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

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

/* Values */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.value-item {
  flex: 1 1 280px;
  padding: 1.5rem;
  border-left: 4px solid var(--color-secondary);
  background: var(--color-white);
}

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

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

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  color: var(--color-primary);
}

/* Industries */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.industry-tag {
  background: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* Contact Info */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info {
  flex: 1 1 320px;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--color-primary);
}

.contact-map {
  flex: 1 1 400px;
  background: var(--color-gray-light);
  border-radius: var(--radius-md);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quote Section */
.quote-section {
  text-align: center;
  padding: 4rem 2rem;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

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

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  flex: 1 1 280px;
}

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

.footer-brand p {
  font-size: 0.9375rem;
  opacity: 0.85;
}

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

.footer-links h4 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

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

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

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

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

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

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

.cookie-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.cookie-btn-accept:hover {
  background: var(--color-primary-dark);
}

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

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

@media (min-width: 769px) {
  .cookie-content {
    flex-direction: row;
    text-align: left;
  }

  .cookie-content p { flex: 1; }
}

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

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

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

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

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

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

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

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-option {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-gray-light);
}

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

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

.cookie-option h4 {
  margin: 0;
  font-size: 1rem;
}

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

.cookie-toggle {
  position: relative;
  width: 48px;
  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(--color-gray-light);
  border-radius: 26px;
  transition: var(--transition);
}

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

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

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

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

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-gray-light);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

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

.thank-you-content svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

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

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Team Grid */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-member {
  flex: 1 1 240px;
  max-width: 280px;
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  background: var(--color-secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar svg {
  width: 60px;
  height: 60px;
  color: var(--color-primary);
}

.team-member h4 {
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--color-gray);
  font-size: 0.9375rem;
}

/* Milestone Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-secondary-light);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: 8px;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 4px solid var(--color-light);
}

.timeline-year {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.comparison-table th {
  background: 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: var(--color-light);
}

/* Icon List */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.icon-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-list-item svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--color-primary);
}

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
}

.highlight-panel h3 {
  color: var(--color-white);
}

/* Two Columns */
.two-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.two-cols > * {
  flex: 1 1 300px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* Skip to content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  z-index: 10001;
  transition: top var(--transition);
}

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