/**
 * ═══════════════════════════════════════════════════════════════
 *  PLANTILLA WEB GUBERNAMENTAL
 *  Identidad Gráfica Oficial — 3 Esquemas de Color + 3 Diseños
 * ═══════════════════════════════════════════════════════════════
 *
 *  PANTONE 432 C  → #313945  (slate/gris institucional)
 *  PANTONE 7604 C → #C9A892  (beige/tan)
 *  PANTONE 281 C  → #1c1e4d  (azul marino soberano)
 *  Emblema        → #d2d2d2 / #ffffff
 *
 *  Tipografía:
 *    Titulares  → Bembo Std  (fallback: EB Garamond)
 *    Cuerpos    → Museo Sans (fallback: DM Sans)
 *
 *  Diseños:
 *    formal     — Conservador, líneas limpias, diplomático
 *    moderno    — Más aireado, cards redondeadas, sombras suaves
 *    ejecutivo  — Bold, high contrast, impacto visual
 * ═══════════════════════════════════════════════════════════════
 */

/* ─────────────────────────────────────────────────────
   0. RESET & BASE
   ───────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.25;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--color-primary); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ─────────────────────────────────────────────────────
   1. LAYOUT
   ───────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide { max-width: 1400px; }
.container-narrow { max-width: 800px; }

.section,
.page-section {
    padding: 4rem 0;
}
.section--sm { padding: 2rem 0; }
.section--lg { padding: 6rem 0; }

/* Padding utilities */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-2 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-5 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* Empty section placeholder (shown when content is not yet configured) */
.section-empty-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    color: #94a3b8;
    text-align: center;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}
.section-empty-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}
.section-empty-placeholder p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.section--surface { background-color: var(--color-surface); }
.section--primary {
    background-color: var(--color-primary);
    color: #fff;
}
.section--primary h1, .section--primary h2, .section--primary h3,
.section--primary h4, .section--primary h5, .section--primary h6 {
    color: #fff;
}
.section--accent {
    background-color: var(--color-accent);
    color: #fff;
}
.section--accent h1, .section--accent h2, .section--accent h3 { color: #fff; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
}
.section-header p {
    margin-top: 1rem;
    color: var(--color-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid system */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────
   2. GOVERNMENT TOP STRIP
   ───────────────────────────────────────────────────── */
.gov-strip {
    background: var(--color-accent);
    color: rgba(255,255,255,0.92);
    padding: 0;
    font-size: 0.73rem;
    letter-spacing: 0.02em;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}
.gov-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}
.gov-strip-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.gov-strip-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.gov-strip-logo {
    height: 17px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.gov-strip-label {
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
    font-weight: 600;
}
.gov-strip-link {
    color: rgba(255,255,255,0.65);
    font-size: 0.73rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
}
.gov-strip-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.gov-strip-link i { font-size: 0.62rem; opacity: 0.7; }
.gov-strip-social {
    display: flex;
    gap: 0.15rem;
    margin-left: 0.35rem;
    padding-left: 0.65rem;
    border-left: 1px solid rgba(255,255,255,0.15);
}
.gov-strip-social a {
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    transition: all 0.2s;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.gov-strip-social a:hover { 
    color: #fff; 
    background: rgba(255,255,255,0.1); 
}
.gov-strip--slim { }
.gov-strip--slim .gov-strip-inner { height: 32px; }
.gov-strip--dark { background: color-mix(in srgb, var(--color-accent), #000 20%); }

@media (max-width: 768px) {
    .gov-strip-label { display: none; }
    .gov-strip-right { gap: 0.25rem; }
    .gov-strip-link { padding: 0.3rem 0.45rem; font-size: 0.68rem; }
}

/* ─────────────────────────────────────────────────────
   3. UTILITY BAR (formal template contact strip)
   ───────────────────────────────────────────────────── */
.utility-bar {
    background: var(--color-primary);
    color: rgba(255,255,255,0.85);
    padding: 0;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.utility-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}
.utility-bar-left,
.utility-bar-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.utility-item {
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    padding: 0.35rem 0.7rem;
    border-radius: 5px;
    font-size: 0.76rem;
}
.utility-item:hover { color: #fff; background: rgba(255,255,255,0.08); }
.utility-item i { font-size: 0.65rem; opacity: 0.65; }
.utility-social {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.utility-social:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .utility-bar { display: none; }
}

/* ─────────────────────────────────────────────────────
   4. MAIN HEADER / NAVIGATION
   ───────────────────────────────────────────────────── */
.main-header {
    background: var(--color-bg);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.4s cubic-bezier(.4,0,.2,1), border-color 0.3s;
}
.main-header.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-bottom-color: transparent;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 76px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--color-primary);
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.navbar-brand:hover { opacity: 0.85; }
.navbar-logo {
    height: 48px;
    width: auto;
    transition: transform 0.3s;
}
.navbar-brand:hover .navbar-logo { transform: scale(1.03); }
.navbar-brand-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.navbar-brand-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}
.navbar-brand-acronym {
    font-size: 0.65rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
}

/* Nav list */
.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.95rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    border-bottom: none;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 1.9rem);
    height: 2px;
    background: var(--color-secondary);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
}
.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.dropdown-arrow {
    font-size: 0.55rem;
    margin-left: 0.2rem;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
    opacity: 0.5;
}
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--color-bg);
    border: 1px solid rgba(0,0,0,0.06);
    border-top: 2px solid var(--color-secondary);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.04);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-content { padding: 0.35rem 0; }
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s;
    position: relative;
}
.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-secondary);
    transform: scaleY(0);
    transition: transform 0.2s;
}
.dropdown-item:hover {
    background: var(--color-surface);
    color: var(--color-primary);
}
.dropdown-item:hover::before {
    transform: scaleY(1);
}
.dropdown-item i { color: var(--color-secondary); width: 16px; text-align: center; font-size: 0.78rem; }

