/* ═══════════════════════════════════════════════════════
   uptaQ social academy — Centralized Stylesheet
   uptaQ.club | Navy + Red CTA + Green Accent + Gold
═══════════════════════════════════════════════════════ */


/* ══════════════════════════════════
   1. FONT LOADING
══════════════════════════════════ */

@font-face {
  font-family: "AvenirNext";
  src: url("../assets/fonts/avenir-next-regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Goudy";
  src: url("../assets/fonts/goudy-old-style.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Bacalisties";
  src: url("../assets/fonts/bacalisties.ttf") format("truetype");
  font-display: swap;
}


/* ══════════════════════════════════
   2. DESIGN VARIABLES
══════════════════════════════════ */

:root {
  --navy: #012169;
  --navy-light: #1A3A8A;
  --cta: #C8102E;
  --cta-hover: #A00D24;
  --green: #4CAF50;
  --gold: #C9963B;

  --bg: #FAFBFE;
  --bg-alt: #EEF1F8;
  --bg-navy: #F0F2FA;

  --text: #0f172a;
  --text-mid: #374151;
  --muted: #64748b;
  --border: #E5E7EB;

  --white: #FFFFFF;

  --font-head: "Goudy", "Goudy Old Style", "Times New Roman", serif;
  --font-body: "AvenirNext", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Bacalisties", cursive;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 100px;

  --shadow-lg: 0 16px 40px rgba(1,33,105,0.12);
  --shadow-btn: 0 4px 16px rgba(200,16,46,0.3);
  --shadow-btn-navy: 0 4px 16px rgba(1,33,105,0.25);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.18s;
  --t-med: 0.3s;

  --nav-h: 72px;
  --max-w: 1180px;

  --nav-gap-desktop: 2px;
  --nav-gap-mobile: 2px;
}


/* ══════════════════════════════════
   3. RESET
══════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section[id], h2[id], h3[id], h4[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-body);
  font-kerning: normal;
  font-feature-settings: "kern";
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-top: var(--nav-h);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

input,
select,
textarea,
button {
  font-family: var(--font-body);
  color: var(--text);
}


/* ══════════════════════════════════
   4. TYPOGRAPHY
══════════════════════════════════ */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }

p {
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}

p:last-child { margin-bottom: 0; }

p + p {
  margin-top: 10px;
}

.section p + p,
.content-narrow p + p {
  margin-top: 12px;
}

.accent {
  font-family: var(--font-accent);
  color: var(--green);
  font-size: 1.6em;
  display: inline;
  line-height: inherit;
  vertical-align: middle;
  position: relative;
  bottom: 0.04em;
  margin: 0 6px;
}

.accent-banner {
  font-family: var(--font-accent);
  color: var(--green);
  font-size: 1.7em;
  display: inline;
  line-height: inherit;
  vertical-align: middle;
  position: relative;
  bottom: 0.04em;
}

.trigger-soon {
  font-family: var(--font-accent);
  color: #C8102E;
  font-size: 1.6em;
  display: inline;
  line-height: inherit;
  vertical-align: middle;
  position: relative;
  bottom: 0.04em;
  margin: 0 6px;
}


/* ── INLINE CONTENT LINKS (scoped to body paragraphs only) ── */
.page-header p a,
.section p a,
.cta-band p a,
.program-desc a,
.cta-note a,
.content-narrow p a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.page-header p a:hover,
.section p a:hover,
.cta-band p a:hover,
.program-desc a:hover,
.cta-note a:hover,
.content-narrow p a:hover {
  color: var(--navy);
}


/* ══════════════════════════════════
   5. LAYOUT
══════════════════════════════════ */

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

.content-narrow {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }


/* ══════════════════════════════════
   6. NAVBAR
══════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--navy);
  transition: box-shadow var(--t-med) var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(1,33,105,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.4px;
}

.footer .nav-logo img {
  height: 200px;
  width: auto;
}


/* ── Desktop Nav Links ── */

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--nav-gap-desktop);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border-radius: 10px;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
  will-change: transform;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-links a:active {
  transform: translateY(0) scale(0.96);
}

.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: none;
}

.nav-separator {
  display: flex;
  align-items: center;
  margin: 0 6px;
}

.nav-separator::before {
  content: "|";
  color: rgba(255,255,255,0.35);
}


