/* Landing page — marketing site for Grupo de Habilidades Tempranas.
   Built directly off the client's own logo: the pink/teal/yellow rainbow and
   sprout, the rounded hand-lettered wordmark. Flat sticker-style shapes, not
   soft SaaS shadows — this should look like the same studio drew the logo
   and the page. */

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Baloo2-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Baloo2-ExtraBold.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Nunito-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Nunito-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Nunito-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Nunito-BoldItalic.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Nunito-ExtraBold.woff2") format("woff2");
}

:root {
  --paper: #f5fbfc;
  --paper-alt: #eaf6f6;
  --card: #ffffff;
  --ink: #17323a;
  --muted: #4f6870;
  --border: rgba(23, 50, 58, 0.16);

  --pink: #fd8fa7;
  --teal: #51bdbd;
  --teal-deep: #0d7374;
  --yellow: #fecd51;
  --green: #6fb62a;
  --brown: #a0663a;

  --portal: #0071e3;
  --portal-soft: rgba(0, 113, 227, 0.1);

  --shadow-sticker: 5px 5px 0 var(--ink);
  --shadow-sticker-sm: 3px 3px 0 var(--ink);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12262b;
    --paper-alt: #0d1e22;
    --card: #16303a;
    --ink: #f3f9f7;
    --muted: #a9c2c2;
    --border: rgba(243, 249, 247, 0.22);
    --teal-deep: #3fd0d1;
    --portal: #0a84ff;
    --portal-soft: rgba(10, 132, 255, 0.2);
    --shadow-sticker: 5px 5px 0 rgba(0, 0, 0, 0.55);
    --shadow-sticker-sm: 3px 3px 0 rgba(0, 0, 0, 0.55);
  }
}

* { box-sizing: border-box; }

.landing {
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

.landing img, .landing svg { max-width: 100%; }

.l-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.l-sr-only {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--card);
  color: var(--ink);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0;
}
.l-sr-only:focus { left: 0; }

.l-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}
@media (min-width: 640px) {
  .l-wrap { padding-left: 2rem; padding-right: 2rem; }
}

/* ---------- header ---------- */

.l-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.9rem 1.4rem;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.l-header.is-scrolled { border-bottom-color: var(--ink); }
@media (min-width: 640px) { .l-header { padding: 1rem 2rem; } }

.l-header-row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; }

.l-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}
.l-brand-mark { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.l-brand-name {
  display: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
@media (min-width: 420px) { .l-brand-name { display: inline; } }

.l-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--portal);
  background: var(--portal-soft);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.l-portal-link:hover { background: color-mix(in srgb, var(--portal-soft) 55%, var(--portal) 20%); transform: translateY(-1px); }
.l-portal-link svg { width: 14px; height: 14px; }

/* ---------- hero ---------- */

.l-hero {
  position: relative;
  padding: 2.6rem 0 2.4rem;
  isolation: isolate;
  overflow: hidden;
}
@media (min-width: 860px) { .l-hero { padding: 3.4rem 0 3rem; } }

.l-arch {
  display: block;
  width: min(100%, 760px);
  margin: 0 auto;
  height: auto;
}

.l-arch-band {
  fill: none;
  stroke-linecap: round;
}

@media (prefers-reduced-motion: no-preference) {
  .l-arch-band {
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;
    animation: l-draw 1.3s var(--ease) forwards;
  }
  .l-arch-band:nth-child(1) { animation-delay: 0.05s; }
  .l-arch-band:nth-child(2) { animation-delay: 0.22s; }
  .l-arch-band:nth-child(3) { animation-delay: 0.39s; }
  .l-sprout { opacity: 0; transform: translateY(10px) scale(0.9); transform-origin: 50% 100%; animation: l-pop 0.6s var(--ease) forwards; animation-delay: 0.75s; }
}

.l-sprout {
  display: block;
  margin: -0.6rem auto 0;
}

@keyframes l-draw { to { stroke-dashoffset: 0; } }
@keyframes l-pop { to { opacity: 1; transform: translateY(0) scale(1); } }

.l-hero-copy { text-align: center; margin-top: 0.9rem; position: relative; }

.l-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sticker-sm);
}

.l-hero h1 {
  margin: 1.2rem auto 0;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2.3rem, 8.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  max-width: 15ch;
}

.l-hero h1 .l-w-pink { color: var(--pink); }
.l-hero h1 .l-w-teal { color: var(--teal-deep); }
.l-hero h1 .l-w-yellow { color: color-mix(in srgb, var(--yellow) 78%, var(--ink) 22%); }

.l-hero-sub {
  margin: 1.1rem auto 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  max-width: 38ch;
  font-weight: 600;
}

.l-hero-age {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 800;
  font-family: "Baloo 2", sans-serif;
  color: var(--ink);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.95rem;
}

