/* Atlas & Anchor Overseas v2 — inspired by infinitegroup.global */

:root {
  --blue: #101f8e;
  --blue-deep: #0b1668;
  --blue-ink: #071047;
  --blue-soft: #eef1fb;
  --blue-mid: #4353c6;
  --gold: #d9b64a;
  --ink: #1c2430;
  --muted: #5b6577;
  --white: #ffffff;
  --card-shadow: 0 18px 50px rgba(16, 31, 142, 0.10);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, sans-serif;
  color: var(--ink);
  background: #f7f9fe;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1120px, 90%); margin: 0 auto; }

/* ================= Header ================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  background: var(--blue-deep);
  transition: background 0.3s;
}
.site-header .bar {
  width: min(1240px, 94%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand svg.logo { height: 44px; width: auto; flex: none; display: block; }
.brand .mark {
  width: 46px; height: 46px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.85); border-radius: 50%;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 1px;
}
.brand .word { font-weight: 800; font-size: 1.25rem; letter-spacing: 2.5px; line-height: 1.1; text-transform: uppercase; }
.brand .word small { display: block; font-weight: 400; font-size: 0.6rem; letter-spacing: 3.5px; opacity: 0.75; }

.menu-btn {
  background: none; border: none; cursor: pointer; padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.menu-btn span { display: block; width: 30px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.3s var(--ease); }
.menu-btn:hover span:nth-child(2) { width: 20px; }

/* Fullscreen overlay menu */
.overlay-menu {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--blue-deep);
  padding: 26px 5% 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-3%);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.overlay-menu.open { opacity: 1; visibility: visible; transform: none; }
.overlay-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8vh; }
.overlay-close {
  background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1;
  transition: transform 0.3s;
}
.overlay-close:hover { transform: rotate(90deg); }
.overlay-menu nav a {
  display: block; color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 500; padding: 1.4vh 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.2s;
}
.overlay-menu.open nav a { opacity: 1; transform: none; }
.overlay-menu nav a:hover { color: var(--gold); }
.overlay-menu nav a small { font-size: 0.85rem; opacity: 0.55; margin-left: 16px; letter-spacing: 1px; }
.overlay-actions { margin-top: 5vh; display: flex; gap: 16px; flex-wrap: wrap; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease);
}
.btn-ghost { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16,31,142,0.3); }
.btn-line { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-line:hover { background: var(--blue); color: #fff; }
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(5px); }

/* ================= Hero ================= */
.hero {
  min-height: 100vh;
  min-height: 100svh; /* mobile browsers: excludes address bar */
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 800px at 80% -20%, #14238f 0%, #0b1668 55%, #050b33 100%);
  color: #fff;
  padding: 140px 0 80px;
}
.hero .orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
  animation: drift 16s ease-in-out infinite alternate;
}
.hero .orb.o1 { width: 480px; height: 480px; background: #2438b9; top: -120px; right: -80px; }
.hero .orb.o2 { width: 380px; height: 380px; background: #0d2fbd; bottom: -140px; left: -100px; animation-delay: -6s; }
.hero .orb.o3 { width: 220px; height: 220px; background: rgba(217,182,74,0.5); top: 40%; right: 22%; animation-delay: -11s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}
.hero .grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.4px);
  background-size: 30px 30px;
}
.hero video.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55; filter: saturate(0.9) contrast(1.02);
}
.hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,11,51,0.72) 0%, rgba(5,11,51,0.45) 45%, rgba(5,11,51,0.88) 100%);
}
.video-failed video { display: none !important; }

/* Hide iOS/Safari native play-button overlay on background/ambient videos */
.hero video.bg::-webkit-media-controls,
.hero video.bg::-webkit-media-controls-start-playback-button,
.reel video::-webkit-media-controls,
.reel video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
}
.hero video.bg, .reel video { pointer-events: none; }

