:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-soft: #f1f6fb;
  --ink: #223245;
  --muted: #61707f;
  --line: #d9e0e6;
  --brand: #1f6fb5;
  --brand-deep: #123f69;
  --brand-soft: #e5f0f8;
  --accent: #d7a93f;
  --accent-deep: #b98929;
  --accent-red: #cd5a2e;
  --green: #4a8f76;
  --warm: #f7edd7;
  --shadow: 0 18px 45px rgba(18, 63, 105, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 169, 63, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(31, 111, 181, 0.1), transparent 30%),
    linear-gradient(180deg, #faf8f3 0%, #eef4f8 100%);
}

a {
  color: inherit;
}

p,
li,
.page-lead,
.hero-text,
.mission-copy p,
.topic-card p,
.page-section-card p,
.location-copy p,
.showcase-copy p,
.news-item p {
  text-align: justify;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.utility-bar {
  background: linear-gradient(90deg, #123f69, #1a5f97);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.utility-inner,
.header-inner,
.hero-grid,
.mission-grid,
.contact-strip,
.footer-inner {
  display: grid;
  gap: 20px;
}

.utility-inner {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  padding: 12px 0;
}

.utility-inner p,
.footer-inner p {
  margin: 0;
}

.utility-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.utility-links a {
  text-decoration: none;
  color: #fff;
}

.site-header {
  padding: 28px 0 8px;
}

.header-inner {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.brand-mark {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-copy h1,
.hero-overlay h2,
.section-intro h2,
.topic-card h3,
.column-card h2,
.service-portal-card h3,
.next-event h3,
.highlight-card h3,
.mission-grid h3,
.contact-strip h2 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

.brand-copy p,
.hero-text,
.section-intro p,
.topic-card p,
.column-card li,
.service-portal-card p,
.next-event p,
.highlight-card p,
.mission-grid p,
.contact-strip p {
  color: var(--muted);
  line-height: 1.6;
}

.brand-copy h1 {
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1;
}

.brand-copy p {
  max-width: 56ch;
  margin: 10px 0 0;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1d5f93, #123f69);
  box-shadow: var(--shadow);
}

.nav-item {
  position: relative;
  padding-bottom: 12px;
}

.main-nav > .nav-item > a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.main-nav > .nav-item.has-dropdown > a::after {
  content: "\25BE";
  font-size: 0.7rem;
  opacity: 0.7;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 210px;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 5;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--brand-soft);
}

.nav-toggle,
.submenu-toggle {
  display: none;
}

.eyebrow,
.card-kicker,
.panel-title,
.story-date {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.eyebrow,
.card-kicker,
.story-date {
  color: #6b7f93;
}

.hero {
  padding: 18px 0 0;
}

.hero-grid {
  grid-template-columns: 1.35fr 0.85fr;
  align-items: stretch;
}

.portal-hero {
  align-items: stretch;
}

.hero-slider {
  position: relative;
  min-height: 470px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0e2234;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 22, 34, 0.04), rgba(8, 22, 34, 0.92));
}

.hero-overlay h2,
.hero-overlay p,
.hero-overlay .eyebrow {
  color: #fff;
}

.hero-overlay h2 {
  font-size: clamp(1.6rem, 3vw, 2.9rem);
  line-height: 1.02;
  max-width: 13ch;
}

.slider-dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dot.is-active {
  background: #fff;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.slider-arrow.prev {
  left: 18px;
}

.slider-arrow.next {
  right: 18px;
}

.digital-panel,
.topic-card,
.highlight-card,
.contact-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
}

.button.primary {
  background: linear-gradient(135deg, #d7a93f, #b98929);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-deep);
  border-color: rgba(255, 255, 255, 0.32);
}

.card-image {
  overflow: hidden;
  border-radius: 22px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.digital-panel {
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(180deg, #1a5f97, #123f69);
  color: #fff;
}

.sidebar-stack {
  display: grid;
  gap: 18px;
}

.panel-title {
  color: rgba(255, 255, 255, 0.72);
}

.digital-links {
  display: grid;
  gap: 12px;
}

.digital-links a {
  text-decoration: none;
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.next-event,
.mini-feed,
.column-card,
.service-portal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.next-event {
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(215, 169, 63, 0.2), rgba(255, 255, 255, 0.98));
}

.next-event span {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 700;
  color: var(--brand-deep);
}

.mini-feed {
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 249, 0.96));
}

.mini-feed a {
  display: block;
  text-decoration: none;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.mini-feed a:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.digital-row,
.badge-strip,
.quickfacts-strip,
.info-columns,
.services-portal,
.showcase-grid {
  display: grid;
  gap: 18px;
}

.mission-strip {
  padding: 24px 0 0;
}

.quickfacts-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.quickfact-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 250, 0.96));
  box-shadow: var(--shadow);
}

.quickfact-number {
  margin: 0 0 10px;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  text-align: left;
}

.quickfact-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.quickfact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.mission-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(241, 246, 251, 0.94));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
}

