/* ============================================================
   CCDP Landing Theme — v3.3 (UI/UX polished)
   Colegio de Cirujanos Dentistas del Peru
   ============================================================
   Changelog v3.3:
   - Botones homologados (mismo alto, padding, radius, font)
   - Iconos SVG reales en accesos directos
   - Header fixed con backdrop-filter, sin padding doble
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Colors */
    --ccdp-violet-dark: #351A8A;
    --ccdp-violet: #7338C8;
    --ccdp-lilac: #EDE2FF;
    --ccdp-lilac-soft: #F5EEFF;
    --ccdp-gold: #DFAE42;
    --ccdp-gold-light: #F0CD7B;
    --ccdp-text-dark: #2D2164;
    --ccdp-text: #4A4A4A;
    --ccdp-text-light: #8A8A8A;
    --ccdp-bg: #FFFFFF;
    --ccdp-bg-soft: #FAFAFA;
    --ccdp-border: #E5E0EE;
    --ccdp-border-strong: #C9BEDC;
    --ccdp-success: #2E7D32;
    --ccdp-success-bg: #E8F5E9;
    --ccdp-error: #C62828;
    --ccdp-error-bg: #FFEBEE;
    
    /* Spacing */
    --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
    --space-4: 16px; --space-5: 24px; --space-6: 32px;
    --space-7: 48px; --space-8: 64px;
    
    /* Radius */
    --radius-sm: 8px;  --radius: 14px;  --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(53, 26, 138, 0.06);
    --shadow: 0 2px 8px rgba(53, 26, 138, 0.08);
    --shadow-md: 0 4px 16px rgba(53, 26, 138, 0.10);
    --shadow-lg: 0 12px 40px rgba(53, 26, 138, 0.14);
    --shadow-focus: 0 0 0 3px rgba(115, 56, 200, 0.25);
    
    /* Header height */
    --header-height: 100px;
    --header-height-mobile: 64px;
    
    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration: 200ms;
    --duration-slow: 300ms;
    
    /* Z-index */
    --z-header: 100;
    --z-nav: 998;
    --z-float: 999;
    --z-modal: 9999;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ccdp-text);
    line-height: 1.6;
    background: var(--ccdp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
@media (max-width: 768px) { body { padding-bottom: 72px; } }

.container { max-width: 1600px; margin: 0 auto; padding: 0 64px; }
@media (max-width: 992px) { .container { padding: 0 32px; } }
@media (max-width: 768px) { .container { padding: 0 var(--space-4); } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
    border-radius: var(--radius-sm);
}

/* ============================================================
   HEADER — fixed con backdrop-filter
   ============================================================ */
.ccdp-header {
    background: linear-gradient(90deg, var(--ccdp-lilac) 0%, var(--ccdp-lilac-soft) 100%);
    position: fixed; top: 0; left: 0; right: 0;
    z-index: var(--z-header);
    border-bottom: 1px solid rgba(53, 26, 138, 0.10);
    box-shadow: 0 4px 20px rgba(53, 26, 138, 0.12), 0 1px 4px rgba(53, 26, 138, 0.08);
    min-height: var(--header-height);
    display: flex; align-items: center;
}
.ccdp-header::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(245, 238, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    z-index: -1;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-3) clamp(24px, 4vw, 80px);
    gap: clamp(var(--space-4), 3vw, var(--space-7));
    width: 100%; min-width: 0;
}

.logo {
    display: flex; align-items: center;
    gap: var(--space-3);
    flex-shrink: 1; min-width: 0;
    text-decoration: none;
    color: inherit;
}
.logo-icon {
    width: 68px; height: 68px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.logo-icon .logo-image {
    max-height: 68px; max-width: 68px;
    width: auto; height: auto;
    object-fit: contain;
}
.logo-icon-fallback {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--ccdp-gold) 0%, var(--ccdp-gold-light) 100%);
    border-radius: 50%;
    color: var(--ccdp-violet-dark);
    font-weight: 800; font-size: 0.85rem; letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(223, 174, 66, 0.3);
}
.logo-default-lockup { width: clamp(290px, 23vw, 390px); max-height: 74px; object-fit: contain; object-position: left center; }
.logo-default-shield { display: none; }
.logo-text {
    display: flex; flex-direction: column;
    line-height: 1.2;
    justify-content: center;
    min-width: 0; overflow: hidden;
}
.logo-text strong {
    font-size: 1.05rem;
    color: var(--ccdp-violet-dark);
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.logo-text small {
    font-size: 0.82rem;
    color: #4A3D6E;
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
}

.main-nav { display: flex; align-items: center; margin-left: auto; flex-shrink: 0; }
.main-nav .nav-menu {
    display: flex; list-style: none;
    gap: clamp(var(--space-3), 1.8vw, var(--space-5));
    align-items: center;
    margin: 0; padding: 0;
}
.main-nav a {
    position: relative;
    color: var(--ccdp-violet-dark);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: var(--space-2) 0;
    transition: color var(--duration) var(--ease);
    white-space: nowrap;
}
.main-nav a::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--ccdp-violet);
    transform: scaleX(0); transform-origin: center;
    transition: transform var(--duration) var(--ease);
}
.main-nav a:hover { color: var(--ccdp-violet); }
.main-nav a:hover::after { transform: scaleX(1); }

