/* Design System Variables */
:root {
  /* Beige-Green Light Theme Colors */
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-primary: #5b7a5c;
  --color-primary-dark: #4a6349;
  --color-accent: #a8b89f;
  --color-secondary: #d4cdc3;
  --color-text-main: #2c3e2f;
  --color-text-muted: #6b7c6e;
  --color-border: #e8e4de;
  --color-success: #6a9a6d;
  --color-error: #c85454;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #5b7a5c 0%, #7a9d7b 100%);
  --gradient-accent: linear-gradient(135deg, #d4cdc3 0%, #e8e4de 100%);
  --gradient-hero: linear-gradient(135deg, rgba(91, 122, 92, 0.05) 0%, rgba(212, 205, 195, 0.05) 100%);

  /* Fonts */
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Header */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary) !important;
}

.brand-name {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--color-text-main) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary) !important;
}

.btn-nav-cta {
  background: var(--gradient-primary);
  color: white !important;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.5rem !important;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--color-primary-dark);
}

.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  padding: var(--spacing-xl) 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.hero-bullets ul {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.hero-bullets li {
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.hero-bullets i {
  color: var(--color-success);
  margin-right: var(--spacing-sm);
  font-size: 1.25rem;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.hero-card {
  background: var(--color-surface);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
}

.benefits-list i {
  color: var(--color-primary);
  margin-right: var(--spacing-sm);
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-md);
}

/* Section Styles */
section {
  padding: var(--spacing-lg) 0;
}

.section-header {
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.section-description {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto;
}

.section-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: var(--spacing-md) auto;
  display: block;
}

/* Cards */
.problem-card,
.audience-card,
.service-card,
.result-card {
  background: var(--color-surface);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all 0.3s ease;
}

.problem-card:hover,
.audience-card:hover,
.service-card:hover,
.result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.card-icon i {
  color: white;
  font-size: 1.5rem;
}

.problem-card h3,
.audience-card h3,
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.service-card ul {
  margin: var(--spacing-sm) 0;
  padding-left: 1.5rem;
}

.service-card ul li {
  margin-bottom: 0.5rem;
}

/* Problems Section */
.problems-section {
  background: var(--color-surface);
}

/* Approach Section */
.approach-section {
  background: var(--gradient-hero);
}

.approach-content h3 {
  color: var(--color-primary);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.approach-content h3:first-child {
  margin-top: 0;
}

.approach-image {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Timeline */
.timeline {
  position: relative;
  padding: var(--spacing-md) 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: var(--spacing-lg);
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  background: var(--color-surface);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

/* Results Section */
.results-section {
  background: var(--color-surface);
}

.result-card h3 {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.result-card i {
  color: var(--color-success);
  font-size: 1.5rem;
}

/* FAQ Section */
.accordion-item {
  border: 1px solid var(--color-border);
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface);
}

.accordion-button {
  background: var(--color-surface);
  color: var(--color-text-main);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-hero);
  color: var(--color-primary);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: var(--spacing-md);
  color: var(--color-text-muted);
}

/* Contact Form Section */
.contact-form-section {
  background: var(--gradient-hero);
}

.contact-form-card {
  background: var(--color-surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-label {
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--color-error);
}

.form-control,
.form-select {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(91, 122, 92, 0.1);
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Final CTA */
.final-cta-section {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.final-cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.final-cta-section p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
}

.btn-light {
  background: white;
  color: var(--color-primary);
  font-weight: 600;
}

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

/* Footer */
.site-footer {
  background: var(--color-text-main);
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-title {
  color: white;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

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

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-md);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

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

.cookie-modal-content {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-body {
  padding: var(--spacing-md);
}

.cookie-category {
  margin-bottom: var(--spacing-md);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 0.5rem;
}

.cookie-category-header input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.cookie-modal-footer {
  padding: var(--spacing-md);
  border-top: 1px solid var(--color-border);
  text-align: right;
}

/* Page Header (for subpages) */
.page-header {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

/* Contact Page */
.contact-page-section {
  padding: var(--spacing-lg) 0;
}

.contact-info-card {
  background: var(--gradient-hero);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.contact-info-item {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

.contact-icon i {
  color: white;
  font-size: 1.25rem;
}

.contact-info-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.map-placeholder {
  background: var(--color-border);
  height: 300px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-md);
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service Page */
.service-hero {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.service-hero h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.service-hero .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

.service-section {
  padding: var(--spacing-lg) 0;
}

.service-section.bg-light {
  background: var(--gradient-hero);
}

.service-benefit-card {
  background: var(--color-surface);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.service-benefit-card h4 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.problem-solution-card {
  background: var(--color-surface);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.card-icon-large {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.card-icon-large i {
  color: white;
  font-size: 2rem;
}

.problem-solution-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.delivery-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.delivery-step {
  background: var(--color-surface);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-left: 100px;
}

.step-number {
  position: absolute;
  left: var(--spacing-md);
  top: var(--spacing-md);
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.delivery-step h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.delivery-step ul {
  margin-top: var(--spacing-sm);
  padding-left: 1.5rem;
}

.result-metric-card {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.result-metric-card i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.result-metric-card h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.service-cta-section {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-xl) 0;
}

.service-cta-section h2 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.service-cta-section p {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-md);
}

/* Legal Pages */
.legal-page {
  padding: var(--spacing-lg) 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.last-updated {
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.legal-page h2 {
  color: var(--color-primary);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.legal-page h3 {
  color: var(--color-text-main);
  margin-top: var(--spacing-sm);
  margin-bottom: 0.75rem;
}

.legal-page ul,
.legal-page ol {
  margin-bottom: var(--spacing-sm);
  padding-left: 2rem;
}

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

/* Thank You Page */
.thank-you-section {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.thank-you-icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.thank-you-icon i {
  color: white;
  font-size: 4rem;
}

.thank-you-section h1 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.thank-you-content {
  max-width: 700px;
  margin: var(--spacing-md) auto;
  color: var(--color-text-muted);
}

.thank-you-actions {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin: var(--spacing-md) 0;
  flex-wrap: wrap;
}

.thank-you-contact-info {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--gradient-hero);
  border-radius: var(--radius-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-contact-info h3 {
  margin-bottom: var(--spacing-md);
}

.thank-you-contact-info i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  display: block;
}

/* Reveal Animation */
.card-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-marker {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .delivery-step {
    padding-left: var(--spacing-md);
    padding-top: 80px;
  }

  .step-number {
    left: 50%;
    transform: translateX(-50%);
    top: var(--spacing-sm);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}
