/* ==========================================================================
   Anabia Wellness — Coming Soon
   Warm, calm, dignified home-care brand. Static placeholder, no logic.

   Layout model: three full-viewport "screens" stacked vertically.
   Each screen is a self-contained block driven by CSS variables set
   inline on the <section> — swap --screen-bg / --screen-bg-image /
   --screen-veil-opacity per screen without touching this file.
   ========================================================================== */

:root {
  /* Palette — warm sand / soft sage / deep ink. Calm, human, premium. */
  --ink: #2b2a26;
  --ink-soft: #55534c;
  --cream: #faf6ef;
  --cream-deep: #f2ecdf;
  --sand: #e8ddc7;
  --sage: #8ea58c;
  --sage-deep: #5f7a5e;
  --gold: #b98d4e;
  --gold-soft: #d8b884;
  --white: #ffffff;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 60px -20px rgba(43, 42, 38, 0.18);
  --shadow-card: 0 12px 40px -12px rgba(43, 42, 38, 0.14);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1180px;

  /* Default veil strength for photo screens — overridable per-section. */
  --screen-veil-opacity: 0.74;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(43, 42, 38, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 33px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-name-thin { font-weight: 400; color: var(--ink-soft); }

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(43, 42, 38, 0.08);
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(95, 122, 94, 0.18);
}

/* ==========================================================================
   SCREEN — the reusable full-viewport block
   ========================================================================== */

.screen {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 64px;
  background: var(--screen-bg, var(--cream));
  overflow: hidden;
}

.screen-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ---- photo variant (screen 1 / hero) ---- */
.screen--photo {
  color: var(--ink);
  text-align: center;
  justify-content: center;
}

.screen-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--screen-bg-image);
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  filter: blur(1.5px) saturate(1.05) contrast(1.03);
  transform: scale(1.06); /* avoid blurred edges at viewport border */
}

/* the "legkiy pochti prozrachniy" white veil — keeps the photo readable
   while still clearly visible behind the text */
.screen-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(250, 247, 240, var(--screen-veil-opacity)) 0%,
    rgba(250, 247, 240, calc(var(--screen-veil-opacity) + 0.1)) 55%,
    rgba(250, 247, 240, calc(var(--screen-veil-opacity) + 0.22)) 100%
  );
}

/* ---- solid variant (screens 2 & 3) ---- */
.screen--solid {
  justify-content: center;
}

/* ==========================================================================
   Hero content (inside screen 1)
   ========================================================================== */

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 18px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.06;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 19px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 19px 40px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(43, 42, 38, 0.32); }

.btn-ghost {
  background: rgba(216, 184, 132, 0.32);
  border-color: rgba(185, 141, 78, 0.38);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(216, 184, 132, 0.5); }

.btn-full { width: 100%; justify-content: center; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border-radius: 20px;
  border: 1.5px solid rgba(43, 42, 38, 0.28);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 4px; height: 8px;
  border-radius: 3px;
  background: var(--ink-soft);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { opacity: 0.4; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ==========================================================================
   Screen 2 — Our Promise
   ========================================================================== */

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.13;
  margin: 0 0 18px;
  text-align: center;
}

.section-lead {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 19px;
}

#promise .eyebrow,
#promise .section-title,
#promise .section-lead { text-align: center; width: 100%; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(43, 42, 38, 0.05);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.value-card.is-visible { opacity: 1; transform: translateY(0); }

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--cream-deep);
  color: var(--sage-deep);
  margin-bottom: 20px;
}
.value-icon svg { width: 28px; height: 28px; }

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px;
}
.value-card p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
}

/* ==========================================================================
   Screen 3 — Notify form
   ========================================================================== */

.notify-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 76px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(43, 42, 38, 0.05);
}

.notify-copy .eyebrow { margin-bottom: 14px; }
.notify-copy .section-title { text-align: left; margin-bottom: 14px; }
.notify-copy .section-lead { text-align: left; margin: 0 0 24px; max-width: none; }

.notify-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notify-list li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  color: var(--ink-soft);
}
.notify-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cream-deep);
  border: 1px solid var(--sage);
}
.notify-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage-deep);
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.field-optional { font-weight: 400; opacity: 0.6; }

.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 17px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(43, 42, 38, 0.14);
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  background: var(--white);
}

.notify-fineprint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.75;
  text-align: center;
}

.mini-footer {
  margin-top: 40px;
  text-align: center;
}
.mini-footer p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .value-card, .fade-up { transition: none !important; }
  .scroll-hint span { animation: none; }
}

/* ---- generic reveal (used by JS via IntersectionObserver) ---- */
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .values-grid { grid-template-columns: 1fr; }
  .notify-card { grid-template-columns: 1fr; padding: 42px; gap: 36px; }
}

@media (max-width: 720px) {
  .screen { padding: 110px 0 56px; }
  .screen-photo { background-image: var(--screen-bg-image-mobile, var(--screen-bg-image)); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .notify-card { padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 36px; }
  .btn { padding: 14px 22px; font-size: 14px; }
  .brand-name { font-size: 26px; }
  .notify-card { padding: 24px 18px; }
}
