
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f9f9f9;
}

.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
}

.contact-info a {
    color: #4e6a22;
    text-decoration: none;
    margin: 3px 0;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.contact-info a i {
    margin-right: 8px;
    font-size: 22px;
}

.logo {
    max-width: 200px;
}

.logo img {
    width: 100%;
}

.nav-menu {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #4e6a22;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #4e6a22;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after, .nav-menu a.active:after {
    width: 70%;
}

/* Estilos para el submenú */
.has-submenu {
    position: relative;
    display: inline-block;
}

.has-submenu > a::after {
    content: ' ▼';
    font-size: 10px;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 180px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 5px;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
    width: 100%;
}

.submenu a:last-child {
    border-bottom: none;
}

.submenu a:after {
    display: none !important;
}

/* Estilos para menú hamburguesa en móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
    position: absolute;
    top: 25px;
    right: 20px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #4e6a22;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Estilos para la página de contacto */
.page-title {
    background-color: #4e6a22;
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-title h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.contact-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-content {
    flex: 1;
}

.map-content {
    flex: 1;
}

.contact-section {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    color: #4e6a22;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact-methods {
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: #f5f7f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #4e6a22;
    font-size: 20px;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.method-content p, .method-content a {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    text-decoration: none;
}

.method-content a:hover {
    color: #4e6a22;
    text-decoration: underline;
}

.office-hours {
    margin-top: 30px;
}

.hours-title {
    font-size: 18px;
    color: #4e6a22;
    margin-bottom: 15px;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #eee;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 10px 0;
    color: #666;
}

.hours-table td:first-child {
    font-weight: bold;
    width: 40%;
}

.map-container {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4e6a22;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-check input {
    margin-top: 5px;
    margin-right: 10px;
    flex-shrink: 0;
}

.form-text {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
}

.btn {
    padding: 12px 25px;
    border: none;
    background-color: #4e6a22;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.btn:hover {
    background-color: #648c28;
}

/* Sección de preguntas frecuentes */
.faq-section {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

.faq-container {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: #f5f7f0;
    font-weight: bold;
    color: #4e6a22;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #e7ead8;
}

.faq-answer {
    padding: 15px 20px;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-toggle {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: #b7bb8a;
}

.footer-link {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: #b7bb8a;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #444;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
}

@media (max-width: 992px) {
    .contact-layout {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
    }
    
    .nav-menu {
        margin: 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
        background-color: white;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 100;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        display: none;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .map-container {
        height: 300px;
    }
}

#plugin-whatsapp{
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    width: 45px;
    border: 2px solid #fff;
    font-size: 15px;
    padding: 5px;
    border-radius: 50%;
    background-color: #1fc75e;
    color: #ffffff;
    z-index: 51;
    transition: 0.3s ease;
}

#plugin-whatsapp.masAlto{
    bottom:100px;
}

#plugin-whatsapp:hover {
    background-color: #238c6b;
    cursor:pointer;
}

#plugin-whatsapp i{
    height:auto;
    width:auto;
    margin:0px;
}


#plugin-whatsapp-conversacion{
    position: fixed;
    bottom: -280px;
    right: 10px;
    display: flex;
    flex-direction:column;
    height: 310px;
    width: 400px;
    font-size: 15px;
    border-radius: 5px;
    background-color: #1fc75e;
    color: #ffffff;
    z-index: 9999999999;
    transition: 0.3s ease;
    
    padding-bottom: 60px;
}

.plugin-whatsapp-titulo{
    padding:20px;
    background-color:#2e8c7d;
    border-radius: 5px 5px 0px 0px;
    font-size:20px;
    display:flex;
    justify-content: space-between;

}

.plugin-whatsapp-titulo .circle {
    background: #164a42;
    border-radius: 50%;
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor:pointer;
}

.plugin-whatsapp-mensajes{
    display:flex;
    flex-direction:column;
    font-size: 15px;
    align-items: flex-start;
}

.plugin-whatsapp-mensajes div{
    padding:10px;
    border-radius: 5px 5px 0px 10px;
    width: auto !important;
    padding: 7px 10px 7px !important;
    margin:5px 10px 5px 5px;
    border-radius: 10px 10px 10px 0;
    background: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    word-wrap: break-word;
    display: inline-block;
    color:#333;
}
.plugin-whatsapp-mensajes span.hora{
    font-size:10px;
    margin-left:10px;
    color:#9a9a9a;
}

.plugin-whatsapp-pie{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    overflow: hidden;
    height: 50px;
    width: 100%;
    z-index: 2;
    margin-bottom:10px;
    margin-top:auto;
}

.plugin-whatsapp-pie div,
.plugin-whatsapp-pie input {
    background: #fff;
    height: 100%;
}

.emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 5px 0 0 5px;
    flex: 0 0 auto;
    margin-left: 8px;
    width: 48px;
}

.input-msg {
    border: 0;
    flex: 1 1 auto;
    font-size: 16px;
    margin: 0;
    outline: none;
    min-width: 50px;
}

.photo {
    flex: 0 0 auto;
    border-radius: 0 0 5px 0;
    text-align: center;
    position: relative;
    width: 48px;
}

.photo:after {
    border-width: 0px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
    position: absolute;
    width: 0;
    height: 0;
    content: "";
    top: 0;
    right: -10px;
}

.photo i {
    display: block;
    color: #7d8488;
    font-size: 24px;
    transform: translate(-50%, -50%);
    position: relative;
    top: 50%;
    left: 50%;
}

.send {
    background: transparent;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    margin-left: 8px;
    margin-right: 8px;
    padding: 0;
    position: relative;
    outline: none;
}

.send .circle {
    background: #008a7c;
    border-radius: 50%;
    color: #fff;
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send .circle i {
    font-size: 24px;
    margin-left: 0px;
}


@media (max-width: 499px) {

    #plugin-whatsapp-conversacion{
        width:90vw !important;
    }

}
#plugin-whatsapp-conversacion {
background-color: #e5ddd5; /* Color de fondo típico de WhatsApp */
background-image: url("../img/Whatsapp/fondoWhatsapp.png");
background-size: cover;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 2. Ocultar el botón de WhatsApp cuando la conversación está abierta */
#plugin-whatsapp.hidden {
display: none !important;
}

