/* =====================================================================
   Educare Overseas — stylesheet
   Layout & look follow the chosen template (Poppins, navy + orange).
   Change the colours in :root to re-theme the whole site.
   ===================================================================== */
:root {
  --primary: #acd04a;        /* logo green – buttons, bars, fills */
  --primary-dark: #97bc33;   /* hover on green fills */
  --primary-ink: #4f7a12;    /* deeper logo green – text, icons, borders on white */
  --on-primary: #131022;     /* text on green fills (white is unreadable on light green) */
  --primary-deep: #17220d;   /* dark green-black – top bar, overlays, table headers */
  --accent: #e58013;         /* orange – icons, highlights */
  --accent-dark: #c96c0b;
  --heading: #131022;
  --text: #555554;
  --muted: #8a8a8a;
  --line: #e4e4e4;
  --soft: #f7f7f7;
  --soft-2: #f5f8ee;
  --dark: #0b0b0b;           /* dark content sections */
  --dark-card: #1c1c1c;
  --footer: #050b18;
  --white: #fff;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(19, 16, 34, .08);
  --shadow-lg: 0 20px 50px rgba(19, 16, 34, .16);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1280px;
  --header-h: 100px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; font: 400 16px/1.75 var(--font); color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font); color: var(--heading); margin: 0 0 .5em; line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 600; color: var(--heading); }