/* ================= Shorts / reels ================= */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reel {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 9 / 16; background: linear-gradient(160deg, #17278f, #071047);
  box-shadow: var(--card-shadow); cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.reel:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 26px 70px rgba(16,31,142,0.22); }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 46px 18px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(4,9,40,0.88));
  font-size: 0.92rem; font-weight: 600; line-height: 1.4;
}
.reel .cap small { display: block; font-weight: 400; font-size: 0.74rem; color: #b9c4ea; margin-top: 3px; }
.reel .live {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(4,9,40,0.65); backdrop-filter: blur(4px);
  color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.reel .live::before { content: "●"; color: var(--gold); margin-right: 6px; }
.reel .snd {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(4,9,40,0.65); color: #fff; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) { .reels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reels { grid-template-columns: 1fr 1fr; gap: 12px; } .reel .cap { font-size: 0.78rem; padding: 30px 12px 12px; } }

/* ================= Photo service rows ================= */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow); margin-bottom: 40px;
  min-height: 380px;
}
.svc-row .pic { position: relative; min-height: 280px; }
.svc-row .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-row .pic::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(16,31,142,0.28), transparent 55%);
}
.svc-row .txt { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }
.svc-row .num {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 3px; color: var(--gold);
  margin-bottom: 14px; text-transform: uppercase;
}
.svc-row h3 { font-size: 1.7rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 16px; line-height: 1.25; }
.svc-row p { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }
.svc-row.flip .pic { order: 2; }
.svc-row.flip .txt { order: 1; }
@media (max-width: 860px) {
  .svc-row, .svc-row.flip { grid-template-columns: 1fr; }
  .svc-row.flip .pic { order: 0; } .svc-row.flip .txt { order: 1; }
  .svc-row .txt { padding: 36px 28px; }
}