/* 3. Mejorar el estilo del título de WhatsApp */
.plugin-whatsapp-titulo {
background-color: #075E54; /* Color oficial de WhatsApp */
color: white;
padding: 15px 20px;
}

/* 4. Mejorar el aspecto de la zona de mensajes */
.plugin-whatsapp-mensajes {
padding: 10px;
max-height: 150px;
overflow-y: auto;
background-color: #e5ddd5;
}

/* 5. Mejorar el contraste de los mensajes */
.plugin-whatsapp-mensajes div {
background-color: white;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
margin-bottom: 8px;
}

/* 6. Mejorar el pie con el campo de entrada */
.plugin-whatsapp-pie {
background-color: #f0f0f0;
border-top: 1px solid #ddd;
padding: 5px;
}
.plugin-whatsapp-mensajes {
padding: 10px;
max-height: 120px; /* Reducido para evitar superposición */
overflow-y: auto;
background-color: #e5ddd5;
margin-bottom: 10px; /* Añadir espacio antes del área de entrada */
}

/* Mejorar el pie con espacio adicional */
.plugin-whatsapp-pie {
background-color: #f0f0f0;
border-top: 1px solid #ddd;
padding: 8px 5px;
margin-top: auto; /* Empuja al fondo */
position: absolute; /* Posicionamiento fijo en la parte inferior */
bottom: 0;
left: 0;
right: 0;
border-radius: 0 0 5px 5px;
}

/* Ajustar altura total y distribución */
#plugin-whatsapp-conversacion {
height: 280px; /* Altura fija para mejor control */
display: flex;
flex-direction: column;
}

/* Ajuste para el área de contenido */
.plugin-whatsapp-titulo {
flex-shrink: 0; /* No permitir que se reduzca */
}