:root {
    --petrol: #0b6675;
    --petrol-dark: #084e59;
    --petrol-deep: #063d47;
    --turquoise: #3a9aa5;
    --ice: #f5f8f8;
    --white: #fff;
    --ink: #243238;
    --muted: #607078;
    --border: #d9e3e5;
    --shadow: 0 6px 24px rgba(18, 54, 61, .08);
    --radius: 5px;
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid #f2ad3f;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: .7rem 1rem;
    color: var(--white);
    background: var(--petrol-deep);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.utility-bar {
    min-height: 36px;
    color: rgba(255, 255, 255, .9);
    background: var(--petrol);
    font-size: .78rem;
}

.utility-bar__inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 36px;
    gap: .8rem;
}

.utility-bar a:hover {
    text-decoration: underline;
}

.site-header {
    position: relative;
    z-index: 50;
    border-bottom: 3px solid var(--petrol);
    background: rgba(255, 255, 255, .98);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 116px;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    color: var(--petrol-dark);
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.15;
}

.brand img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 50%;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav a,
.main-nav button {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 .85rem;
    border: 0;
    color: #4a575d;
    background: transparent;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav button:hover,
.main-nav .is-active {
    color: var(--petrol);
}

.main-nav .is-active {
    font-weight: 750;
}

.has-submenu > button::after {
    width: 6px;
    height: 6px;
    margin: -4px 0 0 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    content: "";
    transform: rotate(45deg);
}

.submenu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: .45rem;
    border: 1px solid var(--border);
    border-top: 3px solid var(--petrol);
    background: var(--white);
    box-shadow: var(--shadow);
    list-style: none;
}

.submenu a {
    min-height: 42px;
    padding: .5rem .8rem;
    text-transform: none;
    white-space: normal;
    font-size: .84rem;
}

.has-submenu > button[aria-expanded="true"] + .submenu,
.has-submenu:focus-within > .submenu {
    display: block;
}

.menu-toggle {
    display: none;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    color: var(--petrol-dark);
    background: transparent;
    cursor: pointer;
}

.menu-toggle__label {
    margin-right: 10px;
    font-weight: 700;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease;
}

.menu-toggle__icon {
    position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle__icon::before {
    top: -7px;
}

.menu-toggle__icon::after {
    top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 530px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(3, 54, 63, .72) 0%, rgba(3, 54, 63, .28) 56%, rgba(3, 54, 63, .06) 100%),
        url("../images/hero-justicia.png") 62% center / cover no-repeat;
}

.hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, rgba(5, 51, 59, .2));
    content: "";
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 95px;
}

.eyebrow {
    margin: 0 0 .7rem;
    color: rgba(255, 255, 255, .86);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    margin: 0 0 .5rem;
    font-size: clamp(2.6rem, 5.2vw, 4rem);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.06;
}

.hero__content > p:not(.eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, .91);
    font-size: 1.26rem;
}

.hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 2.1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .72rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 3px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .045em;
    font-size: .76rem;
    font-weight: 700;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    border-color: var(--petrol);
    color: var(--white);
    background: var(--petrol);
}

.button--primary:hover {
    border-color: var(--turquoise);
    background: var(--turquoise);
}

.button--outline-light {
    border-color: rgba(255, 255, 255, .75);
    color: var(--white);
}

.button--outline-light:hover {
    color: var(--petrol-dark);
    background: var(--white);
}

.button--outline {
    border-color: var(--petrol);
    color: var(--petrol);
    background: transparent;
}

.button--outline:hover {
    color: var(--white);
    background: var(--petrol);
}

.quick-access {
    position: relative;
    z-index: 5;
    margin-top: -55px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.quick-card {
    display: flex;
    align-items: center;
    min-height: 115px;
    padding: 1.2rem 1.35rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: .9rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.quick-card:hover {
    box-shadow: 0 10px 28px rgba(18, 54, 61, .14);
    transform: translateY(-3px);
}

.quick-card > span:last-child {
    position: relative;
    padding-bottom: 14px;
}

.quick-card > span:last-child::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--turquoise);
    content: "";
}

.quick-card__icon {
    display: block;
    width: 52px;
    height: 52px;
    margin-right: 14px;
    flex: 0 0 52px;
    color: var(--petrol);
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.quick-card__icon--search {
    -webkit-mask-image: url("../icons/user-search.svg");
    mask-image: url("../icons/user-search.svg");
}

.quick-card__icon--graduation {
    -webkit-mask-image: url("../icons/graduation-cap.svg");
    mask-image: url("../icons/graduation-cap.svg");
}

.quick-card__icon--ethics {
    -webkit-mask-image: url("../icons/scale.svg");
    mask-image: url("../icons/scale.svg");
}

.quick-card__icon--documents {
    -webkit-mask-image: url("../icons/file-text.svg");
    mask-image: url("../icons/file-text.svg");
}

.section {
    padding: 22px 0;
}

.section--news {
    padding-top: 36px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-heading h2,
.panel h2,
.contact-panel h2 {
    margin: 0;
    color: var(--petrol);
    font-size: 1.35rem;
    line-height: 1.25;
}

.section-heading > a {
    color: var(--petrol);
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: .75rem;
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 160px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.news-card__image {
    min-height: 160px;
    background:
        linear-gradient(145deg, rgba(11, 102, 117, .05), rgba(11, 102, 117, .3)),
        url("../images/hero-justicia.png") center / cover no-repeat;
}

.news-card__image--port {
    background-position: 12% center;
    filter: saturate(.7) brightness(1.2);
}

.news-card__image--court {
    background-position: 75% center;
    filter: grayscale(.4) brightness(1.25);
}

.news-card__image--books {
    background:
        linear-gradient(145deg, rgba(4, 54, 63, .04), rgba(4, 54, 63, .2)),
        url("../images/biblioteca-derecho.webp") 42% center / cover no-repeat;
    filter: saturate(.84) contrast(1.04);
}

.news-card__content {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.news-card time {
    color: var(--turquoise);
    text-transform: uppercase;
    font-size: .62rem;
    font-weight: 700;
}

.news-card h3 {
    margin: .55rem 0 .7rem;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.45;
}

.news-card__content > a {
    margin-top: auto;
    color: var(--petrol);
    text-transform: uppercase;
    font-size: .62rem;
    font-weight: 750;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panel {
    padding: 28px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.panel-title h2 {
    position: relative;
    padding-bottom: 11px;
}

.panel-title h2::after,
.college-panel h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--turquoise);
    content: "";
}

.round-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    color: var(--white);
    background: var(--petrol);
}

.panel-icon {
    display: block;
    width: 29px;
    height: 29px;
    color: var(--white);
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.panel-icon--services {
    -webkit-mask-image: url("../icons/users-round.svg");
    mask-image: url("../icons/users-round.svg");
}

.panel-icon--documents {
    -webkit-mask-image: url("../icons/file-text.svg");
    mask-image: url("../icons/file-text.svg");
}

.panel-icon--directors {
    -webkit-mask-image: url("../icons/users.svg");
    mask-image: url("../icons/users.svg");
}

.panel-icon--calendar {
    -webkit-mask-image: url("../icons/calendar-days.svg");
    mask-image: url("../icons/calendar-days.svg");
}

.panel-icon--partners {
    -webkit-mask-image: url("../icons/handshake.svg");
    mask-image: url("../icons/handshake.svg");
}

.arrow-list,
.document-list,
.events-list {
    margin: 0 0 20px 68px;
    padding: 0;
    list-style: none;
}

.arrow-list li,
.document-list li {
    border-bottom: 1px solid var(--border);
}

.arrow-list li:last-child,
.document-list li:last-child {
    border-bottom: 0;
}

.arrow-list a,
.document-list a {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 10px;
    color: var(--muted);
    font-size: .82rem;
}

.arrow-list a span {
    margin-left: auto;
    font-size: 1.3rem;
}

.document-list a > span {
    color: var(--petrol);
}

.document-list small {
    margin-left: auto;
    color: var(--petrol);
    font-weight: 700;
}

.list-panel > .button {
    margin-left: 68px;
}

.college-panel {
    display: grid;
    grid-template-columns: .82fr 1.48fr;
    align-items: stretch;
    gap: 45px;
    padding: 24px;
}

.college-panel > div:first-child {
    padding: 12px 0 12px 4px;
}

.college-panel h2 {
    position: relative;
    padding-bottom: 12px;
}

.college-panel p {
    color: var(--muted);
    font-size: .9rem;
}

.college-panel .button {
    margin-top: 8px;
}

.college-panel__image {
    min-height: 300px;
    border-radius: 4px;
    background:
        linear-gradient(100deg, rgba(5, 62, 72, .1), rgba(5, 62, 72, .03)),
        url("../images/hero-justicia.png") 78% center / cover no-repeat;
    filter: saturate(.75) brightness(1.25);
}

.directors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.director {
    text-align: center;
}

.director__photo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 10px;
    border: 2px solid var(--petrol);
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(145deg, var(--turquoise), var(--petrol-dark));
    font-size: 1.25rem;
    font-weight: 700;
}

.director strong {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.35;
}

.director small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .67rem;
}

.panel-button {
    display: flex;
    width: max-content;
    margin: 12px auto 0;
}

.events-list {
    margin-left: 68px;
}

.events-list li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.events-list time {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 46px;
    height: 52px;
    border: 1px solid var(--petrol);
    color: var(--petrol);
    text-transform: uppercase;
    line-height: 1;
}

.events-list time strong {
    font-size: 1rem;
}

.events-list time span {
    margin-top: 4px;
    font-size: .6rem;
    font-weight: 700;
}

.events-list h3 {
    margin: 1px 0 5px;
    font-size: .8rem;
    font-weight: 500;
}

.events-list p {
    margin: 0;
    color: var(--muted);
    font-size: .69rem;
}

.events-list p span {
    margin-inline: 8px;
}

.partners-panel {
    text-align: center;
}

.partners-panel .panel-title {
    text-align: left;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 8px 50px 22px;
}

.partners-grid > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100px;
    padding: 14px;
    border: 1px solid var(--border);
    color: #5b6265;
    background: #fff;
    text-align: center;
    font-size: .75rem;
    line-height: 1.15;
    filter: grayscale(1);
}

.partners-grid strong {
    font-size: 1rem;
}

.partner-bci strong {
    font-size: 2rem;
    font-style: italic;
}

.section--contact {
    padding: 28px 0 54px;
    background:
        linear-gradient(180deg, transparent 0, transparent 45%, #f5f9f9 45%, #f5f9f9 100%);
}

.contact-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(18, 54, 61, .12);
}

.contact-panel::before {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 92px;
    height: 4px;
    background: var(--turquoise);
    content: "";
}

.contact-panel__content {
    padding: 46px 48px 42px;
}

.contact-panel__eyebrow {
    margin: 0 0 7px;
    color: var(--turquoise);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .7rem;
    font-weight: 800;
}

.contact-panel h2 {
    margin-bottom: 10px;
    font-size: 2rem;
    letter-spacing: -.02em;
}

.contact-panel__intro {
    max-width: 450px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: .92rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    font-style: normal;
}

.contact-detail {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    min-height: 84px;
    padding: 14px 14px 14px 0;
    border-top: 1px solid var(--border);
}

.contact-detail:nth-child(odd) {
    margin-right: 16px;
}

.contact-detail__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: 2px;
    border: 1px solid rgba(11, 102, 117, .18);
    border-radius: 50%;
    color: var(--petrol);
    background: #edf7f7;
    font-size: .64rem;
    font-weight: 800;
}

