/* Modo oscuro · Comisión Directiva */
html[data-theme="dark"] .directiva-page {
    --directiva-primary: #8bd0ba;
    --directiva-primary-dark: #286d61;
    --directiva-accent: #69b49f;
    --directiva-text: #f0f5f2;
    --directiva-muted: #bdcbc5;
    --directiva-bg: #101b19;
    --directiva-white: #1c2b26;
    --directiva-border: rgba(180, 220, 203, .17);
    color: #e6eeeb;
    background: #101b19;
}

/* La fotografía del hero permanece visible; solo se ajusta el velo para el texto. */
html[data-theme="dark"] .directiva-page .directiva-hero-overlay {
    background: linear-gradient(135deg, rgba(5, 25, 22, .82), rgba(8, 50, 43, .52), rgba(0, 0, 0, .24));
}

html[data-theme="dark"] .directiva-page .directiva-info-card {
    color: #e6eeeb;
    border-color: var(--directiva-border);
    background: linear-gradient(145deg, rgba(37, 58, 51, .96), rgba(25, 40, 35, .96));
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] .directiva-page .directiva-info-card:hover,
html[data-theme="dark"] .directiva-page .directiva-card:hover {
    border-color: rgba(139, 208, 186, .38);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .directiva-page .directiva-info-icon {
    color: #a8deca;
    background: rgba(139, 208, 186, .12);
}

html[data-theme="dark"] .directiva-page .directiva-info-card span {
    color: #aebfb7;
}

html[data-theme="dark"] .directiva-page .directiva-info-card strong,
html[data-theme="dark"] .directiva-page .directiva-heading h2,
html[data-theme="dark"] .directiva-page .directiva-card h3 {
    color: #f0f5f2;
}

html[data-theme="dark"] .directiva-page .directiva-heading > span,
html[data-theme="dark"] .directiva-page .directiva-details i {
    color: #8bd0ba;
}

html[data-theme="dark"] .directiva-page .directiva-heading p,
html[data-theme="dark"] .directiva-page .directiva-details,
html[data-theme="dark"] .directiva-page .directiva-details a {
    color: #bdcbc5;
}

html[data-theme="dark"] .directiva-page .directiva-details a:hover {
    color: #a8deca;
}

html[data-theme="dark"] .directiva-page .directiva-card {
    border-color: var(--directiva-border);
    background: linear-gradient(145deg, rgba(37, 58, 51, .97), rgba(25, 40, 35, .97));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .directiva-page .directiva-cargo {
    color: #a8deca;
    background: rgba(139, 208, 186, .12);
}

html[data-theme="dark"] .directiva-page .directiva-cargo.presidente {
    color: #102d27;
    background: linear-gradient(135deg, #a8deca, #69b49f);
}

html[data-theme="dark"] .directiva-page .directiva-cargo.suplente {
    color: #d1ddd7;
    background: rgba(255, 255, 255, .1);
}

html[data-theme="dark"] .directiva-page .directiva-photo img {
    background: #20332d;
}

html[data-theme="dark"] .directiva-page .carousel-control-prev-icon,
html[data-theme="dark"] .directiva-page .carousel-control-next-icon {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .65));
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="dark"] .directiva-page .directiva-info-card,
    html[data-theme="dark"] .directiva-page .directiva-card {
        transition: none;
    }
}


/* Modo oscuro · Comisión Noveles (scope exclusivo de noveles.php) */
html[data-theme="dark"] body.noveles-page {
    color: #e6eeeb;
    background: #101b19;
}

html[data-theme="dark"] body.noveles-page .roberto-rooms-area {
    color: #e6eeeb;
    background: #101b19;
}

/* Se conserva la fotografía del hero y de la galería. */
html[data-theme="dark"] body.noveles-page .directiva-hero-overlay {
    background: linear-gradient(135deg, rgba(5, 25, 22, .82), rgba(8, 50, 43, .52), rgba(0, 0, 0, .24));
}

html[data-theme="dark"] body.noveles-page .directiva-periodo {
    color: #f0f5f2;
    border-color: rgba(184, 216, 202, .32);
    background: rgba(20, 48, 41, .45);
}

