/* Homepage accents: calm, light, but with clear section steps (CSS-only) */
:root {
  --ha-ink: #2f3b36;
  --ha-muted: #4a5550; /* ~7.3:1 on cream — tips stay soft but readable */
  --ha-green: #5f8572;
  --ha-green-soft: #e4efe8;
  --ha-green-deep: #3f5f50;
  --ha-cream: #f7f4ee;
  --ha-paper: #fffcf8;
  --ha-line: #d7e2db;
  --ha-surface: #ffffff;
}

body.catalog-home {
  background:
    linear-gradient(180deg, #f4f1ea 0%, #eef3ef 48%, #e8efe9 100%) !important;
  color: var(--ha-ink);
}

body.catalog-home {
  --home-paper: #f4f1ea;
  --home-ink: var(--ha-ink);
  --home-muted: var(--ha-muted);
  --home-line: var(--ha-line);
  --home-accent: var(--ha-green-deep);
}

/* Header stays light but sits above the page wash */
body.catalog-home .home-header {
  background: rgba(255, 252, 248, 0.98) !important;
  border-bottom: 1px solid var(--ha-line) !important;
  box-shadow: 0 1px 0 #ffffffaa;
}

body.catalog-home .home-header-phone {
  color: var(--ha-green-deep) !important;
  min-height: 48px;
}

body.catalog-home .home-header nav a {
  color: var(--ha-muted) !important;
  min-height: 44px;
  font-size: 16px;
}

body.catalog-home .home-header nav button[data-request],
body.catalog-home .home-header button[data-request] {
  min-height: 48px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: var(--ha-green-soft) !important;
  color: var(--ha-green-deep) !important;
  border: 1px solid #c9dbd0 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}

/* STEP 1: hero/search stage as its own soft island */
html body.catalog-home #home-search,
html body.catalog-home #catalog-view .home-search {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  margin: 12px 0 28px !important;
  border-radius: 24px !important;
  padding: clamp(22px, 3.5vw, 36px) !important;
  border: 1px solid #cfe0d6 !important;
  background:
    linear-gradient(100deg, #fffcf8 0%, #f7f3ebf2 38%, #eef5f0cc 58%, #e7f0ea66 78%, #e2ebe566 100%),
    url("/assets/home-alean-20261126/hero-nature-soft.jpg") right center / cover no-repeat !important;
  box-shadow: 0 14px 34px #5f857218 !important;
  color: var(--ha-ink) !important;
}

html body.catalog-home #home-search .home-intro-label {
  color: var(--ha-green-deep) !important;
  font-size: 15px !important;
  font-weight: 700;
}

html body.catalog-home #home-search .home-intro h1,
html body.catalog-home #home-search #home-title {
  color: var(--ha-ink) !important;
  font-size: clamp(28px, 4.2vw, 48px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
}

/* Stronger, still friendly booking tip under the title */
html body.catalog-home #home-search .home-intro-copy {
  color: var(--ha-muted) !important;
  font-size: clamp(17px, 1.8vw, 19px) !important;
  line-height: 1.55 !important;
  max-width: 50ch;
  font-weight: 500;
}

html body.catalog-home #home-search .home-cover {
  border: 1px solid #d5e3da;
  box-shadow: 0 10px 24px #5f857214;
  border-radius: 18px;
  overflow: hidden;
}

html body.catalog-home #home-search .home-cover img {
  object-fit: cover;
}

/* Hide decorative caption so the picture looks clean */
html body.catalog-home #home-search .home-cover figcaption {
  display: none !important;
}

/* STEP 2: booking form as the clear action panel */
html body.catalog-home #catalog-search.search-panel,
html body.catalog-home #home-search #catalog-search {
  background: var(--ha-paper) !important;
  color: var(--ha-ink) !important;
  border: 1px solid #bfd4c7 !important;
  border-radius: 18px !important;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 12px 28px #3f5f5018 !important;
  padding: 18px !important;
  outline: 3px solid #e4efe8;
  outline-offset: 0;
}

html body.catalog-home #catalog-search label,
html body.catalog-home #catalog-search .home-guests summary > span {
  color: var(--ha-muted) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

html body.catalog-home #catalog-search input,
html body.catalog-home #catalog-search .home-guests summary > strong,
html body.catalog-home #catalog-search .destination-options button {
  min-height: 48px !important;
  height: 48px;
  font-size: 16px !important;
  color: var(--ha-ink) !important;
  border: 1px solid #b7cbbf !important;
  border-radius: 12px !important;
  background: #fff !important;
}