/* ── Nav Right ── */

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: background var(--t-fast) var(--ease);
  white-space: nowrap;
}

.nav-call:hover {
  background: #43a047;
}

.nav-call svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}


/* ── Hamburger ── */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
}

.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);
}


/* ══════════════════════════════════
   7. MOBILE MENU
══════════════════════════════════ */

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 18px 16px 24px;
  z-index: 999;
  flex-direction: column;
  gap: var(--nav-gap-mobile);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border-radius: 10px;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.mobile-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mobile-menu a.active {
  color: #fff;
  background: rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: none;
}

.mobile-menu a:active {
  transform: scale(0.96);
}

.mobile-menu .nav-separator-mobile {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 10px 4px;
}


/* ══════════════════════════════════
   8. BUTTONS
══════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,16,46,0.35);
}

.btn-secondary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: var(--shadow-btn-navy);
}

.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-call {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-call:hover {
  background: #43a047;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76,175,80,0.3);
}

.btn-call svg {
  width: 16px;
  height: 16px;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,150,59,0.3);
}

.btn-gold:hover {
  background: #B8862D;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,150,59,0.4);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ══════════════════════════════════
   9. SECTIONS
══════════════════════════════════ */

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: #fff;
}

.section-navy p {
  color: rgba(255,255,255,0.75);
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  margin-bottom: 14px;
}

.section-title p {
  max-width: 560px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}


/* ══════════════════════════════════
   10. HERO & PAGE HEADER
══════════════════════════════════ */

