/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #2d5a3d;
  --color-primary-dark: #1e3d2a;
  --color-secondary: #8b6914;
  --color-accent: #c4a034;
  --color-bg: #f8f7f4;
  --color-bg-alt: #eae8e2;
  --color-bg-dark: #2c2c2c;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #ffffff;
  --color-border: #d4d2cb;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--color-primary-dark);
}

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

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

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

/* Navigation */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  padding: 8px 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%;
}

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

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

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

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

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

  .nav-menu a {
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
  }

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-text-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--color-text-white);
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
}

.hero-decoration {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

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

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

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

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

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

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

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

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

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

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

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background: var(--color-text-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex: 1 1 300px;
  max-width: 380px;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* Service Cards */
.service-card {
  background: var(--color-text-white);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--color-primary);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

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

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

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

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

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

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

.stat-item {
  text-align: center;
  padding: 25px 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  min-width: 180px;
}

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

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonial-card {
  background: var(--color-text-white);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

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

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

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

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-text-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

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

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

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

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

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

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

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

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.process-step {
  flex: 1 1 250px;
  max-width: 280px;
  text-align: center;
  position: relative;
}

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

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

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

/* Two Column Layout */
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

.two-col > div {
  flex: 1 1 400px;
}

.two-col-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

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

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

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

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

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

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

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

.footer-col {
  flex: 1 1 200px;
}

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

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 6px 0;
  transition: color var(--transition);
}

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

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

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

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

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 35px 0 15px;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 25px 0 12px;
}

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

.legal-content ul {
  margin: 15px 0;
  padding-left: 25px;
  list-style: disc;
}

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

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 100px 20px;
}

.thank-you svg {
  width: 80px;
  height: 80px;
  color: var(--color-primary);
  margin-bottom: 30px;
}

.thank-you h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

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

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

.highlight-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--color-text-white);
}

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

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

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

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

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

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

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

.icon-list-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-list-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

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

.value-item {
  flex: 1 1 280px;
  padding: 30px;
  background: var(--color-text-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.value-item svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.value-item h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

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

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  opacity: 0.3;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
}

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

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateY(0);
}

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

.cookie-text {
  flex: 1 1 400px;
}

.cookie-text p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

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

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.cookie-accept:hover {
  background: var(--color-secondary);
  color: var(--color-text-white);
}

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

.cookie-reject:hover {
  background: rgba(255,255,255,0.1);
}

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

/* 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: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

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

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

.cookie-modal-header h3 {
  font-size: 1.3rem;
}

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

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

.cookie-option {
  padding: 18px 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 {
  font-size: 1rem;
}

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

/* 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: var(--color-border);
  border-radius: 26px;
  transition: var(--transition);
}

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

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

.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;
  gap: 12px;
  justify-content: flex-end;
}

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

.page-header h1 {
  color: var(--color-text-white);
  font-size: 2rem;
  margin-bottom: 10px;
}

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

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

.industry-tag {
  background: var(--color-text-white);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.industry-tag svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

/* Breadcrumb */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
}

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

.breadcrumb span {
  color: var(--color-text-light);
  margin: 0 8px;
}

/* Utility */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-30 {
  margin-top: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 60px 0;
  }

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

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

  .two-col {
    gap: 30px;
  }

  .highlight-panel {
    padding: 35px 25px;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}
