:root {
  --leaf: #1dd82f;
  --leaf-deep: #087a18;
  --leaf-dark: #055d10;
  --leaf-soft: #eafbeb;
  --bark: #3d2710;
  --bark-2: #543b22;
  --muted: #806e5a;
  --milk: #fff9ee;
  --white: #fff;
  --sky: #66c7f4;
  --sun: #f7c948;
  --coral: #ff7866;
  --violet: #7256c9;
  --line: #ded3c3;
  --font: "Nunito", "Segoe UI", sans-serif;
  --display: "Comfortaa", "Nunito", sans-serif;
  --accent: "Baloo 2", "Nunito", sans-serif;
  --shell: min(1320px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--milk); color: var(--bark); font: 500 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
::selection { background: var(--sun); color: var(--bark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px; border-radius: 10px; background: var(--white); }

.global-header { position: sticky; z-index: 200; top: 0; }
.top-phone-line { position: relative; min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 5px 48px 5px 18px; background: var(--bark); color: var(--white); font-size: 10px; font-weight: 800; }
.top-phone-line[hidden] { display: none; }
.top-phone-line > div { display: flex; align-items: center; justify-content: center; gap: 22px; }
.top-phone-line span { opacity: .7; }
.top-phone-line a { display: flex; align-items: baseline; gap: 4px; color: var(--sun); font: 800 13px var(--accent); }
.top-phone-line a small { font-size: inherit; }
.top-phone-line a strong { padding: 1px 7px; border-radius: 99px; background: var(--sun); color: var(--bark); font-size: 15px; letter-spacing: .04em; }
.top-phone-line button { position: absolute; top: 50%; right: 16px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: var(--white); font: 700 18px/1 var(--accent); transform: translateY(-50%); }
.top-phone-line button:hover { border-color: var(--sun); color: var(--sun); }

.site-header {
  position: relative;
  z-index: 1;
  height: 78px;
  overflow: clip;
  border-bottom: 1px solid transparent;
  background: rgba(255,249,238,.9);
  backdrop-filter: blur(18px);
  transition: height .46s cubic-bezier(.22,.78,.24,1) .12s, background .22s ease, box-shadow .22s ease;
  will-change: height;
}
.site-header.is-scrolled { border-color: rgba(61,39,16,.1); box-shadow: 0 10px 25px rgba(61,39,16,.07); }
.site-header.mega-open {
  height: 470px;
  background: var(--milk);
  box-shadow: 0 30px 70px rgba(61,39,16,.15);
  transition-delay: 0s;
}
.header-inner { position: relative; z-index: 3; height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { justify-self: start; display: flex; align-items: center; gap: 11px; }
.brand-lockup { display: flex; align-items: center; gap: 8px; }
.brand .brand-mark { width: 39px; height: 39px; object-fit: contain; }
.brand .brand-wordmark {
  width: 92px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(26%) saturate(1427%) hue-rotate(348deg) brightness(91%) contrast(96%);
}
.brand-tagline { padding-left: 11px; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; line-height: 1.25; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav > a, .main-nav > button { min-height: 40px; padding: 9px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--bark); font-size: 12px; font-weight: 900; }
.main-nav > a:hover, .main-nav > button:hover, .main-nav > button[aria-expanded="true"] { background: var(--leaf-soft); color: var(--leaf-dark); }
.main-nav button i { margin-left: 4px; font-style: normal; transition: transform .25s ease; }
.main-nav button[aria-expanded="true"] i { display: inline-block; transform: rotate(180deg); }
.header-contact { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-phone { display: flex; align-items: baseline; gap: 5px; padding: 8px 13px; border: 1px solid rgba(61,39,16,.12); border-radius: 14px; background: var(--white); font: 800 15px var(--accent); }
.header-phone:hover { background: var(--sun); }
.header-phone small { font-size: inherit; }
.header-phone strong { color: var(--leaf-deep); font-size: 22px; line-height: 1; letter-spacing: .035em; }
.header-call { width: 40px; height: 40px; display: none; place-items: center; border: 2px solid var(--bark); border-radius: 50%; background: var(--sun); }
.menu-button { width: 42px; height: 42px; display: none; place-items: center; border: 0; border-radius: 13px; background: var(--bark); }
.menu-button i { grid-area: 1/1; width: 18px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .2s ease; }
.menu-button i:first-child { transform: translateY(-4px); }
.menu-button i:last-child { transform: translateY(4px); }
.menu-button[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }

.mega-menu {
  position: absolute;
  z-index: 1;
  top: 78px;
  right: 0;
  left: 0;
  height: 392px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  visibility: hidden;
  pointer-events: none;
}
.mega-open .mega-menu {
  visibility: visible;
  pointer-events: auto;
}
.mega-inner { height: 100%; display: grid; grid-template-columns: .6fr 2fr .72fr; gap: 22px; padding-block: 24px; }
.mega-intro { display: flex; flex-direction: column; padding: 25px; border-radius: 26px 26px 26px 8px; background: var(--leaf-dark); color: var(--white); }
.mega-intro > span, .mega-exams > span { color: var(--leaf); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.mega-intro h2 { margin: 16px 0; font: 700 27px/1.18 var(--display); }
.mega-intro h2 em { color: var(--leaf); font-style: normal; }
.mega-intro button { align-self: flex-start; margin-top: auto; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); font-size: 11px; font-weight: 900; }
.mega-subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: center; }
.mega-subjects a { min-height: 61px; display: grid; grid-template-columns: 20px 38px 1fr auto; align-items: center; gap: 8px; padding: 9px 10px; border: 2px solid var(--bark); border-radius: 17px 17px 17px 6px; background: color-mix(in srgb, var(--subject-color) 48%, white); box-shadow: 3px 4px 0 var(--bark); transition: transform .18s ease, box-shadow .18s ease; }
.mega-subjects a:hover { transform: translate(-2px,-3px); box-shadow: 5px 7px 0 var(--bark); }
.mega-subjects a > span { color: var(--muted); font: 800 9px var(--accent); }
.mega-subjects a > b { width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid var(--bark); border-radius: 11px; background: var(--subject-color); font: 800 12px var(--accent); }
.mega-subjects strong { font: 700 11px var(--display); }
.mega-subjects i { font-style: normal; }
.mega-exams { display: flex; flex-direction: column; gap: 8px; padding: 15px 0; }
.mega-exams > span { color: var(--leaf-deep); }
.mega-exams > a:not(.mega-route):not(.mega-blog) { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 17px; border: 2px solid var(--bark); border-radius: 18px 18px 18px 6px; background: var(--sun); box-shadow: 3px 4px 0 var(--bark); }
.mega-exams > a:nth-of-type(2) { background: var(--leaf); }
.mega-exams b { font: 800 24px var(--accent); }
.mega-exams i { grid-row: 2; color: var(--bark-2); font-size: 9px; font-style: normal; font-weight: 900; }
.mega-exams em { grid-row: 1/3; grid-column: 2; font: 800 20px var(--accent); font-style: normal; }
.mega-blog { display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; padding: 12px 14px; border-radius: 15px 15px 15px 5px; background: var(--leaf-soft); }
.mega-blog span { grid-column: 1; color: var(--leaf-deep); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.mega-blog strong { grid-column: 1; font: 700 11px var(--display); }
.mega-blog i { grid-column: 2; grid-row: 1/3; align-self: center; font-style: normal; }
.mega-route { margin-top: auto; color: var(--muted); font-size: 10px; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.mobile-menu { display: none; }
.mobile-menu[hidden] { display: none !important; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--leaf-dark); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow i { width: 9px; height: 9px; border: 2px solid var(--bark); border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-soft); }
.home-hero { min-height: calc(100svh - 112px); display: grid; grid-template-columns: minmax(0,.93fr) minmax(500px,1.07fr); align-items: center; gap: clamp(35px,6vw,90px); padding-block: clamp(58px,8vh,100px); }
.home-hero h1 { margin: 22px 0; font: 700 clamp(47px,5.6vw,82px)/1.05 var(--display); letter-spacing: -.06em; }
.home-hero h1 em { position: relative; color: var(--leaf-dark); font-style: normal; }
.home-hero h1 em::after { position: absolute; right: -4px; bottom: -8px; left: 0; height: 8px; border-radius: 50%; background: var(--leaf); content: ""; transform: rotate(-1deg); }
.home-hero__copy > p { max-width: 680px; color: var(--muted); font-size: 18px; }
.hero-phone { display: grid; align-items: center; grid-template-columns: 1fr auto; gap: 3px 18px; max-width: 560px; margin-top: 32px; padding: 17px 19px; border: 2px solid var(--bark); border-radius: 22px 22px 22px 7px; background: var(--sun); box-shadow: 6px 7px 0 var(--bark); }
.hero-phone > span { grid-column: 1; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.hero-phone > a { grid-column: 2; grid-row: 1/3; display: flex; align-items: baseline; gap: 6px; font: 800 26px var(--accent); transition: transform .2s ease; }
.hero-phone > a:hover { transform: rotate(-2deg) scale(1.04); }
.hero-phone a small { font-size: 18px; }
.hero-phone a strong { padding: 2px 9px; border: 2px solid var(--bark); border-radius: 10px; background: var(--white); letter-spacing: .05em; }
.hero-phone > i { grid-column: 1; color: var(--muted); font-size: 9px; font-style: normal; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-quick a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: 10px; font-weight: 900; }
.hero-quick a:hover { border-color: var(--bark); background: var(--leaf-soft); }
.home-hero__scene { position: relative; min-height: 620px; display: grid; place-items: center; isolation: isolate; }
.hero-blob { position: absolute; z-index: -2; width: 85%; aspect-ratio: 1; border-radius: 45% 55% 61% 39%/55% 43% 57% 45%; background: var(--leaf-soft); animation: blob 9s ease-in-out infinite alternate; }
.home-hero__scene > img { width: 260px; filter: drop-shadow(0 24px 30px rgba(61,39,16,.15)); animation: sprout 4s ease-in-out infinite; }
.hero-orbit { position: absolute; z-index: -1; width: 76%; aspect-ratio: 1; border: 1.5px dashed rgba(61,39,16,.3); border-radius: 50%; animation: orbit 28s linear infinite; }
.hero-orbit span { position: absolute; top: -30px; left: 50%; width: 60px; height: 60px; display: grid; place-items: center; border: 2px solid var(--bark); border-radius: 50%; background: var(--sun); font: 800 20px var(--accent); }
.hero-orbit--two { width: 93%; animation-duration: 38s; animation-direction: reverse; }
.hero-orbit--two span { top: 50%; right: -29px; left: auto; background: var(--sky); }
.hero-orbit--three { width: 59%; animation-duration: 21s; }
.hero-orbit--three span { top: auto; bottom: -29px; background: var(--coral); }
.hero-note-card { position: absolute; top: 11%; right: 4%; width: 170px; padding: 17px; border: 2px solid var(--bark); border-radius: 21px 21px 21px 7px; background: var(--white); box-shadow: 5px 6px 0 var(--bark); transform: rotate(6deg); }
.hero-note-card > span { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.hero-note-card > strong { display: block; margin: 7px 0 12px; font: 700 19px/1.2 var(--display); }
.hero-note-card > div { display: flex; gap: 3px; }
.hero-note-card > div i { width: 18%; height: 6px; border-radius: 99px; background: var(--leaf); }
.hero-pulse { position: absolute; right: 5%; bottom: 11%; width: 115px; height: 115px; display: grid; place-items: center; align-content: center; border: 2px solid var(--bark); border-radius: 50%; background: var(--sun); box-shadow: 6px 7px 0 var(--bark); color: var(--bark); font: 800 12px var(--display); animation: pulse 3s ease-in-out infinite; }
.hero-pulse i { font: 800 19px var(--accent); font-style: normal; }

.compact-heading { display: grid; grid-template-columns: .36fr .64fr; gap: 30px; margin-bottom: 50px; }
.compact-heading > span { color: var(--leaf-dark); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.compact-heading h2 { margin: 0; font: 700 clamp(37px,4.7vw,66px)/1.08 var(--display); letter-spacing: -.05em; }
.needs { padding-block: 125px; }
.need-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.need-card { min-height: 390px; display: flex; flex-direction: column; padding: 29px; border: 2px solid var(--bark); border-radius: 29px 29px 29px 9px; }
.need-card--green { background: var(--leaf); }
.need-card--blue { background: var(--sky); }
.need-card--yellow { background: var(--sun); }
.need-card > span { font: 800 12px var(--accent); }
.need-card h3 { margin: 35px 0 14px; font: 700 clamp(23px,2.4vw,33px)/1.18 var(--display); }
.need-card p { color: var(--bark-2); }
.need-card > button, .need-card > a { align-self: flex-start; margin-top: auto; padding: 8px 0; border: 0; border-bottom: 2px solid var(--bark); background: transparent; font-size: 11px; font-weight: 900; }
.need-card > button i, .need-card > a i { font-style: normal; }
.need-card > div { display: flex; gap: 7px; margin-top: auto; }
.need-card > div a { padding: 8px 13px; border: 2px solid var(--bark); border-radius: 99px; background: var(--white); font: 800 13px var(--accent); }

.subject-wheel-section { padding-block: 90px 110px; overflow: hidden; background: var(--leaf-dark); color: var(--white); }
.wheel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.wheel-head > span { color: rgba(255,255,255,.6); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.wheel-head > div { display: flex; align-items: center; gap: 12px; }
.wheel-head button { width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: var(--white); font-size: 20px; }
.wheel-head button:hover { background: var(--leaf); color: var(--bark); }
.wheel-head b { min-width: 70px; font: 800 14px var(--accent); text-align: center; }
.subject-wheel-viewport { width: 100%; padding-block: 28px; overflow: hidden; cursor: grab; touch-action: pan-y; }
.subject-wheel-viewport.is-dragging { cursor: grabbing; }
.subject-wheel-track { display: flex; gap: 18px; will-change: transform; }
.wheel-card { flex: 0 0 min(320px, 26vw); min-height: 430px; display: flex; flex-direction: column; padding: 25px; border: 2px solid var(--bark); border-radius: 29px 29px 29px 9px; background: var(--card); color: var(--bark); opacity: .46; transform: scale(.84); filter: saturate(.65); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), filter .45s ease, box-shadow .45s ease; }
.wheel-card.is-center { z-index: 3; opacity: 1; filter: none; transform: scale(1.13) rotate(-1deg); box-shadow: 8px 9px 0 var(--bark); }
.wheel-card--math { --card: var(--sun); }
.wheel-card--russian { --card: var(--coral); }
.wheel-card--english { --card: var(--sky); }
.wheel-card--reading { --card: #e5defa; }
.wheel-card--prep { --card: var(--leaf); }
.wheel-card--logic { --card: var(--milk); }
.wheel-card--physics { --card: #7bd5fa; }
.wheel-card--chemistry { --card: #ff9c83; }
.wheel-card--biology { --card: #7ee18a; }
.wheel-card--history { --card: #ddc8ff; }
.wheel-card--social { --card: #ffd067; }
.wheel-card--geography { --card: #91dcf7; }
.wheel-card--informatics { --card: #a6efae; }
.wheel-card > span { font: 800 11px var(--accent); }
.wheel-symbol { width: 150px; height: 150px; display: grid; place-items: center; margin: 28px auto; border: 2px solid var(--bark); border-radius: 50%; background: rgba(255,255,255,.52); font: 800 45px var(--accent); transition: transform .4s ease; }
.wheel-card.is-center .wheel-symbol { animation: symbol-live 3s ease-in-out infinite; }
.wheel-card h3 { margin: auto 0 7px; font: 700 24px var(--display); }
.wheel-card p { margin-bottom: 12px; color: var(--bark-2); font-size: 12px; }
.wheel-card > i { font-size: 9px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.wheel-caption { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 18px; }
.wheel-caption > span { color: rgba(255,255,255,.55); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.wheel-caption > strong { min-width: 200px; font: 700 23px var(--display); }
.wheel-caption > button { padding: 9px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--white); font-size: 10px; font-weight: 900; }
.wheel-caption i { font-style: normal; }

.exam-section { padding-block: 135px; }
.exam-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.exam-card { position: relative; min-height: 510px; display: flex; flex-direction: column; padding: 35px; overflow: hidden; border: 2px solid var(--bark); border-radius: 34px 34px 34px 11px; box-shadow: 7px 8px 0 var(--bark); transition: transform .2s ease, box-shadow .2s ease; }
.exam-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 10px 14px 0 var(--bark); }
.exam-card--oge { background: var(--sky); }
.exam-card--ege { background: var(--leaf); }
.exam-card > span { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.exam-card > strong { margin: 27px 0 0; font: 800 clamp(90px,12vw,170px)/.8 var(--accent); letter-spacing: -.08em; }
.exam-card > p { max-width: 500px; margin-top: 30px; color: var(--bark-2); }
.exam-card > i { margin-top: auto; font-size: 10px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.exam-card > div { position: absolute; top: 29px; right: 29px; display: grid; grid-template-columns: repeat(2,52px); gap: 5px; }
.exam-card > div b { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--bark); border-radius: 15px; background: rgba(255,255,255,.55); font: 800 15px var(--accent); animation: exam-tile 3s ease-in-out infinite; }
.exam-card > div b:nth-child(2) { animation-delay: -.5s; }
.exam-card > div b:nth-child(3) { animation-delay: -1s; }
.exam-card > div b:nth-child(4) { background: var(--sun); animation-delay: -1.5s; }

.method-section { padding-block: 125px; background: var(--bark); color: var(--white); }
.compact-heading--light > span { color: var(--leaf); }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.method-grid article { min-height: 390px; display: flex; flex-direction: column; padding: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 27px 27px 27px 8px; background: rgba(255,255,255,.06); }
.method-grid article > span { color: var(--leaf); font: 800 11px var(--accent); }
.method-grid h3 { margin: 30px 0 10px; font: 700 27px var(--display); }
.method-grid p { color: rgba(255,255,255,.65); font-size: 13px; }
.method-doodle { width: 150px; height: 120px; display: grid; place-items: center; margin: auto auto 0; color: var(--bark); font: 800 50px var(--accent); }
.method-doodle--one { border: 2px solid var(--bark); border-radius: 50%; background: var(--sun); transform: rotate(-7deg); }
.method-doodle--two { position: relative; }
.method-doodle--two i { position: absolute; width: 55px; height: 55px; border: 2px solid var(--bark); border-radius: 50%; background: var(--sky); }
.method-doodle--two i:first-child { left: 12px; }
.method-doodle--two i:nth-child(2) { right: 12px; background: var(--coral); }
.method-doodle--two b { z-index: 2; width: 57px; height: 57px; display: grid; place-items: center; border: 2px solid var(--bark); border-radius: 50%; background: var(--leaf); }
.method-doodle--three { border: 2px solid var(--bark); border-radius: 24px 24px 24px 7px; background: var(--leaf); transform: rotate(4deg); }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; padding-block: 135px; }
.contact-copy { align-self: center; }
.contact-copy h2 { margin: 21px 0; font: 700 clamp(42px,5.3vw,73px)/1.06 var(--display); letter-spacing: -.055em; }
.contact-copy h2 em { color: var(--leaf-dark); font-style: normal; }
.contact-copy > p { color: var(--muted); }
.contact-big-phone { display: flex; align-items: baseline; gap: 7px; margin: 31px 0 27px; font: 800 clamp(31px,4vw,52px) var(--accent); }
.contact-big-phone small { font-size: .6em; }
.contact-big-phone strong { padding: 1px 10px; border-radius: 13px; background: var(--sun); letter-spacing: .05em; }
.route-link { display: grid; gap: 3px; color: var(--bark); font-size: 12px; font-weight: 900; }
.route-link span { color: var(--leaf-dark); font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }
.contact-map { position: relative; min-height: 525px; overflow: hidden; border: 2px solid var(--bark); border-radius: 35px 35px 35px 11px; background: var(--sky); box-shadow: 8px 9px 0 var(--bark); }
.map-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(61,39,16,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(61,39,16,.08) 1px,transparent 1px); background-size: 45px 45px; }
.map-lines::before, .map-lines::after { position: absolute; width: 120%; height: 76px; border-block: 2px solid rgba(61,39,16,.3); background: var(--milk); content: ""; }
.map-lines::before { top: 36%; left: -10%; transform: rotate(-13deg); }
.map-lines::after { top: 44%; left: -10%; transform: rotate(66deg); }
.map-tree { position: absolute; width: 42px; height: 42px; border: 2px solid var(--bark); border-radius: 50% 50% 50% 8px; background: var(--leaf); transform: rotate(45deg); }
.map-tree--a { top: 15%; left: 16%; }
.map-tree--b { right: 13%; bottom: 25%; }
.map-tree--c { top: 18%; right: 25%; transform: rotate(45deg) scale(.75); }
.map-pin { position: absolute; top: 45%; left: 54%; width: 110px; height: 110px; display: grid; place-items: center; border: 2px solid var(--bark); border-radius: 50% 50% 50% 8px; background: var(--sun); box-shadow: 7px 8px 0 var(--bark); transform: translate(-50%,-50%) rotate(-45deg); animation: map-pin 3s ease-in-out infinite; }
.map-pin img { width: 57px; transform: rotate(45deg); }
.map-pin b { position: absolute; right: -58px; bottom: -7px; width: max-content; padding: 5px 9px; border: 2px solid var(--bark); border-radius: 99px; background: var(--white); font: 800 10px var(--accent); transform: rotate(45deg); }
.map-open { position: absolute; right: 17px; bottom: 17px; padding: 9px 12px; border: 1px solid rgba(61,39,16,.25); border-radius: 12px; background: rgba(255,255,255,.85); font-size: 10px; font-weight: 900; }

.site-footer { padding-block: 72px 18px; background: var(--leaf-dark); color: var(--white); }
.footer-main { display: grid; grid-template-columns: .8fr 2fr auto; gap: 45px; align-items: start; padding-bottom: 60px; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); }
.footer-brand span { display: block; margin-top: 18px; color: rgba(255,255,255,.58); font-size: 11px; }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.footer-links > div { display: grid; align-content: start; gap: 7px; }
.footer-links span { margin-bottom: 6px; color: var(--leaf); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.82); font-size: 10px; font-weight: 800; }
.footer-phone { width: 175px; height: 175px; display: grid; place-items: center; align-content: center; border: 2px solid var(--bark); border-radius: 50%; background: var(--sun); color: var(--bark); box-shadow: 6px 7px 0 var(--white); transition: transform .2s ease; }
.footer-phone:hover { transform: rotate(6deg); }
.footer-phone > span { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.footer-phone small { margin-top: 5px; font: 800 12px var(--accent); }
.footer-phone strong { font: 800 25px var(--accent); letter-spacing: .04em; }
.footer-phone i { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.5); font-size: 9px; }

.phone-reveal { position: fixed; z-index: 400; right: 22px; bottom: 22px; width: min(390px,calc(100% - 28px)); display: grid; padding: 25px; border: 2px solid var(--bark); border-radius: 27px 27px 27px 9px; background: var(--sun); box-shadow: 9px 10px 0 var(--bark); opacity: 0; pointer-events: none; transform: translateY(calc(100% + 50px)) rotate(5deg); transition: opacity .25s ease, transform .55s cubic-bezier(.2,.9,.2,1.15); }
.phone-reveal.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) rotate(-1deg); }
.phone-reveal__close { position: absolute; top: 11px; right: 11px; width: 34px; height: 34px; border: 1px solid var(--bark); border-radius: 50%; background: var(--white); font-size: 20px; }
.phone-reveal > span { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.phone-reveal > a { display: flex; align-items: baseline; gap: 6px; margin: 12px 0; font: 800 31px var(--accent); }
.phone-reveal a small { font-size: 17px; }
.phone-reveal a strong { padding: 0 7px; border: 2px solid var(--bark); border-radius: 10px; background: var(--white); letter-spacing: .05em; transform: translateY(14px); opacity: 0; transition: transform .4s ease .2s, opacity .35s ease .2s; }
.phone-reveal.is-ready a strong { opacity: 1; transform: translateY(0); }
.phone-reveal p { margin: 0; color: var(--bark-2); font-size: 12px; }
.phone-reveal > i { margin-top: 11px; color: var(--muted); font-size: 9px; font-style: normal; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes blob { to { border-radius: 58% 42% 41% 59%/46% 58% 42% 54%; transform: rotate(5deg) scale(1.04); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes sprout { 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes pulse { 50% { transform: translateY(-7px) rotate(4deg); } }
@keyframes symbol-live { 50% { transform: translateY(-7px) rotate(5deg); } }
@keyframes exam-tile { 50% { transform: translateY(-5px) rotate(3deg); } }
@keyframes map-pin { 50% { transform: translate(-50%,-58%) rotate(-45deg); } }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px,1000px); }
  .site-header { overflow: visible; }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .header-phone { display: none; }
  .header-call, .menu-button { display: grid; }
  .mega-menu { display: none; }
  .site-header.mega-open { height: 78px; }
  .mobile-menu { position: fixed; z-index: 2; top: 78px; right: 0; left: 0; min-height: calc(100dvh - 78px); display: block; overflow-y: auto; background: var(--leaf-dark); color: var(--white); }
  .mobile-menu__inner { width: var(--shell); display: grid; gap: 0; margin-inline: auto; padding-block: 25px; }
  .mobile-menu__inner > span { margin-bottom: 8px; color: var(--leaf); font-size: 9px; font-weight: 900; text-transform: uppercase; }
  .mobile-menu__inner > a:not(.mobile-phone) { min-height: 53px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.13); font: 700 16px var(--display); }
  .mobile-menu__inner i { font-style: normal; }
  .mobile-menu__inner > div { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 20px; }
  .mobile-menu__inner > div a { padding: 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 15px; color: var(--sun); font: 800 18px var(--accent); text-align: center; }
  .mobile-phone { display: flex; align-items: baseline; justify-content: center; gap: 5px; margin-top: 20px; padding: 17px; border-radius: 18px; background: var(--sun); color: var(--bark); font: 800 21px var(--accent); }
  .mobile-phone small { font-size: 13px; }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero__scene { min-height: 650px; }
  .need-grid { grid-template-columns: repeat(2,1fr); }
  .need-card:last-child { grid-column: 1/-1; min-height: 320px; }
  .wheel-card { flex-basis: min(310px,36vw); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-copy { max-width: 760px; }
  .footer-main { grid-template-columns: 1fr 1.5fr; }
  .footer-phone { grid-column: 1/-1; justify-self: center; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px,640px); }
  .top-phone-line { padding-right: 42px; padding-left: 12px; }
  .top-phone-line > div { justify-content: flex-start; gap: 9px; }
  .top-phone-line span { font-size: 8px; }
  .brand .brand-mark { width: 36px; height: 36px; }
  .brand .brand-wordmark { width: 84px; }
  .brand-tagline { display: none; }
  .home-hero { min-height: auto; padding-block: 65px 80px; }
  .home-hero h1 { font-size: clamp(43px,13vw,60px); }
  .home-hero__copy > p { font-size: 16px; }
  .hero-phone { grid-template-columns: 1fr; }
  .hero-phone > a { grid-column: 1; grid-row: auto; margin-top: 7px; }
  .hero-phone > i { grid-column: 1; }
  .home-hero__scene { min-height: 510px; }
  .home-hero__scene > img { width: 190px; }
  .hero-orbit--one { width: 78%; }
  .hero-orbit--two { width: 100%; }
  .hero-note-card { top: 6%; right: 0; width: 138px; }
  .hero-pulse { right: 0; bottom: 7%; width: 94px; height: 94px; }
  .compact-heading { grid-template-columns: 1fr; gap: 12px; }
  .needs, .exam-section { padding-block: 95px; }
  .need-grid, .exam-grid, .method-grid { grid-template-columns: 1fr; }
  .need-card:last-child { grid-column: auto; }
  .need-card { min-height: 335px; }
  .subject-wheel-section { padding-block: 70px 85px; }
  .wheel-card { flex-basis: 72vw; min-height: 390px; }
  .wheel-card.is-center { transform: scale(1.04) rotate(-1deg); }
  .wheel-symbol { width: 130px; height: 130px; }
  .wheel-caption { display: grid; grid-template-columns: auto 1fr; justify-content: start; }
  .wheel-caption > button { grid-column: 1/-1; justify-self: start; }
  .exam-card { min-height: 430px; padding: 26px; }
  .exam-card > strong { font-size: 100px; }
  .method-grid article { min-height: 330px; }
  .contact-section { padding-block: 95px; }
  .contact-map { min-height: 450px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .footer-phone { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
