/* =============================================================================
   Atlas Academy — the marketing site stylesheet. ONE file, 36 pages.
   -----------------------------------------------------------------------------
   Ported from `.forge/workflows/work/design/home-hibrido.html`, the homepage the
   founder approved 2026-07-27, which shipped as `web/landing/index.html`. Every
   value in the "ported" blocks below is that file's value, unchanged: the fold
   gradient, the wave bands, the character-hosted cards, the dusk price band, the
   navy footer. PRD-57 A3 — port it, do not redraw it.

   COLOURS COME FROM design/tokens.css, never from a hex typed here. The three
   greys that are not tokens (#4A5068 body, #8A8FA3 muted, #E8E2D2 hairline) are
   the approved homepage's own values and are carried over rather than
   re-invented — changing them would be redrawing the register, which this work
   item puts out of scope.

   THE NEW BLOCKS — band / col / table / grid / tile / faq / contactform — did
   not exist, because the site was one page. They are built from the same
   vocabulary: cream ground, white cards at 30px radius, 24px navy headings,
   17px/1.65 body at #4A5068.
   ========================================================================== */

* { box-sizing: border-box; }
html { background: #0A081F; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #FFF9F0;
  color: var(--navy);
  font-family: var(--ui);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.wrap.col { max-width: 780px; }
a { text-decoration: none; color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 99;
}
.skip:focus { left: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--navy);
  font-weight: 700; font-size: 15.5px; border: none; border-radius: 999px;
  padding: 16px 28px; cursor: pointer; box-shadow: 0 5px 0 var(--amber-deep);
  font-family: var(--ui);
}
.btn:active { transform: translateY(5px); box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: default; }

