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

:root {
  --color-primary: #2c3e50;
  --color-secondary: #8b4513;
  --color-accent: #d4a574;
  --color-light: #f8f5f0;
  --color-dark: #1a1a1a;
  --color-text: #333;
  --color-text-light: #666;
  --color-white: #fff;
  --color-border: #e0d8cf;
  --font-main: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --shadow-soft: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

p {
  margin-bottom: 1rem;
}

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

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.nav-desktop {
  display: none;
}

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

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

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

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

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

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

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

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-medium);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

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

.nav-mobile ul {
  list-style: none;
  padding: 1rem;
}

.nav-mobile li {
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile li:last-child {
  border-bottom: none;
}

.nav-mobile a {
  display: block;
  padding: 1rem;
  color: var(--color-text);
  font-weight: 500;
}

.nav-mobile a:hover {
  background: var(--color-light);
  color: var(--color-secondary);
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

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

.hero h1 {
  font-size: 2rem;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

.hero-feature svg {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

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

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

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

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

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

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

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

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

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

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

.card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

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

.card h3 {
  margin-bottom: 0.75rem;
}

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

/* Service Cards */
.service-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

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

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

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

/* Statistics */
.stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  font-family: var(--font-main);
}

.stat-label {
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

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

.testimonial {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  font-family: var(--font-main);
  color: var(--color-accent);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
  opacity: 0.5;
}

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

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

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

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

.faq-item {
  background: var(--color-white);
  border-radius: 8px;
  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: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.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 {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: var(--color-text-light);
  margin: 0;
}

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

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

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

.step-content h3 {
  margin-bottom: 0.5rem;
}

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

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

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

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

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

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

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

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

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

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

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

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

.contact-details h3 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.contact-details p {
  color: var(--color-text-light);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

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

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

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

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

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

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

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

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

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  margin-bottom: 0.5rem;
}

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

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

.cookie-buttons .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

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

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

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

.cookie-modal h3 {
  margin-bottom: 1.5rem;
}

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

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

.cookie-option-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

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

/* Toggle Switch */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle 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 {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--color-white);
  border-radius: 50%;
  transition: var(--transition);
}

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

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

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

.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Value Cards */
.values-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-secondary);
  box-shadow: var(--shadow-soft);
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  padding-left: 2rem;
}

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

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--color-secondary);
  border-radius: 50%;
  transform: translateX(-50%);
}

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

/* Legal Pages */
.legal-content {
  padding: 7rem 0 4rem;
}

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

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

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

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

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

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

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-white);
}

/* Alternating Content */
.alt-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.alt-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.alt-visual {
  background: var(--color-light);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.alt-visual svg {
  width: 80px;
  height: 80px;
  color: var(--color-secondary);
}

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

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

/* Comparison Section */
.comparison-table {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.comparison-row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 1rem;
  flex: 1;
}

.comparison-header {
  background: var(--color-light);
  font-weight: 600;
}

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

.industry-tag {
  background: var(--color-light);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-size: 0.875rem;
  color: var(--color-primary);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
}

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

/* Responsive */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .card {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item {
    flex: 1 1 calc(50% - 1rem);
  }

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

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

  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-section {
    flex: 1 1 calc(50% - 1rem);
  }

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

  .contact-item {
    flex: 1 1 calc(50% - 1rem);
  }

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

  .value-card {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

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

  .hero-features {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

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

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

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

  .alt-visual {
    flex: 0 0 40%;
  }

  .alt-text {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 10rem 0 6rem;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }

  .card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .stat-item {
    flex: 1;
  }

  .footer-section {
    flex: 1;
  }

  .section {
    padding: 5rem 0;
  }
}
