/*
 * Learning Bites — main stylesheet.
 * Ported 1:1 from the original design (corporate-training.css).
 * Do not "clean up" values here — pixel parity with the source design depends on them.
 * WordPress-specific additions live at the very end of the file.
 */

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --gold-pale: #F5EDD8;
  --charcoal: #2A2A2A;
  --grey-dark: #3D3D3D;
  --grey-mid: #7A7A7A;
  --grey-light: #C8C8C8;
  --grey-pale: #F0EEEB;
  --white: #FAFAF8;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Effective baseline of the source app (Tailwind preflight subset) —
   required for 1:1 line-height/weight parity with the original. */
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
h4 { font-size: inherit; font-weight: inherit; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--charcoal);
  font-weight: 300;
  overflow-x: hidden;
}
html { overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 60px;
  background: transparent;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(12px);
  padding: 18px 60px;
  border-bottom: 1px solid var(--gold-light);
}
nav.scrolled .nav-links a { color: var(--grey-dark); }
nav.scrolled .nav-logo { color: var(--charcoal); }
.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000 !important;
  background: var(--gold);
  padding: 10px 26px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--charcoal) !important; color: var(--white) !important; }
.nav-cta::after { display: none !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  padding: 0 60px;
}
.hero-left {
  display: flex; flex-direction: column; align-items: center;
  padding: 140px 0 100px;
  position: relative; z-index: 2;
  width: 100%;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  justify-content: center;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: ''; display: inline-block;
  width: 36px; height: 1px; background: var(--gold);
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
  text-align: center;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-tagline {
  font-family: var(--serif);
  font-size: 1.56rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 18px;
  line-height: 1.6;
  max-width: 720px;
  text-align: center;
  white-space: pre-line;
}
.hero-scroll-cta {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gold-light);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 50px;
  transition: color 0.25s;
}
.hero-scroll-cta:hover { color: var(--gold); }
.hero-scroll-cta svg {
  animation: bounce-down 1.8s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.section-scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 56px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  transition: color 0.25s;
}
.section-scroll-arrow:hover { color: var(--gold); }
.section-scroll-arrow svg { animation: bounce-down 1.8s ease-in-out infinite; }
.hero-actions {
  display: flex; gap: 20px; align-items: center; justify-content: center;
}
.hero-bottom-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(201,169,110,0.3);
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 16px 40px;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s;
}
.btn-primary:hover { background: var(--gold); }
.btn-ghost {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--grey-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-light);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

.hero-stats {
  position: absolute; bottom: 60px; left: 60px;
  display: flex; gap: 50px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--gold); font-size: 1.4rem; }
.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-divider {
  width: 1px;
  height: 50px;
  background: var(--grey-light);
  align-self: center;
}

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--charcoal);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex; gap: 60px;
  animation: marquee 28s linear infinite;
}
.marquee-inner span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 400;
}
.marquee-inner .sep { color: var(--gold); opacity: 0.5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION BASE ── */
section { padding: 120px 60px; }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 400;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: ''; display: inline-block;
  width: 32px; height: 2px; background: var(--gold);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--charcoal);
}
h2 em { font-style: italic; color: var(--gold); }

/* ── TRAININGS ── */
#trainings { background: var(--grey-pale); }
.trainings-intro {
  font-family: var(--sans);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--grey-dark);
  max-width: 760px;
  margin-top: 24px;
}
.trainings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 70px;
  border: 2px solid var(--grey-light);
}
.training-card {
  padding: 52px 44px;
  background: var(--white);
  transition: background 0.35s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}