.hero {
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: rgba(1,33,105,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-body {
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-body p {
  margin-bottom: 12px;
}

.hero-body p:last-child {
  margin-bottom: 0;
}

.hero-body strong {
  color: var(--navy);
}

.trust-line {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
}

.page-header {
  padding: 56px 0 48px;
  text-align: center;
  background: var(--bg-navy);
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.page-header h1 {
  margin-bottom: 14px;
}

.page-header p {
  max-width: 560px;
  margin: 0 auto 12px;
}

.page-header p:last-child {
  margin-bottom: 0;
}


/* ══════════════════════════════════
   11. CARD GRID SYSTEM
══════════════════════════════════ */

.cards {
  display: grid;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards.cards-2 {
  grid-template-columns: 1fr;
}


/* ══════════════════════════════════
   12. STANDARD CARD
══════════════════════════════════ */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t-med) var(--ease);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1,33,105,0.15);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
}


/* ── Accent Card (green top bar) ── */

.card-accent {
  border-top: 3px solid var(--green);
  padding-top: 24px;
}

.card-accent:hover {
  border-top-color: var(--navy);
}


/* ── Icon Card ── */

.card-icon {
  position: relative;
}

.card-icon .card-icon-wrap {
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  display: block;
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(1,33,105,0.09);
  line-height: 1;
  position: absolute;
  top: 22px;
  right: 24px;
  margin: 0;
  padding: 0;
  transition: color 0.35s ease;
}

.card-icon:hover .card-icon-wrap,
.card-icon:active .card-icon-wrap {
  color: #4CAF50;
  background: none;
  border-color: transparent;
}

.card-icon .card-emoji-wrap {
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  position: absolute;
  top: 22px;
  right: 24px;
  margin: 0;
  padding: 0;
  opacity: 0.18;
  transition: opacity 0.35s ease;
}

.card-icon:hover .card-emoji-wrap,
.card-icon:active .card-emoji-wrap {
  opacity: 1;
}


/* ══════════════════════════════════
   13. BOOT CAMP COLOR CARDS
══════════════════════════════════ */

/* Stagger entrance on scroll */
.cards-3 .card-accent:nth-child(1) { transition-delay: 0s; }
.cards-3 .card-accent:nth-child(2) { transition-delay: 0.08s; }
.cards-3 .card-accent:nth-child(3) { transition-delay: 0.16s; }
.cards-3 .card-accent:nth-child(4) { transition-delay: 0.24s; }
.cards-3 .card-accent:nth-child(5) { transition-delay: 0.32s; }
.cards-3 .card-accent:nth-child(6) { transition-delay: 0.40s; }

/* Base */
.card.boot-cyan,
.card.boot-amber,
.card.boot-violet,
.card.boot-rose,
.card.boot-emerald,
.card.boot-indigo {
  border: none;
  font-weight: 500;
  color: var(--text);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    filter 0.4s ease,
    opacity 0.4s ease;
}

/* Shared hover — shadow */
.card.boot-cyan:hover, .card.boot-cyan:active,
.card.boot-amber:hover, .card.boot-amber:active,
.card.boot-violet:hover, .card.boot-violet:active,
.card.boot-rose:hover, .card.boot-rose:active,
.card.boot-emerald:hover, .card.boot-emerald:active,
.card.boot-indigo:hover, .card.boot-indigo:active {
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

/* Unique lifts — alternating sides and tilts */
.card.boot-cyan:hover, .card.boot-cyan:active {
  transform: translateY(-8px) translateX(-4px) rotate(-1.5deg) scale(1.02) !important;
}

.card.boot-amber:hover, .card.boot-amber:active {
  transform: translateY(-6px) translateX(5px) rotate(1deg) scale(1.02) !important;
}

.card.boot-violet:hover, .card.boot-violet:active {
  transform: translateY(-10px) translateX(-3px) rotate(0.5deg) scale(1.02) !important;
}

.card.boot-rose:hover, .card.boot-rose:active {
  transform: translateY(-7px) translateX(6px) rotate(-0.8deg) scale(1.02) !important;
}

.card.boot-emerald:hover, .card.boot-emerald:active {
  transform: translateY(-9px) translateX(-5px) rotate(1.5deg) scale(1.02) !important;
}

.card.boot-indigo:hover, .card.boot-indigo:active {
  transform: translateY(-6px) translateX(4px) rotate(-1.2deg) scale(1.02) !important;
}

/* Siblings fade when one is hovered */
.cards-3:has(.card-accent:hover) .card-accent:not(:hover) {
  filter: blur(1px);
  opacity: 0.5;
  transform: scale(0.97);
}

/* Individual colors */
.card.boot-cyan { background: #A8E3EA; }
.card.boot-amber { background: #FFE3A1; }
.card.boot-violet { background: #D1C1EB; }
.card.boot-rose { background: #F6B8B7; }
.card.boot-emerald { background: #BBDDBD; }
.card.boot-indigo { background: #B8BFE3; }


/* ══════════════════════════════════
   14. BENEFITS CARDS
══════════════════════════════════ */

.benefits-card h3 {
  display: flex;
  align-items: center;
  gap: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.4s ease;
}

.benefits-card h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0;
  background: #C9963B;
  border-radius: 2px;
  flex-shrink: 0;
  transition:
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.benefits-card:hover h3,
.benefits-card:active h3 {
  transform: translateX(8px);
  gap: 10px;
}

.benefits-card:hover h3::before,
.benefits-card:active h3::before {
  height: 1em;
  opacity: 1;
}


/* ══════════════════════════════════
   15. PROGRAM PREVIEW
══════════════════════════════════ */

.program-preview {
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.program-preview:hover,
.program-preview:active {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-preview .program-age {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.program-preview:hover .program-age,
.program-preview:active .program-age {
  animation: age-blip 0.5s ease;
}

.program-preview h3 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.4s ease;
}

.program-preview h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0;
  background: #4CAF50;
  border-radius: 2px;
  flex-shrink: 0;
  transition:
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.program-preview:hover h3,
.program-preview:active h3 {
  transform: translateX(8px);
  gap: 10px;
}

.program-preview:hover h3::before,
.program-preview:active h3::before {
  height: 1em;
  opacity: 1;
}

.program-preview .program-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.program-preview .training-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 4px;
}

.program-preview ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.program-preview li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

.program-preview li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}


/* ══════════════════════════════════
   16. PROGRAM CARD
══════════════════════════════════ */

/* MERGED: base + actions spacing */
.program-card {
  border-radius: var(--radius-xl);
  padding: 32px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  position: relative;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    border-width 0.3s ease,
    padding 0.3s ease;
}

.program-card:hover,
.program-card:active {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border: 2px solid #C9963B;
  padding: 31px;
}

.program-card .program-age {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.program-card:hover .program-age,
.program-card:active .program-age {
  animation: age-blip 0.5s ease;
}

@keyframes age-blip {
  0%   { transform: translateX(0); }
  40%  { transform: translateX(6px); }
  70%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

.program-card h3 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.4s ease;
}

.program-card h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0;
  background: #4CAF50;
  border-radius: 2px;
  flex-shrink: 0;
  transition:
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.program-card:hover h3,
.program-card:active h3 {
  transform: translateX(8px);
  gap: 10px;
}

.program-card:hover h3::before,
.program-card:active h3::before {
  height: 1em;
  opacity: 1;
}

.program-card .program-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.program-card .training-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 4px;
}

.program-card ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.program-card li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

.program-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}


/* ── Program Card Actions (Inline Quote + CTA) ── */

.program-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.program-punchline {
  flex: 1;
  max-width: 65%;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--accent);
  text-align: left;
  opacity: 0.95;
  margin: 0;
  position: relative;
  top: 2px;
}

.program-cta {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: flex-end;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-action.whatsapp {
  background: var(--cta);
  color: #fff;
  animation: pulseRed 2s infinite;
}

.btn-action.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.4);
}

.btn-action.call {
  background: var(--green);
  color: #fff;
}

.btn-action.call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.btn-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-action:hover .btn-icon {
  transform: translateX(2px);
}


/* ══════════════════════════════════
   17. PROBLEM CARDS
══════════════════════════════════ */

.card-problem {
  position: relative;
  background: #C8102E;
  border: none;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: translateZ(0) scale(1);
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* White surface layer — oversized to hide red bleed */
.card-problem::before {
  content: "";
  position: absolute;
  inset: -1px -1px -1px 4px;
  background: var(--white);
  border-radius: 0 calc(var(--radius-lg) + 1px) calc(var(--radius-lg) + 1px) 0;
  transition: inset 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

/* Content above white layer */
.card-problem > * {
  position: relative;
  z-index: 1;
}

.card-problem .problem-emoji,
.card-problem .problem-content {
  padding: 24px 0;
}

.card-problem .problem-emoji {
  padding-left: 24px;
}

.card-problem .problem-content {
  padding-right: 28px;
}

/* HOVER / ACTIVE — shrink card, red border reveals */
.card-problem:hover,
.card-problem:active {
  transform: translateZ(0) scale(0.96);
}

.card-problem:hover::before,
.card-problem:active::before {
  inset: 4px 4px 4px 8px;
  border-radius: calc(var(--radius-lg) - 4px);
}

/* EMOJI */
.problem-emoji {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.18;
  transition: opacity 0.35s ease;
}

.card-problem:hover .problem-emoji,
.card-problem:active .problem-emoji {
  opacity: 1;
}

/* CONTENT */
.problem-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.problem-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}


/* ══════════════════════════════════
   18. METHOD CARDS
══════════════════════════════════ */

/* GRID */
.cards.cards-method {
  all: unset;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px;
  width: 100%;
  margin-top: 24px;
  align-items: start;
}

.cards.cards-method * {
  box-sizing: border-box;
}

/* CARD BASE */
.cards.cards-method .method-card {
  background: #012169;
  color: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 1;
  will-change: transform, opacity;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    box-shadow 0.3s ease;
}

/* HEAD */
.cards.cards-method .method-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TITLE */
.cards.cards-method .method-card h3 {
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* GREEN DOT */
.cards.cards-method .method-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.cards.cards-method .method-card h3::after {
  display: none;
}

/* BODY */
.cards.cards-method .method-body {
  color: #fff !important;
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.4s ease;
}

.cards.cards-method .method-body p {
  color: rgba(255,255,255,0.85) !important;
  margin: 0;
}

/* ── ACTIVE CARD ── */
.cards.cards-method .method-card.active {
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
  z-index: 5;
}

/* Non-active — GPU only: transform + opacity, no layout props */
.cards.cards-method.has-active .method-card:not(.active) {
  transform: scale(0.88);
  opacity: 0.3;
}

/* Show body */
.cards.cards-method .method-card.active .method-body {
  opacity: 1;
  transform: translateY(0);
  margin-top: 10px;
}

/* DOT active */
.cards.cards-method .method-card.active h3::before {
  transform: scale(1.3);
}

/* ARROW */
.cards.cards-method .method-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.3s ease;
}

.cards.cards-method .method-arrow svg:last-child {
  margin-left: -16px;
}

.cards.cards-method .method-card.active .method-arrow {
  transform: rotate(90deg);
  opacity: 1;
}

/* GOLD LINE */
.cards.cards-method .method-card::after {
  content: "";
  position: absolute;
  bottom: 9px;
  right: 20px;
  height: 2px;
  width: 0;
  background: #C9963B;
  border-radius: 2px;
  transform-origin: right;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cards.cards-method .method-card.active::after {
  width: 38%;
}

/* TEXT RENDER */
.cards.cards-method .method-card,
.cards.cards-method .method-card * {
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}


/* ── HOVER-TO-EXPAND (desktop only, mirrors .active) ── */
@media (hover: hover) {
  .cards.cards-method .method-card:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    z-index: 5;
  }

  .cards.cards-method .method-card:hover .method-body {
    opacity: 1;
    transform: translateY(0);
    margin-top: 10px;
    max-height: 500px;
  }

  .cards.cards-method .method-card:hover h3::before {
    transform: scale(1.3);
  }

  .cards.cards-method .method-card:hover .method-arrow {
    transform: rotate(90deg);
    opacity: 1;
  }

  .cards.cards-method .method-card:hover::after {
    width: 38%;
  }

  .cards.cards-method:has(.method-card:hover) .method-card:not(:hover) {
    transform: scale(0.88);
    opacity: 0.3;
  }
}


/* ══════════════════════════════════
   19. NINE PILLARS
══════════════════════════════════ */

.pillars .card-icon {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.pillars .card-icon:hover,
.pillars .card-icon:active {
  transform: translateX(10px) !important;
}

.pillars .card-icon .card-icon-wrap {
  transition: color 0.35s ease;
}

.pillars .card-icon:hover .card-icon-wrap,
.pillars .card-icon:active .card-icon-wrap {
  color: #C9963B !important;
}


/* ══════════════════════════════════
   20. OUTCOME TABLE
══════════════════════════════════ */

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.outcome-col {
  background: var(--white);
  padding: 28px 24px;
}

.outcome-col.col-before {
  border-top: 3px solid var(--cta);
  background: rgba(200,16,46,0.05);
}

.outcome-col.col-before h3 {
  color: var(--cta);
}

.outcome-col.col-during {
  border-top: 3px solid var(--gold);
  background: rgba(201,150,59,0.05);
}

.outcome-col.col-during h3 {
  color: var(--gold);
}

.outcome-col.col-after {
  border-top: 3px solid var(--green);
  background: rgba(76,175,80,0.05);
}

.outcome-col.col-after h3 {
  color: var(--green);
}

.outcome-col h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  transform-origin: top left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.outcome-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform-origin: top left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.outcome-col:hover h3,
.outcome-col:hover ul,
.outcome-col:active h3,
.outcome-col:active ul {
  transform: scale(1.04);
}

.outcome-col li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

.outcome-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  border-radius: 2px;
}

.col-before li::before {
  background: var(--cta);
}

.col-during li::before {
  background: var(--gold);
}

.col-after li::before {
  background: var(--green);
}


/* ══════════════════════════════════
   21. COMPARISON TABLE
══════════════════════════════════ */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}

.compare-col {
  background: var(--white);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.compare-col.compare-bad {
  background: rgba(200,16,46,0.05);
  border-top: 3px solid var(--cta);
}

.compare-col.compare-good {
  background: rgba(76,175,80,0.05);
  border-top: 3px solid var(--green);
}

/* Background icon — bottom-left, 2x resting, 4x on interaction */
.compare-bg-icon {
  position: absolute;
  bottom: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  pointer-events: none;
  opacity: 0.09;
  z-index: 0;
  transform: scale(2);
  transform-origin: bottom right;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.compare-bg-icon svg {
  width: 100%;
  height: 100%;
}

.compare-col:hover .compare-bg-icon,
.compare-col:active .compare-bg-icon {
  opacity: 0.2;
  transform: scale(4);
}

/* Content above icon */
.compare-col > *:not(.compare-bg-icon) {
  position: relative;
  z-index: 1;
}

.compare-col h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.compare-good h3 {
  color: var(--green);
}

.compare-bad h3 {
  color: var(--cta);
}

.compare-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
  position: relative;
  padding-left: 16px;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.compare-bad .compare-list li::before {
  background: var(--cta);
}

.compare-good .compare-list li::before {
  background: var(--green);
}

.compare-good .compare-list li {
  color: var(--text);
  font-weight: 600;
}

/* Content zoom on hover/tap */
.compare-col h3,
.compare-col .compare-list {
  transform-origin: top left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.compare-col:hover h3,
.compare-col:hover .compare-list,
.compare-col:active h3,
.compare-col:active .compare-list {
  transform: scale(1.04);
}


/* ══════════════════════════════════
   22. CONTACT
══════════════════════════════════ */

.contact-location {
  max-width: 100%;
  margin-bottom: 24px;
}

.contact-location iframe {
  margin-bottom: 20px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 100%;
}

.contact-location h3,
.contact-cards h3 {
  font-size: clamp(1.33rem, 2.42vw, 1.69rem);
}

.contact-cards .card,
.contact-location .card {
  position: relative;
  overflow: hidden;
}

.contact-cards .card > *:not(.contact-card-icon),
.contact-location .card > *:not(.contact-card-icon) {
  position: relative;
  z-index: 1;
}

.contact-card-icon {
  position: absolute;
  bottom: 16px;
  left: 20px;
  width: 48px;
  height: 48px;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
  transform: scale(1.4);
  transform-origin: bottom left;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-card-icon svg {
  width: 100%;
  height: 100%;
}

.card:hover .contact-card-icon,
.card:active .contact-card-icon {
  opacity: 0.4;
  transform: scale(6);
}

/* Individual colors */
.contact-icon-location { color: #C8102E; }
.contact-icon-call { color: #34495E; }
.contact-icon-mail { color: #C9963B; }
.contact-icon-whatsapp { color: #4CAF50; }


/* ══════════════════════════════════
   23. BOOTCAMP BANNER
══════════════════════════════════ */

.bootcamp {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 20px 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bootcamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FF6B6B;
  margin-bottom: 20px;
}

.bootcamp h2 {
  color: #fff;
  margin-bottom: 6px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.bootcamp h2 em {
  font-family: var(--font-accent);
  color: var(--green);
  font-style: normal;
  font-size: 1.2em;
  display: inline;
  vertical-align: middle;
  position: relative;
  top: 0.05em;
}

.bootcamp-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.bootcamp-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  transition: border-color 0.35s ease;
}

.bootcamp-tag:hover,
.bootcamp-tag:active {
  border-color: #C9963B;
}

.bootcamp-tag small {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
  transition: color 0.35s ease;
}

.bootcamp-tag:hover small,
.bootcamp-tag:active small {
  color: #C9963B;
}

.bootcamp-tag span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

.bootcamp-body {
  margin: 24px 0;
}

.bootcamp-body p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.bootcamp-body strong {
  color: #fff;
}

.bootcamp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.bootcamp-actions .btn:first-child {
  font-weight: 700;
}


/* ══════════════════════════════════
   24. TESTIMONIALS
══════════════════════════════════ */

.testimonials-section {
  background: var(--bg-alt);
}

.testimonial-slider {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  position: relative;
  transition: none;
}

.testimonial-card:hover {
  transform: none;
  box-shadow: none;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
}

.testimonial-author {
  margin-top: auto;
  text-align: right;
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-author span {
  color: var(--gold);
  font-size: .82rem;
}

.testimonial-count {
  position: absolute;
  bottom: 18px;
  left: 24px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted);
}


/* ══════════════════════════════════
   25. SESSION TIMELINE
══════════════════════════════════ */

.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-left: 56px;
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before,
.timeline-item:last-child::before {
  display: none;
}

.timeline-connector {
  position: absolute;
  left: -34px;
  width: 2px;
  background: #C9963B;
  border-radius: 2px;
}

.timeline-dot {
  position: absolute;
  left: -56px;
  top: 2px;
  width: 44px;
  height: 44px;
  background: var(--bg-navy);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  z-index: 1;
}

.timeline-item h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}


/* ══════════════════════════════════
   26. FAQ ACCORDION
══════════════════════════════════ */

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}

.faq-btn:hover,
.faq-btn[aria-expanded="true"] {
  color: var(--navy);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: all var(--t-fast) var(--ease);
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  border-color: var(--green);
  background: var(--bg-navy);
  color: var(--navy);
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-body.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-body p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
}


/* ══════════════════════════════════
   27. CTA BAND
══════════════════════════════════ */

.cta-band {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: rgba(76,175,80,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 28px;
}

.cta-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
  font-style: italic;
}

.section-navy .cta-note {
  color: rgba(255,255,255,0.5);
}


/* ══════════════════════════════════
   28. MARQUEE
══════════════════════════════════ */

.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
  background: var(--navy);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
}

.marquee-wrap::-webkit-scrollbar {
  display: none; 
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.marquee-sep {
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-item.marquee-urgent {
  color: #ff000d;
}

.marquee-item.marquee-urgent .marquee-sep {
  background: #ff000d;
  box-shadow: 0 0 8px var(--cta);
  animation: pulse-anim 2s ease-in-out infinite;
}


/* ══════════════════════════════════
   29. FOOTER
══════════════════════════════════ */

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand .accent {
  font-family: var(--font-accent);
  color: var(--green);
}

.footer-brand .footer-logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile — 110px */
.footer-brand .footer-logo-block img {
  height: 110px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.4px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col a {
  display: inline-block;
  width: fit-content;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: all var(--t-fast) var(--ease);
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(10px);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.38);
}

.footer-bottom p:last-child {
  text-align: right;
  white-space: nowrap;
}


/* ── Social Row ── */
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 8px;
}

.footer-socials-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer-socials-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  transition:
    color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.social-icon svg,
.social-icon img {
  width: 20px;
  height: 20px;
  display: block;
  transition: filter var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.social-icon:hover,
.social-icon:focus {
  transform: translateY(-2px);
}

.social-icon:hover img,
.social-icon:focus img {
  filter: brightness(0) saturate(100%) invert(65%) sepia(40%) saturate(580%) hue-rotate(6deg) brightness(95%) contrast(88%);
}


/* ══════════════════════════════════
   30. FLOAT BUTTONS
══════════════════════════════════ */

.float-btns {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 900;
}

.float-btn {
  min-width: 58px;
  height: 58px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  gap: 0;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    padding .28s ease,
    gap .28s ease;
}

.float-btn:hover {
  padding: 0 16px;
  gap: 10px;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.float-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin: auto;
}

.float-label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    max-width .28s ease,
    opacity .2s ease;
}

.float-btn:hover .float-label {
  max-width: 220px;
  opacity: 1;
}

.float-wa {
  background: #25D366;
  color: #fff;
}

.float-call {
  background: #34495E;
  color: #fff;
}

.float-mail {
  background: var(--gold);
  color: #fff;
}

.float-book {
  background: var(--cta);
  color: #fff;
  min-width: 82px;
  height: 82px;
  box-shadow: 0 6px 20px rgba(200,16,46,0.35);
}

.float-book svg {
  width: 34px;
  height: 34px;
}


/* ══════════════════════════════════
   31. ANIMATIONS
══════════════════════════════════ */

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fade-in.visible {
  opacity: 1;
}

[data-delay="1"] { transition-delay: 0.06s; }
[data-delay="2"] { transition-delay: 0.12s; }
[data-delay="3"] { transition-delay: 0.18s; }
[data-delay="4"] { transition-delay: 0.24s; }
[data-delay="5"] { transition-delay: 0.3s; }
[data-delay="6"] { transition-delay: 0.36s; }
[data-delay="7"] { transition-delay: 0.42s; }
[data-delay="8"] { transition-delay: 0.48s; }

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--cta);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cta);
  animation: pulse-anim 2s ease-in-out infinite;
}

@keyframes pulse-anim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}


/* ══════════════════════════════════
   32. TOAST
══════════════════════════════════ */

.uptaQ-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--navy);
  border: 1px solid rgba(76,175,80,0.3);
  color: #fff;
  font-size: 0.88rem;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all var(--t-med) ease;
  max-width: 88vw;
  text-align: center;
}

.uptaQ-toast.error {
  border-color: rgba(200,16,46,0.3);
  background: #1A0A0E;
}

.uptaQ-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ══════════════════════════════════
   33. UTILITIES
══════════════════════════════════ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }


/* ══════════════════════════════════
   34. LEGAL NAV & LEGAL CONTENT
══════════════════════════════════ */

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  margin: 20px 0;
}

.legal-nav a {
  display: inline-block;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-nav a:hover {
  color: #0b3a82;
}

.legal-nav span {
  opacity: 0.5;
}

.legal-content h3,
.legal-content p {
  margin: 0;
}

.legal-content h3 + p {
  margin-top: 12px;
}

.legal-content p + p {
  margin-top: 7px;
}

.legal-content p + h3 {
  margin-top: 25px;
}


/* ══════════════════════════════════
   35. 404 CTA
══════════════════════════════════ */

.cta-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  width: 100%;
}

.cta-404-inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-404-primary {
  width: 100%;
  text-align: center;
}

.cta-404-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.cta-404-row .btn {
  flex: 1;
  text-align: center;
}


/* ══════════════════════════════════
   36. REDIRECT LOADER
══════════════════════════════════ */

.redirect-body {
  margin: 0;
  background: #012169;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.center-stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-4%);
}

.loader {
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  width: 95px;
  height: auto;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  animation: logoIn 0.45s ease-out forwards;
}

.text {
  color: #e6e6e6;
  font-family: "AvenirNext", sans-serif;
  line-height: 1.2;
}

.brand {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.35px;
  opacity: 0;
  transform: translateY(6px);
  animation: textIn 0.35s ease-out forwards;
  animation-delay: 0.08s;
}

.sub {
  font-size: 20px;
  opacity: 0;
  transform: translateY(6px);
  animation: textIn 0.35s ease-out forwards;
  animation-delay: 0.14s;
}

.redirect-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

@keyframes logoIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes textIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ══════════════════════════════════
   37. RESPONSIVE BREAKPOINTS
══════════════════════════════════ */

/* ── ≥1024px — Desktop ── */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 35% repeat(3, 1fr);
    gap: 32px;
  }
  .footer-brand .footer-logo-block img {
    height: 180px;
  }
  .footer-logo-text {
    font-size: 1.8rem;
  }
  .loader { gap: 26px; }
  .logo { width: 115px; }
  .brand { font-size: 32px; }
  .sub { font-size: 26px; }
}

/* ── ≤1023px — Tablet / below desktop ── */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-right .btn:not(.nav-call) { display: inline-flex; }
  .nav-right .nav-call { display: inline-flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── ≤900px ── */
@media (max-width: 900px) {
  .program-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .program-punchline {
    max-width: 100%;
    top: 0;
  }
  .program-cta {
    width: 100%;
    justify-content: flex-start;
  }
  .btn-action {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ── ≤768px — Small tablet / large phone ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .page-header { padding: 40px 0 32px; }
  .cards { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── ≥768px — Tablet+ ── */
@media (min-width: 768px) {
  .footer-brand .footer-logo-block img {
    height: 128px;
  }
  .footer-logo-text {
    font-size: 1.5rem;
  }
  .bootcamp-meta {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ── ≤640px — Mobile ── */
@media (max-width: 640px) {
  .cards-4,
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 16px;
  }
  .cards.cards-method {
    grid-template-columns: 1fr !important;
  }
  .cta-group { flex-direction: column; width: 100%; }
  .cta-group .btn { width: 100%; }
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .outcome-grid { grid-template-columns: 1fr; }
  .bootcamp-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .bootcamp-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── ≥640px ── */
@media (min-width: 640px) {
  .cards.cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── ≤600px ── */
@media (min-width: 600px) {
  .logo { width: 105px; }
  .brand { font-size: 30px; }
  .sub { font-size: 24px; }
}

@media (max-width: 600px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* ── ≤480px — Small phone ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 6px;
  }
  .footer-bottom p:last-child {
    text-align: center;
    white-space: normal;
  }
  .program-preview { padding: 24px 20px; }
  .program-card { padding: 24px 20px; }
  .program-card:hover,
  .program-card:active { padding: 23px 19px; }
  .float-btns {
    right: 14px;
    bottom: 59px;
    gap: 8px;
  }
  .float-btn {
    min-width: 50px;
    height: 50px;
  }
  .float-btn svg {
    width: 20px;
    height: 20px;
  }
  .float-book {
    min-width: 71px;
    height: 71px;
  }
  .float-book svg {
    width: 29px;
    height: 29px;
  }
  .cta-404-row {
    flex-direction: column;
  }
}

/* ── ≤380px — Very small phone ── */
@media (max-width: 380px) {
  .loader { gap: 16px; }
  .logo { width: 75px; }
  .brand { font-size: 20px; }
  .sub { font-size: 16px; }
}