/* --- nav (ported) ---------------------------------------------------------- */
nav { position: sticky; top: 0; z-index: 40; background: rgba(255,249,240,.92); backdrop-filter: blur(10px); }
.nav-in { max-width: 1160px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo svg { width: 34px; height: 34px; }
.logo b { font-size: 20px; font-weight: 700; }
.sitenav { display: flex; align-items: center; gap: 24px; }
.sitenav a { color: #4A5068; font-size: 14.5px; font-weight: 600; }
.sitenav a:hover, .sitenav a[aria-current="page"] { color: var(--navy); }
.langs { display: flex; gap: 2px; background: #F0E9DC; border-radius: 999px; padding: 3px; }
.langs .on, .langs a {
  color: #6B7186; font-family: var(--ui); font-weight: 700; font-size: 12px;
  padding: 5px 11px; border-radius: 999px; line-height: 1.2;
}
.langs .on { background: var(--navy); color: #fff; }
.langs a:hover { color: var(--navy); }
nav .btn { padding: 11px 20px; font-size: 14px; }

/* --- the fold (ported) ----------------------------------------------------- */
.fold { position: relative; overflow: hidden; background: linear-gradient(180deg,#FFF9F0 0%,#FFEFD8 74%,#E8F7F5 100%); }
.fold-in { display: flex; align-items: flex-end; gap: 20px; padding-top: 56px; position: relative; }
.fold-in.solo { align-items: flex-start; }
.fold-in.solo .fold-copy { max-width: 820px; }
.fold-copy { flex: 1.15; padding: 36px 0 84px; }
h1 { margin: 0; font-size: 60px; font-weight: 700; line-height: 1.04; letter-spacing: -.022em; }
h1 .t { color: var(--teal-deep); }
h1 .p { color: var(--pink-deep); }
.fold .sub { margin: 20px 0 0; color: #4A5068; font-size: 19px; line-height: 1.55; max-width: 560px; }
.fold-in.solo .sub { max-width: 700px; }
.price-line { margin-top: 13px; color: #8A8FA3; font-size: 13.5px; font-style: italic; }
.fold-star { flex: 1; min-width: 320px; display: flex; justify-content: center; align-items: flex-end; }
.fold-star img { width: min(450px,100%); height: auto; display: block; filter: drop-shadow(0 32px 48px rgba(13,11,46,.25)); }
.conf { position: absolute; border-radius: 50%; pointer-events: none; }

/* --- numbered story cards (ported) ----------------------------------------- */
.wave { display: block; width: 100%; margin-bottom: -2px; }
.sec { position: relative; padding: 44px 0 92px; }
.sec.teal { background: #E8F7F5; }
.sec.cream { background: #FFF9F0; }
.host { display: flex; align-items: center; gap: 40px; }
.host .who { flex: .85; min-width: 270px; display: flex; justify-content: center; }
.host .who img { width: min(340px,100%); height: auto; display: block; filter: drop-shadow(0 26px 40px rgba(13,11,46,.22)); }
.host .card { flex: 1.15; background: #fff; border-radius: 30px; padding: 46px 48px; position: relative; box-shadow: 0 24px 60px rgba(13,11,46,.10); }
.num {
  position: absolute; top: -30px; left: 40px; width: 60px; height: 60px; border-radius: 21px;
  display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700;
  box-shadow: 0 12px 26px rgba(13,11,46,.25); transform: rotate(-4deg);
}
h2 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.016em; line-height: 1.13; }
.body { color: #4A5068; font-size: 17px; line-height: 1.65; margin-top: 14px; }
.body p { margin: 0 0 16px; }
.body p:last-child { margin-bottom: 0; }
.body b { color: var(--navy); }
.body a { color: var(--teal-deep); font-weight: 600; border-bottom: 1.5px solid rgba(0,105,92,.28); }
.body a:hover { border-bottom-color: var(--teal-deep); }
.body ul { margin: 0 0 16px; padding-left: 22px; }
.body li { margin-bottom: 8px; }
.body.lead { font-size: 19px; }
.cardrow { display: flex; gap: 30px; align-items: center; }
.shot-s { border-radius: 24px; background: #07061E; padding: 7px; width: 200px; flex: 0 0 auto; box-shadow: 0 22px 45px rgba(13,11,46,.28); transform: rotate(3deg); }
.shot-s img { width: 100%; height: auto; border-radius: 18px; display: block; }
.graph { width: 100%; max-width: 400px; margin: 20px auto 0; display: block; }
.chips { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.chipw { display: flex; align-items: center; gap: 11px; background: #FFF9F0; border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 15px; }
.chipw i { font-style: normal; width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.inline-link { margin: 18px 0 0; }
.inline-link a { color: var(--teal-deep); font-weight: 700; font-size: 15.5px; }
.inline-link a:hover { text-decoration: underline; }

/* --- interior page bands (new) --------------------------------------------- */
.band { background: #FFF9F0; padding: 8px 0 28px; }
.band:nth-of-type(even) { background: #FFF9F0; }
.band h2 { font-size: 28px; margin: 34px 0 0; }
.band h3 { font-size: 19px; margin: 26px 0 0; letter-spacing: -.008em; }
.band .body { margin-top: 12px; }
main > .band:last-of-type { padding-bottom: 56px; }

.keyfact {
  margin: 30px 0 6px; background: #fff; border-left: 5px solid var(--teal);
  border-radius: 0 18px 18px 0; padding: 24px 28px; font-size: 19px; line-height: 1.55;
  color: var(--navy); font-weight: 600; box-shadow: 0 14px 34px rgba(13,11,46,.07);
}

.tablewrap { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(13,11,46,.07); }
thead th { background: #F3ECDF; text-align: left; font-size: 13.5px; letter-spacing: .02em; text-transform: uppercase; color: #6B6252; padding: 14px 18px; font-weight: 700; }
tbody th { text-align: left; font-weight: 700; color: var(--navy); }
tbody th, tbody td { padding: 15px 18px; border-top: 1px solid #EFE7D8; color: #4A5068; vertical-align: top; }
tbody b { color: var(--navy); }

.grid { display: grid; gap: 22px; margin-top: 26px; }
.g2 { grid-template-columns: repeat(2,1fr); }
.g3 { grid-template-columns: repeat(3,1fr); }
.g4 { grid-template-columns: repeat(2,1fr); }
.tile { background: #fff; border-radius: 24px; padding: 26px 28px; box-shadow: 0 16px 40px rgba(13,11,46,.08); }
.tile h3 { margin: 0; font-size: 18.5px; font-weight: 700; }
.tile p { margin: 10px 0 0; color: #4A5068; font-size: 15.5px; line-height: 1.6; }
.tile p b { color: var(--navy); }
.tile-link { display: inline-block; margin-top: 14px; color: var(--teal-deep); font-weight: 700; font-size: 14.5px; }
.tile-link:hover { text-decoration: underline; }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 700; color: var(--teal-deep); box-shadow: 0 8px 20px rgba(13,11,46,.07); }
.jump a:hover { background: var(--navy); color: #fff; }
.faqgroup { margin-top: 40px; scroll-margin-top: 84px; }
.faqgroup h2 { margin: 0 0 4px; font-size: 25px; }
.qa { background: #fff; border-radius: 20px; padding: 22px 26px; margin-top: 14px; box-shadow: 0 12px 30px rgba(13,11,46,.06); }
.qa h3 { margin: 0; font-size: 17.5px; }
.qa .body { margin-top: 8px; font-size: 16px; }

.contactform { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 16px 40px rgba(13,11,46,.08); }
.contactform label { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: 14.5px; }
.contactform input, .contactform select, .contactform textarea {
  font-family: var(--ui); font-size: 15.5px; padding: 13px 16px; border-radius: 14px;
  border: 1.5px solid #E4DCC9; background: #FFFCF7; color: var(--navy); outline: none; font-weight: 500;
}
.contactform textarea { resize: vertical; }
.contactform input:focus, .contactform select:focus, .contactform textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,196,179,.18); }
.contactform .btn { align-self: flex-start; }
.formnote { margin: 0; color: #8A8FA3; font-size: 13.5px; }
.formnote a { color: var(--teal-deep); font-weight: 600; }

/* --- the app showcase (ported) --------------------------------------------- */
.scase { background: #FFF9F0; padding: 44px 0 96px; text-align: center; }
.scase h2 { max-width: 640px; margin: 0 auto 38px; }
.sc-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.sc-ph { width: 146px; margin: 0; }
.sc-ph .fr { display: block; border-radius: 22px; background: #07061E; padding: 6px; box-shadow: 0 18px 40px rgba(13,11,46,.22); transition: transform .2s ease; }
.sc-ph:hover .fr { transform: translateY(-5px); }
.sc-ph img { width: 100%; height: auto; border-radius: 17px; display: block; }
.sc-ph figcaption { margin-top: 10px; font-weight: 700; font-size: 13px; }

/* --- the cast (ported) ------------------------------------------------------ */
.castband { background: #FFF9F0; padding: 44px 0 92px; text-align: center; }
.castband h2 { max-width: 720px; margin: 0 auto; }
.castline { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 36px auto 0; padding: 0 16px; max-width: 1180px; }
.castline .c { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(13,11,46,.18); background: #1B2A7B; position: relative; transition: transform .15s; }
.castline .c:hover { transform: translateY(-6px) scale(1.08); }
.castline .c img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.castline .c::after {
  content: attr(data-n); position: absolute; left: 50%; bottom: calc(100% + 9px);
  transform: translateX(-50%) scale(.86); background: var(--navy); color: #fff; font-size: 11.5px;
  font-weight: 700; padding: 5px 11px; border-radius: 8px; white-space: nowrap; opacity: 0;
  pointer-events: none; transition: .18s; z-index: 3;
}
.castline .c:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

/* --- the dusk price band (ported) ------------------------------------------- */
.dusk { position: relative; background: url("/assets/home/valle-dusk.webp") center/cover no-repeat; padding: 150px 0 130px; text-align: center; color: #fff; }
.dusk::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#E8F7F5 0%,rgba(18,16,47,.0) 14%,rgba(18,16,47,.35) 55%,rgba(18,16,47,.6) 100%); }
.dusk .in { position: relative; z-index: 2; }
.dusk .n { font-size: 118px; font-weight: 700; line-height: 1; letter-spacing: -.02em; text-shadow: 0 4px 30px rgba(0,0,0,.55); }
.dusk .n small { font-size: 25px; color: #D9DCEA; font-weight: 600; }
.dusk .dusk-h { color: #fff; font-size: 30px; max-width: 640px; margin: 12px auto 0; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.dusk .body { color: #F0F2FA; max-width: 560px; margin: 18px auto 0; font-size: 17px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.dusk .body b { color: #fff; }

/* --- capture (ported) ------------------------------------------------------- */
.cap { margin-top: 28px; display: flex; justify-content: center; }
.cap form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cap input {
  font-family: var(--ui); font-size: 15.5px; padding: 16px 20px; border-radius: 999px;
  border: 1.5px solid #E4DCC9; min-width: 264px; background: #fff; color: var(--navy); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.cap input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,196,179,.18); }
.cap .ok { display: none; align-items: center; gap: 10px; background: var(--teal); color: var(--on-bright); font-weight: 700; font-size: 15.5px; border-radius: 999px; padding: 16px 24px; }
.cap.done form { display: none; }
.cap.done .ok { display: inline-flex; }
.cap.left { justify-content: flex-start; }
.cap.left form { justify-content: flex-start; }

.endband { background: #0A081F; color: #fff; padding: 80px 0 88px; text-align: center; }
.endband h2 { color: #fff; font-size: 36px; max-width: 720px; margin: 0 auto; }
.endband h2 b { color: var(--amber); }
.endband .cap-sub { color: #A9AECB; font-size: 14px; margin-top: 14px; }

/* --- footer (ported) -------------------------------------------------------- */
footer { background: #0A081F; color: #fff; padding: 64px 0 40px; }
.foot-in { display: flex; gap: 60px; flex-wrap: wrap; }
.fcol { min-width: 160px; }
.fcol .h { font-weight: 700; font-size: 14px; margin-bottom: 13px; }
.fcol a { display: block; color: #8E93AF; font-size: 13.5px; margin-bottom: 9px; }
.fcol a:hover { color: var(--teal); }
.fbrand { flex: 1.4; min-width: 250px; }
.fbrand p { color: #8E93AF; font-size: 13.5px; line-height: 1.6; max-width: 300px; }
.fbrand .fpromise { margin-top: 14px; color: #C8CCE2; font-weight: 600; }
.fbrand .fmail { margin-top: 14px; }
.fbrand .fmail a { color: var(--teal); }
.foot-nav { display: flex; gap: 60px; flex-wrap: wrap; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #1C1840; color: #5B6080; font-size: 12.5px; display: flex; gap: 22px; flex-wrap: wrap; }
.legal a { color: #5B6080; }
.legal a:hover { color: var(--teal); }

/* --- responsive (ported, extended) ------------------------------------------ */
@media (max-width: 920px) {
  .fold-in, .host, .cardrow { flex-direction: column; }
  h1 { font-size: 42px; }
  .dusk .n { font-size: 82px; }
  .host .who { order: -1; }
  .fold-copy { padding-bottom: 28px; }
  .host .card { padding: 40px 26px 32px; }
  /* The confetti is placed at percentages tuned for a 1440 fold. At 390 the
     copy column is the full width, so a rendered check put the pink dot on the
     "m" of "mundo" and the teal dot inside "solo precio". Decoration that lands
     on a word is not decoration. */
  .conf { display: none; }
  .g3, .g4 { grid-template-columns: 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .band h2 { font-size: 25px; }
  .dusk .dusk-h { font-size: 24px; }
  .endband h2 { font-size: 28px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-in { padding: 14px 20px; gap: 12px; }
  .sitenav { display: none; }
  .cap form { flex-direction: column; width: 100%; max-width: 340px; }
  .cap input { min-width: 0; width: 100%; }
  .cap form .btn { width: 100%; justify-content: center; }
  h1 { font-size: 34px; }
  .fold .sub { font-size: 17px; }
  .keyfact { font-size: 17px; padding: 20px 22px; }
  .dusk { padding: 110px 0 96px; }
  .dusk .n { font-size: 64px; }
  nav .btn { padding: 10px 16px; font-size: 13px; }
}
