/* ============================================================
   REGISTON O'QUV MARKAZI — asosiy stil
   ============================================================ */
:root {
  --orange: #FF6B00;
  --orange-600: #E85D00;
  --orange-400: #FF8A2A;
  --orange-200: #FFD3AE;
  --orange-50: #FFF4EA;
  --sun: #FFB547;
  --ink: #16110D;
  --ink-2: #2A221C;
  --grey-600: #6B625B;
  --grey-300: #DDD6D0;
  --grey-100: #F5F2EF;
  --white: #fff;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 10px 40px rgba(22, 17, 13, .08);
  --shadow-lg: 0 24px 60px rgba(22, 17, 13, .16);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

@font-face { font-family: "Creato Display"; src: url("../assets/fonts/CreatoDisplay-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("../assets/fonts/CreatoDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("../assets/fonts/CreatoDisplay-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("../assets/fonts/CreatoDisplay-Black.woff") format("woff"); font-weight: 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.15; }
p { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; }
.center { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: linear-gradient(135deg, var(--orange-400), var(--orange)); color: #fff; box-shadow: 0 8px 24px rgba(255, 107, 0, .35); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(255, 107, 0, .5); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); box-shadow: var(--shadow-lg); }
.btn--light { background: #fff; color: var(--orange-600); }
.btn--ghost { background: var(--grey-100); color: var(--ink); }
.btn--ghost:hover { background: var(--grey-300); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Logo (white PNG, recoloured with mask) ---------- */
.logo__mark {
  display: block; width: 150px; aspect-ratio: 941 / 248;
  background: var(--ink);
  -webkit-mask: url("../assets/img/logo-white.png") center / contain no-repeat;
          mask: url("../assets/img/logo-white.png") center / contain no-repeat;
}
.logo__mark--orange { background: linear-gradient(135deg, var(--orange-400), var(--orange-600)); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none; }
.header__bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 0 14px 0 28px;
  max-width: calc(1280px - 48px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .08);
  transition: box-shadow .3s;
}
.header.is-scrolled .header__bar { box-shadow: 0 10px 40px rgba(0, 0, 0, .14); }
.logo .logo__mark { width: 140px; background: linear-gradient(135deg, var(--orange-400), var(--orange-600)); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 15px;
  transition: background .2s, color .2s;
}
.nav > a:hover, .nav > a.is-active { background: var(--orange-50); color: var(--orange-600); }
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.header__phone svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--orange-50); color: var(--orange); fill: currentColor; stroke: none; }
.header__phone:hover { color: var(--orange-600); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__fallback {
  position: absolute; inset: 0; z-index: -4;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(255, 138, 42, .55), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(255, 107, 0, .45), transparent 60%),
    linear-gradient(160deg, #2a170a 0%, #120b06 60%, #1d0f05 100%);
}
.hero__fallback::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
}
/* Hero slideshow — Ken Burns zoom in/out + zooming crossfade */
.hero__slides { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, transform 1.6s ease, visibility 0s 1.6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1.2s ease, transform 1.6s ease, visibility 0s; }
.hero__slide.is-leaving { opacity: 0; visibility: visible; z-index: 1; transform: scale(1.1); transition: opacity 1.4s ease, transform 1.6s ease, visibility 0s; }
.hero__slide > img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
/* animation-name stays the same while leaving, so the zoom keeps running into the fade */
.hero__slide.is-active > *, .hero__slide.is-leaving > * { animation: kb-in var(--slide-dur, 6s) cubic-bezier(.25, .1, .25, 1) forwards; }
.hero__slide[data-zoom="out"].is-active > *, .hero__slide[data-zoom="out"].is-leaving > * { animation-name: kb-out; }
@keyframes kb-in { from { transform: scale(1); } to { transform: scale(1.18); } }
@keyframes kb-out { from { transform: scale(1.18); } to { transform: scale(1); } }


.hero__content > * { animation: heroIn 1s cubic-bezier(.2,.8,.2,1) both; }
.hero__content > :nth-child(2) { animation-delay: .15s; }
.hero__content > :nth-child(3) { animation-delay: .3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } }

.hero__overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.2) 100%); }
.hero__content { padding-bottom: 90px; padding-top: 140px; }
.hero__title { font-weight: 800; font-size: clamp(36px, 6vw, 72px); letter-spacing: -.01em; display: flex; flex-direction: column; }
.hero__brand { color: var(--orange-400); }
.hero__line-sm { font-size: .52em; margin-top: .3em; letter-spacing: 0; }
.hero__sub { font-size: clamp(16px, 1.6vw, 20px); margin: 14px 0 32px; opacity: .92; max-width: 560px; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section__title {
  font-weight: 800; font-size: clamp(28px, 4vw, 44px); text-align: center; letter-spacing: -.01em;
  margin-bottom: 18px;
}
.section__title--orange { background: linear-gradient(135deg, var(--orange-400), var(--orange-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section__lead { text-align: center; color: var(--grey-600); font-size: 18px; max-width: 820px; margin: 0 auto 50px; }

/* ---------- About / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--grey-100); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s, background .3s, color .3s, box-shadow .3s;
}
.stat:hover { transform: translateY(-6px); background: linear-gradient(135deg, var(--orange-400), var(--orange)); color: #fff; box-shadow: 0 16px 40px rgba(255,107,0,.3); }
.stat__num { font-family: var(--head); font-weight: 800; font-size: clamp(38px, 4vw, 56px); line-height: 1; color: var(--orange); transition: color .3s; }
.stat:hover .stat__num { color: #fff; }
.stat__label { font-weight: 600; font-size: 18px; margin-top: 12px; }
.stat__note { font-size: 14px; opacity: .7; margin-top: 4px; }

/* ---------- Bento advantages ---------- */
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a c c b"
    "d c c e"
    "f f f f";
}
.bento__a { grid-area: a; } .bento__b { grid-area: b; } .bento__c { grid-area: c; }
.bento__d { grid-area: d; } .bento__e { grid-area: e; } .bento__f { grid-area: f; }
.bento__card {
  border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s ease, box-shadow .35s ease; position: relative; overflow: hidden;
}
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bento__card h3 { font-size: 22px; font-weight: 700; }
.bento__card p { font-size: 15.5px; opacity: .85; }
.bento__card .btn { align-self: flex-start; margin-top: auto; }
.bento__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--orange-50); color: var(--orange); }
.bento__card--orange { background: linear-gradient(150deg, var(--orange-400), var(--orange-600)); color: #fff; }
.bento__card--orange .bento__icon { background: rgba(255,255,255,.2); color: #fff; }
.bento__card--light { background: var(--grey-100); }
.bento__card--dark { background: var(--ink); color: #fff; text-align: center; align-items: center; justify-content: flex-end; }
.bento__card--dark .btn { align-self: center; margin-top: 0; }
.bento__card--sun { background: linear-gradient(120deg, var(--sun), var(--orange-400)); flex-direction: row; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.bento__card--sun h3 { font-size: 28px; margin-bottom: 14px; }
.bento__card--sun .btn { margin-top: 22px; }
.bento__posters { position: relative; width: 420px; max-width: 100%; height: 210px; flex: none; }
.bento__posters img { position: absolute; top: 50%; left: 50%; width: 128px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 12px 28px rgba(0,0,0,.18); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.bento__posters img:nth-child(1) { transform: translate(-150%, -50%) rotate(-10deg); }
.bento__posters img:nth-child(2) { transform: translate(-85%, -56%) rotate(-3deg); }
.bento__posters img:nth-child(3) { transform: translate(-15%, -56%) rotate(4deg); }
.bento__posters img:nth-child(4) { transform: translate(50%, -50%) rotate(11deg); }
.bento__card--sun:hover .bento__posters img:nth-child(1) { transform: translate(-175%, -54%) rotate(-12deg); }
.bento__card--sun:hover .bento__posters img:nth-child(2) { transform: translate(-90%, -64%) rotate(-4deg); }
.bento__card--sun:hover .bento__posters img:nth-child(3) { transform: translate(-10%, -64%) rotate(5deg); }
.bento__card--sun:hover .bento__posters img:nth-child(4) { transform: translate(75%, -54%) rotate(13deg); }

/* Student App — iPhone mockups */
.app-phones { position: relative; width: 100%; height: 400px; display: flex; justify-content: center; align-items: center; margin: 4px 0 10px; }
.app-phones::before { content: ""; position: absolute; width: 70%; height: 70%; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,0,.45), transparent 65%); filter: blur(10px); }
.iphone { position: relative; width: 180px; aspect-ratio: 208 / 464; padding: 7px; border-radius: 34px; background: #0e0b09; box-shadow: 0 0 0 2px #3a302a, 0 30px 60px rgba(0,0,0,.45); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.iphone img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: cover; object-position: top; border-radius: 27px; }
.iphone--main { z-index: 2; }
.iphone--main img { opacity: 0; transition: opacity .7s ease; }
.iphone--main img.is-active { opacity: 1; }
.iphone--side { position: absolute; width: 150px; opacity: .85; }
.iphone--left { transform: translateX(-95%) rotate(-8deg); }
.iphone--right { transform: translateX(95%) rotate(8deg); }
.bento__card--dark:hover .iphone--main { transform: translateY(-8px); }
.bento__card--dark:hover .iphone--left { transform: translateX(-105%) rotate(-11deg); }
.bento__card--dark:hover .iphone--right { transform: translateX(105%) rotate(11deg); }
.app-title { font-size: 28px !important; color: #fff; }
.app-title::after { content: " ●"; color: var(--orange); font-size: .5em; vertical-align: middle; }

/* CELTA certificate thumbnail */
.cert-thumb { position: relative; display: block; width: 100%; padding: 0; margin-top: 4px; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; box-shadow: 0 8px 24px rgba(0,0,0,.1); border: 1px solid var(--grey-300); }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.cert-thumb span { position: absolute; left: 10px; bottom: 10px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; transition: background .25s; }
.cert-thumb:hover img { transform: scale(1.06); }
.cert-thumb:hover span { background: var(--orange); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--ink); }
.ticks--orange li::before { color: var(--orange); }

/* ---------- Teachers ---------- */
.teachers { background: var(--grey-100); }
.marquee--teachers .teacher { flex: none; width: 240px; }
.teacher {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4;
  color: #fff; cursor: pointer; isolation: isolate;
  transition: transform .4s ease, box-shadow .4s ease;
}
.teacher:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(255,107,0,.35); }
/* Shared background for every teacher — the cut-out photo sits on top of it */
.teacher__bg {
  position: absolute; inset: 0; z-index: -3; overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,236,214,.8) 0, rgba(255,196,140,.35) 25%, transparent 50%),
    linear-gradient(160deg, #FFA048 0%, #FF6B00 48%, #CF4500 100%);
}
/* Oversized Registon book mark as a watermark */
.teacher__bg::before {
  content: ""; position: absolute; left: -22%; top: -4%; width: 135%; aspect-ratio: 358 / 248;
  background: rgba(255,255,255,.16);
  -webkit-mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat;
          mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat;
  transform: rotate(-10deg); transition: transform .8s ease;
}
.teacher:hover .teacher__bg::before { transform: rotate(-4deg) scale(1.05); }
.teacher__photo { position: absolute; left: 50%; bottom: 0; z-index: -2; height: 90%; width: auto; max-width: 125%; transform: translateX(-50%); object-fit: contain; object-position: bottom; transform-origin: bottom center; transition: transform .6s ease; }
.teacher:hover .teacher__photo { transform: translateX(-50%) scale(1.05); }
/* Photo still on its original background: fill the card instead of sitting on the shared one */
.teacher__photo--full { left: 0; width: 100%; height: 100%; max-width: none; transform: none; object-fit: cover; object-position: center 15%; transform-origin: center; }
.teacher:hover .teacher__photo--full { transform: scale(1.06); }
.teacher__silhouette { position: absolute; inset: 14% 0 0; z-index: -2; display: flex; align-items: flex-end; justify-content: center; transition: transform .6s ease; }
.teacher__silhouette svg { width: 82%; height: auto; fill: rgba(255,255,255,.55); stroke: none; }
.teacher:hover .teacher__silhouette { transform: scale(1.04); }
.teacher::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22,17,13,.9) 0%, rgba(22,17,13,.55) 30%, transparent 52%); }
.teacher__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.teacher__name { font-family: var(--head); font-weight: 800; font-size: 16px; text-transform: uppercase; line-height: 1.1; margin-bottom: 10px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.teacher__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.teacher__stats small { display: inline-block; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.teacher__stats b { display: block; font-size: 13.5px; font-weight: 700; }
.teacher__band9 { display: inline-block; padding: 1px 7px; border-radius: 7px; background: linear-gradient(135deg, #FFE45C, #FFB000); color: var(--ink); font-family: var(--head); font-style: italic; font-weight: 900; font-size: 12.5px; letter-spacing: -.01em; box-shadow: 0 2px 8px rgba(255,176,0,.45); }

/* ---------- Format (online) ---------- */
.format__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--orange); color: var(--orange-600); font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,0,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,107,0,0); } }
.format__text h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.format__lead { font-weight: 600; font-size: 18px; margin-bottom: 20px; }
.format__text > p:last-of-type { margin-top: 20px; color: var(--grey-600); }
.format__video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: linear-gradient(135deg, var(--ink) 0%, #3b2414 100%); box-shadow: var(--shadow-lg); }
.format__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.format__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, rgba(255,138,42,.5), transparent 60%); }
.play { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 14px rgba(255,107,0,.25); transition: transform .3s; }
.play svg { width: 34px; height: 34px; fill: #fff; stroke: none; margin-left: 4px; }
.format__video:hover .play { transform: scale(1.1); }

/* ---------- Pricing ---------- */
.pricing { overflow: hidden; background: var(--orange-50); }
.pricing__glow { position: absolute; width: 700px; height: 700px; left: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(255,181,71,.55), transparent 65%); pointer-events: none; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; background: #fff; padding: 6px; border-radius: 999px; width: fit-content; margin: 10px auto 40px; box-shadow: var(--shadow); position: relative; }
.tab { padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--grey-600); transition: background .25s, color .25s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: linear-gradient(135deg, var(--orange-400), var(--orange)); color: #fff; box-shadow: 0 6px 16px rgba(255,107,0,.35); }
.pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.pricing__grid.is-single { grid-template-columns: minmax(0, 580px); justify-content: center; }
.price-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; animation: fadeUp .5s ease both; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card__head { padding: 28px 30px; color: #fff; background: linear-gradient(135deg, #3a2a20, var(--ink)); }
.price-card--hl .price-card__head { background: linear-gradient(135deg, var(--orange-400), var(--orange-600)); }
.price-card__title { font-size: 22px; font-weight: 700; }
.price-card__price { font-family: var(--head); font-size: 34px; font-weight: 800; margin-top: 10px; }
.price-card__price small { font-size: 16px; opacity: .8; }
.price-card__note { margin-top: 6px; opacity: .9; font-size: 15px; }
.price-card__body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.price-card__body ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.price-card__body li { display: flex; gap: 12px; align-items: flex-start; }
/* Registon book mark instead of a tick */
.price-card__body li::before { content: ""; flex: none; width: 22px; aspect-ratio: 358 / 248; margin-top: 4px; background: var(--orange); -webkit-mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat; mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat; }
.price-card__body .btn { margin-top: auto; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Results marquee ---------- */
.results { overflow: hidden; }
.marquee { overflow: hidden; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 20px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

.result {
  flex: none; width: 300px; height: 430px; border-radius: 18px; overflow: hidden; position: relative; cursor: pointer;
  background: linear-gradient(170deg, #fff 0%, var(--orange-50) 45%, var(--orange-200) 100%);
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  transition: transform .4s ease, box-shadow .4s ease;
}
.result:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 24px 50px rgba(255,107,0,.3); }
.result img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.result:hover img { transform: scale(1.08); }
/* Certificate card: shared orange background, small certificate, big score */
.result--cert { width: 290px; height: 470px; padding: 22px 20px 18px; display: flex; flex-direction: column; background: none; isolation: isolate; cursor: zoom-in; }
.result--cert:hover { transform: translateY(-10px); }
.result--cert .teacher__bg { z-index: -1; }
.result__cert { position: relative; width: 82%; margin: 0 auto; aspect-ratio: 900 / 1273; border-radius: 6px; background: #fff; box-shadow: 0 16px 34px rgba(80,25,0,.35); transform: rotate(-2deg); transition: transform .4s ease; cursor: none; }
.result--cert:hover .result__cert { transform: rotate(0); }
.result--cert .result__cert { margin-bottom: 16px; }
.result__cert img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.result--cert:hover .result__cert img { transform: none; }
.result__lens { position: absolute; left: 0; top: 0; z-index: 5; width: 130px; height: 130px; border-radius: 50%; overflow: hidden; pointer-events: none; background: #fff; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange), 0 14px 34px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, -50%) scale(.5); transition: opacity .2s ease, transform .2s ease; }
.result--cert.is-zooming .result__lens { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lens__inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; padding: 22px 20px 18px; display: flex; flex-direction: column; isolation: isolate; }
.lens__inner .result__cert { transform: none; }
/* Scores in a frosted glass box */
.rc-glass { margin-top: auto; display: flex; align-items: flex-end; justify-content: flex-start; gap: 6px; padding: 10px 14px 12px; border-radius: 18px; background: rgba(255,250,242,.8); border: 1px solid rgba(255,255,255,.8); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 12px 30px rgba(120,40,0,.2), inset 0 1px 0 rgba(255,255,255,.9); color: var(--ink); cursor: none; font-family: "Creato Display", var(--body); }
.rc-overall small { display: block; font-family: "Creato Display", var(--body); font-weight: 900; font-size: 13px; letter-spacing: .02em; color: var(--orange); margin-bottom: 0; }
.rc-overall b { display: block; font-family: "Creato Display", var(--body); font-weight: 900; font-size: 84px; line-height: .78; letter-spacing: -.04em; background: linear-gradient(180deg, #FFC21A 0%, #FF8A00 55%, #FF6B00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 2px; }
.rc-subs { display: grid; grid-template-columns: auto auto; gap: 0 3px; margin: 0 0 2px; font-family: "Creato Display", var(--body); font-size: 14px; font-weight: 700; line-height: 1.12; color: var(--ink); white-space: nowrap; }
.rc-subs dt { font-weight: 700; }
.rc-subs dd::before { content: ": "; }
.rc-subs dd { margin: 0; }
.result__paper { position: absolute; inset: 16px 16px 120px; background: #fff; border-radius: 10px; padding: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 8px; transition: transform .5s ease; }
.result:hover .result__paper { transform: scale(1.04) rotate(-1deg); }
.result__paper-top { display: flex; justify-content: space-between; align-items: flex-start; }
.result__paper-top b { font-family: var(--head); font-size: 22px; font-weight: 900; }
.result__paper-top small { display: block; font-size: 8px; color: var(--grey-600); }
.result__avatar { width: 54px; height: 66px; border-radius: 4px; background: linear-gradient(180deg, var(--grey-100), var(--grey-300)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.result__avatar svg { width: 44px; height: 44px; fill: #bdb3aa; stroke: none; }
.result__line { height: 7px; border-radius: 4px; background: var(--grey-100); }
.result__line.s { width: 60%; }
.result__name { font-size: 12px; font-weight: 700; margin-top: 4px; }
.result__bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; align-items: flex-end; justify-content: space-between; }
.result__score { font-family: var(--head); font-weight: 900; font-size: 64px; line-height: .9; background: linear-gradient(180deg, var(--orange-400), var(--orange-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result__score small { display: block; font-size: 10px; letter-spacing: .1em; -webkit-text-fill-color: var(--orange-600); }
.result__subs { font-size: 12px; line-height: 1.5; text-align: right; font-weight: 600; }
.result__subs b { color: var(--orange-600); }
.result__hover {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(22,17,13,.45); opacity: 0; transition: opacity .35s ease;
}
.result__hover span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; transform: translateY(14px) scale(.9); transition: transform .35s ease; }
.result__hover svg { width: 18px; height: 18px; color: var(--orange); }
.result:hover .result__hover { opacity: 1; }
.result:hover .result__hover span { transform: none; }

/* ---------- Certificate banner ---------- */
.cert__box { border-radius: 32px; padding: 60px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; color: #fff; background: linear-gradient(120deg, var(--orange-600), var(--orange) 50%, var(--orange-400)); position: relative; overflow: hidden; }
.cert__box::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); right: -120px; top: -160px; }
.cert__kicker { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 700; font-size: 14px; letter-spacing: .04em; margin-bottom: 18px; }
.cert__text h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; margin-bottom: 16px; }
.cert__text p { opacity: .9; margin-bottom: 28px; }
.cert__card { display: flex; justify-content: center; position: relative; }
/* Level certificates A1 → B2, fanned out in order */
.cert__stack { position: relative; width: 100%; max-width: 460px; height: 340px; }
.cert__sheet { position: absolute; left: 50%; top: 50%; width: 165px; aspect-ratio: 900 / 1280; padding: 0; border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 18px 40px rgba(80,25,0,.35); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.cert__sheet img { width: 100%; height: 100%; object-fit: cover; }
.cert__sheet span { position: absolute; left: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 800; font-size: 13px; }
.cert__sheet:nth-child(1) { transform: translate(-125%, -50%) rotate(-12deg); z-index: 1; }
.cert__sheet:nth-child(2) { transform: translate(-85%, -54%) rotate(-4deg); z-index: 2; }
.cert__sheet:nth-child(3) { transform: translate(-15%, -54%) rotate(4deg); z-index: 3; }
.cert__sheet:nth-child(4) { transform: translate(25%, -50%) rotate(12deg); z-index: 4; }
.cert__box:hover .cert__sheet:nth-child(1) { transform: translate(-150%, -48%) rotate(-14deg); }
.cert__box:hover .cert__sheet:nth-child(2) { transform: translate(-95%, -58%) rotate(-5deg); }
.cert__box:hover .cert__sheet:nth-child(3) { transform: translate(-5%, -58%) rotate(5deg); }
.cert__box:hover .cert__sheet:nth-child(4) { transform: translate(50%, -48%) rotate(14deg); }
.cert__sheet:hover { z-index: 10; box-shadow: 0 26px 60px rgba(60,20,0,.45); }

/* ---------- Events ---------- */
.events__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.event { border-radius: var(--radius); background: var(--grey-100); padding: 12px 12px 24px; transition: transform .35s, box-shadow .35s, background .35s; }
.event:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: #fff; }
.event__img { display: block; width: 100%; padding: 0; aspect-ratio: 4 / 5; border-radius: 18px; margin-bottom: 18px; position: relative; overflow: hidden; cursor: zoom-in; background: var(--grey-300); }
.event__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.event:hover .event__img img { transform: scale(1.06); }
.event__img[data-video] { cursor: pointer; }
.event__img::after { content: ""; position: absolute; inset: 0; background: rgba(22,17,13,.0); transition: background .35s; }
.event:hover .event__img::after { background: rgba(22,17,13,.35); }
.event__img span { position: absolute; left: 12px; top: 12px; z-index: 1; background: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--orange-600); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.event h3 { font-size: 20px; padding: 0 12px; margin-bottom: 8px; }
.event p { padding: 0 12px; color: var(--grey-600); font-size: 15px; }

/* ---------- Location ---------- */
.location { background: var(--grey-100); }
.location__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.location__card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.location__city { font-weight: 800; font-family: var(--head); color: var(--orange); letter-spacing: .08em; font-size: 14px; }
.location__card h3 { font-size: 26px; margin: 8px 0 24px; }
.location__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.location__list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.location__list svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--orange-50); color: var(--orange); }
.location__list small { color: var(--grey-600); font-weight: 400; }
.location__list a:hover { color: var(--orange-600); }
.location__maps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.location__map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: var(--grey-300); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* Branded pin over the map centre (both maps are centred on the building); clicks pass through to the map */
.map-pin { position: absolute; left: 50%; top: 50%; z-index: 2; width: 62px; height: 62px; margin: -75px 0 0 -31px; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); animation: pinDrop .8s cubic-bezier(.2,1.5,.4,1) both; }
.map-pin::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--orange-400), var(--orange-600)); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-pin__logo { position: absolute; left: 9px; top: 9px; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.map-pin__logo::after { content: ""; position: absolute; inset: 9px 6px; background: var(--orange); -webkit-mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat; mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat; }
.map-pulse { position: absolute; left: 50%; top: 50%; z-index: 1; width: 22px; height: 10px; margin: -5px 0 0 -11px; border-radius: 50%; background: rgba(255,107,0,.45); pointer-events: none; animation: pinPulse 1.8s ease-out infinite; }
@keyframes pinDrop { from { opacity: 0; transform: translateY(-30px); } }
@keyframes pinPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.map-label { position: absolute; left: 50%; bottom: 14px; z-index: 2; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; pointer-events: none; box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 14px; margin-top: 40px; }
.faq__item { border-radius: 20px; background: var(--grey-100); transition: background .3s, box-shadow .3s; }
.faq__item.is-open { background: #fff; box-shadow: var(--shadow); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; text-align: left; font-weight: 600; font-size: 17px; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .3s, background .3s, color .3s; font-size: 20px; line-height: 1; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 26px 24px; color: var(--grey-600); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta { padding-top: 0; }
.cta__box { border-radius: 32px; padding: 50px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta__box::after { content: ""; position: absolute; right: 10%; top: -60%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,0,.55), transparent 65%); pointer-events: none; }
.cta__box h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; }
.cta__box p { opacity: .75; margin-top: 6px; font-size: 18px; }
.cta__box .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: #0f0b08; color: rgba(255,255,255,.75); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer__logo { width: 180px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: var(--orange-400); }
.footer__phone { font-family: var(--head); font-weight: 800; font-size: 22px; color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .25s, transform .25s; }
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.socials .fill { fill: currentColor; stroke: none; }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }

/* ---------- Floating buttons ---------- */
.floating { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.floating__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .25s; }
.floating__btn:hover { transform: scale(1.1); }
.floating__btn svg { width: 24px; height: 24px; }
.floating__btn--tg { background: #229ED9; }
.floating__btn--call { background: var(--orange); position: relative; }
.floating__btn--call svg { fill: #fff; stroke: none; }
.floating__btn--call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); z-index: -1; animation: ring 1.8s infinite; }
@keyframes ring { to { transform: scale(1.7); opacity: 0; } }

/* ---------- Modal (registration popup) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,11,8,.6); backdrop-filter: blur(4px); }
.modal__dialog { position: relative; width: 100%; max-width: 1100px; background: #fff; border-radius: 28px; display: grid; grid-template-columns: minmax(320px, .85fr) 1.3fr; align-items: center; gap: 24px; padding: 20px; transform: translateY(30px) scale(.97); transition: transform .35s cubic-bezier(.2,.9,.3,1.2); max-height: calc(100vh - 40px); overflow: auto; }
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 28px; line-height: 1; box-shadow: var(--shadow); transition: transform .25s, background .25s; }
.modal__close:hover { transform: rotate(90deg); background: var(--grey-100); }
.modal__form { padding: 24px 20px; display: flex; flex-direction: column; }
.modal__logo { width: 130px; margin-bottom: 40px; }
.modal__form h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; margin-bottom: 14px; }
.modal__form h3 .accent { color: var(--orange); }
.modal__form > .form-step > p { color: var(--grey-600); margin-bottom: 26px; }
.field { display: flex; align-items: center; background: var(--grey-100); border-radius: 999px; margin-bottom: 14px; border: 2px solid transparent; transition: border-color .2s, background .2s; }
.field:focus-within { border-color: var(--orange); background: #fff; }
.field.has-error { border-color: #e5484d; }
.field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 17px 22px; font: inherit; font-size: 16px; outline: none; color: var(--ink); }
.field__prefix { display: flex; align-items: center; gap: 8px; padding-left: 20px; font-weight: 600; white-space: nowrap; }
.field--phone input { padding-left: 10px; }
.flag { width: 22px; height: 15px; border-radius: 3px; background: linear-gradient(#1eb5e6 0 33%, #fff 33% 36%, #e5484d 36% 39%, #fff 39% 61%, #e5484d 61% 64%, #fff 64% 67%, #1eb53a 67%); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.form-error { color: #e5484d; font-size: 14px; min-height: 20px; margin: -4px 0 10px 12px; }
#submitBtn { margin-top: 6px; }
#submitBtn.is-loading { opacity: .7; pointer-events: none; }
.form-success { text-align: center; margin: auto 0; padding: 30px 0; }
.form-success__icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-size: 38px; color: #fff; background: linear-gradient(135deg, var(--orange-400), var(--orange)); animation: pop .5s cubic-bezier(.2,.9,.3,1.4); }
@keyframes pop { from { transform: scale(0); } }
.form-success h3 { font-size: 30px; margin-bottom: 10px; }
.form-success p { color: var(--grey-600); margin-bottom: 26px; }

/* Popup carousel: 16:9 slides; text inside scales with the slide via container units */
.modal__visual { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--orange-600); color: #fff; container-type: inline-size; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform .9s ease; overflow: hidden; isolation: isolate; }
.slide.is-active { opacity: 1; transform: none; }
.slide--img img { width: 100%; height: 100%; object-fit: cover; }
.slides__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.slides__dots button { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.45); box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: background .3s, width .3s; }
.slides__dots button.is-active { background: #fff; width: 38px; }

/* Shared look of the designed slides — matches the orange banners */
.slide--meet, .slide--app { background: radial-gradient(70% 90% at 85% 15%, #FF9A3C 0%, transparent 60%), linear-gradient(135deg, #D84300 0%, #F25C05 45%, #FF7A1A 100%); }
.slide--meet .logo-pattern, .slide--app .logo-pattern { opacity: .1; height: 120%; right: -6%; top: -10%; }

/* Meetings: text left, event posters fanned on the right */
.sm-text { position: absolute; left: 6cqw; top: 50%; transform: translateY(-50%); width: 44cqw; display: flex; flex-direction: column; align-items: flex-start; gap: 1.6cqw; }
.sm-kicker { font-family: var(--head); font-weight: 800; font-size: 3.6cqw; line-height: 1.15; }
.sm-title { display: inline-block; padding: 1cqw 2.2cqw; border-radius: 1.6cqw; background: #fff; color: var(--orange-600); font-family: var(--head); font-weight: 900; font-size: 4.6cqw; line-height: 1.1; box-shadow: 0 1.4cqw 3cqw rgba(90,25,0,.3); }
.sm-tags { display: flex; flex-wrap: wrap; gap: .8cqw; margin-top: .6cqw; }
.sm-tags i { font-style: normal; font-weight: 700; font-size: 1.7cqw; padding: .5cqw 1.3cqw; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); }
.sm-posters { position: absolute; right: 3cqw; top: 50%; width: 46cqw; height: 40cqw; transform: translateY(-50%); }
.sm-posters img { position: absolute; top: 50%; left: 50%; width: 17cqw; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.4cqw; border: .45cqw solid #fff; box-shadow: 0 1.6cqw 3.4cqw rgba(60,15,0,.35); }
.sm-posters img:nth-child(1) { transform: translate(-125%, -46%) rotate(-11deg); }
.sm-posters img:nth-child(2) { transform: translate(-75%, -56%) rotate(-4deg); z-index: 1; }
.sm-posters img:nth-child(3) { transform: translate(-25%, -56%) rotate(4deg); z-index: 2; }
.sm-posters img:nth-child(4) { transform: translate(25%, -46%) rotate(11deg); z-index: 3; }
.slide--meet.is-active .sm-posters img { animation: fanIn .8s cubic-bezier(.2,.9,.3,1.2) both; }
.slide--meet.is-active .sm-posters img:nth-child(2) { animation-delay: .08s; }
.slide--meet.is-active .sm-posters img:nth-child(3) { animation-delay: .16s; }
.slide--meet.is-active .sm-posters img:nth-child(4) { animation-delay: .24s; }
@keyframes fanIn { from { opacity: 0; margin-top: 6cqw; } }

/* Student App: copy left, two iPhones on the right */
.sa-text { position: absolute; left: 6cqw; top: 50%; transform: translateY(-50%); width: 50cqw; }
.sa-badge { display: inline-block; padding: .6cqw 1.6cqw; border-radius: 999px; background: var(--ink); font-family: var(--head); font-weight: 800; font-size: 1.8cqw; letter-spacing: .08em; }
.sa-title { display: block; margin: 1.8cqw 0 2cqw; font-family: var(--head); font-weight: 900; font-size: 5.4cqw; line-height: 1.02; letter-spacing: -.01em; }
.sa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1cqw; font-weight: 600; font-size: 2.1cqw; }
.sa-list li { display: flex; align-items: center; gap: 1.2cqw; }
.sa-list li::before { content: ""; flex: none; width: 2.6cqw; aspect-ratio: 358 / 248; background: #fff; -webkit-mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat; mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat; }
.sa-phones { position: absolute; inset: 0; pointer-events: none; }
.iphone.sa-phone { position: absolute; width: 19cqw; padding: .8cqw; border-radius: 3.4cqw; box-shadow: 0 0 0 .25cqw #3a302a, 0 2.4cqw 5cqw rgba(50,10,0,.45); }
.iphone.sa-phone img { inset: .8cqw; width: calc(100% - 1.6cqw); height: calc(100% - 1.6cqw); border-radius: 2.7cqw; }
.sa-phone--back { right: 23cqw; top: 13cqw; transform: rotate(-9deg); opacity: .92; }
.sa-phone--front { right: 7cqw; top: 6cqw; transform: rotate(5deg); }
.slide--app.is-active .sa-phone--front { animation: phoneUp .9s cubic-bezier(.2,.9,.3,1.1) both; }
.slide--app.is-active .sa-phone--back { animation: phoneUp .9s .1s cubic-bezier(.2,.9,.3,1.1) both; }
@keyframes phoneUp { from { opacity: 0; translate: 0 8cqw; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(15,11,8,.88); display: flex; align-items: center; justify-content: center; gap: 20px; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox__stage { transform: scale(.9); transition: transform .35s; }
.lightbox.is-open .lightbox__stage { transform: none; }
.lightbox__stage .result { width: min(420px, 82vw); height: auto; aspect-ratio: 300 / 430; cursor: default; transform: none !important; }
.lightbox__stage .result__hover { display: none; }
.lightbox__stage img.lb-img { max-width: 90vw; max-height: 85vh; border-radius: 16px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: #fff; font-size: 30px; line-height: 1; transition: transform .25s; }
.lightbox__close:hover { transform: rotate(90deg) scale(1.1); }
.lightbox__nav { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 34px; line-height: 1; flex: none; transition: background .25s; }
.lightbox.is-single .lightbox__nav { display: none; }
.lb-video { width: min(1100px, 92vw, calc((100vh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__stage img.lb-img { box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__nav:hover { background: var(--orange); }

/* ---------- Logo pattern (staggered Registon book marks) ---------- */
.has-pattern { position: relative; isolation: isolate; overflow: hidden; }
/* One oversized Registon book mark as a watermark, like the teacher cards */
.logo-pattern {
  position: absolute; right: -8%; top: -18%; z-index: -1; pointer-events: none;
  height: 145%; max-height: 520px; aspect-ratio: 358 / 248;
  background: #fff; opacity: .16; transform: rotate(-10deg);
  transition: opacity .35s, background .35s, transform .8s ease;
  -webkit-mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat;
          mask: url("../assets/img/logo-mark-white.png") center / contain no-repeat;
}
.has-pattern:hover .logo-pattern { transform: rotate(-4deg) scale(1.05); }
/* Tall narrow card: anchor the mark to the top like the teacher cards */
.bento__a .logo-pattern { right: auto; left: -22%; top: -4%; height: auto; width: 135%; }
/* Light stat cards: orange marks, white once the card turns orange on hover */
.stat .logo-pattern { background: var(--orange); opacity: .08; }
.stat:hover .logo-pattern { background: #fff; opacity: .15; }
.cta__box .logo-pattern { background: var(--orange); opacity: .22; right: auto; left: 40%; }
.bento__card--sun .logo-pattern { opacity: .2; right: auto; left: 30%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .header__phone span { display: none; }
  .nav > a { padding: 9px 10px; font-size: 14.5px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__phone { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 110px 24px 30px;
    transform: translateX(105%); visibility: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), visibility .4s, box-shadow .4s;
    pointer-events: auto; z-index: -1; overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.15); }
  .nav > a { font-size: 18px; padding: 14px 18px; border-radius: 14px; }
  .nav__mobile-extra { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 24px; }
  .nav__phone { font-family: var(--head); font-weight: 800; font-size: 22px; text-align: center; }
  /* backdrop-filter would make the fixed drawer position relative to the bar */
  .header__bar { position: relative; z-index: 2; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a b" "c c" "d e" "f f"; }
  .format__grid { grid-template-columns: 1fr; gap: 40px; }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
  .cert__box { grid-template-columns: 1fr; padding: 44px; text-align: center; }
  .cert__text .btn { margin: 0 auto; }
  .location__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .container { padding: 0 16px; }
  .header { inset: 10px 0 auto; }
  .header__bar { padding: 0 8px 0 20px; max-width: calc(100% - 20px); }
  .logo .logo__mark { width: 118px; }
  .header__cta { display: none; }
  .nav { width: 100%; }
  .section__lead { font-size: 16px; margin-bottom: 36px; }
  .hero__content { padding-bottom: 150px; } /* clears the floating call buttons */
  .hero__scroll { display: none; }
  .hero .btn--lg { width: 100%; padding: 18px 20px; font-size: 16px; }
  .stats { gap: 12px; }
  .stat { padding: 22px 18px; }
  .stat__label { font-size: 16px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; gap: 14px; }
  .bento__card--sun { flex-direction: column; align-items: flex-start; }
  .bento__posters { width: 100%; height: 190px; }
  .bento__posters img { width: 104px; }
  .app-phones { height: 340px; }
  .iphone { width: 150px; border-radius: 30px; }
  .iphone img { border-radius: 23px; }
  .iphone--side { width: 120px; }
  .iphone--left { transform: translateX(-70%) rotate(-8deg); }
  .iphone--right { transform: translateX(70%) rotate(8deg); }
  .marquee--teachers .teacher { width: 200px; }
  .teacher__name { font-size: 14px; }
  .teacher__info { padding: 12px; }
  .teacher__stats b { font-size: 12.5px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .tabs { border-radius: 20px; width: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 10px 18px; }
  .price-card__head, .price-card__body { padding-left: 22px; padding-right: 22px; }
  .result { width: 240px; height: 344px; }
  .result--cert { width: 240px; height: 400px; padding: 18px 16px 14px; }
  .rc-overall b { font-size: 66px; }
  .rc-subs { font-size: 12px; }
  .rc-glass { padding: 10px 11px; border-radius: 14px; }
  .result--cert .result__cert { width: 76%; }
  .result__lens { width: 104px; height: 104px; }
  .lens__inner { padding: 18px 16px 14px; }
  .result__paper { inset: 12px 12px 100px; }
  .result__score { font-size: 50px; }
  .cert__box { padding: 34px 22px; border-radius: 24px; }
  .cert__stack { height: 260px; }
  .cert__sheet { width: 118px; }
  .events__grid { gap: 12px; }
  .event h3 { font-size: 17px; }
  .location__card { padding: 26px 22px; }
  .location__maps { grid-template-columns: 1fr; }
  .location__map { min-height: 300px; }
  .faq__q { padding: 18px 20px; font-size: 16px; }
  .faq__a p { padding: 0 20px 20px; }
  .cta__box { padding: 36px 24px; text-align: center; justify-content: center; }
  .cta__box .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .floating { right: 14px; bottom: 14px; }
  .floating__btn { width: 50px; height: 50px; }

  .modal { padding: 0; align-items: end; }
  .modal__dialog { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; max-height: 94vh; padding: 16px; transform: translateY(100%); }
  .modal__visual { order: -1; border-radius: 16px; }
  .modal__form { padding: 16px 8px 10px; }
  .modal__logo { margin-bottom: 26px; width: 120px; }
  .lightbox__nav { position: absolute; bottom: 30px; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}

@media (max-width: 420px) {
  .events__grid { grid-template-columns: 1fr; }
  .stat__num { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Language switcher ---------- */
.lang { position: relative; flex: none; }
.lang__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-100); transition: background .2s, box-shadow .2s; }
.lang__btn:hover, .lang.is-open .lang__btn { background: var(--orange-50); box-shadow: 0 0 0 2px var(--orange-200); }
.flag-ic { display: inline-block; flex: none; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.flag-ic svg { display: block; width: 100%; height: 100%; stroke: none; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; min-width: 180px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(22,17,13,.18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; font-weight: 600; font-size: 15px; text-align: left; transition: background .2s, color .2s; }
.lang__menu button:hover { background: var(--grey-100); }
.lang__menu button.is-active { background: var(--orange-50); color: var(--orange-600); }
@media (max-width: 768px) {
  .lang__btn { width: 42px; height: 42px; }
  .flag-ic { width: 24px; height: 24px; }
}
@media (min-width: 1025px) and (max-width: 1140px) {
  .nav > a { padding: 9px 7px; font-size: 14px; }
  .header__actions { gap: 8px; }
}

/* Phone numbers never break onto two lines */
.header__phone, .header__phone span, .nav__phone, .footer__phone, .location__list a[href^="tel:"] { white-space: nowrap; }
.header__actions { flex: none; }
/* Keep the header on one row at every width: tighter links, phone shows only its icon below 1300px */
@media (min-width: 1025px) {
  .nav > a { padding: 9px 11px; }
}
@media (min-width: 1025px) and (max-width: 1300px) {
  .header__phone span { display: none; }
}
@media (min-width: 1025px) and (max-width: 1140px) {
  .nav > a { padding: 9px 6px; font-size: 14px; }
}
@media (max-width: 768px) {
  /* Long button labels (Russian) wrap instead of running out of the button */
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
}
@media (max-width: 600px) {
  /* Pricing tabs as a 2×2 grid so every tab is visible without sideways scrolling */
  .tabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; border-radius: 20px; }
  .tab { white-space: normal; text-align: center; line-height: 1.2; padding: 10px 8px; }
}
/* Popup slide fine-tuning */
.sm-text { width: 46cqw; }
.sm-title { white-space: nowrap; font-size: 3.8cqw; }
.sa-text { width: 46cqw; }
.sa-phone--back { right: 21cqw; }
/* Phone-sized carousel: drop the small print, enlarge the headline */
@container (max-width: 480px) {
  .sm-tags, .sa-list { display: none; }
  .sm-kicker { font-size: 4.6cqw; }
  .sm-title { font-size: 5cqw; }
  .sa-badge { font-size: 2.6cqw; }
  .sa-title { font-size: 6.4cqw; margin-bottom: 0; }
}
.sm-posters { right: 1cqw; width: 40cqw; }
.sm-posters img { width: 15cqw; }
@media (max-width: 768px) {
  .modal__visual { width: 100%; max-width: 520px; justify-self: center; }
}
.sm-posters { right: 3cqw; }
@container (max-width: 480px) {
  .sm-title { font-size: 4.5cqw; }
  .sm-posters { width: 36cqw; right: 2cqw; }
  .sm-posters img { width: 13.5cqw; }
}

/* ---------- Branch switcher (Bizning manzilimiz): same pill tabs as pricing ---------- */
.location__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tabs.branch-tabs { display: flex; flex-wrap: nowrap; width: 100%; margin: 0; overflow: visible; border-radius: 999px; }
.branch-tabs .tab { flex: 1 1 0; min-width: 0; padding: 11px 8px; text-align: center; white-space: nowrap; }
.location__map .map-pin[hidden], .location__map .map-pulse[hidden] { display: none; }
@media (max-width: 600px) {
  .tabs.branch-tabs { display: flex; border-radius: 999px; }
  .branch-tabs .tab { padding: 10px 4px; font-size: 13.5px; }
}
@media (max-width: 360px) {
  .branch-tabs .tab { padding: 10px 2px; font-size: 12.5px; }
}

/* ---------- Results tabs + national certificate posters ---------- */
.tabs.results-tabs { display: flex; flex-wrap: nowrap; width: min(560px, 100%); margin: 26px auto 0; overflow: visible; border-radius: 999px; }
.results-tabs .tab { flex: 1 1 0; min-width: 0; padding: 11px 8px; text-align: center; white-space: nowrap; }
.results__empty { text-align: center; color: var(--grey-600); font-weight: 600; padding: 70px 16px; margin: 0; }
.result--poster { width: 340px; height: auto; aspect-ratio: 819 / 1024; padding: 0; background: #fff; }
.result__poster { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; cursor: none; }
.result--poster .result__poster img, .result--poster:hover .result__poster img { transform: none; }
.lens__inner .result__poster { position: absolute; inset: 0; }
@media (max-width: 760px) {
  .tabs.results-tabs { display: flex; border-radius: 999px; }
  .results-tabs .tab { padding: 10px 4px; font-size: 13.5px; }
  .result--poster { width: 270px; height: auto; }
}
@media (max-width: 380px) { .results-tabs .tab { font-size: 12.5px; padding: 10px 2px; } }
.rc-level { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: linear-gradient(135deg, var(--orange-400), var(--orange)); color: #fff; font-style: normal; font-size: 12px; letter-spacing: .04em; vertical-align: 1px; }

/* ---------- Courses (SEO text block) ---------- */
.courses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.course-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(255,107,0,.08); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,107,0,.35); }
.course-card__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--orange-50); color: var(--orange-600); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.course-card h3 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.course-card p { font-size: 15px; line-height: 1.6; color: var(--grey-600); margin: 0; }
@media (max-width: 1024px) { .courses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .courses__grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; } .course-card { padding: 22px 20px; } }

/* Branch dropdown in the lead form */
.field--select { position: relative; }
.field select { flex: 1; min-width: 0; border: 0; background: transparent; padding: 17px 52px 17px 22px; font: inherit; font-size: 16px; outline: none; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; }
.field select.is-empty { color: #8a8480; }
.field select option { color: var(--ink); }
.field__chevron { position: absolute; right: 22px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