.mobile-toggle {
    display: none;
    background: none; border: none;
    color: var(--ccdp-violet-dark);
    width: 44px; height: 44px;
    font-size: 1.6rem; cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--duration) var(--ease);
    align-items: center; justify-content: center;
}
.mobile-toggle:hover { background: var(--ccdp-lilac); }

@media (max-width: 1280px) {
    .header-inner { padding: 10px clamp(20px, 3.5vw, 64px); }
    .main-nav .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        z-index: var(--z-nav);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-1);
        margin: 0;
        padding: var(--space-4) max(var(--space-5), env(safe-area-inset-right)) var(--space-5) max(var(--space-5), env(safe-area-inset-left));
        border-top: 1px solid var(--ccdp-border);
        box-shadow: var(--shadow-md);
    }
    .main-nav .nav-menu.active { display: flex; }
    .main-nav a { display: block; padding: var(--space-3) var(--space-2); font-size: 1rem; }
    .mobile-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    position: relative;
    padding: calc(var(--header-height) + var(--space-4)) 0 var(--space-5);
    background: var(--ccdp-bg);
    overflow: hidden;
}
.hero-section--banner {
    min-height: 590px;
    background-color: #f1e9ff;
    background-image: var(--hero-banner-desktop);
    background-repeat: no-repeat;
    background-size: 88% auto;
    background-position: calc(-18% - 12.5vw) calc(100% + 9.375vw);
}
.hero-section--banner::before { display: none; }
.hero-section--banner .hero-escudo { display: none; }
.hero-section--banner .hero-left { align-items: flex-start; }
.hero-section--banner .hero-content { max-width: clamp(320px, 34vw, 560px); }
@media (min-width: 993px) {
    .hero-section--banner .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, min(30vw, 500px));
    }
    .hero-section--banner .hero-card {
        width: 100%;
        justify-self: end;
    }
}

.hero-section::before {
    content: '';
    position: absolute; top: 20%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--ccdp-lilac) 0%, transparent 70%);
    opacity: 0.5; z-index: 0;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-6);
    align-items: center;
    position: relative; z-index: 1;
}
.hero-left { display: flex; align-items: center; gap: var(--space-5); }
.hero-escudo {
    width: clamp(100px, 7vw + 40px, 140px); height: clamp(115px, 8vw + 45px, 160px); flex-shrink: 0;
    background: radial-gradient(circle at 50% 40%, var(--ccdp-gold) 0%, var(--ccdp-gold-light) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(223, 174, 66, 0.3);
    position: relative;
    animation: floatGentle 6s ease-in-out infinite;
}
@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.hero-escudo::before {
    content: '';
    position: absolute; inset: 12px;
    border: 2px solid var(--ccdp-violet-dark);
    border-radius: 50%; opacity: 0.3;
}
.hero-escudo-text {
    font-size: 1.8rem; font-weight: 800;
    color: var(--ccdp-violet-dark);
    letter-spacing: 1px; z-index: 1;
}
.hero-escudo.has-image { background: transparent; border-radius: 0; box-shadow: none; overflow: visible; }
.hero-escudo.has-image::before { display: none; }
.hero-escudo-image { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
.ccdp-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero-content { flex: 1; min-width: 0; }
.hero-title {
    font-size: clamp(1.5rem, 1rem + 1.3vw, 2.2rem); font-weight: 800;
    color: var(--ccdp-violet-dark); line-height: 1.1;
    margin-bottom: var(--space-3);
    letter-spacing: -0.5px;
}
.hero-subtitle {
    font-size: clamp(0.86rem, 0.78rem + 0.3vw, 1rem); color: var(--ccdp-text);
    margin-bottom: var(--space-5); line-height: 1.5;
}
.hero-buttons { 
    display: flex; 
    gap: var(--space-3); 
    flex-wrap: wrap;
}
.hero-buttons .btn {
    min-width: 200px;
    flex: 1 1 auto;
}
.hero-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(53, 26, 138, 0.08);
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(53, 26, 138, 0.10);
    overflow: hidden;
}
.hero-stat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 18px 22px;
    color: var(--ccdp-violet-dark);
}
.hero-stat + .hero-stat::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 54%;
    left: 0;
    top: 23%;
    background: rgba(53, 26, 138, 0.10);
}
.hero-stat-icon { flex: 0 0 48px; width: 48px; height: 48px; }
.hero-stat div { display: grid; min-width: 0; }
.hero-stat strong { font-size: 1.08rem; font-weight: 800; line-height: 1.25; }
.hero-stat span { color: var(--ccdp-text); font-size: 0.86rem; line-height: 1.35; }

/* HERO RIGHT CARD */
.hero-card {
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ccdp-border);
    padding: clamp(var(--space-4), 1.4vw, var(--space-5));
    display: flex; flex-direction: column; gap: var(--space-4);
}
.verificador-inline { display: flex; flex-direction: column; gap: var(--space-4); }
.verificador-inline-header { display: flex; align-items: center; gap: var(--space-3); }