/* Mobile toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}
.navbar-toggle:hover { background: var(--color-surface); }
.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border-radius: 100px;
}
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 992px) {
    .navbar-toggle { display: flex; }
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-top: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        padding: 0.5rem;
    }
    .navbar-menu.open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-link { 
        padding: 0.75rem 1rem; 
        border-radius: 8px; 
    }
    .nav-link::after { display: none; }
    .nav-link:hover { background: var(--color-surface); }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: none;
        border-radius: 0;
        padding-left: 0.5rem;
        background: transparent;
    }
    .dropdown-item::before { display: none; }
    .dropdown-item { border-radius: 6px; }
}

/* ─────────────────────────────────────────────────────
   5. BANNER / HERO CAROUSEL
   ───────────────────────────────────────────────────── */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
}
.hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    min-height: 450px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-slide.active {
    display: flex;
    position: relative;
    opacity: 1;
    transform: none;
}
/* Transition: fade (default) */
.hero-carousel[data-transition="fade"] .hero-slide { transition: opacity 0.8s ease; }
.hero-carousel[data-transition="fade"] .hero-slide.active { opacity: 1; }

/* Transition: slide horizontal */
.hero-carousel[data-transition="slide"] .hero-slide { transform: translateX(100%); transition: transform 0.6s ease, opacity 0.4s ease; display: flex; }
.hero-carousel[data-transition="slide"] .hero-slide.active { transform: translateX(0); opacity: 1; position: relative; }
.hero-carousel[data-transition="slide"] .hero-slide.exit-left { transform: translateX(-100%); opacity: 0; }

/* Transition: slide vertical */
.hero-carousel[data-transition="slide-up"] .hero-slide { transform: translateY(100%); transition: transform 0.6s ease, opacity 0.4s ease; display: flex; }
.hero-carousel[data-transition="slide-up"] .hero-slide.active { transform: translateY(0); opacity: 1; position: relative; }
.hero-carousel[data-transition="slide-up"] .hero-slide.exit-up { transform: translateY(-100%); opacity: 0; }

/* Transition: zoom */
.hero-carousel[data-transition="zoom"] .hero-slide { transform: scale(0.8); transition: transform 0.7s ease, opacity 0.5s ease; }
.hero-carousel[data-transition="zoom"] .hero-slide.active { transform: scale(1); opacity: 1; }

/* Transition: flip */
.hero-carousel[data-transition="flip"] { perspective: 1200px; }
.hero-carousel[data-transition="flip"] .hero-slide { transform: rotateY(90deg); transition: transform 0.7s ease, opacity 0.3s ease; backface-visibility: hidden; }
.hero-carousel[data-transition="flip"] .hero-slide.active { transform: rotateY(0); opacity: 1; }

/* Text animations */
.hero-slide .hero-content { transition: opacity 0.5s ease, transform 0.5s ease; }
.hero-slide.active .hero-content.anim-fade-up { animation: heroFadeUp 0.8s ease 0.3s both; }
.hero-slide.active .hero-content.anim-fade-in { animation: heroFadeIn 0.8s ease 0.3s both; }
.hero-slide.active .hero-content.anim-zoom-in { animation: heroZoomIn 0.7s ease 0.3s both; }
.hero-slide.active .hero-content.anim-slide-left { animation: heroSlideLeft 0.7s ease 0.3s both; }
.hero-slide.active .hero-content.anim-slide-right { animation: heroSlideRight 0.7s ease 0.3s both; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes heroZoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes heroSlideLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.75), rgba(var(--color-accent-rgb), 0.45));
    display: flex;
    align-items: center;
}
.hero-content {
    color: #fff;
    max-width: 600px;
    padding: 2rem 3rem;
}
.hero-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #fff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.92;
}

.hero-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}
.hero-arrow:hover { background: rgba(0,0,0,0.5); }
.hero-arrow--prev { left: 1rem; }
.hero-arrow--next { right: 1rem; }

@media (max-width: 768px) {
    .hero-slide, .hero-slide img { min-height: 300px; height: 300px; }
    .hero-content { padding: 1.5rem; }
}

/* ─────────────────────────────────────────────────────
   6. BUTTONS
   ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}
.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ─────────────────────────────────────────────────────
   7. CARDS
   ───────────────────────────────────────────────────── */
