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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #333;
}


/* === SERVICIOS === */
.servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.card {
    background: #f9f9f9;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    margin-bottom: 10px;
}

/* === FOOTER === */
.footer {
    background: #7a003c;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

.img-full {
    width: 100%;
    height: auto;
    display: block;
}

.header-imagen,
.footer-imagen {
    width: 100%;
}


/* Barra horizontal */
.barra-inferior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-bottom: 2px solid #7a003c;
    flex-wrap: wrap;
    gap: 1rem;
}

.titulo {
    font-size: 1.4rem;
    color: #7a003c;
    font-weight: 600;
    white-space: nowrap;
}

.redes {
    display: flex;
    gap: 0.6rem;
}

.redes img {
    height: 22px;
}

.menu-icono img {
    height: 28px;
    cursor: pointer;
}

.vino {
    color: #7a003c;
}

.background-wrapper {
    min-height: 100vh;
    background-image: url('/images/inicio/Fondo_Tejedoras.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* === SECCIÓN TEJEDORAS === */
.tejedoras-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
}

/* Banner (imagen completa, redondeada) */
.tejedoras-banner img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Caja de información */
.tejedoras-info {
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.tejedoras-info h3 {
    color: #5e1d42;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.tejedoras-info hr {
    border: none;
    height: 2px;
    background: #ccc;
    margin: 0.75rem 0 1.25rem;
}

.tejedoras-info p {
    flex-grow: 1;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}


.btn.ingresar .icon {
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .tejedoras-card {
        grid-template-columns: 1fr;
    }

    .tejedoras-info {
        margin-top: 1rem;
    }
}

.btn-container {
    text-align: center;
    margin-top: 1rem;
}

/* Botón‑imagen base */
.btn-img {
    width: 100%;
    max-width: 60%;
    height: auto;
    cursor: pointer;
    display: inline-block;
}

/* Ajustes en tablets y escritorio */
@media (min-width: 640px) {
    .btn-img {
        max-width: 80%;
    }
}

@media (min-width: 1024px) {
    .btn-img {
        max-width: 80%;
    }
}

a {
    text-decoration: none !important;
    color: inherit !important;
}

a:hover {
    text-decoration: none !important;
}

.card a {
    text-decoration: none;
    color: inherit;
}

.card a h3,
.card a p {
    color: inherit;
}

.swal2-call-button {
    display: inline-flex;
    align-items: center;
    background-color: #41b757;
    /* verde */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.swal2-call-button:hover {
    background-color: #339145;
    text-decoration: none;
}

.color-white{
    color: white;
}

.atencion{
    font-size: 12px;
    margin-top: 25px;
}

.contenido{
   margin-top: 1cm;
}

.seccion hr {
    border: none;
    border-top: 1px solid #e0e0e0; /* línea gris clara */
    margin: 0.5rem 0;
}
.seccion p {
    font-size: 14px;
    color: #333;
    margin-left: 1rem;  
    margin-right: 1rem; 
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.6; 
}
.barra-inferior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-bottom: 2px solid #7a003c;
    flex-wrap: wrap;
    gap: 1rem;
}

.secretaria {
    margin-left: auto; 
    margin-right: 1rem; 
    font-weight: 500;
    color: #7a003c;
    white-space: nowrap;
}
.menu-desplegable {
    display: none;
    position: absolute;
    top: 70px; 
    right: 1%;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem;
    border-radius: 6px;
}

.menu-desplegable ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-desplegable ul li {
    margin-bottom: 0.5rem;
}

.menu-desplegable ul li a {
    color: #7a003c;
    font-weight: bold;
    text-decoration: none;
}

.menu-desplegable ul li:last-child {
    margin-bottom: 0;
}