html[data-theme="dark"] body.noveles-page .info-directiva {
    color: #e6eeeb;
    border-left-color: #69b49f;
    background: #1c2b26;
}

html[data-theme="dark"] body.noveles-page .info-item {
    color: #e6eeeb;
    background: rgba(255, 255, 255, .035);
}

html[data-theme="dark"] body.noveles-page .info-item strong,
html[data-theme="dark"] body.noveles-page .info-item span {
    color: #e6eeeb;
}

html[data-theme="dark"] body.noveles-page .info-item i {
    color: #8bd0ba;
}

html[data-theme="dark"] body.noveles-page .room-review-area h4 {
    color: #a8deca;
}

html[data-theme="dark"] body.noveles-page .single-room-review-area {
    color: #e6eeeb;
    border-left-color: #69b49f;
    background: linear-gradient(145deg, #253a33, #192823);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] body.noveles-page .reviwer-title h6 {
    color: #f0f5f2;
}

html[data-theme="dark"] body.noveles-page .reviwer-content p,
html[data-theme="dark"] body.noveles-page .reviwer-content p a {
    color: #bdcbc5;
}

html[data-theme="dark"] body.noveles-page .reviwer-content p i {
    color: #8bd0ba !important;
}

html[data-theme="dark"] body.noveles-page .reviwer-title-rating {
    border-color: rgba(180, 220, 203, .15);
}

html[data-theme="dark"] body.noveles-page .room-thumbnail-slides .carousel-indicators li {
    border-color: rgba(180, 220, 203, .32);
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="dark"] body.noveles-page .single-room-review-area {
        transition: none;
    }
}


/* Modo oscuro · Apostillas (scope exclusivo de Apostillas.php) */
html[data-theme="dark"] body.apostillas-page {
    --apostilla-primary: #8bd0ba;
    --apostilla-dark: #286d61;
    --apostilla-light: #203a32;
    --apostilla-gold: #e0c675;
    --apostilla-text: #e6eeeb;
    --apostilla-muted: #bdcbc5;
    color: #e6eeeb;
    background: #101b19;
}

html[data-theme="dark"] body.apostillas-page section:not(.apostilla-hero),
html[data-theme="dark"] body.apostillas-page .bg-light,
html[data-theme="dark"] body.apostillas-page .partner-area {
    color: #e6eeeb;
    background: #101b19 !important;
}

/* Se mantiene la fotografía del hero y solo se ajusta el contraste del velo. */
html[data-theme="dark"] body.apostillas-page .apostilla-hero::before {
    background: linear-gradient(135deg, rgba(5, 30, 27, .82), rgba(8, 65, 58, .58));
}

html[data-theme="dark"] body.apostillas-page .apostilla-section-title h2,
html[data-theme="dark"] body.apostillas-page .apostilla-info-box h3,
html[data-theme="dark"] body.apostillas-page .apostilla-step h3 {
    color: #f0f5f2;
}

html[data-theme="dark"] body.apostillas-page .apostilla-section-title p,
html[data-theme="dark"] body.apostillas-page .apostilla-info-box p,
html[data-theme="dark"] body.apostillas-page .apostilla-step p,
html[data-theme="dark"] body.apostillas-page .apostilla-price-description {
    color: #bdcbc5;
}

html[data-theme="dark"] body.apostillas-page .apostilla-section-title .small-title,
html[data-theme="dark"] body.apostillas-page .apostilla-step-icon {
    color: #8bd0ba;
}