/* ===== SEARCH MODE TOGGLE ===== */
.v-tabs {
    display: flex; gap: 0;
    background: var(--ccdp-lilac-soft);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: var(--space-4);
}
.v-tab {
    flex: 1; padding: 8px 12px; border: none;
    background: transparent; border-radius: 6px;
    font-size: 0.83rem; font-weight: 600; cursor: pointer;
    color: var(--ccdp-text-light);
    transition: all var(--duration) var(--ease);
    font-family: inherit;
}
.v-tab.active {
    background: white; color: var(--ccdp-violet-dark);
    box-shadow: var(--shadow-sm);
}
.v-mode { display: none; flex-direction: column; gap: 12px; }
.v-mode.active { display: flex; }

.v-row { display: flex; gap: 12px; align-items: stretch; }
.v-row-wrap { flex-wrap: wrap; }
.v-row-end { justify-content: flex-end; align-items: center; }

.v-input {
    box-sizing: border-box;
    height: 48px; min-height: 48px; max-height: 48px;
    padding: 0 var(--space-4);
    border: 2px solid var(--ccdp-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem; font-family: inherit; line-height: 1;
    color: var(--ccdp-text); background: white;
    -webkit-appearance: none; appearance: none;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    flex: 1; min-width: 0;
}
.v-input::placeholder { color: var(--ccdp-text-light); }
.v-input:hover { border-color: var(--ccdp-border-strong); }
.v-input:focus { outline: none; border-color: var(--ccdp-violet); box-shadow: var(--shadow-focus); }

.verificador-search-row { display: none; }
.verificador-inline-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--ccdp-lilac); color: var(--ccdp-violet-dark);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform var(--duration) var(--ease);
}
.verificador-inline-header:hover .verificador-inline-icon { transform: scale(1.05); }
.verificador-inline-header h3 {
    font-size: 1rem; color: var(--ccdp-violet-dark);
    font-weight: 600; line-height: 1.3;
}
.verificador-search-row { display: flex; gap: 12px; align-items: stretch; }
.verificador-search-row input,
.verificador-search-row .btn {
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    font-size: 0.9rem;
    font-family: inherit;
    border-radius: var(--radius-sm);
}
.verificador-search-row input {
    flex: 1; min-width: 0;
    padding: 0 var(--space-4);
    border: 2px solid var(--ccdp-border);
    color: var(--ccdp-text); line-height: 1;
    background: white;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.verificador-search-row input::placeholder { color: var(--ccdp-text-light); }
.verificador-search-row input:hover { border-color: var(--ccdp-border-strong); }
.verificador-search-row input:focus {
    outline: none; border-color: var(--ccdp-violet);
    box-shadow: var(--shadow-focus);
}
.verificador-search-row .btn {
    padding: 0 var(--space-5);
    flex-shrink: 0;
}

/* ============================================================
   BUTTONS — HOMOLOGADOS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--space-2);
    height: 48px;
    padding: 0 var(--space-5);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    font-family: inherit;
    text-decoration: none; cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--ccdp-violet); color: white;
    border-color: var(--ccdp-violet);
}
.btn-primary:hover {
    background: var(--ccdp-violet-dark);
    border-color: var(--ccdp-violet-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(115, 56, 200, 0.3);
}
.btn-primary:active { transform: translateY(0); }
.btn-pending { cursor: default; opacity: 0.65; }
.btn-pending:hover { transform: none; box-shadow: none; }

.btn-secondary {
    background: white; color: var(--ccdp-violet-dark);
    border-color: var(--ccdp-violet);
}
.btn-secondary:hover {
    background: var(--ccdp-lilac-soft);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-secondary:active { transform: translateY(0); }

.btn-search {
    background: var(--ccdp-violet); color: white;
    border: 2px solid var(--ccdp-violet);
}
.btn-search:hover { background: var(--ccdp-violet-dark); border-color: var(--ccdp-violet-dark); }
.btn-search:active { transform: scale(0.98); }
.btn-search:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-icon {
    width: 20px; height: 20px;
    background: rgba(255,255,255,0.2); border-radius: 4px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700;
    flex-shrink: 0;
}
.btn-secondary .btn-icon { background: var(--ccdp-lilac); color: var(--ccdp-violet-dark); }

.btn-svg-icon {
    width: 18px; height: 18px;
    flex-shrink: 0;
    stroke-width: 2.2;
}
.btn-primary .btn-svg-icon { color: white; }
.btn-secondary .btn-svg-icon { color: var(--ccdp-violet); }

.btn-link {
    background: none; border: none; color: var(--ccdp-violet);
    font-weight: 600; cursor: pointer; padding: 0;
    transition: opacity var(--duration) var(--ease);
}
.btn-link:hover { opacity: 0.7; text-decoration: underline; }

/* INTRANET CARD */
.intranet-card {
    display: flex; align-items: center; gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: var(--ccdp-lilac-soft);
    border-radius: var(--radius-sm);
    border: 1px solid var(--ccdp-lilac);
    text-decoration: none; color: inherit;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    min-height: 72px;
}
.intranet-card:hover {
    background: var(--ccdp-lilac);
    transform: translateX(2px);
    box-shadow: var(--shadow-sm);
}
.intranet-card-pending { cursor: default; opacity: 0.72; }
.intranet-card-pending:hover { transform: none; box-shadow: none; background: var(--ccdp-lilac-soft); }
.intranet-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: var(--ccdp-violet); color: white;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform var(--duration) var(--ease);
}
.intranet-card:hover .intranet-icon { transform: rotate(-5deg); }
.intranet-text { flex: 1; min-width: 0; }
.intranet-text h4 { font-size: 0.95rem; color: var(--ccdp-violet-dark); font-weight: 600; }
.intranet-text p { font-size: 0.82rem; color: var(--ccdp-text-light); margin-top: 2px; }
.intranet-arrow {
    color: var(--ccdp-violet); font-size: 1.3rem; font-weight: 300;
    transition: transform var(--duration) var(--ease);
}
.intranet-card:hover .intranet-arrow { transform: translateX(4px); }

