:root {
  --color-primary: #8B5A2B;
  --color-secondary: #D2691E;
  --color-accent: #CD853F;
  --color-light: #FFF8F0;
  --color-cream: #F5DEB3;
  --color-dark: #3E2723;
  --color-text: #4A4A4A;
  --color-muted: #7D6B5D;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-soft: 0 4px 15px rgba(139, 90, 43, 0.12);
  --shadow-card: 0 6px 20px rgba(0,0,0,0.08);
  --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-main);
  color: var(--color-text);
  background: var(--color-light);
  line-height: 1.7;
  font-size: 16px;
}

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

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

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

p { margin-bottom: 1rem; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.btn-primary:hover {
  background: var(--color-dark);
  color: #fff;
  transform: translateY(-2px);
}

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

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

.btn-accent {
  background: var(--color-secondary);
  color: #fff;
}

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

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

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

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

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

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

.section-alt {
  background: #fff;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.1rem;
}

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

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  transition: var(--transition);
}

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

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

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

.card h3 {
  color: var(--color-primary);
}

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.service-card:hover {
  transform: scale(1.02);
}

.service-card-header {
  background: var(--color-primary);
  color: #fff;
  padding: 1.5rem;
}

.service-card-body {
  padding: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-top: 1rem;
}

/* Features */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

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

.stat-item {
  text-align: center;
  padding: 2rem;
  min-width: 200px;
}

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

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

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

.testimonial {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

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

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

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

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

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

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: var(--transition);
}

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

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

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

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

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  flex: 1;
  min-width: 250px;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -15px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

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

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

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

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

/* Quote Section */
.quote-section {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.quote-text {
  font-size: 1.8rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.quote-author {
  font-size: 1.1rem;
  opacity: 0.9;
}

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

.value-item {
  flex: 1;
  min-width: 250px;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--color-cream) 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

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

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

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

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

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

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
  color: #fff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.highlight-panel h3 {
  color: #fff;
}

.highlight-content {
  flex: 2;
  min-width: 300px;
}

.highlight-action {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

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

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

.comparison-table th {
  background: var(--color-primary);
  color: #fff;
}

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

/* Footer */
.footer {
  background: var(--color-dark);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-col h4 {
  color: var(--color-cream);
  margin-bottom: 1.5rem;
}

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

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

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

.footer-links a:hover {
  color: #fff;
}

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

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

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

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

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

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.cookie-accept {
  background: var(--color-secondary);
  color: #fff;
}

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

.cookie-reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.cookie-reject:hover {
  border-color: #fff;
}

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

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  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: 20px;
}

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

.cookie-modal {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

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

.cookie-modal-header h3 {
  margin: 0;
  color: var(--color-dark);
}

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

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

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

.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-cream);
}

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

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

.cookie-category h4 {
  margin: 0;
}

.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: #ccc;
  border-radius: 26px;
  transition: var(--transition);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  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(24px);
}

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

.cookie-category p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

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

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

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 2rem;
}

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

.legal-content h1 {
  margin-bottom: 2rem;
}

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

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

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

/* Alternating Content Blocks */
.content-block {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

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

.content-block-text {
  flex: 1;
  min-width: 300px;
}

.content-block-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

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

/* Icon List */
.icon-list {
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--color-light);
  border-radius: var(--radius-sm);
}

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

/* Industries/Categories */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.industry-tag {
  padding: 0.75rem 1.5rem;
  background: var(--color-cream);
  border-radius: 30px;
  font-weight: 500;
  color: var(--color-dark);
  transition: var(--transition);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .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(7px, -6px);
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .card {
    min-width: 100%;
  }

  .stat-item {
    min-width: 150px;
  }

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

  .testimonial {
    min-width: 100%;
  }

  .quote-text {
    font-size: 1.3rem;
  }

  .highlight-panel {
    padding: 2rem;
  }

  .footer-col {
    min-width: 100%;
  }

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

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

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

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