body {
    font-family: 'Area';
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Area Black';
    font-weight: bold;
    color: #000;
    line-height: 1;
}

p {
    font-size: 18px;
    line-height: 1.5;
    color: #666;
}

a {
    text-decoration: none;
    color: #337ab7;
}

a:hover {
    color: #23527c;
}

/*Header*/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background-color: #EDF0F4;
}

.logo-container a {
    text-decoration: none;
}

.header-logo {
    max-height: 40px;
    height: auto;
    display: block;
    padding-left: 5%;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #B8BABC;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s;
    font-family: 'Area Black';
}

.nav-menu a:hover {
    color: #06535A;
}

/* Dropdown Panel */
.dropdown-panel {
    position: absolute; /* Relativo al contenedor */
    top: 100%; /* Justo debajo del header */
    left: 0; /* Alineado al borde izquierdo */
    width: 100%; /* Ocupa todo el ancho de la pantalla */
    background: #fff; /* Fondo blanco */
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Oculto por defecto */
    padding: 20px;
    z-index: 10; /* Para asegurarse de que quede encima */
    grid-template-columns: repeat(2, 1fr); /* Dos columnas */
    grid-template-rows: repeat(2, auto); /* Dos filas */
    gap: 20px; /* Espaciado entre las fichas */
    justify-items: center; /* Centra las fichas horizontalmente */
    align-items: center; /* Centra las fichas verticalmente */
}


.nav-menu:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
}

.dropdown-panel.show {
    display: flex; /* Cambia a visible */
    opacity: 1;
    visibility: visible;
}

/* Ajuste para las fichas */
.dropdown-item {
    display: flex;
    flex-direction: column;
    height: 110px;
    width: 100px;
    overflow: hidden;
    border-radius: 10px;
    text-align: center;
    background: #f9f9f9;
    /*border: 1px solid #eee;*/
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0; /* 🔥 quita espacio interior */
    margin: 0;  /* 🔥 previene desplazamiento vertical */
}

.dropdown-image {
    flex: 0 0 60%;
    /*height: 40%;*/
    width: 100%;
    overflow: hidden;
    margin: 0;  /* 🔥 sin margen extra */
    padding: 0;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.dropdown-image img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    display: block;
    margin: 0;      
    padding: 0;     
    border-radius: 0;
}

.dropdown-item:hover {
    transform: translateY(-5px); /* Efecto de hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.dropdown-content {
    text-align: center; /* Centra el texto */
}

/* Ajuste del contenido textual */
.dropdown-content h3 {
    font-size: 10px; /* Tamaño reducido del título */
    color: #333;
    margin: 3px 0; /* Margen ajustado */
}

.dropdown-content p {
    font-size: 8px; /* Tamaño reducido del texto */
    color: #666;
    margin: 0;
}


/* Mostrar el menú */
.nav-menu:hover .dropdown-panel {
    display: grid; /* Mostrar el panel al interactuar */
    opacity: 1;
    visibility: visible;
}


/* Botones */
.header-buttons {
    display: flex;
    gap: 25px;
    align-items: center; /* Asegura que los botones estén alineados verticalmente */
}

/* Botón de WhatsApp solo texto */

.btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Area';
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-verde {
    color: #fff;
    background-color: #06535A;
}

.btn-verde:hover {
    background-color: #B8BABC;
    color: #06535A;
}

.btn-blanco {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
}

.btn-blanco:hover {
    background-color: #B8BABC;
    color: #fff;
}


.btn-text {
    text-decoration: none;
    color: #06535A;
    font-size: 14px;
    font-weight: bold;
    background-color: transparent;
    transition: color 0.3s;
    font-family: 'Area Black'
}

.btn-text:hover {
    color: #B8BABC;
}

/* Botón de Agenda */
.btn-agenda {
    background-color: #06535A;
    color: #fff;
    text-decoration: none;
    padding: 1px 15px; /* Ajusta el tamaño */
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    white-space: nowrap; /* Previene que el texto se divida en varias líneas */
    transition: background-color 0.3s, color 0.3s;
}

.btn-agenda:hover {
    background-color: #B8BABC;
    color: #06535A;
}

/*Pie de pagina*/
.footer {
    background-color: #EDF0F4;
    padding: 50px 0;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-left: 5%;
    gap: 20px;
}

.footer-logo {
    max-height: 40px;
    height: auto;
    display: block;
    padding-left: 5%;
    padding-bottom:5px;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-family: 'Area';
}

.footer-column p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: 'Area';
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    text-decoration: none;
    color: #000;
    transition: color 0.2s ease;
    font-family: 'Area';
    font-size: 12px;
}

.footer-column ul li a:hover {
    color: #C4C4C4;
    font-family: 'Area';
}


.social-icons a {
    font-size: 18px;
    color: #06535A;
    transition: color 0.2s;
    font-family: 'Area';
}

.social-icons a:hover {
    color: #C4C4C4;
}

.footer-column iframe {
    border: none;
    width: 100%;
    height: 100px;
}

