@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #191a2b;
  --muted: #51576b;
  --pink: #ac1454;
  --pink-light: #ff9fc6;
  --line: #dedfe8;
  --surface: #f6f6fa;
  --heading: Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: white; font: 16px/1.6 'DM Sans', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #c92c74; outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 800; }
h1, h2 { line-height: 1.07; letter-spacing: -.055em; }
h3 { line-height: 1.25; letter-spacing: -.025em; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
nav, .actions { display: flex; align-items: center; gap: 26px; }
nav a, .textlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
nav a:hover, .textlink:hover, .details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.54rem/.9 var(--heading); letter-spacing: -.07em; }
.brand img { object-fit: cover; border-radius: 10px; }
.brand small { display: block; margin-top: 6px; font: 800 .53rem/1 var(--heading); letter-spacing: .14em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 47px; width: fit-content; padding: 10px 19px; border: 1px solid transparent; border-radius: 8px; background: var(--pink); color: white; font: 700 .94rem/1.35 'DM Sans', Arial, sans-serif; cursor: pointer; }
.button:hover { background: #871141; }
.button span, .textlink span { font-family: Arial, sans-serif; }
.hero-band { overflow: clip; background: radial-gradient(ellipse at 80% 45%, #39264a, #191a2b 65%); color: white; }
.hero { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); align-items: center; gap: clamp(24px,5vw,72px); padding-block: clamp(48px,7vw,95px); }
.tag, .eyebrow { margin-bottom: 16px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; color: var(--pink); }
.tag { color: var(--pink-light); }
.tag span { display: inline-block; vertical-align: .1em; width: 7px; height: 7px; margin-right: 7px; background: currentColor; border-radius: 50%; }
.hero h1 { font-size: clamp(3rem,5.3vw,5.3rem); }
h1 em { color: var(--pink-light); font-style: normal; }
.intro { max-width: 48ch; margin-block: 19px 25px; color: var(--muted); font-size: 1.08rem; }
.hero .intro { color: #dedeea; }
.actions { flex-wrap: wrap; gap: 10px 19px; }
.hero .button { background: var(--pink-light); color: #251124; }
.hero .button:hover { background: #ffc3dc; }
.hero .whatsapp-button { background: #147349; color: white; }
.hero .whatsapp-button:hover { background: #0f5b3b; }
.hero-art { position: relative; min-width: 0; aspect-ratio: 1.22; perspective: 900px; margin: 14px 15px; }
.hero-scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(4deg) rotateY(-8deg); }
.scene-background, .scene-portrait { position: absolute; inset: 0; border-radius: 18px; }
.scene-background { border: 1px solid #ffdded85; background: #9e1556 url("hero-background.webp") center / 100% 100% no-repeat; box-shadow: 0 24px 65px #080611b0; }
.scene-portrait { overflow: hidden; transform: translateZ(12px); }
.character { position: absolute; inset: 4% 0 0; display: flex; justify-content: center; align-items: flex-end; perspective: 650px; }
.character-portrait { position: relative; height: 100%; aspect-ratio: 1291 / 1218; transform-origin: 50% 66%; transform: rotateX(var(--character-pitch, 0deg)) rotateY(var(--character-yaw, 0deg)); }
.character-portrait img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 8px 13px #25103766); }
.character-eye { position: absolute; display: none; overflow: hidden; background: radial-gradient(ellipse at 50% 70%, #fff6eb 22%, #e8d3c1 73%, #a87964); }
/* Eye openings and iris centers are measured against the character artwork. */
.character-eye.left { left: 40.98%; top: 25.29%; width: 5.73%; height: 2.96%; --iris-x: 46%; --iris-y: 53%; clip-path: polygon(0 62%, 8% 36%, 19% 17%, 35% 4%, 49% 2%, 63% 9%, 76% 27%, 90% 53%, 100% 79%, 81% 88%, 57% 96%, 33% 100%, 17% 90%, 7% 76%); }
.character-eye.right { left: 53.21%; top: 25.45%; width: 5.42%; height: 2.96%; --iris-x: 51%; --iris-y: 53%; clip-path: polygon(0 77%, 11% 48%, 26% 23%, 40% 8%, 55% 2%, 71% 8%, 84% 23%, 94% 43%, 100% 69%, 91% 83%, 76% 94%, 54% 100%, 31% 96%, 14% 87%); }
.character-portrait[data-tracking] .character-eye { display: block; }
.character-eye i { position: absolute; left: var(--iris-x, 50%); top: var(--iris-y, 50%); height: var(--iris-size, 85%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff 0 10%, transparent 13%), radial-gradient(circle, #120b0a 31%, #492c21 38%, #6b4535 54%, #251712 68%, #160e0d 72%); transform: translate(calc(-50% + var(--gaze-x, 0px)), calc(-50% + var(--gaze-y, 0px))); }
.scene-orbit { position: absolute; inset: 5% -13%; border: 1px solid #ffb2da60; border-radius: 50%; transform: translateZ(-42px) rotate(-24deg); }
.scene-ai { position: absolute; top: 8%; right: -7px; width: clamp(42px, 7vw, 72px); aspect-ratio: 1; display: grid; place-items: center; color: #23172c; background: linear-gradient(135deg, #ffe1ef, #f18ebd 72%, #cd628e); box-shadow: 4px 6px 0 #833d72, 12px 14px 30px #150b24aa; border-radius: 20%; font: 800 clamp(1.2rem,3vw,2.1rem) var(--heading); transform: translateZ(62px) rotate(9deg); }
.photo-label { position: absolute; inset: auto 10px 12px 3px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 12px 14px; border: 1px solid #8b648c; border-radius: 10px; background: #231a31; color: white; box-shadow: 0 8px 18px #11091e85; transform: translateZ(40px); }
.photo-label small { color: #eee0e9; font-size: .83rem; }
.programme-facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.programme-facts dl { display: grid; grid-template-columns: .85fr .85fr 1.4fr; }
.programme-facts dl > div { display: flex; flex-direction: column; padding: 23px 20px; border-left: 1px solid var(--line); }
.programme-facts dl > div:first-child { border-left: 0; padding-left: 0; }
.programme-facts dt { color: var(--muted); font-size: .88rem; }
.programme-facts dd { order: -1; font-weight: 800; font-size: clamp(1.1rem,2vw,1.45rem); line-height: 1.3; }
.section { padding-block: clamp(48px,7vw,95px); scroll-margin-top: 16px; }
h2 { font-size: clamp(2rem,4vw,3.45rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-heading > p { max-width: 31ch; color: var(--muted); }
.phase-picker, .phase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.phase-picker { margin-bottom: 10px; }
.phase-picker button { display: grid; gap: 3px; text-align: start; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 13px 17px; font: inherit; cursor: pointer; line-height: 1.4; }
.phase-picker button span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.phase-picker button[aria-selected=true] { background: #fff1f7; border-color: var(--pink); }
.phase-picker button[aria-selected=true] span { color: var(--pink); }
.phase-picker button:hover { border-color: var(--pink); }
.phase-grid.interactive { grid-template-columns: minmax(0,1fr); }
.phase-grid article, form, .benefits > div { border: 1px solid var(--line); border-radius: 12px; padding: clamp(17px,3vw,30px); background: var(--surface); }
.phase-grid h3 { font-size: clamp(1.2rem,2.3vw,1.55rem); }
.phase-time { display: block; margin-bottom: 7px; color: var(--pink); font-size: .88rem; font-weight: 800; }
.phase-grid p { margin-block: 9px 15px; color: var(--muted); max-width: 67ch; }
.phase-grid article a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pink); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.topics, .about-grid, .contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,7vw,92px); align-items: start; }
.topics { margin-top: clamp(42px,7vw,84px); padding-top: clamp(32px,5vw,58px); border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.curriculum { display: grid; gap: 8px; }
.curriculum details { background: white; border: 1px solid var(--line); border-radius: 9px; }
.curriculum details[open] { border-color: #d5a6bb; background: #fff7fa; }
.curriculum summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 8px; padding: 13px 15px; font-weight: 800; }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum summary::after { content: '+'; color: var(--pink); font: 700 1.22rem Arial,sans-serif; }
.curriculum details[open] summary::after { content: '−'; }
.curriculum p { padding: 0 15px 14px; color: var(--muted); }
.about { background: var(--surface); }
.about-grid { align-items: center; }
.benefits > div { display: flex; gap: 14px; align-items: start; background: white; }
.benefits b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; background: #fff1f7; color: var(--pink); }
.benefits h3 { font-size: 1.17rem; }
.benefits p { margin-top: 6px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.photo-grid figure { min-width: 0; margin: 0; }
.photo-grid a { display: block; border-radius: 12px; }
.photo-grid img { display: block; width: 100%; height: auto; border-radius: inherit; background: var(--surface); }
.photo-grid figcaption { margin-top: 8px; font-weight: 700; }
.details { list-style: none; margin: 0; padding: 0; }
.details li { display: grid; grid-template-columns: 55px minmax(0,1fr); gap: 7px; padding: 8px 0; }
.details li span { font-weight: 800; }
.details a { overflow-wrap: anywhere; }
form { min-width: 0; display: grid; gap: 8px; }
form h3 { margin-bottom: 7px; font-size: 1.42rem; }
label { font-weight: 700; }
label span, .form-note { color: var(--muted); font-size: .88rem; font-weight: 500; }
input, textarea { width: 100%; min-height: 46px; border: 1px solid #bfc0ce; border-radius: 7px; padding: 10px; margin-bottom: 4px; background: white; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
footer { background: var(--ink); color: white; padding-block: 28px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 19px; }
footer p, footer a:not(.brand) { font-size: .88rem; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 4; top: 10px; left: 10px; background: white; padding: 10px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .topics, .about-grid, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .hero { padding-block: 36px; }
  .hero h1 { font-size: clamp(2.65rem,8vw,4.6rem); }
  .hero-art { aspect-ratio: 1.65; margin-inline: 12px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; }
  .topics { gap: 5px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}
@media (max-width: 520px) {
  .nav { min-height: 0; padding-top: 8px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .nav nav { grid-column: 1/-1; grid-row: 2; border-top: 1px solid var(--line); justify-content: space-around; gap: 8px; font-size: .9rem; }
  .brand { font-size: 1.32rem; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .button { gap: 8px; padding-inline: 12px; }
  .actions { align-items: stretch; flex-direction: column; gap: 3px; }
  .actions .button, form .button { width: 100%; }
  .actions .textlink { justify-content: center; }
  .hero-art { aspect-ratio: 1.35; }
  .programme-facts dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .programme-facts dl > div { padding: 14px 12px; }
  .programme-facts dl > div:last-child { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .phase-grid { grid-template-columns: minmax(0,1fr); }
  .phase-picker button { padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (prefers-reduced-motion: no-preference) {
  @keyframes enter {
    from { opacity: .65; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-copy > * {
    animation: enter 520ms cubic-bezier(.22,.61,.36,1) both;
  }
  .hero h1 { animation-delay: 65ms; }
  .hero .intro { animation-delay: 130ms; }
  .hero .actions { animation-delay: 195ms; }

  .section-enter { animation: enter 420ms ease-out both; }
  .phase-grid.interactive article:not([hidden]),
  .curriculum details[open] > p { animation: enter 250ms ease-out both; }

  .button, .phase-picker button, .curriculum details {
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  }
  @media (hover: hover) {
    .button:hover { transform: translateY(-2px); }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-scene { transform: rotateX(var(--pitch, 4deg)) rotateY(var(--yaw, -8deg)); transition: transform 240ms ease-out; }
  .character-portrait, .character-eye i { transition: transform 140ms ease-out; }
}

.workflow-steps { margin: 0; padding: 0 18px 16px 38px; color: var(--muted); }
.workflow-steps li + li { margin-top: 6px; }
.workflow-steps strong { color: var(--ink); }
