:root {
    --theme-sans-family: "Public Sans", "Segoe UI Variable Text", "Segoe UI", sans-serif;
    --theme-serif-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", serif;
    --ink: #1b2b39;
    --ink-soft: #566577;
    --line: #d6dde4;
    --line-strong: #b8c4cf;
    --paper: #eef2f5;
    --paper-deep: #e3e9ee;
    --panel: #ffffff;
    --panel-soft: #f7f9fb;
    --brand: #12324a;
    --brand-deep: #0a2033;
    --brand-soft: #e6eef5;
    --accent: #9b7a39;
    --accent-soft: #f0e6d4;
    --shadow-soft: 0 18px 45px rgba(11, 31, 50, 0.08);
    --shadow-card: 0 16px 34px rgba(12, 27, 45, 0.06);
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-sm: 0.85rem;
}

html {
    scroll-behavior: smooth;
}

body.app-body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(18, 50, 74, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fafb 0%, var(--paper) 36%, #edf2f6 100%);
    color: var(--ink);
    min-height: 100vh;
    font-family: var(--theme-sans-family);
    text-rendering: optimizeLegibility;
}

a {
    color: var(--brand);
    text-decoration-color: rgba(18, 50, 74, 0.28);
}

a:hover {
    color: var(--brand-deep);
}

.public-body .container {
    width: min(100% - 1.6rem, 1500px);
    max-width: none;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site h4,
.site-header .brand-title,
.site-footer .footer-title {
    font-family: var(--theme-serif-family);
    letter-spacing: -0.02em;
}

.public-site {
    position: relative;
}

.public-main {
    position: relative;
    z-index: 1;
}

.has-whatsapp-float .site-footer .footer-bottom,
.has-whatsapp-float .site-footer [class$="footer-bottom"] {
    padding-inline-end: 10.5rem;
}

.public-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, var(--brand-deep), #12324a 72%, #1c415c);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
}

.topbar-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
    padding: 0.75rem 0;
}

.topbar-items span {
    position: relative;
}

.topbar-items span + span::before {
    content: "";
    position: absolute;
    left: -0.8rem;
    top: 50%;
    width: 0.26rem;
    height: 0.26rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-50%);
}

.whatsapp-float-button {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem 0.8rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #1fa855 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(16, 48, 32, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-float-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(16, 48, 32, 0.28);
}

.whatsapp-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.whatsapp-float-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.whatsapp-float-label {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(10px);
}

.site-header .navbar {
    padding: 1rem 0 1.2rem;
}

.nav-surface {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(184, 196, 207, 0.75);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-soft);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin-right: 1rem;
    text-decoration: none;
}

.brand-mark,
.footer-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.95rem;
    background: linear-gradient(145deg, var(--brand), var(--brand-deep));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-mark-image,
.footer-seal-image {
    padding: 0.2rem;
    background: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 10px 20px rgba(12, 27, 45, 0.08);
}

.brand-mark-image img,
.footer-seal-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.75rem;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-kicker,
.section-kicker,
.panel-kicker,
.footer-kicker,
.eyebrow,
.notice-meta {
    display: inline-block;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-kicker,
.section-kicker,
.panel-kicker,
.eyebrow {
    color: var(--accent);
}

.brand-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--brand-deep);
}

.site-header .navbar-collapse {
    align-items: center;
}

.site-header .navbar-nav {
    gap: 0.35rem;
}

.site-header .nav-link {
    position: relative;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--brand-deep);
    background: var(--brand-soft);
}

.site-header .nav-action {
    margin-left: 1rem;
}

.site-toggler {
    display: inline-flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: var(--panel);
    box-shadow: none;
}

.site-toggler span {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: var(--brand-deep);
}

.public-site .btn,
.site-header .btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.78rem 1.15rem;
    box-shadow: none;
}

.public-site .btn-sm,
.site-header .btn-sm {
    padding: 0.58rem 0.95rem;
}

.public-site .btn-primary,
.site-header .btn-primary {
    border-color: var(--brand);
    background: linear-gradient(135deg, var(--brand) 0%, #214967 100%);
}

.public-site .btn-primary:hover,
.site-header .btn-primary:hover {
    border-color: var(--brand-deep);
    background: linear-gradient(135deg, var(--brand-deep) 0%, #17364e 100%);
}

.public-site .btn-outline-primary,
.site-header .btn-outline-primary {
    color: var(--brand);
    border-color: rgba(18, 50, 74, 0.22);
    background: rgba(255, 255, 255, 0.78);
}

.public-site .btn-outline-primary:hover,
.site-header .btn-outline-primary:hover {
    color: var(--brand-deep);
    border-color: rgba(18, 50, 74, 0.35);
    background: var(--brand-soft);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 1.6rem 0 1.8rem;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(18, 50, 74, 0.18), transparent 25%),
        radial-gradient(circle at left center, rgba(155, 122, 57, 0.12), transparent 22%);
    pointer-events: none;
}

.home-hero {
    position: relative;
}

.home-hero-shell {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 560px;
    margin-bottom: 0.35rem;
    border-radius: 2rem;
    overflow: hidden;
    background: var(--brand-deep);
    box-shadow: 0 24px 48px rgba(12, 27, 45, 0.12);
}

.home-hero-media,
.home-hero-media img,
.home-hero-media-fallback {
    width: 100%;
    height: 100%;
}

.home-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero-media img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.home-hero-media-fallback {
    background: linear-gradient(145deg, var(--brand-soft), var(--paper));
}

.home-hero-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10, 32, 51, 0.02) 0%, rgba(10, 32, 51, 0.35) 40%, rgba(10, 32, 51, 0.95) 60%, var(--brand-deep) 85%);
    pointer-events: none;
}

.home-hero-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    padding: 3.5rem;
}

