/* =========================================================
   Scholarise Academy – shared stylesheet
   Fonts: Poppins (headings, UI) + Montserrat (body)
   ========================================================= */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* brand */
  --primary: #035643;
  --primary-dark: #024334;
  --secondary: #349C5C;
  --light: #EEFBF2;
  --white: #FFFFFF;

  /* supporting */
  --ink: #0f1f1a;
  --text: #33443f;
  --muted: #5d6f6a;
  --line: #d6e9dd;
  --cream: #FCFAF3;
  --yellow: #F8BD25;
  --accent: #F8BD25;   /* brand accent */
  --color-accent: #FFC000;       /* official palette: Golden Yellow */
  --color-accent-soft: #FFE8A1;  /* official palette: Warm Light Yellow */
  --icon-green: #057043;
  /* brand gradients (green only, built from the official colours) */
  --grad-green: linear-gradient(135deg, #349C5C 0%, #035643 100%);              /* buttons, active tabs, badges */
  --grad-green-hover: linear-gradient(135deg, #2b8a50 0%, #024334 100%);
  --grad-deep: linear-gradient(135deg, #167a52 0%, #035643 55%, #024334 100%);  /* cards and panels that hold text */
  --grad-section: radial-gradient(70% 90% at 0% 0%, rgba(52, 156, 92, .42) 0%, rgba(52, 156, 92, 0) 60%), linear-gradient(160deg, #035643 0%, #024334 100%); /* full-width dark sections */
  --whatsapp: #25D366;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --header-h: 54px;
  --radius: 20px;
  --shadow-sm: 0 4px 14px rgba(3, 86, 67, .07);
  --shadow: 0 18px 40px rgba(3, 86, 67, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--grad-green); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.7vw, 44px); line-height: 1.18; color: var(--primary); letter-spacing: -.01em; }
.section-sub { margin-top: 12px; font-size: 16px; color: var(--muted); }
.accent { color: var(--secondary); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::after { /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary { background: var(--grad-green); color: #fff; box-shadow: 0 8px 20px rgba(3, 86, 67, .28); }
.btn-primary:hover { background: var(--grad-green-hover); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(3, 86, 67, .34); }
/* green gradient for the menubar Enroll Now and the banner Explore Our Courses */
.main-nav .btn-primary, .hero-actions .btn-primary { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.main-nav .btn-primary:hover, .hero-actions .btn-primary:hover { background: linear-gradient(135deg, #2e8c52, var(--primary-dark)); }
.btn-outline { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(238,251,242,.94); border-bottom: 1px solid rgba(52,156,92,.18); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(3, 86, 67, .09); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { flex: none; }
.logo img { width: 128px; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
/* mint menubar: each link is a soft pill; the current page is a deep-green pill */
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a { position: relative; display: flex; align-items: center; height: 28px; padding: 0 13px; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: 13px; line-height: 1; color: var(--primary); white-space: nowrap; transition: background-color .25s, color .25s; }
.main-nav ul a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 1px; height: 2.5px; border-radius: 2px; background: var(--secondary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav ul a:hover { color: var(--primary); }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); } /* the current page keeps a green line under it */
.main-nav ul a.is-active { font-weight: 600; }
.main-nav ul a:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
.main-nav .btn { height: 32px; padding: 0 16px; font-size: 13.5px; box-shadow: 0 5px 14px rgba(3, 86, 67, .24); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 11px 10px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--primary); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.2px) rotate(-45deg); }

/* =========================================================
   HOME – HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--light); }
.hero-inner { position: relative; min-height: 578px; }
.hero-copy { position: relative; z-index: 3; padding: 70px 0 64px; }
.hero-eyebrow { font-size: 17.4px; line-height: 21px; color: var(--primary); }
.hero-title { margin: 15px 0 0 -1px; font-family: var(--font-head); font-weight: 700; font-size: 42.4px; line-height: 60px; color: #000; white-space: nowrap; letter-spacing: -.005em; }
.hero-title > span { display: block; }
.hero-title .l3 { position: relative; color: var(--secondary); font-size: 43.2px; }
.hero-swoosh { position: absolute; left: 185px; top: 54px; width: 170px; height: 26px; overflow: visible; }
.hero-text { margin-top: 30px; font-size: 17.6px; line-height: 27.2px; color: #282828; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { height: 48px; padding: 0 28px; }

.hero-visual { position: absolute; right: 0; bottom: 42px; width: 58.68%; z-index: 1; }
.hero-visual > img { width: 100%; height: auto; }
.hero-visual > svg { position: absolute; height: auto; }
.hero-book { left: 22.249%; top: 25.310%; width: 10.888%; }
.hero-arrow-yellow { left: 35.621%; top: 24.602%; width: 7.811%; }
.hero-bulb { left: 65.562%; top: 7.080%; width: 15.976%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.08)); }
.hero-arrow-green { left: 77.988%; top: 31.504%; width: 11.598%; }

.hero-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-shape.s1 { width: 14px; height: 14px; left: 47%; top: 12%; background: var(--secondary); opacity: .25; }
.hero-shape.s2 { width: 9px; height: 9px; left: 4%; bottom: 14%; background: var(--yellow); opacity: .6; }
.hero-shape.s3 { width: 220px; height: 220px; left: -80px; top: -90px; border: 2px dashed rgba(52,156,92,.18); }

/* load animations */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatSm { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

.js .hero-copy > * { animation: rise .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3) { animation-delay: .28s; }
.js .hero-copy > :nth-child(4) { animation-delay: .42s; }
.js .hero-visual > img { animation: slideIn 1.1s var(--ease) .15s both; }
.js .hero-book { animation: pop .8s var(--ease) .9s both, float 5s ease-in-out 1.8s infinite; }
.js .hero-bulb { animation: pop .8s var(--ease) 1.1s both, floatSm 4.6s ease-in-out 2s infinite; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw path { animation: draw 1.1s ease forwards; animation-delay: var(--dd, 1.2s); }
.no-js .draw path, html:not(.js) .draw path { stroke-dashoffset: 0; }
.js .hero-shape.s3 { animation: spin 40s linear infinite; }
.js .hero-shape.s1 { animation: float 6s ease-in-out infinite; }

/* =========================================================
   HOME – PHILOSOPHY
   ========================================================= */
.philosophy { padding: 72px 0 70px; }
.philosophy-eyebrow { text-align: center; font-family: var(--font-body); font-weight: 400; font-size: 28.3px; line-height: 1.2; color: var(--primary); letter-spacing: .01em; }
.philosophy-panel { position: relative; padding: 60px 64px 66px; border-radius: 40px; background: var(--light); }
.philosophy-heading { text-align: center; }
.philosophy-panel .philosophy-box { background: #fff; }
.philosophy-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 547px); column-gap: 32px; align-items: start; margin-top: 56px; }
.philosophy-media { position: relative; margin-top: 18px; }
.philosophy-img { width: 100%; height: auto; }
.philosophy-media > svg { position: absolute; height: auto; }
.phil-bulb { left: 0; top: -0.853%; width: 19.326%; }
.phil-sparks { left: 92.199%; top: 17.235%; width: 7.624%; }
.phil-tri { left: 26.064%; top: 95.563%; width: 3.723%; }
.js .phil-bulb { animation: floatSm 5s ease-in-out infinite; }
.philosophy-title { font-family: var(--font-head); font-weight: 700; font-size: 41.2px; line-height: 51px; color: #000; letter-spacing: -.005em; }
.philosophy-copy > p { margin-top: 12px; font-size: 16.8px; line-height: 22.5px; color: #282828; }
.philosophy-copy > p:first-of-type { margin-top: 18px; }
.philosophy-copy > p strong { color: #1c1c1c; }
.philosophy-box { position: relative; margin-top: 20px; padding: 20px 20px 22px 106px; background: var(--light); border-radius: 22px; transition: transform .4s var(--ease), box-shadow .4s; }
.philosophy-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.box-icon { position: absolute; left: 23px; top: 50%; width: 62px; height: 62px; margin-top: -31px; border-radius: 50%; background: #fff; }
.box-icon svg { width: 62px; height: 62px; }
.box-label { font-size: 11.2px; line-height: 1.3; letter-spacing: .02em; color: var(--primary); }
.box-text { margin-top: 6px; font-weight: 600; font-size: 15.4px; line-height: 20px; color: var(--primary); }

/* =========================================================
   HOME – WHAT WE BELIEVE
   ========================================================= */
.believe { padding: 64px 0 40px; }
.believe .section-head { position: relative; margin-bottom: 36px; }
.believe-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(36px, 4.2vw, 51px); line-height: 1.1; color: var(--primary); letter-spacing: -.02em; }
.believe-sub { margin-top: 10px; font-size: 14.6px; line-height: 1.5; color: #475e6d; }
.title-spark { position: absolute; top: 2px; width: 30px; height: 38px; }
.title-spark.left { left: calc(50% - 250px); }
.title-spark.right { left: calc(50% + 218px); }
.js .title-spark { animation: floatSm 4s ease-in-out infinite; }

.belief-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.belief-card {
  --bg: #DFF2E6;
  position: relative; padding: 16px 20px 24px 24px; background: var(--bg);
  color: #4a606b; font-size: 13px; line-height: 1.55;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.belief-card.cream { --bg: #FBF5E2; }
.belief-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(3,86,67,.10); }

/* What We Believe: cards arrive one by one as the visitor scrolls.
   Each card rises and settles, then its icon pops and its green bar draws. */
.belief-grid > .belief-card { --d: 0ms; }
.belief-grid > .belief-card:nth-child(4n+2) { --d: 140ms; }
.belief-grid > .belief-card:nth-child(4n+3) { --d: 280ms; }
.belief-grid > .belief-card:nth-child(4n+4) { --d: 420ms; }
.js .belief-card[data-reveal] { opacity: 0; transform: translateY(64px) scale(.9) rotate(-2.5deg); filter: blur(6px);
  transition: opacity .9s var(--ease) var(--d), transform 1.05s cubic-bezier(.18,.89,.32,1.15) var(--d), filter .8s ease var(--d); }
.js .belief-grid > .belief-card:nth-child(even)[data-reveal] { transform: translateY(64px) scale(.9) rotate(2.5deg); }
.js .belief-card[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .belief-card:not(.is-in) .card-icon { transform: scale(0) rotate(-30deg); }
.js .belief-card.is-in .card-icon { animation: beliefIcon .7s cubic-bezier(.18,.89,.32,1.3) calc(var(--d) + .45s) backwards; }
.js .belief-card:not(.is-in) .card-bar { width: 0; }
.js .belief-card.is-in .card-bar { animation: beliefBar .7s var(--ease) calc(var(--d) + .7s) backwards; }
.js .belief-card:not(.is-in) .deco { opacity: 0; }
.js .belief-card.is-in .deco { animation: beliefDeco .8s var(--ease) calc(var(--d) + .8s) backwards; }
@keyframes beliefIcon { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
@keyframes beliefBar { from { width: 0; } to { width: 32px; } }
@keyframes beliefDeco { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(.8); } }
.c1 { border-radius: 32px 46px 37px 50px / 40px 34px 46px 37px; }
.c2 { border-radius: 45px 35px 48px 32px / 35px 45px 34px 46px; }
.c3 { border-radius: 35px 48px 32px 45px / 45px 37px 48px 34px; }
.c4 { border-radius: 48px 34px 45px 37px / 34px 46px 37px 45px; }
.c5 { border-radius: 37px 45px 34px 48px / 46px 35px 45px 34px; }
.c6 { border-radius: 46px 32px 48px 35px / 37px 48px 34px 45px; }
.c7 { border-radius: 34px 48px 37px 45px / 48px 34px 46px 37px; }
.c8 { border-radius: 45px 37px 46px 34px / 34px 45px 37px 48px; }
.card-icon { position: relative; width: 66px; height: 64px; margin: -4px 0 10px -6px; border-radius: 50%; background: #C9E9D4; box-shadow: 0 0 8px 3px #C9E9D4; transition: transform .45s var(--ease); }
.cream .card-icon { background: #F5EAC9; box-shadow: 0 0 8px 3px #F5EAC9; }
.card-icon .ico { position: absolute; left: 14px; top: 13px; width: 38px; height: 38px; transition: transform .45s var(--ease); }
.card-icon .rays { position: absolute; left: 46px; top: 3px; width: 28px; height: 24px; overflow: visible; }
.c8 .card-icon .rays { left: 10px; top: 0; width: 46px; height: 24px; }
.belief-card:hover .card-icon { transform: scale(1.06); }
.belief-card:hover .ico { transform: rotate(-8deg); }
.deco { position: absolute; overflow: visible; transform: scale(.8); transform-origin: top left; }
.belief-card.c8 .deco { top: 14px !important; height: 60px !important; }
.belief-card.c3 .deco { top: 34px !important; }
.belief-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 16.4px; line-height: 1.25; color: var(--primary); letter-spacing: -.01em; }
.belief-card br.d { display: none; }
.card-bar { display: block; width: 32px; height: 3px; margin: 10px 0 9px; border-radius: 2px; background: var(--secondary); transition: width .45s var(--ease); }
.belief-card:hover .card-bar { width: 56px; }
.belief-card p + p { margin-top: 5px; }
.belief-card strong, .belief-card .em { font-weight: 700; color: var(--primary); }

/* =========================================================
   HOME – COURSES
   ========================================================= */
.courses { background: linear-gradient(180deg, #fff 0%, var(--light) 100%); }
.course-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px 0 36px; }
.course-tab {
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 500; font-size: 14.5px; color: var(--primary);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.course-tab:hover { border-color: var(--secondary); transform: translateY(-2px); }
.course-tab[aria-pressed="true"] { background: var(--grad-green); border-color: var(--primary); color: #fff; }

.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course-card.is-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; flex-wrap: wrap; }
.course-card.is-wide .course-head { flex: 1 1 260px; display: flex; align-items: center; gap: 18px; }
.course-card.is-wide .course-head .course-track { margin-top: 0; }
.course-card.is-wide .course-info { margin-top: 0; flex: 2 1 380px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.course-card.is-wide .course-info div { padding: 12px 16px; border-radius: 14px; background: var(--light); transition: background-color .45s; }
.course-card.is-wide:hover .course-info div { background: rgba(255,255,255,.1); }
.course-card.is-wide .course-link { margin-top: 0; padding-top: 0; }
.course-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s, color .45s;
}
.course-card::before { /* colour wash that grows from the corner on hover */
  content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 140px; height: 140px; border-radius: 50%;
  background: #E3F4E9; transform: scale(.35); transition: transform .6s var(--ease), background-color .45s;
}
.course-card:hover { transform: translateY(-8px); box-shadow: 0 24px 44px rgba(3,86,67,.20); border-color: var(--primary); color: #fff; }
.course-card:hover::before { transform: scale(11); background: var(--primary); }
.course-card.is-hidden { display: none; }
.course-card.is-entering { animation: rise .55s var(--ease) both; }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--light); color: var(--primary); transition: background-color .45s, color .45s, transform .45s var(--ease); }
.course-icon svg { width: 28px; height: 28px; }
.course-card:hover .course-icon { background: #fff; transform: rotate(-8deg) scale(1.05); }
.course-level { font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; background: #FCEFC7; color: var(--primary); transition: background-color .45s, color .45s; }
.course-card:hover .course-level { background: #D99A06; color: #fff; }
.course-track { margin-top: 20px; font-family: var(--font-body); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); transition: color .45s; }
.course-card:hover .course-track { color: #9fe0b8; }
.course-card h3 { margin-top: 4px; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--primary); transition: color .45s; }
.course-card:hover h3 { color: #fff; }
.level-meter { display: flex; gap: 5px; margin-top: 14px; }
.level-meter i { flex: 1; height: 5px; border-radius: 4px; background: #dcebe2; transition: background-color .45s; }
.level-meter i.on { background: var(--secondary); }
.course-card:hover .level-meter i { background: rgba(255,255,255,.25); }
.course-card:hover .level-meter i.on { background: #fff; }
.course-info { margin-top: 18px; display: grid; gap: 10px; }
.course-info div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.course-info svg { flex: none; width: 18px; height: 18px; color: var(--secondary); transition: color .45s; }
.course-info dt { color: var(--muted); transition: color .45s; }
.course-info dd { margin-left: auto; font-weight: 600; color: var(--ink); text-align: right; transition: color .45s; }
.course-card:hover .course-info svg { color: #9fe0b8; }
.course-card:hover .course-info dt { color: rgba(255,255,255,.75); }
.course-card:hover .course-info dd { color: #fff; }
.course-link { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--primary); transition: color .45s, gap .3s; }
.course-link svg { width: 16px; height: 16px; }
.course-card:hover .course-link { color: #fff; gap: 12px; }
.course-card .course-link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */

/* =========================================================
   HOME – PRICING
   ========================================================= */
.pricing { background: #fff; overflow: hidden; }
.pricing::before, .pricing::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.pricing::before { width: 420px; height: 420px; left: -160px; top: 60px; background: radial-gradient(circle, rgba(52,156,92,.14), transparent 70%); }
.pricing::after { width: 360px; height: 360px; right: -120px; bottom: -80px; background: radial-gradient(circle, rgba(3,86,67,.10), transparent 70%); }
.price-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 26px;
  background: var(--light); border: 1.5px solid transparent; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.price-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.price-card:hover { transform: translateY(-10px); border-color: var(--secondary); box-shadow: 0 28px 50px rgba(3,86,67,.16); }
.price-card:hover::before { transform: scaleX(1); }
.price-card:not(.is-dark) { border-color: var(--secondary); } /* side plans keep their green outline at all times */
.price-card.is-dark { background: var(--grad-deep); color: #dff3e7; border-color: var(--secondary); } /* the middle plan keeps a green outline too */
.plan-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--primary); transition: transform .45s var(--ease); }
.plan-icon svg { width: 30px; height: 30px; }
.price-card:hover .plan-icon { transform: rotate(-8deg) scale(1.06); }
.is-dark .plan-icon { background: rgba(255,255,255,.12); color: #fff; }
.plan-name { margin-top: 18px; font-family: var(--font-head); font-weight: 700; font-size: 23.1px; line-height: 1.25; color: var(--primary); }
.plan-tag { margin-top: 2px; font-size: 15.23px; color: var(--muted); }
.is-dark .plan-name { color: #fff; }
.is-dark .plan-tag { color: #bfe6cf; }
.plan-price { margin-top: 22px; padding-bottom: 22px; border-bottom: 1px dashed var(--line); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan-price strong { font-family: var(--font-head); font-weight: 700; font-size: 33.6px; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.plan-price span { font-size: 14.7px; color: var(--muted); }
.is-dark .plan-price { border-color: rgba(255,255,255,.2); }
.is-dark .plan-price strong { color: #fff; }
.is-dark .plan-price span { color: #bfe6cf; }
.plan-features { margin: 22px 0 0; display: grid; gap: 12px; }
.plan-features li { display: flex; gap: 12px; font-size: 15.23px; line-height: 1.45; color: var(--text); }
.plan-features li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.is-dark .plan-features li { color: #e4f5ea; }
.price-card .btn { margin-top: auto; width: 100%; }
.is-dark .btn-light:hover { background: #fff; }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateY(30px) scale(.97); } /* moving in from the right would push past the page edge */
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero { position: relative; overflow: hidden; background: var(--light); padding: 64px 0 72px; }
.page-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.page-hero.is-simple .container { grid-template-columns: minmax(0, 1fr); text-align: center; max-width: 860px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.is-simple .crumbs { justify-content: center; }
.crumbs a { color: var(--primary); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .eyebrow { margin-top: 18px; }
.page-title { margin-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.15; color: var(--ink); letter-spacing: -.015em; }
.page-lead { margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--text); }
.page-lead + .page-lead { margin-top: 12px; }
.page-hero-art { position: relative; }
.page-hero-art svg { width: 100%; height: auto; }
.js .page-hero-art .float { animation: float 5s ease-in-out infinite; }
.js .page-hero-art .float-2 { animation: floatSm 4.4s ease-in-out .6s infinite; }
.page-hero .bg-ring { position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 2px dashed rgba(52,156,92,.2); }
.js .page-hero .bg-ring { animation: spin 50s linear infinite; }

.question-card { position: relative; margin-top: 28px; padding: 26px 28px 26px 30px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); border-left: 5px solid var(--secondary); }
.question-card p { font-family: var(--font-head); font-weight: 500; font-size: 19px; line-height: 1.5; color: var(--primary); }
.question-card .qmark { position: absolute; right: 18px; top: -18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 24px; box-shadow: 0 8px 18px rgba(248,189,37,.4); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.build-img { width: 100%; max-width: 520px; height: auto; margin: 0 auto; } /* keeps its shape; smaller on phones */
@media (max-width: 640px) { .build-img { max-width: 300px; } }
.prose > * + * { margin-top: 14px; }
.prose p { font-size: 16.5px; line-height: 1.75; }
.prose .section-title { margin-top: 10px; }
.callout { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 16px; background: var(--grad-deep); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 17px; box-shadow: 0 12px 24px rgba(3,86,67,.22); }
.callout svg { width: 22px; height: 22px; color: #9fe0b8; }

/* learner diagram */
.learner-diagram { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 0 auto; }
.learner-diagram .orbit { position: absolute; inset: 11%; border-radius: 50%; border: 2px dashed #b9dcc6; }
.js .learner-diagram .orbit { animation: spin 60s linear infinite; }
.learner-core { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 10px; background: var(--grad-deep); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.2; box-shadow: 0 0 0 12px rgba(52,156,92,.14), 0 16px 34px rgba(3,86,67,.3); }
.learner-node { position: absolute; width: 28%; transform: translate(-50%, -50%); padding: 10px 12px; border-radius: 16px; text-align: center; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 600; font-size: 13.5px; line-height: 1.3; color: var(--primary); transition: transform .35s var(--ease), background-color .35s, color .35s; }
.learner-node:hover { background: var(--secondary); color: #fff; transform: translate(-50%, -50%) scale(1.06); }
.learner-node:nth-child(3) { left: 50%; top: 9%; }
.learner-node:nth-child(4) { left: 85%; top: 30%; }
.learner-node:nth-child(5) { left: 85%; top: 70%; }
.learner-node:nth-child(6) { left: 50%; top: 91%; }
.learner-node:nth-child(7) { left: 15%; top: 70%; }
.learner-node:nth-child(8) { left: 15%; top: 30%; }

/* research flow */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) 70px minmax(0, .8fr); align-items: center; gap: 0; margin-top: 48px; }
.flow-sources { display: grid; gap: 10px; }
.flow-chip { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 500; font-size: 14.5px; color: var(--primary); transition: transform .3s var(--ease), border-color .3s; }
.flow-chip:hover { transform: translateX(6px); border-color: var(--secondary); }
.flow-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--secondary); flex: none; }
.flow-arrow { position: relative; height: 3px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--secondary) 0 8px, transparent 8px 14px); background-size: 28px 3px; }
.flow-arrow::after { content: ""; position: absolute; right: -2px; top: -6px; border: 7.5px solid transparent; border-left: 10px solid var(--secondary); border-right: 0; }
@keyframes march { to { background-position: 28px 0; } }
.js .flow-arrow { animation: march 1s linear infinite; }
.flow-question { padding: 26px; border-radius: 22px; background: var(--grad-deep); color: #fff; box-shadow: var(--shadow); }
.flow-question small { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #9fe0b8; font-weight: 600; }
.flow-question p { margin-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.4; }
.flow-end { padding: 22px; border-radius: 22px; background: #fff; border: 2px dashed var(--secondary); text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--primary); }
.flow-end svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--secondary); }

/* question cards */
.q-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.q-card { position: relative; padding: 26px 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, background-color .4s; }
.q-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: var(--light); }
.q-num { font-family: var(--font-head); font-weight: 700; font-size: 38px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--secondary); }
.q-card p { margin-top: 14px; font-family: var(--font-head); font-weight: 500; font-size: 16.5px; line-height: 1.45; color: var(--primary); }
.beyond-close { margin-top: 36px; text-align: center; }
.beyond-close p { font-size: 17px; line-height: 1.7; }
.beyond-close p + p { margin-top: 6px; font-family: var(--font-head); font-weight: 600; color: var(--primary); }

/* building list */
.build-list { display: grid; gap: 12px; margin-top: 22px; }
.build-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; font-size: 16.5px; color: var(--primary); transition: transform .35s var(--ease), box-shadow .35s; }
.build-list li:hover { transform: translateX(8px); box-shadow: var(--shadow-sm); }
.build-list li span { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--light); color: var(--secondary); }
.build-list li svg { width: 20px; height: 20px; }

/* promise band */
.promise { position: relative; overflow: hidden; background: var(--grad-section); color: #dff3e7; text-align: center; }
.promise .eyebrow { color: #9fe0b8; }
.promise .section-title { color: #fff; }
.promise-lines { margin-top: 26px; display: grid; gap: 6px; font-family: var(--font-head); font-size: 20px; line-height: 1.5; color: #fff; }
.promise-lines p:first-child { color: #bfe6cf; }
.promise-quote { max-width: 780px; margin: 40px auto 0; padding: 34px 32px; border-radius: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; color: #fff; }
.promise-quote em { font-style: normal; color: var(--yellow); }
.promise .ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(255,255,255,.14); }
.promise .ring.r1 { width: 460px; height: 460px; left: -200px; top: -200px; }
.promise .ring.r2 { width: 360px; height: 360px; right: -140px; bottom: -160px; }
.js .promise .ring { animation: spin 60s linear infinite; }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.contact-title { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--primary); }
.info-list { margin-top: 20px; display: grid; gap: 14px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
a.info-card:hover { transform: translateY(-4px); border-color: var(--secondary); box-shadow: var(--shadow); }
.info-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--light); color: var(--primary); transition: background-color .35s, color .35s; }
a.info-card:hover .info-ic { background: var(--primary); color: #fff; }
.info-ic svg { width: 22px; height: 22px; }
.info-card small { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); word-break: break-word; }
.hint-card { margin-top: 24px; padding: 26px; border-radius: 22px; background: var(--light); border: 1.5px dashed var(--secondary); }
.hint-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--primary); }
.hint-card p { margin-top: 8px; font-size: 15px; line-height: 1.65; }
.form-card { padding: 36px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card > p { margin-top: 6px; color: var(--muted); }
.form-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfdfc; font-size: 15px; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--secondary); background: #fff; box-shadow: 0 0 0 4px rgba(52,156,92,.15); }
.field.has-error input, .field.has-error textarea { border-color: #d64545; }
.form-actions { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.form-status { font-size: 14px; color: var(--primary); }
.form-status.error { color: #c23a3a; }

/* legal / terms */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: 20px; background: var(--light); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc h2 { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--primary); }
.toc ol { margin-top: 10px; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 8px; padding: 6px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.35; color: var(--text); transition: background-color .25s, color .25s; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 600; color: var(--secondary); }
.toc a:hover, .toc a.is-active { background: #fff; color: var(--primary); }
.legal-intro { padding: 26px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal-intro p + p { margin-top: 10px; }
.legal-section { margin-top: 20px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: box-shadow .35s, border-color .35s; }
.legal-section:hover { box-shadow: var(--shadow-sm); border-color: #bfe0cb; }
.legal-section h2 { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--primary); }
.legal-section h2 span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--light); color: var(--secondary); font-size: 15px; }
.legal-section > * + * { margin-top: 12px; }
.legal-section p { font-size: 15.5px; line-height: 1.75; }
.legal-section ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.legal-section li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; }
.legal-section li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23349C5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.legal-section a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-quote { margin-top: 20px; padding: 34px; border-radius: 22px; background: var(--grad-deep); color: #dff3e7; }
.legal-quote h2 { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #fff; }
.legal-quote blockquote { margin-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--yellow); }
.legal-quote p { margin-top: 10px; }

.soon { text-align: center; max-width: 560px; margin: 0 auto; }
.soon svg { width: 180px; height: auto; margin: 0 auto; }
.soon p { margin-top: 16px; font-size: 17px; }
.soon .btn { margin-top: 24px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; }
.footer-main { position: relative; overflow: hidden; background: var(--light); padding: 64px 0 56px; }
.footer-main::before { content: ""; position: absolute; right: -8%; top: 18%; width: 48%; height: 150%; border-radius: 50%; background: rgba(255,255,255,.4); pointer-events: none; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .95fr 1.25fr 1fr 1.75fr; gap: 0; }
.footer-grid > * { padding: 0 22px; border-left: 1px solid #cfe2d7; }
.footer-grid > :first-child { padding-left: 0; border-left: 0; }
.footer-grid > :last-child { padding-right: 0; }
.footer-brand img { width: 184px; height: auto; }
.footer-rule { display: block; width: 42px; height: 3px; margin-top: 16px; border-radius: 2px; background: var(--secondary); }
.footer-brand p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: #31515f; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.social a svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.social a::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }
.social .fb { background: #1877F2; color: #1877F2; }
.social .li { background: #0A66C2; color: #0A66C2; }
.social .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #d6249f; }
.social .em { background: var(--secondary); color: var(--secondary); }
.social a svg { color: #fff; }
.social a:hover { transform: translateY(-5px); box-shadow: 0 10px 18px rgba(0,0,0,.18); }
.social a:hover svg { transform: rotate(-12deg) scale(1.12); }
.social a:hover::after { animation: pulseRing 1s ease-out infinite; }
.js .social a { animation: rise .6s var(--ease) both; animation-play-state: paused; }
.js .social.is-in a { animation-play-state: running; }
.social a:nth-child(2) { animation-delay: .1s; }
.social a:nth-child(3) { animation-delay: .2s; }

.footer-col h4, .newsletter h4 { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--primary); }
.footer-col h4::after { content: ""; display: block; width: 30px; height: 2px; margin-top: 9px; border-radius: 2px; background: var(--secondary); }
.footer-col > ul { margin-top: 12px; display: grid; gap: 2px; }
.footer-col a, .footer-col summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13.5px; color: #31515f; cursor: pointer; white-space: nowrap; transition: color .25s, transform .25s var(--ease); }
.footer-col a::after { content: ""; flex: none; width: 6px; height: 6px; margin-right: 2px; border-right: 1.5px solid var(--secondary); border-top: 1.5px solid var(--secondary); transform: rotate(45deg); transition: transform .25s var(--ease); }
.footer-col a:hover { color: var(--primary); transform: translateX(3px); }
.footer-col summary { list-style: none; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: ""; flex: none; width: 6px; height: 6px; margin: -3px 2px 0 0; border-right: 1.5px solid var(--secondary); border-bottom: 1.5px solid var(--secondary); transform: rotate(45deg); transition: transform .3s var(--ease); }
.footer-col details[open] > summary { color: var(--primary); font-weight: 600; }
.footer-col details[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.footer-col details ul { margin: 2px 0 6px 10px; padding-left: 12px; border-left: 2px solid #cfe2d7; }
.footer-col details[open] ul { animation: rise .35s var(--ease) both; }
.footer-col details a { font-size: 13px; padding: 4px 0; }
.footer-col details a small { margin-left: auto; margin-right: 6px; font-size: 12px; color: var(--muted); }

.newsletter > p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: #31515f; }
.newsletter .plane { position: absolute; right: 0; top: -44px; width: 40px; height: 40px; }
.js .newsletter .plane { animation: floatSm 3.6s ease-in-out infinite; }
.newsletter { position: relative; }
.subscribe { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.subscribe .input-wrap { position: relative; flex: 1 1 100%; min-width: 0; }
.subscribe .mail { position: absolute; left: 13px; top: 50%; width: 18px; height: 14px; margin-top: -7px; }
.subscribe input { width: 100%; height: 46px; padding: 0 14px 0 42px; border-radius: 10px; border: 1.5px solid #d6e5dc; background: #fff; font-size: 14px; transition: border-color .25s, box-shadow .25s; }
.subscribe input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(52,156,92,.15); }
.btn-subscribe { flex: 1 1 100%; height: 46px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; }
.privacy { margin-top: 12px; display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #31515f; }
.privacy svg { flex: none; width: 17px; height: 20px; }
.nl-status { margin-top: 8px; min-height: 18px; font-size: 13px; color: var(--primary); }
.nl-status.error { color: #c23a3a; }
.leaves { position: absolute; bottom: 0; pointer-events: none; }
.leaves-left { left: 0; width: 110px; }
.leaves-right { right: 0; width: 98px; }

.footer-bar { background: var(--grad-section); color: #fff; font-size: 13px; }
.footer-bar .container { padding-top: 26px; padding-bottom: 22px; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 18px 44px; }
.contact-strip li { display: flex; align-items: flex-start; gap: 14px; }
.contact-strip svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.contact-strip span { display: flex; flex-direction: column; line-height: 1.45; }
.contact-strip small { font-size: 12.5px; color: #7fd1a4; }
.contact-strip a:hover { text-decoration: underline; }
.contact-strip li:not(:has(small)) { align-items: center; } /* a single line (the address) sits in the middle of its icon */
.contact-strip li:not(:has(small)) svg { margin-top: 0; }
.bar-bottom { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-links a:hover { text-decoration: underline; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.45); transition: transform .35s var(--ease); }
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); z-index: 0; }
.js .wa-float::before { animation: pulseRing 2.2s ease-out infinite; }
.js .wa-float::after { animation: pulseRing 2.2s ease-out 1.1s infinite; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float .wa-tip { position: absolute; right: 70px; top: 50%; transform: translate(8px, -50%); opacity: 0; pointer-events: none; white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; transition: opacity .25s, transform .25s; }
.wa-float:hover .wa-tip { opacity: 1; transform: translate(0, -50%); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1099px) {
  .belief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .belief-grid > .belief-card:nth-child(odd) { --d: 0ms; }
  .belief-grid > .belief-card:nth-child(even) { --d: 160ms; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-card.is-wide .course-info { grid-template-columns: minmax(0, 1fr); }
  .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .footer-grid > * { padding: 0 20px; }
  .footer-grid > :nth-child(1), .footer-grid > :nth-child(5) { grid-column: 1 / -1; padding: 0; border-left: 0; }
  .footer-grid > :nth-child(2) { padding-left: 0; border-left: 0; }
  .newsletter { max-width: 460px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow-arrow { width: 3px; height: 44px; margin: 10px auto; background: repeating-linear-gradient(180deg, var(--secondary) 0 8px, transparent 8px 14px); background-size: 3px 28px; }
  .flow-arrow::after { right: auto; left: -6px; top: auto; bottom: -4px; border: 7.5px solid transparent; border-top: 10px solid var(--secondary); border-bottom: 0; }
  @keyframes march { to { background-position: 0 28px; } }
}

/* eight nav links: tighter spacing on small laptops */
@media (max-width: 1199px) {
  .main-nav { gap: 18px; }
  .main-nav ul { gap: 2px; }
  .main-nav ul a { padding: 0 9px; }
  .main-nav ul a::after { left: 9px; right: 9px; }
}

@media (max-width: 999px) {
  :root { --header-h: 50px; }
  .section { padding: 72px 0; }
  .logo img { width: 115px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 12px 24px 24px;
    flex-direction: column; align-items: stretch; gap: 14px;
    background: #fff; border-top: 1px solid rgba(52,156,92,.18); box-shadow: 0 16px 28px rgba(3,86,67,.10);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { height: auto; padding: 12px 14px; font-size: 16px; line-height: 1.4; border-radius: 12px; border-bottom: 1px solid #eef3f0; }
  .main-nav ul a:hover { background: var(--light); }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.is-active { background: var(--light); color: var(--primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--secondary); }
  .main-nav .btn { width: 100%; height: 48px; }

  .hero-inner { min-height: 0; display: flex; flex-direction: column; padding-bottom: 40px; }
  .hero-copy { padding: 44px 0 0; }
  .hero-eyebrow { font-size: 14px; }
  .hero-title { font-size: clamp(28px, 6vw, 42px); line-height: 1.35; white-space: normal; }
  .hero-title .l3 { display: inline-block; font-size: inherit; }
  .hero-swoosh { left: 40%; top: auto; bottom: -18px; width: 60%; }
  .hero-text { font-size: 16.5px; line-height: 1.65; }
  .hero br.d, .philosophy br.d { display: none; }
  .hero-visual { position: relative; right: auto; bottom: auto; width: 100%; max-width: 620px; margin: 32px auto 0; }

  .philosophy-body { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .philosophy-panel { padding: 40px 28px 44px; border-radius: 30px; }
  .philosophy-media { max-width: 520px; width: 100%; margin: 0 auto; }
  .philosophy-title { font-size: clamp(28px, 5.4vw, 40px); line-height: 1.25; }
  .philosophy-copy > p { font-size: 16px; line-height: 1.65; }

  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .page-hero .container, .split, .contact-grid, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .page-hero-art { max-width: 460px; margin: 0 auto; }
  .toc { position: static; max-height: none; }
  .title-spark { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .belief-grid, .course-grid, .q-grid { grid-template-columns: minmax(0, 1fr); }
  .belief-grid > .belief-card:nth-child(n) { --d: 0ms; }
  .course-card.is-wide { flex-direction: column; align-items: stretch; gap: 0; }
  .course-card.is-wide .course-head { display: block; }
  .course-card.is-wide .course-head .course-track { margin-top: 20px; }
  .course-card.is-wide .course-head, .course-card.is-wide .course-info { flex: none; }
  .course-card.is-wide .course-info { margin-top: 18px; }
  .course-card.is-wide .course-info div { padding: 0; background: none; }
  .course-card.is-wide .course-link { margin-top: 0; padding-top: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :nth-child(4) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .philosophy-box { padding: 84px 20px 20px; }
  .philosophy-panel { padding: 30px 16px 32px; border-radius: 24px; }
  .box-icon { left: 20px; top: 16px; margin-top: 0; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-section { padding: 22px 18px; }
  .legal-section ul { grid-template-columns: minmax(0, 1fr); }
  .learner-node { font-size: 11.5px; padding: 8px; }
  .learner-core { font-size: 14px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid > * { grid-column: 1 / -1; padding: 0; border-left: 0; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .belief-card[data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .belief-card .card-icon { transform: none !important; animation: none !important; }
  .js .belief-card .deco { opacity: 1 !important; transform: scale(.8) !important; animation: none !important; }
  .js .belief-card .card-bar { width: 32px !important; animation: none !important; }
  .draw path { stroke-dashoffset: 0; }
}

/* =========================================================
   CONTACT – label-only link cards
   ========================================================= */
.info-card.is-link { position: relative; overflow: hidden; isolation: isolate; gap: 18px; min-height: 76px; }
.info-card.is-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--light); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.info-card.is-link:hover::before { transform: scaleX(1); }
.info-label { flex: 1; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; letter-spacing: .14em; color: var(--primary); }
.info-go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--secondary); border: 1.5px solid var(--line); transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.info-go svg { width: 16px; height: 16px; }
a.info-card.is-link:hover .info-go { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateX(3px); }

/* =========================================================
   PRIVACY POLICY
   ========================================================= */
.pp-hero-badge { position: relative; width: 100%; max-width: 380px; margin: 0 auto; }
.pp-updated { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--muted); box-shadow: var(--shadow-sm); }
.pp-updated i { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }
.js .pp-updated i { animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 6px rgba(52,156,92,.18); } }

.pp-jump { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pp-jump .container { display: flex; align-items: center; gap: 8px; }
.pp-jump ul { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; padding: 5px 0; scrollbar-width: none; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.pp-jump ul li:first-child { margin-left: 12px; } .pp-jump ul li:last-child { margin-right: 12px; }
.jump-arrow { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; padding: 0; border: 1.5px solid var(--line); background: #fff; color: var(--primary); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, opacity .25s; }
.jump-arrow svg { width: 14px; height: 14px; }
.jump-arrow:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: #fff; }
.jump-arrow:disabled { opacity: .35; cursor: default; }
.pp-jump.no-overflow .jump-arrow { display: none; }
.pp-jump.no-overflow ul { -webkit-mask-image: none; mask-image: none; }
.pp-jump ul::-webkit-scrollbar { display: none; }
.pp-jump a { display: block; white-space: nowrap; padding: 5px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: 12.5px; color: var(--primary); background: var(--light); transition: background-color .3s, color .3s; }
.pp-jump a:hover, .pp-jump a.is-active { background: var(--grad-green); color: #fff; }

.pp-intro { max-width: 860px; margin: 0 auto; text-align: center; }
.pp-intro .lead-quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45; color: var(--primary); }
.pp-intro .lead-quote em { font-style: normal; color: var(--secondary); }
.pp-intro p + p { margin-top: 14px; font-size: 16px; line-height: 1.75; }
.pp-defs { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pp-defs span { padding: 6px 14px; border-radius: 999px; border: 1.5px dashed var(--secondary); font-family: var(--font-head); font-weight: 500; font-size: 13.5px; color: var(--primary); }

.pp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.pp-num { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--secondary); }
.pp-section-head .section-title { margin-top: 6px; }
.pp-section-head p { max-width: 440px; color: var(--muted); }

/* collect: two source panels */
.pp-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pp-source { position: relative; padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.pp-source:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pp-source.alt { background: var(--grad-deep); border-color: var(--primary); color: #dff3e7; }
.pp-source-top { display: flex; align-items: center; gap: 16px; }
.pp-source-ic { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--light); color: var(--primary); }
.pp-source-ic svg { width: 28px; height: 28px; }
.alt .pp-source-ic { background: rgba(255,255,255,.12); color: #fff; }
.pp-source h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--primary); }
.alt h3 { color: #fff; }
.pp-source small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.alt small { color: #9fe0b8; }
.pp-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chips li { padding: 8px 13px; border-radius: 12px; background: var(--light); font-size: 13.5px; line-height: 1.35; color: var(--primary); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.pp-chips li:hover { transform: translateY(-3px); background: var(--secondary); color: #fff; }
.alt .pp-chips li { background: rgba(255,255,255,.1); color: #e4f5ea; }
.alt .pp-chips li:hover { background: #fff; color: var(--primary); }
.pp-note { margin-top: 26px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; background: #fff; border-left: 5px solid var(--yellow); box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: var(--primary); }
.pp-note svg { flex: none; width: 26px; height: 26px; color: var(--yellow); }

/* under 18: shield panel */
.pp-child { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.pp-shield { position: relative; max-width: 360px; margin: 0 auto; }
.pp-shield svg { width: 100%; height: auto; }
.js .pp-shield .ring-spin { transform-origin: 180px 180px; animation: spin 40s linear infinite; }
.js .pp-shield .shield-body { transform-origin: 180px 180px; animation: float 5s ease-in-out infinite; }
.pp-promises { margin-top: 22px; display: grid; gap: 12px; }
.pp-promise { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pp-promise:hover { transform: translateX(6px); border-color: var(--secondary); box-shadow: var(--shadow-sm); }
.pp-promise b { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--light); color: var(--secondary); }
.pp-promise b svg { width: 18px; height: 18px; }
.pp-promise p { font-size: 15px; line-height: 1.6; }
.pp-promise.is-strong { background: var(--grad-deep); border-color: var(--primary); }
.pp-promise.is-strong p { color: #fff; font-weight: 600; }
.pp-promise.is-strong b { background: var(--yellow); color: var(--primary); }
.pp-law { margin-top: 18px; display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fffaf0; border: 1.5px dashed #e8c26a; font-size: 14px; line-height: 1.65; color: #5b4a1f; }
.pp-law svg { flex: none; width: 24px; height: 24px; color: #c99a1d; margin-top: 2px; }

/* uses: icon tiles */
.pp-uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pp-use { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; font-size: 14px; line-height: 1.35; color: var(--primary); transition: transform .35s var(--ease), background-color .35s, color .35s, box-shadow .35s; }
.pp-use span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--light); color: var(--secondary); transition: background-color .35s, color .35s, transform .35s var(--ease); }
.pp-use span svg { width: 20px; height: 20px; }
.pp-use:hover { transform: translateY(-5px); background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.pp-use:hover span { background: rgba(255,255,255,.14); color: #fff; transform: rotate(-8deg); }
.pp-statement { margin: 36px auto 0; max-width: 780px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--primary); }
.pp-statement span { display: block; margin-top: 4px; color: var(--secondary); }

/* learner info: hub diagram */
.pp-hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: 22px 40px; align-items: center; }
.pp-hub-col { display: grid; gap: 16px; }
.pp-q { position: relative; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--primary); transition: transform .35s var(--ease), border-color .35s; }
.pp-q:hover { transform: scale(1.03); border-color: var(--secondary); }
.pp-q::after { content: ""; position: absolute; top: 50%; width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--secondary) 0 6px, transparent 6px 11px); }
.pp-hub-col.left .pp-q::after { left: 100%; }
.pp-hub-col.right .pp-q::after { right: 100%; }
.pp-core { position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 24px; background: var(--grad-deep); color: #fff; box-shadow: 0 0 0 14px rgba(52,156,92,.12), 0 0 0 28px rgba(52,156,92,.06), var(--shadow); }
.pp-core small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9fe0b8; }
.pp-core strong { display: block; margin-top: 6px; font-family: var(--font-head); font-size: 19px; line-height: 1.3; }
.js .pp-core { animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 20px rgba(52,156,92,.10), 0 0 0 40px rgba(52,156,92,.04), var(--shadow); } }
.pp-purpose { margin: 44px auto 0; max-width: 820px; padding: 26px 30px; border-radius: 22px; text-align: center; background: var(--light); font-family: var(--font-head); font-weight: 600; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.5; color: var(--primary); }
.pp-purpose s { text-decoration-color: #d64545; text-decoration-thickness: 2px; color: var(--muted); font-weight: 500; }

/* changes */
.pp-changes { display: flex; gap: 24px; align-items: flex-start; padding: 32px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pp-changes-ic { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--light); color: var(--secondary); }
.pp-changes-ic svg { width: 32px; height: 32px; }
.js .pp-changes-ic svg { animation: spin 12s linear infinite; }
.pp-changes h2 { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--primary); }
.pp-changes p { margin-top: 10px; font-size: 15.5px; line-height: 1.75; }

/* commitment band */
.pp-commit { position: relative; overflow: hidden; background: var(--grad-section); text-align: center; }
.pp-commit .eyebrow { color: #9fe0b8; }
.pp-commit blockquote { margin-top: 18px; font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.3; color: #fff; }
.pp-commit blockquote em { font-style: normal; color: var(--yellow); }
.pp-commit .heart { width: 64px; height: 64px; margin: 0 auto 6px; color: #fff; }
.js .pp-commit .heart { animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.pp-commit .ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(255,255,255,.14); }
.pp-commit .ring.r1 { width: 420px; height: 420px; left: -180px; top: -180px; }
.pp-commit .ring.r2 { width: 340px; height: 340px; right: -130px; bottom: -150px; }
.js .pp-commit .ring { animation: spin 60s linear infinite; }

@media (max-width: 999px) {
  .pp-sources, .pp-child { grid-template-columns: minmax(0, 1fr); }
  .pp-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-hub { grid-template-columns: minmax(0, 1fr); }
  .pp-core { width: 200px; margin: 10px auto; order: -1; }
  .pp-q::after { display: none; }
  .pp-shield { max-width: 260px; }
}
@media (max-width: 640px) {
  .pp-uses { grid-template-columns: minmax(0, 1fr); }
  .pp-source { padding: 22px 18px; }
  .pp-changes { flex-direction: column; padding: 24px 20px; }
}

/* =========================================================
   HOME – MEET OUR LEAD INSTRUCTOR
   ========================================================= */
.instructor { overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.instructor::before { content: ""; position: absolute; left: -14%; top: 18%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(52,156,92,.10), transparent 68%); pointer-events: none; }
.instructor-title { position: relative; text-align: center; }
.instructor-title::after { content: ""; display: block; width: 56px; height: 3px; margin: 16px auto 0; border-radius: 2px; background: var(--secondary); }
.instructor-grid { position: relative; margin-top: 56px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; align-items: center; }

/* photo */
.instructor-photo { position: relative; margin: 0 0 0 18px; max-width: 430px; justify-self: center; width: 100%; }
.ip-frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: #5f6d7b; box-shadow: 0 30px 60px rgba(3,86,67,.22); }
.ip-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.instructor-photo:hover .ip-frame img { transform: scale(1.03); }
.ip-backdrop { position: absolute; z-index: 0; inset: 26px -22px -22px 26px; border-radius: 30px; background: var(--grad-green); }
.ip-backdrop::after { content: ""; position: absolute; right: 22px; bottom: 22px; width: 76px; height: 76px; background: radial-gradient(circle, rgba(255,255,255,.28) 1.6px, transparent 1.8px) 0 0 / 12px 12px; }
.ip-ring { position: absolute; z-index: 0; left: -34px; top: -18px; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgba(52,156,92,.45); }
.js .ip-ring { animation: spin 40s linear infinite; }

/* text */
.instructor-name { font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.02em; color: var(--primary); }
.instructor-role { margin-top: 10px; display: inline-block; padding: 7.35px 14.7px; border-radius: 999px; background: var(--light); font-family: var(--font-head); font-weight: 500; font-size: 15.23px; color: var(--primary); }
.instructor-quote { position: relative; margin: 30px 0 0; padding: 4px 0 4px 30px; border-left: 3px solid var(--secondary); }
.instructor-quote::before { content: "“"; position: absolute; left: 18px; top: -46px; font-family: Georgia, serif; font-size: 110px; line-height: 1; color: rgba(52,156,92,.18); pointer-events: none; }
.instructor-quote p { position: relative; font-size: 16.5px; line-height: 1.8; color: var(--text); }
.instructor-quote p:first-child { font-family: var(--font-head); font-weight: 500; font-size: 18px; line-height: 1.65; color: var(--primary); }
.instructor-quote p + p { margin-top: 12px; }
.instructor-quals { margin-top: 28px; }
.instructor-quals h4 { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); }
.instructor-quals ul { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.instructor-quals li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 500; font-size: 14.5px; line-height: 1.4; color: var(--ink); transition: transform .35s var(--ease), border-color .35s; }
.instructor-quals li:hover { transform: translateY(-3px); border-color: var(--secondary); }
.iq-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-green); color: #fff; }
.iq-ic svg { width: 20px; height: 20px; }
.instructor-cta { margin-top: 30px; height: 50px; padding: 0 28px; }

/* impact band */
.impact { position: relative; margin-top: 72px; padding: 30px 34px; border-radius: 28px; background: var(--grad-deep); overflow: hidden; }
.impact::before { content: ""; position: absolute; right: -60px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.12); }
.impact-title { position: relative; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9fe0b8; }
.impact-list { position: relative; margin-top: 16px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.impact-list li { padding: 6px 22px; border-left: 1px solid rgba(255,255,255,.16); }
.impact-list li:first-child { padding-left: 0; border-left: 0; }
.impact-list strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.impact-list span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: #cdeedd; }

@media (max-width: 999px) {
  .instructor-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .instructor-photo { max-width: 360px; margin: 0 auto; }
     .impact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .impact-list li:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .instructor-photo { max-width: 300px; }
  .ip-backdrop { inset: 18px -14px -14px 18px; }
            .instructor-quals ul { grid-template-columns: minmax(0, 1fr); }
  .instructor-cta { width: 100%; }
  .impact { padding: 26px 20px; }
  .impact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-list li:nth-child(n) { padding: 6px 14px; border-left: 1px solid rgba(255,255,255,.16); }
  .impact-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .impact-list li:last-child { grid-column: 1 / -1; }
}

/* =========================================================
   HOME – TEACHING PHILOSOPHY PHOTO COLLAGE
   ========================================================= */
.phil-collage { position: relative; display: grid; grid-template-columns: 1.12fr 1fr; grid-template-rows: repeat(7, minmax(0, 1fr)); gap: 14px; aspect-ratio: 1 / 1.06; margin-top: 18px; padding: 10px 14px 14px 10px; }
.phil-tile { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: 22px; background: #fff; padding: 5px; box-shadow: 0 16px 34px rgba(3,86,67,.16); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.phil-tile picture, .phil-tile img { display: block; width: 100%; height: 100%; }
.phil-tile img { object-fit: cover; border-radius: 17px; transition: transform .9s var(--ease); }
.phil-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(3,86,67,.22); }
.phil-tile:hover img { transform: scale(1.05); }
.phil-tile.t1 { grid-column: 1; grid-row: 1 / 5; }
.phil-tile.t2 { grid-column: 2; grid-row: 1 / 4; margin-top: 26px; }
.phil-tile.t3 { grid-column: 1; grid-row: 5 / 8; margin-left: 26px; }
.phil-tile.t4 { grid-column: 2; grid-row: 4 / 8; }
.phil-backdrop { position: absolute; z-index: 0; right: 0; bottom: 0; width: 62%; height: 64%; border-radius: 30px; background: var(--grad-green); }
.phil-dots { position: absolute; z-index: 0; left: 0; top: 46%; width: 88px; height: 88px; background: radial-gradient(circle, rgba(52,156,92,.45) 1.8px, transparent 2px) 0 0 / 14px 14px; }
.phil-sun { position: absolute; z-index: 2; right: 46%; top: 54%; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px #fff, 0 10px 20px rgba(0,0,0,.12); }
.js .phil-reveal:not(.is-in) .phil-tile { opacity: 0; transform: translateY(26px) scale(.94); }
.js .phil-reveal .phil-tile { transition: opacity .8s var(--ease), transform .9s var(--ease), box-shadow .5s var(--ease); }
.js .phil-reveal .phil-tile.t2 { transition-delay: .12s, .12s, 0s; }
.js .phil-reveal .phil-tile.t3 { transition-delay: .24s, .24s, 0s; }
.js .phil-reveal .phil-tile.t4 { transition-delay: .36s, .36s, 0s; }
.js .phil-reveal:not(.is-in) .phil-sun { transform: scale(0); }
.phil-sun { transition: transform .6s cubic-bezier(.18,.89,.32,1.3) .7s; }
@media (max-width: 640px) {
  .phil-collage { gap: 10px; padding: 6px 10px 10px 6px; }
  .phil-tile { border-radius: 16px; padding: 4px; }
  .phil-tile img { border-radius: 12px; }
  .phil-tile.t2 { margin-top: 16px; } .phil-tile.t3 { margin-left: 16px; }
  .phil-sun { width: 24px; height: 24px; box-shadow: 0 0 0 5px #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .js .phil-reveal .phil-tile { opacity: 1 !important; transform: none !important; }
  .js .phil-reveal .phil-sun { transform: none !important; }
}

/* ---------- Back to top (added by main.js on every page) ---------- */
.to-top { position: fixed; right: 29px; bottom: 94px; z-index: 70; width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--primary); box-shadow: 0 8px 22px rgba(3, 86, 67, .18), inset 0 0 0 1.5px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .25s, color .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.to-top:hover { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(3, 86, 67, .3); }
.to-top:hover svg { transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.to-top .to-top-tip { position: absolute; right: 56px; top: 50%; transform: translate(8px, -50%); opacity: 0; pointer-events: none; white-space: nowrap; padding: 7px 11px; border-radius: 10px; background: var(--ink); color: #fff; font-family: var(--font-body); font-size: 12.5px; transition: opacity .25s, transform .25s; }
.to-top:hover .to-top-tip, .to-top:focus-visible .to-top-tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- FAQ (home) ---------- */
.faq { background: linear-gradient(180deg, var(--light) 0%, #fff 78%); overflow: hidden; }
.faq::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(52, 156, 92, .22) 1.4px, transparent 1.6px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 22%, transparent 78%, #000); mask-image: linear-gradient(90deg, #000, transparent 22%, transparent 78%, #000); }
.faq .container { position: relative; }
.faq-bubble { position: absolute; z-index: 0; display: grid; place-items: center; border-radius: 50% 50% 50% 14%; font-family: var(--font-head); font-weight: 700; line-height: 1; pointer-events: none; }
.faq-bubble.b1 { left: 5.5%; top: 150px; width: 104px; height: 104px; font-size: 54px; background: var(--grad-green); color: #fff; transform: rotate(-10deg); box-shadow: var(--shadow); }
.faq-bubble.b2 { right: 6%; top: 44%; width: 82px; height: 82px; font-size: 42px; background: var(--accent); color: var(--primary); border-radius: 50% 50% 14% 50%; transform: rotate(8deg); }
.faq-bubble.b3 { left: 9%; bottom: 130px; width: 56px; height: 56px; font-size: 28px; background: #fff; color: var(--secondary); box-shadow: var(--shadow-sm); }
.js .faq-bubble.b1 { animation: floatSm 6s ease-in-out infinite; }
.js .faq-bubble.b2 { animation: floatSm 7s ease-in-out 1s infinite; }
.js .faq-bubble.b3 { animation: floatSm 5s ease-in-out .5s infinite; }

.faq-list { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s var(--ease); }
.faq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--secondary); transform: scaleY(0); transform-origin: top; transition: transform .38s var(--ease); }
.faq-item:hover { box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.faq-item.is-open { box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(52, 156, 92, .45); }
.faq-item.is-open::before { transform: scaleY(1); }
.faq-h { margin: 0; font: inherit; }
.faq-btn { width: 100%; display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 0; border-radius: 18px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.faq-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.faq-num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--light); color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: 14px; transition: background-color .3s, color .3s; }
.faq-item.is-open .faq-num { background: var(--accent); color: #3d2f05; }
.faq-q { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 600; font-size: 17.5px; line-height: 1.4; color: var(--ink); transition: color .25s; }
.faq-btn:hover .faq-q, .faq-item.is-open .faq-q { color: var(--primary); }
.faq-icon { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .3s, box-shadow .3s, transform .38s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--primary); transform: translate(-50%, -50%); transition: transform .38s var(--ease), background-color .3s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-btn:hover .faq-icon { box-shadow: inset 0 0 0 2px var(--secondary); }
.faq-item.is-open .faq-icon { background: var(--grad-green); box-shadow: none; transform: rotate(180deg); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: #fff; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
/* answer: grid rows 0fr -> 1fr animates the real height smoothly, no measuring needed.
   Without JavaScript every answer stays open. */
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a-inner { min-height: 0; overflow: hidden; }
.js .faq-a { grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22, .8, .3, 1); }
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.js .faq-a-inner { visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .4s cubic-bezier(.22, .8, .3, 1), visibility 0s linear .4s; }
.js .faq-item.is-open .faq-a-inner { visibility: visible; opacity: 1; transform: none; transition: opacity .35s ease .06s, transform .4s cubic-bezier(.22, .8, .3, 1), visibility 0s; }
.faq-a p { padding: 0 64px 22px 82px; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.faq-a a { color: var(--secondary); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.faq-a a:hover { color: var(--primary); }

.faq-cta { position: relative; z-index: 1; overflow: hidden; max-width: 880px; margin: 30px auto 0; padding: 26px 30px; border-radius: 22px; background: var(--grad-deep); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.faq-cta::before { content: ""; position: absolute; width: 190px; height: 190px; right: -60px; top: -90px; border-radius: 50%; background: rgba(248, 189, 37, .22); pointer-events: none; }
.faq-cta::after { content: ""; position: absolute; width: 120px; height: 120px; left: 38%; bottom: -80px; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.faq-cta-text, .faq-cta-actions { position: relative; z-index: 1; }
.faq-cta h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; line-height: 1.3; }
.faq-cta p { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.faq-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.faq-wa { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn.faq-wa:hover { background: #1fbe5b; transform: translateY(-2px); }
.btn.faq-wa svg { width: 20px; height: 20px; }
.btn.faq-wa:hover svg { transform: none; }

@media (max-width: 1099px) { .faq-bubble { display: none; } }
@media (max-width: 640px) {
  .to-top { right: 22px; bottom: 82px; width: 42px; height: 42px; }
  .faq-list { gap: 12px; }
  .faq-btn { gap: 12px; padding: 16px; }
  .faq-num { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
  .faq-q { font-size: 15.5px; }
  .faq-icon { width: 30px; height: 30px; }
  .faq-icon::before, .faq-icon::after { width: 11px; }
  .faq-a p { padding: 0 18px 18px 62px; font-size: 14.5px; }
  .faq-cta { padding: 22px 20px; }
  .faq-cta-actions, .faq-cta-actions .btn { width: 100%; }
}
@media (max-width: 380px) { .faq-a p { padding-left: 18px; } }
@media (prefers-reduced-motion: reduce) { .js .faq-bubble { animation: none; } }

/* photos that should not be dragged off the page (philosophy collage, instructor) */
.phil-tile img, .ip-frame img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }

/* ---------- "Inspect" warning (assets/js/guard.js) ---------- */
.sg-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(15, 31, 26, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sg-overlay[hidden] { display: none; }
.sg-card { width: 100%; max-width: 400px; padding: 32px 28px 28px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); animation: rise .35s var(--ease) both; }
.sg-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #FDECEC; color: #C62828; }
.sg-icon svg { width: 30px; height: 30px; }
.sg-title { margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.3; color: #C62828; }
.sg-text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--text); }
.sg-btn { margin-top: 22px; }
.sg-btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.sg-open body { overflow: hidden; }

/* pricing cards rise in one after another (more specific than the compact size rules) */
.js .price-card[data-reveal] { opacity: 0; transform: translateY(60px) scale(.95);
  transition: opacity .8s var(--ease) var(--d, 0ms), transform 1s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms), box-shadow .45s var(--ease), border-color .45s; }
.js .price-card[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- reading progress bar (added by main.js on every page) ---------- */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 80; width: 100%; height: 2px; background: var(--grad-green);
  transform: scaleX(0); transform-origin: left center; pointer-events: none; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .js .price-card[data-reveal] { opacity: 1; transform: none; }
}

/* photos and logos cannot be dragged off the page (any image, now or added later) */
img, svg, picture { -webkit-user-drag: none; user-drag: none; }
img { -webkit-user-select: none; user-select: none; }

/* Contact and About: content starts the same distance below the navbar as the Library page (40px, 28px on phones) */
.page-contact .page-hero, .page-about .page-hero { padding-top: 40px; }
.page-contact .page-hero .container > :first-child, .page-about .page-hero .container > :first-child { align-self: start; }
@media (max-width: 640px) { .page-contact .page-hero, .page-about .page-hero { padding-top: 28px; } }

/* floating WhatsApp and back-to-top buttons: a little smaller */
.wa-float { width: 50px; height: 50px; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .wa-tip { right: 62px; }
.to-top { right: 28px; bottom: 86px; width: 38px; height: 38px; }
.to-top svg { width: 17px; height: 17px; }
.to-top .to-top-tip { right: 50px; }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .wa-float svg { width: 24px; height: 24px; }
  .to-top { right: 21px; bottom: 74px; width: 36px; height: 36px; }
}
