:root {
  --bg: #f6f3ed;
  --bg-soft: #eee9e2;
  --bg-panel: #dfd6cd;
  --bg-tint: #d5cac0;
  --sand: #c9bcae;
  --taupe: #a8998a;
  --taupe-deep: #77695d;
  --ink: #25211e;
  --ink-soft: #655e57;
  --line: rgba(37, 33, 30, 0.16);
  --line-soft: rgba(37, 33, 30, 0.08);
  --white: #fffdf9;
  --radius: 6px;
  --radius-lg: 12px;
  --font-display: "Forum", "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

main {
  -webkit-user-select: none;
  user-select: none;
}

main a,
main button,
main input,
main textarea,
main summary {
  -webkit-user-select: auto;
  user-select: auto;
  pointer-events: auto;
}

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

figure {
  margin: 0;
}

.site {
  overflow-x: clip;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, 760px);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(245, 241, 234, 0.9);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* Beat Elementor `.elementor img { height:auto; max-width:100% }` */
.elementor img.brand__logo,
.elementor img.footer-brand__logo,
img.brand__logo,
img.footer-brand__logo,
.brand__logo,
.footer-brand__logo {
  display: block;
  width: auto !important;
  height: 2.05rem !important;
  max-width: 11.5rem !important;
  max-height: 2.05rem !important;
  object-fit: contain;
  pointer-events: none;
}

.elementor img.footer-brand__logo,
img.footer-brand__logo,
.footer-brand__logo {
  height: 1.75rem !important;
  max-width: 9.5rem !important;
  max-height: 1.75rem !important;
  opacity: 0.95;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  line-height: 1;
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.05rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding-left: 0.65rem;
  border-left: 1px solid var(--line);
}

.lang a {
  opacity: 0.55;
  padding: 0.15rem 0.35rem;
}

.lang a.is-current,
.lang a:hover {
  opacity: 1;
  color: var(--ink);
}

.header-cert,
.header-cta {
  margin-left: 0.15rem;
  flex-shrink: 0;
}

a.btn.header-cert {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

a.btn.header-cert:hover {
  background: transparent;
  color: var(--ink);
}

.hero__tag-link {
  display: grid;
  gap: inherit;
  color: inherit;
  text-decoration: none;
}

.hero__tag-link:hover strong {
  color: var(--taupe-deep);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.55rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--pill {
  border-color: var(--ink);
  background: transparent;
}

.btn--sm {
  min-height: 2.35rem;
  padding: 0.45rem 1.2rem;
  font-size: 0.72rem;
}

.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn--solid:hover {
  background: transparent;
  color: var(--ink);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  width: fit-content;
}

.text-link::after {
  content: "→";
  font-size: 0.95em;
}

/* —— Hero —— */
.hero {
  position: relative;
  background: var(--bg);
  padding: clamp(2.25rem, 5vh, 4rem) 0 0;
  overflow: hidden;
}

.hero__stage {
  position: relative;
  min-height: clamp(380px, 48vh, 520px);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vh, 4.5rem) 0;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 67rem;
}

.hero__kicker {
  margin: clamp(-0.4rem, -0.4vw, 0) 0 clamp(1.6rem, 3vw, 2.35rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}

.hero__kicker::before {
  content: "";
  width: clamp(2.5rem, 6vw, 4.75rem);
  height: 1px;
  flex: 0 0 auto;
  background: var(--taupe);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.15rem, 4.4vw, 3.65rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  display: grid;
  gap: clamp(0.35rem, 1vw, 0.7rem);
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: var(--taupe-deep);
}

.hero__lead {
  max-width: 40rem;
  margin: clamp(1.5rem, 3vw, 2.15rem) 0 0;
  font-size: clamp(1.08rem, 1.7vw, 1.22rem);
  line-height: 1.8;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.5rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.hero__actions .text-link {
  margin-top: 0;
}

.hero__wave {
  position: absolute;
  right: -3%;
  top: 4%;
  width: min(42%, 430px);
  color: var(--taupe);
  pointer-events: none;
  opacity: 0.64;
  z-index: 0;
}

.hero__wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero__tags {
  list-style: none;
  margin: 0 0 clamp(3.25rem, 7vw, 5.25rem);
  padding: 0;
  display: grid;
  gap: 1.85rem 2.25rem;
}

@media (min-width: 720px) {
  .hero__tags {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero__tag {
  display: grid;
  gap: 0.45rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.hero__tag strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero__tag strong::before {
  content: "— ";
  color: var(--taupe-deep);
}

.hero__tag span {
  font-size: 0.92rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.hero__visual {
  position: relative;
  width: 100%;
  height: clamp(360px, 54vw, 680px);
  overflow: hidden;
  background: var(--bg-tint);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero__visual img,
.hero__visual .hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__visual img,
.hero__visual .hero__video {
  transform: scale(1.015);
}

.hero__visual .hero__video {
  display: block;
  pointer-events: none;
}

/* —— Mission —— */
.section {
  padding: clamp(6.75rem, 16vh, 11rem) 0;
  background: var(--bg);
}

.section--mission {
  background: var(--bg-soft);
}

.mission {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 900px) {
  .mission {
    grid-template-columns: 1.05fr 0.95fr;
  }

  /* Keep photo on the left on desktop; on mobile text comes first. */
  .mission__media {
    order: -1;
  }
}

.mission__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
}

.mission__media--large img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 55vh, 560px);
  object-fit: cover;
}

.mission__media--large .media-video,
.mission__media--large iframe,
.mission__media--large video {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 55vh, 560px);
  object-fit: cover;
  border: 0;
  display: block;
  background: #000;
}

.mission__copy {
  display: grid;
  align-content: start;
  gap: 0;
  padding-top: 0.5rem;
}

.mission__text {
  margin: 0;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}

.prose {
  display: grid;
  gap: 1.6rem;
  max-width: 38rem;
}

.prose p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.85;
}

.mission__copy .prose > p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
}

.prose__accent,
.prose p.prose__accent {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.4;
  color: var(--ink);
}

.mission__copy .text-link {
  margin-top: 1.9rem;
}

.eyebrow {
  margin: 0 0 1.35rem;
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--taupe-deep);
}

/* —— Split: audience / format —— */
.section--split {
  background: var(--white);
}

.split-grid {
  display: grid;
  gap: clamp(3.5rem, 8vw, 5.25rem);
}

@media (min-width: 860px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.split-card h2 {
  max-width: 14ch;
}

.split-card__lead {
  margin: 0 0 1.85rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.8;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.check-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.5rem;
  height: 1px;
  background: var(--taupe);
}

.panel-list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.panel-list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

/* —— Feature / taupe —— */
.section--feature {
  background: var(--bg);
  padding-block: clamp(6.75rem, 16vh, 11rem);
}

.feature {
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 480px;
  }
}

.feature__media {
  background: var(--bg-tint);
  min-height: 280px;
}

.feature__media img,
.feature__media .media-video,
.feature__media iframe,
.feature__media video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border: 0;
  display: block;
}

.feature__media .media-video,
.mission__media .media-video {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.feature__media iframe,
.mission__media iframe,
.feature__media video,
.mission__media video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  background: #000;
}

.feature__panel {
  background: var(--taupe-deep);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  align-content: center;
  gap: 1.4rem;
}

.feature__panel .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.feature__panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 400;
  line-height: 1.22;
  text-transform: none;
  max-width: 16ch;
}

