/* ================================================================
   ACADEMY PREPARATORY SCHOOL
   academics-styles.css — Shared Header/Footer + Academics Page
   ================================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --primary:        #fcbe15;
  --primary-dark:   #e0a800;
  --primary-pale:   rgba(252,190,21,0.12);
  --secondary:      #874667;
  --secondary-light:#a3587e;
  --secondary-dark: #6b3652;
  --secondary-pale: rgba(135,70,103,0.08);
  --neutral:        #e1e1e1;
  --neutral-mid:    #c8c8c8;
  --white:          #ffffff;
  --text:           #1e1e1e;
  --text-mid:       #444444;
  --text-light:     #6b6b6b;
  --bg:             #fafaf8;
  --bg-alt:         #f3f1ed;
  --radius:         14px;
  --radius-sm:      8px;
  --radius-xs:      5px;
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.07);
  --shadow:         0 6px 28px rgba(0,0,0,0.09);
  --shadow-lg:      0 16px 52px rgba(0,0,0,0.13);
  --shadow-xl:      0 28px 72px rgba(0,0,0,0.18);
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --t:              0.32s;
  --transition:     var(--t) var(--ease);
  --header-h:       76px;
  --font:           'Poppins', sans-serif;
  --max-w:          1260px;
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }

/* ── REVEAL ANIMATION ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn--lg { padding: 15px 34px; font-size: 0.95rem; }
.btn--primary  { background: var(--primary); color: var(--secondary-dark); border-color: var(--primary); }
.btn--primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(252,190,21,0.38); }
.btn--secondary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn--secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--secondary); border-color: var(--white); }
.btn--white:hover { background: var(--neutral); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn--outline:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }

/* ── SECTION CHROME ─────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: var(--secondary-pale);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-label--light { background: rgba(255,255,255,0.15); color: var(--white); }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.18; color: var(--text); margin-bottom: 14px; }
.section-title--light { color: var(--white); }
.section-title em { font-style: normal; color: var(--secondary); }
.section-desc { font-size: 1rem; color: var(--text-light); max-width: 560px; margin-left: auto; margin-right: auto; }
.section-desc--light { color: rgba(255,255,255,0.72); }
.section-header { text-align: center; margin-bottom: 56px; }

/* ================================================================
   SHARED HEADER
   ================================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0,0,0,0.1);
  height: 62px;
}
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__emblem { flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.18; }
.logo__name { font-size: 0.97rem; font-weight: 800; color: var(--white); transition: color var(--transition); }
.logo__sub  { font-size: 0.66rem; font-weight: 500; color: rgba(255,255,255,0.7); letter-spacing: 0.1em; text-transform: uppercase; transition: color var(--transition); }
.header.scrolled .logo__name { color: var(--secondary); }
.header.scrolled .logo__sub  { color: var(--text-light); }
.logo__name--light { color: var(--white) !important; }
.logo__sub--light  { color: rgba(255,255,255,0.6) !important; }

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }

.nav__item { position: relative; }
/* ensure dropdown arrow is not clipped */
.nav__item--active > .nav__link,
.nav__item--active > .nav__link--drop { color: var(--primary) !important; }

.nav__link,
.nav__link--drop {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  background: none;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.nav__link::after,
.nav__link--drop::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 22px);
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition);
}
.nav__link:hover, .nav__link--drop:hover { color: var(--white); }
.nav__link:hover::after, .nav__link--drop:hover::after { transform: translateX(-50%) scaleX(1); }
.header.scrolled .nav__link,
.header.scrolled .nav__link--drop { color: var(--text-mid); }
.header.scrolled .nav__link:hover,
.header.scrolled .nav__link--drop:hover { color: var(--secondary); }