.card {
    background: var(--color-bg);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-body { padding: 1.5rem; }
.card-body h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}
.card-body p {
    color: var(--color-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.card-meta {
    font-size: 0.8rem;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.card-meta i { color: var(--color-secondary); }

/* Icon card variant */
.icon-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}
.icon-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-secondary);
    background: var(--color-surface);
    border: 2px solid var(--color-secondary);
}

/* ─────────────────────────────────────────────────────
   8. PAGE CONTENT
   ───────────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.85;
}
.page-hero .breadcrumb a { color: var(--color-secondary); }

.page-content {
    padding: 3rem 0;
}
.page-content p { margin-bottom: 1rem; }
.page-content ul, .page-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 0.4rem; }
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
.page-content th, .page-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-surface);
}
.page-content th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.page-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--color-surface);
    font-style: italic;
}

/* ─────────────────────────────────────────────────────
   9. SECTION TYPES (Page Builder Blocks)
   ───────────────────────────────────────────────────── */

/* Hero section */
.section-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}
.section-hero.hero-small  { min-height: 250px; }
.section-hero.hero-medium { min-height: 400px; }
.section-hero.hero-large  { min-height: 550px; }
.section-hero.hero-full   { min-height: 100vh; }
.section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb),0.8), rgba(var(--color-accent-rgb),0.6));
}
.section-hero.has-carousel { padding: 0; }
.section-hero.has-carousel::before { display: none; }
.section-hero.has-carousel .container { max-width: 100%; padding: 0; }
.section-hero .hero-carousel { position: relative; overflow: hidden; width: 100%; }
.section-hero .hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
}
.section-hero .hero-slide.active { display: flex; position: relative; opacity: 1; }
.section-hero.hero-small .hero-slide  { min-height: 250px; }
.section-hero.hero-medium .hero-slide { min-height: 400px; }
.section-hero.hero-large .hero-slide  { min-height: 550px; }
.section-hero.hero-full .hero-slide   { min-height: 100vh; }
.section-hero .hero-slide .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb),0.75), rgba(var(--color-accent-rgb),0.45));
}
.section-hero .hero-slide .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 2rem 3rem;
}
.section-hero > * { position: relative; z-index: 1; }
.section-hero h1, .section-hero h2 { color: #fff; }

/* Two columns */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.two-columns img { width: 100%; border-radius: 0; }
@media (max-width: 768px) {
    .two-columns { grid-template-columns: 1fr; }
}

/* Stats counter */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item {
    padding: 2rem 1rem;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--color-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-secondary);
}
.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    background: var(--color-secondary);
    border: 3px solid var(--color-bg);
    border-radius: 50%;
    margin-left: -6px;
}
.timeline-date {
    font-size: 0.8rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Accordion */
.accordion-item {
    border: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 0.5rem;
}
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    background: var(--color-surface);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}
.accordion-header:hover { background: rgba(var(--color-secondary-rgb), 0.15); }
.accordion-header i { transition: transform 0.3s; font-size: 0.8rem; }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.accordion-body.open { max-height: 2000px; }
.accordion-body-inner {
    padding: 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Gallery — Grid (default) */
.gallery-grid {
    --gallery-cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--gallery-cols), 1fr);
    gap: 1rem;
}
@media (max-width: 768px) {
    .gallery-grid { --gallery-cols: 2 !important; }
}
@media (max-width: 480px) {
    .gallery-grid { --gallery-cols: 1 !important; }
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-primary-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { color: #fff; font-size: 1.5rem; }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 2rem 0.75rem 0.75rem;
    font-size: 0.85rem;
}

/* Gallery — Masonry */
.gallery-masonry {
    columns: var(--gallery-cols);
    column-gap: 1rem;
}
.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}
.gallery-masonry .gallery-item img {
    height: auto;
}

/* Gallery — Justified */
.gallery-justified {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.gallery-justified .gallery-item {
    flex: 1 1 200px;
    max-width: 50%;
}
.gallery-justified .gallery-item img {
    height: 220px;
}

/* Gallery — Carousel */
.gallery-carousel {
    position: relative;
    overflow: hidden;
}
.gallery-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.gallery-carousel-track::-webkit-scrollbar { display: none; }
.gallery-carousel .gallery-item {
    flex: 0 0 calc(100% / var(--gallery-cols) - 1rem + 1rem / var(--gallery-cols));
    scroll-snap-align: start;
}
.gallery-carousel .gallery-item img {
    height: 260px;
}
.gallery-carousel-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.gallery-carousel-btn:hover { background: #fff; }
.gallery-carousel-prev { left: 10px; }
.gallery-carousel-next { right: 10px; }

/* CTA section */
.section-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}
.section-cta h2, .section-cta h3 { color: #fff; }
.section-cta p { opacity: 0.9; margin: 1rem auto; max-width: 600px; }

/* Contact form */
.contact-form { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--color-primary);
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0,0,0,0.15);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(var(--color-secondary-rgb), 0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}
.team-member { text-align: center; }
.team-member img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--color-secondary);
}
.team-member h4 { margin-bottom: 0.25rem; }
.team-member .team-role {
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Documents list */
.documents-list { display: grid; gap: 0.75rem; }
.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.2s;
}
.document-item:hover {
    background: var(--color-surface);
    border-color: var(--color-secondary);
}
.document-item i { font-size: 1.5rem; color: var(--color-secondary); min-width: 30px; }
.document-item-info { flex: 1; }
.document-item-info strong { display: block; color: var(--color-primary); }
.document-item-info small { color: var(--color-muted); }

