/* ==========================================================================
   Inspirate — Design tokens
   ========================================================================== */
:root {
  /* Brand colors (real IG identity: black + mustard gold) */
  --black: #1a1512;
  --black-soft: #2a231e;
  --gold: #f0a400;
  --gold-dark: #c97f00;
  --gold-light: #ffd980;
  --cream: #fff9ef;
  --white: #ffffff;
  --ink: #201b17;
  --muted: #6e655c;
  --border: #ece1d0;

  /* Semantic */
  --bg: var(--cream);
  --bg-alt: var(--white);
  --text: var(--ink);
  --text-muted: var(--muted);

  /* Type */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --fs-hero: clamp(2.6rem, 7.5vw, 5.5rem);
  --fs-h2: clamp(2rem, 5vw, 3.25rem);
  --fs-h3: clamp(1.3rem, 3vw, 1.65rem);
  --fs-lead: clamp(1.05rem, 2vw, 1.25rem);

  /* Spacing / layout */
  --gutter: 1.25rem;
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1180px;
  --shadow: 0 10px 30px -12px rgba(26, 21, 18, 0.25);
  --transition: 200ms ease;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14100d;
    --bg-alt: #1e1814;
    --text: #f3ece2;
    --text-muted: #b8ab9c;
    --border: #362c24;
  }
}
:root[data-theme="dark"] {
  --bg: #14100d;
  --bg-alt: #1e1814;
  --text: #f3ece2;
  --text-muted: #b8ab9c;
  --border: #362c24;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

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

.icon-sprite { display: none; }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .text-muted { color: #cbbfae; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}
.section--dark .kicker { color: var(--gold); }
.kicker::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.75rem; }
.lead { font-size: var(--fs-lead); color: var(--text-muted); }

.text-muted { color: var(--text-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 44px;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold); color: var(--black); }
.btn--primary:hover { background: var(--gold-dark); color: var(--white); }

.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }

.section--dark .btn--outline { color: var(--white); border-color: var(--white); }
.section--dark .btn--outline:hover { background: var(--white); color: var(--black); }

.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
/* The blur lives on a ::before (not on .site-header itself) because
   backdrop-filter on an ancestor turns it into the containing block for
   position:fixed descendants (like the mobile nav overlay below), which
   would otherwise size/position itself against the header instead of the
   viewport. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 249, 239, 0.92);
  backdrop-filter: blur(8px);
}
:root[data-theme="dark"] .site-header::before { background: rgba(20, 16, 13, 0.92); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header::before { background: rgba(20, 16, 13, 0.92); }
}

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

.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
.brand-badge {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-badge .icon { width: 22px; height: 22px; stroke: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.nav-links a { padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent; transition: border-color var(--transition), color var(--transition); }
.nav-links a:hover { border-color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--text);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    font-size: 1.4rem;
    transform: translateY(-100vh);
    transition: transform 280ms ease;
    border-top: 1px solid var(--border);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn span { display: none; }
  .nav-actions .btn { padding: 0.75rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 9vw, 6rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { font-size: var(--fs-hero); margin-bottom: 1.1rem; }
.hero h1 mark { background: none; color: var(--gold-dark); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold-dark); line-height: 1; }
.hero-stat span { font-size: 0.9rem; color: var(--text-muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-badge {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--black);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.hero-badge .icon { width: 40%; height: 40%; stroke: var(--gold); stroke-width: 1.2; }
.hero-badge::before, .hero-badge::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px dashed var(--border);
  inset: -18px;
  animation: spin 40s linear infinite;
}
.hero-badge::after { inset: -36px; border-color: var(--gold-light); animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}
.hero-chip .icon { width: 18px; height: 18px; color: var(--gold-dark); }
.hero-chip--1 { top: 6%; left: -8px; }
.hero-chip--2 { bottom: 10%; right: -8px; }
@media (max-width: 500px) {
  .hero-chip--1 { left: 0; }
  .hero-chip--2 { right: 0; }
}

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--black);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.service-icon .icon { stroke: var(--gold); width: 26px; height: 26px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-muted); }

/* ==========================================================================
   Pricing / packs
   ========================================================================== */
