/* ==========================================================================
   Kateryna — Online language lessons
   Tokens from the design handoff; plain CSS, no build step.
   ========================================================================== */

/* ---- Fonts (self-hosted) ------------------------------------------------ */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Poppins-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); }

/* Manrope (variable, OFL) — Poppins has no Cyrillic glyphs, so Ukrainian pages use Manrope for every script. */
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("../fonts/Manrope-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("../fonts/Manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("../fonts/Manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("../fonts/Manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --brand-50: #effaf4;
  --brand-100: #dcefe6;
  --brand-200: #b7decf;
  --brand-300: #7ec2ab;
  --brand-400: #4aa78a;
  --brand-500: #298c6d;
  --brand-600: #1f7159;
  --brand-700: #155945;

  --ink-1000: #0f1a16;
  --ink-900: #14241f;
  --ink-800: #1f342d;
  --ink-700: #324a42;
  --ink-600: #4d6660;
  --ink-500: #6b827d;
  --ink-400: #8fa19c;
  --ink-300: #b8c5c1;
  --ink-200: #d8e0dd;
  --ink-100: #ebefed;
  --ink-50: #f5f7f6;

  --paper: #fbfaf6;
  --card: #ffffff;
  --scrim: rgba(15, 26, 22, 0.4);
  --error: #b4533a;
  --focus: rgba(41, 140, 109, 0.4);

  --shadow-1: 0 1px 2px rgba(15,26,22,.05), 0 1px 1px rgba(15,26,22,.04);
  --shadow-2: 0 4px 12px -2px rgba(15,26,22,.08), 0 2px 4px rgba(15,26,22,.04);
  --shadow-3: 0 12px 32px -8px rgba(15,26,22,.12), 0 4px 8px -2px rgba(15,26,22,.06);
  --shadow-brand: 0 8px 24px -6px rgba(41,140,109,.35);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 64px;
  --section-pad: 96px;
  --container: 1200px;
  --gutter: 24px;
}
html[lang="uk"] { --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 80px; }
.icon { flex: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--focus); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 10px 16px; border-radius: 12px; background: var(--brand-500); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); width: 100%; }
.section { padding-block: var(--section-pad); }
.section--tint { background: var(--brand-50); }
.section--divider { border-top: 1px solid var(--ink-100); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 48px; }
.section__title { font-size: 34px; font-weight: 700; line-height: 1.15; color: var(--ink-1000); text-wrap: pretty; }
.section__title--about { max-width: 560px; margin-bottom: 48px; }
.section__sub { font-size: 16px; line-height: 1.6; color: var(--ink-600); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-600); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 13px 26px; min-height: 44px; text-align: center; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease), filter .2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--sm { font-size: 14.5px; padding: 10px 20px; min-height: 40px; }
.btn--lg { font-size: 16px; padding: 15px 28px; }
.btn--primary { background: var(--brand-500); color: #fff; }
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:active { background: var(--brand-700); }
.btn--glow { box-shadow: var(--shadow-brand); }
.btn--secondary { background: transparent; color: var(--brand-600); border: 1px solid var(--brand-200); padding: 14px 24px; }
.btn--secondary:hover { background: var(--brand-50); color: var(--brand-600); }
.btn--tint { background: var(--brand-100); color: var(--brand-700); font-size: 14.5px; padding: 11px 18px; }
.btn--tint:hover { filter: brightness(0.95); color: var(--brand-700); }
.btn--white { background: #fff; color: var(--brand-700); font-weight: 700; padding: 16px 32px; }
.btn--white:hover { background: var(--brand-50); color: var(--brand-700); }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 250, 246, 0.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.wordmark { font-weight: 700; font-size: 18px; color: var(--ink-1000); letter-spacing: -0.01em; }
.wordmark:hover { color: var(--ink-1000); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-700); transition: color .2s var(--ease); }
.nav a:hover { color: var(--brand-600); }
.nav__cta { display: none; }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px; border: none; border-radius: 12px;
  background: transparent; color: var(--ink-800); align-items: center; justify-content: center;
}
.menu-toggle:hover { background: var(--ink-50); }
.menu-toggle .icon--x { display: none; }
.menu-toggle[aria-expanded="true"] .icon--x { display: block; }
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }

.lang-switcher {
  display: flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: var(--ink-50); border: 1px solid var(--ink-100);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
}
.lang-switcher__item { padding: 4px 12px; border-radius: 999px; color: var(--ink-500); line-height: 1.5; transition: color .2s var(--ease), background-color .2s var(--ease); }
.lang-switcher__item:hover { color: var(--brand-600); }
.lang-switcher__item.is-active { background: var(--brand-500); color: #fff; }

/* ---- Hero --------------------------------------------------------------- */
.hero__inner { padding-top: 80px; padding-bottom: 96px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-size: clamp(2.5rem, 4.5vw, 3.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink-1000); text-wrap: pretty; }
.hero__lead { font-size: 18px; line-height: 1.65; color: var(--ink-600); max-width: 520px; text-wrap: pretty; }
.hero__actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.hero__media { justify-self: end; width: min(400px, 100%); }
.hero__portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; height: auto; }