.contact-detail__label {
    display: block;
    margin-bottom: 3px;
    color: #819096;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .61rem;
    font-weight: 800;
}

.contact-detail p,
.contact-detail a {
    margin: 0;
    color: var(--ink);
    font-size: .82rem;
    line-height: 1.45;
}

.contact-detail a {
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: rgba(11, 102, 117, .28);
    text-underline-offset: 3px;
}

.contact-detail a:hover {
    color: var(--petrol);
    text-decoration-color: currentColor;
}

.contact-detail strong {
    display: block;
    color: var(--petrol-dark);
    font-size: .84rem;
}

.contact-panel__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.contact-panel__actions .button {
    min-height: 46px;
    margin: 0;
    padding-inline: 22px;
}

.contact-panel__call {
    color: var(--petrol);
    font-size: .76rem;
    font-weight: 800;
}

.contact-panel__call span {
    display: inline-block;
    margin-left: 4px;
    transition: transform .2s ease;
}

.contact-panel__call:hover span {
    transform: translateX(3px);
}

.contact-map {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: #e7eeec;
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map__card {
    position: absolute;
    z-index: 4;
    right: 28px;
    bottom: 28px;
    width: min(245px, calc(100% - 56px));
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 7px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 30px rgba(20, 67, 73, .15);
    backdrop-filter: blur(8px);
}

.contact-map__card > span,
.contact-map__card small {
    display: block;
}

.contact-map__card > span {
    margin-bottom: 2px;
    color: var(--turquoise);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .58rem;
    font-weight: 800;
}

.contact-map__card strong {
    display: block;
    color: var(--petrol);
    font-size: 1.18rem;
}

.contact-map__card small {
    margin-bottom: 13px;
    color: var(--muted);
    font-size: .72rem;
}

.contact-map__card a {
    display: inline-flex;
    gap: 5px;
    color: var(--petrol);
    font-size: .72rem;
    font-weight: 800;
}

.contact-map__card a:hover {
    text-decoration: underline;
}

.contact-form-shell {
    position: relative;
    margin-top: 18px;
    padding: 42px 48px 38px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--turquoise);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(18, 54, 61, .1);
}

.js .contact-form-shell:not(.is-open) {
    display: none;
}

.contact-form-shell__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.contact-form-shell__heading h2 {
    margin: 0 0 6px;
    color: var(--petrol);
    font-size: 1.65rem;
    line-height: 1.25;
}

.contact-form-shell__heading p:not(.contact-panel__eyebrow) {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.contact-form-shell__close {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--petrol);
    background: var(--white);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.js .contact-form-shell__close {
    display: inline-flex;
}

.contact-form-shell__close:hover {
    border-color: var(--petrol);
    background: #edf7f7;
}

.contact-form-alert {
    display: grid;
    gap: 3px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 6px;
    font-size: .92rem;
}

.contact-form-alert--success {
    border-color: #94cbb1;
    color: #174d38;
    background: #eff9f4;
}

.contact-form-alert--error {
    border-color: #dfaca7;
    color: #78342e;
    background: #fff4f2;
}

.contact-form-alert ul {
    margin: 6px 0 0;
    padding-left: 20px;
}

.contact-form-alert a {
    text-decoration: underline;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.contact-form__field {
    display: grid;
    gap: 7px;
}

.contact-form__field--wide {
    grid-column: 1 / -1;
}

.contact-form__field--honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__field label {
    color: var(--petrol-dark);
    font-size: .875rem;
    font-weight: 750;
}

.contact-form__field label > span,
.contact-form__field small {
    color: var(--muted);
    font-weight: 400;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #bacbce;
    border-radius: 4px;
    color: var(--ink);
    background: var(--white);
    font-size: 1rem;
}

.contact-form__field textarea {
    min-height: 164px;
    resize: vertical;
    line-height: 1.55;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    border-color: var(--turquoise);
    outline: 3px solid rgba(58, 154, 165, .16);
}

.contact-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    color: var(--muted);
    cursor: pointer;
    font-size: .875rem;
}

.contact-form__consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--petrol);
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.contact-form__footer p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
}

.contact-form__footer .button {
    min-width: 190px;
}