html[data-theme="dark"] body.apostillas-page .apostilla-info-box,
html[data-theme="dark"] body.apostillas-page .apostilla-step,
html[data-theme="dark"] body.apostillas-page .apostilla-price-card,
html[data-theme="dark"] body.apostillas-page .apostilla-form-wrapper {
    color: #e6eeeb;
    border-color: rgba(180, 220, 203, .17);
    background: linear-gradient(145deg, #253a33, #192823);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] body.apostillas-page .apostilla-info-box:hover,
html[data-theme="dark"] body.apostillas-page .apostilla-step:hover,
html[data-theme="dark"] body.apostillas-page .apostilla-price-card:hover {
    border-color: rgba(139, 208, 186, .38);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] body.apostillas-page .apostilla-info-icon {
    color: #102d27;
    background: #8bd0ba;
}

html[data-theme="dark"] body.apostillas-page .apostilla-step-number {
    color: #a8deca;
    background: rgba(139, 208, 186, .13);
}

html[data-theme="dark"] body.apostillas-page .apostilla-example {
    color: #d5e1db;
    border-left-color: #8bd0ba;
    background: rgba(8, 23, 19, .42);
}

html[data-theme="dark"] body.apostillas-page .apostilla-price-body {
    color: #e6eeeb;
    background: transparent;
}

html[data-theme="dark"] body.apostillas-page .apostilla-price-item {
    border-bottom-color: rgba(180, 220, 203, .16);
}

html[data-theme="dark"] body.apostillas-page .apostilla-price-type {
    color: #bdcbc5;
}

html[data-theme="dark"] body.apostillas-page .apostilla-price {
    color: #8bd0ba;
}

html[data-theme="dark"] body.apostillas-page .apostilla-form-wrapper label {
    color: #e1ebe6;
}

html[data-theme="dark"] body.apostillas-page .apostilla-form-wrapper .form-control {
    color: #f0f5f2;
    border-color: rgba(180, 220, 203, .24);
    background: #14211d;
}

html[data-theme="dark"] body.apostillas-page .apostilla-form-wrapper .form-control::placeholder {
    color: #9eafa7;
}

html[data-theme="dark"] body.apostillas-page .apostilla-form-wrapper .form-control:focus {
    border-color: #8bd0ba;
    box-shadow: 0 0 0 3px rgba(139, 208, 186, .16);
}

html[data-theme="dark"] body.apostillas-page .apostilla-consulta {
    background: linear-gradient(135deg, #092d28, #0f6259);
}

html[data-theme="dark"] body.apostillas-page .apostilla-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, .78);
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="dark"] body.apostillas-page .apostilla-info-box,
    html[data-theme="dark"] body.apostillas-page .apostilla-step,
    html[data-theme="dark"] body.apostillas-page .apostilla-price-card {
        transition: none;
    }
}


/* Modo oscuro · Archivo Notarial (scope exclusivo de archivo.php) */
html[data-theme="dark"] body.archivo-page {
    --archivo-primary: #8bd0ba;
    --archivo-primary-dark: #286d61;
    --archivo-dark: #f0f5f2;
    --archivo-text: #d5e1db;
    --archivo-muted: #bdcbc5;
    --archivo-light: #101b19;
    color: #e6eeeb;
    background: #101b19;
}

html[data-theme="dark"] body.archivo-page .archivo-services,
html[data-theme="dark"] body.archivo-page .archivo-reglamentacion,
html[data-theme="dark"] body.archivo-page .archivo-contact,
html[data-theme="dark"] body.archivo-page .partner-area {
    color: #e6eeeb;
    background: #101b19 !important;
}

/* Mantener la fotografía de portada visible. */
html[data-theme="dark"] body.archivo-page .archivo-hero::before {
    background: linear-gradient(135deg, rgba(5, 30, 27, .78), rgba(8, 65, 58, .54));
}

html[data-theme="dark"] body.archivo-page .archivo-section-title h2,
html[data-theme="dark"] body.archivo-page .archivo-reglamentacion-text h2,
html[data-theme="dark"] body.archivo-page .archivo-form-card h2,
html[data-theme="dark"] body.archivo-page .archivo-service-card h3 {
    color: #f0f5f2;
}

html[data-theme="dark"] body.archivo-page .archivo-section-title p,
html[data-theme="dark"] body.archivo-page .archivo-reglamentacion-text p,
html[data-theme="dark"] body.archivo-page .archivo-service-card p,
html[data-theme="dark"] body.archivo-page .archivo-contact-card p,
html[data-theme="dark"] body.archivo-page .archivo-form-card p {
    color: #bdcbc5;
}

html[data-theme="dark"] body.archivo-page .archivo-label {
    color: #a8deca;
    border-color: rgba(139, 208, 186, .25);
    background: rgba(139, 208, 186, .1);
}