.mission-feature {
  padding: 0 !important;
  overflow: hidden;
}

.mission-feature img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.mission-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mission-image-link:hover img {
  transform: scale(1.03);
}

.mission-image-link img {
  transition: transform 0.25s ease;
}

.mission-copy {
  padding: 22px;
}

.section {
  padding: 34px 0 0;
}

.section-intro {
  margin-bottom: 18px;
}

.section-intro h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  line-height: 1.05;
}

.topic-grid {
  display: grid;
  gap: 18px;
}

.topic-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-card,
.highlight-card {
  border-radius: 24px;
  padding: 24px;
}

.card-image {
  aspect-ratio: 16 / 10;
  margin: -24px -24px 18px;
  border-radius: 24px 24px 0 0;
}

.project-image {
  aspect-ratio: 16 / 9;
}

.topic-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.digital-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 30px;
}

.digital-caption-row {
  margin-top: 10px;
}

.digital-caption-row p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.badge-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 18px;
}

.badge-tile {
  display: grid;
  place-items: center;
  min-height: 84px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(247, 237, 215, 0.96), rgba(241, 246, 251, 0.95));
  box-shadow: var(--shadow);
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: 0.06em;
}

.badge-tile-image {
  padding: 8px;
}

.badge-tile-image img {
  width: 100%;
  max-width: 130px;
  max-height: 68px;
  object-fit: contain;
  display: block;
}

