/* ============================================
   Skill Learning Labs — style.css
   Theme: "The Lab" — deep navy, lime spark, warm paper
   Fonts: Sora (display) + Inter (body)
   ============================================ */

:root {
  --navy: #0d1f2d;
  --navy-2: #13293d;
  --navy-soft: #e8eef3;
  --lime: #c6f24e;
  --lime-dark: #9fd41f;
  --lime-soft: #f2fbdc;
  --teal: #1c9e8f;
  --teal-soft: #ddf3f0;
  --coral: #ff7a59;
  --coral-soft: #ffe9e2;
  --violet: #7c6cf0;
  --violet-soft: #ebe8fd;
  --paper: #fafaf6;
  --paper-2: #f1f2ea;
  --ink: #16222e;
  --ink-soft: #55636f;
  --line: #e3e6dd;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 34px rgba(13, 31, 45, .09);
  --shadow-sm: 0 4px 14px rgba(13, 31, 45, .07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }

.container { width: min(1160px, 92%); margin: 0 auto; }
section { padding: 4.5rem 0; }

.mark {
  background: linear-gradient(180deg, transparent 62%, var(--lime) 62%);
  padding: 0 .12em;
}

.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--teal);
  margin-bottom: .9rem;
}
.section-label::before { content: ''; width: 26px; height: 2px; background: var(--lime-dark); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem; margin-bottom: 2.6rem; flex-wrap: wrap;
}
.section-head p { color: var(--ink-soft); max-width: 560px; margin-top: .6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s ease;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--lime); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 246, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 18px rgba(13,31,45,.06); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }

.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.18rem; color: var(--navy);
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--navy); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.logo em { font-style: normal; color: var(--teal); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .2s, border .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--lime-dark); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 4.5rem 0 3.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .84rem; font-weight: 600; padding: .45rem 1.05rem; margin-bottom: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(28,158,143,.35);} 55% { box-shadow: 0 0 0 7px rgba(28,158,143,0);} }

.hero .lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 520px; margin: 1.3rem 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-points { display: flex; gap: 1.6rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-points div { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.hero-points .tick {
  width: 22px; height: 22px; border-radius: 50%; background: var(--lime-soft); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; font-size: .75rem;
}

.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid #fff;
  transform: rotate(1.5deg);
}
.hero-photo img { width: 100%; height: 460px; object-fit: cover; }

.hero-chip {
  position: absolute; background: #fff; border-radius: 16px; padding: .8rem 1.1rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem;
  animation: floaty 5s ease-in-out infinite;
}
.hero-chip strong { font-family: 'Sora', sans-serif; font-size: .9rem; display: block; }
.hero-chip small { color: var(--ink-soft); font-size: .74rem; }
.hero-chip .hc-icon {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.hc-1 { top: 6%; left: -7%; animation-delay: 0s; }
.hc-2 { bottom: 20%; right: -6%; animation-delay: 1.6s; }
.hc-3 { bottom: -5%; left: 8%; animation-delay: 3s; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

.grid-dots {
  position: absolute; width: 220px; height: 220px; z-index: -1;
  background-image: radial-gradient(var(--line) 2.4px, transparent 2.4px);
  background-size: 22px 22px;
}
.gd-1 { top: -40px; right: -60px; }
.gd-2 { bottom: -50px; left: -70px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy); color: var(--paper); padding: 1rem 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker-track span { font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem; white-space: nowrap; padding-right: 2rem; }
.ticker .spark { color: var(--lime); margin: 0 1rem; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.4rem 2rem; box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--navy); }
.stat h3 span { color: var(--teal); }
.stat p { color: var(--ink-soft); font-size: .9rem; margin-top: .3rem; }

/* ---------- Track cards (categories) ---------- */
.track-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.track-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.track-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--lime-dark); }
.track-card .track-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.track-card h3 { margin-bottom: .45rem; }
.track-card p { color: var(--ink-soft); font-size: .9rem; }
.track-card .track-num {
  position: absolute; top: 1.2rem; right: 1.3rem;
  font-family: 'Sora', sans-serif; font-size: .76rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper-2); border-radius: 999px; padding: .25rem .7rem;
}