/* ============================================================
   ACCESOS DIRECTOS — con iconos SVG
   ============================================================ */
.accesos-section { padding: var(--space-5) 0 var(--space-6); background: var(--ccdp-bg); }
.section-title {
    font-size: 1.4rem; color: var(--ccdp-violet-dark);
    font-weight: 700; margin-bottom: var(--space-5);
    display: flex; align-items: center; gap: var(--space-2);
    letter-spacing: -0.2px;
}
.section-title .arrow { color: var(--ccdp-gold); font-size: 1.2rem; }
.accesos-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.acceso-card {
    display: flex; align-items: center; gap: var(--space-4);
    padding: var(--space-5) var(--space-5);
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    text-decoration: none; color: var(--ccdp-text);
    transition: all var(--duration) var(--ease);
    border: 1px solid #E0DAEC;
    min-height: 136px;
    position: relative;
    overflow: hidden;
}
.acceso-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--ccdp-lilac);
}
.acceso-card-featured {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
    width: 100%;
    padding: 22px 180px 22px 26px;
    background: linear-gradient(135deg, #FFFDF6 0%, #F7EED3 100%);
    border-color: #E9D69A;
    box-shadow: 0 10px 24px rgba(208, 164, 52, 0.10);
    min-height: 142px;
    position: relative;
}
.acceso-card-featured:hover {
    border-color: #D8B953;
    box-shadow: 0 14px 32px rgba(208, 164, 52, 0.16);
}
.acceso-card-pending { cursor: default; }
.acceso-card-pending:hover { transform: none; box-shadow: none; }
.hero-section, #verificar, #servicios, #noticias, #extra1, #extra2 { scroll-margin-top: calc(var(--header-height) + var(--space-3)); }
.acceso-card:active { transform: translateY(0); }
.acceso-icon {
    width: 64px; height: 64px; flex-shrink: 0;
    background: linear-gradient(135deg, #a687ec 0%, var(--ccdp-violet) 100%);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 6px 14px rgba(115, 56, 200, 0.18);
    transition: all var(--duration) var(--ease);
}
.acceso-card-featured .acceso-icon {
    grid-column: 1;
    width: 82px;
    height: 82px;
    border-radius: 20px;
    background: linear-gradient(135deg, #D7AE43 0%, #C99627 100%);
    box-shadow: 0 10px 22px rgba(201, 149, 36, 0.24);
}
.acceso-card-featured .acceso-icon svg {
    width: 33px;
    height: 33px;
    stroke-width: 2.1;
}
.acceso-card-featured .acceso-text {
    grid-column: 2;
    max-width: none;
}
.acceso-card-featured .acceso-badge {
    position: absolute;
    top: 50%;
    right: 26px;
    transform: translateY(-50%);
    min-height: 48px;
    min-width: 104px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.acceso-card-featured:hover .acceso-icon {
    background: linear-gradient(135deg, #D7AE43 0%, #B98516 100%);
}
.acceso-icon svg { width: 31px; height: 31px; stroke-width: 2; }
.acceso-rne-mark {
    color: white;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.acceso-card:hover .acceso-icon {
    background: linear-gradient(135deg, var(--ccdp-violet) 0%, var(--ccdp-violet-dark) 100%); color: white;
    transform: scale(1.05);
}
.acceso-text { flex: 1; min-width: 0; }
.acceso-text strong { display: block; color: var(--ccdp-violet-dark); font-size: 0.98rem; font-weight: 600; }
.acceso-text small { display: block; color: #5A5470; font-size: 0.83rem; margin-top: 3px; line-height: 1.4; }
.acceso-card-featured .acceso-text strong {
    color: #B18A22;
    font-size: 1.03rem;
    font-weight: 700;
}
.acceso-card-featured .acceso-text small {
    color: #5D5B63;
    font-size: 0.87rem;
    line-height: 1.28;
    margin-top: 4px;
}
.acceso-arrow {
    color: var(--ccdp-violet); font-size: 1.3rem; font-weight: 300;
    transition: transform var(--duration) var(--ease);
    flex-shrink: 0;
}
.acceso-card-featured .acceso-arrow { display: none; }
.acceso-badge {
    border-radius: 999px;
    background: #CAA33B;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(202, 163, 59, 0.28);
    padding: 9px 15px;
}
.acceso-card:hover .acceso-arrow { transform: translateX(4px); }
.acceso-card-featured.acceso-card:hover .acceso-icon {
    background: linear-gradient(135deg, #D7AE43 0%, #B98516 100%);
    color: white;
    transform: scale(1.05);
}
.acceso-empty { grid-column: 1 / -1; text-align: center; padding: var(--space-7); color: var(--ccdp-text-light); font-style: italic; }

/* ============================================================
   EXTRA SECTIONS — Ocultas para publico si estan vacias
   ============================================================ */
.extra-section { padding: var(--space-5) 0; display: none; }
.extra-section.has-content { display: block; }
.extra-1.has-content { background: var(--ccdp-bg-soft); }
.extra-2.has-content { background: var(--ccdp-bg); }
.extra-section .container { max-width: 1440px; }

.extra-empty {
    color: var(--ccdp-text-light); font-style: italic;
    padding: var(--space-6) var(--space-5);
    text-align: center;
    border: 2px dashed var(--ccdp-border);
    border-radius: var(--radius);
}

/* ============================================================
   NOTICIAS
   ============================================================ */
.noticias-section { padding: var(--space-5) 0 var(--space-6); background: var(--ccdp-bg-soft); }
.noticias-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: var(--space-5);
    flex-wrap: wrap; gap: var(--space-3);
}
.ver-todas {
    color: var(--ccdp-violet); text-decoration: none;
    font-weight: 600; font-size: 0.9rem;
    transition: opacity var(--duration) var(--ease);
}
.ver-todas:hover { opacity: 0.7; text-decoration: underline; }
.noticias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.noticias-carousel { position: relative; margin: 0 58px; }
.noticias-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    outline: none;
}
.noticias-viewport::-webkit-scrollbar { display: none; }
.noticias-viewport:focus-visible { box-shadow: var(--shadow-focus); border-radius: var(--radius); }
.noticias-carousel .noticias-grid {
    display: flex;
    gap: var(--space-4);
    width: max-content;
    min-width: 100%;
}
.noticias-carousel .noticia-card {
    flex: 0 0 var(--news-card-width, 31.9%);
    width: var(--news-card-width, 31.9%);
    scroll-snap-align: start;
}
.noticias-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--ccdp-violet-dark);
    color: #fff;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0.35;
    pointer-events: none;
    transform: translateY(-50%) scale(0.94);
    transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease), background var(--duration) var(--ease);
}
.noticias-carousel-arrow svg { display: block; }
.noticias-carousel.is-scrollable .noticias-carousel-arrow { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.noticias-carousel-arrow:hover:not(:disabled) { background: var(--ccdp-violet); }
.noticias-carousel-arrow:disabled { opacity: 0.35; cursor: default; }
.noticias-carousel-prev { left: -52px; }
.noticias-carousel-next { right: -52px; }
.noticia-card {
    background: white; border-radius: var(--radius-sm);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}
.noticia-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.noticia-card > a,
.noticia-card > button,
.noticia-card-placeholder {
    display: flex;
    min-height: 156px;
}
.noticia-open {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.noticia-card-official .noticia-open:focus-visible { border-radius: var(--radius-sm); }
.noticia-image {
    width: 31%;
    min-width: 31%;
    background: linear-gradient(135deg, var(--ccdp-lilac) 0%, var(--ccdp-lilac-soft) 100%);
    background-size: cover; background-position: center;
    position: relative;
}
.noticia-image-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #d9c8f3 0%, #f5eeff 100%);
    color: var(--ccdp-violet); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.02em;
}
.noticia-content { padding: var(--space-4); display: flex; flex-direction: column; align-items: flex-start; }
.noticia-tag {
    display: inline-block; padding: 4px 10px; border-radius: var(--radius-sm);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    background: var(--ccdp-lilac); color: var(--ccdp-violet-dark);
    margin-bottom: var(--space-2); letter-spacing: 0.5px;
}
.noticia-content h3 {
    font-size: 0.95rem; color: var(--ccdp-text-dark);
    margin-bottom: var(--space-2); line-height: 1.4; font-weight: 600;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.noticia-content p {
    font-size: 0.85rem; color: var(--ccdp-text-light); margin-bottom: var(--space-2);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.noticia-date { font-size: 0.8rem; color: var(--ccdp-text-light); margin-top: auto; }
.noticia-read-more {
    margin-top: auto;
    color: var(--ccdp-violet-dark);
    font-size: 0.82rem;
    font-weight: 700;
}
.noticia-read-more span { margin-left: 4px; transition: transform var(--duration) var(--ease); display: inline-block; }
.noticia-card-official:hover .noticia-read-more span { transform: translateX(3px); }
.noticia-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(880px, calc(100vw - 32px));
    max-height: min(820px, calc(100vh - 32px));
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    background: white;
    color: var(--ccdp-text);
    box-shadow: 0 24px 70px rgba(25, 12, 65, 0.35);
}
.noticia-modal::backdrop { background: rgba(24, 14, 53, 0.65); backdrop-filter: blur(3px); }
.noticia-modal-inner { position: relative; display: grid; grid-template-columns: minmax(220px, 34%) 1fr; max-height: inherit; overflow: auto; }
.noticia-modal-image { width: 100%; height: 100%; min-height: 380px; object-fit: cover; background: var(--ccdp-lilac-soft); }
.noticia-modal-content { padding: 42px 44px; }
.noticia-modal-content h3 { color: var(--ccdp-text-dark); font-size: 1.45rem; line-height: 1.25; margin: 10px 32px 20px 0; }
.noticia-modal-content p { font-size: 0.96rem; line-height: 1.7; }
.noticia-modal-content p + p { margin-top: var(--space-3); }
.noticia-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ccdp-violet-dark);
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
}
.noticia-modal-close:hover { background: var(--ccdp-violet-dark); color: white; }
.noticia-single { max-width: 920px; }
.noticia-single .ver-todas { display: inline-block; margin-bottom: var(--space-5); }
.noticia-single-image { margin: var(--space-5) 0; border-radius: var(--radius-md); overflow: hidden; }
.noticia-single-image img { width: 100%; }
.noticia-single-content { color: var(--ccdp-text); line-height: 1.7; }
.noticia-single-content > * + * { margin-top: var(--space-4); }
.noticias-empty { grid-column: 1 / -1; text-align: center; padding: var(--space-7); color: var(--ccdp-text-light); font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
.ccdp-footer {
    background: var(--ccdp-violet-dark);
    color: rgba(255,255,255,0.85);
    padding: var(--space-5) 0;
    text-align: center; font-size: 0.9rem;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-wrapper {
    position: fixed; bottom: var(--space-5); right: var(--space-5);
    display: flex; align-items: center; gap: var(--space-3);
    z-index: var(--z-float);
}
.whatsapp-float {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--ccdp-violet) 0%, var(--ccdp-violet-dark) 100%);
    border: 3px solid var(--ccdp-gold);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(53, 26, 138, 0.4);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    flex-shrink: 0;
    animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 6px 24px rgba(53, 26, 138, 0.4); }
    50% { box-shadow: 0 6px 24px rgba(53, 26, 138, 0.4), 0 0 0 8px rgba(115, 56, 200, 0.15); }
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(53, 26, 138, 0.5);
}
.whatsapp-float:active { transform: scale(0.96); }
.whatsapp-float-placeholder { cursor: default; }
.whatsapp-float.hidden { display: none; }
.whatsapp-label {
    background: white; color: var(--ccdp-violet-dark);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 500;
    box-shadow: var(--shadow);
    white-space: nowrap;
    border: 1px solid var(--ccdp-border);
}
.whatsapp-wrapper.hidden { display: none; }

/* ============================================================
   BOTTOM NAV MOBILE
   ============================================================ */
.bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: white;
    border-top: 1px solid var(--ccdp-border);
    box-shadow: 0 -4px 16px rgba(53, 26, 138, 0.08);
    z-index: var(--z-nav);
    padding: var(--space-2) 0;
    padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom));
}
.bottom-nav-inner {
    display: flex; justify-content: space-around; align-items: center;
    max-width: 600px; margin: 0 auto;
}
.bottom-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: var(--ccdp-text-light); text-decoration: none;
    font-size: 0.7rem; font-weight: 500;
    padding: var(--space-2) var(--space-3);
    transition: color var(--duration) var(--ease);
    min-height: 44px;
    justify-content: center;
    border-radius: var(--radius-sm);
}
.bottom-nav a:hover, .bottom-nav a.active { color: var(--ccdp-violet); }
.bottom-nav a svg { width: 22px; height: 22px; }