html body.catalog-home #catalog-search input:focus,
html body.catalog-home #catalog-search .home-guests summary:focus-visible {
  outline: 2px solid #8fb49d;
  outline-offset: 1px;
}

html body.catalog-home #catalog-search .home-guests summary {
  min-height: 48px;
}

/* Tip under the form: clearer contrast */
html body.catalog-home #home-search .home-search-note {
  color: var(--ha-muted) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 550 !important;
  margin-top: 10px !important;
}

html body.catalog-home #home-search .home-search-error {
  color: #7a4b2e !important;
  font-size: 16px !important;
}

/* Main action: soft confident green; secondary: light outline */
html body.catalog-home #home-search .home-search-actions .primary,
html body.catalog-home #home-search .home-guest-popup .primary {
  min-height: 48px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid #4f735f !important;
  background: #5f8572 !important;
  color: #fffcf8 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  box-shadow: 0 6px 14px #3f5f5020 !important;
}

html body.catalog-home #home-search .home-search-actions .primary:hover,
html body.catalog-home #home-search .home-guest-popup .primary:hover {
  background: #537866 !important;
}

html body.catalog-home #home-search .home-search-actions .secondary,
html body.catalog-home #home-search .home-search-actions button.secondary {
  min-height: 48px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid #b7cbbf !important;
  background: #fffcf8 !important;
  color: var(--ha-green-deep) !important;
  font-weight: 650 !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

html body.catalog-home #home-search .home-search-actions .secondary:hover {
  background: var(--ha-green-soft) !important;
}

/* STEP 1 continued: following sections as separate stages */
html body.catalog-home #home-discovery {
  display: grid;
  gap: 18px;
  margin: 8px 0 28px;
}

html body.catalog-home #home-discovery .home-discovery-section {
  background: var(--ha-paper);
  border: 1px solid var(--ha-line);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 22px #5f85720e;
}

html body.catalog-home #home-discovery .home-discovery-section + .home-discovery-section {
  background: #f3f7f4;
}

html body.catalog-home #home-discovery .home-discovery-heading h2 {
  color: var(--ha-ink);
  letter-spacing: -0.02em;
}

html body.catalog-home #home-discovery .home-discovery-link {
  color: var(--ha-green-deep);
  font-size: 16px;
  font-weight: 650;
}

html body.catalog-home #home-discovery .home-region-card,
html body.catalog-home #home-discovery .home-profile-chip {
  min-height: 48px;
}

/* Never hide directions */
html body.catalog-home #home-directions {
  display: block !important;
}

/* Tourist help / booking explanation: a bit clearer from the page wash */
html body.catalog-home #tourist-help {
  margin: 8px 0 24px;
  padding: 18px;
  border-radius: 20px;
  background: var(--ha-paper);
  border: 1px solid var(--ha-line);
  box-shadow: 0 8px 22px #5f85720c;
}

html body.catalog-home #tourist-help p,
html body.catalog-home #tourist-help li {
  color: var(--ha-muted);
  font-size: 16px;
  line-height: 1.55;
}

html body.catalog-home #tourist-help h2,
html body.catalog-home #tourist-help h3 {
  color: var(--ha-ink);
}

@media (max-width: 800px) {
  html body.catalog-home #home-search,
  html body.catalog-home #catalog-view .home-search {
    border-radius: 18px !important;
    padding: 18px 14px 14px !important;
    margin-bottom: 20px !important;
    background:
      linear-gradient(180deg, #fffcf8f5 0%, #f7f3ebf2 58%, #eef5f0ee 100%),
      url("/assets/home-alean-20261126/hero-nature-soft.jpg") center top / cover no-repeat !important;
  }

  html body.catalog-home #home-search .home-intro h1 {
    font-size: clamp(26px, 7vw, 34px) !important;
  }

  html body.catalog-home #home-search .home-search-actions .primary,
  html body.catalog-home #home-search .home-search-actions .secondary {
    width: 100%;
  }

  html body.catalog-home #home-discovery .home-discovery-section,
  html body.catalog-home #tourist-help {
    padding: 14px;
    border-radius: 16px;
  }
}

@media (min-width: 801px) {
  html body.catalog-home #home-search .home-cover {
    display: block !important;
  }

  html body.catalog-home #catalog-search.search-panel,
  html body.catalog-home #home-search #catalog-search {
    padding: 20px 22px !important;
  }
}