html[data-theme="dark"] body.archivo-page .archivo-service-card,
html[data-theme="dark"] body.archivo-page .archivo-contact-card,
html[data-theme="dark"] body.archivo-page .archivo-form-card {
    color: #e6eeeb;
    border-color: rgba(180, 220, 203, .17);
    background: linear-gradient(145deg, #253a33, #192823);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] body.archivo-page .archivo-service-card:hover,
html[data-theme="dark"] body.archivo-page .archivo-contact-card:hover {
    border-color: rgba(139, 208, 186, .38);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] body.archivo-page .archivo-service-icon,
html[data-theme="dark"] body.archivo-page .archivo-contact-icon {
    color: #a8deca;
    background: rgba(139, 208, 186, .12);
}

html[data-theme="dark"] body.archivo-page .archivo-btn-outline {
    color: #a8deca;
    border-color: rgba(139, 208, 186, .34);
    background: transparent;
}

html[data-theme="dark"] body.archivo-page .archivo-reglamento-card {
    border-color: rgba(180, 220, 203, .2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] body.archivo-page .archivo-form-card label {
    color: #e1ebe6;
}

html[data-theme="dark"] body.archivo-page .archivo-form-card .form-control {
    color: #f0f5f2;
    border-color: rgba(180, 220, 203, .24);
    background: #14211d;
}

html[data-theme="dark"] body.archivo-page .archivo-form-card .form-control::placeholder {
    color: #9eafa7;
}

html[data-theme="dark"] body.archivo-page .archivo-form-card .form-control:focus {
    border-color: #8bd0ba;
    box-shadow: 0 0 0 3px rgba(139, 208, 186, .16);
}

html[data-theme="dark"] body.archivo-page .archivo-map {
    border: 1px solid rgba(180, 220, 203, .15);
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="dark"] body.archivo-page .archivo-service-card,
    html[data-theme="dark"] body.archivo-page .archivo-contact-card {
        transition: none;
    }
}



/* Modo oscuro · Legalizaciones */
html[data-theme="dark"] body.legalizaciones-page {
    --legal-primary: #8bd0ba; --legal-primary-dark: #286d61; --legal-dark: #f0f5f2;
    --legal-muted: #bdcbc5; --legal-light: #1c2b26; --legal-border: rgba(180,220,203,.17);
    color: #e6eeeb; background: #101b19;
}
html[data-theme="dark"] body.legalizaciones-page .legal-intro,
html[data-theme="dark"] body.legalizaciones-page .legal-types,
html[data-theme="dark"] body.legalizaciones-page .legal-process,
html[data-theme="dark"] body.legalizaciones-page .legal-prices,
html[data-theme="dark"] body.legalizaciones-page .legal-contact,
html[data-theme="dark"] body.legalizaciones-page .legal-form,
html[data-theme="dark"] body.legalizaciones-page .legal-database,
html[data-theme="dark"] body.legalizaciones-page .verificacion-documentos,
html[data-theme="dark"] body.legalizaciones-page .partner-area { color:#e6eeeb; background:#101b19 !important; }
html[data-theme="dark"] body.legalizaciones-page .legal-hero-overlay { background:linear-gradient(135deg,rgba(5,30,27,.82),rgba(8,65,58,.56)); }
html[data-theme="dark"] body.legalizaciones-page .legal-section-title h2,
html[data-theme="dark"] body.legalizaciones-page .legal-text h2,
html[data-theme="dark"] body.legalizaciones-page .legal-type-card h3,
html[data-theme="dark"] body.legalizaciones-page .legal-step-card h3,
html[data-theme="dark"] body.legalizaciones-page .legal-price-card h3,
html[data-theme="dark"] body.legalizaciones-page .legal-form-card h2 { color:#f0f5f2; }
html[data-theme="dark"] body.legalizaciones-page .legal-section-title p,
html[data-theme="dark"] body.legalizaciones-page .legal-text p,
html[data-theme="dark"] body.legalizaciones-page .legal-type-card p,
html[data-theme="dark"] body.legalizaciones-page .legal-step-card p,
html[data-theme="dark"] body.legalizaciones-page .legal-price-card p,
html[data-theme="dark"] body.legalizaciones-page .legal-contact-box p,
html[data-theme="dark"] body.legalizaciones-page .legal-form-card p { color:#bdcbc5; }
html[data-theme="dark"] body.legalizaciones-page .legal-info-box,
html[data-theme="dark"] body.legalizaciones-page .legal-type-card,
html[data-theme="dark"] body.legalizaciones-page .legal-step-card,
html[data-theme="dark"] body.legalizaciones-page .legal-price-card,
html[data-theme="dark"] body.legalizaciones-page .legal-contact-box,
html[data-theme="dark"] body.legalizaciones-page .legal-form-card,
html[data-theme="dark"] body.legalizaciones-page .verificacion-card { color:#e6eeeb; border-color:rgba(180,220,203,.17); background:linear-gradient(145deg,#253a33,#192823); box-shadow:0 14px 34px rgba(0,0,0,.24); }
html[data-theme="dark"] body.legalizaciones-page .legal-info-icon,
html[data-theme="dark"] body.legalizaciones-page .legal-type-icon,
html[data-theme="dark"] body.legalizaciones-page .legal-step-icon { color:#a8deca; background:rgba(139,208,186,.12); }
html[data-theme="dark"] body.legalizaciones-page .legal-warning,
html[data-theme="dark"] body.legalizaciones-page .legal-image-label { color:#dce9e2; background:rgba(139,208,186,.1); border-color:rgba(139,208,186,.22); }
html[data-theme="dark"] body.legalizaciones-page .legal-database-box { color:#e6eeeb; border:1px solid rgba(180,220,203,.16); }
html[data-theme="dark"] body.legalizaciones-page .legal-price-tag,
html[data-theme="dark"] body.legalizaciones-page .legal-price-time { color:#a8deca; }
html[data-theme="dark"] body.legalizaciones-page .legal-form-card label { color:#e1ebe6; }
html[data-theme="dark"] body.legalizaciones-page .legal-form-card .form-control { color:#f0f5f2; border-color:rgba(180,220,203,.24); background:#14211d; }
html[data-theme="dark"] body.legalizaciones-page .legal-form-card .form-control::placeholder { color:#9eafa7; }
html[data-theme="dark"] body.legalizaciones-page .legal-form-card .form-control:focus { border-color:#8bd0ba; box-shadow:0 0 0 3px rgba(139,208,186,.16); }
html[data-theme="dark"] body.legalizaciones-page .legal-btn-outline { color:#a8deca; border-color:rgba(139,208,186,.34); background:transparent; }

/* Modo oscuro · Firma Digital */
html[data-theme="dark"] body.firma-digital-page { --firma-primary:#8bd0ba; --firma-primary-dark:#286d61; --firma-dark:#f0f5f2; --firma-muted:#bdcbc5; --firma-light:#1c2b26; color:#e6eeeb; background:#101b19; }
html[data-theme="dark"] body.firma-digital-page .firma-intro,
html[data-theme="dark"] body.firma-digital-page .firma-features,
html[data-theme="dark"] body.firma-digital-page .firma-process,
html[data-theme="dark"] body.firma-digital-page .firma-resources,
html[data-theme="dark"] body.firma-digital-page .firma-contact,
html[data-theme="dark"] body.firma-digital-page .firma-legislation,
html[data-theme="dark"] body.firma-digital-page .partner-area { color:#e6eeeb; background:#101b19 !important; }
html[data-theme="dark"] body.firma-digital-page .firma-hero-overlay { background:linear-gradient(135deg,rgba(5,30,27,.82),rgba(8,65,58,.54)); }
html[data-theme="dark"] body.firma-digital-page .firma-section-title h2,
html[data-theme="dark"] body.firma-digital-page .firma-intro-text h2,
html[data-theme="dark"] body.firma-digital-page .firma-feature-card h3,
html[data-theme="dark"] body.firma-digital-page .firma-resource-content h3 { color:#f0f5f2; }
html[data-theme="dark"] body.firma-digital-page .firma-section-title p,
html[data-theme="dark"] body.firma-digital-page .firma-intro-text p,
html[data-theme="dark"] body.firma-digital-page .firma-feature-card p,
html[data-theme="dark"] body.firma-digital-page .firma-resource-content p { color:#bdcbc5; }
html[data-theme="dark"] body.firma-digital-page .firma-info-box,
html[data-theme="dark"] body.firma-digital-page .firma-feature-card,
html[data-theme="dark"] body.firma-digital-page .firma-requirements,
html[data-theme="dark"] body.firma-digital-page .firma-resource-card,
html[data-theme="dark"] body.firma-digital-page .firma-law-card { color:#e6eeeb; border-color:rgba(180,220,203,.17); background:linear-gradient(145deg,#253a33,#192823); box-shadow:0 14px 34px rgba(0,0,0,.24); }
html[data-theme="dark"] body.firma-digital-page .firma-feature-icon,
html[data-theme="dark"] body.firma-digital-page .firma-info-icon,
html[data-theme="dark"] body.firma-digital-page .requirement-icon,
html[data-theme="dark"] body.firma-digital-page .law-icon { color:#a8deca; background:rgba(139,208,186,.12); }
html[data-theme="dark"] body.firma-digital-page .firma-requirement,
html[data-theme="dark"] body.firma-digital-page .firma-address-box { color:#dce9e2; border-color:rgba(180,220,203,.16); background:rgba(255,255,255,.045); }
html[data-theme="dark"] body.firma-digital-page .firma-contact-box { color:#e6eeeb; border:1px solid rgba(180,220,203,.16); }
html[data-theme="dark"] body.firma-digital-page .firma-token-card { border-color:rgba(180,220,203,.25); background:rgba(14,40,34,.56); }
html[data-theme="dark"] body.firma-digital-page .firma-resource-btn,
html[data-theme="dark"] body.firma-digital-page .firma-btn-outline { color:#a8deca; border-color:rgba(139,208,186,.35); background:transparent; }

/* Modo oscuro · Convenios */
html[data-theme="dark"] body.convenios-page { color:#e6eeeb; background:#101b19; }
html[data-theme="dark"] body.convenios-page .roberto-about-us-area,
html[data-theme="dark"] body.convenios-page .convenios-section,
html[data-theme="dark"] body.convenios-page .partner-area { color:#e6eeeb; background:#101b19 !important; }
html[data-theme="dark"] body.convenios-page .page-title,
html[data-theme="dark"] body.convenios-page .section-heading h2,
html[data-theme="dark"] body.convenios-page .convenios-header h2 { color:#f0f5f2; }
html[data-theme="dark"] body.convenios-page .about-content p,
html[data-theme="dark"] body.convenios-page .subtitle { color:#bdcbc5; }
html[data-theme="dark"] body.convenios-page .convenio-card,
html[data-theme="dark"] body.convenios-page .convenio-modal-content,
html[data-theme="dark"] body.convenios-page .estado-modal-box { color:#e6eeeb; border-color:rgba(180,220,203,.17); background:linear-gradient(145deg,#253a33,#192823); box-shadow:0 14px 34px rgba(0,0,0,.24); }
html[data-theme="dark"] body.convenios-page .convenio-content h3,
html[data-theme="dark"] body.convenios-page .convenio-content h4,
html[data-theme="dark"] body.convenios-page .convenio-modal-title { color:#f0f5f2; }
html[data-theme="dark"] body.convenios-page .convenio-content p,
html[data-theme="dark"] body.convenios-page .estado-info-item,
html[data-theme="dark"] body.convenios-page .convenio-modal-content p { color:#bdcbc5; }
html[data-theme="dark"] body.convenios-page .convenio-status,
html[data-theme="dark"] body.convenios-page .estado-modal-header,
html[data-theme="dark"] body.convenios-page .convenio-modal-header { color:#e6eeeb; border-color:rgba(180,220,203,.16); background:rgba(139,208,186,.1); }
html[data-theme="dark"] body.convenios-page .convenio-modal,
html[data-theme="dark"] body.convenios-page .estado-modal { background:rgba(4,13,11,.78); }
html[data-theme="dark"] body.convenios-page .convenio-modal-actions,
html[data-theme="dark"] body.convenios-page .estado-modal-footer { border-color:rgba(180,220,203,.14); }
html[data-theme="dark"] body.convenios-page .convenio-pdf,
html[data-theme="dark"] body.convenios-page .btn-convenio { color:#a8deca; border-color:rgba(139,208,186,.35); background:transparent; }

/* Modo oscuro · Leyes y documentos */
html[data-theme="dark"] body.leyes-page { color:#e6eeeb; background:#101b19; }
html[data-theme="dark"] body.leyes-page .documento-card { color:#e6eeeb; border-color:rgba(180,220,203,.17); background:linear-gradient(145deg,#253a33,#192823); box-shadow:0 14px 34px rgba(0,0,0,.24); }
html[data-theme="dark"] body.leyes-page .documento-body h3,
html[data-theme="dark"] body.leyes-page .documento-body h4 { color:#f0f5f2; }
html[data-theme="dark"] body.leyes-page .documento-body p,
html[data-theme="dark"] body.leyes-page .documento-body li { color:#bdcbc5; }
html[data-theme="dark"] body.leyes-page .documento-categoria { color:#a8deca; background:rgba(139,208,186,.12); }
html[data-theme="dark"] body.leyes-page .documento-icon { color:#a8deca; background:rgba(139,208,186,.12); }
html[data-theme="dark"] body.leyes-page .documento-footer { border-color:rgba(180,220,203,.16); background:rgba(255,255,255,.035); }
html[data-theme="dark"] body.leyes-page .documento-btn { color:#a8deca; border-color:rgba(139,208,186,.35); }
html[data-theme="dark"] body.leyes-page .archivo-hero::before { background:linear-gradient(135deg,rgba(5,30,27,.8),rgba(8,65,58,.52)); }

/* Modo oscuro · Contacto */
html[data-theme="dark"] body.contact-page { color:#e6eeeb; background:#101b19; }
html[data-theme="dark"] body.contact-page .contact-section,
html[data-theme="dark"] body.contact-page .contact-section.white,
html[data-theme="dark"] body.contact-page .contact-section.email-section,
html[data-theme="dark"] body.contact-page .partner-area { color:#e6eeeb; background:#101b19 !important; }
html[data-theme="dark"] body.contact-page .contact-hero::before { background:linear-gradient(135deg,rgba(5,30,27,.82),rgba(8,65,58,.54)); }
html[data-theme="dark"] body.contact-page .contact-heading h2,
html[data-theme="dark"] body.contact-page .contact-location-header h3,
html[data-theme="dark"] body.contact-page .contact-form-wrapper h2 { color:#f0f5f2; }
html[data-theme="dark"] body.contact-page .contact-heading p,
html[data-theme="dark"] body.contact-page .contact-location-body p,
html[data-theme="dark"] body.contact-page .contact-form-wrapper p { color:#bdcbc5; }
html[data-theme="dark"] body.contact-page .contact-info,
html[data-theme="dark"] body.contact-page .contact-location,
html[data-theme="dark"] body.contact-page .contact-form-wrapper,
html[data-theme="dark"] body.contact-page .email-card { color:#e6eeeb; border-color:rgba(180,220,203,.17); background:linear-gradient(145deg,#253a33,#192823); box-shadow:0 14px 34px rgba(0,0,0,.24); }
html[data-theme="dark"] body.contact-page .contact-info-icon,
html[data-theme="dark"] body.contact-page .contact-hero-icon,
html[data-theme="dark"] body.contact-page .email-icon,
html[data-theme="dark"] body.contact-page .location-icon { color:#a8deca; background:rgba(139,208,186,.12); }
html[data-theme="dark"] body.contact-page .contact-action,
html[data-theme="dark"] body.contact-page .contact-label,
html[data-theme="dark"] body.contact-page .location-title { color:#a8deca; }
html[data-theme="dark"] body.contact-page .contact-form-wrapper label { color:#e1ebe6; }
html[data-theme="dark"] body.contact-page .contact-form-wrapper .form-control { color:#f0f5f2; border-color:rgba(180,220,203,.24); background:#14211d; }
html[data-theme="dark"] body.contact-page .contact-form-wrapper .form-control::placeholder { color:#9eafa7; }
html[data-theme="dark"] body.contact-page .contact-form-wrapper .form-control:focus { border-color:#8bd0ba; box-shadow:0 0 0 3px rgba(139,208,186,.16); }
html[data-theme="dark"] body.contact-page .contact-map { border:1px solid rgba(180,220,203,.15); }
html[data-theme="dark"] body.contact-page .contact-submit { color:#102d27; background:#8bd0ba; }