/* ============================================================
   MODAL
   ============================================================ */
.ccdp-modal {
    position: fixed; inset: 0; z-index: var(--z-modal);
    display: none; align-items: center; justify-content: center;
    padding: var(--space-4);
}
.ccdp-modal.open { display: flex; }
.ccdp-modal-open { overflow: hidden; }

.ccdp-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(45, 33, 100, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: ccdpFadeIn 200ms var(--ease);
}
@keyframes ccdpFadeIn { from { opacity: 0; } to { opacity: 1; } }

.ccdp-modal-dialog {
    position: relative;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 540px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    animation: ccdpSlideUp 250ms var(--ease-out);
    scrollbar-width: thin;
    scrollbar-color: var(--ccdp-border-strong) transparent;
}
.ccdp-modal-dialog::-webkit-scrollbar { width: 6px; }
.ccdp-modal-dialog::-webkit-scrollbar-thumb { background: var(--ccdp-border-strong); border-radius: var(--radius-full); }
@keyframes ccdpSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ccdp-modal-close {
    position: absolute; top: var(--space-3); right: var(--space-3);
    width: 36px; height: 36px;
    background: var(--ccdp-lilac-soft);
    color: var(--ccdp-violet-dark);
    border: none; border-radius: 50%;
    font-size: 1.6rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
    transition: all var(--duration) var(--ease);
}
.ccdp-modal-close:hover {
    background: var(--ccdp-violet); color: white;
    transform: rotate(90deg);
}
.ccdp-modal-close:active { transform: rotate(90deg) scale(0.92); }

