/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #8B4513;
  --color-secondary: #D4A574;
  --color-accent: #2E5A3A;
  --color-dark: #1a1a1a;
  --color-light: #FAF7F2;
  --color-white: #ffffff;
  --color-gray: #6b6b6b;
  --color-gray-light: #e8e4df;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark);
}

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

p { margin-bottom: 1rem; }

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

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

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

.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: sticky;
  top: 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-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-desktop {
  display: none;
}

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

.nav-desktop a {
  color: var(--color-dark);
  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-primary);
  transition: var(--transition);
}

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

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

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

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

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

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

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-medium);
  padding: 1rem;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.hero-text {
  flex: 1;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray);
  margin-bottom: 2rem;
  max-width: 600px;
}

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

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

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

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

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

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

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

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

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

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

.section-header p {
  color: var(--color-gray);
}

/* Cards */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.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: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  flex: 1 1 100%;
  transition: var(--transition);
}

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

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

.service-header h3 {
  color: var(--color-white);
  margin-bottom: 0;
}

.service-body {
  padding: 1.5rem;
}

.service-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Stats Section */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

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

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

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

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

.section-dark .stat-label {
  color: var(--color-gray-light);
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.testimonial-text {
  padding-top: 2rem;
  font-style: italic;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

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

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

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  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;
}

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

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

.faq-item {
  border-bottom: 1px solid var(--color-gray-light);
  margin-bottom: 0;
}

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

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

.faq-icon {
  width: 24px;
  height: 24px;
  transition: var(--transition);
  flex-shrink: 0;
}

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

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

.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: var(--color-gray);
}

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

/* Benefits List */
.benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
}

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

/* Alternating Content */
.content-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.content-text {
  flex: 1;
}

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

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

/* Values Grid */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value-item {
  flex: 1 1 100%;
  text-align: center;
  padding: 2rem;
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
}

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

/* Contact Info */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  flex: 1 1 100%;
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

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

/* Info List */
.info-list {
  list-style: none;
}

.info-list li {
  padding: 0.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

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

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

.cta-section h2 {
  color: var(--color-white);
}

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

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

.cta-section .btn-primary:hover {
  background: var(--color-light);
}

/* Highlight Panel */
.highlight-panel {
  background: var(--color-secondary);
  border-radius: 8px;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.highlight-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Quote Section */
.quote-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.large-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-gray);
  line-height: 1.8;
  position: relative;
  padding: 2rem 0;
}

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

/* Footer */
footer {
  background: var(--color-dark);
  color: var(--color-gray-light);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 100%;
}

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

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

.footer-col a {
  color: var(--color-gray-light);
  display: block;
  padding: 0.4rem 0;
}

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

.footer-logo {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

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

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

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

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

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

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

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

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
}

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

/* 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 20px rgba(0,0,0,0.2);
  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;
}

.cookie-text {
  flex: 1;
}

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

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

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

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

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

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

.cookie-reject {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.cookie-reject:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

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

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  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: 8px;
  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;
  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-header h4 {
  margin: 0;
  font-size: 1rem;
}

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

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

.cookie-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-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-slider {
  background: var(--color-primary);
}

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

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

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

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

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

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

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

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

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

/* Industries Grid */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

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

.industry-tag:hover {
  background: var(--color-secondary);
}

/* Comparison Table */
.comparison-wrapper {
  overflow-x: auto;
  max-width: 100%;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

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

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

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

/* Media Queries */
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }

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

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

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

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

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

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

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

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

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

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

  .mobile-menu-btn { display: none; }

  .hero { padding: 6rem 1.5rem; }

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

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

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

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

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

  .content-block { flex-direction: row; }

  .content-block.reverse { flex-direction: row-reverse; }

  .value-item { flex: 1 1 calc(25% - 2rem); }

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

  .footer-col { flex: 1 1 calc(25% - 2rem); }

  section { padding: 5rem 1.5rem; }
}

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