@font-face{font-family:'Lobster';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/lobster-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Lobster';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/lobster-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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800 900;font-display:swap;src:url(../fonts/nunito-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800 900;font-display:swap;src:url(../fonts/nunito-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}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/golos-text-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/golos-text-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}
/* Language School Reigate — unofficial redesign concept by NODA.
   Design system: NODA's English-Deutsch template (bright children's style): coloured sections with waves, white cards with a coloured top,
   toy buttons with a bottom shadow; section headings in Lobster, cards and figures in Nunito 900, text in Golos Text.
   Brand colours of Language School replace the template's accents: navy #103C62 (headings, links, footer), yellow #F9B508 (first screen,
   buttons), teal #00AEB5 (levels section, details); raspberry from the logo's dots replaces the template's violet.
   Phone first, then 700, 1000 (1000–1279 denser), 1280 and 1360 px. Body text from 18 px. */
:root {
  --ink: #13283D; --muted: #4B5D70; --heading: #103C62; --blue: #103C62; --price: #103C62; --yellow: #F9B508; --yellow-d: #C98F00;
  --teal: #00AEB5; --rasp: #C4266E;
  /* darker accents for white text and icons (WCAG AA) */
  --coral-d: #D63F2E; --sky-d: #1A6FAD; --mint-d: #0E7D57; --orange-d: #B35C00; --teal-d: #00737A; --rasp-d: #B01F62;
  /* pastel backings */
  --p-coral: #FFE8E4; --p-sky: #E2F3FF; --p-mint: #DDF7EC; --p-rasp: #FBE3EE; --p-yellow: #FFF4C2; --p-orange: #FFEBD3; --p-teal: #E3F6F7;
  --stage: #1E4A6E; --white: #FFFFFF;
  /* section backgrounds (gradients) and their middle colours for the waves */
  --bg-hero: linear-gradient(135deg, #FFD54F 0%, #F9B508 60%, #F2A600 100%);
  --bg-levels: linear-gradient(135deg, #00808A 0%, #00727A 55%, #00626A 100%); --levels-mid: #00727A;
  --bg-terms: linear-gradient(135deg, #0B825A 0%, #0B7A53 55%, #08663F 100%); --terms-mid: #0B7A53;
  --bg-join: linear-gradient(135deg, #D23C2A 0%, #C9341F 55%, #B32A17 100%); --join-mid: #C9341F;
  --bg-pe: linear-gradient(135deg, #1A5283 0%, #103C62 55%, #0B2E4F 100%);
  --bg-faq: linear-gradient(135deg, #FFB547 0%, #FF9F1C 60%, #FF8A00 100%);
  --line: #DCE5EF; --ph-edge: #A8B7C8; --err: #B3261E; --focus: #13283D; --sky: #E2F3FF;
  --coral: #FF6B5B; --sky-acc: #2FA8F5; --mint: #22C08A; --violet: #C4266E; --orange: #FF9F1C;
  --foot: #103C62; --foot-ink: #FFFFFF; --foot-muted: #C7D6E6;
  --r: 28px; --rb: 18px; --shadow: 0 12px 30px rgba(19, 40, 61, .09);
  --display: 'Lobster', 'Nunito', cursive;
  --head: 'Nunito', 'Golos Text', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --side: 20px; --gap: 22px; --dock-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55;
  padding-bottom: var(--dock-h); overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p, h1, h2, h3, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* focus ring: ink on light surfaces, white on dark sections, the banner and the footer (3:1 against the background, WCAG 1.4.11) */
.sec--dark :focus-visible, .concept :focus-visible, .foot :focus-visible { outline-color: #FFFFFF; }
.sec--dark .kcard :focus-visible, .sec--dark .logos :focus-visible, .sec--dark .yrow :focus-visible { outline-color: var(--focus); }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; color: #fff; }
.skip:hover { color: #fff; }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--side)); margin: 0 auto; padding: 0 var(--side); }
.ic { flex-shrink: 0; }

/* ---------- buttons: yellow 'toys' with a bottom shadow; secondary — white with a navy border ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 18px; border-radius: var(--rb);
  border: 2px solid var(--yellow); font-family: inherit; font-size: 18px; line-height: 1.25; font-weight: 700; text-align: center; text-decoration: none;
  cursor: pointer; transition: transform .12s, box-shadow .12s, background-color .15s; }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 var(--yellow-d); }
.btn--primary:hover { background: #FFC533; color: var(--ink); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--yellow-d); }
.btn--secondary { background: #FFFFFF; color: var(--blue); border: 3px solid var(--blue); box-shadow: 0 5px 0 rgba(16, 60, 98, .25); }
.btn--secondary:hover { background: var(--sky); color: var(--blue); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--heading); color: #fff; }
.btn--link { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; box-shadow: none; }
.btn--link:hover { color: var(--ink); background: transparent; }
.btn--m { min-height: 50px; padding: 0 20px; font-size: 17px; }
.btn--s { min-height: 48px; padding: 6px 22px; font-size: 17px; box-shadow: none; }
.btn--full { width: 100%; }
.tel { font-weight: 700; color: inherit; white-space: nowrap; }
.tel--big { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.tel--big .ic { color: var(--blue); }

/* ---------- text ---------- */
.h1 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.12; color: var(--heading); text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.18; color: var(--heading); text-wrap: balance; }
.h3 { font-family: var(--head); font-weight: 900; font-size: 21px; line-height: 1.25; color: var(--heading); text-wrap: balance; }
p, li { text-wrap: pretty; }
.kh2 { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.squiggle { width: 110px; height: auto; }
.sec__small, .sec__p { max-width: 900px; }

/* ---------- header ---------- */
.hdr { position: relative; z-index: 30; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.hdr__logo { flex-shrink: 1; min-width: 0; }
.hdr__logo img { height: 46px; width: auto; }
.hdr__nav, .hdr__phone, .hdr__book { display: none; }
.hdr__call { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 24px; background: var(--yellow);
  border: 2px solid var(--yellow); color: var(--ink); margin-left: auto; }
.hdr__call:hover { background: #FFC533; color: var(--ink); }
.hdr__menu { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; flex-shrink: 0; padding: 0 14px; border-radius: var(--rb);
  border: 2px solid var(--blue); background: transparent; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.menu { border-top: 1px solid var(--line); background: #FFFFFF; }
.menu__in { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 12px; }
.menu a { padding: 12px 0; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; }

/* ---------- sections, waves, decorations ---------- */
.sec { position: relative; overflow: hidden; padding: 40px 0 48px; }
.sec__in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--gap); }
.sec--dark { color: #FFFFFF; }
.sec--dark .h2 { color: #FFFFFF; }
.sec--dark .sec__small, .sec--dark .sec__p { color: #FFFFFF; }
.wave { height: 28px; line-height: 0; }
.wave svg { display: block; width: 100%; height: 28px; }
.decos { display: none; }
.deco { position: absolute; pointer-events: none; }
.deco--dot, .deco--ring { border-radius: 50%; }
.deco--ring { border-style: solid; background: transparent; }
.deco--cube { display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-family: var(--head); font-weight: 900; line-height: 1;
  box-shadow: 0 6px 0 rgba(19, 40, 61, .12); }
.split { display: flex; flex-direction: column; gap: 24px; }
.col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* pictures: rounded frame on a pastel backing */
.kimg { border-radius: 24px; overflow: hidden; background: var(--pastel, #E2F3FF); }
.kimg__pic, .kimg__pic img { width: 100%; height: 100%; }
.kimg__pic img { object-fit: cover; }
.owl { pointer-events: none; }
.owl__pic img { width: 100%; height: auto; }

/* cards */
.kcard { position: relative; z-index: 1; background: #FFFFFF; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: flex;
  flex-direction: column; gap: 14px; min-width: 0; }
.ktile { width: 50px; height: 50px; flex-shrink: 0; border-radius: 16px; color: #FFFFFF; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 0 rgba(19, 40, 61, .12); }
.ktile--s { width: 40px; height: 40px; border-radius: 13px; }
.ktile--s .ic { width: 21px; height: 21px; }
.ktile--m { width: 46px; height: 46px; border-radius: 15px; }

/* ---------- call to action, form ---------- */
.cta { display: flex; flex-direction: column; gap: 14px; }
.cta__btns { display: flex; flex-direction: column; gap: 14px; }
.cta__btns .btn { width: 100%; }
.cta__sub { color: var(--muted); max-width: 640px; }
.cta--dark .cta__sub { color: #FFFFFF; }
.formbox { width: 100%; max-width: 580px; }
.form, .done { width: 100%; background: #FFFFFF; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px;
  display: flex; flex-direction: column; gap: 14px; text-align: left; }
.form__head { display: flex; flex-direction: column; gap: 6px; }
.form__title { font-family: var(--head); font-weight: 900; font-size: 21px; line-height: 1.3; color: var(--heading); }
.form__lead { color: var(--muted); line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 16px; font-weight: 600; }
.field__hint { font-weight: 400; color: var(--muted); }
.field__input { width: 100%; height: 52px; border: 1.5px solid var(--ph-edge); border-radius: var(--rb); padding: 0 16px; font: inherit; font-size: 18px;
  color: var(--ink); background: #fff; }
.field__input:focus { border-color: var(--blue); outline: 3px solid rgba(16, 60, 98, .2); outline-offset: 0; }

.routebox { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.route__d { color: var(--muted); line-height: 1.45; }

/* ---------- A1. First screen: yellow section, board illustration with speech bubbles, sticker ---------- */
.hero { padding-top: 20px; padding-bottom: 30px; }
.hero__grid { display: flex; flex-direction: column; gap: 20px; }
.hero__text { display: contents; }
.hero__head { order: 1; display: flex; flex-direction: column; gap: 14px; }
.hero__art { order: 2; }
.tiles { order: 3; }
.hero .cta { order: 4; }
.hero .callline { order: 5; }
.hero__p { order: 6; max-width: 620px; }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #FFFFFF; border-radius: 999px; padding: 8px 16px;
  font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--blue); box-shadow: 0 4px 0 rgba(19, 40, 61, .08); }
.eyebrow .star { flex-shrink: 0; }
.hero__art { position: relative; }
.hero__back { display: none; }
.hero__frame { position: relative; container-type: inline-size; border-radius: 28px; overflow: hidden; background: var(--sky); aspect-ratio: 4 / 3; }
.hero__pic, .hero__pic img { width: 100%; height: 100%; }
.hero__pic img { object-fit: cover; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tile { background: #FFFFFF; border-radius: 24px; border: 3px solid var(--acc); box-shadow: 0 6px 0 var(--pastel); padding: 14px 16px; display: flex;
  flex-direction: column; gap: 6px; min-width: 0; }
.tile__label { display: flex; align-items: center; gap: 10px; font-weight: 700; line-height: 1.35; }
.tile__price { font-family: var(--head); font-weight: 900; font-size: 26px; line-height: 1.1; color: var(--price); }
.tile__price--s { font-size: 22px; line-height: 1.2; }
.tile__rest { font-family: var(--body); font-size: 18px; font-weight: 400; line-height: 1.45; color: var(--ink); }
.trust { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; background: #FFFFFF; border-radius: 28px; padding: 18px;
  box-shadow: 0 10px 30px rgba(19, 40, 61, .08); }
.trust li { display: flex; gap: 12px; align-items: center; font-weight: 700; line-height: 1.4; }

/* ---------- A2. Levels by age ---------- */
.progs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.prog { flex-direction: row; gap: 14px; align-items: flex-start; border-top: 8px solid var(--acc); text-decoration: none; color: var(--ink); }
.prog:hover { color: var(--ink); transform: translateY(-2px); }
.prog__pic { width: 92px; height: 92px; flex-shrink: 0; border-radius: 20px; }
.prog__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.prog__price { align-self: flex-start; font-family: var(--head); font-weight: 900; font-size: 22px; line-height: 1.15; color: var(--price); background: var(--pastel);
  border-radius: 14px; padding: 6px 12px; }
.prog__d { line-height: 1.5; }

/* ---------- A3. Prices ---------- */
.prows { display: flex; flex-direction: column; gap: 14px; }
.prow { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px; background: #FFFFFF; border-radius: 24px; border-left: 10px solid var(--acc);
  box-shadow: 0 8px 22px rgba(19, 40, 61, .07); }
.prow__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prow__t { font-family: var(--head); font-weight: 900; font-size: 20px; line-height: 1.3; color: var(--heading); }
.prow__d { line-height: 1.45; }
.prow__price { font-family: var(--head); font-weight: 900; font-size: 26px; line-height: 1.1; color: var(--price); white-space: nowrap; }
.owlnote { display: flex; gap: 14px; align-items: center; background: #FFFFFF; border-radius: 28px; padding: 16px 18px; border: 3px solid var(--yellow);
  box-shadow: 0 6px 0 var(--yellow); font-weight: 700; line-height: 1.5; }

/* ---------- A4. Terms in plain English ---------- */
.kimg--a4 { aspect-ratio: 1; }

/* ---------- A5. Dates and place ---------- */
.kimg--wide { aspect-ratio: 2.4; }
.kimg--wide .kimg__pic img { object-position: 50% 62%; }
.map { position: relative; border-radius: 32px; overflow: hidden; box-shadow: 0 0 0 6px #FFFFFF, 0 14px 34px rgba(19, 40, 61, .12); height: 300px;
  font-family: var(--body); }
.map__svg { width: 100%; height: 100%; }
.map__svg--w { display: none; }

/* ---------- A6. How to join ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.step__pic { position: relative; }
.step__pic .kimg { height: 180px; }
.step__n { position: absolute; left: 14px; top: 14px; width: 54px; height: 54px; border-radius: 27px; color: #FFFFFF; font-family: var(--head); font-size: 28px;
  font-weight: 900; display: flex; align-items: center; justify-content: center; border: 4px solid #FFFFFF; box-shadow: 0 5px 0 rgba(19, 40, 61, .12); }
.step p { line-height: 1.55; }
.aug { display: flex; gap: 14px; align-items: center; background: #FFF4C2; color: var(--ink); border-radius: 28px; padding: 18px 20px; box-shadow: 0 6px 0 var(--yellow);
  font-weight: 700; line-height: 1.5; }

/* ---------- A7. The Saturday lesson: stairs ---------- */
.a7top, .a9top { display: flex; flex-direction: column; gap: 20px; }
.kimg--tilt { width: 100%; aspect-ratio: 1; box-shadow: 0 0 0 6px #FFFFFF, 0 14px 30px rgba(19, 40, 61, .14); }
.kimg--tilt2 { width: 100%; aspect-ratio: 1.5; box-shadow: 0 0 0 6px #FFFFFF, 0 14px 30px rgba(19, 40, 61, .14); }
.stairs { display: flex; flex-direction: column; gap: 14px; }
.stair { display: flex; flex-direction: column; }
.stair__box { position: relative; height: 64px; border-radius: 28px 28px 0 0; background: var(--acc); display: flex; align-items: flex-end; padding: 0 20px 10px; }
.stair__n { font-family: var(--head); font-size: 38px; font-weight: 900; color: var(--heading); line-height: 1; }
.stair__star { position: absolute; right: 18px; top: 14px; width: 26px; height: 26px; }
.stair__body { flex: 1; background: #FFFFFF; border-radius: 0 0 28px 28px; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 12px 30px rgba(19, 40, 61, .09); }
.stair__body p { line-height: 1.55; }

/* ---------- A8. Petite École de Reigate ---------- */
.kimg--a8 { aspect-ratio: 4 / 3; }
.yrows { display: flex; flex-direction: column; gap: 12px; }
.yrow { display: flex; flex-direction: column; gap: 8px; background: #FFFFFF; color: var(--ink); border-radius: 22px; padding: 14px 18px; box-shadow: 0 6px 18px rgba(19, 40, 61, .06); }
.yrow__y { flex-shrink: 0; align-self: flex-start; font-family: var(--head); font-size: 20px; line-height: 1.2; font-weight: 900; color: #FFFFFF; border-radius: 14px;
  padding: 6px 14px; }
.yrow__d { line-height: 1.55; }

/* ---------- A9. Teachers ---------- */
.teachers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.teacher__head { display: flex; gap: 16px; align-items: center; }
.teacher__pic { width: 100px; height: 100px; flex-shrink: 0; border-radius: 50%; overflow: hidden; border: 5px solid var(--acc); box-shadow: 0 6px 0 var(--pastel);
  background: var(--pastel); }
.teacher__img, .teacher__img img { width: 100%; height: 100%; }
.teacher__img img { object-fit: cover; }
.teacher__name { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.teacher__role { align-self: flex-start; font-weight: 700; line-height: 1.35; color: #FFFFFF; background: var(--role, var(--acc)); border-radius: 14px; padding: 6px 12px; }
.teacher p { line-height: 1.55; }

/* ---------- A10. Methods ---------- */
.kimg--a10 { aspect-ratio: 1.5; }
.atable { padding: 20px; gap: 12px; }
.arows { display: flex; flex-direction: column; }
.arow { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 2px dashed var(--pastel); }
.arow__l { position: relative; padding-left: 24px; line-height: 1.45; }
.arow__l::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 6px; background: var(--acc); }
.arow__v { padding-left: 24px; font-family: var(--head); font-size: 20px; font-weight: 900; line-height: 1.3; color: var(--price); }
.atable__small { color: var(--muted); line-height: 1.5; }

/* ---------- A11. Parents' questions ---------- */
.a11top { display: flex; gap: 16px; align-items: center; }
.owl--think { width: 96px; flex-shrink: 0; }
.faqs { display: flex; flex-direction: column; gap: 12px; }
.faqs__col { display: flex; flex-direction: column; gap: 12px; }
.faq { padding: 18px; }
.faq__q { display: flex; gap: 12px; align-items: flex-start; font-family: var(--head); font-weight: 900; font-size: 20px; line-height: 1.35; color: var(--heading); }
.faq__mark { width: 34px; height: 34px; flex-shrink: 0; border-radius: 12px; color: #FFFFFF; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.faq p { line-height: 1.55; }

/* ---------- A12. Contacts ---------- */
.crows { gap: 0; padding: 14px 18px; }
.crow { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "i l" "i v"; gap: 2px 14px; align-items: center; padding: 10px 0; }
.crow .ktile { grid-area: i; }
.crow__l { grid-area: l; font-weight: 700; }
.crow__v { grid-area: v; line-height: 1.45; overflow-wrap: anywhere; }
.crow__v a { color: var(--ink); }
.hello { position: relative; width: 100%; max-width: 560px; margin-top: 30px; }
.hello__frame { position: relative; container-type: inline-size; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 5px #FFFFFF, 0 14px 30px rgba(19, 40, 61, .12);
  aspect-ratio: 1.5; }
.hello__pic, .hello__pic img { width: 100%; height: 100%; }
.hello__pic img { object-fit: cover; }

/* ---------- footer ---------- */
.foot { background: var(--foot); color: var(--foot-ink); padding: 32px 0 40px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.foot__col { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--foot-muted); align-items: flex-start; }
.foot__logo { display: inline-flex; background: #FFFFFF; border-radius: 16px; padding: 8px 14px; margin-bottom: 6px; }
.foot__logo img { height: 48px; width: auto; }
.foot a { color: var(--foot-ink); }
.foot a:hover { color: var(--yellow); }

/* ---------- bottom of the phone screen: quick-contact panel ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-direction: column; }
.panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px)); background: #FFFFFF;
  border-top: 1px solid var(--line); }
.panel--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; padding: 6px 4px; border-radius: var(--rb);
  border: 2px solid var(--blue); background: #FFFFFF; color: var(--blue); font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.panel__btn--main { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.panel__btn--main:hover { color: var(--ink); background: #FFC533; }


/* ---------- narrow phone: 'Menu' as an icon (the label stays for screen readers) ---------- */
@media (max-width: 379px) {
  .hdr__logo img { height: 40px; }
  .hdr__menu { padding: 0 12px; }
  .hdr__menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .h1 { font-size: 31px; }
  .prog__pic { width: 72px; height: 72px; }
  .teacher__pic { width: 84px; height: 84px; }
}

/* ---------- tablet ---------- */
@media (min-width: 700px) {
  :root { --side: 32px; --gap: 30px; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 38px; }
  .h3 { font-size: 23px; }
  .squiggle { width: 150px; }
  .hdr__logo img { height: 50px; }
  .sec { padding: 64px 0 76px; }
  .wave { height: 44px; }
  .wave svg { height: 44px; }
  .hero { padding-top: 36px; padding-bottom: 52px; }
  .hero__art { max-width: 600px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tile { padding: 18px 22px; }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 22px 26px; }
  .cta__btns { flex-direction: row; flex-wrap: wrap; }
  .cta__btns .btn { width: auto; padding: 0 30px; min-height: 60px; }
  .form, .done { padding: 28px; }
  .form__title { font-size: 23px; }
  .field__input { height: 56px; }
  .kcard { padding: 24px; }
  .progs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .prog { flex-direction: column; }
  .prog__pic { width: 100%; height: auto; aspect-ratio: 1; }
  .prow { flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 26px; }
  .prow__price { font-size: 30px; }
  .kimg--a4 { max-width: 420px; }
  .map { height: 420px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .step__pic .kimg { height: auto; aspect-ratio: 1; }
  .a7top, .a9top { flex-direction: row; justify-content: space-between; align-items: center; gap: 32px; }
  .kimg--tilt { width: 240px; flex-shrink: 0; transform: rotate(3deg); }
  .kimg--tilt2 { width: 340px; flex-shrink: 0; transform: rotate(-2deg); }
  .stairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .yrow { flex-direction: row; align-items: center; gap: 20px; }
  .teachers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .teacher__pic { width: 120px; height: 120px; }
  .arow { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; }
  .arow__v { padding-left: 0; text-align: right; max-width: 330px; flex-shrink: 0; }
  .atable { padding: 30px; }
  .owl--think { width: 130px; }
  .faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
  .faqs__col { gap: 20px; }
  .faq { padding: 24px; }
  .crow { grid-template-columns: 40px 150px minmax(0, 1fr); grid-template-areas: "i l v"; gap: 16px; }
  .hello { margin-top: 50px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

/* ---------- desktop ---------- */
@media (min-width: 1000px) {
  :root { --side: 40px; --gap: 40px; }
  html { scroll-padding-top: 100px; }
  .h1 { font-size: 48px; }
  .h2 { font-size: 44px; }
  .h3 { font-size: 24px; }
  .hdr { position: sticky; top: 0; }
  .hdr .wrap { max-width: calc(1280px + 2 * var(--side)); }
  .hdr__in { min-height: 88px; gap: 22px; padding-top: 0; padding-bottom: 0; }
  .hdr__logo img { height: 58px; }
  .hdr__phone { display: flex; flex-direction: column; align-items: flex-end; margin-left: auto; }
  .hdr__phone .tel { font-size: 17px; text-decoration: none; color: var(--ink); }
  .hdr__phone span { font-size: 14px; white-space: nowrap; color: var(--muted); }
  .hdr__book { display: inline-flex; white-space: nowrap; }
  .hdr__call { display: none; }
  .sec { padding: 88px 0 100px; }
  .wave { height: 56px; }
  .wave svg { height: 56px; }
  .split { display: grid; gap: 56px; align-items: start; }
  /* first screen: text left, picture right, the school strip below at full width */
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .hero .sec__in { gap: 44px; }
  .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: center; }
  .hero__text { display: flex; flex-direction: column; gap: 22px; }
  .hero__head { gap: 18px; }
  .hero__p { order: 0; }
  .hero__head, .tiles, .hero .cta, .hero .callline { order: 0; }
  .hero__art { order: 0; max-width: none; padding: 18px 0 0 18px; }
  .hero__back { display: block; position: absolute; left: 0; top: 0; right: 30px; bottom: 30px; border-radius: 48px; background: var(--coral); transform: rotate(-3deg); }
  .hero__frame { border-radius: 40px; box-shadow: 0 0 0 6px #FFFFFF, 0 18px 40px rgba(19, 40, 61, .15); }
  .tile__price { font-size: 29px; }
  .tile__price--s { font-size: 25px; }
  .trust { gap: 28px; padding: 22px 28px; }
  .progs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .split--a3 { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; }
  .split--a4 { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
  .split--a4 .col { gap: 24px; }
  .kimg--a4 { max-width: none; }
  .split--a5 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .map { height: 520px; }
  .map__svg--w { display: block; }
  .map__svg--p { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .split--a6 { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); align-items: center; gap: 48px; }
  .kimg--tilt { width: 300px; }
  .kimg--tilt2 { width: 440px; }
  .stairs { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
  .stair { margin-top: calc((3 - var(--i)) * 50px); }
  .stair__box { height: calc(80px + var(--i) * 50px); padding: 0 22px 14px; }
  .stair__n { font-size: 46px; }
  .split--a8 { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  .yrow__y { font-size: 22px; }
  .teachers { gap: 22px; }
  .teacher__pic { width: 140px; height: 140px; }
  .split--a10 { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
  .split--a12 { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; }
  .foot { padding: 56px 0; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .panel { display: none !important; }
}

/* ---------- desktop with a small window (about 1000 px) ---------- */
@media (min-width: 1000px) and (max-width: 1279px) {
  .h1 { font-size: 42px; }
  .h2 { font-size: 40px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px; }
  .tile__price { font-size: 25px; }
  .tile__price--s { font-size: 22px; }
  .progs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog { flex-direction: row; }
  .prog__pic { width: 140px; height: 140px; aspect-ratio: auto; }
  .split--a3 { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; }
  .prow__price { font-size: 26px; }
  .split--a4, .split--a8, .split--a10 { gap: 40px; }
  .split--a4 { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
  .split--a8, .split--a10 { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
  .split--a12 { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; }
  .stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stair { margin-top: 0; }
  .stair__box { height: 70px; }
  .arow { flex-direction: column; align-items: flex-start; gap: 4px; }
  .yrow { flex-direction: column; align-items: flex-start; gap: 8px; }
  .arow__v { padding-left: 24px; text-align: left; max-width: none; }
}

/* ---------- wide screen: decorations at the section edges ---------- */
@media (min-width: 1280px) {
  .h1 { font-size: 54px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; }
  .tile__price { font-size: 27px; white-space: nowrap; }
  .tile__price--s { font-size: 22px; white-space: normal; }  /* the long trial-lesson line wraps inside its tile */
  .decos { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
  .split--a4 { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .split--a5 { grid-template-columns: 560px minmax(0, 1fr); }
  .split--a8 { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
  .split--a10 { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
  .split--a12 { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; }
}

/* ---------- section links in the header — where they fit next to the phone and the button ---------- */
@media (min-width: 1360px) {
  .hdr__nav { display: flex; gap: 22px; }
  .hdr__nav a { font-size: 17px; font-weight: 600; white-space: nowrap; color: var(--ink); text-decoration: none; }
  .hdr__nav a:hover { color: var(--blue); text-decoration: underline; }
  .hdr__phone { margin-left: 0; }
  .hdr__menu { display: none; }
  .menu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================================================================
   Language School Reigate concept — additions to the template
   ===================================================================================================================== */
::selection { background: #FFE08A; color: var(--ink); }
html { scrollbar-color: var(--teal-d) #E3F6F7; }
input, select, textarea { caret-color: var(--blue); }
.mail { font-weight: 700; color: inherit; overflow-wrap: anywhere; text-underline-offset: 4px; }
.art { display: block; width: 100%; height: 100%; }
.kimg > .art, .kimg > svg { width: 100%; height: 100%; }
.cta--dark .cta__sub a, .sec--dark .sec__p a, .sec--dark .sec__small a { color: #FFFFFF; }
.cta--dark .cta__sub a:hover { color: #FFF4C2; }

/* concept banner: on every page, above the header */
.concept { position: relative; z-index: 31; background: var(--ink); color: #FFFFFF; font-size: 15px; line-height: 1.45; }
.concept__in { padding-top: 9px; padding-bottom: 9px; }
.concept p { text-align: center; text-wrap: balance; }
.concept strong { font-weight: 700; color: var(--yellow); }
.concept a { color: #FFFFFF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.concept a:hover { color: var(--yellow); }

/* A1: sticker instead of the template's owl, e-mail next to the phone */
.hero .cta__sub { color: var(--ink); }
.sticker { position: absolute; right: -6px; bottom: -16px; z-index: 2; width: 96px; height: 96px; border-radius: 50%; background: var(--heading); color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg);
  box-shadow: 0 6px 0 rgba(19, 40, 61, .22); border: 4px solid #FFFFFF; font-family: var(--head); line-height: 1.05; pointer-events: none; }
.sticker span { font-size: 13px; font-weight: 800; }
.sticker b { font-size: 21px; font-weight: 900; color: var(--yellow); }
.trust .ktile--m { flex-shrink: 0; }

/* A2: three level cards */
.prog__pic > svg { display: block; width: 100%; height: 100%; }
.progs--3 .prog__price { font-size: 20px; }

/* A3: coin instead of the owl */
.owlnote .coin { width: 64px; height: 64px; flex-shrink: 0; }
.owlnote a { color: var(--blue); }

/* A4: link to the full terms */
.doclink { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 22px; color: #FFFFFF; text-decoration: none;
  background: rgba(4, 52, 34, .35); border: 2px solid rgba(255, 255, 255, .55); }
.doclink:hover { color: #FFFFFF; background: rgba(4, 52, 34, .5); }
.doclink .ic { flex-shrink: 0; margin-top: 2px; }
.doclink__t { display: block; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.doclink__d { display: block; margin-top: 4px; font-size: 16px; line-height: 1.45; }

/* A5: term dates card, clock instead of the map */
.map--clock { height: auto; }
.map--clock .map__svg--w { aspect-ratio: 560 / 460; height: auto; }
.map--clock .map__svg--p { aspect-ratio: 350 / 300; height: auto; }
.route__btn { width: 100%; }

/* A6: four steps */
.step__pic .kimg > svg { display: block; }
.step p a { color: var(--blue); }

/* A7: stage picture */
.kimg--tilt > svg { display: block; }

/* A8: Petite École logos and badges on a white card */
.logos { display: flex; flex-direction: column; align-items: center; gap: 18px; background: #FFFFFF; border-radius: 28px; padding: 22px 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.logos__pe img { width: 100%; max-width: 340px; height: auto; }
.logos__badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; }
.logos__badges img { height: 84px; width: auto; }
.logos__badges img[src*="flam"] { height: 50px; }

/* A9: monograms instead of portraits */
.teacher__pic--mono { display: flex; align-items: center; justify-content: center; }
.teacher__pic--mono span { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--role, var(--acc)); transform: translateY(-2px); }
.a9top .kh2 .sec__p { margin-top: 4px; }

/* A10: methods picture */
.kimg--a10 > svg { display: block; }

/* A11: Language School mark instead of the owl */
.owl--think img { width: 100%; height: auto; }

/* A12: contact buttons, concept form */
.cta__btns--contact { display: flex; flex-direction: column; gap: 14px; }
.cta__btns--contact .btn { width: 100%; }
.hello__frame > svg { display: block; }
.field__select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23103C62' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field__input::placeholder { color: #6B7C8E; }
.notice { display: flex; flex-direction: column; gap: 8px; border: 3px solid var(--mint); border-radius: 20px; padding: 16px 18px; background: #F2FBF7; line-height: 1.5; }
.notice:focus { outline: none; }
.notice__title { display: flex; gap: 10px; align-items: center; font-family: var(--head); font-weight: 900; font-size: 20px; line-height: 1.3; color: var(--heading); }
.notice__title .ic { flex-shrink: 0; color: var(--mint-d); }
.notice a { color: var(--blue); font-weight: 700; overflow-wrap: anywhere; }

/* footer: concept note */
.foot__concept strong { color: #FFFFFF; }

/* 404 */
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf .wrap { width: 100%; }
.nf__in { gap: 24px; }

@media (min-width: 700px) {
  .concept { font-size: 15px; }
  .sticker { width: 124px; height: 124px; right: -14px; bottom: -22px; }
  .sticker span { font-size: 15px; }
  .sticker b { font-size: 27px; }
  .owlnote .coin { width: 78px; height: 78px; }
  .progs--3 { grid-template-columns: minmax(0, 1fr); }
  .progs--3 .prog { flex-direction: row; }
  .progs--3 .prog__pic { width: 150px; height: 150px; aspect-ratio: auto; }
  .route__btn { width: auto; padding: 0 30px; min-height: 60px; }
  .cta__btns--contact { flex-direction: row; flex-wrap: wrap; }
  .cta__btns--contact .btn { width: auto; padding: 0 30px; min-height: 60px; }
  .logos { padding: 28px; }
  .teacher__pic--mono span { font-size: 64px; }
}

@media (min-width: 1000px) {
  .sticker { width: 150px; height: 150px; left: -48px; right: auto; bottom: -36px; }
  .sticker span { font-size: 17px; }
  .sticker b { font-size: 32px; }
  .progs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .progs--3 .prog { flex-direction: column; }
  .progs--3 .prog__pic { width: 100%; height: auto; aspect-ratio: 1; }
  .progs--3 .prog__price { font-size: 22px; }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teachers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .teachers--3 .teacher__head { flex-direction: column; align-items: flex-start; }
  .teachers--3 .teacher__pic { width: 112px; height: 112px; }
  .split--a6 { align-items: center; }
  .teacher__pic--mono span { font-size: 60px; }
}

@media (min-width: 1000px) and (max-width: 1279px) {
  .progs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .progs--3 .prog { flex-direction: column; }
  .progs--3 .prog__pic { width: 100%; height: auto; aspect-ratio: 1; }
}

@media (min-width: 1280px) {
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .sticker { left: -58px; }
}

/* ---------- production pass: lists instead of icon cards, form errors, privacy page ---------- */

/* A4: the terms as one list */
.tlist { gap: 0; padding: 6px 22px; }
.tlist__row { padding: 16px 0; border-bottom: 2px dashed var(--line); }
.tlist__row:last-child { border-bottom: 0; }
.tlist__t { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 900; font-size: 21px; line-height: 1.3; color: var(--heading); }
.tlist__t::before { content: ''; width: 12px; height: 12px; border-radius: 6px; background: var(--acc); flex-shrink: 0; }
.tlist__d { margin: 6px 0 0; line-height: 1.55; }

/* A5: place and time as one list */
.crows--place .crow__v { max-width: 52ch; }

/* request form errors */
.err { font-size: 16px; line-height: 1.4; color: var(--err); font-weight: 700; }
.field__input[aria-invalid="true"] { border-color: var(--err); }
.typing .panel { display: none; }

/* privacy notice */
.doc { padding: 36px 0 64px; background: #FFFFFF; }
.doc .wrap { max-width: calc(760px + 2 * var(--side)); display: flex; flex-direction: column; gap: 14px; }
.doc__h1 { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.15; color: var(--heading); text-wrap: balance; }
.doc__date { color: var(--muted); }
.doc__h2 { font-family: var(--head); font-weight: 900; font-size: 23px; line-height: 1.3; margin-top: 18px; color: var(--heading); text-wrap: balance; }
.doc__p { line-height: 1.65; max-width: 60ch; }
.doc__back { margin-top: 22px; }
.doc__back .btn .ic { transform: rotate(180deg); }

@media (min-width: 700px) {
  .tlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; padding: 8px 28px; }
  .tlist__row:nth-child(n + 3) { border-bottom: 0; }
  .doc { padding: 56px 0 88px; }
  .doc__h1 { font-size: 46px; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .tlist { grid-template-columns: minmax(0, 1fr); }
  .tlist__row:nth-child(n + 3) { border-bottom: 2px dashed var(--line); }
  .tlist__row:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .prog:hover, .btn--primary:active, .btn:active { transform: none; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .map--clock { max-width: 480px; }
  .kimg--a4 { max-width: 360px; }
}

/* ---------- finish review fixes ---------- */
.h1 { padding-left: .06em; }  /* Lobster's swash f stays inside the margin */
a[href^="mailto:"] { overflow-wrap: normal; word-break: normal; }
.maplink { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--blue); }
.teacher__class { font-size: 16px; font-weight: 700; color: var(--muted); line-height: 1.35; }
.prog .h3 { margin: 0; }
.trust li span:last-child { text-wrap: balance; }


/* 404: picture on the right from 1000 px */
.nf__grid { display: grid; gap: 24px; align-items: center; }
.nf__in { display: flex; flex-direction: column; gap: 24px; }
.nf__art { display: none; }
@media (min-width: 1000px) {
  .nf__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; }
  .nf__art { display: block; }
}

/* second finish review */
.tile__label, .tile__price { text-wrap: balance; }
/* narrow phones: contact values use the full card width, so an address never splits mid-word */
@media (max-width: 419px) {
  .crow { grid-template-areas: "i l" "v v"; row-gap: 6px; }
}

/* ---------- owner, 17.11: exactly like the Russian template, with its pictures and owl ---------- */
.kcard--top { border-top: 8px solid var(--acc); }
.teacher { border-top: 8px solid var(--acc); }
.hello__frame { background: #DDF7EC; }
.callline { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.callline__hours { color: var(--muted); }
.hero .callline__hours { color: var(--ink); }
.hero__pic, .hero__pic img { width: 100%; height: 100%; }
.hero__pic img { object-fit: cover; }
.hero__word { position: absolute; transform: translate(-50%, -50%) rotate(-3deg); font-family: var(--head); font-weight: 900; font-size: 2.9cqw; line-height: 1;
  white-space: nowrap; }
.owl--hero { position: absolute; right: -6px; bottom: -14px; width: 84px; }
.prog__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.prog__arrow { flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px; background: var(--acc-d, var(--acc)); color: #fff; display: flex; align-items: center; justify-content: center; }
.owl--note { width: 70px; flex-shrink: 0; }
.mcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.mcard__head { display: flex; gap: 14px; align-items: center; }
.mcard p { line-height: 1.5; }
.offices { display: flex; flex-direction: column; gap: 14px; }
.office { gap: 10px; padding: 18px; }
.office__head { display: flex; gap: 12px; align-items: center; }
.office__head .ktile { width: 46px; height: 46px; }
.office .h3 { font-size: 22px; }
.office__a { line-height: 1.45; }
.hello__pic, .hello__pic img { width: 100%; height: 100%; }
.hello__pic img { object-fit: cover; }
.hello__sign { position: absolute; left: 29%; width: 43%; top: 52%; height: 28%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 7.2cqw; line-height: 1.05; color: var(--heading); transform: rotate(-2deg); }
.hello__sign span + span { color: #D63F2E; }
.owl--phone { position: absolute; right: -10px; top: -40px; width: 90px; }
.kimg--a8 { aspect-ratio: 4 / 3; }
.kimg--a8 .kimg__pic img { object-position: 50% 30%; }
@media (min-width: 700px) {
  .owl--hero { width: 130px; right: -16px; bottom: -24px; }
  .owl--note { width: 86px; }
  .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .owl--phone { width: 130px; right: -30px; top: -60px; }
}
@media (min-width: 1000px) {
  .owl--hero { width: 170px; left: -64px; right: auto; bottom: -56px; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .owl--hero { width: 130px; left: -40px; bottom: -40px; }
  .mcards { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .owl--hero { width: 200px; left: -70px; }
}