.feature__panel p {
  margin: 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.8;
}

.feature__panel .btn {
  margin-top: 0.75rem;
  width: fit-content;
}

/* —— Team / founder —— */
.section--team {
  background: var(--bg-panel);
}

.team {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}

@media (min-width: 900px) {
  .team {
    grid-template-columns: 1.15fr 0.75fr;
  }
}

.team__copy h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 400;
  line-height: 1.22;
  text-transform: none;
  max-width: 18ch;
}

.team__copy > p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.8;
}

.founder-roles {
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.founder-roles li {
  padding-left: 1.1rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.founder-roles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.5rem;
  height: 1px;
  background: var(--taupe);
}

.team__photo {
  width: min(100%, 260px);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .team__photo {
    margin-inline: auto 0;
  }
}

.team__photo img {
  width: 100%;
  height: auto;
  max-height: 340px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 8%;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.team__photo figcaption {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.2rem;
}

.team__photo strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.team__photo span {
  font-size: 0.72rem;
  letter-spacing: 0.045em;
  color: var(--ink-soft);
}

/* Founder caption (Elementor text widget): neutralize hand-added non-breaking
   spaces that broke the mobile layout; render the name/role cleanly, centered. */
#founder .elementor-widget-image + .elementor-widget-text-editor p {
  margin: 0;
  font-size: 0;
  line-height: 0;
  text-align: center;
}

#founder .elementor-widget-image + .elementor-widget-text-editor p::before,
#founder .elementor-widget-image + .elementor-widget-text-editor p::after {
  display: block;
  text-align: center;
  white-space: normal;
}