.home-hero-secondary-action {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.home-hero-secondary-action:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.home-hero-summary-strong {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--brand-deep);
}

.home-hero-meta-inline {
    margin-top: 1.2rem;
}

.home-hero-note-light {
    background: rgba(18, 50, 74, 0.06);
    color: var(--ink-soft);
}

.home-hero-grid-map {
    align-items: stretch;
}

.home-hero-map-shell {
    display: flex;
    flex-direction: column;
}

.home-hero-fallback-panel {
    min-height: 100%;
}

.home-hero-compact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 1.4rem;
    align-items: stretch;
}

.home-hero-compact-copy {
    display: flex;
    flex-direction: column;
}

.home-hero-compact-media {
    margin-top: auto;
    overflow: hidden;
    border: 1px solid rgba(184, 196, 207, 0.7);
    border-radius: 1.35rem;
    min-height: 220px;
}

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

.home-hero-compact-aside {
    padding: 1.45rem;
    border-radius: 1.65rem;
}

.home-hero-compact-grid {
    display: grid;
    gap: 1rem;
}

.home-hero-compact-item {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(18, 50, 74, 0.08);
}

.home-hero-compact-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.home-hero-compact-item span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.home-hero-compact-item strong {
    display: block;
    color: var(--brand-deep);
    font-size: 1rem;
    line-height: 1.5;
}

.home-hero-compact-item-action .btn {
    margin-top: 0.3rem;
}

.home-hero-compact-item-note strong {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.layout-magazine-hero,
.layout-boardroom-hero,
.layout-panorama-hero {
    position: relative;
}

.layout-magazine-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 1rem;
    align-items: stretch;
}

.layout-magazine-lead {
    padding: 2rem;
    border-radius: 1.8rem;
}

.layout-magazine-lead h1 {
    margin: 0.45rem 0 0.7rem;
    color: var(--brand-deep);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 0.95;
}

.layout-magazine-subtitle {
    margin: 0 0 1rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
    font-weight: 700;
}

.layout-magazine-side {
    display: grid;
    gap: 0.85rem;
}

.layout-magazine-card {
    padding: 1.1rem 1.2rem;
}

.layout-magazine-card span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.layout-magazine-card strong {
    display: block;
    color: var(--brand-deep);
    font-size: 1rem;
    line-height: 1.45;
}

.layout-magazine-link-card a {
    color: var(--brand-deep);
    font-weight: 700;
    text-decoration: none;
}

.layout-magazine-link-card a:hover {
    text-decoration: underline;
}

.layout-boardroom-shell {
    border: 1px solid rgba(184, 196, 207, 0.8);
    border-radius: 1.8rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 42, 66, 0.96), rgba(18, 50, 74, 0.96));
    box-shadow: 0 24px 48px rgba(12, 27, 45, 0.14);
}

.layout-boardroom-intro {
    padding: 2rem 2.1rem 1.5rem;
    color: rgba(255, 255, 255, 0.88);
}

.layout-boardroom-intro .section-kicker {
    color: rgba(255, 255, 255, 0.66);
}

.layout-boardroom-intro h1 {
    margin: 0.45rem 0 0.65rem;
    color: #ffffff;
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    line-height: 0.94;
}

.layout-boardroom-subtitle {
    margin: 0 0 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.06rem;
    font-weight: 700;
}

.layout-boardroom-intro .hero-summary {
    color: rgba(255, 255, 255, 0.72);
}

.layout-boardroom-note {
    margin: 1rem 0 0;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
}

.layout-boardroom-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0 1.2rem 1.2rem;
}

.layout-boardroom-tile {
    display: block;
    padding: 1rem;
    border-radius: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.layout-boardroom-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(12, 27, 45, 0.2);
}