.digital-app {
  text-decoration: none;
  text-align: center;
  padding: 18px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1d5f93, #123f69);
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.digital-app:hover,
.digital-app:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(18, 63, 105, 0.16);
  background: linear-gradient(180deg, #2474b2, #14507f);
}

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

.column-card {
  border-radius: 24px;
  padding: 24px;
}

.column-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.services-portal {
  grid-template-columns: 1.3fr repeat(2, minmax(0, 1fr));
}

.service-portal-card {
  border-radius: 24px;
  padding: 22px;
}

.service-portal-card.emphasis {
  grid-row: span 2;
  background:
    radial-gradient(circle at top right, rgba(215, 169, 63, 0.18), transparent 24%),
    linear-gradient(135deg, #fffdfa, #f1f6fb);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.service-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.highlight-card.warm {
  background: linear-gradient(180deg, rgba(247, 237, 215, 0.92), #ffffff);
}

.highlight-card.green {
  background: linear-gradient(180deg, rgba(74, 143, 118, 0.14), #ffffff);
}

.highlight-card.blue {
  background: linear-gradient(180deg, rgba(31, 111, 181, 0.12), #ffffff);
}

.showcase-grid {
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  margin-top: 26px;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-card {
  min-height: 240px;
}

.showcase-card.large {
  min-height: 300px;
}

.showcase-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 22, 34, 0.05), rgba(9, 22, 34, 0.88));
}

.showcase-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

.showcase-copy p {
  color: #fff;
}

.showcase-copy h3 + p {
  margin-top: 12px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.92);
}

.communication-section {
  padding-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.badge.subtle {
  background: rgba(31, 111, 181, 0.12);
  color: var(--brand);
}

.contact-strip {
  grid-template-columns: 1fr 1fr;
  border-radius: 30px;
  padding: 28px;
  margin-bottom: 40px;
  background:
    linear-gradient(135deg, rgba(18, 63, 105, 0.98), rgba(31, 111, 181, 0.9));
  color: #fff;
}

.contact-strip p,
.contact-strip .eyebrow,
.contact-strip h2 {
  color: #fff;
}

.site-footer {
  background: linear-gradient(90deg, #102f4f, #123f69);
  color: rgba(255, 255, 255, 0.78);
  padding: 18px 0 26px;
}

.footer-inner {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand p {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 0;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-links-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}

.footer-links-block a {
  color: #fff;
  text-decoration: none;
}

.page-shell {
  padding: 22px 0 40px;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.page-card,
.page-side-card,
.page-section-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.page-card {
  padding: 32px;
}

.page-side-card {
  overflow: hidden;
}

.page-side-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.page-lead {
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.contacts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.contacts-grid > .page-section-card:not(.wide):not(.full) {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-section-card {
  padding: 24px;
}

.page-section-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 12px;
}

.page-section-card p,
.page-section-card li {
  color: var(--muted);
  line-height: 1.7;
}

.page-section-card ul {
  margin: 0;
  padding-left: 20px;
}

.info-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: #fff;
}

.info-table th,
.info-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.info-table th {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table a {
  color: var(--brand-deep);
  font-weight: 800;
}

.doc-list {
  margin-top: 14px !important;
  padding-left: 0 !important;
  list-style: none;
}

.doc-list li + li {
  margin-top: 8px;
}

.doc-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 600;
}

.doc-list a::before {
  content: "PDF";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-red), #e27b52);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.doc-list a:hover,
.doc-list a:focus-visible {
  text-decoration: underline;
}

.doc-group + .doc-group {
  margin-top: 18px;
}

.doc-group-title {
  margin: 16px 0 10px !important;
  font-weight: 700;
  color: var(--brand-deep) !important;
}

.page-section-card.wide {
  grid-column: span 2;
}

.page-section-card.full {
  grid-column: 1 / -1;
}

#canal-denuncia {
  grid-column: 1 / -1;
}

.page-section-card#refeitorio {
  grid-column: 1 / -1;
}

.page-section-card#refeitorio .menu-week-card {
  width: 100%;
}

.rgpd-card {
  background:
    radial-gradient(circle at top right, rgba(215, 169, 63, 0.2), transparent 30%),
    linear-gradient(135deg, #ffffff, #f5faf8);
}

.compliance-card {
  background:
    radial-gradient(circle at top left, rgba(31, 111, 181, 0.14), transparent 32%),
    linear-gradient(135deg, #ffffff, #f7fbff);
}

.documents-card {
  background:
    radial-gradient(circle at bottom right, rgba(74, 143, 118, 0.15), transparent 32%),
    linear-gradient(135deg, #ffffff, #f6fbf7);
}

.rgpd-image-card {
  padding: 0;
  overflow: hidden;
}

.rgpd-image-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.compliance-card p {
  max-width: 960px;
  text-align: justify;
}

.compliance-card.full p {
  max-width: none;
}

.rgpd-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 18px 0 22px;
}

.rgpd-details h4 {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-size: 1rem;
}

.rgpd-details p {
  margin: 0 0 16px;
}

.contact-form {
  margin-top: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid span {
  font-weight: 600;
  color: var(--ink);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(31, 111, 181, 0.18);
  border-color: var(--brand);
}

.form-grid textarea {
  resize: vertical;
  min-height: 150px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-check {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-check span {
  font-weight: 500;
  color: var(--muted);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.location-card {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .location-card {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
}

.location-map {
  position: relative;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef3f7;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}

.location-copy ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.page-banner {
  margin-top: 24px;
  border-radius: 28px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, rgba(18, 63, 105, 0.98), rgba(31, 111, 181, 0.9));
  box-shadow: var(--shadow);
}

.page-banner p,
.page-banner h3 {
  color: #fff;
  margin: 0;
}

.page-banner h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin-top: 6px;
}

.facts-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.facts-list li + li {
  margin-top: 8px;
}

.school-gallery {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.school-carousel-card {
  grid-column: 1 / -1;
}

.school-carousel {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.school-carousel-stage {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #f1f6f8, #ffffff);
}

.school-carousel-slide {
  display: none;
  margin: 0;
  padding: 12px;
  background: #fff;
}

.school-carousel-slide.is-active {
  display: block;
}

.school-carousel-slide.is-visible {
  display: block;
}

.school-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.school-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 2080;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  background: #eef5f7;
}

.school-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-deep);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: var(--shadow);
}

.school-carousel-arrow.prev {
  left: 18px;
}

.school-carousel-arrow.next {
  right: 18px;
}

.school-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.school-carousel-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #bfd2df;
  cursor: pointer;
}

.school-carousel-dots button.is-active {
  width: 28px;
  background: var(--brand);
}

.notice-list {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}

.notice-list li + li {
  margin-top: 10px;
}

.notice-list strong {
  color: var(--brand-deep);
}

.news-stack {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.news-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbfd);
}

.news-item time,
.archive-links a {
  color: var(--brand-deep);
  font-weight: 700;
}

.news-item h4,
.archive-card h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.news-item p,
.archive-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.news-item-media {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #eef3f7;
}

.news-item-media img,
.news-item-media iframe {
  width: 100%;
  display: block;
  border: 0;
}

.news-item-media img {
  height: 280px;
  object-fit: cover;
}

.news-item-media iframe {
  min-height: 280px;
}

.archive-card {
  display: grid;
  gap: 14px;
}

.archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--brand-soft);
}

.admin-shell {
  display: grid;
  gap: 22px;
}

.admin-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f3f7fa);
  box-shadow: var(--shadow);
}

.admin-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: #fff;
  color: var(--brand-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-tab.is-active {
  background: linear-gradient(180deg, #1d5f93, #123f69);
  border-color: transparent;
  color: #fff;
}

.admin-panels {
  display: grid;
}

.admin-empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

.admin-empty-state p {
  margin: 0;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.menu-week-card {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.home-menu-preview {
  margin-top: 28px;
}

.section-intro.compact {
  max-width: 760px;
}

.menu-preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 247, 0.92)),
    radial-gradient(circle at top right, rgba(215, 169, 63, 0.22), transparent 34%);
  box-shadow: var(--shadow);
}

.menu-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.menu-preview-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand-deep);
}