.site-footer {
    padding: 38px 0 0;
    color: rgba(255, 255, 255, .86);
    background: linear-gradient(120deg, var(--petrol-dark), #007b8e);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .78fr 1fr .9fr 1.18fr;
    gap: 36px;
}

.brand--footer {
    color: var(--white);
    font-size: .92rem;
}

.brand--footer img {
    width: 70px;
    height: 70px;
    background: var(--white);
}

.footer-brand p {
    max-width: 190px;
    font-size: .8rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 3px;
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
}

.footer-grid h2 {
    margin: 5px 0 15px;
    color: var(--white);
    font-size: .85rem;
}

.footer-grid nav a {
    display: block;
    margin: .55rem 0;
    font-size: .76rem;
}

.footer-grid nav a:hover {
    text-decoration: underline;
}

.footer-contact p {
    display: grid;
    grid-template-columns: 20px 1fr;
    margin: .65rem 0;
    font-size: .74rem;
}

.footer-contact span {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    margin-top: 38px;
    border-top: 1px solid rgba(255, 255, 255, .24);
    font-size: .75rem;
}

.footer-bottom div {
    display: flex;
    gap: 16px;
}

@media (max-width: 1080px) {
    .site-header__inner {
        gap: 1rem;
    }

    .brand {
        font-size: .9rem;
    }

    .brand img {
        width: 64px;
        height: 64px;
    }

    .main-nav a,
    .main-nav button {
        padding-inline: .55rem;
        font-size: .66rem;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-card__image {
        min-height: 120px;
    }
}

@media (max-width: 980px) {
    .site-header__inner {
        min-height: 92px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 128px);
        overflow-y: auto;
        border-top: 1px solid var(--border);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav > ul {
        display: block;
        width: min(calc(100% - 40px), var(--container));
        margin-inline: auto;
        padding: 10px 0 20px;
    }

    .main-nav a,
    .main-nav button {
        width: 100%;
        min-height: 46px;
        padding: .65rem 0;
        justify-content: space-between;
        text-align: left;
        font-size: .82rem;
    }

    .submenu {
        position: static;
        min-width: 0;
        padding: 0 0 5px 20px;
        border: 0;
        box-shadow: none;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card:last-child {
        grid-column: 1 / -1;
        grid-template-columns: 36% 64%;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 490px;
        background-position: 68% center;
    }

    .hero__content {
        padding-top: 78px;
    }

    .hero h1 {
        max-width: 520px;
        font-size: clamp(2.35rem, 8vw, 3.2rem);
    }

    .hero__content > p:not(.eyebrow) {
        font-size: 1.05rem;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .college-panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .college-panel__image {
        min-height: 250px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-inline: 0;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-panel__content {
        padding: 38px;
    }

    .contact-map {
        min-height: 330px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .utility-bar__inner {
        justify-content: center;
    }

    .site-header__inner {
        min-height: 82px;
    }

    .brand {
        gap: 9px;
        font-size: .8rem;
    }

    .brand img {
        width: 54px;
        height: 54px;
    }

    .menu-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .hero {
        min-height: 510px;
        background-position: 71% center;
    }

    .hero::before {
        position: absolute;
        inset: 0;
        background: rgba(3, 48, 56, .36);
        content: "";
    }

    .hero__content {
        padding-top: 70px;
    }

    .hero h1 br {
        display: none;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 290px);
    }

    .quick-access {
        margin-top: -34px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quick-card {
        min-height: 86px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .news-grid,
    .news-card:last-child {
        grid-template-columns: 1fr;
    }

    .news-card,
    .news-card:last-child {
        display: grid;
        grid-template-columns: 38% 62%;
    }

    .news-card__image {
        min-height: 170px;
    }

    .panel {
        padding: 22px 18px;
    }

    .panel-title {
        align-items: flex-start;
    }

    .round-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .arrow-list,
    .document-list,
    .events-list {
        margin-left: 0;
    }

    .list-panel > .button {
        margin-left: 0;
    }

    .directors {
        gap: 6px;
    }

    .director__photo {
        width: 68px;
        height: 68px;
    }

    .partners-grid {
        gap: 12px;
    }

    .contact-panel {
        border-radius: 7px;
    }

    .contact-panel__content {
        padding: 34px 22px 30px;
    }

    .contact-panel h2 {
        font-size: 1.7rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-detail:nth-child(odd) {
        margin-right: 0;
    }

    .contact-panel__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .contact-panel__actions .button {
        justify-content: center;
    }

    .contact-map {
        min-height: 300px;
    }

    .contact-map__card {
        right: 18px;
        bottom: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding-block: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Buscar un abogado */
.lawyer-search-page {
    background: var(--white);
}

.search-hero {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 86% 48%, transparent 0 74px, rgba(255, 255, 255, .08) 75px 77px, transparent 78px),
        linear-gradient(105deg, var(--petrol-dark), #007789);
}

.search-hero::after {
    position: absolute;
    right: 5%;
    bottom: -86px;
    width: 270px;
    height: 270px;
    border: 3px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    content: "";
}

.breadcrumbs {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 35px;
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
}

.breadcrumbs a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
    color: var(--white);
    font-weight: 700;
}

.search-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 20px 0 70px;
}

.search-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.3rem, 5vw, 3.45rem);
    line-height: 1.1;
}

.search-hero p {
    margin: 3px 0;
    color: rgba(255, 255, 255, .88);
}

.search-content {
    padding-bottom: 64px;
}

.lawyer-filters {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 42px;
    margin-top: -60px;
    padding: 42px 42px 34px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(18, 54, 61, .1);
}

.lawyer-filters--directory {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
    align-items: end;
}

.lawyer-filters--directory .filter-actions {
    grid-column: 1 / -1;
    gap: 28px;
}

.form-field label {
    display: block;
    margin-bottom: 10px;
    font-size: .82rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.sort-form select {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid #cbd7da;
    border-radius: 5px;
    color: var(--ink);
    background: var(--white);
}

.form-field input::placeholder {
    color: #8a969b;
}

.filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
}

.clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--petrol);
    font-size: .82rem;
    font-weight: 700;
}

.clear-filters span {
    font-size: 1.45rem;
}

.search-submit {
    min-width: 172px;
    gap: 9px;
}

.search-submit span {
    font-size: 1.45rem;
    line-height: 0;
}

.results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 52px 2px 20px;
}

.results-heading h2 {
    margin: 0;
    color: var(--petrol-dark);
    font-size: 1.75rem;
}

.results-heading p {
    margin: 2px 0 0;
    color: var(--muted);
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-form label {
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 700;
}

.sort-form select {
    width: 180px;
    min-height: 46px;
}

.sort-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.lawyer-list {
    display: grid;
    gap: 12px;
}

.lawyer-card {
    display: grid;
    grid-template-columns: 82px minmax(280px, 1.25fr) minmax(180px, .72fr) 176px;
    align-items: center;
    min-height: 128px;
    padding: 18px 24px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(18, 54, 61, .06);
}

.lawyer-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: var(--petrol);
    background: #eaf5f5;
    font-size: 1.25rem;
    font-weight: 700;
}

.lawyer-card__identity {
    align-self: stretch;
    padding: 6px 30px 6px 8px;
    border-right: 1px solid #e5ecee;
}

.lawyer-card h3 {
    margin: 0 0 4px;
    color: #202a2e;
    font-size: 1.02rem;
}

.lawyer-card p,
.public-profile p {
    margin: 4px 0;
    color: var(--muted);
    font-size: .84rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: #35a91f;
}

.meta-icon {
    display: inline-block;
    width: 18px;
    margin-right: 7px;
    color: #68777d;
}

.lawyer-card__location {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 10px;
    margin: 0 !important;
    padding: 0 30px;
    border-right: 1px solid #e5ecee;
}

.lawyer-card__location span {
    color: var(--petrol);
    font-size: 1.7rem;
}

.lawyer-card__actions {
    display: grid;
    gap: 8px;
    padding-left: 24px;
}

.public-profile__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 14px;
}

.public-profile__contacts strong {
    flex-basis: 100%;
    color: var(--petrol-dark);
    font-size: .78rem;
}

.public-profile__contacts a {
    color: var(--petrol);
    font-size: .84rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lawyer-card__actions .button {
    min-height: 42px;
    gap: 8px;
    padding: .55rem .8rem;
    text-transform: none;
    font-size: .8rem;
}

.button--outline {
    border-color: var(--petrol);
    color: var(--petrol);
    background: var(--white);
}

.button--outline:hover {
    color: var(--white);
    background: var(--petrol);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 34px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 5px;
    color: var(--petrol);
    font-weight: 700;
}

.pagination a:first-child,
.pagination a:last-child,
.pagination .is-disabled {
    border: 1px solid var(--border);
    font-size: 1.35rem;
}

.pagination .is-current {
    color: var(--white);
    background: var(--petrol);
    box-shadow: 0 3px 10px rgba(11, 102, 117, .2);
}

.pagination .is-disabled {
    color: #a9b5b9;
}

.directory-notice {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    gap: 26px;
    margin-top: 26px;
    padding: 26px 34px;
    border: 1px solid #8ccbd2;
    border-radius: 8px;
    background: #f5fbfb;
}

.directory-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 4px solid var(--petrol);
    border-radius: 50%;
    color: var(--petrol);
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
}

.directory-notice div {
    padding-left: 28px;
    border-left: 1px solid var(--petrol);
}

.directory-notice h2 {
    margin: 0 0 6px;
    color: var(--petrol);
    font-size: .92rem;
}

.directory-notice p {
    margin: 3px 0;
    color: #3f4e54;
    font-size: .82rem;
}

.demo-note {
    margin: 12px 2px 0;
    color: #8b979c;
    font-size: .72rem;
}

.empty-results {
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--ice);
    text-align: center;
}

.empty-results h3 {
    margin: 0;
    color: var(--petrol-dark);
}

.empty-results p {
    color: var(--muted);
}

.public-profile {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 22px;
    margin: 34px 0 -20px;
    padding: 26px 30px;
    border: 1px solid #95cbd1;
    border-left: 5px solid var(--petrol);
    border-radius: 7px;
    background: #f7fbfb;
}

.lawyer-profile-dialog.ui-dialog-content {
    max-height: calc(100vh - 150px) !important;
    margin: 0;
    padding: 30px 32px;
    overflow-y: auto;
    border: 0;
    border-left: 5px solid var(--petrol);
    border-radius: 0;
}

.lawyer-profile-modal.ui-dialog {
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(3, 37, 43, .34);
}

.lawyer-profile-modal .ui-dialog-titlebar {
    padding: 17px 22px;
    border: 0;
    border-radius: 0;
    color: var(--white);
    background: var(--petrol-dark);
}

.lawyer-profile-modal .ui-dialog-title {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: .95rem;
    font-weight: 700;
}

.lawyer-profile-modal .ui-dialog-titlebar-close {
    top: 50%;
    right: 16px;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: var(--white);
}

.lawyer-profile-modal .ui-dialog-buttonpane {
    margin: 0;
    padding: 14px 22px 18px;
    border: 0;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.lawyer-profile-modal .ui-dialog-buttonpane button {
    min-width: 110px;
    min-height: 44px;
    margin: 0;
    border: 1px solid var(--petrol);
    border-radius: 4px;
    color: var(--white);
    background: var(--petrol);
    font-weight: 700;
}

.lawyer-profile-modal .ui-dialog-buttonpane button:hover {
    background: var(--petrol-dark);
}

body > .ui-widget-overlay {
    position: fixed;
    background: #052f36;
    opacity: .72;
}

.public-profile__eyebrow {
    color: var(--petrol) !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .68rem !important;
    font-weight: 800;
}

.public-profile h2 {
    margin: 0;
    font-size: 1.35rem;
}

.public-profile dl {
    display: flex;
    gap: 32px;
    margin: 14px 0 0;
}

.public-profile dl div {
    display: grid;
}

.public-profile dt {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.public-profile dd {
    margin: 1px 0 0;
    font-size: .85rem;
    font-weight: 700;
}

.public-profile__close {
    color: var(--petrol);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .lawyer-filters {
        grid-template-columns: 1fr 1fr;
    }

    .lawyer-filters .form-field:first-child {
        grid-column: 1 / -1;
    }

    .lawyer-filters--directory {
        grid-template-columns: 1fr;
    }

    .lawyer-filters--directory .filter-actions {
        grid-column: 1 / -1;
    }

    .lawyer-card {
        grid-template-columns: 72px 1fr 160px;
    }

    .lawyer-card__identity {
        border-right: 0;
    }

    .lawyer-card__location {
        grid-column: 2;
        align-self: auto;
        padding: 0 8px;
        border: 0;
    }

    .lawyer-card__actions {
        grid-column: 3;
        grid-row: 1 / span 2;
        padding-left: 18px;
        border-left: 1px solid #e5ecee;
    }
}

@media (max-width: 640px) {
    .search-hero {
        min-height: 320px;
    }

    .search-hero__copy {
        padding-bottom: 78px;
    }

    .search-hero h1 {
        font-size: 2.35rem;
    }

    .search-hero p {
        font-size: .9rem;
    }

    .lawyer-filters {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: -46px;
        padding: 28px 20px 24px;
    }

    .lawyer-filters .form-field:first-child {
        grid-column: auto;
    }

    .filter-actions,
    .results-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-actions {
        gap: 10px;
    }

    .search-submit {
        width: 100%;
    }

    .results-heading {
        margin-top: 38px;
    }

    .sort-form {
        align-items: flex-start;
        flex-direction: column;
    }

    .sort-form select {
        width: 100%;
    }

    .lawyer-card {
        grid-template-columns: 64px 1fr;
        gap: 8px 12px;
        padding: 20px 18px;
    }

    .lawyer-avatar {
        width: 56px;
        height: 56px;
    }

    .lawyer-card__identity {
        padding: 0;
    }

    .lawyer-card__location {
        grid-column: 2;
        padding: 0;
    }

    .lawyer-card__actions {
        grid-column: 1 / -1;
        grid-row: auto;
        grid-template-columns: 1fr 1fr;
        margin-top: 10px;
        padding: 14px 0 0;
        border-top: 1px solid #e5ecee;
        border-left: 0;
    }

    .directory-notice {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 20px;
    }

    .directory-notice div {
        padding: 16px 0 0;
        border-top: 1px solid var(--petrol);
        border-left: 0;
    }

    .public-profile {
        grid-template-columns: 64px 1fr;
        padding: 22px 18px;
    }

    .lawyer-profile-dialog.ui-dialog-content {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 24px 18px;
    }

    .public-profile__close {
        grid-column: 1 / -1;
    }

    .public-profile dl {
        flex-direction: column;
        gap: 10px;
    }
}

/* Directorio y Consejo */
.governance-page {
    background: var(--white);
}

.governance-hero {
    position: relative;
    overflow: hidden;
    min-height: 245px;
    padding: 44px 0 48px;
    color: var(--white);
    background: linear-gradient(100deg, var(--petrol) 0%, #087584 100%);
}

.governance-hero .container {
    position: relative;
    z-index: 1;
}

.governance-hero::after {
    position: absolute;
    right: 5%;
    bottom: -112px;
    width: 340px;
    height: 336px;
    background: url("../../imagenes/logo_colegio.png") center / contain no-repeat;
    content: "";
    opacity: .2;
    pointer-events: none;
}

.breadcrumbs--light,
.breadcrumbs--light a,
.breadcrumbs--light [aria-current="page"] {
    color: rgba(255, 255, 255, .88);
}

.governance-hero h1 {
    position: relative;
    z-index: 1;
    margin: 18px 0 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.08;
}

.governance-hero p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, .9);
}

.governance-intro {
    padding: 48px 0 34px;
}

.governance-intro__inner {
    max-width: 790px;
    text-align: center;
}

.governance-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 500px;
    margin: 0 auto 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 7px;
}

.governance-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: var(--muted);
    font-family: Georgia, "Times New Roman", serif;
}

.governance-switcher a:hover,
.governance-switcher .is-active {
    color: var(--white);
    background: var(--petrol);
}

.governance-period {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: .9rem;
}

.governance-intro__inner > p:not(.governance-period) {
    margin: 3px auto;
    color: var(--muted);
    font-size: .9rem;
}

.governance-section {
    padding: 28px 0 42px;
    scroll-margin-top: 30px;
}

.governance-section--council {
    padding-top: 38px;
    background: var(--ice);
}

.governance-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 6px 26px;
}

.governance-heading h2,
.function-panel h2 {
    position: relative;
    margin: 0;
    padding-bottom: 13px;
    color: var(--petrol);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.2;
}

.governance-heading h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--turquoise);
    content: "";
}

.governance-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
}

.governance-heading--stacked {
    display: block;
}

.governance-heading--stacked > p {
    max-width: 780px;
    margin-top: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .93rem;
}

.president-card {
    display: grid;
    grid-template-columns: 176px 1fr;
    align-items: center;
    max-width: 580px;
    min-height: 210px;
    margin: 0 auto 18px;
    padding: 18px 28px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 3px 12px rgba(18, 54, 61, .05);
}

.authority-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin: 0 auto;
    border: 7px solid #e2e8e9;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(145deg, var(--petrol), var(--petrol-deep));
    object-fit: cover;
    object-position: center top;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    letter-spacing: .03em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.authority-avatar--large {
    width: 148px;
    height: 148px;
    font-size: 2.1rem;
}