.layout-boardroom-tile span {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.layout-boardroom-tile strong {
    display: block;
    color: var(--brand-deep);
    font-size: 0.98rem;
    line-height: 1.4;
}

.layout-panorama-hero {
    min-height: 560px;
    border: 1px solid rgba(184, 196, 207, 0.75);
    border-radius: 2rem;
    overflow: hidden;
    background: var(--brand-deep);
    box-shadow: 0 24px 52px rgba(12, 27, 45, 0.16);
}

.layout-panorama-media,
.layout-panorama-media img,
.layout-panorama-fallback {
    width: 100%;
    height: 100%;
}

.layout-panorama-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.layout-panorama-media img {
    display: block;
    object-fit: cover;
}

.layout-panorama-fallback {
    background: linear-gradient(140deg, var(--brand-soft), var(--paper), #d5dfeb);
}

.layout-panorama-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(115deg, rgba(10, 32, 51, 0.9) 12%, rgba(10, 32, 51, 0.6) 48%, rgba(10, 32, 51, 0.28) 72%, rgba(10, 32, 51, 0.12) 100%);
}

.layout-panorama-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 2.2rem 2.4rem 6.6rem 3.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.layout-panorama-content h1 {
    margin: 0.45rem 0 0.7rem;
    color: #ffffff;
    font-size: clamp(2.35rem, 4.3vw, 3.95rem);
    line-height: 0.93;
}

.layout-panorama-subtitle {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    font-weight: 700;
}

.layout-panorama-content .hero-summary {
    color: rgba(255, 255, 255, 0.78);
}

.layout-panorama-floating {
    position: absolute;
    left: 2.2rem;
    right: 2.2rem;
    bottom: 1.6rem;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.layout-panorama-floating article {
    padding: 0.95rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.layout-panorama-floating span {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.layout-panorama-floating strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.45;
}

.home-main-layout-magazine .section-title {
    letter-spacing: -0.015em;
}

.home-main-layout-magazine .public-section:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(18, 50, 74, 0.02), rgba(255, 255, 255, 0));
}

.home-main-layout-boardroom .public-main {
    background:
        radial-gradient(circle at top right, rgba(18, 50, 74, 0.08), transparent 24%),
        linear-gradient(180deg, #f4f7fa 0%, #ebf1f6 100%);
}

.home-main-layout-boardroom .public-panel,
.home-main-layout-boardroom .public-card {
    border-radius: 1.2rem;
}

.home-main-layout-panorama .public-section {
    padding-top: 1rem;
    padding-bottom: 2.4rem;
}

.home-main-layout-panorama .section-heading {
    margin-bottom: 1rem;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 1.75rem;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.page-hero-shell,
.public-card,
.public-panel,
.content-card,
.sidebar-card,
.table-shell {
    border: 1px solid rgba(184, 196, 207, 0.82);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
}

.hero-copy {
    padding: 3rem;
    border-radius: 2rem;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.92)),
        var(--panel);
}

.hero-map-shell {
    padding: 1.1rem;
}

.hero-map-shell .hero-location-card {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-copy h1,
.page-hero-shell h1,
.detail-hero h1 {
    color: var(--brand-deep);
    font-size: clamp(2.3rem, 4vw, 4.25rem);
    line-height: 0.98;
    margin: 0.35rem 0 1rem;
}

.hero-summary,
.page-hero-shell p,
.detail-hero p,
.results-summary,
.public-card p,
.public-panel p,
.content-card p,
.site-footer p,
.rich-copy,
.page-content {
    color: var(--ink-soft);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 2rem 0 2.2rem;
}

.hero-location-card {
    height: 100%;
    padding: 1.1rem;
    border: 1px solid rgba(184, 196, 207, 0.78);
    border-radius: 1.45rem;
    background:
        linear-gradient(180deg, rgba(247, 250, 252, 0.98), rgba(238, 244, 248, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero-location-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.hero-location-head h2 {
    margin: 0.2rem 0 0;
    color: var(--brand-deep);
    font-size: 1.6rem;
}

.hero-location-frame {
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(184, 196, 207, 0.9);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, #dbe4eb 0%, #eef3f7 100%);
    box-shadow: 0 18px 32px rgba(12, 27, 45, 0.08);
}

.hero-location-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
    filter: saturate(0.9) contrast(1.02);
}

.hero-location-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.9rem 1.2rem;
    margin-top: 0.95rem;
}

.hero-location-meta div {
    min-width: 0;
    flex: 1 1 240px;
}

.hero-location-meta span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--ink-soft);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-location-meta strong {
    color: var(--brand-deep);
    font-size: 0.98rem;
    line-height: 1.45;
}

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

.metric-card {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.public-metric {
    padding: 1.3rem 1.4rem;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
}

.metric-card span {
    color: var(--ink-soft);
    font-size: 0.93rem;
}

.metric-card strong {
    font-size: 2rem;
    line-height: 1;
    color: var(--brand-deep);
}

.hero-panel {
    position: relative;
    padding: 2rem;
    border-radius: 2rem;
    background:
        linear-gradient(180deg, rgba(10, 32, 51, 0.98), rgba(18, 50, 74, 0.95)),
        var(--brand-deep);
    color: rgba(255, 255, 255, 0.9);
}

.hero-panel-home {
    display: flex;
    flex-direction: column;
}

.hero-panel-home h1 {
    margin: 0.35rem 0 0.45rem;
    color: #ffffff;
    font-size: clamp(2.25rem, 3.8vw, 3.6rem);
    line-height: 0.96;
}

.hero-panel-subtitle {
    margin: 0 0 0.85rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.45;
}

.hero-panel-summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.hero-actions-panel {
    margin: 1.45rem 0 1.75rem;
}

.hero-actions-compact {
    margin: 1.4rem 0 0;
}

.hero-panel .btn-outline-primary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.hero-panel .btn-outline-primary:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
}

.hero-panel h2 {
    color: #ffffff;
    font-size: 2rem;
    margin: 0.35rem 0 1.2rem;
}

.info-stack {
    display: grid;
    gap: 1rem;
}

.hero-panel .info-stack div {
    padding: 0.95rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel .info-stack span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.79rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.hero-panel .info-stack strong {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.hero-note,
.footer-note {
    margin: 1.4rem 0 0;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.contact-panel .info-stack div {
    padding: 0.95rem 0 0;
    border-top: 1px solid rgba(18, 50, 74, 0.08);
}

.contact-panel .info-stack span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.79rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.contact-panel .info-stack strong {
    color: var(--brand-deep);
    font-size: 1rem;
    font-weight: 600;
}

.contact-panel .hero-note,
.site-footer .footer-note {
    background: rgba(18, 50, 74, 0.06);
    color: var(--ink-soft);
}

.location-feature {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #eef2f5;
    box-shadow: var(--shadow-card);
}

.location-feature-map {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.location-feature-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(0.85) contrast(1.05);
}

.location-feature-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(18, 50, 74, 0.4) 0%, rgba(18, 50, 74, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.location-feature-float {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 3rem;
}

.location-feature-panel {
    width: 100%;
    max-width: 420px;
    padding: 2.2rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(12, 27, 45, 0.12);
}

.location-feature-panel h3 {
    margin-bottom: 1.5rem;
    color: var(--brand-deep);
    font-size: 1.35rem;
}

.location-feature-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.location-feature-stack div {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(18, 50, 74, 0.08);
}

.location-feature-stack div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.location-feature-stack span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.location-feature-stack strong {
    display: block;
    color: var(--brand-deep);
    font-size: 0.95rem;
    line-height: 1.4;
}

.location-feature-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.public-section {
    padding: 1.2rem 0 2.8rem;
}

.services-section {
    padding-top: 1.1rem;
}

.section-soft {
    background:
        linear-gradient(180deg, rgba(18, 50, 74, 0.03), rgba(255, 255, 255, 0)),
        transparent;
}

.page-hero {
    padding: 2rem 0 1.6rem;
}

.page-hero-compact {
    padding-top: 1.4rem;
}

.page-hero-shell {
    position: relative;
    overflow: hidden;
    padding: 2.35rem 2.6rem;
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at top right, rgba(18, 50, 74, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.94));
}

.page-hero-shell h1 {
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    margin-bottom: 0.75rem;
}

.section-heading,
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.section-title {
    font-size: 1.8rem;
    margin: 0;
    color: var(--brand-deep);
}

.section-link {
    font-weight: 600;
    text-decoration: none;
}

.compact-filter-shell {
    padding: 1.35rem 1.45rem;
    border-radius: 1.3rem;
}

.compact-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.compact-filter-shell .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}

.compact-filter-meta {
    flex-shrink: 0;
}

.result-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.48rem 0.85rem;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.86rem;
    font-weight: 700;
}

.compact-filter-form .form-label {
    margin-bottom: 0.35rem;
}

.compact-filter-form .form-control,
.compact-filter-form .form-select {
    min-height: 2.85rem;
}

.compact-filter-form .btn {
    padding-block: 0.72rem;
}

.services-results {
    margin-top: 0.2rem;
}

.public-card,
.public-panel,
.content-card,
.sidebar-card,
.table-shell {
    border-radius: var(--radius-lg);
}

.public-card,
.public-panel,
.content-card,
.sidebar-card {
    padding: 1.55rem;
}

.public-card,
.feature-card {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.public-card:hover,
.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 50, 74, 0.28);
    box-shadow: 0 20px 38px rgba(12, 27, 45, 0.09);
}

.feature-topline,
.record-topline,
.staff-topline {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-category,
.feature-code,
.stack-item-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-category,
.stack-item-badge {
    background: var(--brand-soft);
    color: var(--brand);
}

.feature-code {
    background: var(--accent-soft);
    color: #785c28;
}

.public-card h2,
.public-card h3,
.public-panel h2,
.public-panel h3,
.content-card h2,
.sidebar-card h2 {
    color: var(--brand-deep);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.shift-card {
    border: 1px solid rgba(184, 196, 207, 0.76);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.94));
}

.shift-card .shift-time {
    margin: 0 0 0.55rem;
    color: var(--brand-deep);
    font-size: 1rem;
    font-weight: 700;
}

.shift-card .shift-notes {
    margin: 0;
    color: var(--ink-soft);
}

.popup-notice-card {
    border: 1px solid rgba(184, 196, 207, 0.76);
    border-radius: 1.5rem;
    overflow: hidden;
}

.popup-notice-card .modal-header,
.popup-notice-card .modal-body {
    padding-inline: 1.75rem;
}

.popup-notice-card .modal-header {
    padding-top: 1.5rem;
}

.popup-notice-card .modal-body {
    padding-bottom: 1.75rem;
}

.popup-notice-important {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.96));
}

