* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background-color: var(--page, #f0f1f3); color: var(--ink, #25292e); font: 1rem/1.5 var(--body-font, 'Segoe UI', sans-serif); padding: 48px 20px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
svg { width: 22px; height: 22px; flex: 0 0 auto; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #165da5; outline-offset: 4px; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 12px; background: white; color: #222; transform: translateY(-200%); z-index: 10; }
.skip-link:focus { transform: translateY(0); }
.card { max-width: 520px; margin: auto; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.identity { position: relative; padding: 30px 36px 29px; color: white; background: var(--primary); border-top: 5px solid; border-image: linear-gradient(to right, #258151 0 33.33%, #fff 33.33% 66.66%, #d94136 66.66%) 1; }
.identity-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; opacity: .9; }
.role-code { padding: 4px 10px; border: 1px solid #ffffff65; border-radius: 3px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; flex-shrink: 0; }
h1 { margin: 30px 0 11px; font: 400 2.75rem/1.08 var(--heading-font, Georgia, serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
.role { max-width: 340px; margin: 0; font-size: 1rem; line-height: 1.55; color: #fff; }
.identity-school { margin-top: 26px; padding-top: 20px; border-top: 1px solid #ffffff45; }
.identity-school p { margin: 0; }
.identity-school p:first-child { font-size: 1rem; font-weight: 600; letter-spacing: .015em; }
.identity-school p + p { font-size: .875rem; margin-top: 3px; opacity: .88; }
.card-body { padding: 28px 36px 0; }
.button { display: flex; gap: 11px; align-items: center; justify-content: center; min-height: 54px; padding: 13px 18px; border-radius: var(--button-radius); font-weight: 600; font-size: 1rem; line-height: 1.4; transition: background-color .16s, border-color .16s; }
.button-primary { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.button-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
[data-button-style="outline"] .button-primary { background: transparent; color: var(--primary); }
[data-button-style="soft"] .button-primary, [data-button-style="glass"] .button-primary { background: var(--panel); color: var(--primary); }
.section-label { margin: 0; font-size: .75rem; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.contacts { padding: 29px 0 28px; scroll-margin-top: 20px; }
.contacts .section-label { margin-bottom: 8px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid #dedfe2; min-width: 0; }
.contact-row:hover .contact-value { color: var(--primary); }
.icon-box { display: grid; place-items: center; color: var(--primary); width: 40px; height: 42px; flex: 0 0 auto; background: var(--panel); border-radius: 4px; }
.contact-copy { flex: 1; min-width: 0; }
.contact-label { display: block; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.contact-value { display: block; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.015em; margin-top: 3px; overflow-wrap: anywhere; }
.contact-value.email { font-size: 1rem; }
.row-arrow { display: flex; color: var(--muted); }
.row-arrow svg { width: 17px; height: 17px; }
.button-secondary { background: transparent; border: 1px solid #d9dade; color: var(--ink); }
.button-secondary:hover { background: var(--panel); border-color: var(--primary); }
.whatsapp { margin-top: 20px; font-size: .9375rem; }
.whatsapp svg:first-child { color: var(--primary); }
.whatsapp svg:last-child { width: 17px; height: 17px; margin-left: auto; color: var(--muted); }
.whatsapp span { margin-right: auto; }
.school { margin: 0 -36px; padding: 27px 36px 30px; background: var(--panel); border-top: 1px solid #e4e4e6; }
.school .section-label { color: var(--primary); margin-bottom: 18px; }
.school-heading { display: flex; align-items: center; gap: 16px; }
.school-heading > div { min-width: 0; }
.school-logo { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; border-radius: 3px; }
.school h3 { font: 600 1.25rem/1.35 var(--heading-font, Georgia, serif); margin: 0 0 7px; }
address { font-style: normal; color: var(--muted); font-size: .9375rem; line-height: 1.65; overflow-wrap: anywhere; }
.school-phone { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding: 16px 0; border-top: 1px solid #dcdcdf; border-bottom: 1px solid #dcdcdf; }
.school-phone > svg:first-child { color: var(--primary); width: 19px; }
.school-phone > svg:last-child { width: 16px; margin-left: auto; color: var(--muted); }
.school-number { display: block; font-size: 1.0625rem; font-weight: 600; margin-top: 3px; }
.school-phone:hover .school-number { color: var(--primary); }
.map-link { display: flex; align-items: center; gap: 12px; color: var(--primary); font-size: .9375rem; font-weight: 600; padding-top: 19px; min-height: 44px; }
.map-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.map-link svg { width: 19px; height: 19px; }
.map-link svg:last-child { margin-left: auto; width: 16px; }
.presentation { padding-bottom: 22px; }
.presentation p { margin: 0 0 12px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 36px; border-top: 1px solid #e4e4e6; color: var(--muted); font-size: .75rem; }
.card-footer span:first-child { font-weight: 700; letter-spacing: .15em; }
@media (max-width: 560px) {
    body { padding: 16px 12px; }
    .identity { padding: 25px 25px 26px; }
    h1 { font-size: 2.5rem; margin-top: 27px; }
    .card-body { padding: 24px 25px 0; }
    .school { margin-inline: -25px; padding-inline: 25px; }
    .card-footer { padding-inline: 25px; }
}
@media (max-width: 359px) {
    body { padding: 0; }
    .card { border-radius: 0; }
    .identity-top { gap: 8px; }
    .eyebrow { font-size: .75rem; letter-spacing: .07em; }
    .contact-row { gap: 10px; }
    .icon-box { width: 32px; }
    .contact-value.email { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { body { padding: 0; background: white; } .card { box-shadow: none; max-width: 100%; } .identity { print-color-adjust: exact; } .skip-link { display: none; } }