/* Separator */
.section-separator {
    text-align: center;
    padding: 2rem;
}
.section-separator hr {
    border: none;
    height: 2px;
    background: var(--color-secondary);
    max-width: 200px;
    margin: 0 auto;
}

/* Video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Map embed */
.map-wrapper {
    height: 400px;
    overflow: hidden;
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ─────────────────────────────────────────────────────
   10. NEWS
   ───────────────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.news-card { overflow: hidden; }
.news-card-img {
    height: 200px;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 1.5rem; }
.news-card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.news-card-body h3 a { color: var(--color-primary); }
.news-card-body h3 a:hover { color: var(--color-accent); }
.news-card-excerpt { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* News detail */
.news-detail { max-width: 800px; margin: 0 auto; padding: 3rem 0; }
.news-detail h1 { margin-bottom: 1rem; }
.news-detail-meta {
    color: var(--color-muted);
    font-size: 0.85rem;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-surface);
}
.news-detail-content { font-size: 1.05rem; line-height: 1.8; }
.news-detail-content img { margin: 1.5rem 0; }
.news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
}
.news-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}
.news-gallery img:hover { transform: scale(1.03); }

/* ─────────────────────────────────────────────────────
   11. FOOTER
   ───────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.85);
    padding: 5rem 0 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent), var(--color-secondary));
}
.footer-grid {
    display: grid;
    gap: 3.5rem;
}
.footer-grid-3 { grid-template-columns: 1.5fr 1fr 1.2fr; }
.footer-grid-4 { grid-template-columns: 1fr 1.5fr 1fr 1fr; }
.footer-grid-split { grid-template-columns: 1.2fr 1.8fr; gap: 5rem; }
.footer-logo {
    height: 46px;
    width: auto;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-logo-lg { height: 64px; margin-bottom: 1.5rem; }
.footer-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.footer-desc {
    font-size: 0.88rem;
    opacity: 0.65;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.footer-social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
}
.footer-social-link:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201,168,146,0.25);
}
.footer-heading {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255,255,255,0.08);
    font-weight: 700;
    position: relative;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--color-secondary);
}
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.15rem 0;
}
.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color-secondary);
    transition: width 0.25s cubic-bezier(.4,0,.2,1);
    margin-right: 0;
}
.footer-links a:hover {
    color: #fff;
}
.footer-links a:hover::before {
    width: 16px;
    margin-right: 0.5rem;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.88rem;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.footer-contact li i {
    color: var(--color-secondary);
    margin-top: 0.25rem;
    min-width: 16px;
    font-size: 0.78rem;
    opacity: 0.8;
}
.footer-contact a {
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.footer-contact a:hover { color: #fff; }

/* Logos bar */
.footer-logos-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}
.footer-gov-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: opacity 0.3s;
}
.footer-extra-logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: opacity 0.3s;
}
.footer-gov-logo:hover,
.footer-extra-logo:hover { opacity: 0.8; }

/* Copyright bottom */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.02em;
}
.footer-bottom p { margin: 0; }
.footer-bottom p + p { margin-top: 0.25rem; }

@media (max-width: 992px) {
    .footer-grid-3 { grid-template-columns: 1fr 1fr; }
    .footer-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid-split { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
    .footer-grid-3,
    .footer-grid-4 { grid-template-columns: 1fr; gap: 2.5rem; }
    .site-footer { padding: 3.5rem 0 0; }
}

/* ─────────────────────────────────────────────────────
   12. LIGHTBOX (image gallery)
   ───────────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ─────────────────────────────────────────────────────
   13. MISC – badges, alerts, skip-link
   ───────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-secondary);
    color: var(--color-primary);
}

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
    font-size: 0.9rem;
}
.alert-success { background: #f0fdf4; border-color: #22c55e; color: #166534; }
.alert-danger { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.alert-info { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 10001;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: #fff;
}
.skip-link:focus { left: 0; top: 0; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    font-size: 1.1rem;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover { background: var(--color-accent); }

/* ─────────────────────────────────────────────────────
   14. LOADING / TRANSITIONS
   ───────────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═════════════════════════════════════════════════════
   TEMPLATE LAYOUT VARIANTS
   — Distinct structural + visual identity per template
   ════════════════════════════════════════════════════= */

/* ──────────────────────────────────────────────────────
   FORMAL TEMPLATE — Header & Footer
   Refined government: minimal borders, clean typography,
   structured spacing, diplomatic precision
   ────────────────────────────────────────────────────── */
.header-formal {
    border-bottom: none;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-formal .navbar { min-height: 72px; }
.header-formal .nav-link {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: 0.65rem 0.85rem;
}
.header-formal .nav-link::after {
    height: 2px;
    background: var(--color-secondary);
    bottom: -1px;
}
.footer-formal .footer-heading {
    letter-spacing: 0.12em;
    font-size: 0.82rem;
}
.footer-formal .footer-heading::after { width: 40px; }
.footer-formal .site-footer::before { display: none; }
.footer-formal { border-top: 3px solid var(--color-secondary); }

/* ──────────────────────────────────────────────────────
   MODERNO TEMPLATE — Header
   Spacious identity row → refined contact chips → 
   floating nav bar with subtle shadow
   ────────────────────────────────────────────────────── */
.header-moderno {
    border-bottom: none;
    box-shadow: none;
}

/* Identity row */
.hm-identity {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.15rem 0;
}
.navbar-brand--moderno .navbar-logo { height: 52px; }
.navbar-brand--moderno .navbar-brand-text { font-size: 1.15rem; letter-spacing: -0.01em; }
.navbar-brand--moderno .navbar-brand-acronym { letter-spacing: 0.16em; }

/* Contact chips — refined flat design */
.hm-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}
.hm-contact-chip {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    border: 1px solid transparent;
}
.hm-chip-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    color: var(--color-primary);
    border-radius: 10px;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.hm-chip-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.25;
}
.hm-chip-body small {
    font-size: 0.65rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.hm-chip-body strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
}
a.hm-contact-chip:hover {
    border-color: var(--color-surface);
    background: var(--color-surface);
}
a.hm-contact-chip:hover .hm-chip-icon {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.05);
}
a.hm-contact-chip:hover .hm-chip-body strong {
    color: var(--color-accent);
}

