:root {
  --color-bg: #070707;
  --color-surface: #0c0b10;
  --color-surface-border: #16151a;
  --color-brand: #00ffb2;
  --color-brand-main: #00f7ac;
  --color-brand-hover: #00ffb2;
  --color-brand-pressed: #00d192;
  --color-section-title: #f5a55b;
  --color-text-main: #ffffff;
  --color-text-secondary: #969696;
  --color-text-button: #070707;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  scroll-margin-top: 90px;
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.05;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--color-section-title);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

.text-secondary {
  color: var(--color-text-secondary);
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(7, 7, 7, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(22, 21, 26, 0.9);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand img {
  height: 130px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--color-text-secondary);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.15s ease-out;
}

.nav-links a::after {
  content: none;
}

.nav-links a:hover {
  color: #00ffb2;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  background-color: var(--color-brand-main);
  color: var(--color-text-button);
  cursor: pointer;
  transition: background-color 0.15s ease-out, transform 0.1s ease-out,
    box-shadow 0.15s ease-out;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
    0 8px 18px rgba(0, 247, 172, 0.25);
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--color-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
    0 10px 22px rgba(0, 255, 178, 0.3);
}

.btn-primary:active {
  background-color: var(--color-brand-pressed);
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 209, 146, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(150, 150, 150, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  background-color: transparent;
  color: var(--color-text-main);
  cursor: pointer;
  transition: border-color 0.15s ease-out, background-color 0.15s ease-out,
    color 0.15s ease-out;
}

.btn-secondary:hover {
  border-color: var(--color-brand);
  background-color: rgba(12, 11, 16, 0.9);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO */

.hero {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-subheadline {
  font-family: "Barlow Condensed", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: -0.035em;
  font-size: 34px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.75rem;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.hero-benefits li::before {
  content: "•";
  margin-right: 0.35rem;
  color: #f5a55b;
}

.hero-glow-line {
  width: 500px;
  max-width: 90%;
  height: 2px;
  margin: 1.5rem auto 0;
  background: linear-gradient(
    90deg,
    rgba(0, 247, 172, 0),
    rgba(0, 247, 172, 0.9),
    rgba(0, 247, 172, 0)
  );
  box-shadow: 0 0 25px rgba(0, 247, 172, 0.45);
  border-radius: 999px;
}

/* GENERIC LAYOUTS */

.section-header {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.section-header p {
  color: var(--color-text-secondary);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-surface-border);
  padding: 1.4rem 1.5rem;
  position: relative;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  box-shadow: 0 14px 30px rgba(0, 255, 178, 0.22);
}

.card:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(0, 255, 178, 0.2);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.list-check li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.list-check li::before {
  content: "✓";
  color: var(--color-brand);
  margin-top: 0.15rem;
}

/* Glow cards */

.glow-card {
  border: 1px solid #00ffb2;
  box-shadow: 0 0 22px rgba(0, 255, 178, 0.35);
  background-color: var(--color-surface);
}

.card-badge {
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
  font-size: 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 178, 0.8);
  background-color: rgba(0, 255, 178, 0.08);
  color: #00ffb2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* WHO WE HELP */

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* PROGRAMS / PRICING */

.programs-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.price {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 0.25rem;
  text-align: center;
  letter-spacing: -0.035em;
}

.program-duration,
.package-label {
  font-size: 0.9rem;
  color: #f5a55b;
  margin-bottom: 0.75rem;
  text-align: center;
}

.program-footer,
.package-footer {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.btn-program,
.btn-package {
  margin-top: auto;
  width: 100%;
}

.program-card,
.package-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card .list-check,
.package-card .list-check {
  margin-bottom: 1.4rem;
}

.program-name,
.package-name {
  font-family: "Barlow Condensed", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 32px;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.4rem;
}

.pricing-grid .card {
  padding: 1.8rem 2rem;
}

.package-footer {
  min-height: 72px;
  color: #f5a55b;
}

.timeframe-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-align: center;
}

/* FAQ Accordion */

.faq-list {
  max-width: 820px;
}

.faq-item {
  background-color: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--color-surface-border);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}

.faq-item.open {
  border-color: #00ffb2;
  box-shadow: 0 10px 26px rgba(0, 255, 178, 0.25);
}

.faq-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-toggle span.faq-question-text {
  flex: 1;
  margin-right: 0.75rem;
}

.faq-icon {
  font-size: 1.1rem;
  transition: transform 0.18s ease-out;
  color: #00ffb2;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1rem;
  transition: max-height 0.2s ease-out, opacity 0.2s ease-out,
    padding-bottom 0.2s ease-out;
}

.faq-item.open .faq-content {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 0.9rem;
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: 0.2rem;
}

/* EDUCATION */

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.resource-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.resource-summary {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* FINAL CTA */

.final-cta {
  background: linear-gradient(
    135deg,
    rgba(0, 247, 172, 0.18),
    rgba(0, 255, 178, 0.04)
  );
  border-radius: 20px;
  border: 1px solid var(--color-surface-border);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 255, 178, 0.28);
}

.final-cta h2 {
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

/* CONTACT */

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-block p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-whatsapp {
  align-self: flex-start;
}

.contact-email-btn {
  align-self: flex-start;
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--color-surface-border);
  background-color: #050505;
  padding: 2.5rem 0 1.5rem;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo img {
  height: 140px;
  width: auto;
  display: block;
}

.footer-brand-line {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-links,
.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 0.35rem;
}

.footer-links a,
.footer-legal a {
  color: var(--color-text-secondary);
  transition: color 0.15s ease-out;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--color-brand);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .grid-3,
  .grid-4,
  .programs-grid,
  .pricing-grid,
  .education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .who-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    padding-inline: 1rem;
    gap: 0.75rem;
  }

  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: 56px;
    background-color: rgba(7, 7, 7, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-subheadline {
    font-size: 1.6rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .programs-grid,
  .pricing-grid,
  .education-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .final-cta {
    padding: 2rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-whatsapp,
  .contact-email-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-brand img {
    height: 90px;
  }
}

@media (max-width: 480px) {
  .hero-subheadline {
    font-size: 1.4rem;
  }

  .price {
    font-size: 3rem;
  }
}

/* Intro sentences blancas */

#how-it-works .section-header p,
#who-we-help .section-header p,
#services .section-header p,
#credit-builder .section-header p,
#journey .section-header p,
#pricing .section-header p,
#education .section-header p {
  color: #ffffff;
}
