*{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    padding-top: 0 !important; /* Elimina el padding superior */
    padding-bottom: 0 !important; /* Elimina el padding inferior */
    margin-top: 0 !important; /* Elimina el margen superior */
    margin-bottom: 0 !important; /* Elimina el margen inferior */
    position: fixed; /* Mantiene el navbar en la parte superior */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #23232D !important;
    color: white; /* Cambia el color del texto a blanco */
}

.logo-small {
    max-width: 250px;
    height: auto;
    vertical-align: middle;
}

/*ESTILOS SECCION CONTACTO FORMULARIO*/

.contacto {
    background-color: #F5F5F5;
    padding: 50px 20px;
    text-align: center;
}

.contacto-contenido {
    max-width: 800px;
    margin: 0 auto;
}

.contacto-contenido h2 {
    color: #23232D;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}


.boton {
    display: inline-block;
    background-color: #23232D;
    color: white; /* Eliminar !important */
    transition: color 0.3s ease;
    padding: 10px 20px;
    text-decoration: none !important; /* Elimina el subrayado */
    border-radius: 5px;
}

.boton:hover { /* Aumenta la especificidad */
    background-color: #1a1a22;
    color: #E8D187;
}

/* Media queries para hacerlo responsivo */
@media (max-width: 768px) {
    .contacto-contenido {
        padding: 0 20px;
    }
}

/* Contenedor general */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* MenÃº oculto por defecto */
.whatsapp-menu {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 70px;
  right: 0;
}

/* Mostrar menÃº cuando el contenedor tenga la clase "active" */
.whatsapp-container.active .whatsapp-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Estilos de los enlaces */
.whatsapp-menu a {
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none !important;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-bottom: 6px;   /* í ½í±ˆ separa cada nÃºmero */
}

.whatsapp-menu a:hover {
  background: #1ebe5d;
}

/* BotÃ³n principal */
.whatsapp-button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none; /* por compatibilidad */
}

/* Elimina contorno en todos los navegadores */
.whatsapp-button:focus,
.whatsapp-button:focus-visible,
.whatsapp-button:active {
  outline: none !important;
  box-shadow: none !important;
}

.whatsapp-button img {
  width: 60px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  display: block;            /* evita espacios raros */
}






/* FOOTER*/

footer {
    background: #23232D;
    color: white;
    padding: 20px 0;
    font-family: Arial, sans-serif;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.footer-section {
    flex: 1;
    margin: 10px;
}
.footer-section h3 {
    border-bottom: 2px solid #E8D187;
    padding-bottom: 5px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.footer-section ul li a:hover {
    color: #E8D187;
}

.contact-item:hover {
  text-decoration: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #E8D187;
}

.socials a {
    color: white;
    margin-right: 10px;
    font-size: 20px;
}
.socials a:hover {
    color: #1E81B0;
}
.footer-bottom {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.no-select {
  user-select: none;     /* evita seleccionar el texto */
  pointer-events: none;  /* evita interacciÃ³n del mouse */
  cursor: default;       /* cursor normal (no de texto) */
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Oculta todos los enlaces excepto "Inicio" en la pÃ¡gina de contacto */
.contacto-page .footer-section.links ul li:not(:first-child) {
    display: none;
}