.popup-notice-warning {
    background: linear-gradient(180deg, rgba(255, 250, 238, 0.98), rgba(255, 246, 220, 0.96));
}

.popup-notice-promotion {
    background: linear-gradient(180deg, rgba(246, 251, 255, 0.99), rgba(233, 244, 252, 0.96));
}

.popup-notice-info {
    background: linear-gradient(180deg, rgba(248, 251, 253, 0.98), rgba(240, 246, 250, 0.96));
}

.popup-notice-media {
    border-radius: 1.2rem;
    overflow: hidden;
    background: rgba(18, 50, 74, 0.06);
    min-height: 18rem;
}

.popup-notice-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-notice-text,
.popup-notice-html {
    color: var(--ink);
    line-height: 1.7;
}

.popup-notice-html p:last-child,
.popup-notice-text p:last-child {
    margin-bottom: 0;
}

.popup-notice-html a {
    color: var(--brand);
    font-weight: 600;
}

.notice-card::before,
.record-panel::before,
.content-card::before,
.sidebar-card::before {
    content: "";
    display: block;
    width: 3.5rem;
    height: 0.22rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), rgba(155, 122, 57, 0.16));
}

.notice-card-warning {
    background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.notice-card-danger,
.notice-card-error {
    background: linear-gradient(180deg, #fff8f6 0%, #ffffff 100%);
}

.feature-meta,
.staff-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.feature-meta span,
.staff-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: rgba(18, 50, 74, 0.06);
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.staff-role {
    margin-bottom: 0.4rem;
    color: var(--ink);
    font-weight: 600;
}

.stack-list {
    display: grid;
    gap: 1rem;
}

.stack-item,
.stack-item-card {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.stack-item-date {
    min-width: 6.2rem;
    padding-top: 0.15rem;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stack-item h3,
.stack-item-card h3 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.quick-links-grid a {
    display: flex;
    align-items: end;
    min-height: 7rem;
    padding: 1.15rem;
    border: 1px solid rgba(184, 196, 207, 0.76);
    border-radius: 1.2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 251, 0.96));
    color: var(--brand-deep);
    font-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", serif;
    font-size: 1.18rem;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.quick-links-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 50, 74, 0.28);
}

.home-quick-links-panel {
    padding-block: 1.7rem;
}

.quick-links-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.quick-links-grid-home a {
    min-height: 6.2rem;
    font-size: 1.08rem;
}

.interest-links-section {
    overflow: hidden;
    padding-top: 1.6rem;
    background:
        linear-gradient(180deg, rgba(18, 50, 74, 0.025), rgba(255, 255, 255, 0));
}

.interest-links-heading {
    justify-content: center;
    text-align: center;
}

.interest-links-heading > div {
    margin-inline: auto;
}

.interest-links-carousel {
    --interest-links-gap: 1rem;
    position: relative;
    width: min(100%, 1180px);
    margin-inline: auto;
    overflow: hidden;
    padding: 0.25rem 0.1rem 0.55rem;
}

.interest-links-carousel.has-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.interest-links-track {
    display: flex;
    justify-content: center;
    gap: var(--interest-links-gap);
    width: max-content;
    min-width: 100%;
    margin-inline: auto;
}

.interest-links-set {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--interest-links-gap);
}