.nav__chevron { font-size: 0.7rem; transition: transform var(--transition); display: inline-block; }
.nav__item--dropdown:hover .nav__chevron,
.nav__item--dropdown.open .nav__chevron { transform: rotate(180deg); }

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: 100%;           /* flush to bottom of the nav item */
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.07);
  padding-top: 8px;    /* visual gap / hover bridge above the visible list */
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 9999;
}
/* Caret */
.dropdown::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 8px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Open on hover (desktop) */
.nav__item--dropdown:hover > .dropdown,
.nav__item--dropdown.open > .dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.dropdown__list { padding: 6px 0; }
.dropdown__list li a {
  display: block;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.dropdown__list li a:hover {
  background: var(--secondary-pale);
  color: var(--secondary);
  padding-left: 26px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
  flex-shrink: 0;
}
.hamburger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.header.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__cta { flex-shrink: 0; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { object-position: center 30%; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    130deg,
    rgba(107,54,82,0.88) 0%,
    rgba(30,10,22,0.65) 55%,
    rgba(0,0,0,0.28) 100%
  );
}
.hero__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__deco--1 {
  width: 700px; height: 700px;
  top: -200px; right: -160px;
  background: radial-gradient(circle, rgba(252,190,21,0.1) 0%, transparent 70%);
}
.hero__deco--2 {
  width: 500px; height: 500px;
  bottom: -120px; left: -80px;
  background: radial-gradient(circle, rgba(135,70,103,0.15) 0%, transparent 70%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 80px;
  max-width: 760px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span:last-child { color: var(--primary); }

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--secondary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero__label::before { content: '★'; font-size: 0.75rem; }

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero__title em { font-style: normal; color: var(--primary); position: relative; display: inline-block; }
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 5px;
  background: rgba(252,190,21,0.3);
  border-radius: 3px;
}

.hero__sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero__meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.75); font-weight: 500; }
.hero__meta-icon { font-size: 1rem; }
.hero__meta-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

.hero__scroll-line {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 64px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.45));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ================================================================
   CURRICULUM TABS
   ================================================================ */
.curriculum { background: var(--bg); }

/* Tab buttons */
.tabs {
  display: flex;
  gap: 0;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 6px;
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 20px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  min-width: 140px;
  position: relative;
}
.tab-btn:hover { background: rgba(135,70,103,0.06); }
.tab-btn--active {
  background: var(--white) !important;
  box-shadow: var(--shadow-sm);
}
.tab-btn--active .tab-btn__age { color: var(--secondary); }
.tab-btn--active .tab-btn__name { color: var(--secondary); }
.tab-btn--active .tab-btn__full { color: var(--secondary); }
.tab-btn--active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

.tab-btn__age { font-size: 0.7rem; font-weight: 600; color: var(--text-light); letter-spacing: 0.06em; text-transform: uppercase; }
.tab-btn__name { font-size: 1.3rem; font-weight: 900; color: var(--text-mid); line-height: 1; }
.tab-btn__full { font-size: 0.72rem; color: var(--text-light); font-weight: 400; }

/* Tab panels */
.tab-panel { display: none; animation: fadeSlideIn 0.4s var(--ease) both; }
.tab-panel--active { display: block; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-panel__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.tab-panel__inner--reverse .tab-panel__content { order: 1; }
.tab-panel__inner--reverse .tab-panel__media   { order: 2; }

/* Media pane */
.tab-panel__media { position: relative; }
.tab-panel__media img {
  height: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}
.tab-panel__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.tab-panel__badge span { font-size: 0.68rem; font-weight: 700; color: var(--secondary-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.tab-panel__badge strong { font-size: 2rem; font-weight: 900; color: var(--secondary-dark); line-height: 1; }

/* Content pane */
.tab-panel__content .section-label { margin-bottom: 10px; }
.tab-panel__content h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.2;
}
.tab-panel__content p { font-size: 0.93rem; color: var(--text-light); line-height: 1.75; margin-bottom: 14px; }

/* Subject chips */
.subject-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--secondary-pale);
  color: var(--secondary);
  border-radius: 50px;
  border: 1.5px solid rgba(135,70,103,0.12);
  transition: var(--transition);
}
.subject-chip:hover { background: var(--secondary); color: var(--white); transform: translateY(-1px); }
.subject-chip--gold { background: var(--primary-pale); color: var(--secondary-dark); border-color: rgba(252,190,21,0.3); }
.subject-chip--gold:hover { background: var(--primary); }