.ccdp-modal-body { padding: 0; }

.ccdp-modal-loading { text-align: center; padding: var(--space-7) var(--space-6); }
.ccdp-modal-loading h3 {
    color: var(--ccdp-violet-dark); font-size: 1.2rem;
    margin: var(--space-4) 0 var(--space-2);
}
.ccdp-modal-loading p { color: var(--ccdp-text-light); font-size: 0.9rem; }
.ccdp-spinner {
    width: 48px; height: 48px;
    border: 4px solid var(--ccdp-lilac);
    border-top-color: var(--ccdp-violet);
    border-radius: 50%;
    margin: 0 auto;
    animation: ccdpSpin 0.8s linear infinite;
}
@keyframes ccdpSpin { to { transform: rotate(360deg); } }

.ccdp-modal-error, .ccdp-modal-empty {
    text-align: center; padding: var(--space-7) var(--space-6) var(--space-6);
}
.ccdp-modal-icon {
    display: flex; align-items: center; justify-content: center;
    width: 88px; height: 88px;
    background: var(--ccdp-lilac-soft);
    color: var(--ccdp-violet);
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    animation: ccdpFadeIn 300ms var(--ease-out);
}
.ccdp-modal-error .ccdp-modal-icon { color: var(--ccdp-error); background: var(--ccdp-error-bg); }
.ccdp-modal-error h3, .ccdp-modal-empty h3 {
    color: var(--ccdp-violet-dark); font-size: 1.25rem;
    margin-bottom: var(--space-2);
}
.ccdp-modal-error p, .ccdp-modal-empty p {
    color: var(--ccdp-text); font-size: 0.95rem;
    line-height: 1.5; margin-bottom: var(--space-5);
}