.interest-links-carousel.has-marquee .interest-links-track {
    justify-content: flex-start;
    animation: interest-links-marquee var(--interest-links-duration, 24s) linear infinite;
}

.interest-links-carousel:hover .interest-links-track,
.interest-links-carousel:focus-within .interest-links-track {
    animation-play-state: paused;
}

.interest-link-card {
    display: grid;
    grid-template-rows: 5.2rem auto;
    justify-items: center;
    align-items: center;
    gap: 0.6rem;
    width: 11.25rem;
    min-height: 8.5rem;
    padding: 1rem 0.9rem 0.85rem;
    border: 1px solid rgba(184, 196, 207, 0.8);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-deep);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(12, 27, 45, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.interest-link-card:hover,
.interest-link-card:focus-visible {
    color: var(--brand-deep);
    transform: translateY(-2px);
    border-color: rgba(18, 50, 74, 0.32);
    box-shadow: 0 16px 30px rgba(12, 27, 45, 0.1);
}

.interest-link-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 5.2rem;
}

.interest-link-logo img {
    display: block;
    width: 100%;
    max-width: 8.5rem;
    height: 100%;
    object-fit: contain;
}

.interest-link-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 0.5rem;
    background:
        linear-gradient(145deg, rgba(18, 50, 74, 0.08), rgba(155, 122, 57, 0.13));
    color: var(--brand);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.interest-link-name {
    display: -webkit-box;
    width: 100%;
    min-height: 2.35rem;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes interest-links-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (var(--interest-links-gap) / 2)));
    }
}

@media (prefers-reduced-motion: reduce) {
    .interest-links-carousel.has-marquee .interest-links-track {
        animation: none;
        transform: none;
    }
}

.home-gallery-rotator {
    position: relative;
    --home-gallery-main-height: 460px;
    --home-gallery-gap: 0.95rem;
    --home-gallery-side-width: 31%;
    --home-gallery-main-width: calc(100% - var(--home-gallery-side-width) - var(--home-gallery-gap));
    --home-gallery-side-height: calc((100% - var(--home-gallery-gap)) / 2);
}

.home-gallery-stage {
    position: relative;
    height: var(--home-gallery-main-height);
    overflow: hidden;
}

.home-gallery-panel {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(184, 196, 207, 0.82);
    border-radius: 1.4rem;
    box-shadow: var(--shadow-card);
    background: #d7e0e8;
    transform-origin: center center;
    will-change: top, right, left, bottom, width, height, opacity, transform;
    transition:
        top 0.72s cubic-bezier(0.2, 0.88, 0.24, 1),
        right 0.72s cubic-bezier(0.2, 0.88, 0.24, 1),
        left 0.72s cubic-bezier(0.2, 0.88, 0.24, 1),
        bottom 0.72s cubic-bezier(0.2, 0.88, 0.24, 1),
        width 0.72s cubic-bezier(0.2, 0.88, 0.24, 1),
        height 0.72s cubic-bezier(0.2, 0.88, 0.24, 1),
        opacity 0.44s ease,
        transform 0.72s cubic-bezier(0.2, 0.88, 0.24, 1),
        box-shadow 0.72s cubic-bezier(0.2, 0.88, 0.24, 1);
}

.position-main {
    top: 0;
    left: 0;
    width: var(--home-gallery-main-width);
    height: 100%;
    z-index: 3;
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 22px 44px rgba(12, 27, 45, 0.1);
}

.position-top {
    top: 0;
    right: 0;
    width: var(--home-gallery-side-width);
    height: var(--home-gallery-side-height);
    z-index: 2;
    transform: translate3d(0, 0, 0) scale(0.985);
}

.position-bottom {
    right: 0;
    bottom: 0;
    width: var(--home-gallery-side-width);
    height: var(--home-gallery-side-height);
    z-index: 1;
    transform: translate3d(0, 0, 0) scale(0.985);
}

.position-enter-right {
    right: calc(-1 * (var(--home-gallery-side-width) + var(--home-gallery-gap)));
    bottom: 0;
    width: var(--home-gallery-side-width);
    height: var(--home-gallery-side-height);
    opacity: 0;
    transform: translate3d(18px, 0, 0) scale(0.94);
    z-index: 1;
    pointer-events: none;
}

.position-enter-left {
    top: 0;
    left: calc(-1 * (var(--home-gallery-main-width) + var(--home-gallery-gap)));
    width: var(--home-gallery-main-width);
    height: 100%;
    opacity: 0;
    transform: translate3d(-18px, 0, 0) scale(0.96);
    z-index: 3;
    pointer-events: none;
}

.position-exit-left {
    top: 0;
    left: calc(-1 * (var(--home-gallery-main-width) + var(--home-gallery-gap)));
    width: var(--home-gallery-main-width);
    height: 100%;
    opacity: 0;
    transform: translate3d(-18px, 0, 0) scale(0.94);
    z-index: 0;
    pointer-events: none;
}

.position-exit-right {
    right: calc(-1 * (var(--home-gallery-side-width) + var(--home-gallery-gap)));
    bottom: 0;
    width: var(--home-gallery-side-width);
    height: var(--home-gallery-side-height);
    opacity: 0;
    transform: translate3d(18px, 0, 0) scale(0.94);
    z-index: 0;
    pointer-events: none;
}

.home-gallery-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.8rem 0.95rem;
    background:
        linear-gradient(180deg, rgba(10, 32, 51, 0.03) 0%, rgba(10, 32, 51, 0.82) 72%, rgba(10, 32, 51, 0.92) 100%);
}