#founder .elementor-widget-image + .elementor-widget-text-editor p::before {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

#founder .elementor-widget-image + .elementor-widget-text-editor p::after {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.045em;
  line-height: 1.4;
  color: var(--ink-soft);
}

html[lang^="uk"] #founder .elementor-widget-image + .elementor-widget-text-editor p::before { content: "Леньяра Османова"; }
html[lang^="uk"] #founder .elementor-widget-image + .elementor-widget-text-editor p::after  { content: "Засновниця LELICOS"; }
html[lang^="ru"] #founder .elementor-widget-image + .elementor-widget-text-editor p::before { content: "Леньяра Османова"; }
html[lang^="ru"] #founder .elementor-widget-image + .elementor-widget-text-editor p::after  { content: "Основательница LELICOS"; }
html[lang^="en"] #founder .elementor-widget-image + .elementor-widget-text-editor p::before { content: "Leniara Osmanova"; }
html[lang^="en"] #founder .elementor-widget-image + .elementor-widget-text-editor p::after  { content: "Founder of LELICOS"; }

/* —— Section heads / courses —— */
.section-head {
  margin-bottom: clamp(3.5rem, 8vh, 5.5rem);
}

.section--paths {
  background: var(--white);
}

.section-head h2,
.section h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-transform: none;
  max-width: 18ch;
}

.section-head p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.8;
}