.authority-role {
    margin: 0 0 4px;
    color: var(--petrol);
    font-size: .86rem;
    font-weight: 650;
}

.president-card h3,
.authority-card h3,
.council-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.president-card h3 {
    color: var(--ink);
    font-size: 1.55rem;
}

.president-card div:last-child > p:last-child {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: .82rem;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.authority-card {
    min-height: 292px;
    padding: 20px 12px 18px;
    border: 1px solid var(--border);
    border-radius: 7px;
    text-align: center;
    background: var(--white);
    box-shadow: 0 3px 12px rgba(18, 54, 61, .05);
}

.authority-card .authority-role {
    margin-top: 12px;
}

.authority-card h3 {
    min-height: 58px;
    font-size: 1.16rem;
    line-height: 1.2;
}

.authority-card a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    color: var(--petrol);
    font-size: .8rem;
}

.council-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 22px;
}

.council-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    min-height: 102px;
    padding: 10px 18px 10px 8px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(18, 54, 61, .04);
}

.authority-avatar--small {
    width: 76px;
    height: 76px;
    border-width: 5px;
    font-size: 1.05rem;
}

.council-card h3 {
    font-size: 1rem;
}

.council-card p,
.council-card small {
    display: block;
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .76rem;
}

.governance-center {
    margin-top: 25px;
    text-align: center;
}

.governance-center .button span,
.statutes-callout .button span {
    margin-left: 18px;
    font-size: 1.05rem;
}

.governance-functions {
    padding: 40px 0 24px;
}

.functions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.function-panel {
    min-height: 290px;
    padding: 24px 30px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
}

.function-panel h2 {
    padding: 0;
    text-align: center;
    font-size: 1.45rem;
}

.function-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.function-list li {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 13px;
}

.function-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--white);
    background: var(--petrol);
}

.function-icon::before {
    display: block;
    width: 25px;
    height: 25px;
    background-color: currentColor;
    content: "";
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.function-icon--administration::before {
    -webkit-mask-image: url("../icons/users.svg");
    mask-image: url("../icons/users.svg");
}

.function-icon--standards::before {
    -webkit-mask-image: url("../icons/file-text.svg");
    mask-image: url("../icons/file-text.svg");
}

.function-icon--development::before {
    -webkit-mask-image: url("../icons/handshake.svg");
    mask-image: url("../icons/handshake.svg");
}

.function-icon--advice::before {
    -webkit-mask-image: url("../icons/users-round.svg");
    mask-image: url("../icons/users-round.svg");
}

.function-icon--representation::before {
    -webkit-mask-image: url("../icons/message-square.svg");
    mask-image: url("../icons/message-square.svg");
}

.function-icon--strategy::before {
    -webkit-mask-image: url("../icons/chart-growth.svg");
    mask-image: url("../icons/chart-growth.svg");
}

.function-list p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
}

.statutes-callout {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding: 13px 18px;
    border: 1px solid #cce3e5;
    border-radius: 7px;
    background: #eaf6f7;
}

.statutes-callout__icon {
    color: var(--petrol);
    font-size: 1.9rem;
}

.statutes-callout p {
    margin: 0;
    color: var(--petrol-dark);
    font-size: .8rem;
}

.statutes-callout .button {
    min-height: 38px;
    padding: .5rem 1rem;
}

@media (max-width: 900px) {
    .board-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .council-grid,
    .functions-grid {
        grid-template-columns: 1fr;
    }

    .statutes-callout {
        grid-template-columns: 42px 1fr;
    }

    .statutes-callout .button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .governance-hero {
        min-height: 230px;
        padding-top: 30px;
    }

    .governance-hero::after {
        right: -105px;
        bottom: -82px;
        width: 275px;
        height: 272px;
        opacity: .16;
    }

    .governance-hero h1 {
        margin-top: 28px;
        font-size: 2.45rem;
    }

    .governance-intro {
        padding-top: 34px;
    }

    .governance-switcher {
        width: 100%;
    }

    .governance-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .president-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px;
        text-align: center;
    }

    .board-grid {
        grid-template-columns: 1fr 1fr;
    }

    .authority-card {
        min-height: 270px;
        padding-inline: 8px;
    }

    .authority-avatar {
        width: 92px;
        height: 92px;
    }

    .authority-avatar--large {
        width: 132px;
        height: 132px;
    }

    .council-card {
        grid-template-columns: 76px 1fr;
        padding-right: 10px;
    }

    .authority-avatar--small {
        width: 64px;
        height: 64px;
    }

    .function-panel {
        padding: 24px 20px;
    }

    .statutes-callout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .statutes-callout .button {
        grid-column: auto;
        justify-self: stretch;
    }
}

@media (max-width: 420px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
}

/* El Colegio / Historia */
.college-history-page { background: var(--white); }
.college-history-page h2,
.college-history-page h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.college-history-hero {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    padding: 48px 0 52px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(4, 68, 78, .94), rgba(4, 78, 89, .73) 55%, rgba(4, 78, 89, .4)),
        url("../images/hero-justicia.png") center 42% / cover no-repeat;
}

.college-history-hero::after,
.commitment-section::after {
    position: absolute;
    background: url("../../imagenes/logo_colegio.png") center / contain no-repeat;
    content: "";
    pointer-events: none;
}

.college-history-hero::after {
    right: -38px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    opacity: .1;
}

.college-history-hero .container { position: relative; z-index: 1; }
.college-history-hero h1 {
    position: relative;
    width: max-content;
    margin: 25px 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5vw, 4.25rem);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1;
}

.college-history-hero h1::after {
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 55px;
    height: 3px;
    background: #58c2ca;
    content: "";
}

.college-history-hero > .container > p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, .93);
    font-size: 1.05rem;
}

.college-intro { padding: 58px 0; }
.college-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 54px;
}

.college-intro__copy h2,
.history-timeline-section h2,
.principles-section > .container > h2,
.organization-section > .container > h2 {
    margin: 0 0 20px;
    color: var(--petrol-dark);
    font-size: clamp(1.8rem, 3.2vw, 2.25rem);
    line-height: 1.15;
}

.college-intro__copy > p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: .9rem;
}

.college-intro__image {
    min-height: 410px;
    margin: 0;
    overflow: hidden;
    border-radius: 7px;
    background: #e8e3da;
}

.college-intro__image img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
}

.foundation-badge {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 265px;
    gap: 20px;
    margin-top: 30px;
    padding: 18px 25px;
    border-radius: 6px;
    color: var(--petrol);
    background: linear-gradient(135deg, #f6f8f8, #edf1f1);
}

.foundation-badge__icon {
    width: 54px;
    height: 54px;
    background: var(--petrol);
    -webkit-mask: url("../icons/scale.svg") center / contain no-repeat;
    mask: url("../icons/scale.svg") center / contain no-repeat;
}

.foundation-badge span:last-child {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.15;
}

.foundation-badge strong {
    display: block;
    font-size: 2.25rem;
    font-weight: 400;
}

.history-timeline-section {
    padding: 46px 0 52px;
    background: #f4f6f6;
    scroll-margin-top: 24px;
}

.history-timeline-section h2,
.principles-section > .container > h2 { text-align: center; }
.history-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.history-timeline::before {
    position: absolute;
    top: 30px;
    right: 12%;
    left: 12%;
    height: 1px;
    background: #93a9ad;
    content: "";
}

.history-timeline li {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    text-align: center;
}

.timeline-icon,
.principle-icon,
.commitment-icon,
.membership-callout__icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: var(--white);
    background-color: var(--petrol);
}

.timeline-icon::before,
.principle-icon::before,
.commitment-icon::before,
.membership-callout__icon::before {
    display: block;
    width: 30px;
    height: 30px;
    margin: auto;
    background-color: currentColor;
    content: "";
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.timeline-icon--calendar::before,
.commitment-icon--calendar::before {
    -webkit-mask-image: url("../icons/calendar-days.svg");
    mask-image: url("../icons/calendar-days.svg");
}

.timeline-icon--community::before,
.principle-icon--guild::before,
.commitment-icon--representation::before,
.membership-callout__icon::before {
    -webkit-mask-image: url("../icons/users-round.svg");
    mask-image: url("../icons/users-round.svg");
}

.timeline-icon--ethics::before,
.principle-icon--ethics::before {
    -webkit-mask-image: url("../icons/scale.svg");
    mask-image: url("../icons/scale.svg");
}

.timeline-icon--future::before,
.commitment-icon--service::before {
    -webkit-mask-image: url("../icons/handshake.svg");
    mask-image: url("../icons/handshake.svg");
}

.history-timeline h3 {
    min-height: 65px;
    margin: 14px 0 5px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.35;
}

.history-timeline h3 strong {
    display: block;
    color: var(--petrol);
    font-size: 1.2rem;
}

.history-timeline p {
    max-width: 230px;
    margin: 0 auto;
    color: var(--muted);
    font-size: .78rem;
}

.history-timeline__action {
    margin-top: 40px;
    text-align: center;
}

.history-timeline__action .button span,
.organization-card .button span,
.membership-callout span[aria-hidden="true"] {
    margin-left: 16px;
    font-size: 1.15rem;
}

.principles-section { padding: 54px 0 62px; }
.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.principles-grid article {
    min-height: 220px;
    padding: 25px 20px 20px;
    border: 1px solid var(--border);
    border-radius: 7px;
    text-align: center;
    background: var(--white);
}

.principle-icon {
    width: 58px;
    height: 58px;
    border: 2px solid var(--petrol);
    color: var(--petrol);
    background: var(--white);
}

.principle-icon--excellence::before {
    -webkit-mask-image: url("../icons/file-text.svg");
    mask-image: url("../icons/file-text.svg");
}

.principle-icon--community::before {
    -webkit-mask-image: url("../icons/users.svg");
    mask-image: url("../icons/users.svg");
}

.principles-grid h3 {
    margin: 13px 0 5px;
    color: var(--petrol);
    font-size: 1.08rem;
}

.principles-grid p {
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
}

.commitment-section {
    position: relative;
    overflow: hidden;
    padding: 38px 0;
    color: var(--white);
    background: linear-gradient(105deg, var(--petrol-dark), #057889);
}

.commitment-section::after {
    right: 4%;
    bottom: -100px;
    width: 270px;
    height: 270px;
    opacity: .08;
}

.commitment-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    align-items: center;
}

.commitment-copy { padding-right: 42px; }
.commitment-copy h2 { margin: 0 0 10px; font-size: 1.8rem; }
.commitment-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: .82rem;
}

.commitment-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 125px;
    gap: 12px;
    padding: 0 22px;
    border-left: 1px solid rgba(255, 255, 255, .4);
    text-align: center;
}

.commitment-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    background: transparent;
}

.commitment-icon::before { width: 35px; height: 35px; }
.commitment-stat p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
}