/* Social pills */
.hm-social {
    display: flex;
    gap: 0.35rem;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(0,0,0,0.06);
}
.hm-social-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--color-muted);
    font-size: 0.85rem;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    background: transparent;
}
.hm-social-btn:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49,57,69,0.2);
}

/* Navigation bar — floating feel */
.hm-navbar-wrap {
    background: var(--color-primary);
    position: relative;
}
.hm-navbar-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), transparent);
}
.hm-navbar {
    min-height: auto;
    padding: 0;
}
.hm-navbar .nav-list {
    width: 100%;
}
.hm-navbar .nav-link {
    color: rgba(255,255,255,0.75);
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.88rem;
    padding: 0.85rem 1.15rem;
    border-bottom: none;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}
.hm-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 2.3rem);
    height: 3px;
    background: var(--color-secondary);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
    border-radius: 3px 3px 0 0;
}
.hm-navbar .nav-link:hover,
.hm-navbar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.06);
}
.hm-navbar .nav-link:hover::after,
.hm-navbar .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}
.hm-navbar .nav-link .dropdown-arrow { color: rgba(255,255,255,0.4); }
.hm-navbar .dropdown-menu {
    border-top: 2px solid var(--color-secondary);
    border-radius: 0 0 10px 10px;
}
.hm-navbar .navbar-toggle span { background: #fff; }

@media (max-width: 992px) {
    .hm-identity { flex-wrap: wrap; }
    .hm-meta,
    .hm-social { display: none; }
    .hm-navbar-wrap { position: relative; }
    .hm-navbar { padding: 0.5rem 0; }
    .hm-navbar .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
        display: none;
        z-index: 999;
        border-radius: 0 0 12px 12px;
        padding: 0.5rem;
    }
    .hm-navbar .navbar-menu.open { display: block; }
    .hm-navbar .nav-list { flex-direction: column; }
    .hm-navbar .nav-link::after { display: none; }
    .hm-navbar .nav-link { border-radius: 8px; }
    .hm-navbar .nav-link:hover { background: rgba(255,255,255,0.08); }
    .hm-navbar .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.15); border-radius: 8px; }
    .hm-navbar .dropdown-item { color: rgba(255,255,255,0.8); border-radius: 6px; }
    .hm-navbar .dropdown-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
    .hm-navbar .dropdown-item::before { display: none; }
}

/* ──────────────────────────────────────────────────────
   MODERNO TEMPLATE — Footer
   CTA banner → 4-column grid → logos → copyright
   ────────────────────────────────────────────────────── */

/* CTA Banner — modern gradient with glass effect */
.footer-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    padding: 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.footer-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
}
.footer-cta-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    padding: 3.5rem 0;
}
.footer-cta-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    font-size: 1.5rem;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}
.footer-cta-body {
    flex: 1;
    min-width: 200px;
}
.footer-cta-body h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.footer-cta-body p {
    opacity: 0.7;
    font-size: 0.95rem;
    margin: 0;
}
.footer-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.65rem;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
    letter-spacing: 0.01em;
}
.cta-btn--whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.25);
}
.cta-btn--whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.cta-btn--phone {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
}
.cta-btn--phone:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

/* Moderno footer specifics */
.footer-moderno { padding-top: 5rem; }
.footer-moderno .site-footer::before { display: none; }
.footer-moderno .footer-heading {
    letter-spacing: 0.02em;
    text-transform: none;
    border-bottom: none;
    font-size: 1rem;
    font-weight: 700;
    padding-bottom: 0;
    margin-bottom: 1.25rem;
    position: relative;
}
.footer-moderno .footer-heading::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-secondary);
    margin-top: 0.6rem;
    border-radius: 100px;
    position: static;
}
.footer-moderno .footer-social-link { border-radius: 50%; }
.footer-moderno .footer-links a::before { background: var(--color-secondary); }
.footer-bottom--moderno {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}
.footer-bottom--moderno p { margin: 0; }

