/* ============================================================
   EverEnglish — landing styles
   Font: Fixel (MacPaw, OFL). Brand colors sampled from Figma.
   ============================================================ */

/* ---------- Fixel Display (headings) ---------- */
@font-face { font-family:"Fixel Display"; font-weight:400; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family:"Fixel Display"; font-weight:500; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelDisplay-Medium.woff2") format("woff2"); }
@font-face { font-family:"Fixel Display"; font-weight:600; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelDisplay-SemiBold.woff2") format("woff2"); }
@font-face { font-family:"Fixel Display"; font-weight:700; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelDisplay-Bold.woff2") format("woff2"); }
@font-face { font-family:"Fixel Display"; font-weight:800; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelDisplay-ExtraBold.woff2") format("woff2"); }
@font-face { font-family:"Fixel Display"; font-weight:900; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelDisplay-Black.woff2") format("woff2"); }
/* ---------- Fixel Text (body) ---------- */
@font-face { font-family:"Fixel Text"; font-weight:400; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelText-Regular.woff2") format("woff2"); }
@font-face { font-family:"Fixel Text"; font-weight:500; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelText-Medium.woff2") format("woff2"); }
@font-face { font-family:"Fixel Text"; font-weight:600; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelText-SemiBold.woff2") format("woff2"); }
@font-face { font-family:"Fixel Text"; font-weight:700; font-style:normal; font-display:swap; src:url("../assets/fonts/FixelText-Bold.woff2") format("woff2"); }

:root {
  --navy:   #04172B;   /* dark sections / headings / buttons */
  --orange: #EF7100;   /* accent */
  --cream:  #FAF1E9;   /* soft decorative bg */
  --teal:   #4FC3D6;   /* light-blue accent (dark sections) */
  --ink:    #04172B;   /* body text on light */
  --muted:  #5B6673;   /* secondary text */
  --line:   #E4E7EC;   /* borders */
  --white:  #ffffff;

  /* Mockup uses Fixel Variable in the DISPLAY optical size everywhere */
  --font-display: "Fixel Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text:    "Fixel Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1600px;
  --pad: 40px;
  --radius: 8px;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary svg { color: var(--orange); transition: color .2s ease; }
.btn--primary:hover { background: var(--orange); transform: translateY(-2px); }
.btn--primary:hover svg { color: #fff; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #D96700; transform: translateY(-2px); }
.btn--outline { background: #8AEEEE; color: var(--navy); border: none; }
.btn--outline svg { color: var(--navy); transition: color .2s ease; }
.btn--outline:hover { background: #6FE0E0; color: var(--navy); }
.btn--outline:hover svg { color: var(--navy); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { height: 21px; width: auto; display: block; }
.logo__text { height: 25px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .25s ease;
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 20px; }
.header__phone { font-weight: 400; font-size: 17px; color: var(--navy); white-space: nowrap; }
.socials { display: flex; gap: 8px; }
.social {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  transition: transform .2s ease, opacity .2s ease;
}
.social:hover { transform: translateY(-1px); opacity: .82; }
.social img { display: block; width: 100%; height: 100%; object-fit: contain; }

.burger { display: none; flex-direction: column; gap: 5px; width: 30px; padding: 4px; }
.burger span { height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FCFCFD 0%, #F3F5F8 100%); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.22fr 0.9fr;
  align-items: stretch;
  gap: 10px;
  min-height: 660px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 0 60px;
  max-width: 720px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: .85;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--navy);
  max-width: 720px;
}
.hero__title .accent { color: var(--orange); }

.hero__subtitle {
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--navy);
  max-width: 610px;
}
.hero__cta { margin-top: 34px; }

/* media column: photo + generated pixel pattern */
.hero__media {
  position: relative;
  align-self: end;
  min-height: 660px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero__pattern {
  position: absolute;
  top: 24px; right: -30px;
  width: 560px; height: 600px;
  background: url("../assets/img/hero-pattern.svg") no-repeat top right;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}
.hero__photo {
  position: relative;
  z-index: 1;
  height: 680px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(4, 23, 43, .1));
}

/* hero tagline under CTA */
.hero__tagline { margin-top: 42px; padding-left: 16px; border-left: 3px solid var(--orange); }
.hero__tagline strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); }
.hero__tagline span { font-size: 14px; color: var(--muted); }

/* shared eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

/* ============================================================
   ABOUT (dark)
   ============================================================ */
.about { background: var(--navy); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; position: relative; z-index: 1; }
.about__curve { position: absolute; left: 0; bottom: 0; width: 120px; height: auto; z-index: 0; pointer-events: none; }
.about__title .colon { color: #8AEEEE; }
.about__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: .9;
  letter-spacing: 0;
  color: #fff;
}
.about__text { display: flex; flex-direction: column; gap: 18px; font-size: 21px; line-height: 1.5; color: #EEF1F5; max-width: 600px; }
.about__accent { color: #8AEEEE; font-weight: 600; }

/* ============================================================
   MISSION
   ============================================================ */
.mission { background: #fff; padding: 92px 0 40px; }
.mission__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: .95;
  letter-spacing: 0;
  color: var(--navy);
  max-width: 900px;
}
.mission__title .accent { color: var(--orange); }
.mission__text { margin-top: 30px; font-size: 22px; line-height: 1.5; letter-spacing: 0; color: var(--ink); max-width: 900px; }

/* ============================================================
   APPROACH
   ============================================================ */
.approach { background: #fff; padding: 60px 0 0; }
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 2; margin-bottom: -120px; }
.appcard {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 36px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(4, 23, 43, .05);
}
.appcard__icon {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #F1F3F6;
  color: var(--orange);
  margin-bottom: 22px;
}
.appcard__icon img { width: 38px; height: 38px; object-fit: contain; }
.appcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: var(--navy); margin-bottom: 12px; }
.appcard p { color: var(--muted); font-size: 17px; line-height: 1.5; }

/* ============================================================
   AUDIENCE (dark)
   ============================================================ */
.eyebrow--teal { color: var(--teal); }
.audience { background: var(--navy); color: #fff; padding: 210px 0 96px; position: relative; overflow: hidden; }
.audience__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
.audience__head { position: relative; }
.audience__pixels {
  position: absolute; left: 0; width: 50%; bottom: 0; height: 280px;
  z-index: 0; pointer-events: none;
  background: url("../assets/img/audience-pixels.png") repeat-x left bottom;
  background-size: auto 100%;
}
.audience__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: .9;
  letter-spacing: 0;
  color: #fff;
  max-width: 480px;
}
.audience__title .teal { color: var(--teal); }
.audience__arrow { width: 150px; height: auto; margin: 34px auto 0; display: block; position: relative; z-index: 1; }

.audience__label { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: #fff; margin-bottom: 22px; }
.audience__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.audience__tags span {
  background: #93E4DD;
  color: var(--navy);
  border-radius: 12px;
  padding: 30px 18px;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.audience__tags .wide { grid-column: 1 / -1; }

.audience__note { margin-top: 24px; font-size: 18px; line-height: 1.55; color: #DCE3EB; max-width: 520px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: #F5F4F5; padding: 56px 0 44px; }
.reviews__carousel, .reviews__carousel .carousel__track { background: #F5F4F5; }
.review {
  position: relative;
  width: 400px; max-width: 86vw;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 12px 18px -12px rgba(4, 23, 43, .14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.review::after {
  content: "";
  position: absolute; top: 10px; right: 10px;
  width: 58px; height: 47px;
  background: url("../assets/img/quote.png") no-repeat center / contain;
  z-index: 0;
  pointer-events: none;
}
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; position: relative; z-index: 1; }
.review__ava { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; order: 2; }
.review__head > div { min-width: 0; }
.review__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 5px; }
.review__role { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.review__stars { color: var(--orange); font-size: 24px; letter-spacing: 3px; margin-bottom: 14px; position: relative; z-index: 1; }
.review__text {
  color: var(--ink); font-size: 16px; line-height: 1.55;
  position: relative; z-index: 1;
  display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   DIAGNOSTICS
   ============================================================ */
.diagnostics { background: #F5F4F5; padding: 0 0 40px; }
.diagnostics__top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 40px; }
.diagnostics__visual img,
.diagnostics__visual video { width: 100%; height: auto; display: block; }
.diagnostics__text { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.62; color: var(--ink); }
.diagnostics__text .eyebrow { font-size: 19px; }
.diagnostics__label { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--navy); margin-bottom: 30px; }
.dsteps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.dstep { padding: 0 28px; border-left: 1px solid #D8DBE0; }
.dstep:first-child { padding-left: 0; border-left: none; }
.dstep__ic { color: var(--orange); display: inline-flex; margin-bottom: 18px; }
.dstep__ic svg { width: 40px; height: 40px; }
.dstep p { font-size: 18px; line-height: 1.35; color: var(--navy); }

/* ============================================================
   DIRECTIONS (dark)
   ============================================================ */
.directions { background: var(--navy); color: #fff; padding: 60px 0 96px; }
.directions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dircard {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
}
.dircard::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 120px; height: 90px;
  background: url("../assets/img/card-pixels.png") no-repeat bottom right;
  background-size: contain;
  pointer-events: none;
}
.dircard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; position: relative; z-index: 1; }
.dircard__top h3 { font-family: var(--font-display); font-weight: 700; font-size: 29px; line-height: 1.08; color: var(--orange); }
.dircard__num { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--orange); flex: none; }
.dircard p { color: var(--muted); font-size: 17px; line-height: 1.5; position: relative; z-index: 1; }
.dircard__langs { margin-top: 14px; color: var(--navy); font-weight: 500; }
.dircard__btn { margin-top: 22px; align-self: flex-start; position: relative; z-index: 1; white-space: normal; text-align: center; line-height: 1.3; }
.dircard--wide { grid-column: 1 / -1; }

/* ============================================================
   TARIFFS (dark)
   ============================================================ */
.tariffs { background: var(--navy); color: #fff; padding: 10px 0 0; overflow: visible; }
.tariffs__intro { font-size: 18px; line-height: 1.55; color: #C3CCD7; max-width: 760px; margin-bottom: 40px; }
.tariffs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-bottom: -130px; position: relative; z-index: 2; }
.tariffs__col { display: flex; flex-direction: column; gap: 20px; }

.plan {
  background: #13304E;
  border: 1px solid rgba(79, 195, 214, .16);
  border-radius: 16px;
  padding: 27px;
}
.plan__title { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--teal); margin-bottom: 14px; line-height: 1; letter-spacing: 0; }
.plan__title small { font-family: var(--font-text); font-weight: 600; font-size: 12px; letter-spacing: 0; text-transform: uppercase; color: #9FB0C0; }
.plan__kicker { font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 6px; }
.plan__lead { color: #fff; font-weight: 600; font-size: 18px; line-height: 1.42; margin-bottom: 22px; }
.plan__sub { color: var(--teal); font-weight: 500; font-size: 17px; margin: 6px 0 14px; }
.plan__list { list-style: none; margin-bottom: 8px; }
.plan__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #D3DBE4;
  font-size: 17px;
  line-height: 1.4;
}
.plan__list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px;
  background: url("../assets/img/check-teal.svg") no-repeat center / contain;
}
.plan__list b { color: var(--teal); font-weight: 600; }
.plan__note { font-size: 13px; color: #90A1B1; line-height: 1.45; margin-top: 14px; }
.plan__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: 31px; color: #fff; white-space: nowrap; }
.plan__price span { font-family: var(--font-text); font-weight: 400; font-size: 17px; color: #8FA0B0; }
.plan__price--text { font-size: 20px; }
.plan__foot .btn { padding: 14px 24px; font-size: 14px; }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: #F5F4F5; padding: 175px 0 96px; }
.team__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 78px 70px; max-width: 1160px; margin-inline: auto; }
.member { width: 340px; }
.member__ava { display: inline-block; padding: 4px; border: 2px solid var(--orange); border-radius: 50%; }
.member__photo { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; display: block; }
.member__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--orange); margin: 18px 0 10px; }
.member__role { color: var(--muted); font-size: 16px; line-height: 1.5; }

/* ============================================================
   CAROUSEL (shared)
   ============================================================ */
.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.carousel__dots span { width: 9px; height: 9px; border-radius: 50%; background: #D0D5DC; transition: background .2s; cursor: pointer; }
.carousel__dots span.active { background: var(--orange); }
.carousel { position: relative; }
.carousel__arrow {
  position: absolute; top: 42%; transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(4, 23, 43, .14);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease;
}
.carousel__arrow:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.carousel__arrow--prev { left: -14px; }
.carousel__arrow--next { right: -14px; }
@media (max-width: 640px) {
  .carousel__arrow { width: 40px; height: 40px; background: rgba(255, 255, 255, .92); top: 46%; }
  .carousel__arrow--prev { left: 4px; }
  .carousel__arrow--next { right: 4px; }
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { background: #F5F4F5; padding: 56px 0 88px; }
.pcard {
  width: 400px; max-width: 84vw;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 12px 30px rgba(4, 23, 43, .04);
}
.pcard { display: flex; flex-direction: column; }
.pcard__logo { height: 92px; display: flex; align-items: center; margin-bottom: 24px; }
.pcard__logo img { max-height: 84px; max-width: 260px; width: auto; }
.review__text.is-expanded, .pcard p.is-expanded { -webkit-line-clamp: unset; }
.read-more { display: inline-block; margin-top: 10px; padding: 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--orange); }
.read-more:hover { text-decoration: underline; }
.pcard__logo--text { align-items: center; }
.plogo-edu { font-family: var(--font-display); font-weight: 900; font-size: 48px; letter-spacing: .02em; color: #F4C20D; }
.plogo-meta { font-family: var(--font-display); font-weight: 800; font-size: 27px; color: var(--orange); }
.plogo-snidanok { font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1.05; color: var(--navy); }
.pcard p {
  color: var(--muted); font-size: 17px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   MEDIA (dark)
   ============================================================ */
.media { background: var(--navy); padding: 80px 0 90px; position: relative; overflow: hidden; }
.media .container { position: relative; z-index: 1; }
.media__pixels { position: absolute; top: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none; }
.media__pixels img { display: block; height: 100%; width: auto; }
.media .carousel__dots span { background: rgba(255, 255, 255, .25); }
.media .carousel__dots span.active { background: var(--teal); }
.mcard { width: 660px; max-width: 88vw; background: #fff; border-radius: 16px; padding: 20px; }
.mcard__shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1320 / 640; }
.mcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.mcard__btn {
  width: 100%;
  justify-content: space-between;
  background: #8AEEEE;
  color: var(--navy);
  margin-top: 18px;
  padding: 20px 26px;
  font-size: 17px;
}
.mcard__btn svg { color: var(--navy); }
.mcard__btn:hover { background: #6FE0E0; transform: none; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.cform { background: #F5F4F5; padding: 90px 0 96px; }
.cform__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--navy);
  margin-bottom: 34px;
}
.cform__title .teal { color: var(--teal); }
.cform__card {
  position: relative;
  overflow: visible;
  background: var(--navy);
  border-radius: 20px;
  padding: 48px 54px;
  min-height: 520px;
}
.cform__fields { position: relative; z-index: 2; max-width: 560px; }
.cform__field { margin-bottom: 20px; }
.cform__field label { display: block; color: #fff; font-size: 15px; margin-bottom: 9px; }
.cform__field input,
.cform__field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--navy);
  transition: box-shadow .2s ease;
}
.cform__field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.cform__field input::placeholder,
.cform__field textarea::placeholder { color: #9AA4B0; }
.cform__field input:focus,
.cform__field textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(79, 195, 214, .5); }
.cform__submit {
  width: 100%;
  margin-top: 10px;
  background: #93E7E2;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-radius: 12px;
  padding: 20px;
  transition: background .2s ease, transform .15s ease;
}
.cform__submit:hover { background: var(--teal); transform: translateY(-2px); }
.cform__status { margin-top: 14px; color: var(--teal); font-size: 15px; min-height: 1.2em; }
.cform__decor {
  position: absolute; left: 0; right: 0;
  top: -68px; height: calc(100% + 176px);
  pointer-events: none;
  z-index: 1;
}
.cform__decor img {
  position: absolute; right: 0; top: 0;
  height: 100%; width: auto; max-width: none;
  opacity: .92;
}

/* ============================================================
   CTA
   ============================================================ */
.cta { background: #F5F4F5; padding: 96px 0 104px; position: relative; overflow: hidden; }
.cta__inner { position: relative; }
.cta__text { max-width: 800px; position: relative; z-index: 1; }
.cta__lead, .cta__body, .cta__sign {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(27px, 3.3vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--navy);
}
.cta__lead .accent { color: var(--orange); }
.cta__body { margin-top: 20px; }
.cta__sign { margin-top: 20px; color: var(--orange); }
.cta__pattern {
  position: absolute; right: 0; bottom: 0;
  width: 350px; height: 200px;
  background: url("../assets/img/cta-pixels.png") no-repeat right bottom;
  background-size: contain;
  z-index: 0; pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #fff; padding: 54px 0 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 56px; align-items: start; }
.footer__nav { display: flex; gap: 56px; }
.footer__nav div { display: flex; flex-direction: column; gap: 16px; }
.footer__nav a { color: #D3DBE4; font-size: 15px; }
.footer__nav a:hover { color: var(--orange); }
.footer__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer__contacts a { color: #fff; font-weight: 600; font-size: 16px; }
.footer__contacts a:hover { color: var(--orange); }
.footer__contacts .socials { margin-top: 8px; }
.logo--light .logo__text { filter: brightness(0) invert(1); }
.footer .logo__mark { height: 32px; }
.footer .logo__text { height: 38px; }
.footer__bottom {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 40px; padding: 18px 24px;
  background: #F5F4F5;
  font-size: 14px; color: var(--navy);
}
.footer__bottom span { color: var(--navy); }
.footer__bottom a { color: var(--navy); text-decoration: underline; }
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad: 24px; }
  .hero__inner { min-height: auto; }
  .hero__photo { height: 520px; }
  .hero__media { min-height: 520px; }
}

@media (max-width: 860px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }

  .nav.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }

  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__content { padding: 48px 0 24px; text-align: left; }
  .hero__media { min-height: 420px; order: -1; }
  .hero__photo { height: 400px; }
  .hero__pattern { width: 200px; height: 320px; right: -20px; top: 10px; }

  .about__inner { grid-template-columns: 1fr; gap: 32px; }
  .about { padding: 64px 0; }
  .approach__grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: -90px; }
  .mission, .approach { padding-left: 0; padding-right: 0; }
  .audience__inner { grid-template-columns: 1fr; gap: 36px; }
  .audience { padding: 150px 0 64px; }
  .reviews__grid { grid-template-columns: 1fr; gap: 20px; }
  .diagnostics__top { grid-template-columns: 1fr; gap: 30px; }
  .dsteps { grid-template-columns: 1fr 1fr; gap: 26px 24px; }
  .dstep, .dstep:first-child { padding: 0; border-left: none; }
  .directions__grid { grid-template-columns: 1fr; }
  .tariffs__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .footer__contacts { align-items: flex-start; }
  .cta__pattern { width: 200px; height: 114px; opacity: 1; }
  .cform__card { padding: 30px 22px; min-height: auto; }
  .cform__fields { max-width: 100%; }
  .cform__decor { display: none; }
}
@media (max-width: 520px) {
  .team__grid { grid-template-columns: 1fr; }
  .footer__nav { gap: 36px; }
}
@media (max-width: 640px) {
  .dsteps { grid-template-columns: 1fr; gap: 18px; }
  .dstep { display: flex; align-items: center; gap: 14px; text-align: left; }
  .dstep__ic { margin-bottom: 0; flex: none; }
  .dstep p { margin: 0; }
  .audience__arrow { display: none; }
  .audience__pixels { width: 100%; }
  .review, .pcard { max-width: 80vw; }
  .mcard { max-width: 82vw; }
  .member { width: 100%; text-align: center; }
  .member__role { max-width: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .member__role.is-expanded { -webkit-line-clamp: unset; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 34px; }
  .hero__subtitle { font-size: 16px; }
  .btn { width: 100%; justify-content: center; }
}
