:root {
  --bg: #171614;
  --paper: #24221f;
  --ink: #f3eee7;
  --muted: #c7bdb2;
  --line: rgba(243, 238, 231, .16);
  --orange: #d96f3d;
  --orange-soft: #a94c34;
  --black: #0a0908;
  --white: #fff8ef;
  --wine: #4d0d22;
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 0%, rgba(217, 111, 61, .16), transparent 32%),
    linear-gradient(180deg, #2a2925 0%, var(--bg) 48%, #0d0c0b 100%);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.35;
}

a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; font: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.page { min-height: 100vh; padding-bottom: 96px; }

.shell {
  width: min(100%, 760px);
  margin: 0 auto;
}

.home-page .shell {
  width: min(100%, 1160px);
}

.hero-image {
  width: min(100%, 760px);
  height: clamp(330px, 62vw, 520px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.34), transparent 18%, transparent 82%, rgba(0,0,0,.34)),
    radial-gradient(circle at 50% 18%, rgba(217,111,61,.16), rgba(255,255,255,.06) 24%, transparent 44%),
    linear-gradient(180deg, #3b3833 0%, #211f1d 58%, #120f0e 100%);
  border-inline: 1px solid var(--line);
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(255,255,255,.08) 28% 29%, transparent 29% 71%, rgba(255,255,255,.08) 71% 72%, transparent 72%),
    linear-gradient(180deg, transparent 0 68%, rgba(255,255,255,.09) 68% 69%, transparent 69%);
  opacity: .9;
}

.hero-image::after {
  content: "TS";
  position: absolute;
  left: 50%;
  bottom: 15%;
  transform: translateX(-50%);
  width: clamp(190px, 36vw, 280px);
  height: clamp(230px, 44vw, 350px);
  border-radius: 48% 48% 8px 8px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(34,27,25,.08), rgba(34,27,25,.2)),
    linear-gradient(150deg, #3c342f, #6d4034 52%, #1c1917);
  color: rgba(255, 190, 139, .68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 11vw, 96px);
  letter-spacing: -.14em;
  box-shadow: 0 20px 44px rgba(26, 18, 15, .18);
}

.photo-hero {
  width: 100%;
  height: auto;
  background: #141311;
  border: 0;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}

.photo-hero::before,
.photo-hero::after {
  display: none;
}

.hero-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-hero img {
  position: static;
  height: auto;
  object-fit: contain;
}

.intro {
  padding: 30px 18px 28px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(217,111,61,.08), transparent 34%, rgba(77,13,34,.2)),
    var(--paper);
}

.eyebrow {
  margin-bottom: 9px;
  color: #d98a60;
  font-size: 13px;
  font-weight: 650;
}

h1 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(31px, 8vw, 56px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.04em;
}

