:root {
  color-scheme: light;
  --navy: #14285A;
  --ink: #14285A;
  --ink-soft: #4B5878;
  --cream: #FFF8EE;
  --sand: #FDEBD3;
  --orange: #F26A1B;
  --orange-dark: #D9570D;
  --yellow: #FFC93C;
  --teal: #2FA796;
  --pink: #F25C9A;
  --line: #EBDDC8;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(20, 40, 90, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Poppins", system-ui, sans-serif; font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); text-align: center; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.script { font-family: "Caveat", "Segoe Script", cursive; font-weight: 700; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange); color: #fff; text-decoration: none; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--orange);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 18px rgba(242, 106, 27, .28);
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn svg { flex: none; }
.btn-sm { padding: 10px 20px; font-size: .95rem; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-block { display: flex; margin-top: auto; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn-light:hover { background: var(--sand); border-color: var(--sand); }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(235, 221, 200, .7); }
.topbar-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.1; }
.brand-text { display: flex; flex-direction: column; font-size: 1rem; }
.brand-text small { font-size: 1.05rem; font-weight: 400; }
.brand-text b { font-size: 1.1rem; font-weight: 700; }
.nav { display: flex; gap: 30px; margin-left: auto; margin-right: 12px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--navy); }
.nav a:hover { color: var(--orange-dark); }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #FFF8EE 0%, #FFF1DE 100%); overflow: hidden; }
.blob { position: absolute; z-index: 0; pointer-events: none; }
.blob-1 { left: -70px; top: 60px; width: 150px; }
.blob-2 { left: -50px; top: 360px; width: 120px; }
.blob-3 { left: 22%; top: -40px; width: 160px; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 48px 0 70px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); color: var(--navy); font-weight: 600; padding: 8px 20px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.05; margin-bottom: .4em; }
h1 .accent { color: var(--orange); }
h1 .line2 { display: block; font-size: .86em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--navy); max-width: 34em; }
.lead b { font-weight: 700; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.chips li { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .78); border: 1px solid #fff; border-radius: 18px; padding: 12px; font-size: .82rem; line-height: 1.25; font-weight: 600; box-shadow: 0 4px 14px rgba(20, 40, 90, .06); }
.chips svg { flex: none; width: 34px; height: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.hero-cta .btn { padding: 16px 30px; font-size: 1.05rem; }

.hero-art { position: relative; min-height: 520px; }
.hero-photo { position: absolute; right: -150px; top: -20px; width: 112%; height: calc(100% + 90px); object-fit: cover; object-position: 40% 20%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28%); mask-image: linear-gradient(to right, transparent 0, #000 28%); }
.polaroid { position: absolute; z-index: 2; background: #fff; padding: 8px; border-radius: 6px; box-shadow: 0 10px 24px rgba(20, 40, 90, .22); }
.polaroid svg { display: block; width: 100%; height: auto; border-radius: 3px; }
.pol-1 { left: -8px; top: 14px; width: 140px; transform: rotate(-6deg); }
.pol-2 { left: 70px; top: 80px; width: 150px; transform: rotate(5deg); z-index: 3; }
.pol-3 { left: 104px; top: 236px; width: 130px; transform: rotate(-4deg); z-index: 4; }
.spark { position: absolute; z-index: 2; }
.tagline { position: absolute; z-index: 3; left: -10px; bottom: 36px; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; transform: rotate(-6deg); color: var(--navy); text-align: center; }
.tagline svg { display: block; margin: 4px auto 0; }

/* Franja inferior del hero */
.cats-band { position: relative; z-index: 2; background: var(--navy); color: #fff; margin-top: -2px; border-top-left-radius: 50% 46px; border-top-right-radius: 38% 26px; }
.cats-in { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 8px; align-items: center; padding: 44px 0 30px; }
.cat { display: flex; align-items: center; gap: 14px; padding: 0 16px; border-left: 1px solid rgba(255, 255, 255, .22); }
.cat:first-child { border-left: 0; }
.cat-ico { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .25); }
.cat-ico svg { width: 32px; height: 32px; }
.cat b { display: block; font-size: 1.05rem; line-height: 1.2; }
.cat span { display: block; font-size: .88rem; color: #C9D3EA; line-height: 1.25; }
.stroke { position: relative; justify-self: end; background: var(--yellow); color: var(--navy); padding: 16px 30px 14px; transform: rotate(-5deg); font-size: 1.55rem; line-height: 1.05; text-align: center; clip-path: polygon(2% 12%, 20% 0, 48% 6%, 78% 0, 99% 10%, 96% 50%, 100% 88%, 70% 100%, 40% 94%, 12% 100%, 0 82%, 3% 46%); margin-right: 8px; }

/* Propuesta */
.band { background: #fff; padding: 64px 0 24px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trio article { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.trio h3 { margin-bottom: .3em; }
.trio p { color: var(--ink-soft); margin: 0; }
.ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; margin-bottom: 12px; }
.trio article:nth-child(2) .ico { background: var(--teal); }
.trio article:nth-child(3) .ico { background: var(--pink); }

/* Secciones */
.section { padding: 76px 0; }
.section.alt { background: var(--sand); }
.sub { text-align: center; color: var(--ink-soft); max-width: 60ch; margin: 0 auto 36px; }
.sub.left { text-align: left; margin: 0; }

/* Cursos */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-top { height: 150px; display: grid; place-items: center; }
.card-top svg { width: 150px; height: auto; }
.c-soap { background: linear-gradient(135deg, #2FA796, #6CCBBB); }
.c-draw { background: linear-gradient(135deg, #14285A, #3B5CAB); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.tag { align-self: flex-start; background: var(--sand); color: var(--orange-dark); font-weight: 600; font-size: .78rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.card ul { margin: 0 0 22px; padding-left: 18px; color: var(--ink-soft); }
.card li { margin-bottom: 4px; }
.card p { color: var(--ink-soft); }

.soon-title { text-align: center; margin: 56px 0 18px; }
.soon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.soon div { background: var(--white); border: 1px dashed #D8C7AE; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.soon span { font-size: .9rem; color: var(--ink-soft); }
.notify { text-align: center; margin: 24px 0 0; font-weight: 600; }
.notify a { color: var(--orange-dark); }

/* Pasos */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 6px; }
.steps span { color: var(--ink-soft); }

/* Para quién */
.two { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.two h2 { text-align: left; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 52px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--orange-dark); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); margin: 0 0 14px; }

/* CTA final */
.cta { background: var(--navy); color: #fff; padding: 72px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #D5DBE8; margin-bottom: 26px; }

/* Pie y botón flotante */
.footer { background: #0E1D45; color: #AEB7CC; padding: 22px 0; font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25A55A; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .28); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }

/* Pantallas medianas */
@media (max-width: 1100px) {
  .chips { grid-template-columns: repeat(2, 1fr); }
  .cats-in { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .cat:nth-child(3) { border-left: 0; }
  .stroke { grid-column: 1 / -1; justify-self: center; margin: 10px 0 0; }
}

/* Móvil */
@media (max-width: 860px) {
  .nav { display: none; }
  .topbar-in { justify-content: space-between; }
  .hero-in { grid-template-columns: 1fr; padding: 28px 0 54px; }
  .hero-art { order: -1; min-height: 340px; margin: 0 -16px; }
  .hero-photo { right: 0; left: 0; top: 0; width: 100%; height: 100%; object-position: 50% 15%; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
  .pol-1 { left: 8px; top: 8px; width: 96px; }
  .pol-2 { left: 70px; top: 52px; width: 108px; }
  .pol-3 { left: 20px; top: 168px; width: 96px; }
  .tagline { left: auto; right: 14px; bottom: 28px; font-size: 1.7rem; }
  .blob-3 { display: none; }
  .trio, .cards, .steps, .two { grid-template-columns: 1fr; }
  .soon { grid-template-columns: 1fr 1fr; }
  .section { padding: 54px 0; }
  .two { gap: 22px; }
}
@media (max-width: 520px) {
  .soon { grid-template-columns: 1fr; }
  .brand-text small { font-size: .92rem; }
  .brand-text b { font-size: 1rem; }
  .topbar-in .btn span { display: none; }
  .chips { grid-template-columns: 1fr 1fr; gap: 8px; }
  .chips li { padding: 10px; font-size: .76rem; }
  .chips svg { width: 28px; height: 28px; }
  .hero-cta .btn { width: 100%; }
  .cats-in { grid-template-columns: 1fr; }
  .cat { border-left: 0; }
  .stroke { font-size: 1.3rem; padding: 14px 22px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wa-float { transition: none; }
}
