:root {
  --ink: #172022;
  --muted: #5a6669;
  --paper: #fbfaf6;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --coral: #e15a3d;
  --gold: #d8a322;
  --blue: #2d6cdf;
  --green: #3c8d54;
  --line: #dedbd2;
  --shadow: 0 20px 60px rgba(23, 32, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: rgba(12, 20, 21, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 10px 12px;
  text-decoration: none;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
}

.hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 104px clamp(18px, 5vw, 72px) 44px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 17, 18, 0.78) 0%, rgba(8, 17, 18, 0.62) 54%, rgba(8, 17, 18, 0.78) 100%),
    url("https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-content {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb199;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 auto;
  max-width: 1040px;
  font-size: clamp(2.15rem, 4.6vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 780px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
}

.primary:hover {
  background: var(--teal-dark);
}

.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.whatsapp-button {
  color: var(--white);
  background: #1f9d55;
  box-shadow: 0 12px 28px rgba(31, 157, 85, 0.24);
}

.whatsapp-button:hover {
  background: #157a40;
}

.hero-stats {
  padding: 0;
}

.hero-stats div {
  min-width: 120px;
  padding: 12px 16px;
  border-top: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats dt {
  font-size: 1.3rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section,
.intro-band,
.source-strip {
  padding: clamp(54px, 8vw, 104px) 0;
}

.section-inner {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: 28px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.intro-grid p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

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

.program-card,
.steps article,
.reason-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(23, 32, 34, 0.06);
}

.program-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: var(--teal-dark);
  background: rgba(15, 118, 110, 0.1);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--coral);
  border-radius: 999px;
}

.dot.warm {
  background: var(--gold);
}

.dot.blue {
  background: var(--blue);
}

.dot.green {
  background: var(--green);
}

.program-card p,
.reason-list p,
.steps p,
.contact-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 8px 0 22px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #364448;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 3px;
  transform: translateY(-50%);
}

.card-button {
  width: 100%;
  margin-top: auto;
  color: var(--ink);
  background: #f1eee5;
}

.card-button:hover {
  background: #e7e0d1;
}

.contrast {
  color: var(--white);
  background: #172022;
}

.contrast .eyebrow {
  color: #ffb199;
}

.split {
  display: block;
  text-align: center;
}

.split > div:first-child {
  width: min(860px, 100%);
  margin: 0 auto 30px;
}

.split h2 {
  margin: 0 auto;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.reason-list article {
  padding: 22px;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps article {
  padding: 24px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 900;
}

.contact-section {
  background: #f1eee5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.contact-note {
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.7);
}

.contact-whatsapp {
  margin-top: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #344044;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9c4b9;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffefb;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

textarea {
  resize: vertical;
}

.submit-button {
  width: 100%;
}

.hidden {
  display: none;
}

.apps-section {
  background: var(--paper);
}

.section-heading.centered {
  align-items: center;
  text-align: center;
}

.section-heading.centered h2,
.section-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-heading.centered > p:last-child {
  max-width: 620px;
  margin-top: 8px;
  color: var(--muted);
}

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

.app-card {
  min-height: 170px;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(15, 118, 110, 0.34);
  border-radius: 8px;
  background: var(--white);
}

.app-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.app-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.source-strip {
  padding: 24px 0;
  color: #4f5b5e;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.source-strip p {
  margin: 0;
  font-size: 0.92rem;
}

.source-strip a {
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #101718;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.thanks-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 17, 18, 0.88), rgba(8, 17, 18, 0.42)),
    url("https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.thanks > div {
  width: min(760px, 100%);
}

.thanks .button {
  margin-top: 26px;
}

@media (max-width: 980px) {
  .program-grid,
  .steps,
  .reason-list,
  .contact-grid,
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    max-width: 210px;
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 0.86rem;
  }

  .nav-links a {
    padding: 7px 8px;
  }

  .hero {
    min-height: 78vh;
    padding-top: 138px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .intro-grid,
  .footer-inner,
  .program-grid,
  .steps,
  .reason-list,
  .contact-grid,
  .app-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 440px) {
  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-stats div {
    flex: 1 1 100%;
  }
}