/* ---- Video -------------------------------------------------------------- */
.video { padding-block: 80px; }
.video__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.video__copy { display: flex; flex-direction: column; gap: 16px; }
.video__title { font-size: 28px; font-weight: 600; line-height: 1.25; color: var(--ink-1000); }
.video__text { font-size: 16px; line-height: 1.65; color: var(--ink-600); text-wrap: pretty; }
.video__thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-3); background: var(--brand-100); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--brand-100), var(--brand-300)); }
/* Soft darkening over a photo thumbnail so the play button stays legible. */
.video__thumb--photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15,26,22,.28), rgba(15,26,22,.08) 70%); pointer-events: none; }
.video__thumb .play-button { z-index: 1; }
.play-button {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%; border: none;
  background: rgba(251, 250, 246, 0.92); box-shadow: var(--shadow-2); color: var(--brand-500);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease);
}
.play-button:hover { background: #fff; box-shadow: var(--shadow-3); }
.play-button:active { transform: translate(-50%, -50%) scale(0.98); }
.play-button .icon { margin-left: 4px; }

/* ---- Cards -------------------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--ink-200); border-radius: 16px; padding: 32px; }
.cards { display: grid; gap: 24px; }
.cards--lessons { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards--reviews { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }

.lesson { display: flex; flex-direction: column; gap: 16px; }
.lesson__title { font-size: 22px; font-weight: 600; color: var(--ink-1000); }
.lesson__intro { font-size: 15px; line-height: 1.55; color: var(--ink-600); }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-800); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--brand-500); margin-top: 3px; }
.badge { margin-top: auto; align-self: flex-start; background: var(--brand-100); color: var(--brand-700); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }

/* ---- About -------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; margin-bottom: 64px; }
.about__bio { display: flex; flex-direction: column; gap: 16px; }
.about__bio .section__title { margin-bottom: 8px; }
.about__para { font-size: 16px; line-height: 1.65; color: var(--ink-600); text-wrap: pretty; }
.about__facts { position: sticky; top: 88px; background: var(--brand-50); border-color: var(--brand-200); }
.about__facts-title { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 16px; }
.facts { margin: 0; display: flex; flex-direction: column; }
.facts__row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--brand-200); }
.facts__row:first-child { border-top: none; padding-top: 0; }
.facts__row:last-child { padding-bottom: 0; }
.facts dt { font-size: 13px; font-weight: 600; color: var(--ink-500); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-900); }
.about__why-title { font-size: 22px; font-weight: 600; color: var(--ink-1000); margin-bottom: 32px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.feature { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--brand-200); padding-top: 20px; }
.feature__title { font-size: 17px; font-weight: 700; color: var(--ink-1000); }
.feature__text { font-size: 15px; line-height: 1.6; color: var(--ink-600); }

/* ---- Reviews ------------------------------------------------------------ */
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 48px; }
.reviews__head .section__title { margin: 0; }
.reviews__stats { font-size: 15px; font-weight: 600; color: var(--ink-800); }
.reviews__stats .star { color: #e0a800; margin-right: 2px; }
.reviews__source { margin-top: 24px; font-size: 13px; color: var(--ink-500); }
.reviews__source a { text-decoration: underline; }
.review { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.review__quote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-800); text-wrap: pretty; }
.review__caption { font-size: 14px; color: var(--ink-500); margin-top: auto; }
.review__caption strong { color: var(--ink-900); font-weight: 600; }

/* ---- Pricing ------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--ink-200); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.plan--highlight { background: var(--brand-50); border: 2px solid var(--brand-500); padding: 27px; }
.plan__name { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-600); }
.plan__meta { font-size: 14px; color: var(--ink-500); }
.plan__price { font-size: 32px; font-weight: 700; color: var(--ink-1000); margin-top: 8px; line-height: 1.2; }
.plan__note { font-size: 13px; color: var(--ink-500); min-height: 18px; }
.plan__cta { margin-top: 16px; font-size: 14.5px; padding: 11px 18px; }
.plan .btn--primary { padding: 11px 18px; }

/* ---- Final CTA ---------------------------------------------------------- */
.final-cta { background: var(--brand-500); }
.final-cta__inner { max-width: 720px; margin: 0 auto; padding: 96px var(--gutter); text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.final-cta__title { font-size: 38px; font-weight: 700; line-height: 1.15; color: #fff; }
.final-cta__text { font-size: 17px; line-height: 1.65; color: var(--brand-100); text-wrap: pretty; }
.final-cta .btn { margin-top: 8px; }

/* ---- Contact ------------------------------------------------------------ */
.contact__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 12px; }
.contact__text { font-size: 16px; line-height: 1.65; color: var(--ink-600); max-width: 400px; text-wrap: pretty; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-800); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--ink-200); border-radius: 12px; padding: 11px 14px;
  font-size: 15px; background: var(--paper); color: var(--ink-900);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234d6660' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { font-size: 13px; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.field--check .checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--ink-600); cursor: pointer; }