.commitment-stat strong,
.commitment-stat small { display: block; }
.commitment-stat strong { font-size: 1.25rem; font-weight: 400; }
.commitment-stat small {
    margin-top: 5px;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: .7rem;
    line-height: 1.35;
}

.organization-section { padding: 48px 0 55px; }
.organization-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.organization-card {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 210px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #f6f7f7;
}

.organization-card__image {
    min-height: 210px;
    background: url("../images/colegio-interior.webp") 18% center / cover no-repeat;
    filter: saturate(.65);
}

.organization-card__image--council {
    background:
        linear-gradient(rgba(8, 78, 89, .12), rgba(8, 78, 89, .12)),
        url("../images/hero-justicia.png") 70% center / cover no-repeat;
}

.organization-card > div:last-child { padding: 26px 24px; }
.organization-card h3 {
    margin: 0 0 7px;
    color: var(--petrol-dark);
    font-size: 1.2rem;
}

.organization-card p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: .78rem;
}

.organization-card .button {
    min-height: 40px;
    padding: .55rem .9rem;
    text-transform: none;
    font-size: .72rem;
}

.membership-callout {
    padding: 22px 0;
    border-top: 1px solid #d9eeee;
    background: linear-gradient(90deg, #f2fbfb, #e9f7f8);
}

.membership-callout__inner {
    display: grid;
    grid-template-columns: 65px 1fr 230px;
    align-items: center;
    gap: 22px;
}

.membership-callout__icon {
    width: 62px;
    height: 62px;
    border: 1px solid #96cbd0;
    color: var(--petrol);
    background: transparent;
}

.membership-callout h2 {
    margin: 0 0 2px;
    color: var(--petrol-dark);
    font-size: 1.45rem;
}

.membership-callout p { margin: 0; color: var(--muted); font-size: .78rem; }
.membership-callout__actions { display: grid; gap: 6px; }
.membership-callout__actions .button {
    min-height: 40px;
    padding: .55rem .9rem;
    text-transform: none;
}

.membership-callout__actions > a:last-child {
    display: flex;
    justify-content: space-between;
    padding: 4px 12px;
    color: var(--petrol);
    font-size: .75rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .college-intro__grid { gap: 32px; }
    .college-intro__image,
    .college-intro__image img { min-height: 360px; height: 360px; }
    .history-timeline { grid-template-columns: 1fr 1fr; gap: 40px 10px; }
    .history-timeline::before { display: none; }
    .principles-grid { grid-template-columns: 1fr 1fr; }
    .commitment-grid { grid-template-columns: 1fr 1fr; }
    .commitment-copy {
        grid-column: 1 / -1;
        padding: 0 0 25px;
        text-align: center;
    }
    .commitment-stat:nth-of-type(2) { border-left: 0; }
    .organization-card { grid-template-columns: 1fr; }
    .organization-card__image { min-height: 180px; }
}

@media (max-width: 640px) {
    .college-history-hero { min-height: 270px; padding: 34px 0 40px; }
    .college-history-hero h1 { margin-top: 32px; }
    .college-history-hero > .container > p { max-width: 90%; font-size: .92rem; }
    .college-intro { padding: 42px 0; }
    .college-intro__grid { grid-template-columns: 1fr; }
    .college-intro__image { grid-row: 1; }
    .college-intro__image,
    .college-intro__image img { min-height: 270px; height: 270px; }
    .foundation-badge { width: 100%; min-width: 0; }
    .history-timeline,
    .principles-grid,
    .commitment-grid,
    .organization-grid,
    .membership-callout__inner { grid-template-columns: 1fr; }
    .history-timeline li { padding-inline: 5px; }
    .history-timeline h3 { min-height: 0; }
    .principles-grid article { min-height: 0; }
    .commitment-stat { border-top: 1px solid rgba(255, 255, 255, .35); border-left: 0; }
    .organization-card { grid-template-columns: 42% 58%; }
    .organization-card__image { min-height: 230px; }
    .organization-card > div:last-child { padding: 22px 18px; }
    .membership-callout__inner { gap: 12px; text-align: center; }
    .membership-callout__icon { margin-inline: auto; }
}

@media (max-width: 430px) {
    .organization-card { grid-template-columns: 1fr; }
    .organization-card__image { min-height: 180px; }
}

/* Noticias */
.news-page { background: #fbfcfc; }

.news-hero {
    position: relative;
    overflow: hidden;
    padding: 21px 0 18px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(3, 66, 77, .94), rgba(3, 76, 87, .79)),
        url("../images/colegio-interior.webp") center / cover no-repeat;
}

.news-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: end;
    gap: 48px;
    min-height: 164px;
}

.news-breadcrumb { margin: 0 0 17px; color: rgba(255, 255, 255, .78); font-size: .72rem; font-weight: 700; }
.news-breadcrumb span { margin: 0 9px; }
.news-hero .eyebrow { margin: 0 0 7px; color: #bde8ec; }
.news-hero h1 { position: relative; display: inline-block; margin: 0; padding-bottom: 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 5vw, 3.55rem); font-weight: 400; line-height: 1; }
.news-hero h1::after { position: absolute; bottom: 0; left: 0; width: 67px; height: 2px; background: #a2e0e5; content: ""; }
.news-hero h1 + p { margin: 11px 0 0; color: rgba(255, 255, 255, .92); font-size: .9rem; }

.news-hero__callout { position: relative; padding: 18px 58px 17px 18px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 6px; background: rgba(148, 211, 216, .16); }
.news-hero__callout strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.23rem; font-weight: 400; line-height: 1.08; }
.news-hero__callout p { margin: 10px 0 0; font-size: .73rem; line-height: 1.4; }
.news-hero__icon { position: absolute; top: 20px; right: 17px; display: grid; width: 37px; height: 37px; place-items: center; border: 2px solid rgba(255, 255, 255, .7); border-radius: 5px; font-size: 1.4rem; }

