:root {
  --blue: #1D4ED8;
  --indigo: #4F46E5;
  --navy: #0F172A;
  --steel: #64748B;
  --white: #FFFFFF;
  --soft: #F6F8FC;
  --line: #E4E9F2;
  --text: #172033;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 105px 0; }
.soft-bg { background: var(--soft); }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(228,233,242,.8); backdrop-filter: blur(16px); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 58px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: 14px; font-weight: 600; }
.main-nav a:not(.btn) { position: relative; color: #364054; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--blue); transition: .25s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.btn { border: 0; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; padding: 15px 22px; background: var(--blue); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(29,78,216,.2); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(29,78,216,.26); }
.btn-small { padding: 11px 17px; border-radius: 11px; }
.btn-ghost { color: var(--navy); background: #fff; border: 1px solid var(--line); box-shadow: none; }
.btn-outline { background: transparent; color: var(--blue); border: 1px solid rgba(29,78,216,.28); box-shadow: none; }
.menu-toggle { display: none; width: 42px; height: 42px; border: none; border-radius: 10px; background: #f5f7fb; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

/* HERO CON IMAGEN */
.hero-image { position: relative; min-height: 680px; display: flex; align-items: center; padding: 110px 0 90px; overflow: hidden; background-image: url("assets/hero-freelancer.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 28%, rgba(255,255,255,.72) 47%, rgba(255,255,255,.08) 70%, rgba(255,255,255,0) 100%); z-index: 1; }
.hero-image-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.hero-image .hero-copy { max-width: 600px; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .13em; color: var(--blue); text-transform: uppercase; }
.hero-image .eyebrow { padding: 9px 14px; margin-bottom: 25px; border-radius: 999px; background: rgba(29,78,216,.08); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 5px rgba(79,70,229,.09); }
.hero-image h1 { margin: 0; max-width: 760px; color: var(--navy); font-size: clamp(52px, 5.8vw, 78px); font-weight: 900; line-height: .98; letter-spacing: -4px; }
.hero-image h1 span { display: block; color: var(--blue); }
.hero-image .hero-text {
  max-width: 470px;
  margin-top: 27px;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.65;
}
.hero-image .hero-actions { display: flex; gap: 13px; margin-top: 30px; }
.hero-image .btn { min-width: 132px; }
.hero-image .btn-ghost { background: rgba(255,255,255,.92); border: 1px solid rgba(100,116,139,.28); color: var(--navy); box-shadow: 0 9px 25px rgba(15,23,42,.08); }
.hero-image .btn-ghost:hover { background: var(--white); }

/* SECCIONES */
.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head h2, .experience-copy h2, .about-copy h2, .cta-box h2 { margin-top: 14px; color: var(--navy); font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -2.2px; }
.section-head p, .experience-copy p, .about-copy p { margin-top: 17px; color: var(--steel); font-size: 16px; }
.cards-grid { display: grid; gap: 18px; }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card { padding: 30px 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .25s ease; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card .icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(29,78,216,.08); color: var(--blue); font-size: 12px; font-weight: 900; }
.info-card h3 { margin-top: 23px; font-size: 19px; color: var(--navy); }
.info-card p { margin-top: 9px; color: var(--steel); font-size: 14px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.feature-list { display: grid; gap: 18px; }
.feature { display: flex; gap: 17px; padding: 25px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.feature > span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 900; }
.feature h3 { color: var(--navy); font-size: 17px; }
.feature p { color: var(--steel); margin-top: 5px; font-size: 14px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 800; margin-top: 22px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* CURSOS */
.dark-section { position: relative; background: radial-gradient(circle at 15% 0%, rgba(79,70,229,.32), transparent 30%), radial-gradient(circle at 95% 90%, rgba(29,78,216,.23), transparent 27%), var(--navy); overflow: hidden; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #acb8ce; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { min-height: 390px; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); backdrop-filter: blur(12px); color: #fff; transition: .25s ease; }
.course-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.095); }
.course-top, .course-meta { display: flex; justify-content: space-between; align-items: center; }
.pill { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.11); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.course-number { color: #8390aa; font-weight: 900; }
.course-card h3 { margin-top: 55px; font-size: 26px; line-height: 1.1; letter-spacing: -1px; }
.course-card p { margin-top: 14px; color: #aeb9cc; font-size: 14px; }
.course-meta { margin-top: auto; padding-top: 24px; color: #9aa8bf; font-size: 11px; border-top: 1px solid rgba(255,255,255,.10); }
.course-btn { margin-top: 18px; border: 1px solid rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.07); border-radius: 12px; padding: 12px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.course-btn:hover { background: var(--blue); border-color: var(--blue); }

/* EXPERIENCIA */
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.stats-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.stats-panel div { min-height: 155px; display: flex; flex-direction: column; justify-content: center; padding: 26px; }
.stats-panel div:nth-child(1), .stats-panel div:nth-child(2) { border-bottom: 1px solid var(--line); }
.stats-panel div:nth-child(1), .stats-panel div:nth-child(3) { border-right: 1px solid var(--line); }
.stats-panel strong { font-size: 34px; color: var(--blue); }
.stats-panel span { margin-top: 4px; font-size: 12px; color: var(--steel); }

/* SOBRE NOSOTROS */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: center; }
.about-shape { min-height: 420px; border-radius: 32px; display: grid; place-items: center; align-content: center; background: radial-gradient(circle at 25% 25%, rgba(255,255,255,.18), transparent 27%), linear-gradient(145deg, var(--blue), var(--indigo)); color: #fff; box-shadow: 0 30px 70px rgba(29,78,216,.18); }
.big-key { width: 128px; height: 128px; display: grid; place-items: center; border-radius: 30px; border: 4px solid rgba(255,255,255,.72); background: rgba(9,39,145,.28); box-shadow: inset 0 -20px 30px rgba(3,20,91,.30), 0 20px 40px rgba(2,21,93,.18); font-size: 66px; font-weight: 900; }
.about-shape span { margin-top: 25px; text-align: center; font-size: 22px; line-height: 1.15; font-weight: 800; }
.about-copy p + p { margin-top: 12px; }
.about-copy .btn { margin-top: 28px; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-thumb { height: 210px; display: flex; align-items: flex-end; padding: 20px; color: #fff; }
.gradient-a { background: linear-gradient(135deg, #1D4ED8, #4F46E5); }
.gradient-b { background: linear-gradient(135deg, #0F172A, #1D4ED8); }
.gradient-c { background: linear-gradient(135deg, #4F46E5, #64748B); }
.blog-thumb span { padding: 7px 9px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.blog-content { padding: 24px; }
.blog-content small { color: var(--steel); }
.blog-content h3 { margin-top: 9px; color: var(--navy); font-size: 20px; line-height: 1.25; }

/* CTA */
.cta-section { padding-top: 30px; }
.cta-box { display: grid; grid-template-columns: 1fr .78fr; gap: 65px; align-items: center; padding: 58px; border-radius: 30px; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.12), transparent 24%), linear-gradient(135deg, var(--blue), var(--indigo)); color: #fff; }
.light-kicker { color: rgba(255,255,255,.72); }
.cta-box h2 { color: #fff; font-size: clamp(34px, 4vw, 48px); }
.cta-box p { margin-top: 16px; color: rgba(255,255,255,.78); }
.newsletter { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1 1 230px; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); outline: none; background: #fff; color: var(--navy); }
.newsletter button { height: 52px; padding: 0 18px; border: none; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; cursor: pointer; }
.newsletter small { width: 100%; min-height: 20px; color: rgba(255,255,255,.88); }

/* FOOTER */
/* =========================================================
   FOOTER
========================================================= */

.footer {
  margin-top: 100px;
  padding: 70px 0 25px;
  background: var(--navy);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-main {
  max-width: 360px;
}

.footer-logo-link {
  display: inline-block;
  margin: 0;
}

.footer-logo {
  width: auto;
  height: 112px;
  max-width: 1260px;
  object-fit: contain;
  object-position: left center;
}

.footer-main > p {
  max-width: 340px;
  margin-top: 18px;
  color: #8f9bb0;
  font-size: 13px;
  line-height: 1.65;
}

.footer h4 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.footer-grid > div:not(.footer-main) > a {
  display: block;
  margin: 9px 0;
  color: #8f9bb0;
  font-size: 13px;
  transition:
    color .2s ease,
    transform .2s ease;
}

.footer-grid > div:not(.footer-main) > a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Redes sociales */

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  color: #9ba8bc;
  transition:
    transform .2s ease,
    color .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.footer-socials a:hover {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* Franja inferior */

.footer-bottom {
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #738097;
  font-size: 11px;
}
/* MODAL */
.modal { position: fixed; inset: 0; display: none; place-items: center; z-index: 2000; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.72); backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(480px, calc(100% - 36px)); padding: 38px; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.24); z-index: 2; }
.modal-card h3 { margin-top: 12px; font-size: 28px; color: var(--navy); }
.modal-card p { margin: 12px 0 24px; color: var(--steel); }
.modal-close { position: absolute; top: 13px; right: 16px; border: none; background: transparent; color: #7b879a; font-size: 28px; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ANIMACIONES */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* TABLET */
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 10px; }
  .main-nav a:not(.btn)::after { display: none; }
  .hero-image { min-height: 720px; align-items: flex-start; padding: 90px 0 70px; background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 55%, rgba(255,255,255,.48) 100%); }
  .hero-image .hero-copy { max-width: 540px; }
  .hero-image h1 { font-size: clamp(48px, 10vw, 68px); letter-spacing: -3px; }
  .split, .experience-grid, .about-grid, .cta-box { grid-template-columns: 1fr; }
  .cards-grid.four, .course-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .split, .experience-grid, .about-grid { gap: 45px; }
  .cta-box { gap: 30px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 3; }
}

/* MÓVIL */
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }
  .nav-wrap { height: 72px; }
  .brand-logo { height: 46px; }
  .hero-image { min-height: 760px; padding: 70px 0 55px; align-items: flex-start; background-position: 70% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 54%, rgba(255,255,255,.38) 78%, rgba(255,255,255,.04) 100%); }
  .hero-image .hero-copy { max-width: 100%; }
  .hero-image .eyebrow { font-size: 10px; letter-spacing: .08em; }
  .hero-image h1 { font-size: clamp(43px, 14vw, 58px); line-height: 1; letter-spacing: -3px; }
  .hero-image .hero-text { max-width: 100%; font-size: 15px; }
  .hero-image .hero-actions { flex-direction: column; }
  .hero-image .hero-actions .btn { width: 100%; }
  .cards-grid.four, .course-grid, .blog-grid, .stats-panel, .footer-grid { grid-template-columns: 1fr; }
  .stats-panel div { border-right: none !important; border-bottom: 1px solid var(--line); }
  .stats-panel div:last-child { border-bottom: 0; }
  .about-shape { min-height: 320px; }
  .cta-box { padding: 34px 24px; }
  .newsletter { flex-direction: column; }
  .newsletter input, .newsletter button { width: 100%; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
/* =========================
   RUTA FREELANCER
========================= */

.route-section {
  padding: 0 0 100px;
  background:
    radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.route-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  transform: translateY(-28px);
}

.route-stat {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.route-stat-light {
  background: #ffffff;
}

.route-stat-soft {
  background: #eef5ff;
}

.route-stat-blue {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #0759ef);
}

.route-stat-dark {
  color: #ffffff;
  background: var(--navy);
}

.route-stat-icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}

.route-stat-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}


.route-stat-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.route-stat strong {
  color: var(--navy);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -1.8px;
  font-weight: 900;
}

.route-stat-blue strong,
.route-stat-dark strong {
  color: #ffffff;
}

.route-stat span {
  margin-top: 8px;
  color: var(--navy);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.route-stat-blue span,
.route-stat-dark span {
  color: #ffffff;
}

.route-heading {
  max-width: 800px;
  margin: 25px auto 60px;
  text-align: center;
}

.route-heading h2 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.route-heading p {
  margin-top: 14px;
  color: var(--steel);
  font-size: 17px;
}

.route-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.route-step {
  position: relative;
  text-align: center;
}

.route-number {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.route-line {
  position: absolute;
  top: 18px;
  left: 50%;
  width: calc(100% + 26px);
  height: 2px;
  background: var(--blue);
  z-index: 1;
}

.route-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.route-icon {
  width: 116px;
  height: 116px;
  margin: 32px auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe0ff;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.route-icon img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
}

.route-step h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.route-step p {
  max-width: 220px;
  margin: 9px auto 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.route-action {
  margin-top: 42px;
  text-align: center;
}

.route-action .btn {
  min-width: 265px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

@media (max-width: 980px) {
  .route-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 24px;
  }

  .route-line {
    display: none;
  }
}

@media (max-width: 680px) {
  .route-section {
    padding-bottom: 75px;
  }

  .route-stats {
    grid-template-columns: 1fr;
    transform: translateY(-18px);
  }

  .route-stat {
    min-height: 100px;
  }

  .route-heading {
    margin-top: 15px;
    margin-bottom: 45px;
  }

  .route-heading h2 {
    font-size: 38px;
    letter-spacing: -1.7px;
  }

  .route-steps {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .route-step p {
    max-width: 290px;
  }

  .route-action .btn {
    width: 100%;
    min-width: 0;
  }


  .route-stat-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .route-stat-icon img {
    width: 42px;
    height: 42px;
  }
}

/* Animación escalonada de izquierda a derecha para las métricas */
.route-stats .route-stat.reveal {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.route-stats .route-stat.reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

.route-stats .route-stat:nth-child(1) {
  transition-delay: 0s;
}

.route-stats .route-stat:nth-child(2) {
  transition-delay: 0.14s;
}

.route-stats .route-stat:nth-child(3) {
  transition-delay: 0.28s;
}

.route-stats .route-stat:nth-child(4) {
  transition-delay: 0.42s;
}

@media (max-width: 680px) {
  .route-stat-icon {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .route-stat-icon img {
    width: 54px;
    height: 54px;
  }

  .route-stat {
    min-height: 116px;
  }
}

@media (max-width: 680px) {
  .route-icon {
    width: 92px;
    height: 92px;
    margin: 24px auto 14px;
  }

  .route-icon img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 680px) {
  .hero-image .hero-text {
    max-width: 100%;
    font-size: 15px;
  }
}

/* =========================================================
   AJUSTES FINALES DEL HERO
========================================================= */

.hero-image {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 60px 0 70px;
  overflow: hidden;
  background-image: url("assets/hero-freelancer.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-image-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-image .eyebrow {
  margin-bottom: 16px;
}

.hero-image .hero-text {
  max-width: 470px;
  margin-top: 27px;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.65;
}

/* =========================================================
   GUÍA FREELANCER / OFERTA
========================================================= */

.guide-offer-section {
  padding: 52px 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(29, 78, 216, 0.16), transparent 26%),
    radial-gradient(circle at 90% 90%, rgba(79, 70, 229, 0.12), transparent 20%),
    linear-gradient(135deg, #031128 0%, #071a38 45%, #041021 100%);
  color: #ffffff;
  overflow: hidden;
}

.guide-offer-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.guide-mockup {
  position: relative;
}

.guide-mockup-box {
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.guide-mockup-box img {
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  display: block;
}

.guide-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-copy h2 {
  max-width: 520px;
  color: #ffffff;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.02;
  letter-spacing: -2px;
  font-weight: 900;
}

.guide-text {
  max-width: 520px;
  margin-top: 12px;
  color: rgba(255,255,255,0.80);
  font-size: 15px;
  line-height: 1.5;
}

.guide-features {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.guide-feature {
  position: relative;
  padding-left: 26px;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  line-height: 1.35;
}

.guide-feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1D4ED8;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.guide-footer-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.guide-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(5,20,44,.92), rgba(5,20,44,.78));
  border: 1px solid rgba(83,140,255,.24);
  box-shadow: 0 25px 60px rgba(0,0,0,.28);
}

.guide-pricing-top {
  margin-bottom: 16px;
}

.guide-regular-price small,
.guide-launch-price small {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.guide-regular-price span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.42);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  text-decoration: line-through;
}

.guide-launch-price {
  margin-top: 8px;
}

.guide-launch-price strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: clamp(46px, 4vw, 64px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow: 0 0 18px rgba(29,78,216,.35);
}

.guide-form {
  display: grid;
  gap: 10px;
}

.guide-form input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
  color: #ffffff;
  outline: none;
}

.guide-form input::placeholder {
  color: rgba(255,255,255,.45);
}

.guide-buy-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 900;
}

.guide-security {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.guide-delivery-note {
  margin-top: 10px;
  text-align: center;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.4;
}

/* =========================================================
   PROGRAMAS Y ACOMPAÑAMIENTO
========================================================= */

.programs-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 5%, rgba(79,70,229,.24), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(29,78,216,.15), transparent 24%),
    linear-gradient(135deg, #07162c 0%, #08182d 45%, #061326 100%);
}

.programs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .18;
}

.programs-section .container {
  position: relative;
  z-index: 2;
}

.programs-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.programs-kicker {
  display: inline-block;
  color: #1670ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.programs-heading h2 {
  margin-top: 10px;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -2.3px;
  font-weight: 900;
}

.programs-heading p {
  max-width: 680px;
  margin: 12px auto 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.55;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 570px;
  padding: 25px 24px;
  border-radius: 22px;
  background: rgba(7,25,46,.72);
  border: 1px solid rgba(120,153,200,.24);
  box-shadow: 0 20px 50px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.02);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29,112,255,.55);
  box-shadow: 0 25px 65px rgba(0,0,0,.25);
}

.program-card-featured {
  border: 1px solid #006eff;
  background:
    radial-gradient(circle at 80% 5%, rgba(29,78,216,.16), transparent 30%),
    rgba(7,25,46,.87);
  box-shadow: 0 25px 65px rgba(0,72,255,.14), inset 0 1px 0 rgba(255,255,255,.03);
}

.featured-badge {
  position: absolute;
  top: 17px;
  right: 48px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #086bff;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.program-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.program-label {
  color: #1670ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.program-number {
  color: #7888a2;
  font-size: 16px;
  font-weight: 900;
}

.program-card h3 {
  margin-top: 20px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -.8px;
  font-weight: 800;
}

.program-description {
  margin-top: 10px;
  min-height: 64px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  line-height: 1.55;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.program-tags span {
  padding: 7px 11px;
  border-radius: 7px;
  border: 1px solid rgba(0,111,255,.75);
  color: #8fc0ff;
  background: rgba(29,78,216,.06);
  font-size: 11px;
  font-weight: 700;
}

.program-benefits {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.program-benefits li {
  position: relative;
  padding-left: 25px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.4;
}

.program-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid #0877ff;
  border-radius: 50%;
  color: #0877ff;
  font-size: 10px;
  font-weight: 900;
}

.program-coming-soon {
  margin-top: auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.56);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.program-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.program-form input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(110,146,193,.36);
  border-radius: 7px;
  outline: none;
  color: #ffffff;
  background: rgba(255,255,255,.02);
}

.program-form input::placeholder {
  color: rgba(255,255,255,.40);
}

.program-price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  text-align: center;
}

.program-old-price {
  display: block;
  color: rgba(255,255,255,.48);
  font-size: 13px;
  text-decoration: line-through;
}

.program-price strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 900;
}

.program-offer-label {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 13px;
  border: 1px solid #0877ff;
  border-radius: 999px;
  color: #0877ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.program-button {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 11px 15px;
  border: 1px solid #086bff;
  border-radius: 8px;
  background: #075ce0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.program-button-outline {
  background: transparent;
  color: #0877ff;
}

.program-note {
  margin-top: 10px;
  text-align: center;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  line-height: 1.45;
}

/* =========================================================
   NUESTRA HISTORIA / SLIDER
========================================================= */

.team-story-section {
  padding: 85px 0;
  background: #f7f9fc;
}

.team-story-slider {
  position: relative;
  padding: 22px 70px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15,23,42,.07);
  overflow: hidden;
}

.story-profile {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 55px;
  align-items: center;
  min-height: 440px;
  transition: opacity .35s ease, transform .35s ease;
}

.story-photo-wrap {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(29,78,216,.05), rgba(79,70,229,.03));
}

.story-photo-bg {
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 75%;
  height: 70%;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(145deg, var(--blue), var(--indigo));
  transform: rotate(-8deg);
  opacity: .95;
}

.story-photo {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.story-content {
  max-width: 610px;
}

.story-kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-content h2 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -2.2px;
  font-weight: 900;
}

.story-content p {
  margin-top: 17px;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.65;
}

.story-highlight {
  color: var(--navy) !important;
  font-weight: 800;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.story-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29,78,216,.25);
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue);
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-50%);
}

.story-arrow-prev {
  left: 16px;
}

.story-arrow-next {
  right: 16px;
}

.story-profile.story-leaving {
  opacity: 0;
  transform: translateX(-35px);
}

.story-profile.story-entering {
  opacity: 0;
  transform: translateX(35px);
}

.story-profile.story-leaving-right {
  opacity: 0;
  transform: translateX(35px);
}

.story-profile.story-entering-left {
  opacity: 0;
  transform: translateX(-35px);
}

.story-dots {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.story-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(29,78,216,.22);
  cursor: pointer;
  transition: width .25s ease, background .25s ease, transform .25s ease;
}

.story-dot.active {
  width: 25px;
  border-radius: 999px;
  background: var(--blue);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {
  .guide-offer-wrap,
  .story-profile {
    grid-template-columns: 1fr;
  }

  .guide-mockup-box img {
    max-width: 340px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto;
  }

  .program-card {
    min-height: auto;
  }

  .program-description {
    min-height: 0;
  }

  .team-story-slider {
    padding: 55px 65px;
  }

  .story-photo-wrap {
    min-height: 360px;
  }

  .story-photo {
    height: 360px;
  }
}

@media (max-width: 680px) {
  .hero-image .hero-text {
    max-width: 100%;
    font-size: 15px;
  }

  .guide-offer-section {
    padding: 52px 0;
  }

  .guide-mockup-box img {
    max-width: 300px;
  }

  .guide-copy h2 {
    font-size: 36px;
    letter-spacing: -1.6px;
  }

  .guide-features {
    grid-template-columns: 1fr;
  }

  .programs-section {
    padding: 65px 0;
  }

  .programs-heading h2 {
    font-size: 38px;
    letter-spacing: -1.7px;
  }

  .team-story-section {
    padding: 65px 0;
  }

  .team-story-slider {
    padding: 25px 20px 70px;
  }

  .story-photo-wrap {
    min-height: 310px;
  }

  .story-photo {
    height: 310px;
  }

  .story-content h2 {
    font-size: 37px;
    letter-spacing: -1.7px;
  }

  .story-content p {
    font-size: 15px;
  }

  .story-arrow {
    top: auto;
    bottom: 15px;
    transform: none;
  }

  .story-arrow-prev {
    left: calc(50% - 54px);
  }

  .story-arrow-next {
    right: calc(50% - 54px);
  }
}

/* =========================================================
   MENSAJES DEL FORMULARIO DE LA GUÍA
========================================================= */

.guide-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.guide-form-message {
  min-height: 34px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

.guide-form-message.success {
  color: #86efac;
}

.guide-form-message.error {
  color: #fca5a5;
}

.guide-buy-btn:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

/* =========================
   MENSAJE LISTA DE ESPERA
========================= */

.program-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.program-form-message {
  min-height: 34px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

.program-form-message.success {
  color: #86efac;
}

.program-form-message.error {
  color: #fca5a5;
}

.program-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}
/* CAMPUS EN NAVEGACIÓN */

.nav-campus {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(29, 78, 216, .22);
  border-radius: 999px;
  color: #1D4ED8 !important;
  font-size: 12px;
  font-weight: 800;
  transition: .2s ease;
}

.nav-campus::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1D4ED8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, .10);
}

.nav-campus:hover {
  border-color: #1D4ED8;
  background: rgba(29, 78, 216, .06);
  transform: translateY(-1px);
}
/* =========================================================
   CAMPUS FREELANCER DESDE CERO
========================================================= */

.campus-access-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(29, 78, 216, .28),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(79, 70, 229, .24),
      transparent 26%
    ),
    linear-gradient(
      145deg,
      #07152D 0%,
      #0F172A 58%,
      #07152D 100%
    );
}

.campus-access-grid {
  position: absolute;
  inset: 0;

  opacity: .09;

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.12) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(255,255,255,.12) 1px,
      transparent 1px
    );

  background-size: 56px 56px;
}

.campus-access-glow {
  position: absolute;

  right: -120px;
  bottom: -160px;

  width: 420px;
  height: 420px;

  border: 55px solid rgba(255,255,255,.04);
  border-radius: 50%;
}

.campus-access-wrap {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr .9fr;

  gap: 90px;

  align-items: center;
}


/* COPY */

.campus-access-kicker {
  display: inline-block;

  color: #6EA0FF;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .14em;

  text-transform: uppercase;
}

.campus-access-copy h2 {
  max-width: 650px;

  margin-top: 16px;

  color: #FFFFFF;

  font-size: clamp(48px, 5.5vw, 70px);

  line-height: .98;

  letter-spacing: -3.5px;

  font-weight: 900;
}

.campus-access-copy h2 span {
  display: block;

  color: #4D8CFF;
}

.campus-access-copy p {
  max-width: 560px;

  margin-top: 24px;

  color: rgba(255,255,255,.67);

  font-size: 16px;

  line-height: 1.7;
}


/* CTA */

.campus-access-actions {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 18px;

  margin-top: 30px;
}

.campus-access-btn {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  min-height: 52px;

  padding: 0 23px;

  border-radius: 11px;

  background:
    linear-gradient(
      135deg,
      #1D4ED8,
      #4F46E5
    );

  color: #FFFFFF !important;

  font-size: 12px;

  font-weight: 900;

  letter-spacing: .07em;

  text-decoration: none;

  box-shadow:
    0 15px 35px rgba(29,78,216,.28);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.campus-access-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 20px 42px rgba(29,78,216,.36);
}

.campus-access-btn span {
  font-size: 18px;
}

.campus-access-note {
  color: rgba(255,255,255,.42);

  font-size: 11px;
}


/* MOCKUP */

.campus-access-preview {
  position: relative;
}

.campus-preview-window {
  position: relative;

  padding: 25px;

  border:
    1px solid rgba(255,255,255,.12);

  border-radius: 24px;

  background:
    rgba(255,255,255,.075);

  backdrop-filter: blur(16px);

  box-shadow:
    0 30px 80px rgba(0,0,0,.30);
}

.campus-preview-window::before {
  content: "";

  position: absolute;

  inset: -12px;

  z-index: -1;

  border-radius: 30px;

  background:
    rgba(29,78,216,.07);

  filter: blur(10px);
}


/* TOP */

.campus-preview-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 15px;
}

.campus-preview-user {
  display: flex;

  align-items: center;

  gap: 12px;
}

.campus-preview-avatar {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      #1D4ED8,
      #4F46E5
    );

  color: #FFFFFF;

  font-size: 18px;

  font-weight: 900;
}

.campus-preview-user span {
  display: block;

  color: rgba(255,255,255,.52);

  font-size: 10px;
}

.campus-preview-user strong {
  display: block;

  margin-top: 3px;

  color: #FFFFFF;

  font-size: 14px;
}

.campus-preview-status {
  padding: 6px 10px;

  border:
    1px solid rgba(74,222,128,.25);

  border-radius: 999px;

  background:
    rgba(74,222,128,.08);

  color: #86EFAC;

  font-size: 9px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: .06em;
}


/* STATS */

.campus-preview-stats {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 10px;

  margin-top: 24px;
}

.campus-preview-stats > div {
  padding: 15px;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 14px;

  background:
    rgba(255,255,255,.045);
}

.campus-preview-stats span {
  display: block;

  color: rgba(255,255,255,.46);

  font-size: 9px;
}

.campus-preview-stats strong {
  display: block;

  margin-top: 6px;

  color: #FFFFFF;

  font-size: 22px;

  font-weight: 800;
}


/* COURSE */

.campus-preview-course {
  margin-top: 12px;

  padding: 20px;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 16px;

  background:
    rgba(3, 12, 27, .36);
}

.campus-preview-label {
  color: #6EA0FF;

  font-size: 8px;

  font-weight: 900;

  letter-spacing: .12em;
}

.campus-preview-course h3 {
  margin-top: 9px;

  color: #FFFFFF;

  font-size: 20px;

  letter-spacing: -.6px;
}

.campus-preview-course p {
  margin-top: 5px;

  color: rgba(255,255,255,.46);

  font-size: 10px;
}

.campus-preview-progress {
  margin-top: 20px;
}

.campus-preview-progress-head {
  display: flex;

  align-items: center;

  justify-content: space-between;
}

.campus-preview-progress-head span {
  color: rgba(255,255,255,.48);

  font-size: 9px;
}

.campus-preview-progress-head strong {
  color: #6EA0FF;

  font-size: 9px;
}

.campus-preview-progress-bar {
  height: 6px;

  margin-top: 9px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(255,255,255,.08);
}

.campus-preview-progress-bar span {
  display: block;

  width: 72%;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      #1D4ED8,
      #4F46E5
    );
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .campus-access-wrap {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .campus-access-copy {
    max-width: 650px;
  }

  .campus-access-preview {
    max-width: 600px;
  }

}


@media (max-width: 600px) {

  .campus-access-section {
    padding: 70px 0;
  }

  .campus-access-copy h2 {
    font-size: 45px;

    letter-spacing: -2.5px;
  }

  .campus-access-copy p {
    font-size: 14px;
  }

  .campus-access-actions {
    align-items: flex-start;

    flex-direction: column;
  }

  .campus-access-btn {
    width: 100%;

    justify-content: center;
  }

  .campus-preview-window {
    padding: 18px;
  }

  .campus-preview-stats {
    gap: 7px;
  }

  .campus-preview-stats > div {
    padding: 12px 9px;
  }

}
/* LOGO FREELANCER SIN TANTO CUENTO */

.reto21-product-logo {
  width: 100%;
  max-width: 650px;
  margin: 0 0 30px 0;
}

.reto21-product-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .reto21-product-logo {
    max-width: 520px;
    margin-bottom: 24px;
  }
}
/* ===== ETAPAS DEL RETO ===== */

.reto21-stages-grid {
    display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.reto21-stage-card {
  background: rgba(20, 34, 63, 0.72);
  border: 1px solid rgba(120, 150, 255, 0.18);
  border-radius: 24px;
  padding: 26px 26px 30px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}

.reto21-stage-number {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(180deg, #1d4ed8 0%, #243c9a 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.22);
  margin-bottom: 22px;
}

.reto21-stage-days {
  display: block;
  margin-bottom: 10px;
  color: #35a0ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reto21-stage-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.reto21-stage-card p {
  margin: 0;
  color: #d5def0;
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 980px) {
  .reto21-stages-grid {
    grid-template-columns: 1fr;
  }

  .reto21-stage-card {
    padding: 24px;
  }

  .reto21-stage-number {
    width: 58px;
    height: 58px;
    font-size: 38px;
  }
}