/* ============================================================
   GETS Abacus — light-theme marketing site
   Palette pulled from the brand logo (orange / maroon / ink)
   ============================================================ */
:root {
  --cream:    #FFF9F2;
  --cream-2:  #FFF1E3;
  --white:    #FFFFFF;
  --orange:   #F26A21;
  --orange-d: #D4551A;
  --maroon:   #A81E12;
  --ink:      #1C1B1A;
  --muted:    #6E655C;
  --line:     #EFE1D2;
  --shadow:   0 20px 50px rgba(168, 30, 18, 0.10);
  --shadow-sm:0 8px 24px rgba(168, 30, 18, 0.08);
  --radius:   20px;
  --maxw:     1180px;
  --font:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display:  "Poppins", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-d); background: #FFEAD9; padding: 6px 14px; border-radius: 999px;
}
.accent { color: var(--orange-d); }
.section { padding: 96px 0; position: relative; }
.section--tint { background: var(--cream-2); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ── Buttons ─────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display);
  font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--maroon)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(210, 85, 26, 0.35); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-d); }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; background: rgba(255, 249, 242, 0.82);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(168,30,18,.05); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: 0.96rem; transition: color .15s; }
.nav-links a:hover { color: var(--orange-d); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-login { font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--muted);
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); transition: all .15s; }
.nav-login:hover { color: var(--orange-d); border-color: var(--orange); background: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ── Scroll-film hero (canvas scrubbed by scroll) ── */
.scrollfilm { position: relative; height: 260vh; }
.film-stage { position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: radial-gradient(70% 70% at 60% 40%, #FFF6EC 0%, #FFF1E3 60%, #FCE9D6 100%); }
#filmCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-fade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(255,249,242,.98) 0%, rgba(255,249,242,.92) 36%, rgba(255,249,242,.4) 60%, rgba(255,249,242,0) 82%); }
.film-overlay { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; will-change: opacity, transform; }
.film-copy { max-width: 640px; }
.film-copy h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); margin: 22px 0 20px; }
.film-copy .lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted);
  font-family: var(--display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue i { font-style: normal; font-size: 1.1rem; animation: cueBob 1.6s ease-in-out infinite; }
@keyframes cueBob { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }

/* ── Recognition / Hall of Fame ──────────────────── */
.recog { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.recog-main { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.recog-main img { width: 100%; height: 100%; object-fit: cover; }
.recog-main .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px;
  background: linear-gradient(0deg, rgba(28,27,26,.82), transparent); color: #fff; }
.recog-main .cap b { font-family: var(--display); font-size: 1.1rem; display: block; }
.recog-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.recog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; }
.recog-card img { width: 44%; object-fit: cover; }
.recog-card .rc-body { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.recog-card .rc-body span { color: var(--orange-d); font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.recog-card .rc-body h3 { font-size: 1.1rem; margin: 6px 0 6px; }
.recog-card .rc-body p { color: var(--muted); font-size: .9rem; }

/* ── Hero ────────────────────────────────────────── */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 85% 10%, #FFE3CC 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 90%, #FFEBDA 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin: 22px 0 20px; }
.hero-copy p.lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 0.92rem; flex-wrap: wrap; }
.hero-trust strong { color: var(--ink); font-family: var(--display); }

/* hero visual: real photo + floating number chips */
.hero-visual { position: relative; }
.hero-photo { border-radius: 26px; box-shadow: var(--shadow); border: 6px solid #fff; transform: rotate(1.5deg); }
.hero-video { display: block; width: 100%; height: auto; object-fit: cover; background: var(--cream-2); }
.hero-badge { position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: 18px;
  padding: 14px 20px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 12px; }
.hero-badge .num { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--orange-d); }
.hero-badge .lbl { font-size: 0.8rem; color: var(--muted); line-height: 1.2; }
.chip { position: absolute; font-family: var(--display); font-weight: 700; color: var(--maroon);
  background: #fff; border: 2px solid #FFDCC2; border-radius: 14px; padding: 6px 12px; font-size: 1.1rem;
  box-shadow: var(--shadow-sm); animation: float 6s ease-in-out infinite; z-index: 3; }
.chip.c1 { top: -14px; left: 8%; color: var(--orange-d); animation-delay: 0s; }
.chip.c2 { top: 30%; right: -18px; animation-delay: 1.2s; }
.chip.c3 { bottom: 12%; left: -20px; color: var(--orange-d); animation-delay: 2.1s; }
.chip.c4 { top: 8%; right: 16%; animation-delay: 0.6s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* ── Animated abacus (CSS) — reserved hero motif; also used in whole-brain section ── */
.abacus { --bead: #F26A21; --rod: #E7D3BE; --frame: #A81E12;
  width: 100%; max-width: 460px; margin: 0 auto; background: #fff; border-radius: 22px;
  padding: 26px 30px; box-shadow: var(--shadow); border: 3px solid #FBE7D3; }
.abacus-row { display: flex; align-items: center; height: 34px; position: relative; margin: 6px 0; }
.abacus-row::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px;
  background: var(--rod); border-radius: 4px; transform: translateY(-50%); }
.abacus-row .bead { width: 26px; height: 26px; border-radius: 50%; position: relative; z-index: 1;
  background: radial-gradient(circle at 32% 30%, #ffb37f, var(--bead) 60%, #c24d12);
  box-shadow: 0 2px 5px rgba(0,0,0,.18); margin: 0 2px; animation: slide 5s ease-in-out infinite; }
.abacus-row:nth-child(odd) .bead { animation-duration: 6s; }
@keyframes slide { 0%,100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

/* ── Feature pillars ─────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s, box-shadow .2s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: #FFEAD9; font-size: 1.6rem; margin-bottom: 18px; }
.pillar h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 0.95rem; }

/* ── Split (about / whole-brain / founder) ───────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 16px 0 18px; }
.split-copy p { color: var(--muted); margin-bottom: 16px; }
.ticks { list-style: none; margin-top: 20px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-weight: 500; color: var(--ink); }
.ticks li::before { content: "✓"; color: #fff; background: var(--orange); border-radius: 50%;
  width: 22px; height: 22px; min-width: 22px; display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px; }

/* ── Stats strip ─────────────────────────────────── */
.stats { background: linear-gradient(135deg, var(--orange), var(--maroon)); border-radius: 28px;
  padding: 54px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; color: #fff;
  box-shadow: var(--shadow); }
.stat { text-align: center; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stat .l { font-size: 0.95rem; opacity: 0.92; margin-top: 8px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.25); }

/* ── Scroll background video (reuses the ambient abacus loop) ── */
.vbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.stats { position: relative; overflow: hidden; }
.stats .vbg { opacity: .55; }
.stats .stats-tint { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(242,106,33,.85), rgba(168,30,18,.9)); }
.stats .stat { position: relative; z-index: 2; }
.cta-band .box { position: relative; overflow: hidden; }
.cta-band .box .vbg { opacity: .32; }
.cta-band .box .cta-tint { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(255,249,242,.84), rgba(255,241,227,.92)); }
.cta-band .box > *:not(.vbg):not(.cta-tint) { position: relative; z-index: 2; }

/* ── Programs ────────────────────────────────────── */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s; }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program .pimg { aspect-ratio: 16/11; overflow: hidden; }
.program .pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.program:hover .pimg img { transform: scale(1.06); }
.program .pbody { padding: 22px 24px; }
.program .pbody h3 { font-size: 1.2rem; margin-bottom: 8px; }
.program .pbody p { color: var(--muted); font-size: 0.94rem; }
.program .ptag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--orange-d); background: #FFEAD9; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* ── Testimonials ────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { color: var(--ink); font-size: 1rem; margin-bottom: 16px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: #FFEAD9; color: var(--orange-d);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.quote .who b { display: block; font-size: 0.95rem; }
.quote .who span { color: var(--muted); font-size: 0.82rem; }

/* ── CTA band ────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band .box { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 60px 40px; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-cta { justify-content: center; }

/* ── Footer ──────────────────────────────────────── */
.footer { background: var(--ink); color: #E8E2DB; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-family: var(--display); color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { color: #C9C1B8; font-size: 0.94rem; display: block; margin-bottom: 10px; transition: color .15s; }
.footer a:hover { color: var(--orange); }
.footer .brandcol p { color: #A79E94; font-size: 0.92rem; margin-top: 14px; max-width: 260px; }
.footer .logo-inv { background: #fff; border-radius: 12px; padding: 8px 12px; display: inline-block; }
.footer .logo-inv img { height: 40px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; margin: 0; transition: background .15s, transform .15s; }
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #A79E94; font-size: 0.85rem; }

.ver { color: #8A8178; font-variant-numeric: tabular-nums; }

/* ── DEV-ONLY refresh button (remove before launch) ── */
.dev-refresh {
  position: fixed; left: 16px; bottom: 16px; z-index: 95;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.55);
  color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer;
  opacity: .25; transition: opacity .15s, transform .3s, background .15s;
  backdrop-filter: blur(4px); display: grid; place-items: center;
}
.dev-refresh:hover { opacity: 1; background: #fff; color: var(--orange-d); }
.dev-refresh.spin { transform: rotate(360deg); }

/* ── Floating WhatsApp ───────────────────────────── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 58px; height: 58px;
  border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .18s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── Reveal animation ────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 940px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .pillars, .programs, .quotes { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .stat + .stat { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--cream); padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}
@media (max-width: 940px) {
  .recog { grid-template-columns: 1fr; }
  .film-fade { background: linear-gradient(0deg, rgba(255,249,242,.99) 0%, rgba(255,249,242,.94) 40%, rgba(255,249,242,.5) 66%, rgba(255,249,242,0) 88%); }
  .film-overlay { align-items: flex-end; padding-bottom: 9vh; }
  .film-copy { max-width: 100%; text-align: center; }
  .film-copy .lead, .film-copy .hero-cta { margin-left: auto; margin-right: auto; }
  .film-copy .hero-cta { justify-content: center; }
  .scrollfilm { height: 220vh; }
}
@media (max-width: 560px) {
  .pillars, .programs, .quotes, .stats { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding: 130px 0 70px; }
  .footer-grid { grid-template-columns: 1fr; }
  .recog-card { flex-direction: column; }
  .recog-card img { width: 100%; height: 160px; }
}