.home-gallery-overlay .panel-kicker {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.2rem;
    font-size: 0.66rem;
}

.home-gallery-overlay h3 {
    margin-bottom: 0.15rem;
    color: #ffffff;
    font-size: 1.05rem;
}

.home-gallery-overlay p {
    margin: 0;
    max-width: 70ch;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.35;
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.position-main .home-gallery-overlay h3 {
    font-size: 1.35rem;
}

.position-main .home-gallery-overlay p {
    font-size: 0.92rem;
}

.position-top .home-gallery-overlay,
.position-bottom .home-gallery-overlay,
.position-enter-right .home-gallery-overlay,
.position-exit-right .home-gallery-overlay {
    padding: 0.65rem 0.8rem;
}

.position-top .home-gallery-overlay .panel-kicker,
.position-bottom .home-gallery-overlay .panel-kicker,
.position-enter-right .home-gallery-overlay .panel-kicker,
.position-exit-right .home-gallery-overlay .panel-kicker {
    display: none;
}

.position-top .home-gallery-overlay h3,
.position-bottom .home-gallery-overlay h3,
.position-enter-right .home-gallery-overlay h3,
.position-exit-right .home-gallery-overlay h3 {
    font-size: 0.96rem;
}

.position-top .home-gallery-overlay p,
.position-bottom .home-gallery-overlay p,
.position-enter-right .home-gallery-overlay p,
.position-exit-right .home-gallery-overlay p {
    font-size: 0.78rem;
    -webkit-line-clamp: 1;
}

.home-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    margin-top: 1rem;
}

.home-carousel-control {
    position: static;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(184, 196, 207, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-deep);
    opacity: 1;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.home-carousel-control:hover {
    border-color: rgba(18, 50, 74, 0.28);
    background: var(--brand-soft);
}

.home-carousel-control span {
    font-size: 2rem;
    line-height: 1;
}

.home-gallery-status {
    margin-top: 0.85rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.home-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.home-gallery-thumb {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 0.8rem;
    align-items: center;
    padding: 0.6rem;
    border: 1px solid rgba(184, 196, 207, 0.82);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
    text-align: left;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.home-gallery-thumb:hover,
.home-gallery-thumb.active,
.home-gallery-thumb[aria-current="true"] {
    transform: translateY(-1px);
    border-color: rgba(18, 50, 74, 0.28);
    background: var(--brand-soft);
}

.home-gallery-thumb img {
    width: 78px;
    height: 58px;
    object-fit: cover;
    border-radius: 0.8rem;
    display: block;
}

.home-gallery-thumb span {
    color: var(--brand-deep);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}

.empty-state {
    padding: 1.25rem 1.35rem;
    border: 1px dashed var(--line-strong);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink-soft);
}

.empty-state-inline {
    margin-top: 0.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.back-link::before {
    content: "<";
}

.detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: start;
    padding: 2.2rem 2.4rem;
    border: 1px solid rgba(184, 196, 207, 0.82);
    border-radius: 1.8rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.94));
    box-shadow: var(--shadow-card);
}

.detail-hero-code {
    min-width: 5.8rem;
    padding: 0.95rem 1.1rem;
    border-radius: 1.1rem;
    background: var(--brand-deep);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.content-card,
.sidebar-card {
    margin-bottom: 1.25rem;
}

.rich-copy,
.page-content {
    font-size: 1rem;
}

.sidebar-stack {
    display: grid;
    gap: 1.25rem;
}

.sticky-card {
    position: sticky;
    top: 8.75rem;
}

.public-definition {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    gap: 0.8rem 1rem;
    margin: 0;
}

.public-definition dt {
    font-weight: 700;
    color: var(--brand-deep);
}

.public-definition dd {
    margin: 0;
    color: var(--ink-soft);
}

.compact-definition {
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    font-size: 0.94rem;
}

.inline-link {
    font-weight: 600;
    text-decoration: none;
}

.support-note {
    padding: 1rem 1.15rem;
    border: 1px solid rgba(155, 122, 57, 0.18);
    border-radius: 1rem;
    background: linear-gradient(180deg, #fffaf0 0%, #fffefe 100%);
    color: #6c5a34;
}

.results-header {
    margin-bottom: 1.2rem;
}

.table-shell {
    overflow: hidden;
}

.institutional-table thead th {
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f9fbfc 0%, #f1f5f8 100%);
    color: var(--brand-deep);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.institutional-table > :not(caption) > * > * {
    padding: 1rem 1.1rem;
    border-color: rgba(214, 221, 228, 0.95);
}

.institutional-table tbody tr:hover {
    background: rgba(230, 238, 245, 0.38);
}

.pagination-shell {
    margin-top: 1.6rem;
}

.public-site .pagination {
    gap: 0.5rem;
    margin-bottom: 0;
}

.public-site .page-link {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--brand);
    background: rgba(255, 255, 255, 0.9);
}

.public-site .page-item.active .page-link {
    border-color: var(--brand);
    background: var(--brand);
}

.public-site .form-label {
    color: var(--brand-deep);
    font-size: 0.92rem;
    font-weight: 600;
}

.public-site .form-control,
.public-site .form-select,
.public-site textarea {
    min-height: 3rem;
    border-color: var(--line);
    border-radius: 0.95rem;
    padding: 0.8rem 0.95rem;
    background: #fbfcfd;
}

.public-site textarea.form-control {
    min-height: 8rem;
}

.public-site .form-control:focus,
.public-site .form-select:focus {
    border-color: rgba(18, 50, 74, 0.34);
    box-shadow: 0 0 0 0.25rem rgba(18, 50, 74, 0.09);
}

.contact-form-card .btn-primary {
    min-width: 12rem;
}

.faq-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(184, 196, 207, 0.82);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.faq-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}

.faq-accordion .accordion-button {
    padding: 1.2rem 1.25rem;
    font-weight: 600;
    color: var(--brand-deep);
    background: #ffffff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--brand-soft);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.prose-card .page-content {
    max-width: 74ch;
}

.site-footer,
.admin-sidebar,
.card,
.info-panel,
.metric-card {
    background: var(--panel);
}

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(184, 196, 207, 0.7);
    background:
        radial-gradient(circle at bottom left, rgba(18, 50, 74, 0.12), transparent 24%),
        linear-gradient(180deg, #f7fafc 0%, #eef3f6 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.footer-brand-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.footer-title {
    margin: 0 0 0.6rem;
    color: var(--brand-deep);
    font-size: 1.45rem;
}

.footer-copy {
    max-width: 38ch;
}

.footer-block h2 {
    margin-bottom: 0.9rem;
    font-size: 1rem;
    font-family: var(--theme-sans-family);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-deep);
}

