/* ELESTÉ — styles */

:root {
  --sage-hero: #DCE3C2;
  --sage-pale: #EEF1E4;
  --cream: #FAF8F2;
  --forest: #2C3F2E;
  --ink: #223326;
  --body: #35463A;
  --muted: #55635A;
  --line: #DEE3D1;
  --serif: 'Cormorant Garamond', 'Noto Serif Armenian', Georgia, serif;
  --sans: Inter, 'Noto Sans Armenian', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: #1F2A21;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: #8C5E48; }
a:hover { color: #6E4836; }

.wrap { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 32px; }
.wrap-text { max-width: 760px; width: 100%; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #4B6350;
  display: block;
}
.eyebrow-light { color: #9FB59A; }

h1, h2, h3 { margin: 0; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.3vw, 60px); line-height: 1.1; color: var(--ink); max-width: 13ch; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.14; color: var(--ink); }
h2.on-dark { color: #F6F4EC; }

/* ---------- floating buy button ---------- */
.buy-float {
  position: fixed; top: 40px; right: 30px; z-index: 120;
  background: var(--cream); color: var(--forest);
  border: 1px solid var(--forest); text-decoration: none;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 14px 28px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(31,42,33,0.16); white-space: nowrap;
}
.buy-float:hover { color: var(--forest); background: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--sage-hero);
  min-height: 700px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  height: 100%; width: auto; max-width: 54%;
  object-fit: contain; object-position: right bottom;
  display: block; z-index: 1;
}
.langbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 7;
  display: flex; justify-content: center; align-items: center;
  gap: 4px; padding-top: 7px;
}
.langbtn {
  width: 34px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0; cursor: pointer;
}
.langbtn > span {
  display: block; border-radius: 3px; overflow: hidden; line-height: 0;
  box-shadow: 0 0 0 1px rgba(44,63,46,0.4); opacity: 0.78;
  transition: opacity .15s, box-shadow .15s;
}
.langbtn[aria-current="true"] > span { box-shadow: 0 0 0 1.5px var(--forest); opacity: 1; }
.langbtn:hover > span { opacity: 1; }

.hero-logo { position: absolute; top: 0; left: 0; right: 0; z-index: 6; padding-top: 46px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; color: #1E2A20; }
.logo-word { font-family: Prata, Georgia, serif; font-size: 32px; letter-spacing: 0.24em; text-indent: 0.24em; line-height: 1.1; }
.logo-rule { display: flex; align-items: center; gap: 9px; width: 100%; }
.logo-rule i { flex: 1 1 auto; height: 1px; background: currentColor; }
.logo-script { font-family: 'Pinyon Script', 'Cormorant Garamond', cursive; font-size: 21px; line-height: 1; padding-bottom: 3px; font-style: normal; }

.hero-body { position: relative; z-index: 3; padding-top: 186px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 24px; }
.hero-body p { margin: 0; max-width: 31ch; color: var(--body); font-size: 17.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 4px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; font-size: 13px; color: #44543F; }
.hero-trust i { color: #8B9A78; font-style: normal; }

.btn-solid {
  background: var(--forest); color: var(--cream); text-decoration: none;
  font-size: 15.5px; font-weight: 500; letter-spacing: 0.03em;
  padding: 17px 36px; border-radius: 999px; display: inline-block;
}
.btn-solid:hover { color: #fff; background: #223326; }
.btn-ghost {
  color: var(--forest); text-decoration: none; font-size: 15.5px; font-weight: 500;
  padding: 17px 24px; border-radius: 999px; border: 1px solid #8FA47C; display: inline-block;
}
.btn-ghost:hover { color: var(--forest); background: rgba(255,255,255,0.35); }

/* ---------- sections ---------- */
.band { padding: 96px 0; }
.band-pale { background: var(--sage-pale); }
.band-cream { background: var(--cream); }
.band-dark { background: var(--forest); color: #ECF0E5; }

.stack { display: flex; flex-direction: column; gap: 26px; }
.stack p { margin: 0; color: var(--body); }
.band-dark .stack p { color: #CFD9C7; }
.pull {
  margin: 8px 0 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.35; color: var(--forest);
  border-top: 1px solid #D3DAC3; padding-top: 28px;
}
.section-head { max-width: 700px; display: flex; flex-direction: column; gap: 18px; margin-bottom: 48px; }
.section-head p { margin: 0; color: #4A584C; }
.band-dark .section-head p { color: #CFD9C7; }

/* ---------- steps ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 20px; }
.step {
  flex: 1 1 230px; min-width: 0; background: #fff; border: 1px solid #E6E8DA;
  border-radius: 18px; padding: 34px 30px; display: flex; flex-direction: column; gap: 14px;
}
.step-dark { background: var(--forest); border-color: var(--forest); }
.step-num { font-family: var(--serif); font-size: 40px; color: #A9B894; line-height: 1; }
.step-dark .step-num { color: #98AD93; }
.step h3 { font-size: 19px; font-weight: 600; color: var(--ink); }
.step-dark h3 { color: #F6F4EC; }
.step p { margin: 0; font-size: 15.5px; color: #4A584C; }
.step-dark p { color: #D7DFCF; }

/* ---------- report list ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .col-a { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > .col-b { flex: 1 1 380px; min-width: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checklist li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid #3E5240; color: #ECF0E5; font-size: 16px; }
.checklist li:last-child { border-bottom: none; }
.checklist svg, .feature svg { flex: none; margin-top: 4px; }

/* ---------- results ---------- */
.gallery { column-width: 330px; column-gap: 22px; }
.gallery figure { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 22px; }
.gallery img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid #E2E6D6; }
.fineprint { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); max-width: 760px; }

/* ---------- packages ---------- */
.plans { display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; }
.plan {
  flex: 1 1 260px; min-width: 0; background: var(--cream);
  border: 1px solid var(--line); border-radius: 22px; padding: 36px 30px;
  display: flex; flex-direction: column; gap: 17px;
}
.plan-dark { background: var(--forest); border-color: var(--forest); }
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; color: var(--ink); }
.plan-dark h3 { color: #F6F4EC; }
.badge {
  background: var(--sage-hero); color: var(--forest); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px;
  border-radius: 999px; margin-top: 15px; white-space: nowrap;
}
.plan-for { font-size: 13px; line-height: 1.35; min-height: 35px; color: var(--muted); }
.plan-dark .plan-for { color: #B9C8B2; }
.price { font-family: var(--serif); font-size: 44px; color: var(--forest); line-height: 1.1; }
.plan-dark .price { color: #F6F4EC; }
.plan > p { margin: 0; font-size: 15.5px; color: #4A584C; }
.plan-dark > p { color: #D7DFCF; }
.features { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.feature { display: flex; gap: 11px; font-size: 15px; color: var(--body); }
.plan-dark .feature { color: #ECF0E5; }
.spacer { flex-grow: 1; }
.plan-btn {
  margin-top: 10px; text-align: center; background: var(--cream); color: var(--forest);
  border: 1px solid var(--forest); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 15px 20px; border-radius: 999px;
}
.plan-btn:hover { color: var(--forest); background: #fff; }
.plan-btn-light { background: var(--sage-hero); color: var(--ink); border: none; font-weight: 600; padding: 16px 20px; }
.plan-btn-light:hover { color: var(--ink); background: #E6ECD2; }
.note { margin: 32px 0 0; font-size: 15px; color: #4A584C; max-width: 680px; }

/* ---------- about ---------- */
.about { display: flex; flex-wrap: wrap; gap: 56px; }
.about-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.about-text p { margin: 0; color: var(--body); }
.about-side { flex: 1 1 340px; min-width: 0; }
.cert-card { background: var(--sage-pale); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.cert-card h3 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #4B6350; font-weight: 600; }
.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-item {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; cursor: pointer; font-family: inherit;
}
.cert-item:hover { background: #fff; border-color: #C8D2B6; }
.cert-item img { width: 58px; height: 42px; object-fit: cover; border-radius: 6px; flex: none; display: block; border: 1px solid #E4E8D9; }
.cert-item span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cert-name { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cert-org { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.cert-caption { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.faq > div { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: 22px 0; border-top: 1px solid #DAE0CC; }
.faq h3 { font-size: 17.5px; font-weight: 600; color: var(--ink); }
.faq p { margin: 0; font-size: 15.5px; color: #4A584C; }

/* ---------- final cta ---------- */
.final { text-align: center; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final h2 { font-size: clamp(34px, 3.6vw, 50px); color: #F6F4EC; line-height: 1.12; }
.final p { margin: 0; color: #CFD9C7; font-size: 17.5px; }
.final small { font-size: 14.5px; color: #A9BCA4; }
.final small a { color: #DCE3C2; }
.btn-light {
  background: var(--sage-hero); color: var(--ink); text-decoration: none; font-size: 16px;
  font-weight: 600; letter-spacing: 0.03em; padding: 18px 44px; border-radius: 999px; margin-top: 6px;
}
.btn-light:hover { color: var(--ink); background: #E6ECD2; }

/* ---------- footer ---------- */
.foot { background: var(--cream); padding: 54px 0; }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.foot .logo { color: var(--ink); }
.foot .logo-word { font-size: 22px; }
.foot .logo-script { font-size: 15px; padding-bottom: 2px; }

/* ---------- certificate viewer ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 200; background: rgba(28,38,30,0.9);
  display: flex; align-items: center; justify-content: center; padding: 28px;
}
.viewer[hidden] { display: none; }
.viewer img { max-width: 100%; max-height: 86vh; border-radius: 8px; display: block; background: #fff; }
.viewer button {
  position: absolute; top: 22px; right: 22px; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid rgba(246,244,236,0.45);
  background: rgba(28,38,30,0.6); color: #F6F4EC; font-size: 22px; line-height: 1;
  cursor: pointer; font-family: inherit;
}

/* ===========================================================
   MOBILE
   =========================================================== */
@media (max-width: 900px) {
  .wrap, .wrap-narrow, .wrap-text { padding: 0 24px; }
  .band { padding: 72px 0; }
  .split { gap: 36px; }
  .about { gap: 36px; }

  .hero { min-height: 760px; }
  .hero-photo {
    top: auto; bottom: 0; height: auto; width: 56%; max-width: 56%;
    max-height: 52%; object-fit: contain; object-position: right bottom;
  }
  .hero-body { padding-top: 150px; padding-bottom: 60px; gap: 20px; }
  .hero-body p { max-width: 24ch; }
  .hero-trust { display: none; }
  .hero-logo { padding-top: 40px; }
  .logo-word { font-size: 26px; }
  .logo-script { font-size: 17px; }
  .buy-float { top: 36px; right: 18px; padding: 12px 20px; font-size: 13.5px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 720px; }
  .hero-photo { width: 62%; max-width: 62%; max-height: 46%; }
  .hero-body { padding-top: 140px; }
  .hero-actions .btn-ghost { display: none; }
  .cert-item img { width: 46px; height: 34px; }
}
