/* ==========================================================================
   Maria Zyza — personal site
   Palette: warm beige, mint, emerald, deep green, soft blue
   ========================================================================== */

:root {
  --bg: #f7f2ea;
  --bg-soft: #fbf8f2;
  --mint: #e3f1ea;
  --mint-deep: #cfe6da;
  --emerald: #0f6b57;
  --emerald-dark: #0b5344;
  --green: #1e3a32;
  --green-soft: #3c534b;
  --blue: #8fc7d8;
  --line: rgba(30, 58, 50, 0.12);
  --white: #fffdf9;
  --shadow: 0 18px 50px rgba(22, 48, 42, 0.08);
  --radius: 18px;
  --container: 1180px;
  --header: 76px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--green);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--emerald);
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--green);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--emerald);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

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

.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--green-soft);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.btn--primary {
  background: var(--emerald);
  color: #fff;
}

.btn--primary:hover {
  background: var(--emerald-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(30, 58, 50, 0.25);
  color: var(--green);
}

.btn--ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.btn--light {
  background: #fff;
  color: var(--emerald);
}

.btn--light:hover {
  background: var(--mint);
  color: var(--emerald-dark);
}

.btn--wide {
  width: 100%;
}

.arrow {
  font-size: 18px;
  line-height: 1;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(22, 48, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--green);
}

.logo:hover {
  color: var(--green);
}

.logo__name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo__tag {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav__link:hover {
  color: var(--emerald);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__item {
  position: relative;
}

.nav__toggle {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}

.nav__caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav__item.is-open .nav__caret {
  transform: rotate(-135deg) translateY(-2px);
}

.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 290px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav__item:hover .subnav,
.nav__item:focus-within .subnav,
.nav__item.is-open .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subnav a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--green);
}

.subnav a:hover {
  background: var(--mint);
  color: var(--emerald-dark);
}

.header-cta {
  margin-left: 8px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger span {
  position: relative;
  margin: 0 auto;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

body.menu-open .burger span {
  background: transparent;
}

body.menu-open .burger span::before {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .burger span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 64px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(143, 199, 216, 0.28), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 0.98;
}

.hero__title em {
  font-style: italic;
  color: var(--emerald);
}

.hero__text {
  max-width: 520px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--green-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 440px;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  background: var(--mint);
  border-radius: 260px 260px 22px 22px;
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 260px 260px 22px 22px;
  background: var(--mint-deep);
}

.hero__note {
  position: absolute;
  z-index: 2;
  left: -24px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-soft);
  box-shadow: 0 12px 30px rgba(22, 48, 42, 0.08);
}

.hero__note-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__note-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  flex: 0 0 auto;
}

.hero__credit {
  position: absolute;
  top: calc(100% + 26px);
  right: 0;
  z-index: 2;
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-soft);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.hero__credit a {
  color: inherit;
}

.hero__credit:hover {
  opacity: 1;
}

.hero__credit a:hover {
  color: var(--emerald);
}

/* Trust strip ------------------------------------------------------------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 48px;
  padding-block: 26px;
}

.trust__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust__item {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--green-soft);
}

.trust__num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--emerald);
  line-height: 1;
}

/* Sections ---------------------------------------------------------------- */

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--mint {
  background: var(--mint);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(34px, 4.2vw, 56px);
}

.section-head p {
  margin-top: 16px;
  color: var(--green-soft);
}

.section-head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

/* Service cards ----------------------------------------------------------- */

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 107, 87, 0.35);
  box-shadow: var(--shadow);
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card__num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--emerald);
}

.card__arrow {
  font-size: 20px;
  line-height: 1;
  color: var(--emerald);
  transition: transform 0.2s ease;
}

.card:hover .card__arrow {
  transform: translate(2px, -2px);
}

.card__role {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
}

.card h3 {
  font-size: 29px;
  line-height: 1.08;
}

.card__sub {
  display: block;
  margin-top: 4px;
  font: inherit;
  color: var(--green-soft);
}

.card p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--green-soft);
}

.cards .card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.cards .card ul li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--green-soft);
}

.cards .card ul li::before {
  top: 8px;
  width: 5px;
  height: 5px;
}

.article .cards .card h3 {
  font-size: 24px;
  line-height: 1.15;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
  color: var(--green-soft);
}

.card__foot .card__price {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--emerald);
}

.card__link {
  display: inline-block;
  font-weight: 500;
  color: var(--emerald);
  border-bottom: 1px solid currentColor;
}

