:root {
    --vino: #3D3935;
    --vino-oscuro: #652680;
    --gris-oscuro: #282828;
    --gris-claro: #C4C4C4;
    --blanco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--gris-oscuro);
    background-color: var(--blanco);
}

header {
    background-color: var(--vino);
    color: var(--blanco);
    padding: 10px 20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 80px;
    width: 100%;
    margin-right: 10px;
}

nav a {
    color: var(--blanco);
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    background: url('../img/fondo2.png') no-repeat center center;
    background-size: cover;
    color: var(--blanco);
    padding: 80px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;

}

.hero-text img {
    width: 100%;
    max-width: 400px;
}

.hero-container p {
    font-size: 25px;
}

.hero-text .btn {
    background: var(--blanco);
    color: var(--vino);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 1));
}

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--vino);
}

.about {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.about img {
    max-width: 100%;
    width: 400px;
    border-radius: 8px;
}

.services img {
    width: 100%;
    border-radius: 8px;
}

.requirements ul {
    list-style: disc;
    padding-left: 20px;
}

/*
        CARD CONTACTO*/
.card-movimientos {
    text-align: center;
    padding: 60px 10px;
    background: #fff;
}

.card-movimientos h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #111;
}

.card-movimientos p {
    color: #555;
    margin-bottom: 40px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.card-item:hover {
    transform: translateY(-5px);
}

.card-item img {
    width: 60px;
    margin-bottom: 20px;
}

.card-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #111;
}

.card-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.btn-numero {
    background-color: var(--vino-oscuro);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
}

.btn-link {
    background-color: var(--vino-oscuro);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
}

.btn-link:hover {
    background-color: #6d1222;
}

.btn-apps img {
    height: 36px;
    margin: 5px;
}


/* CSS CARD*/
.card.limitada {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    margin: 3rem auto;
    max-width: 1000px;
}

.contenido-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.texto-card {
    flex: 1 1 300px;
}

.texto-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 15px;
}

.texto-card p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.texto-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.texto-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.texto-card ul li img {
    width: 24px;
    height: 24px;
}

.texto-card .btn {
    background-color: #811718;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.texto-card .btn:hover {
    background-color: #5c1012;
}

.imagen-card {
    flex: 1 1 300px;
    text-align: center;
}

.imagen-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.card.alerta {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
}

.card.alerta img {
    width: 80px;
    margin-bottom: 20px;
}

.card.alerta h2 {
    color: #811718;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.card.alerta ul {
    text-align: left;
    list-style: disc inside;
    font-size: 1rem;
    padding: 0;
}

.card.alerta ul li {
    margin-bottom: 12px;
}

.divisor {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, #652680, transparent);
    margin: 30px 0;
    border: none;
}

.galeria-logos {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.galeria-logos h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2d2d2d;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    justify-items: center;
}

.logo-item {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item img {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* card advertencia*/
.card.advertencia {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
}

.card.advertencia h2 {
    color: #a0153e;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card.advertencia p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
}

.sitios-oficiales {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.fuente-oficial {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.etiqueta {
    background-color: #a0153e;
    color: #fff;
    padding: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 8px;
    line-height: 1.3;
}

.sitios p {
    margin: 5px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.redes-sociales {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.redes-sociales img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.redes-sociales img:hover {
    transform: scale(1.1);
}

/*
        CARD CALENDARIO*/
.actividades {
    margin-bottom: 50px;
}

.actividades h2 {
    text-align: center;
    margin-bottom: 20px;
}

.filtros-municipio {
    text-align: center;
    margin-bottom: 2rem;
}

.filtro-btn {
    display: inline-block;
    background-color: #eee;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filtro-btn.activo,
.filtro-btn:hover {
    background-color: #AB0A3D;
    color: #fff;
}

.grid-talleres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card-taller {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-taller:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
    background-color: #AB0A3D;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
}

.card-body {
    padding: 1.2rem;
    text-align: center;
}

.card-body .info {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #333;
}

.card-body .info span {
    margin-right: 6px;
    font-weight: bold;
    color: #AB0A3D;
}

/* 

CARD MUJER ES QROO +
*/
.texto-card2 {

    flex: 1 1 300px;
}

.texto-card2 ul {
    margin-top: 10px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.texto-card2 ul li {
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/*
TABLA
*/


table {
    width: 50%;
    border-collapse: collapse;
    font-size: 0.95em;
    margin: 30px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

thead {
    background-color: #6A1B9A;
    /* Morado fuerte */
    color: #fff;
    text-align-last: center;
}

thead th {
    padding: 14px 16px;
    text-align: left;
}

tbody td {
    padding: 14px 16px;
    border-top: 1px solid #e0d0ec;
    vertical-align: top;
}

tbody tr:nth-child(even) {
    background-color: #d1d1d1;
    /* Morado muy claro */
}

tbody tr:hover {
    background-color: #ede7f6;
}

a {
    color: #6A1B9A;
    text-decoration: underline;
}




footer {
    background-color: var(--vino);
    padding: 20px;
    text-align: center;
    color: white;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contenido-card {
        flex-direction: column-reverse;
        text-align: center;
    }

    .texto-card {
        text-align: left;
    }

    .methods {
        flex-direction: column;
    }

    .lista-servicios {
        text-align: left;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 10px;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none;
    }

    tbody tr {
        background-color: #fff;
        border: 1px solid #e0d0ec;
        border-radius: 10px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    tbody td {
        display: block;
        border: none;
        padding: 6px 0;
    }

    tbody td[data-label="Municipio"] {
        font-weight: 600;
        font-size: 1.1em;
        color: #4a116c;
        margin-bottom: 4px;
    }

    tbody td[data-label="Ubicación"] a::before {
        content: "📍 ";
    }

    a.btn {
        width: 100%;
        display: block;
        margin-top: 12px;
    }


}