@media (max-width: 768px) {
    .footer-cta-inner { text-align: center; justify-content: center; padding: 2.5rem 0; }
    .footer-cta-icon { display: none; }
    .footer-cta-actions { justify-content: center; width: 100%; }
    .footer-bottom--moderno { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ──────────────────────────────────────────────────────
   EJECUTIVO TEMPLATE — Header
   Commanding dark band: logo | nav | bold CTA
   Strong presence, high contrast
   ────────────────────────────────────────────────────── */
.header-ejecutivo {
    background: var(--color-primary);
    border-bottom: none;
    box-shadow: none;
    position: relative;
}
.header-ejecutivo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-secondary);
}
.header-ejecutivo .navbar { min-height: 74px; }
.navbar-brand--ejecutivo .navbar-logo { filter: brightness(0) invert(1); height: 46px; }
.navbar-brand--ejecutivo .navbar-brand-text { color: #fff; font-size: 1.05rem; letter-spacing: -0.01em; }
.navbar-brand--ejecutivo .navbar-brand-acronym { color: rgba(255,255,255,0.4); letter-spacing: 0.16em; }
.header-ejecutivo .nav-link {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    padding: 0.65rem 0.9rem;
}
.header-ejecutivo .nav-link::after {
    background: var(--color-secondary);
    height: 3px;
    bottom: 0;
    border-radius: 3px 3px 0 0;
}
.header-ejecutivo .nav-link:hover,
.header-ejecutivo .nav-link.active {
    color: #fff;
}
.header-ejecutivo .dropdown-arrow { color: rgba(255,255,255,0.35); }
.header-ejecutivo .dropdown-menu {
    border-top: 3px solid var(--color-secondary);
    border-radius: 0 0 6px 6px;
}
.header-ejecutivo .navbar-toggle span { background: #fff; }
.header-ejecutivo .navbar-toggle:hover { background: rgba(255,255,255,0.08); }

/* CTA Button — bold, prominent */
.he-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.25rem;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.he-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.6rem 1.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(201,168,146,0.2);
}
.he-cta-btn:hover {
    background: #fff;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.he-link-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    border-radius: 6px;
    font-size: 0.75rem;
    transition: all 0.2s;
}
.he-link-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.header-ejecutivo.scrolled {
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
    .he-actions { display: none; }
    .header-ejecutivo .navbar-menu { 
        background: var(--color-primary); 
        border-top: 1px solid rgba(255,255,255,0.06);
        border-radius: 0 0 12px 12px;
    }
    .header-ejecutivo .nav-link { border-radius: 8px; }
    .header-ejecutivo .nav-link::after { display: none; }
    .header-ejecutivo .nav-link:hover { background: rgba(255,255,255,0.06); }
    .header-ejecutivo .dropdown-item { color: rgba(255,255,255,0.8); border-radius: 6px; }
    .header-ejecutivo .dropdown-item::before { display: none; }
    .header-ejecutivo .dropdown-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
}

/* ──────────────────────────────────────────────────────
   EJECUTIVO TEMPLATE — Footer
   Deep gradient, commanding 2-column split
   ────────────────────────────────────────────────────── */
.footer-ejecutivo {
    background: linear-gradient(180deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary), #000 25%) 100%);
}
.footer-ejecutivo::before {
    background: var(--color-secondary);
    height: 4px;
}
.footer-col-brand .footer-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.footer-info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.footer-ejecutivo .footer-heading {
    border-bottom: none;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}
.footer-ejecutivo .footer-heading::after {
    width: 36px;
    height: 3px;
    background: var(--color-secondary);
}
.footer-bottom--ejecutivo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .footer-info-columns { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom--ejecutivo { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ═════════════════════════════════════════════════════
   15. DESIGN TEMPLATE: FORMAL
   — Sharp edges, no roundness, diplomatic severity
   ════════════════════════════════════════════════════= */
[data-design="formal"] .btn { border-radius: 0; }
[data-design="formal"] .card { border-radius: 0; }
[data-design="formal"] .form-control { border-radius: 0; }
[data-design="formal"] .dropdown-menu { border-radius: 0; }
[data-design="formal"] .icon-card-icon { border-radius: 0; }
[data-design="formal"] .footer-social-link { border-radius: 0; }
[data-design="formal"] .back-to-top { border-radius: 0; }
[data-design="formal"] .hero-dot { border-radius: 2px; }
[data-design="formal"] .hero-arrow { border-radius: 0; }
[data-design="formal"] .badge { border-radius: 0; }
[data-design="formal"] .alert { border-radius: 0; }
[data-design="formal"] .accordion-item { border-radius: 0; }
[data-design="formal"] .document-item { border-radius: 0; }
[data-design="formal"] .gallery-item { border-radius: 0; }
[data-design="formal"] .team-member img { border-radius: 0; border-width: 3px; }

[data-design="formal"] .section-header h2::after {
    width: 80px;
    height: 2px;
}
/* Formal uses the header-formal class for specific nav overrides —
   base nav-link stays clean for other templates */
[data-design="formal"] .footer-heading {
    letter-spacing: 0.12em;
}
[data-design="formal"] .dropdown-menu {
    border-radius: 0;
    border-top: 2px solid var(--color-secondary);
}
[data-design="formal"] .navbar-toggle { border-radius: 0; }
[data-design="formal"] .navbar-toggle:hover { background: var(--color-surface); }

/* ═════════════════════════════════════════════════════
   16. DESIGN TEMPLATE: MODERNO
   — Rounded, airy, soft shadows, contemporary gov
   ════════════════════════════════════════════════════= */
[data-design="moderno"] .btn { border-radius: 10px; }
[data-design="moderno"] .card { border-radius: 14px; }
[data-design="moderno"] .form-control { border-radius: 10px; }
[data-design="moderno"] .dropdown-menu { border-radius: 0 0 14px 14px; }
[data-design="moderno"] .icon-card-icon { border-radius: 16px; }
[data-design="moderno"] .footer-social-link { border-radius: 50%; }
[data-design="moderno"] .back-to-top { border-radius: 50%; }
[data-design="moderno"] .hero-dot { border-radius: 50%; }
[data-design="moderno"] .hero-arrow { border-radius: 50%; }
[data-design="moderno"] .badge { border-radius: 100px; }
[data-design="moderno"] .alert { border-radius: 12px; }
[data-design="moderno"] .accordion-item { border-radius: 10px; overflow: hidden; }
[data-design="moderno"] .document-item { border-radius: 10px; }
[data-design="moderno"] .gallery-item { border-radius: 12px; }
[data-design="moderno"] .team-member img { border-radius: 50%; }

[data-design="moderno"] .main-header {
    border-bottom: none;
}
[data-design="moderno"] .card {
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}
[data-design="moderno"] .card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.09);
    border-color: transparent;
}
[data-design="moderno"] .section-header h2::after {
    border-radius: 100px;
    height: 4px;
}
[data-design="moderno"] .header-formal .nav-link {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.88rem;
    border-bottom: none;
    border-radius: 8px;
    font-weight: 500;
    padding: 0.55rem 0.85rem;
}
[data-design="moderno"] .header-formal .nav-link::after { display: none; }
[data-design="moderno"] .header-formal .nav-link:hover,
[data-design="moderno"] .header-formal .nav-link.active {
    background: var(--color-surface);
    color: var(--color-primary);
}
[data-design="moderno"] .dropdown-menu {
    border-top: none;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
[data-design="moderno"] .dropdown-item::before { display: none; }
[data-design="moderno"] .dropdown-item { border-radius: 8px; margin: 0 0.35rem; }
[data-design="moderno"] .dropdown-item:hover { 
    background: var(--color-surface); 
    color: var(--color-primary);
}
[data-design="moderno"] .site-footer {
    border-radius: 24px 24px 0 0;
}
[data-design="moderno"] .site-footer::before {
    display: none;
}
[data-design="moderno"] .navbar-toggle { border-radius: 10px; }

/* ═════════════════════════════════════════════════════
   17. DESIGN TEMPLATE: EJECUTIVO
   — Bold, high contrast, commanding, heavy weight
   ════════════════════════════════════════════════════= */
[data-design="ejecutivo"] .btn { border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
[data-design="ejecutivo"] .card { border-radius: 4px; border-left: 4px solid var(--color-secondary); }
[data-design="ejecutivo"] .form-control { border-radius: 4px; border-width: 2px; }
[data-design="ejecutivo"] .dropdown-menu { border-radius: 0 0 6px 6px; }
[data-design="ejecutivo"] .badge { border-radius: 3px; font-weight: 800; }
[data-design="ejecutivo"] .alert { border-radius: 4px; border-left-width: 6px; }
[data-design="ejecutivo"] .accordion-item { border-radius: 4px; border-left: 3px solid var(--color-secondary); }
[data-design="ejecutivo"] .document-item { border-radius: 4px; border-left: 3px solid var(--color-secondary); }
[data-design="ejecutivo"] .back-to-top { border-radius: 4px; }
[data-design="ejecutivo"] .gallery-item { border-radius: 4px; }
[data-design="ejecutivo"] .team-member img { border-radius: 4px; }
[data-design="ejecutivo"] .icon-card-icon { border-radius: 4px; }
[data-design="ejecutivo"] .footer-social-link { border-radius: 6px; }
[data-design="ejecutivo"] .hero-arrow { border-radius: 4px; }

[data-design="ejecutivo"] .main-header {
    border-bottom: none;
}
[data-design="ejecutivo"] .gov-strip {
    font-weight: 700;
    letter-spacing: 0.06em;
}
[data-design="ejecutivo"] .section-header h2 {
    font-weight: 800;
}
[data-design="ejecutivo"] .section-header h2::after {
    width: 100px;
    height: 4px;
}
[data-design="ejecutivo"] .card:hover {
    border-left-color: var(--color-accent);
    transform: translateY(-2px);
}
[data-design="ejecutivo"] .footer-heading {
    font-weight: 800;
}
[data-design="ejecutivo"] .btn-primary {
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}
[data-design="ejecutivo"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.4);
    transform: translateY(-1px);
}
[data-design="ejecutivo"] .site-footer::before {
    background: var(--color-secondary);
    height: 4px;
}
[data-design="ejecutivo"] .navbar-toggle { border-radius: 6px; }

/* ═════════════════════════════════════════════════════
   18. COLOR SCHEME OVERRIDES
   — Fine-tune per scheme beyond the CSS variables
   ════════════════════════════════════════════════════= */

/* Institucional – warm undertones, beige accents */
[data-scheme="institucional"] .top-bar {
    background: #313945;
}
[data-scheme="institucional"] .gov-strip {
    background: #2a3039;
}
[data-scheme="institucional"] .section-cta {
    background: linear-gradient(135deg, #313945, #3f4a58);
}

/* Soberano – deep navy, regal authority */
[data-scheme="soberano"] .top-bar {
    background: #1c1e4d;
}
[data-scheme="soberano"] .gov-strip {
    background: #15163c;
}
[data-scheme="soberano"] .main-header {
    border-bottom-color: #C9A892;
}
[data-scheme="soberano"] .section-cta {
    background: linear-gradient(135deg, #1c1e4d, #2d2f6e);
}
[data-scheme="soberano"] .hero-overlay {
    background: linear-gradient(135deg, rgba(28,30,77,0.82), rgba(49,57,69,0.5));
}
[data-scheme="soberano"] .site-footer {
    background: #1c1e4d;
}

/* Clásico – balanced, slate + navy elegance, tan details */
[data-scheme="clasico"] .gov-strip {
    background: #1c1e4d;
}
[data-scheme="clasico"] .top-bar {
    background: #313945;
}
[data-scheme="clasico"] .section-cta {
    background: linear-gradient(135deg, #313945, #1c1e4d);
}
[data-scheme="clasico"] .hero-overlay {
    background: linear-gradient(135deg, rgba(49,57,69,0.8), rgba(28,30,77,0.5));
}

/* ─────────────────────────────────────────────────────
   19. SECTION STYLE PRESETS
   ───────────────────────────────────────────────────── */
.style-primary {
    background-color: var(--color-primary) !important;
    color: #fff !important;
}
.style-primary .section-title,
.style-primary h2, .style-primary h3 { color: #fff; }
.style-primary a { color: var(--color-secondary); }

.style-secondary {
    background-color: var(--color-secondary) !important;
    color: var(--color-primary) !important;
}
.style-secondary .section-title,
.style-secondary h2, .style-secondary h3 { color: var(--color-primary); }

.style-accent {
    background-color: var(--color-accent) !important;
    color: #fff !important;
}
.style-accent .section-title,
.style-accent h2, .style-accent h3 { color: #fff; }
.style-accent a { color: var(--color-secondary); }

.style-surface {
    background-color: var(--color-surface) !important;
}

.style-dark {
    background-color: #1a1a2e !important;
    color: #e0e0e0 !important;
}
.style-dark .section-title,
.style-dark h2, .style-dark h3 { color: #fff; }
.style-dark a { color: var(--color-secondary); }
.style-dark .card { background: #2a2a3e; border-color: #3a3a4e; color: #e0e0e0; }

.style-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
    color: #fff !important;
}
.style-gradient-primary .section-title,
.style-gradient-primary h2, .style-gradient-primary h3 { color: #fff; }
.style-gradient-primary a { color: var(--color-secondary); }

.style-gradient-accent {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary)) !important;
    color: #fff !important;
}
.style-gradient-accent .section-title,
.style-gradient-accent h2, .style-gradient-accent h3 { color: #fff; }
.style-gradient-accent a { color: var(--color-secondary); }

.style-bordered {
    border-top: 4px solid var(--color-secondary) !important;
    background-color: #fff !important;
}

/* ─────────────────────────────────────────────────────
   20. PRINT STYLES
   ───────────────────────────────────────────────────── */
@media print {
    .gov-strip, .top-bar, .navbar-toggle, .back-to-top,
    .chatbot-widget, .hero-nav, .hero-arrow,
    .footer-social, .site-footer { display: none !important; }
    .main-header { position: static; border-bottom: 2px solid #000; }
    body { font-size: 12pt; color: #000; background: #fff; }
    a { color: #000; }
    .card { box-shadow: none; border: 1px solid #ccc; }
}

/* ─────────────────────────────────────────────────────
   20. ACCESSIBILITY
   ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .fade-in { opacity: 1; transform: translateY(0); }
}

:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────
   21. MAP SECTION
   ───────────────────────────────────────────────────── */
.map-address {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.95rem; color: var(--color-text, #333);
    margin-bottom: 12px;
}
.map-address i { color: var(--color-primary, #313945); font-size: 1.1rem; }
.map-container {
    border-radius: var(--radius-lg, 12px); overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}
.map-container iframe { display: block; width: 100%; }
.leaflet-map { z-index: 1; }

/* ─────────────────────────────────────────────────────
   22. UTILITY CLASSES (CSS class selector)
   ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.rounded  { border-radius: 16px; overflow: hidden; }
.shadow   { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.no-margin  { margin-top: 0 !important; margin-bottom: 0 !important; }
.full-width { width: 100vw; margin-left: calc(-50vw + 50%); max-width: 100vw; }
@media (max-width: 768px) {
    .hidden-mobile { display: none !important; }
}