.card:hover .card__link {
  border-color: var(--emerald-dark);
  color: var(--emerald-dark);
}

.card__foot span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
}

.card__foot b {
  font-weight: 500;
  color: var(--emerald);
}

.card--wide {
  grid-column: span 2;
}

/* Approach ---------------------------------------------------------------- */

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

.approach__item {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.approach__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: #4f8a77;
}

.approach h3 {
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.approach p {
  font-size: 15px;
  color: var(--green-soft);
}

/* Feature ----------------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: var(--mint);
  border-radius: 28px;
}

.feature__media {
  position: relative;
}

.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 220px 220px 20px 20px;
  background: var(--mint-deep);
}

.feature h2 {
  font-size: clamp(32px, 3.8vw, 48px);
}

.feature p {
  margin-top: 16px;
  color: var(--green-soft);
}

.feature__list {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.feature__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

/* About ------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.about__media {
  position: relative;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: 20px 20px -20px -20px;
  border: 1px solid rgba(15, 107, 87, 0.35);
  border-radius: 22px;
  z-index: 0;
}

.about__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 22px;
}

.about__body h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 20px;
}

.about__body p {
  color: var(--green-soft);
}

.regalia {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.regalia li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.regalia li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--emerald);
  border-radius: 50%;
}

/* Quote ------------------------------------------------------------------- */

.quote {
  padding: 76px 0;
  text-align: center;
}

.quote blockquote {
  max-width: 860px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  color: var(--green);
}

.quote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.quote__item + .quote__item {
  margin-top: 56px;
}

.quote__label {
  display: block;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

.quote .quote__georgia {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
}

/* Programs ---------------------------------------------------------------- */

.programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.program {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.program--accent {
  background: var(--mint);
  border-color: transparent;
}

.program h3 {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.program p {
  color: var(--green-soft);
  font-size: 15px;
}

.program .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* CTA --------------------------------------------------------------------- */

.cta {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 40px;
  align-items: center;
  padding: 56px;
  background: var(--emerald);
  border-radius: 28px;
  color: #fff;
}

.cta h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 50px);
}

.cta p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta .btn {
  white-space: nowrap;
}

/* Cookie notice ---------------------------------------------------------- */

.cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: calc(100% - 36px);
  max-width: 380px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(22, 48, 42, 0.16);
}

.cookie[hidden] {
  display: none;
}

.cookie p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--green-soft);
}

.cookie a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie .btn {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 12.5px;
}

@media (max-width: 700px) {
  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }

  .cookie__actions {
    justify-content: flex-end;
  }
}

/* Contacts ---------------------------------------------------------------- */

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  font-size: 13px;
  color: var(--green-soft);
}

.contact-list a,
.contact-list b {
  font-weight: 500;
  text-align: right;
  color: var(--green);
}

.contact-list a:hover {
  color: var(--emerald);
}

.contact-list .contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 15px;
}

.contact-list .contact-links__channel {
  font-size: 13px;
  font-weight: 400;
  color: var(--green-soft);
}

.contact-list .contact-links__channel:hover {
  color: var(--emerald);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  margin-top: 24px;
  padding: 64px 0 28px;
  background: #16302a;
  color: #dfeae4;
}

.site-footer a {
  color: #dfeae4;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 30px;
  color: #fff;
}

.footer-about {
  max-width: 320px;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(223, 234, 228, 0.72);
}

.footer-title {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(223, 234, 228, 0.68);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-legal {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(223, 234, 228, 0.72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(223, 234, 228, 0.16);
  font-size: 12px;
  color: rgba(223, 234, 228, 0.68);
}

/* Inner pages ------------------------------------------------------------- */

.page-hero {
  padding: 48px 0 40px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 12px;
  color: var(--green-soft);
}

.breadcrumbs a {
  color: var(--green-soft);
}

.breadcrumbs a:hover {
  color: var(--emerald);
}

.breadcrumbs span {
  color: #55695f;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 4.4vw, 58px);
}

.page-hero .lead {
  max-width: 680px;
  margin-top: 20px;
}

/* Hero with portrait ------------------------------------------------------ */

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: center;
}

.page-hero__text {
  min-width: 0;
}

.page-hero__media {
  margin: 0;
}

.page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.page-hero__media--crop img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-hero__media figcaption {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--green-soft);
  opacity: 0.8;
}

@media (max-width: 900px) {
  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .page-hero__media {
    max-width: 300px;
  }
}

/* Quick facts strip ------------------------------------------------------ */

