
/* Ensure native hidden state is never overridden by component display rules. */
[hidden] { display: none !important; }
:root {
  --blue: #075ff7;
  --blue-dark: #063b9f;
  --blue-deep: #082b68;
  --blue-soft: #eaf2ff;
  --cyan: #13aeea;
  --red: #ff405e;
  --yellow: #ffb400;
  --green: #20b968;
  --ink: #0a275d;
  --text: #536785;
  --muted: #7587a3;
  --line: #dbe6f7;
  --surface: #ffffff;
  --surface-soft: #f6f9ff;
  --page: #fbfdff;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 10px 28px rgba(8, 43, 104, .08);
  --shadow-md: 0 22px 55px rgba(8, 43, 104, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-space { padding: 104px 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-150%); background: white; color: var(--ink); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 253, 255, .94);
  border-bottom: 1px solid rgba(219, 230, 247, .8);
  backdrop-filter: blur(14px);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 58px; height: 58px; object-fit: contain; display: block; padding: 2px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.13rem; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: .88rem; font-weight: 800; }
.main-nav > a:not(.button) { color: #30476e; transition: color .16s ease; }
.main-nav > a:not(.button):hover { color: var(--blue); }
.instagram-link { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: white; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 99px; background: var(--ink); transition: transform .16s ease, opacity .16s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--blue);
  color: white;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(7, 95, 247, .18);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(7, 95, 247, .22); background: #0455e6; }
.button:active { transform: translateY(0); }
.button-small { min-height: 44px; padding: 11px 17px; border-radius: 13px; }
.button-secondary { background: white; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.button-secondary:hover { background: #f7faff; box-shadow: var(--shadow-sm); }
.button-light { background: white; color: var(--blue-dark); box-shadow: none; }
.button-light:hover { background: #eff5ff; box-shadow: none; }
.button-muted { background: #edf3fc; color: var(--ink); box-shadow: none; }
.button-muted:hover { background: #e2ebf8; box-shadow: none; }
.button-whatsapp { background: var(--green); box-shadow: 0 10px 24px rgba(32, 185, 104, .18); }
.button-whatsapp:hover { background: #169f58; box-shadow: 0 14px 30px rgba(32, 185, 104, .23); }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 180, 0, .13), transparent 22%),
    radial-gradient(circle at 10% 85%, rgba(7, 95, 247, .11), transparent 25%),
    linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
}
.hero-grid-pattern { position: absolute; inset: 0; pointer-events: none; opacity: .42; background-image: linear-gradient(rgba(7,95,247,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(7,95,247,.035) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 74px; min-height: 590px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 3px; border-radius: 99px; background: var(--yellow); }
.eyebrow.light { color: #c8dcff; }
.hero-copy h1 { max-width: 650px; margin: 22px 0 22px; font-size: clamp(3.15rem, 6.2vw, 5.6rem); line-height: .96; letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 0; color: var(--text); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 34px 0 38px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; padding-top: 2px; }
.hero-facts > div { min-width: 120px; padding: 0 25px; border-left: 1px solid var(--line); }
.hero-facts > div:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { margin-bottom: 4px; color: var(--ink); font-size: .95rem; }
.hero-facts span { color: var(--muted); font-size: .77rem; }

.hero-showcase { position: relative; min-height: 550px; display: grid; place-items: center; }
.showcase-panel { position: relative; width: min(100%, 510px); min-height: 480px; overflow: hidden; padding: 24px; border: 1px solid #d9e7fb; border-radius: 38px; background: linear-gradient(145deg, #eef5ff, #fff 65%); box-shadow: var(--shadow-md); }
.showcase-panel::before { content: ""; position: absolute; right: -85px; top: -90px; width: 270px; height: 270px; border-radius: 50%; background: rgba(7, 95, 247, .09); }
.showcase-panel::after { content: ""; position: absolute; left: -65px; bottom: -95px; width: 250px; height: 250px; border-radius: 50%; background: rgba(255, 180, 0, .12); }
.showcase-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--blue-dark); font-size: .76rem; font-weight: 850; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: #e9fbf1; color: #15834b; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #23ba69; }
.brand-stage { position: relative; z-index: 1; display: grid; place-items: center; height: 335px; margin-top: 17px; }
.brand-stage-ring { position: absolute; width: 326px; height: 326px; border: 1px dashed rgba(7, 95, 247, .22); border-radius: 50%; }
.brand-stage-ring::before, .brand-stage-ring::after { content: ""; position: absolute; border-radius: 50%; }
.brand-stage-ring::before { inset: 26px; border: 1px solid rgba(255, 180, 0, .18); }
.brand-stage-ring::after { inset: 58px; border: 1px solid rgba(7, 95, 247, .12); }
.brand-stage img { position: relative; width: 278px; height: 278px; object-fit: contain; display: block; padding: 10px; }
.showcase-tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.showcase-tags span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.87); color: #385176; font-size: .72rem; font-weight: 850; }
.info-float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; width: min(310px, 72%); padding: 14px; border: 1px solid rgba(219,230,247,.95); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); }
.info-float strong, .info-float small { display: block; }
.info-float strong { font-size: .84rem; }
.info-float small { margin-top: 4px; color: var(--muted); font-size: .71rem; line-height: 1.35; }
.float-one { left: -20px; top: 86px; }
.float-two { right: -24px; top: 205px; }
.float-three { left: 20px; bottom: 16px; }
.icon-tile, .service-icon { display: grid; place-items: center; flex: 0 0 auto; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; }
.icon-tile svg, .service-icon svg, .method-icon svg, .privacy-note svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue { background: #e7f0ff; color: var(--blue); }
.icon-red { background: #ffedf1; color: var(--red); }
.icon-yellow { background: #fff6dc; color: #e59b00; }
.icon-cyan { background: #e8f9ff; color: var(--cyan); }
.icon-green { background: #e9fbf1; color: #18a65b; }

.signal-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.signal-items { min-height: 74px; display: flex; justify-content: center; align-items: center; gap: 26px; color: #516784; font-size: .85rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.signal-items i { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2 { margin: 16px 0 16px; font-size: clamp(2.35rem, 4.5vw, 4rem); line-height: 1.04; letter-spacing: -.05em; }
.section-heading p { margin: 0; color: var(--text); font-size: 1.05rem; line-height: 1.72; }
.section-heading-center { margin-inline: auto; text-align: center; }
.section-heading-center .eyebrow { justify-content: center; }

.programs { background: white; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.program-card { position: relative; min-height: 410px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 9px 28px rgba(8,43,104,.045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.program-card:hover { transform: translateY(-5px); border-color: #bfd3f5; box-shadow: var(--shadow-md); }
.program-featured { border-color: rgba(7,95,247,.35); background: linear-gradient(180deg, #f6f9ff, white 45%); }
.popular-badge { position: absolute; top: 17px; right: 17px; padding: 7px 10px; border-radius: 999px; background: var(--red); color: white; font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.card-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.service-icon { width: 55px; height: 55px; border-radius: 16px; }
.card-number { color: #c2d0e5; font-size: .78rem; font-weight: 950; letter-spacing: .09em; }
.program-card h3 { margin: 0 0 13px; font-size: 1.28rem; letter-spacing: -.025em; }
.program-card p { min-height: 94px; margin: 0 0 22px; color: var(--text); font-size: .91rem; line-height: 1.65; }
.program-card ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.program-card li { position: relative; padding-left: 22px; color: #385176; font-size: .84rem; font-weight: 720; }
.program-card li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--blue); font-weight: 950; }

.benefits { position: relative; overflow: hidden; color: white; background: linear-gradient(135deg, #082b68 0%, #075ff7 100%); }
.benefits::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 15% 15%, rgba(255,255,255,.13), transparent 20%), radial-gradient(circle at 85% 85%, rgba(255,180,0,.16), transparent 22%); }
.benefits-layout { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; gap: 80px; align-items: center; }
.benefit-copy h2 { margin: 18px 0 18px; font-size: clamp(2.4rem, 4.7vw, 4.3rem); line-height: 1.02; letter-spacing: -.055em; }
.benefit-copy p { margin: 0 0 30px; color: #dce8ff; line-height: 1.75; font-size: 1.03rem; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-list article { display: grid; grid-template-columns: auto 1fr; gap: 16px; min-height: 164px; padding: 23px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.08); }
.benefit-number { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; background: rgba(255,255,255,.13); color: var(--yellow); font-size: .72rem; font-weight: 950; }
.benefit-list h3 { margin: 7px 0 8px; font-size: 1rem; }
.benefit-list p { margin: 0; color: #cfe0ff; font-size: .84rem; line-height: 1.55; }

.method { background: var(--surface-soft); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.method-card > span { position: absolute; right: 23px; top: 22px; color: #c4d1e5; font-size: .8rem; font-weight: 950; }
.method-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 17px; background: var(--blue-soft); color: var(--blue); }
.method-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.method-card p { margin: 0; color: var(--text); font-size: .9rem; line-height: 1.65; }

.statement { padding-top: 80px; padding-bottom: 80px; background: white; }
.statement-card { position: relative; overflow: hidden; min-height: 360px; display: grid; place-items: center; padding: 55px; border: 1px solid var(--line); border-radius: 36px; text-align: center; background: linear-gradient(140deg, #f6f9ff, white 65%); box-shadow: var(--shadow-sm); }
.statement-kicker { position: absolute; top: 27px; left: 31px; color: var(--blue); font-size: .76rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.statement-card p { position: relative; z-index: 2; max-width: 900px; margin: 0; font-size: clamp(2.5rem, 5vw, 5.25rem); line-height: 1; letter-spacing: -.06em; }
.statement-card strong { color: var(--blue); }
.statement-dots span { position: absolute; border-radius: 50%; }
.statement-dots span:nth-child(1) { width: 105px; height: 105px; left: 8%; bottom: -35px; background: var(--blue); }
.statement-dots span:nth-child(2) { width: 65px; height: 65px; right: 9%; top: 45px; background: var(--red); }
.statement-dots span:nth-child(3) { width: 38px; height: 38px; right: 24%; bottom: 36px; background: var(--yellow); }

.enrollment { background: linear-gradient(180deg, #f4f8ff 0%, #fff 100%); }
.enrollment-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: start; }
.form-intro { position: sticky; top: 112px; }
.form-intro h2 { margin: 18px 0 18px; font-size: clamp(2.65rem, 4.8vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.form-intro > p { margin: 0; color: var(--text); font-size: 1.01rem; line-height: 1.72; }
.contact-card { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: var(--shadow-sm); }
.contact-card img { flex: 0 0 auto; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { margin-bottom: 5px; color: var(--muted); font-size: .73rem; }
.contact-card strong { font-size: 1rem; }
.privacy-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 21px; padding: 15px 0 0 15px; border-left: 3px solid var(--yellow); }
.privacy-note svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--blue); }
.privacy-note p { margin: 0; color: #637692; font-size: .78rem; line-height: 1.55; }
.form-shell { overflow: hidden; border: 1px solid #d8e5f7; border-radius: 28px; background: white; box-shadow: var(--shadow-md); }
.form-head { min-height: 96px; display: grid; grid-template-columns: 1fr 250px; gap: 25px; align-items: center; padding: 23px 30px; border-bottom: 1px solid var(--line); background: #f7faff; }
.form-head span, .form-head strong { display: block; }
.form-head span { margin-bottom: 6px; color: var(--blue); font-size: .73rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.form-head strong { font-size: .95rem; }
.progress-track { height: 8px; overflow: hidden; border-radius: 99px; background: #dce7f7; }
.progress-track span { width: 33.333%; height: 100%; margin: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue), #5ba4ff); transition: width .22s ease; }
#registration-form { padding: 34px 30px 28px; }
.form-step { animation: stepShow .18s ease both; }
@keyframes stepShow { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.form-section-title { margin-bottom: 29px; }
.form-section-title h3 { margin: 0 0 8px; font-size: 1.35rem; }
.form-section-title p { margin: 0; color: var(--text); font-size: .91rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > span, .choice-group legend { color: #314566; font-size: .78rem; font-weight: 850; }
.field b, .choice-group b { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; outline: none; border: 1px solid #cfdcf0; border-radius: 14px; background: #fbfdff; color: var(--ink); transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.field input, .field select { height: 54px; padding: 0 15px; }
.field textarea { min-height: 104px; resize: vertical; padding: 14px 15px; }
.field input::placeholder, .field textarea::placeholder { color: #8a98ad; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(7,95,247,.08); }
.field-error { display: none; color: #c92c45; font-size: .72rem; font-weight: 700; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background: #fff8fa; }
.field.invalid .field-error, .choice-group.invalid .field-error { display: block; }
.choice-group { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.choice-group legend { margin-bottom: 12px; }
.day-options { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day-options label { cursor: pointer; }
.day-options input { position: absolute; opacity: 0; pointer-events: none; }
.day-options span { min-height: 45px; display: grid; place-items: center; border: 1px solid #cfdbef; border-radius: 12px; background: #fbfdff; color: #526684; font-size: .73rem; font-weight: 850; transition: background .14s ease, color .14s ease, border-color .14s ease; }
.day-options input:checked + span { border-color: var(--blue); background: var(--blue); color: white; }
.choice-group.invalid .day-options span { border-color: #ef97a6; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 4px; padding: 14px; border: 1px solid transparent; border-radius: 13px; background: #f7faff; color: #556987; font-size: .78rem; line-height: 1.5; }
.consent input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--blue); }
.consent.consent-invalid { border-color: var(--red); background: #fff7f9; }
.form-actions { display: flex; justify-content: flex-end; gap: 11px; margin-top: 29px; padding-top: 22px; border-top: 1px solid var(--line); }

.instagram-section { padding-top: 70px; padding-bottom: 70px; background: white; }
.instagram-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 42px; border-radius: 29px; color: white; background: linear-gradient(135deg, #082b68, #075ff7 68%, #5d75ff); box-shadow: var(--shadow-md); }
.instagram-card > div > span { color: #c7dbff; font-size: .75rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.instagram-card h2 { margin: 9px 0 10px; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.instagram-card p { max-width: 650px; margin: 0; color: #d7e5ff; line-height: 1.6; }

.site-footer { padding: 70px 0 25px; background: #061a43; color: #b6c7e6; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.1fr auto; align-items: center; gap: 42px; }
.footer-brand strong { color: white; }
.footer-brand small { color: #8fa5cd; }
.footer-grid > p { margin: 0; line-height: 1.6; font-size: .87rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; color: white; font-size: .83rem; font-weight: 800; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }
.footer-bottom a { color: white; }

.whatsapp-float { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; background: linear-gradient(180deg, #2ad76f 0%, #14b85a 100%); color: white; box-shadow: 0 14px 34px rgba(9,66,42,.25); font-size: .9rem; font-weight: 900; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.whatsapp-float:hover { transform: translateY(-3px); background: linear-gradient(180deg, #34dc76 0%, #11aa53 100%); box-shadow: 0 18px 38px rgba(9,66,42,.28); }
.whatsapp-float img { width: 42px; height: 42px; display:block; flex: 0 0 42px; }
.toast { position: fixed; z-index: 110; left: 50%; bottom: 25px; transform: translate(-50%, 90px); opacity: 0; max-width: min(90vw, 520px); padding: 13px 18px; border-radius: 13px; background: var(--ink); color: white; box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 800; text-align: center; transition: transform .2s ease, opacity .2s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media (max-width: 1100px) {
  .main-nav { gap: 17px; }
  .main-nav > a:not(.button) { display: none; }
  .instagram-link { display: inline-flex !important; }
  .hero-layout { grid-template-columns: .95fr 1.05fr; gap: 40px; }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .program-card { min-height: auto; }
  .program-card p { min-height: auto; }
  .enrollment-layout { grid-template-columns: .8fr 1.2fr; gap: 38px; }
  .form-head { grid-template-columns: 1fr 190px; }
}

@media (max-width: 860px) {
  .section-space { padding: 82px 0; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 79px 18px auto 18px; display: none; align-items: stretch; flex-direction: column; gap: 2px; padding: 17px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.button) { display: flex; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 11px; }
  .main-nav > a:not(.button):hover { background: var(--surface-soft); }
  .main-nav .button { margin-top: 7px; }
  .hero { padding-top: 62px; }
  .hero-layout { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-facts { justify-content: center; }
  .hero-copy h1, .hero-lead { margin-inline: auto; }
  .hero-showcase { min-height: 520px; }
  .showcase-panel { min-height: 455px; }
  .float-one { left: 2px; }
  .float-two { right: 2px; }
  .benefits-layout, .enrollment-layout { grid-template-columns: 1fr; }
  .benefit-copy { text-align: center; }
  .benefit-copy .eyebrow { justify-content: center; }
  .form-intro { position: static; text-align: center; }
  .form-intro .eyebrow { justify-content: center; }
  .privacy-note { text-align: left; }
  .method-grid { grid-template-columns: 1fr; }
  .instagram-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .section-space { padding: 68px 0; }
  .brand-copy small { display: none; }
  .brand img { width: 50px; height: 50px; object-fit: contain; display: block; padding: 2px; }
  .nav-shell { min-height: 70px; }
  .main-nav { inset-top: 71px; }
  .hero-copy h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 17px 0; }
  .hero-facts > div { width: 50%; padding: 0 15px; }
  .hero-facts > div:nth-child(3) { width: 100%; border-left: 0; padding-left: 0; }
  .hero-showcase { min-height: 475px; }
  .showcase-panel { min-height: 420px; padding: 18px; border-radius: 28px; }
  .brand-stage { height: 300px; }
  .brand-stage img { width: 238px; height: 238px; object-fit: contain; display: block; padding: 8px; }
  .brand-stage-ring { width: 280px; height: 280px; }
  .info-float { width: 75%; padding: 11px; border-radius: 15px; }
  .info-float strong { font-size: .75rem; }
  .info-float small { font-size: .65rem; }
  .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
  .float-one { top: 76px; left: -4px; }
  .float-two { top: 192px; right: -5px; }
  .float-three { left: 4px; bottom: 10px; }
  .signal-items { justify-content: flex-start; overflow-x: auto; padding: 0 8px; scrollbar-width: none; }
  .signal-items::-webkit-scrollbar { display: none; }
  .program-grid, .benefit-list { grid-template-columns: 1fr; }
  .section-heading h2, .benefit-copy h2, .form-intro h2 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
  .statement-card { min-height: 330px; padding: 38px 22px; border-radius: 26px; }
  .statement-card p { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .statement-dots span:nth-child(2) { width: 48px; height: 48px; }
  .form-head { grid-template-columns: 1fr; gap: 16px; padding: 21px; }
  #registration-form { padding: 26px 20px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .day-options { grid-template-columns: repeat(4, 1fr); }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .instagram-card { padding: 30px 25px; }
  .whatsapp-float { right: 13px; bottom: 13px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 6px; }
  .whatsapp-float img { width: 44px; height: 44px; }
}

/* Creative Tutorly refinements */
.hero-sticker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 180, 0, .34);
  border-radius: 999px 999px 999px 8px;
  background: #fff8dc;
  color: #7a5300;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(155, 105, 0, .08);
  transform: rotate(-1.25deg);
}
.hero-sticker span { color: var(--yellow); font-size: 1rem; }
.hero-copy h1 em { position: relative; display: inline-block; z-index: 0; }
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -2%;
  right: -2%;
  bottom: .05em;
  height: .19em;
  border-radius: 99px;
  background: rgba(255, 180, 0, .42);
  transform: rotate(-1.2deg);
}
.route-strip {
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 30px rgba(8,43,104,.06);
  backdrop-filter: blur(8px);
}
.route-strip span { display: inline-flex; align-items: center; gap: 7px; color: #3d567b; font-size: .72rem; font-weight: 850; white-space: nowrap; }
.route-strip b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); font-size: .65rem; }
.route-strip i { flex: 1; min-width: 15px; height: 1px; background: linear-gradient(90deg, var(--line), var(--yellow), var(--line)); }
.float-one { overflow: visible; }
.float-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 5px 9px;
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  font-size: .57rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(255,64,94,.24);
}

.program-card { display: flex; flex-direction: column; }
.program-card ul { margin-bottom: 24px; }
.program-cta {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 11px 13px;
  border: 1px solid #d7e4f7;
  border-radius: 13px;
  background: #f8fbff;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 900;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.program-cta:hover { transform: translateX(2px); border-color: #9fc0f4; background: #eef5ff; }
.program-cta span { font-size: 1rem; }
.program-personal { grid-column: span 2; overflow: hidden; border-width: 2px; background: linear-gradient(135deg, #f2f7ff 0%, #fff 55%, #fff8db 115%); }
.program-personal::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(7,95,247,.08);
}
.program-personal::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: 55px;
  bottom: -54px;
  border-radius: 50%;
  background: rgba(255,180,0,.16);
}
.program-personal > * { position: relative; z-index: 1; }
.program-scribble {
  position: absolute;
  right: 32px;
  top: 90px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 3px solid var(--yellow);
  border-radius: 52% 48% 57% 43% / 46% 56% 44% 54%;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 950;
  transform: rotate(7deg);
  opacity: .92;
}
.program-personal p, .program-personal ul, .program-personal .program-cta { max-width: 62%; }
.program-personal .program-cta { background: var(--blue); color: #fff; border-color: var(--blue); }
.program-personal .program-cta:hover { background: #0455e6; }
.program-group { overflow: hidden; background: linear-gradient(180deg, #f6fff9, #fff 54%); }
.program-group::after { content: ""; position: absolute; width: 125px; height: 125px; right: -55px; top: -50px; border-radius: 50%; background: rgba(32,185,104,.11); }
.group-people { position: absolute; z-index: 2; top: 24px; right: 25px; display: flex; align-items: center; }
.group-people span, .group-people b { width: 28px; height: 28px; display: grid; place-items: center; margin-left: -8px; border: 3px solid white; border-radius: 50%; box-shadow: 0 5px 12px rgba(8,43,104,.1); }
.group-people span:nth-child(1) { background: #ffcc4d; }
.group-people span:nth-child(2) { background: #ff6b81; }
.group-people span:nth-child(3) { background: #52a6ff; }
.group-people b { background: #e8f9ef; color: #139b54; font-size: .7rem; }
.program-group .card-number { opacity: 0; }

.format-picker { position: relative; overflow: hidden; padding: 38px 0 104px; background: white; }
.format-picker::before { content: ""; position: absolute; inset: 20% 0 auto; height: 45%; background: linear-gradient(90deg, transparent, rgba(7,95,247,.045), transparent); transform: skewY(-3deg); }
.format-heading { position: relative; max-width: 720px; margin: 0 auto 34px; text-align: center; }
.format-heading > span { color: var(--red); font-size: .75rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.format-heading h2 { margin: 10px 0 0; font-size: clamp(2.15rem, 4vw, 3.45rem); letter-spacing: -.055em; }
.format-grid { position: relative; display: grid; grid-template-columns: 1fr 48px 1fr; align-items: stretch; }
.format-card { position: relative; min-height: 360px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 17px; padding: 34px; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-sm); }
.format-personal { background: linear-gradient(140deg, #edf5ff, #fff 62%); border-color: rgba(7,95,247,.3); }
.format-group { background: linear-gradient(140deg, #f2fff7, #fff 62%); border-color: rgba(32,185,104,.27); }
.format-label { width: fit-content; padding: 7px 10px; border-radius: 999px; background: #fff; color: var(--blue); font-size: .67rem; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 7px 16px rgba(8,43,104,.08); }
.format-group .format-label { color: #168c4d; }
.format-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 20px; background: var(--blue); color: #fff; font-size: 1.2rem; font-weight: 950; transform: rotate(-3deg); box-shadow: 0 14px 28px rgba(7,95,247,.2); }
.format-icon-group { display: flex; justify-content: center; align-items: center; gap: 0; background: var(--green); transform: rotate(3deg); box-shadow: 0 14px 28px rgba(32,185,104,.2); }
.format-icon-group i { width: 19px; height: 19px; margin-left: -3px; border: 2px solid white; border-radius: 50%; background: #ffcc4d; }
.format-icon-group i:nth-child(2) { background: #ff6b81; }
.format-icon-group i:nth-child(3) { background: #52a6ff; }
.format-card h3 { margin: 0 0 9px; font-size: 1.55rem; letter-spacing: -.035em; }
.format-card p { margin: 0; color: var(--text); line-height: 1.65; }
.format-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.format-chips span { padding: 7px 9px; border: 1px solid rgba(7,95,247,.14); border-radius: 999px; background: rgba(255,255,255,.82); color: #496181; font-size: .69rem; font-weight: 820; }
.format-button { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 900; transition: transform .16s ease, background .16s ease; }
.format-button:hover { transform: translateY(-2px); background: var(--blue); }
.format-group .format-button:hover { background: #159c55; }
.format-or { align-self: center; justify-self: center; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--muted); font-weight: 950; box-shadow: var(--shadow-sm); }

@media (max-width: 980px) {
  .program-personal { grid-column: span 2; }
  .format-grid { grid-template-columns: 1fr; gap: 16px; }
  .format-or { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}

@media (max-width: 720px) {
  .hero-sticker { margin-inline: auto; }
  .route-strip { overflow-x: auto; justify-content: flex-start; padding: 11px; scrollbar-width: none; }
  .route-strip::-webkit-scrollbar { display: none; }
  .route-strip i { min-width: 28px; flex: 0 0 28px; }
  .program-personal { grid-column: span 1; }
  .program-scribble { width: 66px; height: 66px; top: 82px; right: 20px; font-size: 1rem; }
  .program-personal p, .program-personal ul, .program-personal .program-cta { max-width: 100%; }
  .program-personal p { padding-right: 62px; }
  .format-picker { padding-bottom: 74px; }
  .format-card { min-height: auto; padding: 27px 23px; border-radius: 24px; }
  .format-or { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sticker { transform: none; }
  .program-scribble, .format-icon, .format-icon-group { transform: none; }
}

/* Corrección: la insignia "Más popular" debe flotar, no ocupar todo el ancho. */
.program-personal .popular-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  left: auto;
  width: auto;
  max-width: max-content;
  z-index: 4;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .program-personal .popular-badge {
    top: 16px;
    right: 16px;
    padding: 6px 9px;
    font-size: .58rem;
  }

  .program-personal .card-topline {
    padding-top: 28px;
  }
}
