:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --surface-alt: #fff2e6;
  --surface-soft: #fff7f0;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f2d8c2;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: #fff3e8;
  --orange-strong: #fff0e3;
  --shadow: 0 10px 30px rgba(249, 115, 22, 0.12);
  --shadow-lg: 0 18px 45px rgba(249, 115, 22, 0.15);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

/* Final premium header + tool grid correction */
.header {
  border-top: 3px solid #1f2937;
}

.nav {
  min-height: 78px;
  gap: 18px;
}

.brand {
  flex: 0 0 auto;
  max-width: 330px;
}

.brand img {
  height: 58px;
}

.brand-name {
  font-size: 1.12rem;
  letter-spacing: -.02em;
}

.brand-sub {
  max-width: 230px;
  line-height: 1.35;
}

.nav-links {
  flex: 1;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-links a {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .94rem;
}

.nav-links a.active,
.nav-links a:hover {
  background: #fff1e8;
  color: #f15a12;
}

.nav-cta {
  flex: 0 0 auto;
}

.nav-cta .button {
  min-width: 150px;
  min-height: 50px;
  font-size: .95rem;
}

.certificate-note {
  grid-template-columns: 58px 1fr;
  align-items: center;
}

.certificate-note strong,
.certificate-note span {
  grid-column: 2;
}

.certificate-icon {
  grid-row: 1 / span 2;
  width: 56px;
  height: 42px;
  object-fit: contain;
}

.premium-program-card {
  border: 2px solid rgba(249,115,22,.16);
  box-shadow: 0 20px 50px rgba(249,115,22,.14);
}

.featured-program {
  border-color: rgba(249,115,22,.5);
  background: linear-gradient(180deg, #fff 0%, #fff7ef 100%);
}

.premium-program-card .program-price {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  color: #f15a12;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}

.program-note {
  font-size: .95rem;
  margin-bottom: 14px;
}

.program-comparison-grid {
  align-items: stretch;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card-link {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.blog-card-link:hover {
  transform: translateY(-8px);
  border-color: rgba(255,107,26,.48);
  box-shadow: 0 24px 60px rgba(249,115,22,.20);
}

.blog-card-link:focus-visible {
  outline: 3px solid rgba(255,107,26,.45);
  outline-offset: 4px;
}

.blog-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.blog-keyword {
  color: #f15a12;
  font-weight: 800;
  font-size: .82rem;
}

.blog-visual,
.article-visual {
  min-height: 170px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -.03em;
  box-shadow: 0 18px 40px rgba(249,115,22,.18);
  overflow: hidden;
  position: relative;
}

.blog-visual::after,
.article-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 32%), radial-gradient(circle at 82% 22%, rgba(255,255,255,.18), transparent 28%);
}

.blog-visual span,
.article-visual span {
  position: relative;
  z-index: 1;
}

.visual-1 { background: linear-gradient(135deg, #ff6b1a, #ffb27a); }
.visual-2 { background: linear-gradient(135deg, #1f2937, #ff6b1a); }
.visual-3 { background: linear-gradient(135deg, #7c3aed, #ff6b1a); }
.visual-4 { background: linear-gradient(135deg, #0ea5e9, #ff6b1a); }
.visual-5 { background: linear-gradient(135deg, #16a34a, #ff6b1a); }

.article-layout {
  max-width: 960px;
}

.article-visual {
  min-height: 260px;
  margin-bottom: 24px;
}

.article-body {
  font-size: 1.05rem;
}

.article-body p {
  color: #4b5563;
}

.article-cta {
  margin-top: 24px;
}

.text-link {
  color: #f15a12;
  font-weight: 900;
  margin-top: auto;
}

.logos-clean {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 18px;
}

.logos-clean .logo-card {
  min-height: 150px;
  justify-content: center;
}

.logos-clean .logo-icon {
  width: 62px;
  height: 62px;
}

.logos-clean .logo-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .nav {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .nav-links {
    order: 3;
    flex-basis: 100%;
  }
  .logos-clean {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: nowrap;
  }
  .brand {
    max-width: 250px;
  }
  .brand img {
    height: 50px;
  }
  .brand-sub {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-cta .button {
    display: none;
  }
  .mobile-menu.open {
    display: block;
  }
  .mobile-links .button {
    display: flex;
  }
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .brand-text {
    display: flex;
  }
  .brand-name {
    font-size: .94rem;
  }
  .logos-clean {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .certificate-note {
    grid-template-columns: 46px 1fr;
  }
  .certificate-icon {
    width: 44px;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 20%, #fffaf5 100%);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 76px 0; }
.section-tight { padding: 34px 0; }
.section-alt { background: linear-gradient(180deg, #fff8f2 0%, #fff 100%); }
.section-soft { background: #fffdfb; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.14; margin: 0 0 16px; }
h1 { font-size: clamp(2.2rem, 4.8vw, 4.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.08rem, 2vw, 1.3rem); }
p { margin: 0 0 16px; color: var(--muted); }
strong, b { color: var(--text); }
.section-intro { max-width: 64ch; margin-top: 8px; }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 216, 194, 0.75);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { width: auto; height: 62px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1rem; font-weight: 800; color: var(--text); }
.brand-sub { font-size: .76rem; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a { font-size: .95rem; color: #374151; font-weight: 600; }
.nav-links a.active, .nav-links a:hover { color: var(--orange-dark); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; }
.button, .button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: .2s ease;
}
.button {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.button:hover { transform: translateY(-1px); }
.button-outline {
  border: 1px solid rgba(249,115,22,.28);
  background: #fff;
  color: var(--orange-dark);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(249,115,22,.2);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 999px; }
.mobile-menu { display: none; padding: 0 0 16px; }
.mobile-menu.open { display: block; }
.mobile-links {
  display: grid;
  gap: 10px;
  background: #fff;
  padding: 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.mobile-links a { padding: 12px 14px; border-radius: 12px; background: var(--surface-soft); font-weight: 700; }
.mobile-links .mobile-muted-link { background: transparent; border: 1px solid rgba(242,216,194,.8); font-weight: 600; }
.hero { padding: 72px 0 44px; }
.hero-rich { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.hero-card, .panel, .card {
  background: var(--surface);
  border: 1px solid rgba(242, 216, 194, 0.8);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-copy p.lead { font-size: 1.08rem; max-width: 62ch; }
.hero-actions, .stack-inline { display: flex; flex-wrap: wrap; gap: 14px; }
.badge-row, .trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(242, 216, 194, 0.85);
  color: #4b5563;
  font-weight: 600;
}
.promise-grid { display: grid; gap: 12px; margin: 18px 0 24px; }
.compact-promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promise-chip {
  background: var(--orange-strong);
  border: 1px solid rgba(249,115,22,.16);
  color: #7c2d12;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
}
.hero-visual { padding: 16px; background: linear-gradient(180deg, #fff9f5 0%, #fff 100%); }
.hero-visual-collage { display: grid; gap: 14px; }
.hero-main-photo {
  width: 100%;
  aspect-ratio: 4/4.05;
  object-fit: cover;
  border-radius: 22px;
}
.certificate-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: var(--orange-soft);
  border: 1px solid rgba(249,115,22,.18);
}
.certificate-note strong {
  color: #7c2d12;
  font-size: 1rem;
}
.certificate-note span {
  color: #9a3412;
  font-size: .94rem;
}
.hero-mini-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-mini-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 18px;
}
.stat-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat-ribbon-item {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(242, 216, 194, 0.8);
  padding: 18px;
  box-shadow: var(--shadow);
}
.stat-ribbon-item strong { display: block; margin-bottom: 6px; font-size: 1.15rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .panel { padding: 28px; }
.card h3, .panel h3 { margin-bottom: 10px; }
.feature-grid-elevated { align-items: stretch; }
.feature-card-strong { position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-icon-large {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.check-list, .bullet-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.check-list li, .bullet-list li { position: relative; padding-left: 28px; color: #4b5563; }
.check-list li::before, .bullet-list li::before {
  content: '•';
  position: absolute;
  left: 10px;
  top: 0;
  color: var(--orange-dark);
  font-weight: 900;
}
.activity-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; }
.activity-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.activity-gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.program-card { display: flex; flex-direction: column; height: 100%; padding: 30px; }
.program-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.program-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: .82rem;
  font-weight: 700;
}
.program-card ul { margin-bottom: 18px; }
.program-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(242, 216, 194, 0.8); }
.program-price { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.value-line { color: var(--orange-dark); }
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.logo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(242, 216, 194, 0.8);
  background: #fff;
}
.logos-clean .logo-card { min-height: 78px; }
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  overflow: hidden;
  flex: 0 0 auto;
}
.logo-icon img { width: 24px; height: 24px; }
.logo-fallback { color: #fff; font-weight: 800; font-size: .8rem; }
.logo-card span { font-weight: 700; color: #374151; font-size: .95rem; }
.reviews-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card { height: 100%; }
.review-card-soft { background: linear-gradient(180deg, #fff 0%, #fffaf6 100%); }
.stars { color: #f59e0b; letter-spacing: .12em; font-size: 1rem; }
.review-author { margin-top: 14px; font-weight: 800; color: var(--text); }
.review-role { color: var(--muted); font-size: .92rem; }
.compact-info-card { min-height: 100%; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid rgba(242, 216, 194, 0.8); border-radius: 18px; overflow: hidden; }
.faq-button {
  width: 100%;
  text-align: left;
  background: transparent;
  padding: 18px 22px;
  border: 0;
  font: inherit;
  font-weight: 800;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-answer { padding: 0 22px 20px; color: var(--muted); display: none; }
.faq-item.open .faq-answer { display: block; }
.local-map { width: 100%; min-height: 360px; border: 0; border-radius: 22px; }
.footer {
  background: #1f2937;
  color: rgba(255,255,255,.86);
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer p, .footer a, .footer li { color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 24px; }
.footer-brand img { height: 60px; width: auto; object-fit: contain; margin-bottom: 14px; }
.small { font-size: .92rem; }
.page-hero { padding: 64px 0 24px; }
.page-hero .panel { padding: 36px; }
.breadcrumbs { margin-bottom: 10px; color: var(--muted); font-size: .92rem; }
.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.table th, .table td { padding: 16px 18px; border-bottom: 1px solid rgba(242, 216, 194, 0.8); text-align: left; }
.table th { background: var(--surface-soft); color: var(--text); }
.notice {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.cta-strip {
  background: linear-gradient(135deg, #fff0e6 0%, #fff8f3 100%);
  border: 1px solid rgba(242, 216, 194, 0.8);
  border-radius: 26px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 1180px) {
  .reviews-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .hero-grid,
  .grid-4,
  .activity-showcase { grid-template-columns: 1fr; }
  .grid-3,
  .footer-grid,
  .grid-2,
  .stat-ribbon { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .nav-links,
  .nav-cta .button-outline { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 54px; }
  .hero { padding-top: 48px; }
  .hero-grid,
  .compact-promise-grid,
  .hero-mini-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .section { padding: 58px 0; }
  .container { width: min(var(--container), calc(100% - 22px)); }
  .card, .panel, .program-card, .hero-visual { padding: 20px; }
  .logo-grid, .reviews-wall, .seo-card-grid { grid-template-columns: 1fr; }
  .button, .button-outline { width: 100%; }
  .hero-actions, .stack-inline { flex-direction: column; }
  .brand-text { display: none; }
  .brand img { height: 50px; }
  .logo-card { align-items: center; }
  .logo-card span { font-size: .92rem; }
  .logo-icon { width: 38px; height: 38px; }
  .promise-chip { padding: 12px 14px; }
  .activity-gallery { grid-template-columns: 1fr; }
  .activity-gallery img { min-height: 220px; }
}

/* Live-site inspired polish: keeps Astro SEO structure while matching the Netlify visual language. */
body {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
}

.header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border-bottom: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 94px;
}

.nav-links,
.nav-toggle,
.mobile-menu {
  display: none !important;
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.nav-cta .button,
.nav-cta .button-outline {
  white-space: nowrap;
  min-width: 150px;
  justify-content: center;
}

.brand img {
  height: 76px;
}

.brand-name {
  font-size: 1.08rem;
}

.brand-sub {
  max-width: 270px;
  line-height: 1.35;
}

.nav-links a {
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .88rem;
}

.nav-links a.active,
.nav-links a:hover {
  background: #fff5ee;
  color: #ff6b1a;
}

.hero-rich {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ff6b1a 0%, #e55a00 55%, #ff8c42 100%);
}

.hero-rich::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.045'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-rich .container {
  position: relative;
  z-index: 1;
}

.hero-rich h1,
.hero-rich .lead,
.hero-rich .brand-sub {
  color: #fff;
}

.hero-rich h1 {
  max-width: 760px;
  font-weight: 900;
}

.hero-rich .lead {
  color: rgba(255,255,255,.9);
}

.hero-rich .section-label {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
}

.hero-rich .pill {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-rich .button {
  background: #fff;
  color: #e55a00;
}

.hero-rich .button-outline {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.hero-card {
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.25);
  backdrop-filter: blur(12px);
}

.hero-main-photo {
  aspect-ratio: 4 / 4.25;
  object-position: top center;
}

.promise-chip {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.24);
}

.certificate-note {
  background: #fff;
  border: 0;
}

.stat-ribbon-item,
.card,
.panel,
.logo-card,
.faq-item {
  border-radius: 20px;
}

.value-band {
  background: #1a1a2e;
  color: #fff;
}

.value-band h2,
.value-band p {
  color: #fff;
}

.value-band-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-strip-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 20px;
}

.value-strip-card strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.value-strip-card span {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.metric-card {
  background: #fff;
  border: 1px solid rgba(242, 216, 194, 0.9);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(255,107,26,.10);
}

.metric-card strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  color: #ff6b1a;
  margin-bottom: 10px;
  letter-spacing: -.04em;
}

.metric-card span {
  display: block;
  color: #4b5563;
  font-weight: 700;
  line-height: 1.45;
}

.guarantee-box {
  margin-top: 22px;
  padding: 26px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff 0%, #fff5ee 100%);
  border: 1px solid rgba(255,107,26,.24);
  box-shadow: 0 14px 34px rgba(255,107,26,.10);
}

.guarantee-box h3 {
  color: #1a1a2e;
  margin-bottom: 10px;
}

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

.centered-intro {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  font-size: 1.12rem;
}

.orange-word {
  color: #ff6b1a;
}

.section-soft {
  background: #fff5ee;
}

.logos-clean {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.logos-clean .logo-card {
  display: grid;
  justify-items: center;
  text-align: center;
  align-content: center;
  gap: 14px;
  min-height: 164px;
  padding: 24px 14px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(255,107,26,.12);
  border: 2px solid transparent;
}

.logos-clean .logo-card:hover {
  border-color: #ff6b1a;
  transform: translateY(-4px);
}

.logos-clean .logo-icon {
  width: 62px;
  height: 62px;
  background: transparent;
  border-radius: 16px;
}

.logos-clean .logo-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.logos-clean .logo-card span {
  font-size: .98rem;
  font-weight: 800;
}

.reviews-wall {
  margin-top: 32px;
}

@media (max-width: 1080px) {
  .value-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .logos-clean {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero-rich {
    min-height: auto;
  }

  .hero-rich .hero-grid {
    text-align: center;
  }

  .hero-rich .hero-actions,
  .hero-rich .badge-row {
    justify-content: center;
  }

  .brand img {
    height: 58px;
  }

  .brand-text {
    display: none;
  }

  .nav {
    min-height: 82px;
  }

  .nav-cta .button-outline {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero-rich h1 {
    font-size: 2rem;
  }

  .logos-clean {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .logos-clean .logo-card {
    min-height: 132px;
    padding: 20px 10px;
  }

  .logos-clean .logo-icon {
    width: 48px;
    height: 48px;
  }

  .logos-clean .logo-icon img {
    width: 42px;
    height: 42px;
  }

  .value-strip-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .nav-cta .button {
    min-width: 128px;
    padding: 11px 14px;
    font-size: .88rem;
  }
}

/* Last-pass override: keeps header compact and fixes tools/blog layouts after earlier rules. */
.header { border-top: 3px solid #1f2937; }
.nav { min-height: 78px; gap: 18px; }
.brand { flex: 0 0 auto; max-width: 330px; }
.brand img { height: 58px; }
.brand-name { font-size: 1.12rem; letter-spacing: -.02em; }
.brand-sub { max-width: 230px; line-height: 1.35; }
.nav-links { display: flex; flex: 1; justify-content: center; gap: 8px; flex-wrap: nowrap; }
.nav-links a { white-space: nowrap; padding: 10px 14px; border-radius: 14px; font-size: .94rem; }
.nav-links a.active, .nav-links a:hover { background: #fff1e8; color: #f15a12; }
.nav-cta { flex: 0 0 auto; }
.nav-cta .button { min-width: 150px; min-height: 50px; font-size: .95rem; }
.nav-cta .button-outline { display: none; }
.certificate-note { grid-template-columns: 58px 1fr; align-items: center; }
.certificate-note strong, .certificate-note span { grid-column: 2; }
.certificate-icon { grid-row: 1 / span 2; width: 56px; height: 42px; object-fit: contain; }
.premium-program-card { border: 2px solid rgba(249,115,22,.16); box-shadow: 0 20px 50px rgba(249,115,22,.14); }
.featured-program { border-color: rgba(249,115,22,.5); background: linear-gradient(180deg, #fff 0%, #fff7ef 100%); }
.premium-program-card .program-price { font-size: clamp(1.45rem, 3vw, 2.1rem); color: #f15a12; letter-spacing: -.03em; margin-bottom: 18px; }
.program-note { font-size: .95rem; margin-bottom: 14px; }
.program-comparison-grid { align-items: stretch; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-card { display: flex; flex-direction: column; gap: 12px; }
.blog-card h2 { font-size: 1.25rem; margin-bottom: 0; }
.blog-keyword { color: #f15a12; font-weight: 800; font-size: .82rem; }
.blog-visual, .article-visual { min-height: 170px; border-radius: 22px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.55rem; letter-spacing: -.03em; box-shadow: 0 18px 40px rgba(249,115,22,.18); overflow: hidden; position: relative; }
.blog-visual::after, .article-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 32%), radial-gradient(circle at 82% 22%, rgba(255,255,255,.18), transparent 28%); }
.blog-visual span, .article-visual span { position: relative; z-index: 1; }
.visual-1 { background: linear-gradient(135deg, #ff6b1a, #ffb27a); }
.visual-2 { background: linear-gradient(135deg, #1f2937, #ff6b1a); }
.visual-3 { background: linear-gradient(135deg, #7c3aed, #ff6b1a); }
.visual-4 { background: linear-gradient(135deg, #0ea5e9, #ff6b1a); }
.visual-5 { background: linear-gradient(135deg, #16a34a, #ff6b1a); }
.article-layout { max-width: 960px; }
.article-visual { min-height: 260px; margin-bottom: 24px; }
.article-body { font-size: 1.05rem; }
.article-body p { color: #4b5563; }
.article-cta { margin-top: 24px; }
.text-link { color: #f15a12; font-weight: 900; margin-top: auto; }
.logos-clean { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 18px; }
.logos-clean .logo-card { min-height: 150px; justify-content: center; }
.logos-clean .logo-icon { width: 62px; height: 62px; }
.logos-clean .logo-icon img { width: 58px; height: 58px; object-fit: contain; }
.hero-promise-row {
  grid-column: 1 / -1;
  max-width: 960px;
  margin: -10px auto 0;
}
.hero-guarantee-mini {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
}
.mobile-early-students {
  display: none;
}
@media (max-width: 1180px) {
  .nav { flex-wrap: wrap; padding: 10px 0; }
  .nav-links { order: 3; flex-basis: 100%; }
  .logos-clean { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .nav { flex-wrap: nowrap; }
  .brand { max-width: 250px; }
  .brand img { height: 50px; }
  .brand-sub { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex !important; }
  .nav-cta .button { display: none; }
  .mobile-menu.open { display: block; }
  .mobile-links .button { display: flex; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-rich .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .hero-promise-row {
    order: 3;
    margin-top: 0;
  }
  .hero-actions { order: 4; }
  .desktop-student-life {
    display: none;
  }
  .mobile-early-students {
    display: block;
  }
}
@media (max-width: 700px) {
  .brand-text { display: flex; }
  .brand-name { font-size: .94rem; }
  .logos-clean { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: 1fr; }
  .certificate-note { grid-template-columns: 46px 1fr; }
  .certificate-icon { width: 44px; }
  .hero-rich h1 {
    font-size: clamp(2.05rem, 9vw, 2.55rem);
    line-height: 1.08;
  }
  .hero-rich .lead {
    font-size: .98rem;
    line-height: 1.55;
  }
  .hero-guarantee-mini {
    font-size: .9rem;
    padding: 10px 12px;
  }
  .hero-rich .badge-row {
    gap: 8px;
  }
  .hero-rich .pill {
    font-size: .82rem;
    padding: 8px 10px;
  }
  .hero-promise-row {
    gap: 10px;
  }
  .promise-chip {
    font-size: .9rem;
  }
}

/* Header visibility fix: desktop keeps menu visible; mobile uses working hamburger. */
.header .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  min-height: 92px !important;
  gap: 18px !important;
}

.header .brand {
  flex: 0 0 330px !important;
  max-width: 330px !important;
}

.header .brand img {
  height: 60px !important;
}

.header .nav-links {
  display: flex !important;
  flex: 1 1 auto !important;
  order: initial !important;
  flex-basis: auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.header .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1f2937 !important;
  font-weight: 800 !important;
  font-size: .9rem !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

.header .nav-links a:hover,
.header .nav-links a.active {
  background: #fff1e8 !important;
  color: #f15a12 !important;
}

.header .nav-cta {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
}

.header .nav-toggle {
  display: none !important;
}

@media (max-width: 980px) {
  .header .nav {
    min-height: 82px !important;
  }
  .header .brand {
    flex: 1 1 auto !important;
    max-width: 310px !important;
  }
  .header .brand img {
    height: 52px !important;
  }
  .header .brand-sub {
    display: none !important;
  }
  .header .nav-links {
    display: none !important;
  }
  .header .nav-cta .button {
    display: none !important;
  }
  .header .nav-toggle {
    display: inline-flex !important;
  }
  .mobile-menu.open {
    display: block !important;
  }
}

@media (max-width: 520px) {
  .header .brand {
    max-width: 240px !important;
  }
  .header .brand-name {
    font-size: .86rem !important;
  }
}

/* Menu visibility, WhatsApp mobile button and fast page animations */
.mobile-links .mobile-whatsapp,
.mobile-links .button {
  background: linear-gradient(135deg, #ff6b1a 0%, #e95b00 100%) !important;
  color: #fff !important;
  text-align: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 32px rgba(249, 115, 22, .22) !important;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle span {
  transition: transform .18s ease, opacity .18s ease;
}

html {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease;
}

html.page-ready {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html,
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Richer visual system: warm blur, contrast sections, marquee and article depth */
body {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 107, 26, .16), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(124, 58, 237, .08), transparent 24%),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 34%, #fff5ee 100%) !important;
}

.section,
.page-hero {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,107,26,.08);
  filter: blur(45px);
  right: -120px;
  top: 24px;
  pointer-events: none;
}

.panel,
.card,
.faq-item,
.cta-strip {
  backdrop-filter: blur(14px);
}

.section-soft {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,107,26,.16), transparent 26%),
    linear-gradient(135deg, #fff7ef 0%, #fff 54%, #f7f0ff 100%) !important;
}

.section-alt {
  background:
    radial-gradient(circle at 82% 12%, rgba(14,165,233,.10), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fff7ef 100%) !important;
}

.top-conversion-bar {
  overflow: hidden;
  background: linear-gradient(90deg, #1f2937, #ff6b1a, #1f2937);
  color: #fff;
  font-weight: 900;
  font-size: .86rem;
  white-space: nowrap;
}

.top-conversion-track {
  display: inline-flex;
  gap: 42px;
  padding: 8px 0;
  animation: topTicker 24s linear infinite;
}

.top-conversion-track span {
  display: inline-flex;
  align-items: center;
}

.top-conversion-track span::before {
  content: "✦";
  margin-right: 10px;
  color: #fff2cc;
}

@keyframes topTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-marquee-section {
  overflow: hidden;
  background: #fff7ef;
}

.review-marquee {
  overflow: hidden;
  width: 100%;
}

.review-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: reviewScroll 55s linear infinite;
}

.review-pill {
  width: 360px;
  min-height: 86px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255,107,26,.16);
  box-shadow: 0 12px 30px rgba(249,115,22,.10);
  color: #4b5563;
  font-size: .9rem;
}

.review-pill span {
  display: block;
  color: #f59e0b;
  margin-bottom: 4px;
}

@keyframes reviewScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.module-card {
  position: relative;
  overflow: hidden;
  border: 0 !important;
}

.module-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.module-card-1 { background: linear-gradient(135deg, #fff 0%, #fff0e4 100%); }
.module-card-2 { background: linear-gradient(135deg, #fff 0%, #eaf7ff 100%); }
.module-card-3 { background: linear-gradient(135deg, #fff 0%, #eef4ff 100%); }
.module-card-4 { background: linear-gradient(135deg, #fff 0%, #fff0f6 100%); }
.module-card-5 { background: linear-gradient(135deg, #fff 0%, #f0fff4 100%); }
.module-card-6 { background: linear-gradient(135deg, #fff 0%, #fff8df 100%); }
.module-card-7 { background: linear-gradient(135deg, #fff 0%, #f5edff 100%); }
.module-card-8 { background: linear-gradient(135deg, #fff 0%, #fff0e9 100%); }
.module-card-1 span, .module-card-8 span { background: #ff6b1a; }
.module-card-2 span { background: #0ea5e9; }
.module-card-3 span { background: #2563eb; }
.module-card-4 span { background: #e11d48; }
.module-card-5 span { background: #16a34a; }
.module-card-6 span { background: #d97706; }
.module-card-7 span { background: #7c3aed; }

.ai-answer-box {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7ef, #ffffff);
  border: 1px solid rgba(249,115,22,.18);
  box-shadow: 0 18px 42px rgba(249,115,22,.11);
  margin-bottom: 24px;
}

.article-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.ai-topic-graphic {
  min-height: 340px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 70px rgba(249,115,22,.22);
  margin-bottom: 28px;
}

.ai-topic-graphic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(255,255,255,.30), transparent 16%),
    radial-gradient(circle at 75% 30%, rgba(255,255,255,.20), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,.12), transparent);
}

.ai-topic-graphic::after {
  content: "";
  position: absolute;
  width: 74%;
  height: 52%;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
}

.ai-topic-graphic div {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  text-align: center;
  padding: 30px;
}

.ai-topic-graphic span {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.04em;
}

.ai-topic-graphic strong {
  color: rgba(255,255,255,.86);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 30px;
}

.step-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ef, #fff);
  border: 1px solid rgba(249,115,22,.16);
}

.step-card span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ff6b1a;
  color: #fff;
  font-weight: 900;
}

.step-card p {
  margin: 0;
  color: #374151;
  font-weight: 700;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.article-faq-list .faq-answer {
  display: block;
}

@media (max-width: 700px) {
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .ai-topic-graphic {
    min-height: 250px;
  }
}

.article-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(31,41,55,.12);
}

.article-check-list {
  margin: 22px 0;
}

.internal-link-panel {
  margin: 30px 0;
  padding: 22px;
  border-radius: 22px;
  background: #1f2937;
}

.internal-link-panel h2 {
  color: #fff;
}

.mini-link-card,
.related-post-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.mini-link-card span {
  color: #6b7280;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 28px;
}

@media (max-width: 700px) {
  .article-photo-grid,
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .review-pill {
    width: 290px;
  }
}