.packs-note {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.pack-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pack-card--featured { border-color: var(--gold); border-width: 2px; }
.pack-card__badge {
  position: absolute; top: -14px; left: 1.75rem;
  background: var(--gold); color: var(--black);
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 0.8rem; padding: 0.3rem 0.8rem; border-radius: 999px;
}
.pack-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.pack-card__price { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-dark); margin: 0.5rem 0 1rem; }
.pack-card__price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted); text-transform: none; display: block; }
.pack-card ul { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; flex-grow: 1; }
.pack-card li { display: flex; gap: 0.6rem; font-size: 0.95rem; align-items: flex-start; }
.pack-card li .icon { width: 18px; height: 18px; color: var(--gold-dark); margin-top: 0.15rem; }

/* ==========================================================================
   Featured course
   ========================================================================== */
.course-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--black);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 900px) { .course-feature { grid-template-columns: 1fr; } }
.course-feature > * { min-width: 0; }
.course-feature__tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.course-feature h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.course-list { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.5rem 0; }
.course-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.course-list .icon { color: var(--gold); width: 20px; height: 20px; margin-top: 0.15rem; }
.course-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; padding: 1.25rem 0; border-top: 1px solid var(--black-soft); border-bottom: 1px solid var(--black-soft); }
.course-meta div strong { display: block; font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; }
.course-meta div span { font-size: 0.85rem; color: #cbbfae; }
.course-price { font-family: var(--font-display); font-size: 2.75rem; color: var(--gold); margin-bottom: 1.5rem; }
.course-visual {
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  background: var(--black-soft);
}
.course-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Free content / mini tutoriales
   ========================================================================== */
.free-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}
.free-cta p { max-width: 46ch; }
.free-cta h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
  max-width: 680px;
  margin-inline: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.testimonial-card .icon { width: 32px; height: 32px; color: var(--gold); margin-inline: auto 0.75rem; }
.testimonial-quote { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.75rem); text-transform: none; line-height: 1.3; margin-block: 1.25rem; }
.testimonial-author { font-weight: 600; }
.testimonial-role { color: var(--text-muted); font-size: 0.9rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--gold-dark);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.9rem; color: var(--text-muted); }

/* ==========================================================================
   About / founders
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p + p { margin-top: 1rem; }
.about-copy .stat-row { display: flex; gap: 2rem; margin-top: 2rem; }
.about-copy .stat-row strong { display: block; font-family: var(--font-display); font-size: 2.25rem; color: var(--gold-dark); }
.about-copy .stat-row span { font-size: 0.88rem; color: var(--text-muted); }

.founders { display: flex; flex-direction: column; gap: 1rem; }
.founder-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.founder-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--black); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.3rem;
  flex-shrink: 0;
}
.founder-card strong { display: block; font-size: 1.05rem; }
.founder-card span { font-size: 0.88rem; color: var(--text-muted); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { text-align: center; }
.final-cta h2 { font-size: var(--fs-h2); max-width: 18ch; margin-inline: auto; margin-bottom: 1.25rem; }
.final-cta .btn { margin-top: 1rem; }
.final-cta .socials { margin-top: 2rem; display: flex; justify-content: center; gap: 1.25rem; }
.final-cta .socials a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.95rem; }
.final-cta .socials a:hover { color: var(--gold-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--black); color: #cbbfae; padding-block: 3rem 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; color: var(--white); margin-bottom: 0.75rem; }
.footer-brand .brand-badge { width: 36px; height: 36px; }
.footer-col h4 { font-family: var(--font-display); text-transform: uppercase; color: var(--white); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--black-soft); padding: 1.5rem 5.5rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-col ul { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; padding-right: 0; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.4);
  z-index: 90;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; stroke: none; fill: var(--white); }