.footer-list,
.footer-links {
    display: grid;
    gap: 0.55rem;
}

.footer-list {
    padding: 0;
    margin: 0;
    list-style: none;
    color: var(--ink-soft);
}

.footer-links a {
    color: var(--ink-soft);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--brand-deep);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.25rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(184, 196, 207, 0.7);
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.footer-credit a {
    color: var(--brand-deep);
    font-weight: 600;
    text-decoration: none;
}

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

.admin-shell {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset -1px 0 0 rgba(184, 196, 207, 0.6);
}

.sidebar-title {
    padding: 0.35rem 0.3rem 1rem;
    border-bottom: 1px solid rgba(184, 196, 207, 0.7);
}

.sidebar-caption {
    margin-top: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-sidebar-nav {
    display: grid;
    gap: 0.8rem;
}

.sidebar-group {
    border: 1px solid rgba(184, 196, 207, 0.72);
    border-radius: 1rem;
    background: rgba(247, 249, 251, 0.88);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sidebar-group[open] {
    background: #fff;
    border-color: rgba(18, 50, 74, 0.16);
    box-shadow: 0 16px 34px rgba(12, 27, 45, 0.05);
}

.sidebar-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--brand-deep);
    font-weight: 700;
}

.sidebar-group-toggle::-webkit-details-marker {
    display: none;
}

.sidebar-group-toggle::after {
    content: "›";
    color: var(--ink-soft);
    font-size: 1.15rem;
    transform: none;
    transition: transform 0.18s ease;
}

.sidebar-group[open] .sidebar-group-toggle::after {
    transform: rotate(90deg);
}

.sidebar-group-title {
    font-size: 0.95rem;
}

.sidebar-group-meta {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar-subnav {
    display: grid;
    gap: 0.35rem;
    padding: 0 0.55rem 0.65rem;
}

.sidebar-quicklink {
    margin-bottom: 0.1rem;
}

.admin-sidebar .nav-link {
    color: var(--ink);
    border-radius: 0.8rem;
}

.admin-sidebar .sidebar-link {
    display: block;
    padding: 0.7rem 0.85rem;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
}

.admin-sidebar .nav-link:hover {
    background: var(--brand-soft);
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--brand) 0%, #214967 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(18, 50, 74, 0.18);
}

.sidebar-account {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(184, 196, 207, 0.72);
}

.sidebar-account .nav-link + .nav-link {
    margin-top: 0.25rem;
}

.admin-main {
    min-width: 0;
}

dl dt {
    font-weight: 600;
    margin-top: 0.75rem;
}