.training-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.training-card:hover { background: var(--gold-pale); }
.training-card:hover::before { transform: scaleX(1); }
.card-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 24px;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.86rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 18px;
  line-height: 1.25;
}
.card-desc {
  font-size: 1.02rem;
  color: var(--grey-dark);
  line-height: 1.75;
  margin-bottom: 32px;
}
.card-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.tag {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--grey-light);
  padding: 5px 12px;
  color: var(--grey-mid);
}
.card-link {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.25s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.card-link:hover { gap: 14px; }
.card-link::after { content: '→'; }
.training-card.expanded .card-link::after { content: '↑'; }

.card-detail {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gold-pale);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cardDetailIn 0.35s ease;
}
@keyframes cardDetailIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.card-detail-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.card-detail-cta {
  align-self: flex-start;
  display: inline-block;
  padding: 12px 26px;
  background: var(--gold);
  color: #111;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: opacity 0.25s ease;
}
.card-detail-cta:hover { opacity: 0.85; }
.card-detail-block p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-soft, #444);
}
.card-detail-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-detail-block li {
  position: relative;
  padding-left: 20px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text-soft, #444);
}
.card-detail-block li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── ABOUT ── */
#about {
  background: var(--grey-pale);
  padding: 100px 60px 0;
}
.about-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 0;
}
.about-image-col {
  position: relative;
  width: 260px;
  height: 340px;
  overflow: hidden;
  flex-shrink: 0;
  padding-top: 38px;
}
.about-image-col img {
  width: 260px;
  height: 340px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(8%) contrast(1.04);
}
.about-gold-corner {
  position: absolute; top: 38px; left: 0;
  width: 60px; height: 60px;
  background: var(--gold);
  opacity: 0.3;
  z-index: 1;
}
.about-content-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
}
.about-content-col p {
  font-size: 1.05rem;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-top: 28px;
}
.about-content-col p + p { margin-top: 16px; }
.about-content-col h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.2;
}
.about-quote {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
  line-height: 1.5;
}
.about-credentials {
  display: flex; gap: 40px; margin-top: 32px;
}
.cred { display: flex; flex-direction: column; gap: 4px; }
.cred-val {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
}
.cred-key {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

/* ── TESTIMONIALS ── */
#testimonials {
  background: var(--charcoal);
  padding: 120px 60px;
}
#testimonials .section-label { color: var(--gold); }
#testimonials .section-label::before { background: var(--gold); }
#testimonials h2 { color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 70px;
}
.testimonial {
  padding: 40px;
  border: 1px solid rgba(201,169,110,0.2);
  transition: border-color 0.3s;
}
.testimonial:hover { border-color: var(--gold); }
.t-quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 28px;
}
.t-author {
  display: flex; flex-direction: column; gap: 4px;
}
.t-name {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.t-role {
  font-size: 0.72rem;
  color: var(--grey-mid);
  letter-spacing: 0.05em;
}

/* ── PRICING ── */
#pricing { background: var(--white); }
.pricing-intro {
  font-size: 1.05rem;
  color: var(--grey-mid);
  line-height: 1.8;
  max-width: 560px;
  margin-top: 24px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 70px;
}
.price-card {
  padding: 52px 44px;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.price-card.featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.price-card.featured:hover { transform: none; border-color: var(--gold); }
.price-tier {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.price-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.price-card.featured .price-name { color: var(--white); }
.price-amount {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin: 28px 0 6px;
}
.price-amount.long { font-size: 2rem; white-space: nowrap; min-height: 48px; }
.price-unit {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 36px;
}
.price-card.featured .price-unit { color: var(--grey-light); }
.price-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 40px;
}
.price-features li {
  font-size: 0.82rem;
  color: var(--grey-light);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.price-card.featured .price-features li { color: var(--grey-light); }
.price-features li::before { content: '—'; color: var(--gold); flex-shrink: 0; }
.btn-price {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 14px 34px;
  text-decoration: none;
  transition: all 0.3s;
  width: 100%; text-align: center;
  background: var(--gold);
  color: #000;
  border: 1px solid transparent;
}
.btn-price:hover { background: var(--white); color: var(--charcoal); }
.price-card.featured .btn-price {
  background: var(--gold);
  color: #000;
}
.price-card.featured .btn-price:hover { background: var(--white); color: var(--charcoal); }
.price-cta-sub {
  font-size: 0.95rem;
  color: var(--grey-light);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.price-card.featured .price-cta-sub { color: var(--grey-light); }

/* ── CONTACT ── */
#contact {
  background: var(--gold-pale);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
#contact h2 { margin-top: 20px; }
.contact-sub {
  font-size: 1rem;
  color: var(--grey-mid);
  line-height: 1.75;
  margin-top: 20px;
  max-width: 420px;
}
.contact-details {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact-item {
  display: flex; align-items: center; gap: 16px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.contact-item-text {
  font-size: 0.85rem;
  color: var(--grey-dark);
  line-height: 1.5;
}
.contact-item-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--gold-light);
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5; /* form controls inherit line-height in the source app */
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.25s;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.btn-submit {
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 16px 44px;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--sans);
}
.btn-submit:hover { background: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 60px 60px 40px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 300px; }
.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo span { color: var(--gold); }
.footer-brand p {
  font-size: 0.82rem;
  color: var(--grey-mid);
  line-height: 1.7;
}
.footer-nav { display: flex; gap: 80px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.82rem;
  color: var(--grey-mid);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px;
}
.footer-copy {
  font-size: 0.7rem;
  color: var(--grey-mid);
  letter-spacing: 0.05em;
}
.footer-bottom a { color: var(--grey-mid); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════
   WIDER SIDE GUTTERS (all sections except hero)
══════════════════════════════════════════ */
@media (min-width: 1025px) {
  section:not(#hero),
  #trainings,
  #testimonials,
  #pricing,
  #contact,
  #about,
  footer {
    padding-left: clamp(72px, 13.2vw, 288px);
    padding-right: clamp(72px, 13.2vw, 288px);
  }
  #pricing {
    padding-left: clamp(72px, 6vw, 132px);
    padding-right: clamp(72px, 6vw, 132px);
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 22px 36px; }
  nav.scrolled { padding: 16px 36px; }

  #hero { padding: 0 40px; }
  .hero-headline { font-size: clamp(3rem, 7vw, 6rem); }

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

  #about { padding: 80px 40px 0; }
  .about-top { gap: 40px; }

  #testimonials { padding: 80px 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .testimonials-grid .testimonial:last-child { grid-column: 1 / -1; max-width: 540px; margin: 0 auto; }

  #pricing { padding: 80px 40px; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .price-card { padding: 36px 28px; }

  #contact { padding: 80px 40px; gap: 50px; }

  section { padding: 80px 40px; }
  footer { padding: 50px 40px 32px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { gap: 50px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* NAV */
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--charcoal);
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 200;
  }
  .nav-links.open a { font-size: 1.1rem; color: var(--gold); }
  .nav-links.open .nav-cta {
    background: var(--gold); color: #000;
    padding: 14px 36px;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 300;
    background: none;
    border: none;
    padding: 4px;
  }
  .hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--gold);
    transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* HERO */
  #hero { padding: 0 24px; min-height: 100svh; }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 5rem); }
  .hero-tagline { font-size: 1.3125rem; margin-bottom: 36px; } /* was 1rem (16px), +5px */
  .hero-eyebrow { font-size: 0.68rem; } /* was 0.62rem, +10% */
  .hero-bottom-row { gap: 20px; margin-top: 36px; padding-top: 28px; }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 0.64rem; } /* was 0.58rem, +10% */
  .hero-divider { height: 36px; }

  /* MARQUEE */
  .marquee-inner span { font-size: 0.66rem; } /* was 0.6rem, +10% */

  /* TRAININGS */
  #trainings { padding: 60px 24px; }
  .trainings-grid { grid-template-columns: 1fr; gap: 2px; }
  .training-card { padding: 36px 28px; }
  .card-number { font-size: 2.5rem; margin-bottom: 16px; }
  .card-title { font-size: 1.56rem; }

  /* ABOUT */
  #about { padding: 60px 24px 0; }
  .about-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-image-col {
    width: 100%;
    height: 280px;
    padding-top: 0;
  }
  .about-image-col img {
    width: 100%;
    height: 280px;
    object-position: center 35%;
  }
  .about-quote { font-size: 1.1rem; margin: 20px 0; }
  .about-credentials { gap: 24px; flex-wrap: wrap; }
  .cred-val { font-size: 1.6rem; }

  /* TESTIMONIALS */
  #testimonials { padding: 60px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonials-grid .testimonial:last-child { grid-column: auto; max-width: 100%; }
  .t-quote { font-size: 1rem; }

  /* PRICING */
  #pricing { padding: 60px 24px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card { padding: 40px 32px; }
  .price-card.featured { margin: 0; }
  .price-amount { font-size: 2.4rem; }

  /* CONTACT */
  #contact {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }
  .form-row { grid-template-columns: 1fr; gap: 16px; }

  /* FOOTER */
  footer { padding: 40px 24px 28px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* SECTIONS */
  section { padding: 60px 24px; }
  h2 { font-size: clamp(1.9rem, 7vw, 3rem); }

  /* MICRO LABELS — smallest text sizes on the page, bumped 10% for mobile legibility */
  .tag { font-size: 0.66rem; } /* was 0.6rem, +10% */
  .contact-item-label { font-size: 0.66rem; } /* was 0.6rem, +10% */
  .card-detail-label { font-size: 0.68rem; } /* was 0.62rem, +10% */
  .form-group label { font-size: 0.68rem; } /* was 0.62rem, +10% */
  .footer-col h4 { font-size: 0.68rem; } /* was 0.62rem, +10% */
}

/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.4rem, 13vw, 3.5rem); }
  .hero-bottom-row { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero-divider { width: 40px; height: 1px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-credentials { gap: 16px; }
  .trainings-grid { grid-template-columns: 1fr; }
}


/* Hamburger hidden on desktop.
   NOTE: deliberate fix vs. the source CSS — there this rule was unscoped and,
   coming after the mobile media query, it hid the hamburger everywhere,
   leaving the original site with no mobile navigation at all. Scoping it to
   desktop restores the mobile menu the source built (see the 768px block). */
@media (min-width: 769px) {
  .hamburger { display: none; }
}

/* ── LANGUAGE SWITCH ── */
.nav-links .lang-switch {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 6px 12px;
  transition: background 0.25s, color 0.25s;
}
.nav-links .lang-switch::after { display: none !important; }
.nav-links .lang-switch:hover { background: var(--gold); color: var(--white); }
nav.scrolled .nav-links .lang-switch { color: var(--charcoal); border-color: var(--gold); }
nav.scrolled .nav-links .lang-switch:hover { color: var(--white); }

/* ══════════════════════════════════════════
   WORDPRESS ADDITIONS
   Everything below is WP plumbing added during the
   conversion — not part of the original design.
══════════════════════════════════════════ */

/* Alpine.js: hide bound elements until Alpine initialises */
[x-cloak] { display: none !important; }

/* While the mobile menu is open, the nav must not create a containing block:
   nav.scrolled's backdrop-filter would clip the fixed fullscreen overlay
   to the navbar box (latent bug in the source, unreachable there). */
nav.menu-open { backdrop-filter: none; }

/* ...and the scrolled-state link colors must not bleed onto the dark overlay
   (higher-specificity nav.scrolled rules would win otherwise). */
nav.menu-open.scrolled .nav-links a { color: var(--gold); }
nav.menu-open.scrolled .nav-links .lang-switch { color: var(--gold); }

/* Honeypot field — visually removed, still in the DOM for bots */
.lb-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Contact form status message (wp_mail success / error) */
.form-status {
  padding: 14px 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--charcoal);
}
.form-status.error {
  border-color: #b3563e;
  color: #8a3a26;
}

/* Logged-in admin bar offset for the fixed nav */
body.admin-bar nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}

/* Plain content pages (Privacy Policy, Terms) */
body.lb-subpage nav {
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-light);
}
body.lb-subpage nav .nav-links a { color: var(--grey-dark); }
body.lb-subpage nav .nav-logo { color: var(--charcoal); }
body.lb-subpage nav .nav-links .lang-switch { color: var(--charcoal); border-color: var(--gold); }
body.lb-subpage nav .nav-links .lang-switch:hover { color: var(--white); }
.lb-page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 180px 24px 100px;
}
.lb-page-content h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 32px;
}
.lb-prose p,
.lb-prose ul,
.lb-prose ol {
  font-size: 1rem;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-bottom: 18px;
}
.lb-prose ul, .lb-prose ol { padding-left: 22px; }
.lb-prose h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 36px 0 14px;
}
.lb-prose h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
  margin: 28px 0 10px;
}
.lb-prose a { color: var(--gold); }

/* 404 page */
.lb-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--charcoal);
  padding: 120px 24px;
}
.lb-404 .lb-404-code {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}
.lb-404 .lb-404-code em { font-style: italic; color: var(--gold); }
.lb-404 p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin: 20px 0 40px;
}
.lb-404 .lb-404-link {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 14px 34px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.lb-404 .lb-404-link:hover { background: var(--white); color: var(--charcoal); }
