:root {
  color-scheme: light;
  --ink: #1b293c;
  --navy: #16253b;
  --navy-soft: #22334c;
  --paper: #f7f4ed;
  --paper-warm: #efe9dc;
  --white: #fffefa;
  --gold: #e5bf68;
  --gold-deep: #785719;
  --plum: #594c70;
  --muted: #5f6874;
  --line: #d9d5cc;
  --success: #245c4b;
  --danger: #8b312b;
  --radius: 0.7rem;
  --background: #f7f4ed;
  --foreground: #1b293c;
  --card: #fffefa;
  --card-foreground: #1b293c;
  --popover: #fffefa;
  --popover-foreground: #1b293c;
  --primary: #22334c;
  --primary-foreground: #fffefa;
  --secondary: #efe9dc;
  --secondary-foreground: #1b293c;
  --muted-foreground: #596575;
  --accent: #e5bf68;
  --accent-foreground: #1b293c;
  --destructive: #8b312b;
  --destructive-foreground: #fffefa;
  --border: #d9d5cc;
  --input: #d9d5cc;
  --ring: #594c70;
  --sidebar: #f2eee6;
  --sidebar-foreground: #1b293c;
  --sidebar-primary: #22334c;
  --sidebar-primary-foreground: #fffefa;
  --sidebar-accent: #e8e1d4;
  --sidebar-accent-foreground: #1b293c;
  --sidebar-border: #d9d5cc;
  --sidebar-ring: #594c70;
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; }
body.site-shell { min-height: 100vh; }
body, button, input, textarea { font-family: "Manrope", Arial, sans-serif; }
button, input, textarea { font-size: inherit; }
button { min-width: 44px; min-height: 44px; }
a { color: inherit; text-decoration: none; }
button:not(:disabled), a[href], summary { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
img { max-width: 100%; }
::selection { color: var(--navy); background: #f0d58f; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: inherit; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6vw, 5.15rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.65rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.site-shell { min-height: 100vh; }
.site-header { position: sticky; z-index: 50; top: 0; color: var(--white); background: var(--navy); border-bottom: 1px solid rgb(255 255 255 / 12%); }
.site-header__inner { width: min(100% - 40px, 1240px); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-lockup { min-height: 52px; display: inline-flex; align-items: center; }
.brand-logo { height: 48px; width: auto; display: block; filter: brightness(0) invert(93%) sepia(28%) saturate(420%) hue-rotate(352deg); }
.primary-nav > a.is-active { color: var(--gold); }
.academy-mark { width: 48px; height: 48px; display: inline-flex; flex: 0 0 auto; color: var(--gold); }
.academy-mark svg { width: 100%; height: 100%; }
.academy-mark--small { width: 36px; height: 36px; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; line-height: 1; letter-spacing: 0.16em; }
.brand-copy strong { font-size: 13px; font-weight: 800; }
.brand-copy span { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 0.32em; }
.primary-nav { display: flex; align-items: center; gap: 5px; }
.primary-nav > a { min-height: 46px; display: inline-flex; align-items: center; padding: 0 13px; color: #f8f5ed; font-size: 13px; font-weight: 650; border-radius: 999px; transition: background 160ms ease, color 160ms ease; }
.primary-nav > a:hover { color: var(--gold); background: rgb(255 255 255 / 7%); }
.primary-nav .nav-contact { gap: 8px; margin-left: 6px; color: var(--navy); background: var(--gold); padding: 0 18px; }
.primary-nav .nav-contact:hover { color: var(--navy); background: #f2d98f; }
.menu-toggle { display: none; }
.icon-button { width: 48px; min-height: 48px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; color: var(--white); background: transparent; align-items: center; justify-content: center; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1.2; text-align: center; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 22px rgb(22 37 59 / 14%); }
.button:disabled { cursor: not-allowed; opacity: 0.62; }
.button--gold { color: #1b293c; background: var(--gold); }
.button--gold:hover:not(:disabled) { background: #f0d58f; }
.button--navy { color: var(--white); background: var(--navy); }
.button--navy:hover:not(:disabled) { background: #293d58; }
.button--light { color: var(--navy); background: var(--white); }
.button--outline-light { color: var(--white); border-color: rgb(255 255 255 / 50%); background: rgb(12 25 42 / 20%); }
.button--outline-light:hover { background: rgb(255 255 255 / 12%); }
.button--wide { width: 100%; }
.button--small { min-height: 44px; padding: 0 15px; font-size: 12px; color: var(--white); background: var(--navy); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--gold-deep); font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--plum); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-deep); font-size: 10px; font-weight: 850; letter-spacing: 0.19em; line-height: 1.4; }

.hero-section { position: relative; min-height: 670px; display: flex; align-items: center; isolation: isolate; overflow: hidden; color: var(--white); background: #131f34; }
.hero-art, .hero-art__shade { position: absolute; z-index: -1; inset: 0; }
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0.72; }
.hero-art__shade { background: linear-gradient(90deg, #111e32 2%, rgb(17 30 50 / 96%) 32%, rgb(17 30 50 / 70%) 58%, rgb(17 30 50 / 24%) 100%), linear-gradient(0deg, rgb(11 19 32 / 32%), transparent 55%); }
.hero-content { width: min(100% - 40px, 1240px); margin: 0 auto; padding: 90px 0 78px; }
.hero-eyebrow { margin-bottom: 22px; color: #f1d48a; }
.hero-content h1 { max-width: 800px; margin-bottom: 23px; color: var(--white); }
.hero-content > p { max-width: 590px; margin-bottom: 29px; color: #e3e8ef; font-size: clamp(15px, 1.8vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll { width: fit-content; min-height: 44px; display: flex; align-items: center; gap: 10px; margin-top: 53px; color: #ebe6db; font-size: 12px; }
.hero-scroll svg { color: var(--gold); }
.hero-seal { position: absolute; right: max(30px, calc((100vw - 1240px) / 2)); bottom: 34px; display: flex; align-items: center; gap: 11px; color: #f5d886; font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px; line-height: 1.05; }
.hero-seal svg { width: 40px; height: 40px; padding: 10px; border: 1px solid rgb(229 191 104 / 70%); border-radius: 50%; }

.section { width: min(100% - 40px, 1240px); margin: 0 auto; padding: 84px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 9px 0 0; }
.section-heading p { margin: 12px 0 0; color: var(--muted); }
.section--categories { padding-bottom: 54px; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.category-tile { position: relative; min-height: 205px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px 21px 19px; color: var(--white); background: var(--navy); border: 1px solid rgb(22 37 59 / 7%); border-radius: 9px; overflow: hidden; transition: transform 180ms ease, background 180ms ease; }
.category-tile:nth-child(3n + 2) { background: var(--plum); }
.category-tile:nth-child(5n) { color: var(--navy); background: #e9d9af; }
.category-tile:hover { transform: translateY(-3px); background: #273a54; }
.category-tile:nth-child(3n + 2):hover { background: #665780; }
.category-tile:nth-child(5n):hover { background: #f0e4c3; }
.category-tile__index { margin-bottom: 18px; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: 0.15em; }
.category-tile:nth-child(5n) .category-tile__index { color: var(--gold-deep); }
.category-tile__title { margin-bottom: 5px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 21px; font-weight: 650; line-height: 1.1; }
.category-tile__description { color: #e3e6e9; font-size: 11px; line-height: 1.5; }
.category-tile:nth-child(5n) .category-tile__description { color: #3d4857; }
.category-tile__count { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 16px; color: #f4d984; font-size: 11px; font-weight: 800; }
.category-tile:nth-child(5n) .category-tile__count { color: var(--gold-deep); }
.section--featured { padding-top: 45px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.course-card { min-height: 218px; display: flex; flex-direction: column; padding: 22px; background: var(--white); border: 1px solid #e1ddd4; border-radius: 10px; box-shadow: 0 5px 22px rgb(36 42 52 / 3%); transition: transform 180ms ease, box-shadow 180ms ease; }
.course-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(36 42 52 / 8%); }
.course-card__topline, .course-heading-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.category-label { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; color: #483d5e; background: #eee9f2; border-radius: 99px; font-size: 10px; font-weight: 850; letter-spacing: 0.03em; }
.format-label { display: inline-flex; align-items: center; gap: 5px; color: #47546a; font-size: 10px; font-weight: 750; white-space: nowrap; }
.format-label svg { color: var(--gold-deep); }
.course-card h3 { margin: 17px 0 20px; font-size: 24px; }
.course-card h3 a { min-height: 44px; display: flex; align-items: center; }
.course-card h3 a:hover { color: var(--gold-deep); }
.course-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #ece8e0; }
.course-card__note { color: var(--muted); font-size: 10px; }
.course-card .text-link { flex: 0 0 auto; font-size: 11px; }
.path-callout { width: min(100% - 40px, 1240px); margin: 0 auto; padding: 39px 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--white); background: linear-gradient(110deg, #1a2a42, #403755); border-radius: 12px; }
.path-callout .eyebrow { color: #f0d58f; }
.path-callout h2 { max-width: 660px; margin: 10px 0; color: var(--white); font-size: clamp(1.8rem, 4vw, 2.7rem); }
.path-callout p { max-width: 580px; margin-bottom: 0; color: #e2e4e9; font-size: 14px; }
.path-callout .button { flex: 0 0 auto; }
.section--notice { padding-top: 60px; padding-bottom: 74px; }
.legal-notice { display: flex; align-items: flex-start; gap: 17px; padding: 23px 24px; color: #25364c; background: #ebe5d9; border-left: 4px solid var(--gold-deep); border-radius: 7px; }
.legal-notice__icon { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; color: var(--navy); background: #ded3bc; border-radius: 50%; }
.legal-notice h2 { margin: 2px 0 7px; font-family: "Manrope", Arial, sans-serif; font-size: 13px; font-weight: 850; letter-spacing: 0; }
.legal-notice p { max-width: 900px; margin: 0; color: #374355; font-size: 12px; line-height: 1.65; }
.legal-notice--compact { padding: 18px; }

.site-footer { padding: 55px max(20px, calc((100vw - 1240px) / 2)) 0; color: #f5f2e9; background: #132238; }
.site-footer__main { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 48px; padding-bottom: 44px; }
.footer-brand-block .brand-lockup { margin-bottom: 14px; }
.footer-brand-block > p { max-width: 300px; color: #c7ced7; font-size: 13px; }
.footer-whatsapp { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: #f1d484; font-size: 12px; font-weight: 800; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.site-footer .eyebrow { color: #e5bf68; }
.footer-links .eyebrow, .footer-legal .eyebrow { margin-bottom: 11px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: #e4e7ea; font-size: 12px; }
.footer-links a:hover, .footer-whatsapp:hover { color: #f9e8b4; }
.footer-legal p:last-child { max-width: 360px; margin-bottom: 0; color: #d2d8df; font-size: 12px; line-height: 1.65; }
.site-footer__bottom { min-height: 52px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid rgb(255 255 255 / 15%); color: #c2cad3; font-size: 10px; }
.floating-whatsapp { position: fixed; z-index: 40; right: 20px; bottom: 18px; min-height: 52px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; color: #fff; background: #245c4b; border: 1px solid rgb(255 255 255 / 70%); border-radius: 999px; box-shadow: 0 7px 25px rgb(10 20 35 / 25%); font-size: 12px; font-weight: 800; }
.floating-whatsapp:hover { background: #174837; }

.page-hero { position: relative; min-height: 310px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: linear-gradient(115deg, #172840, #302c48); }
.page-hero__content { position: relative; z-index: 1; width: min(100% - 40px, 1240px); margin: 0 auto; padding: 62px 0; }
.page-hero .eyebrow { color: #f0d58f; }
.page-hero h1 { max-width: 780px; margin: 13px 0; color: var(--white); font-size: clamp(2.6rem, 6vw, 4.3rem); }
.page-hero p { max-width: 660px; margin: 0; color: #e4e8ee; font-size: 15px; }
.page-hero__ornament { position: absolute; right: max(42px, calc((100vw - 1180px) / 2)); color: rgb(229 191 104 / 22%); font-size: 190px; line-height: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 17px 0 0; color: #687485; font-size: 11px; }
.page-hero .breadcrumb { color: #e3e6e9; }
.breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.catalog-section { padding-top: 47px; }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.catalog-toolbar h2 { margin: 7px 0 0; font-size: 28px; }
.search-field { min-height: 48px; width: min(100%, 310px); display: flex; align-items: center; gap: 9px; padding: 0 13px; color: #586273; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.search-field input { width: 100%; min-width: 0; min-height: 44px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-field input:focus-visible { outline: 0; }
.category-filter { display: flex; align-items: center; gap: 8px; padding: 3px 1px 12px; overflow-x: auto; scrollbar-width: thin; }
.category-filter.is-dragging { cursor: grabbing; }
.filter-chip { min-height: 44px; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 0 14px; color: #344257; background: #eeebe4; border: 1px solid #dfdbd2; border-radius: 999px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.filter-chip span { min-width: 20px; min-height: 20px; display: grid; place-items: center; padding: 0 5px; color: #41506a; background: #ddd8cc; border-radius: 50px; font-size: 10px; }
.filter-chip:hover { background: #e6e0d4; }
.filter-chip.active,
.filter-chip.is-selected { color: var(--white); background: var(--navy); border-color: var(--navy); }
.filter-chip.active span,
.filter-chip.is-selected span { color: var(--navy); background: #f0d58f; }
.result-line { min-height: 50px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.clear-filter { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-deep); background: transparent; border: 0; font-size: 11px; font-weight: 800; }
.course-grid { padding-bottom: 14px; }
.empty-state { max-width: 560px; margin: 40px auto 20px; padding: 42px 24px; display: flex; flex-direction: column; align-items: center; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.empty-state[hidden] { display: none !important; }
.empty-state > svg { color: var(--gold-deep); }
.empty-state h2 { margin: 14px 0 7px; font-size: 28px; }
.empty-state p { max-width: 430px; color: var(--muted); font-size: 13px; }

.course-detail-page { padding-top: 34px; }
.course-detail-page > .breadcrumb { margin: 0 0 27px; }
.course-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 44px; }
.course-main h1 { margin: 20px 0 16px; font-size: clamp(2.5rem, 5vw, 4rem); }
.course-intro { max-width: 740px; margin-bottom: 37px; color: #536071; font-size: 16px; }
.course-main .course-detail__description { max-width: 740px; margin-bottom: 28px; color: #455264; font-size: 15px; line-height: 1.75; }
.detail-block { margin: 34px 0; padding-bottom: 29px; border-bottom: 1px solid var(--line); }
.detail-block > .eyebrow { margin-bottom: 9px; }
.detail-block h2 { margin: 0 0 15px; font-size: 29px; }
.detail-placeholder { display: flex; align-items: flex-start; gap: 9px; padding: 15px; color: #34455b; background: #eeeae2; border-radius: 7px; font-size: 13px; }
.detail-placeholder svg { flex: 0 0 auto; color: var(--gold-deep); }
.enroll-card { position: sticky; top: 104px; padding: 23px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; box-shadow: 0 10px 32px rgb(31 39 48 / 6%); }
.enroll-card h2 { margin: 8px 0 18px; font-size: 28px; }
.enroll-card > .button { width: 100%; }
.enroll-card__cover { margin: 0 0 16px; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.enroll-card__cover img { width: 100%; height: auto; display: block; object-fit: contain; }
.payment-note { display: flex; align-items: flex-start; gap: 8px; margin: 15px 0; padding: 12px; color: #354a5e; background: #edf0ef; border-radius: 7px; font-size: 10px; line-height: 1.55; }
.nonbinding-note { margin: 8px 0 0; color: #5f6874; font-size: 10px; line-height: 1.55; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; margin: 21px 0; color: var(--gold-deep); font-size: 12px; font-weight: 800; }

.course-detail__media { margin: 0 0 28px; }
.course-detail__cover { display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--white); }
.course-detail__cover img,
.course-detail__main-img { width: 100%; height: auto; max-height: none; display: block; object-fit: contain; object-position: center; }
.course-detail__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.course-detail__thumb { display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; border: 2px solid var(--line); border-radius: 8px; background: var(--paper-warm); cursor: pointer; aspect-ratio: 4 / 3; }
.course-detail__thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.course-detail__thumb:hover { border-color: var(--gold); }
.course-detail__thumb.is-active { border-color: var(--navy); box-shadow: 0 0 0 2px rgb(229 191 104 / 45%); }
.course-detail__video-section { margin: 8px 0 28px; }
.course-detail__section-title { margin: 0 0 12px; font-size: 29px; }
.video-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; background: #111e32; }
.video-wrapper iframe,
.video-wrapper video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wrapper--image { aspect-ratio: auto; height: auto; }
.video-wrapper--image img { position: static; width: 100%; height: auto; object-fit: contain; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; color: #483d5e; background: #eee9f2; border-radius: 99px; font-size: 10px; font-weight: 850; }

.about-copy { display: grid; grid-template-columns: 0.78fr 1.2fr; gap: 70px; }
.about-copy__lead .eyebrow { margin-bottom: 13px; }
.about-copy__lead h2 { max-width: 420px; }
.about-copy__body p { color: #455264; font-size: 15px; }
.about-copy__body .button { margin-top: 10px; }
.about-mark { position: absolute; right: 15%; width: 120px; height: 120px; display: grid; place-items: center; color: #f0d58f; border: 1px solid rgb(240 213 143 / 55%); border-radius: 50%; box-shadow: 0 0 0 20px rgb(240 213 143 / 5%), 0 0 0 40px rgb(240 213 143 / 4%); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 10px; }
.about-facts > div { padding: 21px; color: var(--white); background: var(--navy); border-radius: 8px; }
.about-facts > div:nth-child(2) { background: var(--plum); }
.about-facts > div:nth-child(3) { background: var(--navy-soft); }
.fact-number { color: #f0d58f; font-family: "Cormorant Garamond", Georgia, serif; font-size: 38px; font-weight: 700; }
.about-facts p { margin: 5px 0 0; color: #e5e6e8; font-size: 12px; }

.verify-section { max-width: 850px; }
.verify-form { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.verify-form > label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 850; }
.verify-input-row { display: flex; gap: 9px; }
.verify-input-row input { min-width: 0; min-height: 48px; flex: 1 1 auto; padding: 0 13px; color: var(--ink); background: #fff; border: 1px solid #cfc9bc; border-radius: 7px; }
.verify-input-row button { flex: 0 0 auto; }
.field-hint { margin: 9px 0 0; color: var(--muted); font-size: 10px; }
.official-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 19px; padding: 17px; color: #34475c; background: #ebe7de; border-left: 3px solid var(--gold-deep); border-radius: 5px; }
.official-note svg { flex: 0 0 auto; color: var(--gold-deep); }
.official-note p { margin: 0; font-size: 11px; line-height: 1.6; }
.certificate-result { display: flex; align-items: flex-start; gap: 13px; margin-top: 18px; padding: 18px; color: var(--success); background: #e8f0eb; border: 1px solid #c6d8cd; border-radius: 8px; }
.certificate-result > svg { flex: 0 0 auto; }
.certificate-result h2 { margin: 0 0 8px; font-family: "Manrope", Arial, sans-serif; font-size: 14px; font-weight: 850; letter-spacing: 0; }
.certificate-result p { margin: 4px 0; color: #354b40; font-size: 12px; }
.certificate-result--revoked, .certificate-result--empty { color: var(--danger); background: #f5e9e6; border-color: #dfc3be; }
.certificate-result--revoked p, .certificate-result--empty p { color: #633d38; }

.dashboard-section { min-height: 390px; }
.login-prompt { max-width: 570px; margin: 30px auto; padding: 36px 25px; display: flex; flex-direction: column; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 11px; text-align: center; }
.login-prompt__icon { width: 53px; height: 53px; display: grid; place-items: center; margin-bottom: 16px; color: var(--navy); background: #eee6d3; border-radius: 50%; }
.login-prompt h2 { margin-bottom: 8px; font-size: 29px; }
.login-prompt p { max-width: 430px; color: var(--muted); font-size: 13px; }
.form-error { color: var(--danger); font-size: 12px; }

@media (max-width: 1050px) {
  .primary-nav > a { padding: 0 9px; font-size: 12px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .course-detail-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
}
@media (max-width: 820px) {
  .site-header__inner { min-height: 72px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 3px; padding: 11px 20px 17px; background: var(--navy); border-top: 1px solid rgb(255 255 255 / 12%); box-shadow: 0 15px 25px rgb(12 22 36 / 22%); }
  .primary-nav.open,
  .primary-nav--open { display: flex; }
  .primary-nav > a, .primary-nav .nav-contact { width: 100%; min-height: 48px; justify-content: flex-start; margin: 0; padding: 0 12px; border-radius: 7px; }
  .hero-section { min-height: 635px; align-items: end; }
  .hero-art__shade { background: linear-gradient(90deg, rgb(17 30 50 / 92%), rgb(17 30 50 / 48%)), linear-gradient(0deg, #111e32 0%, transparent 70%); }
  .hero-content { padding: 70px 0 85px; }
  .hero-content h1 { max-width: 680px; font-size: clamp(2.8rem, 9vw, 4.4rem); }
  .hero-seal { right: 20px; bottom: 16px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-detail-grid { grid-template-columns: 1fr; }
  .enroll-card { position: static; }
  .about-copy { grid-template-columns: 1fr; gap: 22px; }
  .about-mark { right: 8%; width: 88px; height: 88px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-header__inner, .hero-content, .section, .page-hero__content { width: min(100% - 32px, 1240px); }
  .site-header__inner { gap: 12px; }
  .hero-section { min-height: 640px; }
  .hero-content { padding: 54px 0 92px; }
  .hero-content h1 { max-width: 520px; font-size: clamp(2.65rem, 12vw, 3.6rem); }
  .hero-content > p { max-width: 400px; font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 360px; }
  .hero-actions .button { width: 100%; }
  .hero-scroll { margin-top: 28px; }
  .hero-seal { display: none; }
  .section { padding: 60px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .section-heading > .text-link { margin-top: 4px; }
  .category-grid { gap: 9px; }
  .category-tile { min-height: 175px; padding: 16px 14px 14px; }
  .category-tile__index { margin-bottom: 12px; }
  .category-tile__title { font-size: 19px; }
  .category-tile__description { font-size: 10px; }
  .course-grid { grid-template-columns: 1fr; gap: 11px; }
  .course-card { min-height: 195px; padding: 19px; }
  .course-card h3 { font-size: 23px; }
  .course-card__note { display: none; }
  .path-callout { width: min(100% - 32px, 1240px); align-items: flex-start; flex-direction: column; padding: 26px 22px; }
  .path-callout .button { width: 100%; }
  .section--notice { padding-top: 40px; }
  .legal-notice { gap: 11px; padding: 17px 14px; }
  .legal-notice__icon { width: 34px; height: 34px; }
  .site-footer { padding: 40px 16px 0; }
  .site-footer__main { grid-template-columns: 1fr; gap: 28px; padding-bottom: 27px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 1px; padding: 10px 0; }
  .floating-whatsapp { right: 12px; bottom: 10px; min-height: 50px; padding: 0 14px; }
  .page-hero { min-height: 255px; }
  .page-hero__content { padding: 48px 0; }
  .page-hero h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .page-hero p { max-width: 90%; font-size: 13px; }
  .page-hero__ornament { right: -22px; font-size: 130px; }
  .catalog-section { padding-top: 32px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .course-detail-page { padding-top: 25px; }
  .course-heading-meta { align-items: flex-start; flex-direction: column; }
  .course-main h1 { font-size: 2.65rem; }
  .course-intro { font-size: 14px; }
  .enroll-card { padding: 19px; }
  .about-mark { width: 64px; height: 64px; right: 8%; top: 70px; }
  .about-mark svg { width: 28px; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts > div { padding: 16px 19px; }
  .fact-number { font-size: 30px; }
  .verify-form { padding: 18px 14px; }
  .verify-input-row { align-items: stretch; flex-direction: column; }
  .verify-input-row .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
