
/* ---- Banner ---- */

.banner-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.banner-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .tienda-banner { height: 280px; }
    .banner-title  { font-size: 2rem; }
    .tienda-banner-overlay { padding-bottom: 2rem; }
}

@media (max-width: 480px) {
    .tienda-banner { height: 200px; }
    .banner-title  { font-size: 1.5rem; }
}

/* ---- Sección principal ---- */
.contacto-section {
    background-color: #EEEAE8;
}

/* ---- Mapa ---- */
.mapa-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mapa-header {
    background: var(--navy-blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    letter-spacing: 0.5px;
}

.mapa-card .ratio {
    flex: 1;
    min-height: 280px;
}

/* ---- Foto sede ---- */
.foto-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
    min-height: 280px;
}

.foto-sede {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.foto-card:hover .foto-sede {
    transform: scale(1.04);
}

.foto-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(57, 63, 111, 0.88);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}

/* ---- Cards de contacto ---- */
.contacto-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contacto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(57,63,111,0.15);
}

.contacto-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-blue) 0%, #5762a8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
}

.contacto-card-title {
    color: var(--navy-blue);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contacto-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.contacto-list li {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.contacto-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contacto-list .label {
    display: inline-block;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 2px;
}

/* ---- Teléfono principal destacado ---- */
.telefono-principal {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy-blue);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.tel-link {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.tel-link:hover {
    color: var(--gold);
}

.horario-badge {
    display: inline-flex;
    align-items: center;
    background: #f0f2fa;
    color: var(--navy-blue);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 30px;
}

/* ---- Links botón de mapa ---- */
.btn-contacto-link {
    display: inline-flex;
    align-items: center;
    color: var(--navy-blue);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--navy-blue);
    border-radius: 30px;
    padding: 0.4rem 1.1rem;
    transition: all 0.25s ease;
    align-self: flex-start;
}

.btn-contacto-link:hover {
    background: var(--navy-blue);
    color: #fff;
}

/* ---- Email links ---- */
.email-link {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
    transition: color 0.2s;
}

.email-link:hover {
    color: var(--gold);
}

/* ---- Redes Sociales ---- */
.redes-sociales .label {
    font-weight: 700;
    color: var(--navy-blue);
    font-size: 0.9rem;
}

.red-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.red-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    color: #fff;
}

.red-btn.facebook  { background: #1877f2; }
.red-btn.youtube   { background: #ff0000; }
.red-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.red-btn.linkedin  { background: #0a66c2; }
.red-btn.whatsapp { background: #25D366; }
.red-btn.tiktok    { background: #000000; }
.red-btn.twitter   { background: #000000; }

/* ---- Responsive ajustes formulario ---- */
@media (max-width: 991px) {
    .formulario-lateral {
        padding: 2.5rem !important;
    }
}

@media (max-width: 575px) {
    .contacto-card {
        padding: 1.5rem 1.25rem;
    }
    .telefono-principal {
        font-size: 1.4rem;
    }
}

/* ---- Carrusel Empresas Colaboradoras (1 imagen) ---- */
.empresas-carrusel-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.empresas-carrusel-titulo {
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 1.4rem;
}

/* --- GALERÍA SLIDER --- */
.galeria-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    padding: 0 5px; /* mismo valor que el padding de .galeria-slide */
    box-sizing: border-box;
}
.galeria-slider-wrapper:active { cursor: grabbing; }

.galeria-slider {
    display: flex;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.galeria-slide {
    flex: 0 0 calc(100% / 3);
    min-width: calc(100% / 3);
    width: calc(100% / 3);
    box-sizing: border-box;
    padding: 0 5px; /* gap visual entre slides, ajusta a tu gusto */
}

@media (max-width: 1199px) {
    .galeria-slide {
        flex: 0 0 calc(100% / 2);
        min-width: calc(100% / 2);
        width: calc(100% / 2);
    }
}

@media (max-width: 767px) {
    .galeria-slide {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
    }
}

.galeria-card {
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #eee;
    padding: 1.5rem 2rem;
    margin: 0 auto;
}

.galeria-img {
    max-width: 100%;
    max-height: 250px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.galeria-img:hover {
    filter: grayscale(0%);
}

.galeria-control-prev,
.galeria-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(150, 0, 0, 0.85);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.galeria-control-prev { left: 10px; }
.galeria-control-next { right: 10px; }

.galeria-control-prev:hover,
.galeria-control-next:hover {
    background: var(--red);
    transform: translateY(-50%) scale(1.1);
}

.galeria-control-prev:disabled,
.galeria-control-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}