.subtitle {
  max-width: 540px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.social-band {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.footer .social-band {
  padding: 20px 0 0;
  border-bottom: 0;
  background: transparent;
}

.social {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
  transition: transform .18s ease, background .18s ease;
}

.social:hover {
  transform: translateY(-2px);
  background: var(--wine);
}

.language-panel,
.section {
  padding: 25px 18px 32px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent),
    var(--paper);
}

.priority-section {
  padding-top: 22px;
}

.hero-copy h1 {
  max-width: 680px;
}

.button-row {
  display: grid;
  gap: 10px;
  width: min(100%, 520px);
  margin: 22px auto 0;
}

.button-row.single {
  grid-template-columns: 1fr;
}

.inline-button {
  min-height: 56px;
  border: 1px solid rgba(255, 248, 239, .2);
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 13px 18px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.inline-button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
}

.inline-button.primary {
  min-height: 64px;
  border-color: transparent;
  background: var(--orange);
  box-shadow: 0 18px 38px rgba(217, 111, 61, .32);
  font-weight: 950;
}

.inline-button.secondary {
  min-height: 50px;
  border-color: rgba(255, 248, 239, .18);
  background: transparent;
  box-shadow: none;
  color: rgba(255,248,239,.86);
}

.price-block {
  display: grid;
  gap: 5px;
  margin: 16px 0 2px;
}

.price-value {
  color: var(--white);
  font-size: clamp(26px, 7vw, 36px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.04em;
}

.price-copy {
  color: #e6a17a;
  font-size: 13px;
  font-weight: 850;
}

.trust-line {
  margin-top: 10px;
  color: rgba(255,248,239,.62);
  font-size: 12px;
  font-weight: 700;
}

.hero-copy .price-block,
.offer-section .price-block {
  width: min(100%, 520px);
  margin: 20px auto 0;
  text-align: center;
}

.section-copy {
  width: min(100%, 560px);
  margin: 0 auto 18px;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
}

.section-copy.compact {
  margin-top: 20px;
  margin-bottom: 14px;
}

.stat-grid,
.course-grid,
.compare-grid,
.feature-grid {
  width: min(100%, 620px);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.single-course {
  max-width: 620px;
}

.mini-card,
.decision-card,
.compare-card,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

.mini-card {
  padding: 18px;
  text-align: center;
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 18px;
}

.mini-card span {
  color: var(--muted);
  font-size: 13px;
}

.decision-card,
.compare-card {
  padding: 20px;
}

.decision-card h3,
.compare-card h3 {
  margin: 8px 0 8px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.decision-card p,
.compare-card p {
  color: var(--muted);
  font-size: 14px;
}

.decision-card .inline-button {
  margin-top: 16px;
}

.decision-card .kicker,
.compare-card .kicker,
.path-card .kicker {
  display: block;
  margin-bottom: 4px;
  color: #e6a17a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(217,111,61,.38);
  border-radius: 999px;
  padding: 6px 10px;
  color: #e6a17a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.compare-card ul,
.premium-list {
  display: grid;
  gap: 8px;
  width: min(100%, 560px);
  margin: 12px auto 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.course-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.bullet-panel {
  display: grid;
  gap: 10px;
  width: min(100%, 620px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 20px 20px 38px;
  background: rgba(255,255,255,.055);
  color: var(--muted);
  font-size: 14px;
}

.premium-list {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 20px 20px 38px;
  background: rgba(255,255,255,.055);
}

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

.feature-grid article {
  padding: 16px;
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.center-action {
  width: min(100%, 520px);
  margin: 0 auto;
}

.offer-section {
  background:
    linear-gradient(135deg, rgba(217,111,61,.18), rgba(77,13,34,.28)),
    var(--paper);
}

.path-grid {
  width: min(100%, 680px);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.path-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

.path-card h3 {
  margin: 7px 0 6px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.path-card p {
  color: var(--muted);
  font-size: 14px;
}

.path-card .inline-button {
  margin-top: 16px;
}

.step-label {
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  border: 1px solid rgba(217,111,61,.38);
  border-radius: 999px;
  padding: 6px 10px;
  color: #e6a17a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.free-class-grid {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 12px 24px rgba(0,0,0,.10);
}

.video-card .inline-button.primary {
  box-shadow: 0 12px 26px rgba(217, 111, 61, .24);
}

.video-card h3 {
  margin: 8px 0 8px;
  color: var(--white);
  font-size: 19px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.video-card p {
  color: var(--muted);
  font-size: 14px;
}

.video-card .button-row {
  width: 100%;
  margin-top: 16px;
}

.video-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e6a17a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.video-label::before {
  content: "Play";
  border: 1px solid rgba(217,111,61,.42);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--white);
  font-size: 10px;
}

.faq-list {
  width: min(100%, 620px);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  background: rgba(255,255,255,.055);
}

.faq-list summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 850;
}

.faq-list p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.affiliate-note {
  width: min(100%, 560px);
  margin: 18px auto 0;
  border: 1px solid rgba(217,111,61,.3);
  border-radius: 16px;
  padding: 14px;
  color: #e6c8b7;
  background: rgba(217,111,61,.08);
  font-size: 13px;
}

.material-section .links {
  gap: 9px;
}

.material-section .link-card {
  min-height: 62px;
}

.simple-hero {
  padding-top: 42px;
}

.material-main-links {
  margin-top: 42px;
  margin-bottom: 30px;
}

.links.material-main-links {
  margin: 42px auto 30px;
}

.materials-simple {
  padding-top: 30px;
}

.materials-copy {
  display: grid;
  gap: 12px;
  width: min(100%, 590px);
  margin: 0 auto;
}

.materials-copy .section-copy {
  margin-bottom: 0;
}

.materials-copy .affiliate-note {
  margin-top: 8px;
  margin-bottom: 6px;
}

.material-main-links .link-card {
  min-height: 86px;
}

.back-to-courses {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.section-title {
  margin-bottom: 18px;
  text-align: center;
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 400;
  letter-spacing: -.05em;
}

.links,
.language-options {
  display: grid;
  gap: 15px;
  width: min(100%, 520px);
  margin: 0 auto;
}

.link-card,
.language-btn {
  min-height: 78px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 16px 22px;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(217, 111, 61, .18);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.link-card:hover,
.language-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 20px 34px rgba(217, 111, 61, .28);
}

.link-card h3,
.language-btn h3 {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.link-card p,
.language-btn p {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 650;
}

.link-card.soft {
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), rgba(217,111,61,.92) 48%, rgba(255,255,255,.10)),
    var(--orange-soft);
  box-shadow: 0 13px 24px rgba(0, 0, 0, .18);
}

.link-card.dark {
  background: linear-gradient(135deg, var(--black), var(--wine));
  color: var(--white);
  box-shadow: 0 16px 30px rgba(0,0,0,.28);
}

.language-btn {
  grid-template-columns: 58px 1fr;
  place-items: stretch;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.flag {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.58);
  color: var(--black);
  font-size: 26px;
  font-weight: 950;
}

.flag-br {
  background: #168a3a;
}

.flag-br::before {
  content: "";
  width: 36px;
  height: 36px;
  background: #f4d34f;
  transform: rotate(45deg);
}

.flag-br::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1f4da8;
}

.flag-us {
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0 4px,
    #fff 4px 8px
  );
}

.flag-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 31px;
  height: 31px;
  background: #3c3b6e;
}

.flag-latam {
  background:
    radial-gradient(circle at 28% 25%, rgba(255,255,255,.42), transparent 26%),
    linear-gradient(135deg, #d96f3d 0%, #8d3f36 48%, #4d0d22 100%);
  color: var(--white);
  border: 1px solid rgba(255,248,239,.26);
  font-size: 17px;
  letter-spacing: -.04em;
}

.language-btn strong {
  display: inline-block;
  margin-top: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.secondary-language-section {
  padding-top: 22px;
  padding-bottom: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent),
    var(--paper);
}

.secondary-language-section .section-title {
  margin-bottom: 14px;
  color: rgba(255,248,239,.82);
  font-size: clamp(21px, 5vw, 28px);
}

.secondary-language-section .course-grid {
  gap: 10px;
}

.secondary-language-section .decision-card {
  padding: 16px;
  background: rgba(255,255,255,.035);
  box-shadow: none;
}

.secondary-language-section .decision-card h3 {
  font-size: 17px;
}

.secondary-language-section .decision-card .inline-button {
  min-height: 48px;
  margin-top: 14px;
  font-size: 12px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 30;
  min-height: 48px;
  border: 1px solid rgba(255,248,239,.22);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background:
    linear-gradient(135deg, rgba(217,111,61,.96), rgba(77,13,34,.96));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.explore-section {
  padding-top: 22px;
  padding-bottom: 28px;
}

.material-category-grid {
  width: min(100%, 760px);
  margin: 24px auto 0;
  display: grid;
  gap: 12px;
}

.material-category {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.045);
}

.material-category h3 {
  color: var(--white);
  font-size: 18px;
  letter-spacing: -.03em;
}

.material-category p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.back {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.note {
  width: min(100%, 520px);
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.footer {
  padding: 32px 18px;
  background: var(--black);
  color: var(--orange);
  text-align: center;
}

.footer strong {
  display: block;
  font-size: clamp(30px, 8vw, 54px);
  line-height: .94;
  font-weight: 900;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.footer span {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  width: min(100%, 540px);
  margin: 20px auto 0;
}

.footer-nav a {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: var(--orange);
}

@media (max-width: 460px) {
      .hero-image { height: 390px; }
      .photo-hero { height: auto; }
      .intro { padding-top: 24px; }
  .social { width: 48px; height: 48px; }
  .language-btn {
    grid-template-columns: 48px 1fr;
    padding-inline: 16px;
  }
  .flag { width: 48px; height: 48px; }
  .link-card,
  .language-btn { border-radius: 23px; }
  .floating-whatsapp {
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 44px;
    max-width: calc(100vw - 24px);
    padding: 11px 14px;
    font-size: 11px;
  }
  .inline-button {
    text-transform: none;
    letter-spacing: 0;
  }
  .inline-button.primary {
    min-height: 56px;
  }
  .price-value {
    font-size: 28px;
  }
}

@media (min-width: 680px) {
  .button-row {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid,
  .course-grid,
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }

  .single-course {
    grid-template-columns: 1fr;
  }

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

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

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

  .free-class-grid {
    grid-template-columns: 1fr;
  }

  .material-category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 920px) {
  .free-class-grid.three-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .three-grid {
    width: min(100%, 980px);
    grid-template-columns: repeat(3, 1fr);
  }

  .home-page .language-options {
    width: min(100%, 1080px);
    grid-template-columns: repeat(3, 1fr);
  }

  .home-page .language-btn {
    grid-template-columns: 52px 1fr;
    min-height: 132px;
    padding: 18px;
  }

  .home-page .flag {
    width: 52px;
    height: 52px;
  }
}
