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

:root {
  --color-primary: #2a6b5a;
  --color-primary-dark: #1e4d41;
  --color-primary-light: #3d8a76;
  --color-secondary: #e8a84c;
  --color-secondary-light: #f5c77a;
  --color-accent: #7a4a8c;
  --color-text: #2d3436;
  --color-text-light: #636e72;
  --color-bg: #fafafa;
  --color-bg-alt: #f0f4f3;
  --color-bg-warm: #fdf8f2;
  --color-white: #ffffff;
  --color-border: #dfe6e9;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

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-primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-logo svg {
  width: 42px;
  height: 42px;
}

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

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

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.hero-graphic {
  margin-top: 2.5rem;
}

.hero-graphic svg {
  max-width: 320px;
  height: auto;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Service Cards */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  flex: 1 1 320px;
  max-width: 400px;
}

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

.service-card p {
  color: var(--color-text-light);
  flex-grow: 1;
}

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

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

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

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

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

.feature-content h4 {
  margin-bottom: 0.25rem;
}

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

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

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-text-light);
  font-size: 1rem;
}

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

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  flex: 1 1 320px;
  max-width: 400px;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 5rem;
  color: var(--color-primary-light);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

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

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

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

/* Quote Block */
.quote-block {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.quote-block blockquote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.quote-block cite {
  font-style: normal;
  opacity: 0.9;
}

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

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

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

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

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

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

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

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

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

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

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

.process-step h4 {
  margin-bottom: 0.5rem;
}

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

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

.content-row:last-child {
  margin-bottom: 0;
}

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

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

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

.content-graphic svg {
  max-width: 280px;
  height: auto;
}

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

.value-card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  flex: 1 1 280px;
  max-width: 360px;
  border-left: 4px solid var(--color-primary);
}

.value-card h4 {
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

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

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

.contact-info {
  flex: 1 1 400px;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  flex-shrink: 0;
}

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

.contact-details h4 {
  margin-bottom: 0.25rem;
}

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

/* Info Box */
.info-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.info-box h3 {
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

/* Trust Indicators */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 36px;
  height: 36px;
}

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

.trust-text {
  font-weight: 500;
  color: var(--color-text);
}

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

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

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

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

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

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

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

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

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

.cta-section .btn:hover {
  background: var(--color-secondary);
  color: var(--color-text);
}

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

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

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

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

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

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

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

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

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

.legal-content h2 {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

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

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

/* 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.25rem;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

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

.cookie-text {
  flex: 1 1 400px;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

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

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

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

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

.cookie-btn-accept:hover {
  background: var(--color-primary-dark);
}

.cookie-btn-settings {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.cookie-btn-settings:hover {
  background: var(--color-border);
}

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

.cookie-btn-reject:hover {
  background: var(--color-bg-alt);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

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

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

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

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

.cookie-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text-light);
}

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

.cookie-option {
  padding: 1rem 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: 0.5rem;
}

.cookie-option-header h4 {
  margin-bottom: 0;
}

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

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

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

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--color-border);
  border-radius: 26px;
  transition: var(--transition);
}

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

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

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

.cookie-modal-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Thank You Page */
.thank-you-section {
  text-align: center;
  padding: 6rem 0;
}

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

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

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.highlight-panel h3 {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.highlight-panel p {
  color: var(--color-text);
  opacity: 0.9;
}

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

.benefit-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  flex: 1 1 260px;
  max-width: 340px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

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

.benefit-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.benefit-text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

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

  .section { padding: 3.5rem 0; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

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

  .nav-menu a {
    display: block;
    padding: 1rem 0;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

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

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

  .hero { padding: 3rem 0; }

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

  .content-row,
  .content-row.reverse {
    flex-direction: column;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .cookie-actions {
    justify-content: center;
    width: 100%;
  }

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

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal-actions .cookie-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .card,
  .service-card,
  .testimonial {
    max-width: 100%;
  }

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