.news-content { padding: 19px 0 52px; background: linear-gradient(130deg, #fff 20%, #f6f9f9 100%); }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 237px; gap: 16px; align-items: start; }
.news-main { min-width: 0; }

.news-featured { display: grid; grid-template-columns: 53% 47%; overflow: hidden; min-height: 194px; border: 1px solid #e0e8e9; border-radius: 7px; background: var(--white); box-shadow: 0 4px 16px rgba(18, 54, 61, .05); }
.news-featured__image { min-height: 194px; }
.news-featured__body { display: flex; flex-direction: column; padding: 16px 24px 14px; }
.news-meta { display: flex; align-items: center; gap: 11px; color: #6b7d83; font-size: .62rem; }
.news-meta > span { padding: 3px 10px; border-radius: 12px; color: var(--white); background: var(--petrol); text-transform: uppercase; font-size: .56rem; font-weight: 800; letter-spacing: .04em; }
.news-meta time { white-space: nowrap; }
.news-featured h2, .news-list-card h2 { margin: 8px 0 7px; color: #0c405a; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.07; }
.news-featured h2 { font-size: 1.4rem; }
.news-featured p, .news-list-card p { margin: 0; color: #6a7a80; font-size: .72rem; line-height: 1.38; }
.news-read { display: inline-flex; align-items: center; gap: 10px; width: max-content; margin-top: auto; padding: 7px 13px; border-radius: 4px; color: var(--white); background: var(--petrol); font-size: .65rem; font-weight: 800; }
.news-read:hover { background: var(--petrol-dark); }

.news-toolbar { display: grid; grid-template-columns: 1.35fr .83fr .78fr; gap: 7px; margin: 12px 0 14px; }
.news-search, .news-select { display: flex; align-items: center; min-height: 36px; padding: 0 11px; border: 1px solid #d7e1e3; border-radius: 5px; color: #17697a; background: var(--white); }
.news-search span, .news-select span { margin-right: 9px; font-size: 1rem; }
.news-search input, .news-select select { width: 100%; border: 0; outline: 0; color: #687b82; background: transparent; font-size: .66rem; }
.news-select select { appearance: auto; cursor: pointer; }

.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.news-list-card { display: flex; flex-direction: column; overflow: hidden; min-height: 270px; border: 1px solid #e0e8e9; border-radius: 6px; background: var(--white); box-shadow: 0 3px 11px rgba(18, 54, 61, .04); }
.news-list-card__image { min-height: 87px; }
.news-list-card__body { display: flex; flex: 1; flex-direction: column; padding: 9px 12px 11px; }
.news-list-card .news-meta { gap: 5px; font-size: .52rem; }
.news-list-card .news-meta > span { padding: 3px 7px; font-size: .48rem; }
.news-list-card h2 { font-size: .84rem; }
.news-list-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .62rem; }
.news-list-card .news-read { padding: 0; color: var(--petrol); background: transparent; font-size: .59rem; }
.news-empty { padding: 24px; color: var(--muted); text-align: center; }
.news-empty--initial { display: grid; min-height: 260px; place-content: center; padding: 42px 24px; border: 1px solid #dce6e8; border-radius: 7px; background: var(--white); }
.news-empty--initial > span { display: grid; width: 50px; height: 50px; margin: 0 auto 12px; place-items: center; border-radius: 50%; color: var(--white); background: var(--petrol); font-size: 1.35rem; }
.news-empty--initial h2 { margin: 0; color: #0c405a; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 400; }
.news-empty--initial p { max-width: 430px; margin: 7px 0 0; font-size: .82rem; }

.news-side-panel { margin-bottom: 16px; padding: 13px 11px 12px; border: 1px solid #dce6e8; border-radius: 6px; background: var(--white); }
.news-side-panel h2 { margin: 0 0 9px; padding-top: 7px; border-top: 2px solid var(--turquoise); color: var(--petrol); text-transform: uppercase; font-size: .63rem; letter-spacing: .04em; }
.news-side-panel > a:not(.news-recent__item):not(.news-recent__all) { display: flex; align-items: center; gap: 11px; min-height: 29px; padding: 6px 8px; border-radius: 4px; color: #315b69; font-size: .64rem; }
.news-side-panel > a.is-active, .news-side-panel > a:hover { background: #eaf4f5; color: var(--petrol); font-weight: 700; }
.news-side-panel > a > span { color: var(--petrol); font-size: 1rem; }
.news-recent { padding-bottom: 9px; }
.news-recent__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 9px; padding: 7px 0; color: #15465e; }
.news-recent__image { min-height: 46px; border-radius: 2px; background-size: cover; background-position: center; }
.news-recent__item strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: .61rem; line-height: 1.15; }
.news-recent__item time { display: block; margin-top: 4px; color: #66808a; font-size: .54rem; }
.news-recent__all { display: inline-block; margin-top: 11px; color: var(--petrol); font-size: .61rem; font-weight: 800; }

.news-image--auditorium { background: linear-gradient(120deg, rgba(3, 52, 61, .1), rgba(3, 52, 61, .34)), url("../images/colegio-interior.webp") center / cover no-repeat; }
.news-image--document { background: linear-gradient(120deg, rgba(3, 52, 61, .09), rgba(3, 52, 61, .2)), url("../images/hero-justicia.png") 22% 40% / cover no-repeat; }
.news-image--columns { background: linear-gradient(120deg, rgba(3, 52, 61, .1), rgba(3, 52, 61, .25)), url("../images/hero-justicia.png") 76% 55% / cover no-repeat; }
.news-image--scales { background: linear-gradient(120deg, rgba(3, 52, 61, .13), rgba(3, 52, 61, .3)), url("../images/hero-justicia.png") 56% 60% / cover no-repeat; }
.news-image--gavel { background: linear-gradient(120deg, rgba(3, 52, 61, .12), rgba(3, 52, 61, .25)), url("../images/hero-justicia.png") 88% 45% / cover no-repeat; }
.news-image--lecture { background: linear-gradient(120deg, rgba(3, 52, 61, .1), rgba(3, 52, 61, .35)), url("../images/colegio-interior.webp") 65% 65% / cover no-repeat; }
.news-image--library { background: linear-gradient(120deg, rgba(3, 52, 61, .06), rgba(3, 52, 61, .25)), url("../images/biblioteca-derecho.webp") center / cover no-repeat; }

@media (max-width: 900px) {
    .news-layout { grid-template-columns: 1fr; }
    .news-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .news-side-panel { margin: 0; }
}

@media (max-width: 680px) {
    .news-hero__inner, .news-featured { grid-template-columns: 1fr; }
    .news-hero__inner { gap: 24px; }
    .news-hero__callout { max-width: 360px; }
    .news-featured__image { min-height: 190px; }
    .news-toolbar { grid-template-columns: 1fr; }
    .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 440px) {
    .news-content { padding-top: 14px; }
    .news-featured__body { padding: 15px; }
    .news-list, .news-sidebar { grid-template-columns: 1fr; }
    .news-list-card { min-height: auto; }
    .news-list-card__image { min-height: 135px; }
}

/* Convenios */
.agreements-page {
    background: var(--white);
}

.agreements-hero {
    position: relative;
    overflow: hidden;
    padding: 46px 0 52px;
    color: var(--white);
    background:
        linear-gradient(105deg, rgba(6, 61, 71, .96), rgba(11, 102, 117, .9)),
        url("../images/biblioteca-derecho.webp") center / cover no-repeat;
}

.agreements-hero::after {
    position: absolute;
    right: 5%;
    bottom: -118px;
    width: 330px;
    height: 330px;
    background: url("../../imagenes/logo_colegio.png") center / contain no-repeat;
    content: "";
    opacity: .14;
    pointer-events: none;
}

.agreements-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: end;
    gap: 42px;
}

.agreements-hero .eyebrow {
    margin: 28px 0 10px;
    color: #cceff2;
}

.agreements-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.75rem, 6vw, 4.8rem);
    font-weight: 400;
    line-height: 1.02;
}

.agreements-hero p {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .9);
}

.agreements-hero__card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
}

.agreements-hero__card span {
    display: block;
    color: #cceff2;
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 800;
}

.agreements-hero__card strong {
    display: block;
    margin-top: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 400;
}

.agreements-hero__card p {
    margin-top: 10px;
    font-size: .82rem;
}

.agreements-intro {
    padding: 42px 0 18px;
}

.agreements-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: end;
    gap: 54px;
}

.agreements-intro h2 {
    margin: 0 0 8px;
    color: var(--petrol-dark);
    font-size: 1.9rem;
}

.agreements-intro p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
}

.agreements-search {
    position: relative;
    margin: 0;
}

.agreements-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.agreements-search::before {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--petrol);
    border-radius: 50%;
    content: "";
    transform: translateY(-55%);
}

.agreements-search::after {
    position: absolute;
    top: calc(50% + 6px);
    left: 31px;
    width: 8px;
    height: 2px;
    background: var(--petrol);
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
}

.agreements-search input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px 0 54px;
    border: 1px solid #bad3d8;
    border-radius: 7px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 4px 14px rgba(18, 54, 61, .04);
}

.agreements-search input::placeholder {
    color: #668087;
}

.agreements-list-section {
    padding: 10px 0 58px;
}

.agreements-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.agreements-toolbar button {
    min-width: 120px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid #bad3d8;
    border-radius: 7px;
    color: var(--petrol-dark);
    background: linear-gradient(180deg, #fff, #f5fbfb);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 800;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.agreements-toolbar button:hover,
.agreements-toolbar button.is-active {
    border-color: var(--petrol);
    color: var(--white);
    background: linear-gradient(135deg, var(--petrol), #087584);
}

.agreements-toolbar button:hover {
    transform: translateY(-1px);
}

.agreements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.agreement-card {
    display: grid;
    grid-template-columns: 138px 1fr;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.agreement-card__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    width: 102px;
    min-height: 102px;
    margin: 18px;
    padding: 14px;
    border: 1px solid #c7dde1;
    border-radius: 6px;
    color: var(--petrol);
    background: #fff;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.22rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
}

.agreement-card__body {
    padding: 25px 18px 16px 0;
}

.agreement-card__category {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--petrol);
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 800;
}

.agreement-card h2 {
    margin: 0 0 8px;
    color: var(--petrol-dark);
    font-size: 1.35rem;
    line-height: 1.18;
}

.agreement-card p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}

.agreement-card__detail {
    margin-top: 12px !important;
    color: #43545b !important;
}

.agreement-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.agreement-card__tags li {
    padding: 5px 11px;
    border: 1px solid #c9dee2;
    border-radius: 5px;
    color: var(--petrol-dark);
    background: #f3fafb;
    font-size: .7rem;
}

.agreement-card__footer {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-right: 18px;
    padding: 15px 0 18px;
    border-top: 1px solid #e7eff0;
}

.agreement-card__footer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--petrol-dark);
    font-size: .76rem;
    font-weight: 700;
}

.agreement-card__footer span span {
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    color: var(--white);
    background: var(--petrol);
    font-size: .62rem;
}

.agreement-card__footer a,
.agreement-card__footer button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 5px;
    color: var(--white);
    background: linear-gradient(135deg, var(--petrol), #087584);
    white-space: nowrap;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 800;
}

.agreement-card__footer a:hover,
.agreement-card__footer button:hover {
    background: var(--petrol-dark);
}

.agreement-dialog {
    display: none;
    color: var(--ink);
}

.agreement-dialog__intro {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;
    gap: 22px;
    margin-bottom: 20px;
}

.agreement-dialog__intro .agreement-card__mark {
    width: 92px;
    min-height: 92px;
    margin: 0;
    background: #f4fafb;
}

.agreement-dialog__intro h2 {
    margin: 0 0 5px;
    color: var(--petrol-dark);
    font-size: 1.75rem;
    line-height: 1.15;
}

.agreement-dialog__intro span {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 999px;
    color: #057044;
    background: #dff5e9;
    font-size: .82rem;
    font-weight: 750;
}

.agreement-dialog section {
    margin-top: 20px;
}

.agreement-dialog h3 {
    margin: 0 0 6px;
    color: var(--petrol);
    font-size: 1.08rem;
}

.agreement-dialog p {
    margin: 0;
    color: #374a52;
}

.agreement-dialog ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.agreement-dialog li {
    position: relative;
    margin: 7px 0;
    padding-left: 24px;
    color: #374a52;
}

.agreement-dialog li::before {
    position: absolute;
    top: .62em;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--petrol);
    content: "";
}

.agreement-dialog__actions {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.agreement-dialog__actions .button {
    min-height: 44px;
    border-color: var(--petrol);
    color: var(--white);
    background: linear-gradient(135deg, var(--petrol), #087584);
    box-shadow: 0 6px 14px rgba(11, 102, 117, .18);
}

.agreement-dialog__actions .button:hover,
.agreement-dialog__actions .button:focus-visible {
    border-color: var(--petrol-dark);
    color: var(--white);
    background: var(--petrol-dark);
}

.agreement-modal {
    overflow: hidden;
    border: 0 !important;
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(4, 42, 49, .34);
}

.agreement-modal .ui-dialog-titlebar {
    padding: 18px 28px;
    border: 0;
    border-radius: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--petrol), #0b8998);
}

.agreement-modal .ui-dialog-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.agreement-modal .ui-dialog-titlebar-close {
    top: 50%;
    right: 18px;
    width: 34px;
    height: 34px;
    margin: -17px 0 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.agreement-modal .ui-dialog-titlebar-close::before,
.agreement-modal .ui-dialog-titlebar-close::after {
    position: absolute;
    top: 16px;
    left: 9px;
    width: 16px;
    height: 2px;
    background: var(--white);
    content: "";
}

.agreement-modal .ui-dialog-titlebar-close::before {
    transform: rotate(45deg);
}

.agreement-modal .ui-dialog-titlebar-close::after {
    transform: rotate(-45deg);
}

.agreement-modal .ui-dialog-titlebar-close .ui-icon {
    display: none;
}

.agreement-modal .ui-dialog-content {
    padding: 28px 34px 22px !important;
}

.agreement-modal .ui-dialog-buttonpane {
    margin: 0;
    padding: 16px 28px 18px;
    border-color: var(--border);
}

.agreement-modal .ui-dialog-buttonset {
    float: none;
    display: flex;
    justify-content: flex-end;
}

.agreement-modal .agreement-dialog-close {
    min-width: 130px;
    min-height: 42px;
    border: 1px solid var(--petrol);
    border-radius: 5px;
    color: var(--petrol);
    background: var(--white);
    font-weight: 750;
}

.ui-widget-overlay {
    background: #0b1e23;
    opacity: .72;
}

.agreements-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--muted);
    background: var(--ice);
    text-align: center;
    font-weight: 700;
}

.agreements-process {
    padding: 52px 0;
    background: var(--ice);
}

.agreements-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.agreements-steps li {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
}

.agreements-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--white);
    background: var(--petrol);
    font-weight: 800;
}

.agreements-steps h3 {
    margin: 16px 0 6px;
    color: var(--petrol-dark);
    font-size: 1.1rem;
}

.agreements-steps p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
}

.agreements-callout {
    padding: 28px 0;
    color: var(--white);
    background: var(--petrol-dark);
}

.agreements-callout__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.agreements-callout h2 {
    margin: 0 0 4px;
    font-size: 1.45rem;
}

.agreements-callout p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: .85rem;
}

