﻿:root {
    --card-height: 520px;
}

.swiper {
    width: 100%;
    max-width: 450px; 
    height: auto;
    padding: 20px;
    margin-left: 0;
    left: 50px;
}

/* Estilo de la Tarjeta */
.swiper-slide {
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column; 
    overflow: hidden;
}

.panel-map {
    width: 100%;
    height: 45%;
    background-color: #eee;
    position: relative;
    overflow: hidden;
}

    .panel-map iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

.panel-content {
    width: 100%;
    height: 55%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .contacto-page-container .row {
        display: block;
    }

    .contacto-page-container .col-7,
    .contacto-page-container .col-5,
    .contacto-page-container .col-9,
    .contacto-page-container .col-md-5 {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
    }

    .contacto-page-container .swiper {
        max-width: 100%;
        height: auto;
        left: 0px;
    }

    .contacto-page-container .contacto.well {
        left: 0 !important;
    }
}


.panel-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.list-contact {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

    .list-contact li {
        margin-bottom: 5px;
        font-size: 0.95rem;
    }

    .list-contact a {
        color: #007bff;
        text-decoration: none;
    }

address {
    font-style: normal;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

    address svg {
        color: #5DADE2;
    }

.schedule-banner {
    background: #f8fbfe;
    border-left: 4px solid #5DADE2;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.schedule-icon {
    background: #5DADE2;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.schedule-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
    flex: 1;
    min-width: 200px;
}

    .schedule-text strong {
        color: #2c3e50;
        display: block;
        font-size: 1.1rem;
    }

@media (max-width: 600px) {
    .schedule-banner {
        flex-direction: column;
        align-items: flex-start; 
        text-align: left;
        gap: 10px;
    }

    .schedule-text {
        min-width: 100%;
    }

    .schedule-banner div[style*="margin-left: auto"] {
        margin-left: 0 !important;
        flex-direction: column;
        gap: 5px !important;
        width: 100%;
    }
}

/* Contenedor del formulario */
.contacto.well {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    left: 20px;
}

/* Espaciado de los grupos */
.form-group {
    margin-bottom: 20px;
}

/* Labels más profesionales */
.form-label {
    display: block;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Estilo de los Inputs, Selects y TextAreas */
.form-control {
    width: 100%;
    border: 1px solid #d1d9e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fdfdfd;
}

    .form-control:focus {
        outline: none;
        border-color: #5DADE2;
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(93, 173, 226, 0.15);
    }

/* Ajuste específico para el área de mensaje */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox de privacidad */
.mb-2 label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
}

.mb-2 input[type="checkbox"] {
    margin-top: 3px;
    transform: scale(1.1);
}

/* Botón de envío */
.btn-primary {
    background-color: #5DADE2;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; 
    margin-top: 15px;
}

    .btn-primary:hover {
        background-color: #3498DB;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    }

.g-recaptcha {
    margin: 20px 0;
}

@media (max-width: 768px) {
    .contacto.well {
        padding: 20px;
        left: 0;
    }
}

/* Contenedor específico para privacidad */
.privacy-box {
    margin: 20px 0;
    padding: 10px;
    background: #fcfcfc;
    border-radius: 5px;
}

    .privacy-box label {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.85rem;
        line-height: 1.3;
        cursor: pointer;
    }

.captcha-container {
    margin: 20px 0;
    overflow: hidden;
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
    }
}

.btn-submit {
    background-color: #5DADE2;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    width: 100%;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

    .btn-submit:hover {
        background-color: #3498DB;
    }

.Text-contact {
    color: #666;
    left: 20px;
    position: relative;
}