.l-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* ---------- buttons ---------- */

.l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
  line-height: 1.1;
  box-shadow: var(--shadow-sticker);
}
.l-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.l-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
@media (prefers-color-scheme: dark) {
  .l-btn:hover { box-shadow: 7px 7px 0 rgba(0,0,0,0.55); }
  .l-btn:active { box-shadow: 1px 1px 0 rgba(0,0,0,0.55); }
}

.l-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.l-btn-primary { background: var(--pink); color: var(--ink); }
.l-btn-whatsapp { background: #5fe38a; color: #0c2b17; }
.l-btn-whatsapp svg { color: #0c2b17; }

/* ---------- sections ---------- */

.l-section { padding: 3rem 0; }
@media (min-width: 860px) { .l-section { padding: 4.6rem 0; } }
.l-section-alt { background: var(--paper-alt); }

.l-eyebrow {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--teal);
  border: 2px solid var(--ink);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin: 0 0 0.8rem;
}

.l-section h2 {
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.6rem, 4.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.005em;
  margin: 0 0 0.6rem;
  max-width: 20ch;
}

.l-section-intro { color: var(--muted); font-size: 1.05rem; font-weight: 600; max-width: 46ch; margin: 0 0 2rem; }

/* differentiators */

.l-grid-3 { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .l-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.l-feature {
  background: var(--tile, var(--card));
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sticker);
  color: var(--ink);
}
.l-feature:nth-child(1) { --tile: var(--pink); }
.l-feature:nth-child(2) { --tile: var(--teal); }
.l-feature:nth-child(3) { --tile: var(--yellow); }

.l-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.l-feature-icon svg { width: 24px; height: 24px; }

.l-feature h3 { margin: 0 0 0.35rem; font-family: "Baloo 2", sans-serif; font-size: 1.12rem; font-weight: 700; }
.l-feature p { margin: 0; font-size: 0.96rem; font-weight: 600; }

/* areas */

.l-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
@media (min-width: 640px) { .l-areas { grid-template-columns: repeat(4, 1fr); } }

.l-area {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--chip, var(--card));
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.l-area:nth-child(4n+1) { --chip: color-mix(in srgb, var(--pink) 55%, var(--card)); }
.l-area:nth-child(4n+2) { --chip: color-mix(in srgb, var(--teal) 45%, var(--card)); }
.l-area:nth-child(4n+3) { --chip: color-mix(in srgb, var(--yellow) 55%, var(--card)); }
.l-area:nth-child(4n+4) { --chip: color-mix(in srgb, var(--green) 40%, var(--card)); }

.l-area svg { width: 18px; height: 18px; flex-shrink: 0; }

/* plans */

.l-plans { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .l-plans { grid-template-columns: repeat(3, 1fr); } }

.l-plan {
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sticker);
}

.l-plan-leaves { display: flex; gap: 0.3rem; margin-bottom: 0.7rem; }
.l-plan-leaves svg { width: 22px; height: 22px; }

.l-plan-days {
  font-family: "Baloo 2", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.l-plan h3 { margin: 0.3rem 0 0.5rem; font-family: "Baloo 2", sans-serif; font-size: 1.3rem; font-weight: 800; }
.l-plan p { margin: 0; color: var(--muted); font-size: 0.94rem; font-weight: 600; }

/* start + enrollment banner */

.l-banner {
  background: var(--pink);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sticker);
}
@media (min-width: 640px) { .l-banner { padding: 3rem 3rem; } }

.l-banner .l-eyebrow { background: var(--card); }
.l-banner h2 { max-width: none; }

.l-price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  margin-bottom: 1.5rem;
}
.l-price { font-family: "Baloo 2", sans-serif; font-size: 1.3rem; font-weight: 800; }
.l-price-label { font-size: 0.85rem; font-weight: 700; }

.l-banner .l-btn-primary { background: var(--card); }

.l-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.3rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 700;
}
.l-includes li { display: flex; align-items: center; gap: 0.4rem; }
.l-includes svg { width: 16px; height: 16px; }

.l-cupos {
  margin-top: 1.3rem;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

/* final contact */

.l-contact { text-align: center; padding-bottom: 4rem; }
.l-contact h2 { max-width: none; }
.l-contact .l-section-intro { margin-left: auto; margin-right: auto; }
.l-contact-cta { display: flex; justify-content: center; }

/* footer */

.l-footer {
  border-top: 2.5px solid var(--ink);
  padding: 2rem 0 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
@media (min-width: 640px) { .l-footer { flex-direction: row; justify-content: space-between; text-align: left; } }
.l-footer a { color: inherit; }
.l-footer-row {
  display: flex; flex-direction: inherit; justify-content: inherit; align-items: inherit;
  gap: inherit; text-align: inherit; width: 100%; padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  .l-arch-band, .l-sprout { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
}
