/* assets/css/style.css */
/* Variables */
:root {
    --primary: #0056b3;
    --secondary: #00a6a6;
    --accent: #f0f8ff;
    --text: #263238;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enlaces y botones */
a { text-decoration: none; color: var(--primary); }
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: #004080;
    transform: translateY(-2px);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}
.btn-secondary:hover {
    background: #008a8a;
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* HEADER */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.logo img {
    height: 50px;
}
.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
}
.header-contact a {
    color: var(--text);
    transition: var(--transition);
}
.header-contact a:hover {
    color: var(--primary);
}
.whatsapp-btn {
    background: #25d366;
    color: white !important;
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.whatsapp-btn:hover {
    background: #1da851;
    color: white !important;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
}

/* NAV */
.main-nav {
    background: var(--primary);
}
.nav-list {
    list-style: none;
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
    padding: 0;
}
.nav-list li {
    margin: 0;
}
.nav-list a {
    display: block;
    padding: 14px 20px;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.nav-list a:hover,
.nav-list li.active a {
    background: rgba(255,255,255,0.1);
    border-bottom-color: var(--secondary);
}
.nav-list li.active a {
    border-bottom-color: var(--secondary);
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent);
    padding: 15px 0;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1 1 50%;
}
.hero-content h1 {
    font-size: 2.8rem;
    color: var(--primary);
}
.hero-content .slogan {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 500;
}
.hero-content .description {
    margin: 20px 0;
    font-size: 1.1rem;
    color: var(--text);
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.hero-image {
    flex: 1 1 40%;
    text-align: center;
    margin-right: 15px;
}
.hero-image img {
    max-width: 100%;
    /*border-radius: var(--radius);*/
    box-shadow: var(--shadow);
    mask-image: radial-gradient(
        black 80%,
        transparent
    );
}

/* Quick Access Cards */
.quick-access {
    padding: 60px 0;
    background: var(--white);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.card h3 {
    margin-bottom: 10px;
}
.card .btn-outline {
    margin-top: 15px;
}

/* News */
.news-section {
    padding: 60px 0;
    background: var(--light-gray);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.news-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-item h3, .news-item p {
    padding: 0 20px;
}
.news-item h3 {
    margin: 15px 0 10px;
}
.news-item .read-more {
    display: inline-block;
    margin: 15px 20px 20px;
    font-weight: 600;
}

/* FOOTER */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.8);
    padding: 40px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.footer-logo {
    height: 60px;
    /*filter: brightness(10);*/
    filter: none;
}
.footer-about p {
    margin-top: 10px;
}
.footer-contact h4, .footer-links h4, .footer-social h4 {
    color: var(--white);
    margin-bottom: 15px;
}
.footer-links ul {
    list-style: none;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links ul a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-links ul a:hover {
    color: var(--white);
}
.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}
.social-icons a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.social-icons a:hover {
    color: var(--white);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom p {
    margin-bottom: 5px;
}
.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .header-contact {
        display: none;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        box-shadow: var(--shadow);
    }
    .main-nav.open {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    .nav-list li {
        width: 100%;
        text-align: center;
    }
    .nav-list a {
        padding: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        order: -1;
    }
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .app-actions {
        flex-direction: column;   /* se apilan en pantallas muy estrechas */
    }
    .app-actions .app-btn {
        width: 100%;
        min-width: 0;
    }
}

/* pages/nosotros.php */
.page-nosotros h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.page-nosotros .intro-text {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}
.about-block {
    margin: 3rem 0;
}
.about-block h2 {
    color: var(--primary);
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.row .col {
    flex: 1 1 45%;
    background: var(--accent);
    padding: 1.5rem;
    border-radius: var(--radius);
}
.model-grid, .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.model-item, .value-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
}
.model-item h3, .value-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.leader-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.leader-card:hover {
    transform: translateY(-5px);
}
.leader-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary);
}
.leader-card h3 {
    margin: 0.5rem 0 0.2rem;
    color: var(--text);
}
.leader-position {
    color: var(--gray);
    font-weight: 500;
}
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    .row .col {
        flex: 1 1 auto;
    }
}

/* pages/servicios.php */
.page-servicios .intro-text {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}
.service-category {
    margin-bottom: 3rem;
}
.service-category h2 {
    color: var(--primary);
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.service-category h2 i {
    margin-right: 10px;
    color: var(--secondary);
}
.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.service-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.service-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.service-item p {
    color: var(--text);
    margin-bottom: 0.5rem;
}
.service-extra {
    background: var(--accent);
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    margin-top: 0.8rem;
    font-size: 0.9rem;
}
.service-extra p {
    margin: 0.2rem 0;
}
.service-contact-block {
    background: var(--accent);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 3rem;
}
.service-contact-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.contact-item h3 {
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.contact-item ul {
    list-style: none;
    padding: 0;
}
.contact-item ul li {
    margin-bottom: 0.5rem;
}
.contact-item a {
    color: var(--primary);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .service-items {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TRANSPARENCIA ===== */
/* Hero de transparencia */
.transparency-hero {
    background: var(--accent);
    padding: 40px 0;
    text-align: center;
}
.transparency-hero img {
    max-width: 120px;
    margin-bottom: 10px;
}
.transparency-hero .title-red {
    color: #c00;
    font-size: 2.2rem;
    font-weight: 700;
}
.transparency-hero .title-blue {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 700;
}
.transparency-hero .subtitle {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 500;
}
.transparency-hero .subtitle-small {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Tabs */
.tabs-container {
    margin: 30px 0;
}
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
    margin-bottom: 25px;
}
.tabs-nav .tab-btn {
    background: transparent;
    border: none;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    border-radius: var(--radius) var(--radius) 0 0;
    transition: var(--transition);
    position: relative;
}
.tabs-nav .tab-btn:hover {
    background: var(--accent);
    color: var(--primary);
}
.tabs-nav .tab-btn.active {
    background: var(--primary);
    color: var(--white);
}
.tabs-nav .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

/* Tab panes */
.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Acordeón */
.accordion {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.accordion-item {
    border-bottom: 1px solid #e9ecef;
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    margin: 0;
}
.accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: var(--white);
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}
.accordion-btn:hover {
    background: var(--accent);
}
.accordion-btn .icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.accordion-btn.collapsed .icon {
    transform: rotate(0deg);
}
.accordion-btn:not(.collapsed) .icon {
    transform: rotate(180deg);
}
.accordion-collapse {
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0;
}
.accordion-collapse.show {
    max-height: 5000px; /* suficiente para cualquier contenido */
}
.accordion-body {
    padding: 20px 24px;
    background: var(--light-gray);
}

/* Sub-acordeón (anidado) */
.sub-accordion {
    border-left: 3px solid var(--secondary);
    margin: 10px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.sub-accordion .accordion-item {
    border-bottom: 1px solid #dee2e6;
}
.sub-accordion .accordion-btn {
    padding: 12px 16px;
    font-size: 0.95rem;
    background: #f8f9fa;
}
.sub-accordion .accordion-btn:hover {
    background: #e9ecef;
}
.sub-accordion .accordion-body {
    background: var(--white);
    padding: 16px 20px;
}

/* Tablas de transparencia */
.table-transparency {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.table-transparency th {
    background: var(--primary);
    color: var(--white);
    padding: 10px 12px;
    text-align: left;
}
.table-transparency td {
    padding: 10px 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}
.table-transparency tr:hover td {
    background: var(--accent);
}
.table-transparency .btn-sm {
    padding: 4px 10px;
    font-size: 0.8rem;
}

/* Tarjetas de entes de control */
.entes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.ente-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border-top: 4px solid var(--secondary);
    transition: var(--transition);
}
.ente-card:hover {
    transform: translateY(-4px);
}
.ente-card .card-header {
    background: transparent;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px solid #e9ecef;
}
.ente-card .card-body {
    padding: 20px;
}
.ente-card .card-body p {
    margin: 0 0 6px 0;
}
.ente-card .card-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
}
.ente-card img {
    max-width: 60%;
    display: block;
    margin: 10px auto;
}

/* Tarjeta PQRS / Noticias */
.card-module {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.card-module .card-header {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
}
.card-module img {
    width: 100%;
    height: auto;
}
.card-module .card-body {
    padding: 20px;
}
.card-module .card-footer {
    padding: 15px 20px;
    text-align: center;
}

/* Botones de acción */
.btn-transparency {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-transparency:hover {
    background: #004080;
    color: var(--white);
}
.btn-outline-transparency {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-transparency:hover {
    background: var(--primary);
    color: var(--white);
}

/* Listas con viñetas */
.list-disc {
    list-style: disc !important;
    padding-left: 20px;
}
.list-disc li {
    display: list-item !important;
    margin-bottom: 6px;
}

/* Responsive para transparencia */
@media (max-width: 768px) {
    .transparency-hero .title-red,
    .transparency-hero .title-blue {
        font-size: 1.6rem;
    }
    .transparency-hero .subtitle {
        font-size: 1.1rem;
    }
    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
        padding-bottom: 4px;
    }
    .tabs-nav .tab-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .accordion-btn {
        font-size: 0.95rem;
        padding: 14px 16px;
    }
    .accordion-body {
        padding: 16px;
    }
    .table-transparency {
        font-size: 0.75rem;
    }
    .table-transparency th,
    .table-transparency td {
        padding: 6px 8px;
    }
    .entes-grid {
        grid-template-columns: 1fr;
    }
    .card-module {
        max-width: 100%;
    }
}

/* ===== APLICATIVOS ===== */
.page-aplicativos h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.page-aplicativos .intro-text {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.app-card {
    background: var(--white);
    padding: 30px 20px 25px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.app-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}

.app-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.app-user-type {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.app-btn {
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-btn i {
    font-size: 0.9rem;
}

/* Alerta de advertencia */
.alert {
    padding: 20px 25px;
    border-radius: var(--radius);
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    color: #856404;
}
.alert-warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .app-card {
        padding: 20px 15px;
    }
    .app-icon {
        font-size: 2.5rem;
    }
    .app-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BOTONES MÚLTIPLES EN TARJETAS DE APLICATIVOS ===== */
.app-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 220px;
    margin-top: auto;
}
.app-actions .app-btn {
    flex: 1 1 0;                 /* ambos botones crecen por igual */
    min-width: 120px;            /* ancho mínimo para que el texto no se corte */
    width: auto;
    max-width: none;
    padding: 10px 14px;
    font-size: 0.9rem;
    white-space: nowrap;
}
.app-btn-modal {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.app-btn-modal:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.25s ease;
}
.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius) var(--radius) 0 0;
}
.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--white);
}
.modal-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 24px;
    text-align: center;
}
.modal-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.modal-description {
    color: var(--text);
    font-size: 1rem;
    text-align: left;
    line-height: 1.6;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

/* Responsive del modal */
@media (max-width: 600px) {
    .modal-content {
        max-height: 95vh;
    }
    .modal-header h3 {
        font-size: 1rem;
    }
    .modal-body {
        padding: 16px;
    }
}

/* ===== BADGE "EN DESARROLLO" ===== */
.app-badge-dev {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid #ffeeba;
}
.app-badge-dev i {
    margin-right: 4px;
}

/* ===== MODAL DE "EN DESARROLLO" ===== */
.modal-content-sm {
    max-width: 480px;
}
.modal-header-warning {
    background: #f39c12;
}
.modal-header-warning h3 i {
    margin-right: 6px;
}
.modal-dev-icon {
    text-align: center;
    font-size: 4rem;
    color: #f39c12;
    margin: 10px 0 20px;
}
.modal-description-center {
    text-align: center;
}
.modal-footer-center {
    text-align: center;
}