.tariffs {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 720px) {
  .tariffs--4 {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 960px) {
  .tariffs {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    align-items: stretch;
  }

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

@media (min-width: 1200px) {
  .tariffs--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tariff {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 100%;
  padding: clamp(1.9rem, 3.2vw, 2.6rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.tariff--course {
  background: var(--bg);
}

.tariff--featured {
  background: var(--taupe-deep);
  border-color: transparent;
  color: var(--white);
}

.tariff--modules {
  background: var(--bg-panel);
}

.tariff--dict {
  background: var(--white);
  border-color: var(--line);
}

.tariff.is-in:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(37, 33, 30, 0.1);
  border-color: var(--line);
}

.tariff__index {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--taupe-deep);
}

.tariff__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.3;
  text-transform: none;
}

.tariff__text,
.tariff__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.tariff__note {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  color: var(--taupe-deep);
}

.tariff__meta {
  margin: auto 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.035em;
  color: var(--taupe-deep);
}

.tariff__price {
  margin: auto 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.tariff__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: background 0.3s ease, color 0.3s ease;
}

.tariff__cta:hover {
  background: var(--ink);
  color: var(--white);
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.price-list li > span,
.price-list li > strong {
  min-width: 0;
}

.price-list li > span {
  flex: 1 1 auto;
}

.price-list strong {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
}

.price-list__buy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.price-list__buy:hover,
.price-list__buy:focus-visible {
  color: var(--ink);
  transform: translateX(2px);
}

.price-list__buy strong {
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

.tariff__pick {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.tariff--featured .price-list li {
  color: rgba(255, 253, 249, 0.78);
  border-bottom-color: rgba(255, 253, 249, 0.16);
}

.tariff--featured .price-list strong {
  color: var(--white);
}

.tariff--featured .tariff__index,
.tariff--featured .tariff__text,
.tariff--featured .tariff__note,
.tariff--featured .tariff__meta,
.tariff--featured .check-list li {
  color: rgba(255, 253, 249, 0.78);
}

.tariff--featured .tariff__price {
  color: var(--white);
}

.tariff--featured .check-list li::before {
  background: rgba(255, 253, 249, 0.5);
}

.tariff--featured .tariff__cta:hover {
  background: var(--white);
  color: var(--ink);
}

/* —— Certificate generator —— */
.section--cert {
  background:
    radial-gradient(120% 80% at 50% 0%, #fbf8f3 0%, var(--bg) 55%, var(--bg-soft) 100%);
  padding-block: clamp(3rem, 8vh, 5.5rem);
}

.cert-wrap {
  max-width: 72rem;
}

.cert-form {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .cert-form {
    grid-template-columns: 1fr 1fr;
  }

  .cert-form .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.cert-form label {
  display: grid;
  gap: 0.4rem;
}

.cert-form span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.cert-form input,
.cert-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cert-sheet {
  position: relative;
  overflow: hidden;
  aspect-ratio: 297 / 210;
  width: min(100%, 56rem);
  margin-inline: auto;
  min-height: 22rem;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 4.5vw, 3.5rem);
  border: 1px solid var(--taupe-deep);
  background:
    radial-gradient(120% 90% at 50% 0%, #fbf8f3 0%, transparent 55%),
    linear-gradient(145deg, #f6f3ed 0%, #f0e8df 48%, #e7ded3 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 249, 0.55),
    0 28px 70px rgba(37, 33, 30, 0.1);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(0.85rem, 2.2vw, 1.75rem);
  color: var(--ink);
}

.cert-sheet__frame {
  pointer-events: none;
  position: absolute;
  inset: 0;
  color: var(--taupe);
}

.cert-sheet__border {
  position: absolute;
  inset: 0.85rem;
  border: 1px solid rgba(201, 188, 174, 0.7);
}

.cert-sheet__corner {
  position: absolute;
  width: 2.6rem;
  height: 2.6rem;
  border: 0 solid var(--taupe-deep);
}

.cert-sheet__corner--tl {
  top: 1.25rem;
  left: 1.25rem;
  border-top-width: 2px;
  border-left-width: 2px;
}

.cert-sheet__corner--tr {
  top: 1.25rem;
  right: 1.25rem;
  border-top-width: 2px;
  border-right-width: 2px;
}

.cert-sheet__corner--bl {
  bottom: 1.25rem;
  left: 1.25rem;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.cert-sheet__corner--br {
  bottom: 1.25rem;
  right: 1.25rem;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.cert-sheet__wave {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 21%;
  width: 72%;
  height: 3.25rem;
  opacity: 0.85;
}

.cert-sheet__seal {
  position: absolute;
  right: 2.4rem;
  bottom: 2.2rem;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(168, 153, 138, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--taupe-deep);
  opacity: 0.55;
}

.cert-sheet__top,
.cert-sheet__body,
.cert-sheet__foot {
  position: relative;
  z-index: 1;
}

.cert-sheet__top {
  text-align: center;
  padding-top: 0.2rem;
}

.cert-sheet__logo {
  display: block;
  width: min(12rem, 44%);
  height: auto;
  margin: 0 auto 0.65rem;
}

.cert-sheet__eyebrow {
  margin: 0;
  color: var(--taupe-deep);
  font-size: clamp(0.7rem, 1.35vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cert-sheet__rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, transparent, var(--taupe-deep), transparent);
}

.cert-sheet__body {
  text-align: center;
  align-self: center;
  padding-block: 0.35rem 0.6rem;
}

.cert-sheet__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.8vw, 3.85rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.cert-sheet__line {
  margin: 0.4rem 0;
  color: var(--ink-soft);
  font-size: clamp(0.88rem, 1.55vw, 1.05rem);
  font-weight: 500;
}

.cert-sheet__name {
  margin: 1rem auto 0.95rem;
  max-width: 88%;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.15;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(168, 153, 138, 0.75);
}

.cert-sheet__program {
  margin: 0.95rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.cert-sheet__foot {
  display: grid;
  gap: 1.35rem;
  align-items: end;
  grid-template-columns: 1fr;
  padding-right: 4.2rem;
}

@media (min-width: 640px) {
  .cert-sheet__foot {
    grid-template-columns: 1fr 1fr;
  }
}

.cert-sheet__meta {
  color: var(--taupe-deep);
  font-size: clamp(0.75rem, 1.35vw, 0.9rem);
}

.cert-sheet__number,
.cert-sheet__date,
.cert-sheet__sign-name,
.cert-sheet__sign-role {
  margin: 0.22rem 0;
}

.cert-sheet__number {
  letter-spacing: 0.08em;
  color: var(--taupe);
  font-weight: 600;
}

.cert-sheet__sign {
  text-align: left;
}

@media (min-width: 640px) {
  .cert-sheet__sign {
    text-align: right;
    justify-self: end;
    min-width: 15rem;
  }
}

.cert-sheet__sign-line {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 0.6rem;
  background: linear-gradient(90deg, transparent, var(--taupe-deep) 14%, var(--taupe-deep) 86%, transparent);
}

.cert-sheet__sign-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.cert-sheet__sign-role {
  color: var(--taupe-deep);
  font-size: clamp(0.72rem, 1.25vw, 0.85rem);
  letter-spacing: 0.04em;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  .site-header,
  .site-footer,
  .cert-form,
  .cert-actions,
  .section-head,
  .nav-toggle {
    display: none !important;
  }

  .section--cert,
  .cert-wrap {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }

  .cert-sheet {
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    height: calc(100vh - 2mm);
    box-shadow: none;
    break-inside: avoid;
  }
}

/* —— Programs —— */
.section--programs {
  background: var(--bg-panel);
}

.programs {
  display: grid;
  gap: 0;
}

.program {
  padding: clamp(2.15rem, 3.6vw, 2.75rem) 0;
  border-top: 1px solid var(--line);
}

.program:last-child {
  border-bottom: 1px solid var(--line);
}

.program h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
}

.program p {
  margin: 0;
  max-width: 48rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* —— FAQ —— */
.section--faq {
  background: var(--bg-soft);
}

.faq {
  display: grid;
  border-top: 1px solid var(--line);
}

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

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.95rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.4;
  text-transform: none;
}

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

.faq__item summary::after {
  content: "+";
  float: right;
  font-family: var(--font-body);
  color: var(--taupe-deep);
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  margin: 0 0 2rem;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* —— Contacts —— */
.section--contacts {
  background: var(--bg);
}

.contacts-panel {
  padding: clamp(2.75rem, 7vw, 4.5rem);
  background: var(--taupe);
  color: var(--white);
  border-radius: var(--radius-lg);
}

.contacts-panel .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.contacts-panel h2 {
  color: var(--white);
  max-width: 14ch;
}

.contacts-panel p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.35rem;
}

.contacts-panel .btn--pill {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.contacts-panel .btn--pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.contacts-panel .btn--solid {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.contacts-panel .btn--solid:hover {
  background: transparent;
  color: var(--white);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.5rem 0 3rem;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.footer-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  line-height: 1;
  color: var(--ink);
}

.footer-meta {
  margin-top: 0.55rem;
  font-size: 0.66rem;
  letter-spacing: 0.055em;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--ink);
}

/* —— Motion —— */
.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(64px) scale(0.96);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay),
    filter 0.9s ease var(--reveal-delay);
  will-change: opacity, transform, filter;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.section-head.reveal.is-in {
  transition-duration: 1.1s, 1.2s, 1s;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--taupe-deep);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    inset: 4.5rem 1.25rem auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(28, 27, 26, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .lang {
    border-left: 0;
    padding-left: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    width: 100%;
  }

  .header-cert,
  .header-cta {
    margin-left: 0;
  }

  .hero__wave {
    width: min(70%, 280px);
    opacity: 0.42;
    top: 4%;
    bottom: auto;
  }

  .hero__stage {
    min-height: 0;
    padding-block: 3rem 3.5rem;
  }

  .hero__title {
    font-size: clamp(2.05rem, 8.4vw, 2.85rem);
    line-height: 1.16;
  }

  .hero__kicker::before {
    width: 2rem;
  }

  .hero__visual {
    height: clamp(320px, 72vw, 520px);
  }

  .mission__media--large img,
  .mission__media--large .media-video,
  .mission__media--large iframe,
  .mission__media--large video {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .text-link {
    margin-inline: auto;
  }

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

/* —— Legal —— */
.contacts-legal {
	list-style: none;
	margin: 1.85rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	max-width: 40rem;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--muted, #6b6560);
}

/* Inside the taupe contacts panel — muted gray is invisible */
.contacts-panel .contacts-legal {
	color: rgba(255, 253, 249, 0.92);
}

.contacts-panel .contacts-legal strong {
	color: var(--white);
	font-weight: 600;
}

.contacts-legal a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.contacts-panel .contacts-legal a:hover {
	color: var(--white);
}

.section--legal {
  padding-block: clamp(4rem, 10vw, 6.5rem);
  background: var(--bg);
}

.legal h1 {
  margin: 0.35rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
}

.legal h2 {
  margin: 2.25rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.legal p {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