.agreements-callout .button {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .agreements-hero__inner,
    .agreements-intro__grid,
    .agreements-grid {
        grid-template-columns: 1fr;
    }

    .agreements-hero__card {
        max-width: 430px;
    }

    .agreements-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .agreements-hero {
        padding: 34px 0 42px;
    }

    .agreements-hero__inner {
        gap: 28px;
    }

    .agreements-steps,
    .agreement-card {
        grid-template-columns: 1fr;
    }

    .agreements-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .agreements-toolbar button {
        min-width: 0;
        padding-inline: 12px;
    }

    .agreement-card__mark {
        width: auto;
        min-height: 86px;
        margin: 18px 18px 0;
    }

    .agreement-card__body {
        padding: 20px 18px 14px;
    }

    .agreement-card__footer {
        grid-column: auto;
        align-items: flex-start;
        flex-direction: column;
        margin: 0 18px;
        padding-top: 16px;
    }

    .agreement-dialog__intro {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .agreement-dialog__intro h2 {
        font-size: 1.35rem;
    }

    .agreement-modal .ui-dialog-content {
        padding: 24px 22px 18px !important;
    }

    .agreements-callout__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-form-shell {
        padding: 34px 28px 30px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-form__field--wide {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .contact-form-shell {
        padding: 30px 20px 24px;
    }

    .contact-form-shell__heading {
        gap: 16px;
    }

    .contact-form-shell__heading h2 {
        font-size: 1.4rem;
    }

    .contact-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form__footer .button {
        width: 100%;
    }
}

/* Estatutos */
.statutes-page {
    background: #f7fbfc;
}

.statutes-hero {
    position: relative;
    overflow: hidden;
    padding: 38px 0 36px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(6, 61, 71, .98) 0%, rgba(6, 83, 95, .9) 52%, rgba(10, 113, 128, .86) 100%),
        url("../images/colegio-interior.webp") center 45% / cover no-repeat;
}

.statutes-hero::after {
    position: absolute;
    right: 5%;
    bottom: -118px;
    width: 330px;
    height: 330px;
    background: url("../../imagenes/logo_colegio.png") center / contain no-repeat;
    content: "";
    opacity: .13;
    pointer-events: none;
}

.statutes-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 58px;
}

.statutes-hero .eyebrow {
    margin: 28px 0 10px;
    color: #cceff2;
}

.statutes-hero h1 {
    max-width: 820px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5.4vw, 4.55rem);
    font-weight: 400;
    line-height: .98;
}

.statutes-hero p {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .9);
}

.statutes-hero__record {
    padding: 22px 26px 20px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
}

.statutes-hero__record span,
.statutes-facts dt {
    display: block;
    color: #cceff2;
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 800;
}

.statutes-hero__record strong {
    display: block;
    margin-top: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.05;
}

.statutes-hero__record p {
    margin-top: 10px;
    font-size: .82rem;
    line-height: 1.35;
}

.statutes-intro {
    padding: 46px 0 28px;
}

.statutes-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 54px;
}

.statutes-intro h2 {
    margin: 0 0 10px;
    color: var(--petrol-dark);
    font-size: 1.9rem;
}

.statutes-intro p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
}

.statutes-facts {
    display: grid;
    gap: 10px;
    margin: 0;
}

.statutes-facts div {
    padding: 17px 18px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--ice);
}

.statutes-facts dt {
    color: var(--petrol);
}

.statutes-facts dd {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 700;
}

.statutes-act {
    padding: 18px 0 54px;
}

.statutes-act__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.statutes-act-card {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.statutes-act-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--white);
    background: var(--petrol);
    font-weight: 800;
}

.statutes-act-card h3 {
    margin: 16px 0 7px;
    color: var(--petrol-dark);
    font-size: 1.1rem;
}

.statutes-act-card p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
}

.statutes-content {
    padding: 26px 0 60px;
    background:
        radial-gradient(circle at 82% 18%, rgba(77, 166, 178, .13), transparent 32%),
        linear-gradient(180deg, #f9fdfe, #eef8fa);
}

.statutes-content__layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.statutes-index {
    position: sticky;
    top: 18px;
    padding: 20px 28px 18px;
    border: 1px solid #c5e3e8;
    border-radius: 6px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 14px 38px rgba(18, 54, 61, .08);
}

.statutes-index h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--petrol-dark);
    font-size: 1.72rem;
    font-weight: 700;
}

.statutes-index ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.statutes-index a {
    position: relative;
    display: block;
    padding: 7px 14px;
    border-bottom: 1px solid #d8e9ed;
    border-radius: 4px;
    color: var(--petrol);
    font-size: .82rem;
    font-weight: 800;
}

.statutes-index a.is-active {
    background: #e8f5f7;
}

.statutes-index a.is-active::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -28px;
    width: 6px;
    background: var(--turquoise);
    content: "";
}

.statutes-index li:last-child a {
    border-bottom: 0;
}

.statutes-index__motto {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid #d8e9ed;
    color: var(--petrol);
    text-align: center;
    font-style: italic;
    font-size: .84rem;
    line-height: 1.35;
}

.statutes-index__motto span {
    display: block;
    margin-bottom: 8px;
    font-style: normal;
    font-size: 1.8rem;
    line-height: 1;
}

.statutes-content__heading {
    margin-bottom: 12px;
}

.statutes-content__heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--petrol-dark);
    font-size: clamp(1.8rem, 3.2vw, 2.25rem);
    font-weight: 700;
}

.statutes-print {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0;
    border: 0;
    color: var(--petrol);
    background: transparent;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 700;
}

.statutes-print span {
    position: relative;
    width: 21px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 2px 2px 3px 3px;
}

.statutes-print span::before {
    position: absolute;
    top: -9px;
    left: 4px;
    width: 9px;
    height: 8px;
    border: 2px solid currentColor;
    border-bottom: 0;
    content: "";
}

.statutes-print span::after {
    position: absolute;
    right: 3px;
    bottom: -6px;
    left: 3px;
    height: 8px;
    border: 2px solid currentColor;
    border-top: 0;
    background: currentColor;
    content: "";
}

.statutes-print::after {
    width: 4px;
    height: 4px;
    margin-left: -34px;
    margin-right: 30px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    transform: translateY(-2px);
}

.statutes-sections {
    display: grid;
    gap: 14px;
}

.statute-section-card__trigger {
    position: relative;
    margin: 0;
    padding: 11px 58px 10px 20px;
    border: 1px solid #8ccbd6;
    border-radius: 7px;
    background: var(--white);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.statute-section-card__trigger:hover,
.statute-section-card__trigger.ui-accordion-header-active {
    border-color: #53aebd;
    box-shadow: 0 12px 34px rgba(18, 54, 61, .08);
}

.statute-section-card__trigger::after {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--petrol);
    border-bottom: 2px solid var(--petrol);
    content: "";
    transform: translateY(-62%) rotate(45deg);
    transition: transform .18s ease;
}

.statute-section-card__trigger .ui-accordion-header-icon {
    display: none;
}

.statute-section-card__trigger.ui-accordion-header-active {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.statute-section-card__trigger.ui-accordion-header-active::after {
    transform: translateY(-28%) rotate(225deg);
}

.statute-section-card {
    padding: 0 24px 22px;
    border: 1px solid #53aebd;
    border-top: 0;
    border-radius: 0 0 7px 7px;
    background: var(--white);
}

.statute-section-card__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 2px;
}

.statute-section-card__heading span {
    color: var(--petrol);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .58rem;
    font-weight: 850;
}

.statute-section-card__heading small {
    color: var(--muted);
    font-size: .64rem;
    font-weight: 700;
}

.statute-section-card__trigger strong {
    display: block;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--petrol-dark);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.18;
}

.statute-section-card p {
    margin: 0;
    padding: 16px 28px 0;
    border-top: 1px solid #d5e7eb;
    color: #4b6074;
    font-size: .86rem;
    line-height: 1.5;
}

.statute-section-card__details {
    counter-reset: statute-detail;
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0 28px;
    list-style: none;
}

.statute-section-card__details li {
    counter-increment: statute-detail;
    position: relative;
    min-height: 25px;
    padding-left: 38px;
    color: #40566b;
    font-size: .84rem;
    line-height: 1.45;
}

.statute-section-card__details li::before {
    position: absolute;
    top: -2px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: var(--petrol-dark);
    background: #cdeff4;
    content: counter(statute-detail);
    font-size: .78rem;
    font-weight: 850;
}

.statutes-callout {
    padding: 28px 0;
    color: var(--white);
    background: var(--petrol-dark);
}

.statutes-callout__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.statutes-callout h2 {
    margin: 0 0 4px;
    font-size: 1.45rem;
}

.statutes-callout p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: .85rem;
}

.statutes-callout .button {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .statutes-hero__inner,
    .statutes-intro__grid,
    .statutes-content__layout {
        grid-template-columns: 1fr;
    }

    .statutes-hero__record {
        max-width: 430px;
    }

    .statutes-act__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statutes-index {
        position: static;
    }

    .statutes-index ol {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .statutes-hero {
        padding: 34px 0 42px;
    }

    .statutes-act__grid,
    .statutes-index ol {
        grid-template-columns: 1fr;
    }

    .statute-section-card__heading,
    .statutes-callout__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .statute-section-card__trigger {
        padding: 13px 52px 13px 18px;
    }

    .statute-section-card__trigger strong {
        font-size: 1.08rem;
    }
}

@media print {
    .utility-bar,
    .site-header,
    .statutes-hero,
    .statutes-index,
    .statutes-print,
    .site-footer {
        display: none !important;
    }

    .statutes-content {
        padding: 0;
        background: #fff;
    }

    .statutes-content__layout {
        display: block;
    }

    .statutes-sections {
        display: block;
    }

    .statute-section-card__trigger,
    .statute-section-card {
        display: block !important;
        break-inside: avoid;
        border: 0;
        box-shadow: none;
    }

    .statute-section-card__trigger {
        padding: 16px 0 8px;
    }

    .statute-section-card__trigger::after {
        display: none;
    }

    .statute-section-card {
        padding: 0 0 18px;
    }

    .statute-section-card p,
    .statute-section-card__details {
        padding-inline: 0;
    }
}

/* Cómo colegiarse */
.membership-page {
    background: var(--white);
}

.membership-hero {
    position: relative;
    overflow: hidden;
    padding: 38px 0 36px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(6, 61, 71, .98) 0%, rgba(6, 83, 95, .91) 54%, rgba(10, 113, 128, .86) 100%),
        url("../images/colegio-interior.webp") center 48% / cover no-repeat;
}

.membership-hero::after {
    position: absolute;
    right: 4%;
    bottom: -128px;
    width: 340px;
    height: 340px;
    background: url("../../imagenes/logo_colegio.png") center / contain no-repeat;
    content: "";
    opacity: .13;
    pointer-events: none;
}

.membership-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: center;
    gap: 58px;
}

.membership-hero .eyebrow {
    margin: 28px 0 10px;
    color: #cceff2;
}

.membership-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5.4vw, 4.55rem);
    font-weight: 400;
    line-height: .98;
}

.membership-hero > .container p:not(.eyebrow),
.membership-hero__card p {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .9);
}

.membership-hero__card {
    padding: 24px 26px 22px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
}

.membership-note__icon {
    display: block;
    width: 30px;
    height: 30px;
    background: var(--petrol);
    -webkit-mask: url("../icons/users-round.svg") center / contain no-repeat;
    mask: url("../icons/users-round.svg") center / contain no-repeat;
}

.membership-note__icon::before {
    display: none;
}

.membership-note__icon::after {
    display: none;
}

.membership-hero__card-icon {
    display: block;
    width: 31px;
    height: 31px;
    background: var(--white);
    -webkit-mask: url("../icons/file-text.svg") center / contain no-repeat;
    mask: url("../icons/file-text.svg") center / contain no-repeat;
}