/* Panel highlights */
.panel-highlights { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px; }
.panel-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}
.panel-highlight:hover { background: var(--primary-pale); transform: translateX(4px); }
.panel-highlight__icon { font-size: 1.3rem; flex-shrink: 0; }
.panel-highlight strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text); }
.panel-highlight span { font-size: 0.8rem; color: var(--text-light); }

/* ================================================================
   TEACHING APPROACH
   ================================================================ */
.approach {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.approach__bg {
  position: absolute; inset: 0;
  background: var(--secondary);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(252,190,21,0.09) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.approach__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.approach-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px 30px;
  backdrop-filter: blur(6px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.approach-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.approach-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-6px); }
.approach-card:hover::before { transform: scaleX(1); }

.approach-card__num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.approach-card__icon { font-size: 2.2rem; margin-bottom: 18px; display: block; transition: transform var(--transition); }
.approach-card:hover .approach-card__icon { transform: scale(1.15) rotate(-6deg); }
.approach-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.approach-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* Stagger approach cards */
.approach__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.approach__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.approach__grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.approach__grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.approach__grid .reveal:nth-child(6) { transition-delay: 0.24s; }

/* ================================================================
   RESULTS & ACHIEVEMENTS
   ================================================================ */
.results { background: var(--bg-alt); }

.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}
.result-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.result-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.result-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(135,70,103,0.12); }
.result-card:hover::after { transform: scaleX(1); }
.result-card--featured {
  background: var(--secondary);
  border-color: var(--secondary);
  grid-column: span 1;
}
.result-card--featured .result-card__icon { filter: none; }
.result-card--featured .result-card__num { color: var(--primary); }
.result-card--featured .result-card__unit { color: var(--primary); }
.result-card--featured .result-card__label { color: rgba(255,255,255,0.85); }
.result-card--featured .result-card__context { color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.1); }

.result-card__icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.result-card__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  display: inline;
}
.result-card__unit {
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary);
  display: inline;
}
.result-card__label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.5;
}
.result-card__context {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--secondary);
  background: var(--secondary-pale);
  padding: 3px 12px;
  border-radius: 50px;
}

/* Stagger results */
.results__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.results__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.results__grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.results__grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.results__grid .reveal:nth-child(6) { transition-delay: 0.24s; }

/* Achievements strip */
.achievements-strip {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}
.achievements-strip h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--neutral);
}
.achievements-list { display: flex; flex-direction: column; gap: 0; }
.achievement-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background var(--transition), padding-left var(--transition);
  border-radius: var(--radius-xs);
}
.achievement-item:last-child { border-bottom: none; }
.achievement-item:hover { background: var(--secondary-pale); padding-left: 12px; }
.achievement-item__year {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--secondary);
  padding: 3px 10px;
  border-radius: 50px;
  min-width: 52px;
  text-align: center;
  flex-shrink: 0;
}
.achievement-item__text { font-size: 0.88rem; color: var(--text-mid); }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner { position: relative; padding: 96px 0; overflow: hidden; }
.cta-banner__bg { position: absolute; inset: 0; }
.cta-banner__bg img { object-position: center; }
.cta-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(107,54,82,0.93) 0%, rgba(135,70,103,0.87) 100%);
}
.cta-banner__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-banner__text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-banner__text h2 span { color: var(--primary); }
.cta-banner__text p { font-size: 0.97rem; color: rgba(255,255,255,0.78); margin-bottom: 0; line-height: 1.7; }
.cta-banner__actions { display: flex; flex-direction: column; gap: 12px; }

/* ================================================================
   SHARED FOOTER
   ================================================================ */
.footer { background: #180c14; }

.footer__top { padding: 76px 0 56px; }
.footer__top-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.4fr;
  gap: 36px;
}

/* Brand col */
.footer__brand .logo { margin-bottom: 18px; }
.footer__tagline { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.72; max-width: 240px; margin-bottom: 24px; }

