:root {
  --cf-dark-rgb: 5 5 5;
  --cf-dark: rgb(var(--cf-dark-rgb));
  --cf-surface: #151615;
  --cf-supporting-text: #dce4dc;
  --cf-card-background: linear-gradient(115deg, #171b18, #121614 52%, #0e1110);
  --cf-section-heading-font: Inter, Arial, sans-serif;
  --cf-section-heading-weight: 900;
  --cf-surface-raised: #20211f;
  --cf-surface-hover: #2b2d29;
  --cf-glass-background: rgb(var(--cf-dark-rgb) / .66);
  --cf-glass-filter: blur(18px) saturate(70%);
  --cf-dialog-background: rgb(var(--cf-dark-rgb) / .75);
  --cf-dialog-backdrop: rgb(var(--cf-dark-rgb) / .54);
  --cf-dialog-edge: #b5d67446;
  --cf-dialog-shadow: 0 28px 90px #000c, 0 0 44px #b5d67416;
  --cf-dialog-bar: rgb(var(--cf-dark-rgb) / .48);
  --theme-primary: #b5d674;
  --theme-primary-hover: #cfe99e;
  --theme-primary-dark: #486320;
  --theme-primary-light: #e9f1d8;
  --theme-primary-glow: #b5d67447;
  --theme-primary-gradient: linear-gradient(135deg, #b5d674, #a3c961);
  --bg-accent-subtle: #f1f7e9;
}

.cf-home .estimate-eyebrow,
.cf-home .required-mark,
.cf-home .footer-contact-column > a.footer-phone-link:is(:hover, :focus-visible),
.cf-home .cf-visit-status[data-state="error"],
.cf-home .cf-visit-fields .cf-time-error { color: #d8eca9; }
.cf-home .cf-time-inputs input[aria-invalid="true"] { border-color: #b5d674; }

.cf-home .mobile-menu-trigger,
.cf-home .mobile-action-btn.action-request {
  border-color: var(--theme-primary);
  background: var(--theme-primary);
  color: #11190d;
  box-shadow: 0 6px 16px #b5d67430;
}
.cf-home :is(.mobile-menu-trigger,.mobile-action-btn.action-request):hover { background: var(--theme-primary-hover); }
.cf-home .mobile-navigation-links a:is(:hover, :focus-visible),
.cf-home .error-page-nav a:hover,
.cf-home .error-page-card .eyebrow { color: var(--theme-primary-dark); }
.cf-home .cookie-analytics-choice > input { accent-color: var(--theme-primary); }

.cf-home :is(.footer-legal-links button, .cookie-consent-actions .btn, .cookie-banner-link,
.cookie-settings-details .btn, .mobile-action-btn, .mobile-menu-trigger, .messenger-fab, .messenger-option):focus-visible {
  outline-color: var(--theme-primary);
}

.cf-home .messenger-widget :is(.messenger-fab, .messenger-option) {
  /* The legacy launcher writes a provider background inline during rotation. */
  background: var(--cf-dark) !important;
  border: 1px solid #ffffff38;
  box-shadow: 0 8px 24px #0009;
  color: #f1f4ed;
}

.cf-home .messenger-widget :is(.messenger-fab, .messenger-option):is(:hover, :focus-visible) {
  border-color: #b5d674a0;
  box-shadow: 0 10px 26px #000a;
}

.cf-home .messenger-widget [data-messenger-provider="whatsapp"] { --messenger-icon-default: #25d366; }
.cf-home .messenger-widget [data-messenger-provider="telegram"] { --messenger-icon-default: #2aabee; }
.cf-home .messenger-widget [data-messenger-provider="email"] { --messenger-icon-default: #e6372e; }
.cf-home .messenger-widget svg[data-messenger-provider] {
  color: var(--messenger-icon-color, var(--messenger-icon-default, var(--theme-primary)));
  fill: currentColor;
}

/* Shared public-site surfaces, including components from the legacy bundle. */
html.cf-home {
  --cf-faq-bg: var(--cf-dark);
}

html.cf-home,
.cf-home body,
.cf-home .cf-mast-top,
.cf-home .cf-service-map,
.cf-home .cf-footer {
  background-color: var(--cf-dark);
}

.cf-home .cf-mast {
  --cf-mast-glass-background: var(--cf-glass-background);
  --cf-mast-glass-filter: var(--cf-glass-filter);
}

.cf-home :is(.cf-mast-nav a, .cf-mast-highlights) { color: #dedfd9; }
.cf-home .cf-mast-nav a:is(:hover, :focus-visible) { color: #cfe99e; }

.cf-home :is(.cf-mast-menu-toggle, .cf-process-call, .cf-comparison-options, .cf-comparison-stage,
  .cf-headlight-faq details, .cf-booking-portrait img) {
  background-color: var(--cf-surface);
}

.cf-home :is(.cf-mast-menu-toggle:hover, .cf-process-call:hover, .cf-headlight-faq details[open]) {
  background-color: var(--cf-surface-raised);
}

.cf-home .cf-comparison-label { background-color: rgb(var(--cf-dark-rgb) / .91); }

.cf-home :is(.cf-comparison, .cf-price-card) {
  background: linear-gradient(145deg, var(--cf-surface-raised), var(--cf-surface));
}

.cf-home .cf-price-card.cf-price-featured {
  background: radial-gradient(ellipse at 0 0, #3a4c28, transparent 78%), var(--cf-surface);
}

.cf-home .cf-booking-intro {
  background: linear-gradient(145deg, #242b1f, var(--cf-surface));
}

.cf-home .cf-map-card {
  background: linear-gradient(140deg, rgb(25 25 24 / .86), rgb(var(--cf-dark-rgb) / .78));
}

.cf-home .cf-service-map-canvas .maplibregl-canvas { filter: saturate(0); }
.cf-home .cf-service-map-canvas::after {
  background: radial-gradient(ellipse at 62% 51%, transparent 16%, rgb(var(--cf-dark-rgb) / .72) 100%);
}

.cf-home :is(.cf-map-card .cf-map-contact-links, .cf-map-city-field, .cf-map-request) {
  background-color: rgb(var(--cf-dark-rgb) / .64);
}

.cf-home .mobile-action-bar { background-color: rgb(var(--cf-dark-rgb) / .9); }
.cf-home :is(.mobile-action-btn.action-call,
  .cf-calendar-nav button, .cf-time-presets button, .cf-visit-again, .cf-visit-status) {
  background-color: var(--cf-surface-raised);
}

.cf-home :is(.mobile-action-btn.action-call, .cf-visit-again):hover {
  background-color: var(--cf-surface-hover);
}

.cf-home .cf-picker-panel button:hover:not(:disabled):not([aria-pressed="true"]):not(.cf-picker-apply) {
  background-color: var(--cf-surface-hover);
}


.cf-home main :is(.detail-packages-header h2, .detail-journey h2, .detail-faq h2, .detail-contact h2, .cf-map-card h2) {
  font-family: var(--cf-section-heading-font);
  font-weight: var(--cf-section-heading-weight);
}

.cf-home .cf-mast-city::after { content: none; }
.cf-home .cf-footer,
.cf-home .cf-footer :is(.footer-legal-links a, .footer-legal-links button, .cf-footer-contact a) { color: var(--cf-supporting-text); }
.cf-home .cf-footer :is(.footer-legal-links a, .footer-legal-links button, .cf-footer-contact a):is(:hover, :focus-visible) { color: #cfe99e; }

@media (prefers-reduced-motion: no-preference) {
  .cf-reveal-pending:not(:focus-within):not(.detail-journey-steps > li) { opacity: 0; }
  .cf-reveal-visible:not(.detail-journey-steps > li) {
    animation: cf-reveal .62s cubic-bezier(.22, 1, .36, 1) var(--cf-reveal-delay) backwards;
  }

  @keyframes cf-reveal {
    from { opacity: 0; translate: 0 12px; }
  }
}

.cf-footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}

.cf-footer-contact a { text-underline-offset: 3px; }
