@font-face {
  font-family: Bricolage;
  src: url("/assets/bricolagegrotesque-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Bricolage;
  src: url("/assets/bricolagegrotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Instrument;
  src: url("/assets/instrumentsans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Instrument;
  src: url("/assets/instrumentsans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --ink: #100f1a;
  --navy: #0b1435;
  --cobalt: #173bea;
  --deep-blue: #1733bf;
  --paper: #f5f7fc;
  --line: #d9e0ed;
  --muted: #455069;
  --white: #fff;
  --heading: Bricolage, "Segoe UI", sans-serif;
  --body: Instrument, "Segoe UI", sans-serif;
  --radius: 24px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; color: var(--ink); font: 400 1rem/1.58 var(--body); background: var(--white); }
[hidden] { display: none !important; }
::selection { color: white; background: var(--deep-blue); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #536fff; outline-offset: 4px; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
p, figure, dl, dd, h1, h2, h3 { margin: 0; }
h1, h2, h3, .facts dt { font-family: var(--heading); font-weight: 800; line-height: .98; letter-spacing: -.042em; }
h2 { font-size: clamp(2.55rem, 5.6vw, 5.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.05; letter-spacing: -.042em; }
p + p { margin-top: .85em; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 20; background: white; padding: .65rem 1rem; }
.wrap { width: min(100% - 72px, 1320px); margin-inline: auto; }
.section { padding-block: clamp(66px, 9vw, 142px); }
.section-label { margin-bottom: 17px; color: var(--deep-blue); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(12rem, .65fr); align-items: end; gap: 32px; margin-bottom: clamp(30px, 5vw, 58px); }
.section-intro > p { max-width: 31ch; color: var(--muted); font-size: clamp(1.03rem, 1.6vw, 1.3rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 49px; padding: .65em 1.13em; border: 1px solid transparent; border-radius: 999px; font-weight: 700; line-height: 1.22; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button span { font-size: 1.1em; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--cobalt); color: white; }
.button.primary:hover { background: #0d29c8; }
.button.secondary { background: white; border-color: #cbd5e7; }
.button.secondary:hover { color: var(--deep-blue); border-color: #8b9cdc; }
.button.light { color: var(--navy); background: white; }
.button.outline-light { border-color: #7888bd; color: white; }
.button.outline-light:hover, .button.light:hover { background: #dee6ff; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.header { position: sticky; inset-block-start: 0; z-index: 10; background: rgba(250, 251, 255, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: 10px; max-width: max-content; color: inherit; text-decoration: none; line-height: 1; }
.brand img { width: 37px; height: 44px; object-fit: contain; }
.brand strong { display: block; font: 800 1.35rem/.95 var(--heading); letter-spacing: -.05em; }
.brand small { display: block; margin-top: 5px; font-size: .72rem; }
.desktop-nav { display: flex; gap: clamp(13px, 2.5vw, 38px); align-items: center; }
.desktop-nav a, .mobile-nav a { font-size: .94rem; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover, .mobile-nav a:hover, [data-page-nav] [aria-current="location"] { color: var(--cobalt); }
.header-cta { justify-self: end; min-height: 43px; }
.mobile-nav { display: none; }

.hero { padding-top: clamp(48px, 6vw, 90px); background: radial-gradient(ellipse at 76% 18%, #d9e3ff 0%, transparent 40%), linear-gradient(180deg, #f4f6fb, #f9faff); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); align-items: center; gap: clamp(24px, 5.7vw, 88px); }
.hero-course-label { display: flex; align-items: center; gap: 11px; margin-bottom: clamp(19px, 2vw, 32px); color: #101016; font: 700 .86rem/1 var(--body); letter-spacing: .24em; }
.hero-course-label::before { width: 34px; height: 2px; background: currentColor; content: ""; }
.hero-course-name { display: block; color: var(--cobalt); font-size: clamp(3.55rem, 7.45vw, 7.55rem); line-height: .87; letter-spacing: -.057em; }
.hero-subtitle { margin-top: clamp(24px, 2.5vw, 37px); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); }
.hero-description { max-width: 34ch; margin-block: 8px 24px; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.hero-media { position: relative; min-width: 0; padding: 12px 12px 12px; border: 1px solid #b4c3eb; border-radius: 33px; background: linear-gradient(135deg, #fbfcff, #bacbff); box-shadow: 0 28px 60px -42px #222e82; }
.hero-visual { position: relative; isolation: isolate; border-radius: 22px; aspect-ratio: 1.48; overflow: hidden; background: #131f3a; }
.hero-poster, .hero-loop, .hero-loop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-loop { opacity: 0; }
.hero-loop[data-ready] { opacity: 1; }
.hero-loop[data-ready] + .hero-anniversary { display: none; }
.hero-anniversary { position: absolute; left: 15px; top: 15px; width: clamp(52px, 8vw, 112px); height: auto; }
.hero-motion-toggle { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; top: 12px; right: 12px; border: 1px solid #ffffff91; border-radius: 50%; background: #0b1435b8; color: white; cursor: pointer; }
.hero-motion-toggle::before { width: 0; height: 0; margin-left: 3px; border-inline-start: 11px solid currentColor; border-block: 7px solid transparent; content: ""; }
.hero-motion-toggle[data-playing="true"]::before { width: 11px; height: 13px; margin: 0; border: solid currentColor; border-width: 0 3px; }
.series { position: absolute; right: 26px; bottom: 26px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 15px; background: #fff; text-decoration: none; box-shadow: 0 8px 28px #0b143562; }
.series:hover { color: var(--deep-blue); }
.series strong, .series small { display: block; line-height: 1.18; }
.series small { margin-top: 4px; color: var(--muted); }
.series-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 3px #dbe3ff; }
.series-arrow { margin-left: 8px; color: var(--deep-blue); font-size: 1.22rem; }
.facts-wrap { padding-top: clamp(40px, 6vw, 76px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); padding: clamp(19px, 3.1vw, 38px) 0; border-radius: var(--radius) var(--radius) 0 0; color: white; background: var(--navy); }
.facts > div { padding-inline: clamp(14px, 4vw, 60px); }
.facts > div + div { border-left: 1px solid #ffffff35; }
.facts dt { font-size: clamp(1.8rem, 5.2vw, 4.7rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts dt span { font: 600 .36em/1 var(--body); letter-spacing: 0; color: #b3c0ff; }
.facts dd { margin-top: 7px; color: #d9e0ff; font-size: clamp(.72rem, 1.14vw, 1.05rem); line-height: 1.18; }

.course-grid, .professional-grid, .enrollment-grid, .contact-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(23px, 5vw, 78px); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; min-height: 67px; padding-block: 12px; font: 750 clamp(1.15rem, 2vw, 1.53rem)/1.13 var(--heading); letter-spacing: -.035em; }
.accordion summary:hover, .accordion details[open] summary { color: var(--deep-blue); }
.accordion p { max-width: 56ch; padding: 0 40px 19px 0; color: var(--muted); }
.expand-icon { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #bdc9e1; border-radius: 50%; color: var(--deep-blue); }
.expand-icon::before { content: "+"; font: 500 19px/1 var(--body); }
details[open] .expand-icon { color: white; background: var(--cobalt); border-color: var(--cobalt); }
details[open] .expand-icon::before { content: "−"; }
.schedule { overflow: hidden; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.schedule img { width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; }
.schedule dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; }
.schedule dt { color: var(--deep-blue); font: 750 clamp(1.2rem, 2.25vw, 2rem)/1 var(--heading); letter-spacing: -.04em; }
.schedule dd { color: var(--muted); margin-top: 6px; line-height: 1.25; }

.enrollment { background: radial-gradient(ellipse at 85% 20%, #1c39a1, transparent 55%), var(--navy); color: white; }
.enrollment .section-label { color: #becaff; }
.enrollment-grid { align-items: center; }
.steps { padding: 0; margin: 32px 0; list-style: none; counter-reset: enrollment; }
.steps li { counter-increment: enrollment; position: relative; padding: 15px 0 17px 56px; border-top: 1px solid #ffffff32; }
.steps li::before { position: absolute; top: 16px; left: 0; display: grid; place-items: center; width: 34px; height: 34px; color: #f1f3ff; border: 1px solid #8492bd; border-radius: 50%; content: counter(enrollment) / ""; font-weight: 700; }
.steps h3 { font-size: clamp(1.24rem, 2.2vw, 1.75rem); }
.steps p { color: #d9e0f7; margin-top: 6px; }
.documents-panel { padding: clamp(20px, 3.3vw, 39px); border-radius: var(--radius); background: white; color: var(--ink); }
.documents-panel h3, .law-panel h3 { padding-bottom: 17px; }
.document { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; min-height: 64px; border-top: 1px solid var(--line); text-decoration: none; }
.document:hover { color: var(--deep-blue); }
.document strong, .document small { display: block; line-height: 1.25; }
.document small { margin-top: 4px; color: var(--muted); letter-spacing: .04em; }
.document-arrow { color: var(--deep-blue); font-size: 1.38rem; }

.books { background: #edf2ff; }
.book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: clamp(12px, 1.8vw, 24px); }
.book-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid #d5def5; background: white; }
.book-cover { display: grid; place-items: center; padding: 20px 13px; aspect-ratio: .95; background: linear-gradient(150deg, #f2f5ff, #d2ddfa); overflow: hidden; }
.book-cover:focus-visible { outline-offset: -4px; }
.book-cover img { width: auto; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; border-radius: 2px; filter: drop-shadow(5px 9px 10px #1c275e4d); transition: transform .25s; }
.book-cover:hover img { transform: translateY(-5px) scale(1.018); }
.book-caption { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 14px; }
.book-number { color: var(--deep-blue); font-weight: 700; font-size: .73rem; text-transform: uppercase; letter-spacing: .065em; }
.book-caption h3 { font-size: clamp(1.06rem, 1.65vw, 1.56rem); line-height: 1.06; }
.book-description { flex: 1; margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.4; }
.book-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 13px; margin: 0; color: var(--muted); font-size: .88rem; }
.book-meta strong { color: var(--ink); }
.book-summary { border-top: 1px solid var(--line); }
.book-summary summary { display: flex; align-items: center; justify-content: space-between; padding: 9px 0 1px; color: var(--deep-blue); font-size: .86rem; font-weight: 700; }
.book-summary ul { padding-left: 1em; font-size: .875rem; }
.books-inquiry { margin-top: 20px; color: var(--muted); }
.books-inquiry a, .text-link { color: var(--deep-blue); font-weight: 700; text-underline-offset: 4px; }

.book-dialog { position: fixed; width: min(100% - 32px, 795px); max-height: calc(100% - 40px); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; padding: 0; }
.book-dialog::backdrop { background: #07102abf; }
.book-dialog-shell { position: relative; display: grid; grid-template-columns: .65fr 1fr; gap: 22px; padding: clamp(20px, 4.5vw, 48px); }
.book-dialog-shell > form { position: absolute; top: 0; right: 0; }
.dialog-close { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; line-height: 1; font-size: 1.7rem; }
.dialog-cover { display: grid; align-items: center; justify-items: center; }
.dialog-cover img { max-height: 330px; width: auto; height: auto; border-radius: 2px; box-shadow: 0 10px 18px #0b143530; }
.dialog-copy { margin-top: 13px; }
.dialog-copy h2 { font-size: clamp(1.6rem, 3.4vw, 3rem); }
.dialog-copy h2 + p { margin-block: 12px; }
.dialog-copy ul { padding-left: 18px; }
.dialog-controls { display: flex; gap: 8px; margin-top: 16px; }
.dialog-controls button, .dialog-close { display: grid; place-items: center; border: 1px solid #bcc9e1; border-radius: 50%; background: white; cursor: pointer; }
.dialog-controls button { width: 41px; height: 41px; }
.dialog-controls button:hover, .dialog-close:hover { color: white; background: var(--cobalt); border-color: var(--cobalt); }

.profession-card, .law-panel { min-width: 0; align-self: stretch; padding: clamp(20px, 3.3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); }
.profession-card { background: var(--paper); }
.profession-card img { float: right; width: clamp(59px, 8vw, 110px); height: auto; margin: 0 0 6px 12px; }
.profession-card h3 { margin-bottom: 12px; }
.profession-card p { color: var(--muted); }
.text-link { display: inline-block; margin-top: 17px; }
.faq-section { background: var(--paper); }
.faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
.faq-grid h2 { max-width: 10ch; }
.contact-grid { align-items: center; }
.contact h2 { margin-bottom: 21px; }
.contact address { font-style: normal; }
.contact address a { color: var(--deep-blue); font-weight: 700; overflow-wrap: anywhere; }
.contact address + p { margin-top: 13px; color: var(--muted); }
.contact .actions { margin-top: 23px; }
.venue { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; border-radius: var(--radius); }
.footer { color: white; background: var(--navy); padding-block: 35px 40px; }
.footer-inner, .footer-links { display: flex; align-items: center; justify-content: space-between; gap: 15px 26px; flex-wrap: wrap; }
.footer p { margin-top: 8px; font-size: .83rem; color: #c6d2f7; }
.footer-links { padding-inline-end: 96px; }
.footer-links a { color: #e6ecff; font-size: .88rem; text-underline-offset: 4px; }

.floating-contact { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 8; display: grid; justify-items: end; gap: 8px; pointer-events: none; }
.floating-anniversary { width: 63px; height: auto; margin-right: 3px; filter: drop-shadow(0 3px 7px #0b14357a); animation: anniversary-arrival .55s ease-out both; }
.whatsapp-link { pointer-events: auto; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 9px 12px; border-radius: 999px; background: #087044; color: white; font-size: .89rem; font-weight: 700; text-decoration: none; box-shadow: 0 5px 20px #063d2a3e; }
.whatsapp-link:hover { background: #065b38; }
.whatsapp-link svg { width: 23px; height: 23px; }
.reveal-enter { animation: section-arrival .45s ease-out both; }
@keyframes section-arrival { from { transform: translateY(9px); } to { transform: translateY(0); } }
@keyframes anniversary-arrival { from { transform: scale(.88); opacity: .4; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 1000px) {
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --header-height: 64px; }
  .wrap { width: min(100% - 40px, 1320px); }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 11px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: 7px; padding: 8px 9px; border: 1px solid #cbd5e7; border-radius: 11px; font-size: .86rem; font-weight: 700; }
  .menu-icon { width: 14px; height: 8px; border-block: 1px solid currentColor; }
  .mobile-nav nav { position: absolute; display: grid; inset: calc(100% + 6px) 20px auto auto; min-width: 180px; padding: 6px 15px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 16px 35px #0b14351a; }
  .mobile-nav a { padding-block: 9px; }
  .mobile-nav a + a { border-top: 1px solid var(--line); }
  .header-cta { min-height: 36px; font-size: .81rem; gap: 6px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-break { display: none; }
  .hero-course-name { font-size: clamp(3.35rem, 11vw, 6.9rem); line-height: .9; }
  .hero-media { max-width: 720px; }
}
@media (max-width: 730px) {
  .section-intro, .course-grid, .professional-grid, .enrollment-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-intro > p, .faq-grid h2 { max-width: 100%; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-cover { padding: 14px 9px; aspect-ratio: .9; }
  .book-caption { padding: 11px; }
  .floating-anniversary { width: 48px; margin: 0; }
  .whatsapp-link { width: 47px; min-height: 47px; justify-content: center; padding: 0; }
  .whatsapp-link span { display: none; }
  .footer-links { padding-inline-end: 36px; }
  .venue { aspect-ratio: 2; }
}
@media (max-width: 450px) {
  .wrap { width: calc(100% - 32px); }
  .hero-break { display: initial; }
  .hero-media { padding: 7px; border-radius: 21px; }
  .hero-visual { border-radius: 14px; }
  .series { right: 14px; bottom: 14px; padding: 7px 9px; font-size: .78rem; border-radius: 10px; }
  .hero-motion-toggle { top: 7px; right: 7px; }
  .hero-anniversary { top: 8px; left: 8px; }
  .facts { border-radius: 15px 15px 0 0; }
  .facts > div { padding-inline: 9px; }
  .facts dt { font-size: clamp(1.45rem, 6.2vw, 1.9rem); }
  .facts dt span { font-size: .43em; }
  .brand img { width: 27px; height: 33px; }
  .brand strong { font-size: 1.17rem; }
  .brand small { font-size: .62rem; }
  .header-inner { gap: 7px; }
  .header-cta { gap: 4px; padding-inline: .78em; }
  .book-dialog-shell { grid-template-columns: 1fr; gap: 12px; }
  .dialog-cover img { max-height: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