.quick-facts {
  padding: 0 0 26px;
}

.quick-facts ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-facts li {
  position: relative;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--green-soft);
}

.quick-facts li + li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 9px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.quick-facts b {
  font-weight: 600;
  color: var(--green);
}

/* Method list (womans-mainstay) ------------------------------------------- */

.method {
  max-width: 1020px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.method__title {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

.method__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method__list li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--green-soft);
}

.method__list b {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--green);
}

@media (max-width: 860px) {
  .method__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .method {
    margin-top: 30px;
    padding-top: 24px;
  }

  .method__list {
    grid-template-columns: 1fr;
  }
}

.anchor-nav {
  position: sticky;
  top: var(--header);
  z-index: 50;
  background: rgba(247, 242, 234, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  font-size: 12.5px;
}

.anchor-nav a {
  color: var(--green-soft);
}

.anchor-nav a:hover {
  color: var(--emerald);
}

.anchor-nav a.is-active {
  color: var(--emerald);
}

.article {
  max-width: 780px;
  padding: 64px 0 24px;
}

.article .block {
  margin-bottom: 56px;
}

/* Don't let the sticky anchor nav cover section headings on jump links --- */
.article .block[id] {
  scroll-margin-top: 56px;
}

.article h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-bottom: 18px;
}

.article h2 .idx {
  display: inline-block;
  margin-right: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--emerald);
  vertical-align: middle;
}

.article p,
.article li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--green-soft);
}

.article ul {
  padding-left: 0;
  list-style: none;
}

.article ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  opacity: 0.75;
}

/* Fit list in two columns (vibracii) --------------------------------------- */

@media (min-width: 900px) {
  .article .list--two {
    columns: 2;
    column-gap: 48px;
  }

  .article .list--two li {
    break-inside: avoid;
  }
}

.article .included b {
  font-weight: 600;
  color: var(--green);
}

/* Page photo ------------------------------------------------------------- */

.page-photo {
  margin: 0 0 56px;
}

.page-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.page-photo figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--green-soft);
  opacity: 0.85;
}

.page-photo--narrow {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .page-photo--narrow {
    max-width: none;
  }
}

/* Numbered audience list ------------------------------------------------ */

.whom {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: whom;
}

.whom li {
  position: relative;
  counter-increment: whom;
  margin-bottom: 20px;
  padding-left: 32px;
  break-inside: avoid;
}

.whom li::before {
  content: counter(whom);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1;
  color: var(--emerald);
}

.whom b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--green);
}

.whom span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--green-soft);
}

.article .subhead {
  margin: 28px 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

.article .section-note {
  margin-top: 20px;
  padding: 14px 0 0 18px;
  border-left: 2px solid rgba(15, 107, 87, 0.35);
  font-size: 14px;
  line-height: 1.65;
  color: var(--green-soft);
}

.article .section-note--italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--green);
}

.article .closing {
  max-width: 700px;
  margin: 8px 0 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--green);
}

.facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.facts dt {
  color: var(--green-soft);
}

.facts dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

.price-box {
  padding: 32px;
  background: var(--mint);
  border-radius: 20px;
}

.price-box .amount {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--green);
}

.price-box p {
  margin: 10px 0 20px;
}

.price-box .price-when {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.75;
}

.price-box .price-note {
  margin: 14px 0 0;
  font-size: 14px;
  opacity: 0.7;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 9px 18px;
  background: var(--mint);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
}

.event-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.steps--two {
  grid-template-columns: repeat(2, 1fr);
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-wrap: balance;
}

.step p {
  font-size: 14px;
  margin: 0;
}

.step .mark {
  color: var(--emerald);
  font-weight: 600;
}

.hero-cta {
  display: inline-block;
  margin-top: 26px;
}

/* Steps 2x2 --------------------------------------------------------------- */

.steps--grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
}

/* Wide block -------------------------------------------------------------- */

.block--wide {
  width: calc(var(--container) - 48px);
}

@media (max-width: 1180px) {
  .block--wide {
    width: 100%;
  }
}

/* Pricing plans ----------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.plans--two {
  grid-template-columns: repeat(2, 1fr);
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Align card rows (titles, prices, lists) across the row ------------------- */

@supports (grid-template-rows: subgrid) {
  .plan {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    row-gap: 0;
  }

  .plan .plan__foot {
    margin-top: 0;
  }
}

.plan h3 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--green);
}

.plan .plan__sub {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--green-soft);
  opacity: 0.85;
}