.menu-day-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}

.menu-day-grid.single {
  grid-template-columns: 1fr;
}

.menu-day-card {
  min-height: 190px;
  padding: 18px;
  background: #fff;
}

.menu-day-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand-deep);
}

.menu-day-card span,
.menu-day-card small {
  color: var(--muted);
}

.menu-day-card p {
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.menu-week-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(215, 169, 63, 0.32), transparent 34%),
    linear-gradient(135deg, #123f69, #1f6fb5);
}

.menu-week-head h4,
.menu-week-head p {
  margin: 0;
  color: #fff;
}

.menu-week-head h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.menu-week-head span {
  align-self: flex-start;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
  white-space: nowrap;
}

.menu-table-wrap {
  overflow-x: auto;
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

.menu-table th,
.menu-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.menu-table th {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-table td:first-child {
  width: 150px;
  color: var(--brand-deep);
}

.menu-table td:first-child span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.menu-table tbody tr:nth-child(even) {
  background: #f8fbfd;
}

.menu-table tbody tr:hover {
  background: var(--warm);
}

.menu-note {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.school-news-board {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.school-news-group {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f6fafc);
}

.school-news-group h4 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
}

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

  .page-section-card.wide,
  .page-section-card.full,
  #canal-denuncia {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .header-inner,
  .hero-grid,
  .mission-grid,
  .topic-grid.three,
  .digital-row,
  .badge-strip,
  .quickfacts-strip,
  .info-columns,
  .services-portal,
  .showcase-grid,
  .page-hero,
  .page-grid,
  .form-grid,
  .contact-strip,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .utility-links {
    justify-content: flex-start;
  }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: linear-gradient(180deg, #1f6fb5, #123f69);
    color: #fff;
    box-shadow: var(--shadow);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-toggle-label {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
  }

  .nav-toggle-icon {
    position: relative;
    width: 18px;
    height: 14px;
    display: inline-block;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after,
  .nav-toggle-icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
  }

  .nav-toggle-icon::before {
    top: 0;
  }

  .nav-toggle-icon span {
    top: 6px;
  }

  .nav-toggle-icon::after {
    top: 12px;
  }

  .nav-toggle.is-open .nav-toggle-icon::before {
    top: 6px;
    transform: rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-icon span {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle-icon::after {
    top: 6px;
    transform: rotate(-45deg);
  }

  .main-nav {
    display: none;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    padding: 14px;
  }

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

  .main-nav > .nav-item > a {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav > .nav-item.has-dropdown > a::after {
    display: none;
  }

  .nav-item {
    padding-bottom: 0;
  }

  .nav-item.has-dropdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
  }

  .nav-item.has-dropdown > a {
    grid-column: 1;
  }

  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
  }

  .submenu-toggle::before {
    content: "\25BE";
    font-size: 0.82rem;
    transition: transform 180ms ease;
  }

  .nav-item.is-open .submenu-toggle {
    background: rgba(255, 255, 255, 0.24);
  }

  .nav-item.is-open .submenu-toggle::before {
    transform: rotate(180deg);
  }

  .header-inner {
    grid-template-columns: 1fr;
  }

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

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

  .nav-dropdown {
    position: static;
    display: grid;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 100%;
    margin-top: 0;
    padding: 0 12px;
    border-color: transparent;
    box-shadow: none;
    grid-column: 1 / -1;
    transition: max-height 220ms ease, padding 220ms ease, border-color 220ms ease;
  }

  .nav-item.is-open .nav-dropdown {
    max-height: 480px;
    padding: 12px;
    border-color: var(--line);
    box-shadow: var(--shadow);
  }

  .portal-hero {
    gap: 20px;
  }

  .hero-slider {
    min-height: 420px;
  }

  .hero-overlay {
    padding: 28px;
  }

  .hero-overlay h2 {
    max-width: 16ch;
  }

  .sidebar-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .digital-panel {
    grid-column: 1 / -1;
  }

  .next-event,
  .mini-feed {
    height: 100%;
  }
}

@media (max-width: 720px) {
  .utility-inner,
  .header-inner {
    gap: 14px;
  }

  .container {
    width: min(100% - 20px, 1180px);
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    grid-template-columns: 1fr;
  }

  .digital-panel {
    grid-column: auto;
  }

  .digital-panel,
  .next-event,
  .mini-feed,
  .page-card,
  .page-section-card,
  .topic-card,
  .column-card,
  .service-portal-card,
  .highlight-card,
  .contact-strip {
    padding: 20px;
    border-radius: 22px;
  }

  .brand-mark {
    width: 96px;
    height: 96px;
    border-radius: 18px;
  }

  .hero-overlay h2 {
    font-size: 2rem;
  }

  .hero-overlay {
    padding: 22px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

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

  .school-carousel-stage,
  .school-carousel-slide img {
    min-height: 320px;
  }

  .school-carousel-track {
    grid-template-columns: 1fr;
  }

  .school-carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .menu-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-day-grid {
    grid-template-columns: 1fr;
  }

  .menu-day-card {
    min-height: auto;
  }

}

/* Homepage: compact platforms and prominent institutional recognitions. */
.home-platforms {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
}
.platforms-heading h2 { margin: 0; font-size: 1.2rem; color: var(--brand-deep); }
.platforms-heading p { margin: 6px 0 0; color: var(--muted); }
.home-platforms .digital-row { margin-top: 16px; gap: 10px; }
.home-platforms .digital-app { padding: 12px 10px; border-radius: 10px; font-size: 0.92rem; box-shadow: none; display: grid; place-items: center; }
.quickfacts-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase-grid { grid-template-columns: 1.25fr 1fr; }
.recognition-section { margin-top: 42px; padding: 48px 0; background: linear-gradient(120deg, #f8f5eb, #edf4f8); border-top: 1px solid var(--line); }
.recognition-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; }
.recognition-intro h2 { margin: 10px 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--brand-deep); }
.recognition-intro > p:last-child { max-width: 36ch; margin: 0; color: var(--muted); line-height: 1.7; }
.recognition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.recognition-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: center; }
.recognition-image { display: grid; place-items: center; min-height: 200px; }
.recognition-image img { display: block; width: 100%; max-width: 330px; height: 200px; object-fit: contain; }
.recognition-card h3 { margin: 22px 0 8px; color: var(--brand-deep); font-size: 1.25rem; }
.recognition-card p { margin: 0; color: var(--muted); line-height: 1.6; }
@media (max-width: 1024px) {
  .home-platforms .digital-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quickfacts-strip, .showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-platforms { padding: 18px; }
  .home-platforms .digital-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recognition-section { margin-top: 28px; padding: 32px 0; }
  .recognition-layout { grid-template-columns: 1fr; gap: 24px; }
  .recognition-card { padding: 22px; }
}
.recognition-image[hidden] { display: none; }
.admin-form[hidden], .admin-tab[hidden], .admin-panel[hidden], .form-check[hidden] { display: none; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 24px; }
.login-layout { width: min(100%, 1040px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.login-brand { display: inline-block; padding: 16px; margin-bottom: 24px; background: #fff; border-radius: 20px; border: 1px solid var(--line); }
.login-brand img { display: block; width: 160px; height: 96px; object-fit: contain; }
.login-welcome h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.15; color: var(--brand-deep); margin: 16px 0 20px; }
.login-welcome > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.login-back { display: inline-block; margin-top: 24px; color: var(--brand-deep); font-weight: 700; }
.login-card { background: #fff; padding: 36px; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.login-card h2 { margin: 12px 0; font-size: 1.8rem; color: var(--brand-deep); }
.login-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.login-form { display: grid; gap: 10px; margin-top: 28px; }
.login-form > label { margin-top: 12px; font-weight: 700; color: var(--brand-deep); }
.login-form input { width: 100%; min-width: 0; padding: 14px; border: 1px solid #b9c8d6; border-radius: 10px; background: #f8fafc; font: inherit; }
.login-password { display: flex; align-items: center; border: 1px solid #b9c8d6; border-radius: 10px; background: #f8fafc; }
.login-password input { border: 0; background: transparent; flex: 1; }
.login-password button { border: 0; background: transparent; padding: 14px 12px; color: var(--brand-deep); cursor: pointer; font: inherit; font-size: 0.85rem; font-weight: 700; }
.login-form input:focus-visible, .login-password button:focus-visible { outline: 3px solid #327fb6; outline-offset: 2px; }
.login-feedback { margin: 4px 0; color: #a12424; font-size: 0.95rem; line-height: 1.5; }
.login-feedback:empty { display: none; }
.login-form > .button { width: 100%; margin-top: 12px; cursor: pointer; font: inherit; font-weight: 700; }
.login-form > .button:disabled { opacity: 0.65; cursor: wait; }
.login-card .login-help { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; }
@media (max-width: 760px) {
  .login-page { padding: 24px 16px; }
  .login-layout { grid-template-columns: 1fr; gap: 28px; max-width: 480px; }
  .login-welcome h1 { font-size: 1.8rem; }
  .login-brand { margin-bottom: 12px; }
  .login-card { padding: 26px 22px; }
  .login-back { margin-top: 8px; }
}