svg { width: 1em; height: 1em; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 90px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #cfcfcf; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.text-primary { color: var(--primary-ink); }
.text-accent { color: var(--accent); }
.center { text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--primary); color: var(--on-primary); font-weight: 600; padding: 10px 18px; border-radius: 6px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Headings ---------- */
.sub { display: block; font-size: 1.1rem; font-weight: 400; color: var(--primary-ink); margin-bottom: 4px; }
.sub--accent { color: var(--accent); }
.title-primary { color: var(--primary-ink); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 { margin: 0; }
.sec-head--line { padding-bottom: 28px; border-bottom: 2px dashed #c9c9c9; margin-bottom: 48px; }
.sec-head--center { justify-content: center; text-align: center; }
.lead { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 999px; font: 500 1rem/1 var(--font);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: var(--on-primary); font-weight: 600; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(120,150,40,.7); }
.btn--accent { background: var(--accent); color: #fff; border-radius: 4px; padding: 12px 22px; font-size: .92rem; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--outline-light { border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--primary-ink); }
.btn--black { background: #000; color: #fff; }
.btn--black:hover { background: var(--accent); }
.btn--outline { border-color: var(--primary-ink); color: var(--primary-ink); }
.btn--outline:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn--sm { padding: 12px 26px; font-size: .95rem; }
.btn--block { width: 100%; }

.more-link { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--heading); }
.more-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more-link:hover { color: var(--accent); }
.more-link:hover svg { transform: translateX(4px); }

/* orange circled-arrow list (template signature) */
.arrow-list { display: grid; gap: 8px; margin: 0 0 24px; }
.arrow-list li { position: relative; padding-left: 32px; color: var(--heading); font-size: 1.02rem; }
.arrow-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%;
  border: 1.6px solid var(--accent);
  background: no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23e58013' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M4 12h15m-6-7 7 7-7 7'/%3E%3C/svg%3E");
}
.section--dark .arrow-list li { color: #e9e9e9; }
.arrow-list--2col { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.dot-list { list-style: disc; padding-left: 22px; margin-bottom: 1.1em; }
.dot-list li { margin-bottom: 6px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary-deep); color: #fff; font-size: .9rem; }
.topbar__inner { width: min(1400px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--accent); }
.topbar__mail svg { width: 15px; height: 15px; }
.topbar__badge { background: var(--accent); color: #fff !important; font-weight: 600; padding: 6px 12px; border-radius: 4px; font-size: .85rem; animation: blink 2.4s ease-in-out infinite; }
.topbar__badge:hover { background: #fff; color: var(--accent) !important; }
@keyframes blink { 50% { box-shadow: 0 0 0 4px rgba(229,128,19,.25); } }
.topbar__links { display: flex; align-items: center; gap: 8px; }
.topbar__links span { opacity: .6; }
.topbar__social { display: flex; gap: 18px; }
.topbar__social svg { width: 17px; height: 17px; }
.topbar__right { display: flex; align-items: center; gap: 36px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eee; transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.header__inner { width: min(1400px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .3s; }
.header.is-scrolled .header__inner { height: 80px; }
.logo img { width: 210px; height: auto; }
.nav__list { display: flex; align-items: center; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px;
  font-size: 1rem; color: var(--heading); white-space: nowrap;
}
.nav__link svg { width: 14px; height: 14px; transition: transform .25s; }
.nav__link:hover, .nav__item.is-current > .nav__link { color: var(--primary-ink); }
.nav__item.is-current > .nav__link { font-weight: 500; }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; padding: 10px 0;
  border-top: 3px solid var(--primary); box-shadow: var(--shadow-lg); border-radius: 0 0 10px 10px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s var(--ease);
}
.drop a { display: block; padding: 9px 22px; font-size: .95rem; color: var(--heading); }
.drop a:hover, .drop a.is-current { color: var(--accent); background: var(--soft); }
.drop--mega { display: grid; grid-template-columns: repeat(2, 260px); padding: 18px 8px; left: 50%; transform: translate(-50%, 10px); }
.drop--mega h5 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 4px 22px 6px; }
@media (min-width: 1201px) {
  .nav__item:hover > .drop, .nav__item:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
  .nav__item:hover > .drop--mega, .nav__item:focus-within > .drop--mega { transform: translate(-50%, 0); }
  .nav__item:hover > .nav__link svg { transform: rotate(180deg); }
}
.nav__mobile-extra { display: none; }

.header__call { display: flex; align-items: center; gap: 10px; line-height: 1.15; }
.header__call svg { width: 38px; height: 38px; color: var(--primary-ink); }
.header__call small { display: block; color: var(--accent); font-size: 1rem; font-weight: 500; }
.header__call strong { font-size: 1.3rem; color: var(--primary-ink); font-weight: 600; white-space: nowrap; }
.header__call:hover strong { color: var(--accent); }
.burger { display: none; width: 46px; height: 46px; border-radius: 8px; background: var(--primary); color: var(--on-primary); place-items: center; }
.burger svg { width: 24px; height: 24px; }

/* ---------- Page title band (inner pages) ---------- */
.page-title { background: var(--soft); border-bottom: 1px solid #ececec; padding: 34px 0 30px; text-align: center; }
.page-title h1 { margin: 0 0 6px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--heading); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 4px; }
.crumbs em { font-style: normal; color: var(--muted); }

/* ---------- Home hero (banner slider) ---------- */
.hero { padding: 0 30px; }
.hero__slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: clamp(560px, 46vw, 660px); background: var(--primary-deep); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active > img { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,34,13,.94) 0%, rgba(23,34,13,.8) 38%, rgba(23,34,13,.1) 72%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 760px; padding: 40px clamp(28px, 6vw, 90px); color: #e8ecf5; }
.hero__badge { align-self: flex-start; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 16px; letter-spacing: .02em; }
.hero__content h1, .hero__content h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; margin-bottom: 12px; }
.hero__content h1 span, .hero__content h2 span { color: var(--accent); }
.hero__content p { font-size: 1.08rem; max-width: 520px; }
.hero__ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin: 4px 0 28px; }
.hero__ticks li { display: flex; gap: 10px; align-items: center; font-size: .97rem; color: #fff; }
.hero__ticks svg { width: 20px; height: 20px; color: var(--accent); }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__slide.is-active .hero__content > * { animation: heroIn .9s var(--ease) both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .3s; }
.hero__slide.is-active .hero__content > *:nth-child(5) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }
.hero__arrow { position: absolute; top: 50%; z-index: 3; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background .2s; }
.hero__arrow:hover { background: var(--accent); }
.hero__arrow svg { width: 22px; height: 22px; }
.hero__arrow--prev { left: 18px; } .hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .3s; }
.hero__dots button.is-active { background: var(--accent); width: 30px; border-radius: 6px; }

/* ---------- About (home + about page) ---------- */
.about { position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.about__text h4 { font-size: 1.2rem; margin: 0 0 20px; }
.about__media { position: relative; min-height: 560px; }
.about__media .img-main { position: absolute; right: 0; top: 0; width: 76%; aspect-ratio: 570/630; object-fit: cover; border-radius: 6px; }
.about__media .img-sub { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.about__bar { position: absolute; top: 0; left: 10%; width: 22px; height: 120px; border-radius: 12px; background: var(--primary); }
.exp-card { position: absolute; left: 0; top: 36%; z-index: 2; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 14px 20px; display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; }
.exp-card small { grid-column: 1 / -1; color: var(--primary-ink); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.exp-card strong { font-size: 3rem; line-height: 1; color: var(--accent); font-weight: 700; }
.exp-card span { font-size: .9rem; line-height: 1.4; color: var(--text); }
.about__arc { position: absolute; right: -40px; bottom: -40px; width: 320px; height: 320px; border-radius: 50%; border: 22px solid rgba(172,208,74,.06); border-left-color: transparent; border-top-color: transparent; transform: rotate(10deg); pointer-events: none; }

/* ---------- Country cards ---------- */
.countries { position: relative; padding-top: 30px; }
.countries::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: url("../assets/img/skyline.svg") repeat-x bottom/auto 100%; opacity: .5; pointer-events: none; z-index: -1; }
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 48px; }
.country-grid--4 { grid-template-columns: repeat(4, 1fr); }
.country-card { position: relative; display: block; border-radius: var(--radius); aspect-ratio: 408 / 392; }
.country-card__img { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; }
.country-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.country-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,34,13,0) 45%, rgba(23,34,13,.92) 100%); }
.country-card:hover .country-card__img img { transform: scale(1.07); }
.country-card__flag { position: absolute; z-index: 2; top: -48px; left: 20px; width: 100px; height: 100px; border-radius: 50%; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.25); border: 3px solid #fff; transition: transform .4s var(--ease); }
.country-card__flag img { width: 100%; height: 100%; object-fit: cover; }
.country-card__flag::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.65), rgba(255,255,255,0) 45%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.28), transparent 60%); }
.country-card:hover .country-card__flag { transform: translateY(-6px) rotate(-6deg); }
.country-card h3 { position: absolute; z-index: 2; left: 0; right: 0; bottom: 30px; text-align: center; color: #fff; font-size: clamp(1.25rem, 2vw, 1.85rem); margin: 0; }
.country-grid--4 .country-card h3 { font-size: 1.35rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--primary-deep); color: #e7ebf5; padding: 46px clamp(26px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/about_img01.webp") center/cover; opacity: .18; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,34,13,.97) 35%, rgba(79,122,18,.85)); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.65rem); margin-bottom: 10px; max-width: 760px; }
.cta-band p { margin: 0; font-size: 1.05rem; }
.cta-band__btns { display: grid; gap: 14px; }

/* ---------- Services (icons, no cards) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.service__icon { display: block; width: 60px; height: 60px; color: var(--primary-ink); margin-bottom: 18px; transition: transform .35s var(--ease), color .3s; }
.service:hover .service__icon { transform: translateY(-6px); color: var(--accent); }
.service__icon svg { width: 100%; height: 100%; }
.service h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service p { margin: 0; font-size: .97rem; }
.service--box { background: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); text-align: center; }
.service--box .service__icon { margin-inline: auto; }
.service--box h3 { color: var(--primary-ink); font-size: 1.2rem; }

/* ---------- Sliders (videos, testimonials) ---------- */
.slider-btns { display: flex; gap: 8px; }
.slider-btn { width: 46px; height: 46px; border: 1.5px solid var(--heading); border-radius: 4px; display: grid; place-items: center; color: var(--heading); transition: .2s; }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.slider-btn svg { width: 16px; height: 16px; }
.track { display: grid; grid-auto-flow: column; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 4px 24px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track--videos { grid-auto-columns: calc((100% - 90px) / 4); }
.track--testi { grid-auto-columns: calc((100% - 30px) / 2); }

.video-card { border-radius: var(--radius); overflow: hidden; background: var(--primary); display: flex; flex-direction: column; text-align: left; width: 100%; transition: transform .35s var(--ease), box-shadow .35s; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-card__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-card:hover .video-card__thumb img { transform: scale(1.06); }
.video-card__play { position: absolute; right: 16px; bottom: -28px; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.video-card__play svg { width: 20px; height: 20px; margin-left: 3px; }
.video-card__body { position: relative; padding: 22px 20px 22px; color: var(--on-primary); font-weight: 500; font-size: 1.05rem; line-height: 1.6; min-height: 120px; }
.video-card:hover .video-card__play { background: var(--accent); color: #fff; }

.testimonials { background: var(--soft-2); position: relative; overflow: hidden; }
.testimonials::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(135deg, rgba(172,208,74,.04) 25%, transparent 25%), linear-gradient(225deg, rgba(172,208,74,.04) 25%, transparent 25%); background-size: 120px 120px; pointer-events: none; }
.testimonials .container { position: relative; }
.testi-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 50px 56px 40px; margin: 34px 0 0; box-shadow: var(--shadow); }
.testi-card__quote { position: absolute; top: -34px; right: 40px; width: 90px; height: 90px; color: var(--primary-ink); }
.testi-card__stars { display: flex; gap: 4px; color: var(--accent); margin-bottom: 16px; }
.testi-card__stars svg { width: 22px; height: 22px; }
.testi-card p { font-size: 1.08rem; color: var(--heading); }
.testi-card__who { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.testi-card__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; }
.testi-card__who strong { color: var(--primary-ink); font-size: 1.2rem; font-weight: 500; display: block; }
.testi-card__who small { color: var(--muted); }
.testi-card--cta { display: flex; flex-direction: column; justify-content: center; background: var(--primary-deep); color: #dfe5f3; }
.testi-card--cta h3 { color: #fff; }
.testi-card--cta .testi-card__quote { color: var(--primary); }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__img { display: block; aspect-ratio: 409 / 214; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .88rem; color: var(--heading); margin-bottom: 8px; }
.post-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.post-card h3 a:hover { color: var(--primary-ink); }
.post-card p { font-size: .97rem; flex: 1; }

/* ---------- Contact (home block + forms) ---------- */
.contact-block { background: var(--soft-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-grid h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.info-list { display: grid; gap: 22px; margin: 30px 0 34px; }
.info-list li { display: flex; gap: 26px; align-items: flex-start; color: var(--heading); font-size: 1.08rem; }
.info-list svg { width: 38px; height: 38px; color: var(--accent); }
.info-list a:hover { color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow); height: 300px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map--wide { height: 450px; margin-top: 40px; border: 0; }

.form-card { background: #fff; border-radius: var(--radius); padding: 36px 30px 40px; box-shadow: var(--shadow); }
.form-card--soft { background: var(--soft); box-shadow: none; }
.form-card h2, .form-card h3 { margin-bottom: 8px; }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
.form-card__sub { font-size: 1.05rem; margin-bottom: 26px; color: var(--heading); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { display: block; margin-bottom: 18px; }
.field > span:first-child { display: block; font-weight: 600; font-size: .95rem; color: var(--heading); margin-bottom: 6px; }
.field > span:first-child i { color: #d93025; font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid #bdbdbd; border-radius: 2px; background: #fff;
  font: inherit; font-size: .95rem; color: var(--heading); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--primary-ink); box-shadow: 0 0 0 3px rgba(172,208,74,.35); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d93025; background: #fff6f5; }
.phone-input { display: flex; border: 1px solid #bdbdbd; border-radius: 2px; background: #fff; }
.phone-input:focus-within { border-color: var(--primary-ink); box-shadow: 0 0 0 3px rgba(172,208,74,.35); }
.phone-input__code { display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: .9rem; color: var(--heading); border-right: 1px solid #e3e3e3; }
.phone-input__code img { width: 20px; height: 14px; object-fit: cover; }
.phone-input input { border: 0 !important; box-shadow: none !important; }
.field.is-invalid .phone-input { border-color: #d93025; }
.captcha { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--heading); }
.captcha input { width: 70px; padding: 9px 10px; border: 1px solid #bdbdbd; border-radius: 2px; font: inherit; text-align: center; }
.captcha.is-invalid input { border-color: #d93025; background: #fff6f5; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--heading); margin-bottom: 24px; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--primary-ink); flex-shrink: 0; }
.consent em { color: var(--accent); font-style: normal; }
.consent.is-invalid { color: #d93025; }
.form-msg { font-size: .95rem; margin: 14px 0 0; min-height: 1.2em; font-weight: 500; }
.form-msg.is-ok { color: #1e8e3e; }
.form-msg.is-err { color: #d93025; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: #c9cbd3; padding-top: 70px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.15fr 1.15fr .9fr 1.6fr; gap: 40px; padding-bottom: 40px; }
.footer__about img { width: 230px; margin-bottom: 26px; }
.footer__about p { line-height: 1.7; }
.footer h4 { color: var(--accent); font-size: 1.35rem; font-weight: 500; padding-bottom: 14px; margin-bottom: 30px; position: relative; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100px; height: 2px; background: var(--accent); }
.footer__contact li { display: flex; gap: 18px; margin-bottom: 14px; align-items: flex-start; }
.footer__contact svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.footer__contact a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #3a3f4b; display: grid; place-items: center; transition: .25s; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__social svg { width: 20px; height: 20px; }
.footer__links { display: grid; gap: 16px; }
.footer__links--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer__links a { display: inline-flex; gap: 12px; align-items: center; transition: color .2s, transform .2s; }
.footer__links a::before { content: "→"; color: var(--accent); font-size: .9rem; }
.footer__links a:hover { color: var(--accent); transform: translateX(3px); }
.footer-acc { border-top: 1px solid #1d2331; }
.footer-acc details { border-bottom: 1px solid #1d2331; }
.footer-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 1.1rem; font-weight: 500; color: #d4d6dd; }
.footer-acc summary::-webkit-details-marker { display: none; }
.footer-acc summary svg { width: 16px; height: 16px; transition: transform .3s; }
.footer-acc details[open] summary svg { transform: rotate(180deg); }
.footer-acc details div { padding: 0 4px 20px; display: flex; flex-wrap: wrap; gap: 6px 0; }
.footer-acc details div a:not(:last-child)::after { content: "|"; margin: 0 12px; color: #4a5060; }
.footer-acc details div a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 0 30px; font-size: 1rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: var(--accent); }
.footer__legal a:not(:last-child)::after { content: "|"; margin: 0 10px; color: #4a5060; }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2s infinite; }
@keyframes waPulse { to { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 6px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-deep); color: #fff; }
.to-top svg { width: 20px; height: 20px; }
.mobile-bar { display: none; }

/* ---------- Modal (black popup like template) ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.65); opacity: 0; visibility: hidden; transition: .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(864px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #000; color: #fff; border-radius: 10px; padding: 36px 30px 30px; transform: translateY(24px) scale(.97); transition: transform .35s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__box h2 { color: #fff; text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 4px; display: grid; place-items: center; color: #fff; }
.modal__close:hover { background: var(--accent); border-color: var(--accent); }
.modal__close svg { width: 16px; height: 16px; }
.modal .field > span:first-child, .modal .captcha, .modal .consent { color: #fff; }
.modal .field input, .modal .field textarea { border-color: #fff; }
.modal .field textarea { min-height: 110px; }

.lightbox { position: fixed; inset: 0; z-index: 310; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 50px 16px; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner { width: min(1000px, 100%); }
.lightbox__inner img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox__inner iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; background: #000; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover { background: var(--accent); }
.lightbox__close svg { width: 22px; height: 22px; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */
.content h2 { color: var(--primary-ink); }
.content p { text-align: justify; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 34px; align-items: start; }
.sticky-side { position: sticky; top: 110px; }

/* Country page intro */
.c-intro { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 32px; align-items: start; }
.c-intro h2 { color: var(--primary-ink); font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.c-intro__media { display: grid; gap: 30px; }
.c-intro__flag { aspect-ratio: 408 / 272; border: 1px solid #eee; overflow: hidden; }
.c-intro__flag img { width: 100%; height: 100%; object-fit: cover; }
.c-intro__photo { aspect-ratio: 408/384; object-fit: cover; width: 100%; }
.facts p { margin-bottom: .7em; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 26px 0 0; }
.fact { background: var(--soft); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 8px 8px 0; }
.fact small { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fact strong { font-size: 1.05rem; color: var(--heading); }

/* sticky tab bar */
.tabs-bar { position: sticky; top: 80px; z-index: 50; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.tabs-bar__inner { display: flex; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
.tabs-bar__inner::-webkit-scrollbar { display: none; }
.tabs-bar a { flex: 1; text-align: center; padding: 20px 18px; font-size: 1.3rem; font-weight: 500; color: var(--heading); white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs-bar a:hover, .tabs-bar a.is-active { color: var(--primary-ink); border-bottom-color: var(--accent); }

/* fee table */
.table-wrap { overflow-x: auto; margin-top: 20px; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.fee-table th { background: var(--primary-deep); color: #fff; font-weight: 600; text-align: left; padding: 16px 18px; border: 1px solid #2c3d1c; }
.fee-table td { padding: 15px 18px; border: 1px solid #e5e5e5; color: var(--text); }
.fee-table tr:nth-child(even) td { background: #fafafa; }
.fee-table tr:last-child td { font-weight: 600; color: var(--heading); }
.note { font-size: .9rem; color: var(--muted); margin-top: 12px; font-style: italic; }

/* step cards */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.step { background: #fff; padding: 40px 40px 36px; box-shadow: 0 10px 30px rgba(0,0,0,.08); transition: transform .3s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step__num { width: 50px; height: 50px; border: 2px solid var(--heading); display: grid; place-items: center; font-size: 1.6rem; font-weight: 300; color: var(--heading); margin-bottom: 22px; transition: .3s; }
.step:hover .step__num { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { font-size: .97rem; margin: 0; }
.with-skyline { position: relative; }
.with-skyline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: url("../assets/img/skyline.svg") repeat-x bottom/auto 100%; opacity: .45; pointer-events: none; }
.with-skyline > .container { position: relative; z-index: 1; }

/* documents (dark) */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-top: 20px; }
.doc { display: flex; align-items: center; gap: 14px; background: var(--dark-card); border-radius: 6px; padding: 20px 22px; color: #eee; font-size: 1.1rem; transition: background .25s, transform .25s; }
.doc:hover { background: #262626; transform: translateX(4px); }
.doc::before { content: ""; width: 17px; height: 17px; flex-shrink: 0; border-radius: 50%; border: 1.6px solid var(--accent); background: no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23e58013' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M4 12h15m-6-7 7 7-7 7'/%3E%3C/svg%3E"); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split--wide { grid-template-columns: 1.15fr 1fr; }
.split img { width: 100%; object-fit: cover; }
.split__img { aspect-ratio: 517/548; }

/* why cards (icons) */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.why-card { background: #fff; border: 1px solid #ececec; border-radius: var(--radius); padding: 30px 28px; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.why-card__icon { width: 54px; height: 54px; border-radius: 12px; background: rgba(172,208,74,.2); color: var(--primary-ink); display: grid; place-items: center; margin-bottom: 18px; transition: .3s; }
.why-card__icon svg { width: 28px; height: 28px; }
.why-card:hover .why-card__icon { background: var(--primary); color: var(--on-primary); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { margin: 0; font-size: .95rem; }

/* uni list + uni cards */
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.uni-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.07); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.uni-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.uni-card__img { display: block; aspect-ratio: 413/207; overflow: hidden; }
.uni-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.uni-card:hover .uni-card__img img { transform: scale(1.06); }
.uni-card__body { padding: 26px 32px 30px; display: flex; flex-direction: column; flex: 1; }
.uni-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.uni-card h3 a:hover { color: var(--primary-ink); }
.uni-card__country { font-weight: 600; color: var(--text); margin-bottom: 14px; display: block; }
.uni-card p { font-size: .97rem; flex: 1; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.filter-bar button { padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .95rem; color: var(--heading); transition: .2s; }
.filter-bar button:hover { border-color: var(--primary-ink); color: var(--primary-ink); }
.filter-bar button.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.uni-card.is-hidden { display: none; }

/* university detail */
.uni-hero-img { width: 100%; aspect-ratio: 840/420; object-fit: cover; margin-bottom: 30px; }
.content .sub { margin-top: 10px; }
.info-table { width: 100%; border-collapse: collapse; margin: 10px 0 30px; }
.info-table th, .info-table td { padding: 13px 16px; border: 1px solid #e5e5e5; text-align: left; font-size: .98rem; }
.info-table th { width: 38%; background: var(--soft); color: var(--heading); font-weight: 600; }

/* sidebar widgets (blog) */
.widget { margin-bottom: 30px; }
.widget__title { background: var(--primary); color: var(--on-primary); text-align: center; font-size: 1.05rem; font-weight: 600; padding: 10px; margin: 0 0 20px; }
.widget__box { box-shadow: 0 6px 20px rgba(0,0,0,.07); padding: 14px 16px; }
.widget__list li { border-bottom: 1px solid #eee; padding: 10px 0; font-size: .93rem; display: flex; gap: 10px; }
.widget__list li:last-child { border-bottom: 0; }
.widget__list svg { width: 15px; height: 15px; margin-top: 5px; color: var(--muted); }
.widget__list a:hover { color: var(--primary-ink); }
.search-box { display: flex; border: 1px solid #ddd; }
.search-box input { flex: 1; border: 0; padding: 12px; font: inherit; font-size: .93rem; min-width: 0; }
.search-box input:focus { outline: 0; }
.search-box svg { width: 16px; height: 16px; margin: auto 12px; color: var(--muted); }
.wa-chat { display: flex; align-items: center; gap: 12px; margin: 0 auto 30px; width: max-content; background: #25d366; color: #fff; border-radius: 12px; padding: 10px 22px 10px 16px; line-height: 1.1; transition: transform .25s; }
.wa-chat:hover { transform: translateY(-3px); }
.wa-chat svg { width: 40px; height: 40px; }
.wa-chat small { display: block; font-size: .95rem; }
.wa-chat strong { color: #fff; font-size: 1.7rem; font-weight: 600; }

/* blog list + article */
.post-row { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #e5e5e5; }
.post-row:last-child { border-bottom: 0; }
.post-row__img { display: block; aspect-ratio: 885/463; overflow: hidden; margin-bottom: 26px; }
.post-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-row:hover .post-row__img img { transform: scale(1.04); }
.post-row h2 { font-size: 1.75rem; margin-bottom: 10px; }
.post-row h2 a:hover { color: var(--primary-ink); }
.post-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta svg { width: 14px; height: 14px; }
.article h2 { font-size: 1.6rem; color: var(--primary-ink); margin-top: 1.4em; }
.article h3 { font-size: 1.25rem; margin-top: 1.2em; }
.article .post-row__img { margin-bottom: 20px; }
.article-cta { background: var(--soft); border-left: 4px solid var(--accent); padding: 22px 26px; margin-top: 30px; border-radius: 0 10px 10px 0; }
.article-cta p { margin-bottom: 14px; color: var(--heading); }
.no-results { display: none; padding: 30px; text-align: center; background: var(--soft); border-radius: 10px; }

/* gallery */
.gallery-block { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 2px dashed #c9c9c9; }
.gallery-block:last-child { border-bottom: 0; margin-bottom: 0; }
.gallery-block h2 { color: var(--primary-ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 26px; }
.gallery-item { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(23,34,13,.45) no-repeat center/42px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/g%3E%3C/svg%3E"); opacity: 0; transition: opacity .3s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { text-align: center; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.team-card:hover { transform: translateY(-6px); }
.team-card__img { aspect-ratio: 1; background: linear-gradient(160deg, var(--soft-2), #e5efcc); display: grid; place-items: center; color: var(--primary-ink); overflow: hidden; }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; }
.team-card__img svg { width: 40%; height: 40%; opacity: .5; }
.team-card__body { padding: 22px 20px 26px; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card span { color: var(--accent); font-size: .95rem; }

/* mission cards */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mv-card { background: #fff; border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.mv-card h3 { color: var(--primary-ink); }
.mv-card p { margin: 0; }

/* contact page */
.contact-page { display: grid; grid-template-columns: 1.55fr 1fr; gap: 46px; align-items: start; }
.cinfo h2 { color: var(--primary-ink); font-size: 2rem; margin-bottom: 28px; }
.cinfo__item { margin-bottom: 26px; }
.cinfo__item h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 8px; }
.cinfo__item h3 svg { width: 24px; height: 24px; color: var(--primary-ink); }
.cinfo__item p, .cinfo__item a { padding-left: 36px; display: block; font-size: 1.05rem; color: var(--text); margin: 0 0 4px; }
.cinfo__item a:hover { color: var(--accent); }

/* legal */
.legal h2 { font-size: 1.4rem; color: var(--primary-ink); margin-top: 1.6em; }
.legal { max-width: 900px; }

/* reveal */
/* content is visible without JavaScript; animation only when JS runs */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1360px) {
  .nav__link { padding: 12px 11px; font-size: .96rem; }
  .logo img { width: 180px; }
  .header__call strong { font-size: 1.12rem; }
  .header__call svg { width: 32px; height: 32px; }
}
@media (max-width: 1200px) {
  :root { --header-h: 84px; }
  .burger { display: grid; }
  .header__call { margin-left: auto; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(360px, 88vw); background: #fff;
    padding: 80px 22px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.5); }
  .nav__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; }
  .nav__close svg { width: 22px; height: 22px; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid #eee; font-size: 1.02rem; }
  .drop, .drop--mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px 10px; display: none; min-width: 0; }
  .nav__item.is-open > .drop { display: block; }
  .nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
  .drop--mega h5 { margin: 10px 12px 4px; }
  .drop a { padding: 8px 12px; }
  .nav__mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
  .topbar__links { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .track--videos { grid-auto-columns: calc((100% - 60px) / 3); }
}
@media (min-width: 1201px) { .nav__close { display: none; } }
@media (max-width: 1024px) {
  .about__grid, .contact-grid, .c-intro, .layout-side, .contact-page, .split, .split--wide { grid-template-columns: 1fr; }
  .about__media { min-height: 0; aspect-ratio: 1.05; max-width: 600px; width: 100%; margin: 0 auto; }
  .c-intro__media { grid-template-columns: 1fr 1fr; }
  .sticky-side { position: static; }
  .services-grid, .blog-grid, .uni-grid, .steps, .why-grid, .team-grid, .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .country-grid--4 { grid-template-columns: repeat(2, 1fr); row-gap: 70px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .track--testi { grid-auto-columns: 85%; }
  .tabs-bar a { font-size: 1.05rem; }
  .topbar .topbar__badge { display: none; }
}
@media (max-width: 860px) {
  .country-grid { grid-template-columns: 1fr 1fr; row-gap: 70px; }
  .track--videos { grid-auto-columns: calc((100% - 30px) / 2); }
  .hero__slider { height: auto; min-height: 560px; }
  .hero__slide.is-active { position: relative; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(23,34,13,.25) 0%, rgba(23,34,13,.88) 38%, rgba(23,34,13,.96) 100%); }
  .hero__content { justify-content: flex-end; padding-top: 170px; padding-bottom: 64px; height: auto; }
  .content p, .content li { text-align: left; }
  .hero__arrow { display: none; }
  .header__call { display: none; }
  .topbar__social { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  html { scroll-padding-top: 90px; }
  body { font-size: 15px; padding-bottom: 60px; }
  .container { width: calc(100% - 32px); }
  .topbar__inner { justify-content: center; min-height: 40px; }
  .topbar__right { display: none; }
  .logo img { width: 150px; }
  .header.is-scrolled .header__inner { height: 68px; }
  .hero { padding: 0 12px; }
  .hero__ticks { grid-template-columns: 1fr; }
  .hero__btns .btn { flex: 1 1 100%; }
  .country-grid, .country-grid--4, .services-grid, .blog-grid, .uni-grid, .steps, .why-grid, .team-grid, .mv-grid, .doc-grid { grid-template-columns: 1fr; }
  .country-grid { row-gap: 66px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-row, .arrow-list--2col { grid-template-columns: 1fr; }
  .c-intro__media { grid-template-columns: 1fr; }
  .track--videos { grid-auto-columns: 82%; }
  .track--testi { grid-auto-columns: 92%; }
  .testi-card { padding: 44px 24px 28px; }
  .testi-card__quote { width: 64px; height: 64px; top: -26px; right: 24px; }
  .exp-card strong { font-size: 2.2rem; }
  .exp-card { padding: 10px 14px; }
  .step { padding: 30px 26px; }
  .tabs-bar { top: 68px; }
  .tabs-bar a { flex: 0 0 auto; padding: 14px 16px; font-size: .98rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .wa-float { display: none; }
  .to-top { right: 14px; bottom: 74px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 0; font-weight: 600; color: var(--on-primary); background: var(--primary); }
  .mobile-bar a:last-child { background: #25d366; color: #fff; }
  .mobile-bar svg { width: 20px; height: 20px; }
  .modal__box { padding: 30px 18px 22px; }
  .info-list li { gap: 16px; font-size: 1rem; }
  .info-list svg { width: 30px; height: 30px; }
  .cta-band__btns { width: 100%; }
}