.membership-hero__card strong {
    display: block;
    margin-top: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 400;
}

.membership-hero__card p {
    font-size: .83rem;
    line-height: 1.45;
}

.membership-hero__card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .35);
    color: var(--white);
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.membership-hero__card a span { font-size: 1.2rem; }

.membership-intro {
    padding: 52px 0 46px;
}

.membership-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 68px;
    align-items: start;
}

.membership-intro h2,
.membership-documents h2 {
    margin: 0 0 12px;
    color: var(--petrol-dark);
    font-size: 2rem;
}

.membership-intro p,
.membership-documents p {
    max-width: 760px;
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.6;
}

.membership-requirements {
    display: grid;
    gap: 13px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.membership-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.membership-requirements > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin-top: 2px;
    border-radius: 50%;
    color: var(--white);
    background: var(--petrol);
    font-size: .72rem;
    font-weight: 850;
}

.membership-requirements strong {
    display: block;
    color: var(--petrol-dark);
    font-size: .94rem;
}

.membership-requirements p {
    margin: 3px 0 0;
    font-size: .84rem;
}

.membership-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.membership-downloads .button {
    min-height: 44px;
    font-size: .76rem;
}

.membership-summary {
    display: grid;
    gap: 10px;
    margin: 0;
}

.membership-summary div {
    padding: 15px 18px;
    border-left: 4px solid var(--turquoise);
    background: var(--ice);
}

.membership-summary dt {
    color: var(--petrol);
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .05em;
}

.membership-summary dd {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: .83rem;
    font-weight: 650;
    line-height: 1.4;
}

.membership-process {
    padding: 50px 0 56px;
    background: linear-gradient(180deg, #f3fafb, #eaf6f8);
}

.membership-process__heading {
    align-items: end;
    margin-bottom: 26px;
}

.membership-process__heading .eyebrow,
.membership-documents .eyebrow {
    margin: 0 0 7px;
    color: var(--petrol);
}

.membership-process__heading h2 {
    margin: 0;
    color: var(--petrol-dark);
    font-size: 2rem;
}

.membership-process__heading > p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.5;
}

.membership-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: membership-step;
}

.membership-steps li {
    min-height: 210px;
    padding: 24px;
    border: 1px solid #c9e2e7;
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(18, 54, 61, .06);
}

.membership-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    color: var(--white);
    background: var(--petrol);
    font-size: .8rem;
    font-weight: 850;
}

.membership-steps h3 {
    margin: 18px 0 7px;
    color: var(--petrol-dark);
    font-size: 1.08rem;
}

.membership-steps p {
    margin: 0;
    color: var(--muted);
    font-size: .83rem;
    line-height: 1.5;
}

.membership-documents {
    padding: 54px 0;
}

.membership-documents__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 76px;
    align-items: center;
}

.membership-documents .button { margin-top: 10px; }

.membership-note {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 27px;
    border: 1px solid #b6dfe6;
    border-radius: 7px;
    color: var(--petrol);
    background: #effafb;
}

.membership-note__icon { flex: 0 0 auto; margin-top: 2px; }

.membership-note h3 {
    margin: 0 0 6px;
    color: var(--petrol-dark);
    font-size: 1.05rem;
}

.membership-note p {
    margin: 0;
    color: #46636c;
    font-size: .84rem;
    line-height: 1.5;
}

.membership-callout--join {
    background: var(--petrol-dark);
}

.membership-callout--join .button { flex: 0 0 auto; }

@media (max-width: 900px) {
    .membership-hero__inner,
    .membership-intro__grid,
    .membership-documents__grid {
        grid-template-columns: 1fr;
    }

    .membership-hero__card { max-width: 430px; }
    .membership-steps { grid-template-columns: repeat(2, 1fr); }
    .membership-summary { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .membership-hero { padding: 34px 0 42px; }
    .membership-intro,
    .membership-documents { padding: 40px 0; }
    .membership-process { padding: 40px 0; }
    .membership-process__heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .membership-steps,
    .membership-summary { grid-template-columns: 1fr; }
    .membership-steps li { min-height: 0; }
    .membership-callout--join .membership-callout__inner { align-items: flex-start; flex-direction: column; }
}

/* Servicios */
.service-page {
    background: #f7f5f0;
}

.service-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-color: var(--petrol-dark);
}

.service-hero::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 117, 125, .98) 0%, rgba(8, 119, 127, .94) 50%, rgba(8, 119, 127, .86) 100%),
        var(--service-hero-image, none);
    background-position: center;
    background-size: cover;
    content: "";
}

.service-hero::after {
    position: absolute;
    right: clamp(12px, 7vw, 110px);
    bottom: -86px;
    width: clamp(180px, 24vw, 310px);
    height: clamp(180px, 24vw, 310px);
    border-radius: 50%;
    background: url("../../imagenes/logo_colegio.png") center / contain no-repeat;
    filter: grayscale(1);
    opacity: .13;
    content: "";
}

.service-hero--salas {
    --service-hero-image: none;
}

.service-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    min-height: 255px;
    padding-top: 54px;
    padding-bottom: 46px;
}

.breadcrumbs--service {
    padding-top: 0;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .88);
    font-size: .82rem;
    font-weight: 700;
}

.breadcrumbs--service a {
    color: rgba(255, 255, 255, .9);
}

.service-hero__copy {
    max-width: 980px;
}

.service-hero__copy .eyebrow {
    display: none;
}

.service-hero h1 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 4.35rem);
    font-weight: 700;
    line-height: 1;
}

.service-hero__copy > p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .96);
    font-size: 1rem;
    line-height: 1.45;
}

.service-content {
    padding: 58px 0 72px;
}

.table-service-content .container {
    width: min(calc(100% - 64px), 1440px);
}

.table-service-content__layout.service-content__layout--single {
    grid-template-columns: minmax(0, 1fr);
}

.service-content__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: start;
}

.service-content__layout--single {
    grid-template-columns: minmax(0, 1fr);
}

.service-document-panel {
    min-height: 280px;
    padding: 32px;
    border: 1px solid #d9d2c6;
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(40, 34, 25, .08);
}

.service-document-panel h2 {
    margin: 0 0 12px;
    color: var(--petrol-dark);
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.service-document-panel p {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.table-access-panel {
    max-width: 760px;
}

.table-access-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 620px;
    margin-top: 28px;
}

.table-access-form .button {
    justify-self: start;
    grid-column: 1 / -1;
}

.table-access-alert {
    margin: 20px 0 0;
    padding: 13px 16px;
    border: 1px solid #c77566;
    border-radius: 5px;
    color: #7b3025 !important;
    background: #fff5f2;
    font-size: .88rem;
    line-height: 1.45;
}

.table-documents-panel__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.table-documents-panel__heading form {
    flex: 0 0 auto;
}

.table-documents-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.table-documents-list li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
    border: 1px solid #d9e6e8;
    border-radius: 6px;
    background: #f8fcfc;
}

.table-documents-list .service-icon {
    margin-top: 2px;
}

.table-documents-list a {
    color: var(--petrol-dark);
    font-weight: 750;
    text-decoration: none;
}

.table-documents-list a:hover {
    text-decoration: underline;
}

.table-documents-list p {
    margin: 5px 0 0;
    font-size: .86rem;
    line-height: 1.5;
}

.table-documents-list small {
    display: block;
    margin-top: 6px;
    color: #5e747b;
    font-size: .76rem;
}

.table-documents-empty {
    margin-top: 28px !important;
    padding: 18px;
    border: 1px solid #d8e1e4;
    border-radius: 6px;
    background: #f7fbfb;
}

.service-room-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.service-room-card {
    padding: 18px;
    border: 1px solid #d9e6e8;
    border-radius: 7px;
    background: #f8fcfc;
}

.service-room-card h3 {
    margin: 0 0 8px;
    color: var(--petrol-dark);
    font-size: 1rem;
}

.service-room-card p {
    margin: 0 0 10px;
    font-size: .88rem;
    line-height: 1.55;
}

.service-room-card small {
    display: block;
    color: #567078;
    font-size: .78rem;
}

.service-documents {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2ded6;
}

.service-documents__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.service-documents h3 {
    margin: 0 0 8px;
    color: var(--petrol-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1;
}

.service-documents__count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #35545d;
    background: #edf2f2;
    font-size: .82rem;
    font-weight: 750;
}

.service-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    background: currentColor;
    color: #0a6771;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.service-icon--file {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E");
}

.service-icon--search {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
}

.service-icon--calendar {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}

.service-icon--calendar-days {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E");
}

.service-icon--sort {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
}

.service-document-filters {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) 150px 150px 190px;
    gap: 12px;
    margin: 0 0 18px;
}

.service-filter-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d8e1e4;
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(28, 50, 57, .05);
}

.service-filter-field--search {
    padding-left: 15px;
}

.service-filter-field input,
.service-filter-field select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--petrol-dark);
    background: transparent;
    font: inherit;
    font-size: .9rem;
}

.service-filter-field input::placeholder {
    color: #899ca3;
}

.service-filter-field select {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.service-documents ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: 620px;
    margin: 18px 0 0;
    padding: 0;
    overflow: auto;
    list-style: none;
}

.service-documents li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 11px 12px;
    border: 1px solid #ded7ca;
    border-radius: 7px;
    background: #fffdf8;
}

.service-documents li > span {
    flex: 0 0 auto;
    padding: 4px 6px;
    border-radius: 4px;
    color: var(--white);
    background: var(--terracotta);
    font-size: .68rem;
    font-weight: 800;
}

.service-documents li > div {
    min-width: 0;
}

.service-documents a {
    color: var(--petrol-dark);
    font-size: .86rem;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
}

.service-documents a:hover {
    text-decoration: underline;
}

.service-documents small {
    display: block;
    margin-top: 4px;
    color: #6b7e85;
    font-size: .76rem;
    font-weight: 650;
}

.service-documents-empty {
    margin: 18px 0 0;
    padding: 18px;
    border: 1px solid #d8e1e4;
    border-radius: 7px;
    color: #5a7078;
    background: #f7fbfb;
}

@media (max-width: 860px) {
    .table-service-content .container {
        width: min(calc(100% - 40px), 1440px);
    }

    .service-hero__inner {
        min-height: 0;
        padding-top: 34px;
        padding-bottom: 40px;
    }

    .breadcrumbs--service {
        margin-bottom: 24px;
    }

    .service-hero h1 {
        font-size: clamp(2.6rem, 11vw, 3.4rem);
    }

    .service-content__layout {
        grid-template-columns: 1fr;
    }

    .service-room-list,
    .service-documents ul {
        grid-template-columns: 1fr;
    }

    .service-documents__heading {
        flex-direction: column;
    }

    .service-document-filters {
        grid-template-columns: 1fr;
    }

    .table-access-form {
        grid-template-columns: 1fr;
    }

    .table-documents-panel__heading {
        flex-direction: column;
    }
}