dl dd {
    margin-bottom: 0;
    color: var(--ink-soft);
}

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

    .home-hero-compact-shell {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 991px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        border-bottom: 1px solid var(--line);
    }

    .nav-surface {
        display: block;
        padding: 1rem;
    }

    .site-header .navbar-collapse {
        margin-top: 1rem;
    }

    .site-header .nav-action {
        margin: 1rem 0 0;
    }

    .section-heading,
    .results-header,
    .compact-filter-header,
    .hero-location-head,
    .detail-hero,
    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }

    .footer-bottom {
        padding-right: 0;
    }

    .has-whatsapp-float .site-footer .footer-bottom,
    .has-whatsapp-float .site-footer [class$="footer-bottom"] {
        padding-inline-end: 0;
    }

    .sticky-card {
        position: static;
    }

    .quick-links-grid,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-shell {
        min-height: auto;
        flex-direction: column;
    }

    .home-hero-media {
        position: relative;
        min-height: 350px;
    }

    .home-hero-media-overlay {
        background: linear-gradient(180deg, rgba(10, 32, 51, 0.02) 0%, rgba(10, 32, 51, 0.5) 45%, var(--brand-deep) 95%);
    }

    .home-hero-panel {
        max-width: 100%;
        margin-top: -80px;
        padding: 0 1.5rem 3rem;
    }

    .location-feature {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .location-feature-map {
        position: relative;
        min-height: 300px;
    }

    .location-feature-float {
        justify-content: center;
        margin-top: -60px;
        padding: 1.5rem 1rem;
    }

    .location-feature-panel {
        max-width: 100%;
    }

    .layout-magazine-grid,
    .layout-panorama-floating,
    .layout-boardroom-board {
        grid-template-columns: 1fr;
    }

    .layout-panorama-hero {
        min-height: auto;
    }

    .layout-panorama-content {
        padding: 1.6rem 1.3rem 1.1rem;
    }

    .layout-panorama-floating {
        position: static;
        padding: 0 1.3rem 1.3rem;
    }

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

    .interest-link-card {
        width: 10.25rem;
    }

    .hero-location-frame,
    .hero-location-frame iframe {
        min-height: 320px;
    }

    .home-gallery-rotator {
        --home-gallery-main-height: 360px;
    }

    .home-gallery-stage {
        height: auto;
        display: grid;
        gap: var(--home-gallery-gap);
    }

    .home-gallery-panel,
    .position-main,
    .position-top,
    .position-bottom,
    .position-enter-left,
    .position-enter-right,
    .position-exit-left,
    .position-exit-right {
        position: relative;
        inset: auto;
        width: 100%;
        transform: none;
        opacity: 1;
    }

    .position-main {
        height: var(--home-gallery-main-height);
    }

    .position-top,
    .position-bottom {
        height: 150px;
    }

    .public-definition,
    .compact-definition {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .public-body .container {
        width: min(100% - 1rem, 1500px);
    }

    .hero-copy,
    .hero-panel,
    .page-hero-shell,
    .detail-hero,
    .public-card,
    .public-panel,
    .content-card,
    .sidebar-card {
        padding: 1.3rem;
        border-radius: 1.25rem;
    }

    .home-gallery-panel,
    .home-gallery-thumb {
        border-radius: 1.1rem;
    }

    .home-hero-panel {
        padding-inline: 1.25rem;
        padding-bottom: 2rem;
    }

    .home-hero-compact-aside {
        padding: 1.3rem;
    }

    .layout-magazine-lead,
    .layout-boardroom-intro {
        padding: 1.35rem;
    }

    .layout-boardroom-board {
        padding: 0 0.85rem 0.85rem;
    }

    .hero-copy h1,
    .page-hero-shell h1,
    .detail-hero h1 {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }

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

    .topbar-items {
        gap: 0.45rem 1rem;
    }

    .topbar-items span + span::before {
        display: none;
    }

    .whatsapp-float-button {
        right: 1rem;
        bottom: 1rem;
        padding: 0.82rem 0.95rem;
    }

    .hero-location-card {
        padding: 0.9rem;
    }

    .home-hero-media {
        min-height: 260px;
    }

    .layout-panorama-content h1,
    .layout-magazine-lead h1,
    .layout-boardroom-intro h1 {
        font-size: clamp(1.95rem, 8.8vw, 2.85rem);
    }

    .quick-links-grid-home {
        grid-template-columns: 1fr;
    }

    .interest-links-carousel {
        --interest-links-gap: 0.75rem;
        width: calc(100% + 1rem);
        margin-inline: -0.5rem;
    }

    .interest-link-card {
        grid-template-rows: 4.5rem auto;
        width: 9.2rem;
        min-height: 7.7rem;
        padding: 0.85rem 0.75rem 0.75rem;
    }

    .interest-link-logo {
        height: 4.5rem;
    }

    .interest-link-logo img {
        max-width: 7rem;
    }

    .interest-link-initials {
        width: 3.85rem;
        height: 3.85rem;
    }

    .interest-link-name {
        min-height: 2.2rem;
        font-size: 0.84rem;
    }

    .hero-location-frame,
    .hero-location-frame iframe {
        min-height: 240px;
    }

    .home-gallery-rotator {
        --home-gallery-main-height: 260px;
        --home-gallery-gap: 0.7rem;
    }
}

.timeline-stack {
    display: grid;
    gap: 1rem;
}

.timeline-card {
    border: 1px solid rgba(15, 42, 66, 0.12);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 42, 66, 0.06);
}

/* =========================================
   LAYOUT: BENTO
========================================== */
.layout-bento-hero {
    padding: 2rem 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(180px, auto);
    gap: 1.25rem;
}

.bento-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 1.6rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s;
}
.bento-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

/* Sizes */
.bento-card-main {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--brand-deep);
    color: var(--paper);
    border: none;
    justify-content: center;
}
.bento-card-main h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1;
    color: #fff;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.03em;
}

.bento-card-media {
    grid-column: span 2;
    grid-row: span 1;
    padding: 0;
    border: none;
}
.bento-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-card-small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-card-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Specific inner styles */
.bento-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: auto;
}
.bento-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1rem;
    line-height: 1.4;
}
.bento-card-main .bento-value { color: rgba(255,255,255,0.8); font-size:1.05rem; font-weight: 400;}

/* Action card */
.bento-card-action {
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    justify-content: space-between;
}
.bento-card-action:hover { background: var(--accent); color: var(--brand-deep); }
.bento-card-action .bento-label { color: rgba(255,255,255,0.8); }
.bento-card-action:hover .bento-label { color: rgba(0,0,0,0.5); }
.bento-card-action .bento-value { color: #fff; font-size: 1.4rem; font-weight: 800; }
.bento-card-action:hover .bento-value { color: var(--brand-deep); }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card-main, .bento-card-media, .bento-card-small, .bento-card-wide { grid-column: span 1; }
}


/* =========================================
   LAYOUT: FOCUS
========================================== */
.layout-focus-hero {
    position: relative;
    padding: 7rem 2rem 5rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.focus-bg {
    position: absolute;
    inset: -10%;
    background: 
        radial-gradient(circle at 50% 0%, var(--panel), transparent 60%),
        var(--paper-deep);
    z-index: 0;
    filter: blur(40px);
}

.focus-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.focus-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.focus-content h1 {
    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: 0.92;
    color: var(--brand-deep);
    letter-spacing: -0.04em;
    margin: 0 auto 1.5rem;
}

.focus-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 48ch;
    margin: 0 auto 3rem;
}

.focus-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.focus-metrics {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 5rem;
    border-top: 1px solid var(--line);
    padding-top: 3rem;
}

.focus-metric {
    text-align: left;
}
.focus-metric span {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--line-strong);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}
.focus-metric strong {
    display: block;
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 500;
}

@media (max-width: 600px) {
    .focus-metrics { flex-direction: column; gap: 1.5rem; border:none; padding:0; margin-top:3rem;}
    .focus-metric { text-align: center; }
}