.plan .plan__price {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--emerald);
}

.plan .plan__price span {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--green-soft);
}

.plans .plan__where {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--green-soft);
}

.plans .plan__price--text {
  font-size: 21px;
  line-height: 1.25;
  color: var(--green);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 9px;
}

.plans .plan ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.plans .plan ul li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--green-soft);
}

.plans .plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  opacity: 0.7;
}

.plan .plan__foot {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--green-soft);
  opacity: 0.8;
}

.free-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: var(--mint);
  border-radius: 14px;
}

.free-strip p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--green);
}

.free-strip b {
  color: var(--emerald);
  font-weight: 600;
}

.plans + .free-strip {
  margin-top: 18px;
}

.article .formats__hint {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--green-soft);
  opacity: 0.9;
}

.article .formats__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--green-soft);
  opacity: 0.85;
}

.article .formats__hint--last {
  margin: 14px 0 0;
}

@media (max-width: 1180px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }

  .plans .plan:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .plans .plan:nth-child(3) {
    grid-column: auto;
  }

  .free-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .steps--grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
  color: var(--emerald);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 18px;
  margin: 0;
  font-size: 15px;
}

.disclaimer {
  padding: 22px 24px;
  border: 1px solid rgba(30, 58, 50, 0.18);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--green-soft);
}

.disclaimer--accent {
  padding: 26px 30px 28px 28px;
  background: var(--mint);
  border: 0;
  border-left: 3px solid var(--emerald);
  border-radius: 4px 16px 16px 4px;
}

.disclaimer--accent p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.65;
}

.disclaimer--accent p:last-child {
  margin-bottom: 0;
}

.disclaimer--accent .disclaimer__title {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

.must {
  margin-top: 22px;
  padding: 20px 24px 20px 22px;
  background: var(--mint);
  border-left: 3px solid var(--emerald);
  border-radius: 4px 14px 14px 4px;
}

.must p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

.must p + p {
  margin-top: 8px;
}

.must__title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

.faq--end details:last-of-type {
  border-bottom: 0;
}

.other-services {
  padding: 24px 0 88px;
}

.other-services h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 24px;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.other-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  color: var(--green);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.other-link:hover {
  border-color: rgba(15, 107, 87, 0.4);
  transform: translateY(-2px);
  color: var(--green);
}

/* Legal pages ------------------------------------------------------------- */

.legal-page {
  max-width: 820px;
  padding: 56px 0 88px;
}

.legal-page h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  margin-bottom: 18px;
}

.legal-page h2 {
  font-size: 28px;
  margin: 34px 0 12px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--green-soft);
}

.legal-page p a,
.legal-page li a,
.article p a,
.article li a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note {
  padding: 20px 22px;
  background: var(--mint);
  border-radius: 14px;
  font-size: 14px;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero__grid {
    gap: 40px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--wide {
    grid-column: span 2;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header));
    margin: 0;
    padding: 20px 24px 32px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item {
    border-bottom: 1px solid var(--line);
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 16px;
  }

  .nav__link::after {
    display: none;
  }

  .subnav {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item.is-open .subnav {
    display: block;
  }

  .subnav a {
    padding: 8px 0;
    font-size: 15px;
  }

  .hero {
    padding: 36px 0 64px;
  }

  .hero__grid,
  .feature,
  .about,
  .contacts,
  .programs,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero__media {
    justify-self: start;
    max-width: 320px;
    order: -1;
  }

  .hero__photo {
    aspect-ratio: 1 / 1.1;
  }

  .hero__note {
    left: 12px;
    bottom: 18px;
  }

  .feature {
    padding: 32px;
  }

  .feature__media {
    max-width: 360px;
  }

  .about {
    gap: 40px;
  }

  .about__media {
    max-width: 380px;
  }

  .cta {
    padding: 36px;
  }

  .cta .btn {
    justify-self: start;
  }

  .approach,
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head--row {
    display: block;
  }

  .other-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .logo__name {
    font-size: 23px;
  }

  .hero__title {
    font-size: clamp(40px, 11vw, 56px);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card--wide {
    grid-column: auto;
  }

  .card {
    min-height: 0;
  }

  .trust__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .anchor-nav ul {
    gap: 6px 18px;
    font-size: 12px;
  }

  .article {
    padding-top: 44px;
  }

  .contact-list li {
    display: block;
  }

  .contact-list a,
  .contact-list b {
    display: block;
    margin-top: 2px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