/* ================= Google reviews ================= */
.g-head { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.g-score {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 16px; box-shadow: var(--card-shadow);
  padding: 18px 28px;
}
.g-score .g-logo { font-weight: 800; font-size: 1.5rem; }
.g-score .g-logo b:nth-child(1){color:#4285F4}.g-score .g-logo b:nth-child(2){color:#EA4335}.g-score .g-logo b:nth-child(3){color:#FBBC05}.g-score .g-logo b:nth-child(4){color:#4285F4}.g-score .g-logo b:nth-child(5){color:#34A853}.g-score .g-logo b:nth-child(6){color:#EA4335}
.g-score .val { font-size: 2rem; font-weight: 800; color: var(--blue-deep); }
.g-score .st { color: #f5b301; font-size: 1.1rem; letter-spacing: 2px; }
.g-score small { display: block; color: var(--muted); font-size: 0.8rem; }
.topic-chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.topic-chips span {
  background: var(--blue-soft); color: var(--blue); font-weight: 600; font-size: 0.85rem;
  padding: 9px 20px; border-radius: 999px;
}
.topic-chips span b { color: var(--blue-deep); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card {
  background: #fff; border-radius: 20px; box-shadow: var(--card-shadow);
  padding: 36px 34px; position: relative;
  transition: transform 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); }
.review-card .rev-stars { color: #f5b301; letter-spacing: 3px; margin-bottom: 14px; font-size: 1.05rem; }
.review-card p { color: var(--ink); font-size: 0.98rem; font-style: italic; margin-bottom: 22px; }
.review-card .who { display: flex; align-items: center; gap: 14px; }
.review-card .who .av {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.review-card .who b { display: block; color: var(--blue-deep); font-size: 0.95rem; }
.review-card .who small { color: var(--muted); font-size: 0.8rem; }
.review-card .g-mini { position: absolute; top: 30px; right: 30px; font-weight: 800; font-size: 1.3rem; color: #4285F4; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ================= News grid (insights page) ================= */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-grid .news-card { max-width: none; padding: 40px 34px; }
.news-grid .news-card h3 { font-size: 1.2rem; }
.news-meta { color: var(--muted); font-size: 0.82rem; margin-bottom: 14px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  font-weight: 700; line-height: 1.16; letter-spacing: -0.5px;
  min-height: 2.4em;
}
.hero h1 .type { color: #fff; }
.hero h1 .caret {
  display: inline-block; width: 3px; height: 0.95em; background: var(--gold);
  margin-left: 6px; vertical-align: -0.12em;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero p.sub {
  margin: 26px 0 44px; max-width: 560px;
  color: #b9c4ea; font-size: 1.08rem; font-weight: 400;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero .scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  color: #8f9cd4; font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* Inner page hero */
.page-hero {
  background: linear-gradient(180deg, #0b1668 0%, #0d1a7e 55%, #071047 100%);
  color: #fff; padding: 190px 0 90px; position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.15; }
.page-hero p { color: #b9c4ea; max-width: 620px; margin-top: 18px; font-size: 1.05rem; }

/* ================= Sections ================= */
section.sec { padding: 110px 0; }
section.sec.tint { background: var(--blue-soft); }
section.sec.dark { background: var(--blue-ink); color: #fff; }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; color: var(--blue-deep);
  letter-spacing: -0.4px;
}
.sec.dark .sec-head h2 { color: #fff; }
.sec-head p { color: var(--muted); max-width: 660px; margin: 16px auto 0; font-size: 1.02rem; }
.sec.dark .sec-head p { color: #aab4dd; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ================= Big stacked cards (Infinite-style) ================= */
.stack { display: flex; flex-direction: column; gap: 34px; max-width: 860px; margin: 0 auto; }
.big-card {
  background: #fff; border-radius: var(--radius); padding: 64px 56px;
  box-shadow: var(--card-shadow); text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.big-card:hover { transform: translateY(-6px); box-shadow: 0 26px 70px rgba(16,31,142,0.16); }
.big-card .glyph {
  width: 74px; height: 74px; margin: 0 auto 26px;
  border-radius: 18px; background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.big-card h3 { font-size: 1.6rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 14px; }
.big-card p { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }
.big-card .wordmark {
  font-weight: 800; font-size: 1.7rem; letter-spacing: 1px; color: var(--blue);
  margin-bottom: 20px;
}
.big-card .wordmark em { font-style: normal; color: var(--gold); }

/* ================= Split / audience tabs ================= */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.aud-tabs { display: flex; gap: 0; border-bottom: 2px solid #dfe4f5; margin-bottom: 30px; }
.aud-tab {
  background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 1.05rem; font-weight: 600; color: var(--muted);
  padding: 14px 26px; position: relative;
}
.aud-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--blue); transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.aud-tab.active { color: var(--blue); }
.aud-tab.active::after { transform: scaleX(1); }
.aud-panel { display: none; }
.aud-panel.active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.aud-panel h3 { font-size: 1.5rem; color: var(--blue-deep); margin-bottom: 16px; line-height: 1.3; }
.aud-panel p { color: var(--muted); margin-bottom: 26px; }
.aud-visual {
  min-height: 430px; position: relative; overflow: hidden;
  background: transparent;
  display: flex; align-items: flex-end; justify-content: center;
}
.aud-visual canvas { width: min(100%, 560px); height: auto; aspect-ratio: 1; display: block; }
.aud-visual .big-emoji { font-size: 7rem; filter: saturate(0.9); }
.aud-visual .ring {
  position: absolute; border: 1.5px solid rgba(255,255,255,0.14); border-radius: 50%;
}
.aud-visual .ring.r1 { width: 300px; height: 300px; }
.aud-visual .ring.r2 { width: 420px; height: 420px; }
.aud-visual .ring.r3 { width: 540px; height: 540px; }

/* ================= Counters ================= */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.counter .num {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; color: #fff; line-height: 1.1;
}
.counter .num i { font-style: normal; color: var(--gold); }
.counter .lbl { color: #aab4dd; margin-top: 10px; font-size: 0.95rem; }

/* ================= Marquee ================= */
.marquee { overflow: hidden; position: relative; padding: 10px 0; }
.marquee .track { display: flex; gap: 26px; width: max-content; animation: slide 30s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.logo-chip {
  flex: none; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 14px; box-shadow: 0 8px 26px rgba(16,31,142,0.07);
  padding: 26px 44px; font-weight: 700; color: var(--blue-deep); font-size: 1.05rem;
  letter-spacing: 0.4px; white-space: nowrap;
}
.logo-chip small { display: block; font-weight: 500; color: var(--muted); letter-spacing: 2px; font-size: 0.62rem; text-transform: uppercase; }
.more-note { text-align: center; margin-top: 30px; font-weight: 700; color: var(--blue); font-size: 1.1rem; }

/* ================= Insights cards ================= */
.news-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 54px 48px; text-align: center; max-width: 860px; margin: 0 auto;
}
.news-card .src { display: inline-block; background: var(--blue-soft); color: var(--blue); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; padding: 7px 18px; border-radius: 999px; margin-bottom: 22px; }
.news-card h3 { font-size: 1.55rem; color: var(--blue-deep); line-height: 1.35; margin-bottom: 14px; }
.news-card p { color: var(--muted); max-width: 640px; margin: 0 auto 26px; }

/* ================= Course finder ================= */
.finder-bar {
  background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 30px; display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; align-items: end;
  margin-bottom: 36px;
}
label { font-weight: 600; font-size: 0.85rem; color: var(--blue-deep); display: block; margin-bottom: 8px; }
input, select, textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid #dfe4f5; border-radius: 12px;
  font-size: 0.95rem; font-family: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 4px rgba(67,83,198,0.12); }
.finder-count { color: var(--muted); margin-bottom: 20px; font-size: 0.92rem; }
.course-row {
  background: #fff; border-radius: 18px; box-shadow: 0 8px 26px rgba(16,31,142,0.06);
  padding: 28px 32px; margin-bottom: 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.course-row:hover { transform: translateY(-3px); box-shadow: var(--card-shadow); }
.course-row h3 { color: var(--blue-deep); font-size: 1.1rem; }
.course-row .uni { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.course-tags { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.course-tags span { font-size: 0.74rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.course-tags span.alt { background: #faf3dd; color: #937712; }
.no-results { text-align: center; color: var(--muted); padding: 50px; }

/* ================= Forms ================= */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-success { display: none; background: #e8f6ec; border: 1px solid #b7e0c3; color: #1e6b38; padding: 16px 20px; border-radius: 12px; margin-top: 18px; font-weight: 600; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* ================= Contact info ================= */
.info-line { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid #e6eaf7; }
.info-line:last-child { border-bottom: none; }
.info-line .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-line b { color: var(--blue-deep); display: block; margin-bottom: 2px; }
.info-line span { color: var(--muted); font-size: 0.95rem; }

/* ================= CTA band ================= */
.cta-final {
  background: radial-gradient(800px 400px at 20% 120%, rgba(217,182,74,0.25), transparent 60%),
              linear-gradient(135deg, var(--blue-deep), var(--blue-ink));
  color: #fff; text-align: center; padding: 110px 0;
}
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin-bottom: 18px; }
.cta-final p { color: #aab4dd; max-width: 560px; margin: 0 auto 40px; }

/* ================= Footer ================= */
footer.site-footer { background: var(--blue-ink); color: #a7b1d8; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.2fr; gap: 56px; padding: 80px 0 50px; }
.footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; font-weight: 600; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a { color: #a7b1d8; font-size: 0.95rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 320px; }
.footer-contact div { margin-bottom: 14px; font-size: 0.92rem; line-height: 1.6; }
.footer-contact b { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; text-align: center; font-size: 0.82rem; }

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .audience { grid-template-columns: 1fr; }
  .aud-visual { min-height: 300px; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .finder-bar { grid-template-columns: 1fr 1fr; }
  .big-card { padding: 46px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .course-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .finder-bar { grid-template-columns: 1fr; }
  section.sec { padding: 80px 0; }
}

/* ================= Scroll progress + floaters ================= */
#scrollbar-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--blue-mid));
  z-index: 1200; transition: width 0.1s linear;
}
.floaters { position: fixed; right: 20px; bottom: 20px; z-index: 950; display: flex; flex-direction: column; gap: 12px; }
.floaters a, .floaters button {
  width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(7, 16, 71, 0.3);
  transition: transform 0.2s var(--ease), opacity 0.3s;
}
.floaters a:hover, .floaters button:hover { transform: scale(1.1); }
.float-wa { background: #25d366; color: #fff; }
.float-top { background: var(--blue); color: #fff; opacity: 0; pointer-events: none; }
.float-top.show { opacity: 1; pointer-events: auto; }

/* ================= FAQ accordion ================= */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: 16px; box-shadow: 0 8px 26px rgba(16,31,142,0.06);
  margin-bottom: 14px; overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; font-size: 1.02rem; font-weight: 600; color: var(--blue-deep); text-align: left;
}
.faq-q .chev { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease); font-size: 0.8rem; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 0.97rem; }

/* ================= Cost calculator ================= */
.calc {
  background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 40px; max-width: 860px; margin: 0 auto;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.calc-out {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-ink));
  border-radius: 18px; color: #fff; padding: 34px; text-align: center;
}
.calc-out .range { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; color: var(--gold); }
.calc-out .lbl { color: #aab4dd; font-size: 0.9rem; margin-top: 6px; }
.calc-out .split { display: flex; justify-content: center; gap: 40px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); flex-wrap: wrap; }
.calc-out .split b { display: block; font-size: 1.15rem; }
.calc-out .split span { font-size: 0.8rem; color: #aab4dd; }
.calc-note { font-size: 0.8rem; color: var(--muted); margin-top: 16px; text-align: center; }
@media (max-width: 700px) { .calc-grid { grid-template-columns: 1fr; } .calc { padding: 26px; } }

/* ================= Focus & micro-polish ================= */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(217,182,74,0.7); outline-offset: 2px;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(7,16,71,0.25); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .orb { animation: none; }
  .marquee .track { animation-duration: 80s; }
}

/* ================= Mobile hero fixes ================= */
@media (max-width: 700px) {
  .hero { padding: 110px 0 90px; }
  .hero h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.3rem);
    min-height: 3.5em; /* reserve space so typewriter wrapping doesn't jump the layout */
    word-break: break-word;
  }
  .hero p.sub { font-size: 0.98rem; margin: 18px 0 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; text-align: center; }
  .hero .orb.o1 { width: 300px; height: 300px; }
  .hero .orb.o2 { width: 240px; height: 240px; }
  .hero .scroll-hint { display: none; }
  .page-hero { padding: 140px 0 60px; }
  .site-header .bar { padding: 14px 0; }
  .brand .word { font-size: 1rem; letter-spacing: 1.6px; }
  .brand .word small { font-size: 0.52rem; letter-spacing: 2.2px; }
  .brand .mark { width: 38px; height: 38px; font-size: 0.8rem; }
  .brand svg.logo { height: 34px; }
}