.ccdp-modal-btn {
    display: inline-flex; align-items: center; gap: var(--space-2);
    height: 48px;
    padding: 0 var(--space-6);
    background: var(--ccdp-violet);
    color: white;
    border: 2px solid var(--ccdp-violet);
    border-radius: var(--radius-sm);
    font-size: 0.95rem; font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}
.ccdp-modal-btn:hover { background: var(--ccdp-violet-dark); border-color: var(--ccdp-violet-dark); transform: translateY(-1px); }
.ccdp-modal-btn:active { transform: translateY(0); }

.ccdp-modal-results { padding: var(--space-5) var(--space-5) 0; }
.ccdp-modal-card {
    position: relative;
    display: flex; gap: var(--space-5); align-items: center;
    padding: var(--space-5);
    background: var(--ccdp-lilac-soft);
    border-radius: var(--radius-sm);
    border: 1px solid var(--ccdp-lilac);
    margin-bottom: var(--space-2);
}
.ccdp-modal-foto {
    width: 110px; height: 135px; flex-shrink: 0;
    border-radius: var(--radius-sm); overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
}
.ccdp-modal-foto img { width: 100%; height: 100%; object-fit: cover; }
.ccdp-modal-foto-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ccdp-text-light); font-size: 0.8rem;
    background: white; border: 2px dashed var(--ccdp-border);
}
.ccdp-modal-info { flex: 1; min-width: 0; }
.ccdp-modal-info h3 {
    color: var(--ccdp-violet-dark); font-size: 1.2rem;
    margin-bottom: var(--space-2); line-height: 1.2; font-weight: 700;
}
.ccdp-modal-codigo {
    color: var(--ccdp-violet); font-size: 0.95rem;
    font-weight: 600; margin-bottom: var(--space-1);
}
.ccdp-modal-codigo strong { color: var(--ccdp-violet-dark); }
.ccdp-modal-fecha {
    color: var(--ccdp-text-light); font-size: 0.85rem; margin-bottom: 4px;
}
.ccdp-modal-badge-wrap { margin-top: var(--space-3); }
.ccdp-modal-badge {
    display: inline-flex; align-items: center; gap: var(--space-2);
    padding: 6px var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.ccdp-modal-badge.habilitado { background: var(--ccdp-success-bg); color: var(--ccdp-success); }
.ccdp-modal-badge.habilitado::before {
    content: ''; width: 8px; height: 8px;
    background: var(--ccdp-success); border-radius: 50%;
    animation: ccdpPulse 2s ease-in-out infinite;
}
.ccdp-modal-badge.no-habilitado { background: var(--ccdp-error-bg); color: var(--ccdp-error); }
.ccdp-modal-badge.no-habilitado::before {
    content: ''; width: 8px; height: 8px;
    background: var(--ccdp-error); border-radius: 50%;
}
@keyframes ccdpPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.ccdp-modal-footer {
    padding: var(--space-4) var(--space-5) var(--space-5);
    text-align: center;
    border-top: 1px solid var(--ccdp-border);
    margin-top: var(--space-4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .accesos-grid { grid-template-columns: repeat(2, 1fr); }
    .noticias-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
    .hero-left { justify-content: center; }
    .hero-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    .ccdp-header { 
        position: fixed; top: 0; left: 0; right: 0;
        min-height: var(--header-height-mobile);
    }
    .header-inner { padding: var(--space-2) clamp(16px, 4vw, 24px); }
    .logo-icon { width: 44px; height: 44px; }
    .logo-icon .logo-image { max-height: 44px; max-width: 44px; }
    .logo-icon-fallback { width: 44px; height: 44px; font-size: 0.75rem; }
    .logo-default-lockup { display: none; }
    .logo-default-shield { display: block; width: 44px; height: 44px; object-fit: contain; }
    .logo-text strong { font-size: 0.95rem; }
    .logo-text small { display: none; }
    .hero-section, #verificar, #servicios, #noticias, #extra1, #extra2 { scroll-margin-top: calc(var(--header-height-mobile) + var(--space-3)); }
    .main-nav .nav-menu {
        top: var(--header-height-mobile);
        padding: var(--space-4) max(var(--space-4), env(safe-area-inset-right)) var(--space-5) max(var(--space-4), env(safe-area-inset-left));
    }
    .main-nav a { color: var(--ccdp-violet-dark); font-size: 1rem; padding: var(--space-2) 0; }
    .mobile-toggle { display: flex; }
    
    .hero-section { padding: calc(var(--header-height-mobile) + var(--space-5)) 0 var(--space-5); }
    .hero-section--banner {
        min-height: 0;
        background-image: none;
        background-size: auto;
        background-position: center top;
    }
    .hero-section--banner .hero-escudo {
        display: flex;
        width: 148px;
        height: 148px;
        margin: 0 auto;
        flex: 0 0 148px;
        animation: none;
    }
    .hero-section--banner .hero-escudo-image { object-fit: contain; }
    .hero-grid { grid-template-columns: 1fr; gap: var(--space-4); }
    .hero-left { flex-direction: column; text-align: center; gap: var(--space-4); }
    .hero-section--banner .hero-left {
        align-items: center;
        width: 100%;
    }
    .hero-section--banner .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .hero-escudo { width: 130px; height: 150px; }
    .hero-escudo-text { font-size: 1.5rem; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: var(--space-4); }
    .hero-buttons { 
        justify-content: stretch;
        flex-direction: column; 
        width: 100%;
    }
    .hero-buttons .btn { width: 100%; min-width: 0; }
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: var(--radius);
    }
    .hero-stat { justify-content: flex-start; padding: 14px 12px; gap: 10px; }
    .hero-stat + .hero-stat::before { display: none; }
    .hero-stat:nth-child(even)::before {
        content: '';
        display: block;
        left: 0;
        top: 20%;
        height: 60%;
    }
    .hero-stat:nth-child(n + 3) { border-top: 1px solid rgba(53, 26, 138, 0.10); }
    .hero-stat-icon { flex-basis: 36px; width: 36px; height: 36px; }
    .hero-stat strong { font-size: 0.92rem; }
    .hero-stat span { font-size: 0.72rem; }
    
    .hero-card {
        display: block;
        padding: var(--space-4);
    }
    .v-row { flex-direction: column; }
    .v-row-end { flex-direction: row; }
    .v-input { width: 100%; height: 48px; }
    .v-row .btn-search { width: 100%; justify-content: center; }
    .v-row-end .btn-search { width: auto; }
    .verificador-inline-header h3 { font-size: 1.08rem; }
    .v-tab { font-size: 0.9rem; }
    .intranet-card { padding: var(--space-3) var(--space-4); }
    .intranet-text h4 { font-size: 1rem; }
    .intranet-text p { font-size: 0.88rem; }
    
    .accesos-section { padding: var(--space-5) 0; }
    .accesos-grid { grid-template-columns: 1fr; gap: var(--space-3); }
    .acceso-card { padding: var(--space-4); min-height: 88px; }
    .acceso-card-featured {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 8px;
        min-height: 104px;
        width: 100%;
        padding: var(--space-4) 92px var(--space-4) var(--space-4);
    }
    .acceso-icon { width: 52px; height: 52px; }
    .acceso-card-featured .acceso-icon { width: 56px; height: 56px; border-radius: 16px; }
    .acceso-icon svg { width: 26px; height: 26px; }
    .acceso-card-featured .acceso-icon svg { width: 24px; height: 24px; }
    .acceso-card-featured .acceso-text { grid-column: 2; }
    .acceso-card-featured .acceso-badge {
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        min-width: 72px;
        min-height: 32px;
        padding: 5px 9px;
        font-size: 0.72rem;
    }
    .acceso-rne-mark { font-size: 0.95rem; }
    .section-title { font-size: 1.55rem; margin-bottom: var(--space-4); }
    .acceso-text strong { font-size: 1.06rem; line-height: 1.28; }
    .acceso-text small { font-size: 0.9rem; line-height: 1.45; }
    .noticias-section { padding: var(--space-5) 0; }
    .noticias-carousel { margin: 0 48px; }
    .noticias-carousel .noticias-grid { gap: var(--space-3); }
    .noticias-carousel-arrow { width: 38px; height: 38px; font-size: 1.7rem; }
    .noticias-carousel-prev { left: -44px; }
    .noticias-carousel-next { right: -44px; }
    .noticia-card > a,
    .noticia-card > button,
    .noticia-card-placeholder { min-height: 148px; }
    .noticia-modal-inner { display: block; }
    .noticia-modal-image { height: 210px; min-height: 210px; object-position: center 30%; }
    .noticia-modal-content { padding: 28px 24px; }
    .noticia-modal-content h3 { font-size: 1.2rem; margin-right: 24px; }
    .noticia-modal-content p { font-size: 0.92rem; }
    
    .bottom-nav { display: block; }
    .whatsapp-wrapper { bottom: 84px; }
    .whatsapp-label { display: none; }
    .whatsapp-float { width: 56px; height: 56px; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-4); }
    .hero-title { font-size: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: calc(var(--z-header) + 1);
    pointer-events: none;
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--ccdp-gold) 0%, var(--ccdp-gold-light) 100%);
    box-shadow: 0 0 10px rgba(223, 174, 66, 0.55);
}