.field--check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--brand-500); }
.contact-form__submit { align-self: flex-start; }
.contact-form__submit[disabled] { opacity: .7; cursor: progress; }
.form-error { font-size: 14px; color: var(--error); line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-success { background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: 16px; padding: 48px; display: flex; flex-direction: column; gap: 8px; }
.contact-success__title { font-size: 20px; font-weight: 700; color: var(--brand-700); }
.contact-success__text { font-size: 15px; color: var(--ink-600); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--ink-100); background: var(--paper); }
.site-footer__inner { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; justify-content: space-between; }
.site-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.site-footer__name { font-weight: 700; font-size: 16px; color: var(--ink-1000); }
.site-footer__tagline { font-size: 14px; color: var(--ink-500); }
.site-footer__email { font-size: 14px; color: var(--brand-600); margin-top: 8px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.site-footer__links a { color: var(--ink-600); transition: color .2s var(--ease); }
.site-footer__links a:hover { color: var(--brand-600); }

/* ---- Modal -------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal__scrim { position: absolute; inset: 0; background: var(--scrim); }
.modal__panel { position: relative; background: #fff; border-radius: 28px; box-shadow: var(--shadow-3); width: min(920px, 100%); overflow: hidden; display: flex; flex-direction: column; max-height: 100%; }
.modal__panel--calendly { height: min(760px, 88vh); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--ink-100); flex: none; }
.modal__title { font-weight: 700; font-size: 17px; color: var(--ink-1000); }
.modal__close { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--ink-50); color: var(--ink-700); display: flex; align-items: center; justify-content: center; flex: none; transition: background-color .2s var(--ease); }
.modal__close:hover { background: var(--ink-100); }
.modal__body { flex: 1; min-height: 0; display: flex; }
.modal__body iframe { border: none; width: 100%; height: 100%; flex: 1; }
.modal__body--video { aspect-ratio: 16 / 9; flex: none; background: var(--ink-1000); }
.modal__body--video iframe { aspect-ratio: 16 / 9; height: auto; }
.modal__note { font-size: 12.5px; color: var(--ink-500); padding: 10px 28px 14px; border-top: 1px solid var(--ink-100); flex: none; }
.modal__note a { text-decoration: underline; }

/* ---- Legal / prose pages ------------------------------------------------ */
.prose__inner { max-width: 760px; }
.prose h1 { font-size: 34px; font-weight: 700; line-height: 1.15; color: var(--ink-1000); margin-bottom: 32px; }
.prose h2 { font-size: 22px; font-weight: 600; color: var(--ink-1000); margin: 40px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--ink-1000); margin: 24px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: var(--ink-700); }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.prose a { text-decoration: underline; }
.prose__back { margin-top: 48px; }
.prose__back a { text-decoration: none; font-weight: 600; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1023px) {
  :root { --section-pad: 72px; }
  .video__inner, .contact__inner, .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__facts { position: static; }
  .hero__inner { gap: 40px; }
}
@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; }
  .hero__media { justify-self: center; width: min(320px, 100%); order: -1; }
}
@media (max-width: 767px) {
  :root { --section-pad: 64px; }
  .section__title { font-size: 28px; }
  .final-cta__title { font-size: 30px; }
  .final-cta__inner { padding-block: 72px; }
  .hero__title { font-size: 2.25rem; }
  .contact-form__row { grid-template-columns: 1fr; }
  .card, .plan { padding: 24px; }
  .plan--highlight { padding: 23px; }
  .contact-success { padding: 32px; }
  .modal { padding: 12px; }
  .modal__panel { border-radius: 20px; }
  .modal__panel--calendly { height: min(760px, 92vh); }
  .modal__head { padding: 16px 20px; }
  .modal__note { padding: 8px 20px 12px; }

  /* Header collapses: nav becomes a dropdown sheet */
  .site-header__inner { gap: 12px; }
  .header__cta { display: none; }
  .lang-switcher { margin-left: auto; }
  .menu-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 4px; margin: 0; padding: 12px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--ink-100); box-shadow: var(--shadow-3);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 12px; font-size: 16px; min-height: 44px; display: flex; align-items: center; }
  .nav a:hover { background: var(--ink-50); }
  .nav__cta { display: inline-flex; margin-top: 8px; width: 100%; }
}
@media (max-width: 400px) {
  .lang-switcher__item { padding: 4px 9px; }
}