.footer__socials { display: flex; gap: 8px; }
.footer__social {
  width: 36px; height: 36px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer__social:hover { transform: translateY(-3px); }
.footer__social--fb:hover  { background: #1877f2; color: var(--white); }
.footer__social--ig:hover  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: var(--white); }
.footer__social--li:hover  { background: #0a66c2; color: var(--white); }
.footer__social--yt:hover  { background: #ff0000; color: var(--white); }

/* Link columns */
.footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__col-title--spaced { margin-top: 28px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition), padding-left var(--transition);
}
.footer__links a:hover { color: var(--primary); padding-left: 4px; }

/* Contact col */
.footer__address { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer__contact-icon { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer__hours-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2px;
}
.footer__cta-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Bottom bar */
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 22px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer__legal a:hover { color: var(--primary); }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 52px; height: 52px;
  z-index: 997;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px) !important; }

.btt__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.btt__track { fill: var(--white); stroke: var(--neutral-mid); stroke-width: 3; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.14)); }
.btt__fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 0.12s linear;
}
.btt__arrow { position: relative; z-index: 2; font-size: 1.05rem; color: var(--secondary); font-weight: 700; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1140px) {
  .footer__top-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: span 3; display: flex; flex-direction: column; }
  .approach__grid { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: repeat(2, 1fr); }
  .result-card--featured { grid-column: span 1; }
}

@media (max-width: 960px) {
  .tab-panel__inner,
  .tab-panel__inner--reverse { grid-template-columns: 1fr; gap: 44px; }
  .tab-panel__inner--reverse .tab-panel__content { order: 2; }
  .tab-panel__inner--reverse .tab-panel__media   { order: 1; }
  .tab-panel__media img { height: 340px; }
  .tab-panel__badge { right: 0; }
  .cta-banner__inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-banner__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .footer__top-inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .footer__col--contact { grid-column: span 2; }
  .results__grid { grid-template-columns: 1fr 1fr; }
  .approach__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .section { padding: 68px 0; }
  .container { padding: 0 18px; }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
    padding: 12px 0 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 0; padding: 0 8px; }

  .nav__item { border-bottom: 1px solid var(--neutral); }
  .nav__item:last-child { border-bottom: none; }

  .nav__link,
  .nav__link--drop {
    display: flex;
    width: 100%;
    padding: 13px 16px;
    color: var(--text);
    font-size: 0.9rem;
    border-radius: 0;
    justify-content: space-between;
  }
  .nav__link::after, .nav__link--drop::after { display: none; }

  /* Mobile dropdown — override desktop absolute behaviour */
  .dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--bg-alt);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding-top: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease) !important;
  }
  .dropdown::before { display: none !important; }
  .nav__item--dropdown.open > .dropdown { max-height: 440px; }
  .dropdown__list { padding: 4px 0; }
  .dropdown__list li a { padding: 10px 32px; font-size: 0.83rem; }
  .dropdown__list li a:hover { padding-left: 36px; }

  .hamburger { display: flex; }
  .header__cta { display: none; }

  /* Tabs */
  .tab-btn__full { display: none; }
  .tab-btn { min-width: 100px; padding: 12px 14px; }

  .hero__meta-divider { display: none; }
  .hero__meta { gap: 12px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .approach__grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; }
  .result-card--featured { grid-column: span 1; }
  .footer__top-inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__col--contact { grid-column: span 1; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .achievements-strip { padding: 28px 22px; }
  .back-to-top { bottom: 18px; right: 18px; }

  .hero__content{padding-top:calc(var(--header-h) + 28px)!important}}

@media (max-width: 480px) {
  .tabs { flex-direction: column; }
  .tab-btn { flex-direction: row; gap: 12px; text-align: left; min-width: unset; padding: 12px 16px; }
  .tab-btn--active::after { display: none; }
  .tab-btn__name { font-size: 1rem; }
  .cta-banner__actions { flex-direction: column; }
  .cta-banner__actions .btn { justify-content: center; }
}