/* ---------- Course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-media { position: relative; }
.course-media img { height: 200px; width: 100%; object-fit: cover; }
.course-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--navy); color: var(--lime); font-family: 'Sora', sans-serif;
  font-size: .72rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px;
}
.course-level {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: .72rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 999px;
}
.course-body { padding: 1.4rem 1.4rem 1.5rem; }
.course-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--ink-soft); margin-bottom: .7rem; flex-wrap: wrap; }
.course-meta .rating { color: #e8a013; font-weight: 700; }
.course-body h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.course-body h3 a:hover { color: var(--teal); }
.course-teacher { display: flex; align-items: center; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.course-teacher img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.course-teacher small { font-weight: 600; color: var(--ink-soft); }
.course-price { margin-left: auto; font-family: 'Sora', sans-serif; font-weight: 700; color: var(--navy); }
.course-price s { color: var(--ink-soft); font-weight: 400; font-size: .82rem; margin-right: .35rem; }

/* ---------- Split / Why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-photo { position: relative; }
.split-photo .main-img {
  border-radius: var(--radius-lg); height: 480px; width: 100%; object-fit: cover;
  border: 6px solid #fff; box-shadow: var(--shadow);
}
.split-photo .accent-img {
  position: absolute; bottom: -2rem; right: -1.5rem; width: 46%;
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow);
}
.split-photo .badge-float {
  position: absolute; top: 1.5rem; left: -1.2rem; background: var(--lime);
  border-radius: 14px; padding: .7rem 1.1rem; font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: .88rem; color: var(--navy); box-shadow: var(--shadow-sm);
}

.feature-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.8rem; }
.feature-item { display: flex; gap: 1.1rem; }
.fi-icon {
  flex: 0 0 50px; width: 50px; height: 50px; border-radius: 14px;
  background: var(--teal-soft); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.feature-item h3 { margin-bottom: .3rem; }
.feature-item p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-card::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 1.5rem; right: 1.6rem;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--paper-2);
  -webkit-text-stroke: 1.5px var(--line);
}
.step-icon {
  width: 54px; height: 54px; border-radius: 14px; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.step-card h3 { margin-bottom: .5rem; }
.step-card p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform .25s, box-shadow .25s;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testi-stars { color: #e8a013; letter-spacing: .15em; font-size: .9rem; }
.testi-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-author strong { font-family: 'Sora', sans-serif; font-size: .92rem; display: block; }
.testi-author small { color: var(--ink-soft); font-size: .8rem; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.8rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem;
  align-items: center; box-shadow: var(--shadow-sm);
}
.newsletter form { display: flex; gap: .7rem; }
.newsletter input {
  flex: 1; padding: .9rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif; font-size: .95rem; background: var(--paper);
}
.newsletter input:focus { outline: 2px solid var(--lime-dark); border-color: transparent; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy); border-radius: var(--radius-lg); text-align: center;
  padding: 4rem 2rem; color: #fff; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%;
}
.cta-band::before { width: 300px; height: 300px; background: rgba(198,242,78,.08); top: -120px; left: -80px; }
.cta-band::after { width: 260px; height: 260px; background: rgba(124,108,240,.12); bottom: -110px; right: -60px; }
.cta-band h2 { color: #fff; max-width: 620px; margin: 0 auto 1rem; position: relative; z-index: 1; }
.cta-band p { color: #c3cdd6; max-width: 520px; margin: 0 auto 2rem; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 4.5rem 0 4rem; position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(198,242,78,.09);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero p { color: #c3cdd6; max-width: 640px; margin-top: 1rem; font-size: 1.05rem; }
.crumbs { font-size: .84rem; color: #9fb0bd; margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--lime); }

/* ---------- Courses page ---------- */
.filter-bar { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.filter-pill {
  font-family: 'Sora', sans-serif; font-size: .86rem; font-weight: 600;
  padding: .55rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-soft); cursor: pointer; transition: all .2s;
}
.filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pill.active { background: var(--navy); color: var(--lime); border-color: var(--navy); }

/* ---------- About page ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; transition: transform .25s, box-shadow .25s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .vc-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.value-card h3 { margin-bottom: .5rem; }
.value-card p { color: var(--ink-soft); font-size: .93rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { text-align: center; }
.team-card img {
  width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius);
  border: 5px solid #fff; box-shadow: var(--shadow-sm); margin-bottom: 1rem;
  transition: transform .25s;
}
.team-card:hover img { transform: translateY(-5px) rotate(-1deg); }
.team-card h3 { font-size: 1rem; }
.team-card small { color: var(--teal); font-weight: 600; font-size: .84rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink);
  padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--teal); transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; gap: 1rem; margin-bottom: 1.2rem;
  transition: transform .2s, box-shadow .2s;
}
.contact-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ci-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.contact-info-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.contact-info-card p, .contact-info-card a { color: var(--ink-soft); font-size: .92rem; }
.contact-info-card a:hover { color: var(--teal); }

.contact-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.4rem; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .85rem 1.1rem; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif; font-size: .95rem; background: var(--paper); color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--lime-dark); border-color: transparent;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none; background: var(--lime-soft); border: 1px solid var(--lime-dark);
  color: #3c5a09; border-radius: 12px; padding: 1rem 1.3rem; margin-bottom: 1.2rem; font-weight: 600; font-size: .92rem;
}

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 3.5rem 0; }
.legal-wrap h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .6rem; }
.legal-updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 2.4rem; }
.legal-wrap h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); font-size: .97rem; margin-bottom: .8rem; }
.legal-wrap ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-wrap a { color: var(--teal); font-weight: 600; }
.legal-wrap a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c5cf; padding: 4rem 0 1.8rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.6rem; }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .logo em { color: var(--lime); }
.footer-grid > div > p { font-size: .92rem; max-width: 300px; margin-top: .8rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; }
.footer-col li { margin-bottom: .65rem; font-size: .92rem; }
.footer-col a:hover { color: var(--lime); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.07);
  display: inline-flex; align-items: center; justify-content: center; font-size: .95rem;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--lime); color: var(--navy); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.6rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .86rem;
}
.legal-links { display: flex; gap: 1.4rem; }
.legal-links a:hover { color: var(--lime); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: var(--lime); font-size: 1.1rem;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all .3s; box-shadow: var(--shadow-sm);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--teal); color: #fff; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo img { height: 380px; }
  .track-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid, .steps-grid, .testi-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .hero-chip { display: none; }
}

@media (max-width: 640px) {
  section { padding: 3.2rem 0; }
  .nav-links {
    position: fixed; inset: 65px 0 auto 0; background: var(--paper);
    flex-direction: column; gap: 0; padding: .5rem 0 1rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .85rem 6%; border-bottom: 0; }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }
  .track-grid, .course-grid, .steps-grid, .testi-grid, .values-grid, .team-grid, .form-row { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 1.8rem 1.2rem; }
  .newsletter { padding: 1.8rem 1.4rem; }
  .newsletter form { flex-direction: column; }
  .contact-form-card { padding: 1.6rem; }
  .split-photo .accent-img { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
