.beca-page {
  --ink: #070e2e;
  --navy: #0c2449;
  --mint: #77dfbb;
  --display-accent: #40b996;
  --muted: #253d67;
  background: #fff;
  color: var(--ink);
}
.beca-page .site-header { height: 85px; border: 0; background: #fffffff5; }
.beca-page .header-inner { width: min(1320px, calc(100% - 96px)); gap: 20px; }
.beca-page .brand img { width: 142px; height: 58px; }
.beca-page .site-header nav { margin-left: auto; gap: 24px; font-size: 12px; }
.beca-page .header-actions { gap: 10px; }
.beca-page .button { color: #071d30; background: var(--mint); box-shadow: none; font-weight: 650; }
.beca-page .button:hover { background: #5ed2aa; transform: translateY(-2px); }
.beca-page .button.small { font-size: 12px; min-height: 42px; padding: 12px 22px; }
.beca-page h1, .beca-page h2 { font-weight: 750; letter-spacing: -.055em; text-wrap: initial; }
.beca-page h1 span, .beca-page h2 span { color: var(--display-accent); }
.grant-container { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.grant-hero { display: grid; grid-template-columns: 44% 56%; min-height: min(62vw, 790px); }
.grant-hero-copy { padding: clamp(38px, 5.2vw, 74px) 24px 42px max(48px, calc((100vw - 1320px) / 2)); align-self: center; }
.grant-eyebrow { font-size: 10px; letter-spacing: .22em; line-height: 1.4; font-weight: 650; color: #163665; }
.grant-hero h1 { font-size: clamp(53px, 6.7vw, 94px); line-height: .96; margin: 22px 0 24px; }
.grant-hero h1 .grant-title-line { color: var(--ink); white-space: nowrap; font-size: .9em; }
.grant-title-line em { color: var(--display-accent); font-style: normal; }
.grant-hero h1 span { white-space: nowrap; }
.grant-description { font-size: clamp(14px, 1.58vw, 20px); line-height: 1.48; max-width: 490px; color: #20355b; }
.grant-description strong { font-weight: 500; }
.beca-page .grant-primary { min-height: 62px; font-size: clamp(17px, 2.05vw, 25px); padding: 19px 36px; gap: 22px; }
.beca-page .grant-primary .bi { font-size: 1.25em; }
.grant-hero .grant-primary { margin-top: 28px; }
.grant-deadline { font-size: 13px; color: #68789b; margin-top: 12px; }
.grant-hero-art { position: relative; min-width: 0; overflow: hidden; }
.grant-hero-art > img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; }
.grant-chat { position: absolute; right: 4.5%; top: 18%; width: 42%; min-width: 196px; max-width: 295px; padding: 13px 14px 14px; background: #fff; border-radius: 17px; box-shadow: 0 12px 30px #071d3f26; font-size: clamp(10px, 1.2vw, 15px); line-height: 1.4; }
.grant-chat .grant-whatsapp { position: absolute; left: -10px; top: -22px; background: #0fcd65; border: 4px solid #b5f5d4; color: white; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; font-size: 27px; }
.grant-chat-label { display: block; text-align: right; font-size: 8px; color: #6d7b98; padding: 0 0 13px; }
.grant-bubble { padding: 5px 6px; color: #102b53; }
.grant-bubble time { display: block; text-align: right; font-size: 8px; margin-top: 6px; color: #6c7c99; }
.grant-outgoing { margin: 9px 0 0 9px; background: #dcf8d1; border-radius: 12px; padding: 10px 11px; }
.grant-outgoing > span { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 5px; }
.grant-outgoing time { margin: 0; color: #769761; }
.grant-outgoing .bi { color: #67c5d3; font-size: 11px; }
.grant-banner { position: relative; min-height: clamp(240px, 26vw, 350px); isolation: isolate; overflow: hidden; display: flex; align-items: center; }
.grant-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.grant-banner-copy { padding: 36px max(48px, calc((100vw - 1320px) / 2)); width: 75%; }
.grant-banner h2 { color: #fff; font-size: clamp(38px, 5.8vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.grant-banner h2 span { color: #94f0cc; }
.grant-banner-copy p { color: #fff; font-size: clamp(14px, 2.1vw, 25px); line-height: 1.4; margin-top: 12px; }
.grant-banner-copy .grant-banner-detail { font-size: clamp(12px, 1.5vw, 18px); margin-top: 4px; color: #d5e8ee; }
.grant-audience { display: grid; grid-template-columns: 41% 59%; gap: 20px; padding-block: 40px 34px; }
.grant-audience-copy { align-self: center; padding-right: 20px; }
.grant-audience h2, .grant-process h2 { font-size: clamp(38px, 5.5vw, 70px); line-height: 1.04; }
.grant-audience-copy > p { font-size: clamp(14px, 1.65vw, 20px); line-height: 1.5; margin-top: 22px; max-width: 355px; }
.grant-audience-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grant-audience figure { margin: 0; min-width: 0; }
.grant-audience figure img { width: 100%; aspect-ratio: .85; height: auto; object-fit: cover; }
.grant-audience figcaption { color: var(--ink); font-size: clamp(15px, 1.85vw, 23px); letter-spacing: -.035em; font-weight: 600; padding: 8px 2px 0; }
.grant-process { display: grid; grid-template-columns: 41% 59%; gap: 20px; align-items: center; padding-block: 20px 50px; }
.grant-process ol { list-style: none; margin: 0; padding: 0 0 0 44px; border-left: 1px solid #dfe5ec; }
.grant-process li { display: flex; align-items: center; gap: 30px; min-height: 60px; padding-block: 8px; border-bottom: 1px solid #dce3ed; }
.grant-process li:last-child { border: 0; }
.grant-process li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #c9fbed; color: #14365a; flex-shrink: 0; font-weight: 600; font-size: 16px; }
.grant-process li p { font-size: clamp(14px, 1.6vw, 19px); line-height: 1.5; }
.grant-closing { background: #a7f5d9; padding: 40px 24px 36px; text-align: center; }
.grant-closing h2 { font-size: clamp(32px, 5.5vw, 67px); line-height: 1.1; margin-bottom: 16px; }
.beca-page .grant-dark-button { background: #0b2443; color: white; }
.beca-page .grant-dark-button:hover { background: #153b61; }
.grant-closing p { color: #557d7f; font-size: 13px; margin-top: 12px; }
.beca-page .site-footer { padding-block: 30px 20px; }
.beca-page .site-footer .brand img { width: 118px; height: 45px; }
.beca-page .site-footer .footer-main { gap: 20px; }
.grant-dialog { width: min(780px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 24px; background: white; color: var(--ink); box-shadow: 0 28px 100px #071d3f40; overflow-y: auto; }
.grant-dialog::backdrop { background: #07172eb3; backdrop-filter: blur(5px); }
body:has(.grant-dialog[open]) { overflow: hidden; }
.grant-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 20px 30px 12px; background: white; }
.grant-dialog-head img { height: 44px; width: 116px; object-fit: contain; }
.grant-close { display: grid; place-items: center; border: 0; width: 40px; height: 40px; border-radius: 50%; background: #f0f4f7; color: var(--ink); }
.grant-close:hover { background: #e3eee9; }
.grant-dialog-body { padding: 12px 36px 32px; }
.beca-page .grant-dialog h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.12; margin: 14px 0 10px; }
.grant-form-intro { font-size: 15px; line-height: 1.6; }
.grant-form-progress { display: flex; justify-content: space-between; gap: 15px; margin: 24px 0; padding-block: 16px; border-block: 1px solid #e8edf0; }
.grant-form-progress > span { display: flex; align-items: center; gap: 8px; color: #7d899a; font-size: 11px; line-height: 1.3; }
.grant-form-progress b { flex-shrink: 0; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #eff3f6; }
.grant-form-progress [aria-current="step"] { color: var(--navy); font-weight: 600; }
.grant-form-progress [aria-current="step"] b { background: #bcf4df; }
#beca-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
#beca-form legend { font-size: 20px; font-weight: 650; margin-bottom: 20px; letter-spacing: -.02em; }
.grant-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grant-field { min-width: 0; display: grid; gap: 8px; align-content: start; }
.grant-field [data-platform-details]:not([hidden]) { display: grid; gap: 8px; }
.grant-field-wide { grid-column: 1 / -1; }
.grant-field label { font-size: 13px; line-height: 1.45; font-weight: 550; }
.grant-field label > span { color: #337b66; }
.grant-field label small { color: #61758a; font-weight: 400; }
.grant-field input, .grant-field textarea, .grant-field select { width: 100%; border: 1px solid #d6e0e7; border-radius: 10px; padding: 12px 13px; color: #143150; background: #fff; font: inherit; font-size: 14px; line-height: 1.45; min-height: 46px; }
.grant-field textarea { resize: vertical; min-height: 95px; }
.grant-field :is(input,select,textarea):focus { border-color: #319c79; outline: 3px solid #319c791a; outline-offset: 0; }
.grant-field [aria-invalid="true"] { border-color: #c54b48; }
.grant-phone { display: flex; gap: 8px; }
.grant-phone select { width: 100px; max-width: 100px; flex: 0 0 100px; padding-inline: 9px; }
.grant-field-error { color: #a93734; font-size: 12px; }
.grant-data-note { font-size: 11px; line-height: 1.6; margin-top: 24px; color: #65758a; }
.grant-data-note a { text-decoration: underline; text-underline-offset: 3px; }
.grant-form-actions { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.grant-form-actions [data-step-count] { margin-right: auto; color: #6d7b8c; font-size: 11px; }
.grant-form-actions .button { min-height: 48px; padding: 14px 20px; font-size: 13px; }
.grant-back { border: 0; background: none; padding: 10px 0; font-size: 13px; }
.grant-form-error { background: #fff0ef; color: #983c38; padding: 13px 16px; border-radius: 10px; font-size: 13px; margin-top: 18px; }
.grant-submitted { text-align: center; padding: 20px 4px 6px; }
.grant-submitted > .bi { font-size: 52px; color: #229877; }
.grant-submitted h3 { font-size: 26px; margin-block: 14px; }
.grant-submitted p { font-size: 15px; margin-bottom: 18px; }
.grant-submitted label { display: block; text-align: left; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.grant-submitted textarea { display: block; width: 100%; padding: 14px; border: 1px solid #d6e0e7; border-radius: 12px; background: #f6faf9; color: #143150; font: inherit; font-size: 14px; line-height: 1.6; resize: vertical; margin-bottom: 20px; }
.grant-message-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.grant-submitted .grant-copy-note { font-size: 13px; margin-top: 16px; color: #65758a; }
.grant-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.grant-faq-dialog { width: min(680px, calc(100% - 32px)); }
.grant-faq-list { margin-block: 24px; }
.grant-faq-list details { border-bottom: 1px solid #e3e9ee; }
.grant-faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; font-size: 14px; font-weight: 550; cursor: pointer; list-style: none; }
.grant-faq-list summary::-webkit-details-marker { display: none; }
.grant-faq-list details p { font-size: 14px; padding-bottom: 20px; }
.grant-faq-list details[open] summary i { transform: rotate(45deg); }
.beca-page [hidden] { display: none !important; }
.beca-page :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #287961; outline-offset: 4px; }
@media (min-width: 761px) {
  .beca-page .site-header #main-nav { display: flex; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; width: auto; flex-direction: row; }
  .beca-page .site-header .menu-toggle { display: none !important; }
}
@media (max-width: 1050px) and (min-width: 761px) {
  .grant-hero-copy { padding-right: 12px; }
  .grant-hero h1 { font-size: 6.7vw; }
  .beca-page .grant-primary { padding: 18px 30px; font-size: 19px; }
  .grant-banner-copy { width: 76%; }
  .grant-audience { gap: 18px; }
}
@media (max-width: 760px) {
  .beca-page .site-header { height: 74px; }
  .beca-page .header-inner { width: calc(100% - 36px); gap: 12px; }
  .beca-page .brand img { width: 111px; height: 45px; }
  .beca-page .header-actions { margin-left: auto; gap: 7px; }
  .beca-page .button.small { min-height: 38px; font-size: 10px; padding: 11px 14px; }
  .beca-page .site-header .menu-toggle { display: inline-flex !important; padding: 6px; }
  .beca-page .site-header #main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: white; padding: 22px; margin: 0; border-bottom: 1px solid #e3e9ec; flex-direction: column; align-items: flex-start; gap: 20px; }
  .beca-page .site-header #main-nav.is-open { display: flex; }
  .grant-container { width: calc(100% - 40px); }
  .grant-hero { grid-template-columns: 1fr; min-height: 0; }
  .grant-hero-copy { padding: 32px 22px 28px; }
  .grant-hero h1 { font-size: clamp(56px, 13.4vw, 82px); margin: 20px 0 24px; max-width: 500px; }
  .grant-description { font-size: 15px; max-width: 550px; line-height: 1.6; }
  .grant-hero .grant-primary { margin-top: 24px; }
  .beca-page .grant-primary { min-height: 54px; padding: 16px 27px; font-size: 18px; gap: 20px; }
  .grant-deadline { font-size: 11px; }
  .grant-hero-art { height: min(119vw, 670px); }
  .grant-hero-art > img { object-position: center 46%; }
  .grant-chat { right: 5%; top: 8%; width: 44%; min-width: 175px; font-size: 11px; }
  .grant-banner { min-height: 230px; align-items: flex-start; }
  .grant-banner-image { object-position: 60% center; }
  .grant-banner-copy { width: 84%; padding: 24px 20px; }
  .grant-banner h2 { font-size: clamp(29px, 7.5vw, 48px); max-width: 85%; }
  .grant-banner-copy p { font-size: 13px; margin-top: 12px; max-width: 68%; }
  .grant-banner-copy .grant-banner-detail { font-size: 11px; max-width: 62%; }
  .grant-audience { grid-template-columns: 1fr; gap: 26px; padding-block: 34px 28px; }
  .grant-audience h2, .grant-process h2 { font-size: clamp(36px, 9vw, 55px); }
  .grant-audience-copy { padding-right: 0; }
  .grant-audience-copy p { font-size: 15px; margin-top: 16px; max-width: 500px; }
  .grant-audience-cards { gap: 12px; }
  .grant-audience figcaption { font-size: 15px; padding-top: 10px; }
  .grant-process { grid-template-columns: 1fr; gap: 24px; padding-block: 10px 35px; }
  .grant-process ol { border: 0; padding: 0; }
  .grant-process li { gap: 18px; min-height: 65px; }
  .grant-process li p { font-size: 14px; }
  .grant-closing { padding: 35px 20px 30px; }
  .grant-closing h2 { font-size: 34px; max-width: 450px; margin-inline: auto; margin-bottom: 22px; }
  .grant-closing p { font-size: 11px; }
  .beca-page .site-footer .container { width: calc(100% - 40px); }
  .grant-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 18px; }
  .grant-dialog-head { padding: 14px 18px 8px; }
  .grant-dialog-body { padding: 10px 20px 24px; }
  .beca-page .grant-dialog h2 { font-size: 30px; }
  .grant-form-intro { font-size: 13px; }
  .grant-fields { grid-template-columns: 1fr; gap: 17px; }
  .grant-field-wide { grid-column: auto; }
  .grant-form-progress { gap: 8px; margin-block: 18px; }
  .grant-form-progress > span { flex: 1; flex-direction: column; text-align: center; font-size: 10px; }
  .grant-field label { font-size: 13px; }
  .grant-field input, .grant-field select, .grant-field textarea { font-size: 16px; }
  .grant-form-actions { gap: 10px; flex-wrap: wrap; }
  .grant-form-actions .button { padding-inline: 18px; font-size: 12px; }
  .grant-form-actions [data-step-count] { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .beca-page *, .beca-page *::before, .beca-page *::after { scroll-behavior: auto !important; transition: none !important; }
}

.grant-social-option + .grant-social-option { margin-top: 8px; }
.grant-field .grant-social-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.grant-field .grant-social-choice input { width: 18px; min-height: 18px; height: 18px; padding: 0; flex-shrink: 0; accent-color: #337b66; }
.grant-field .grant-social-choice span { color: inherit; }
.grant-field [data-social-link]:not([hidden]) { display: grid; gap: 8px; margin: 0 0 12px 28px; }
