* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url('imagenesprin/fodogif.gif') center center no-repeat fixed;
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed;  <-- eliminado por redundancia */
}

.top-bar {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.info-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flag-icon {
    width: 20px;
    height: auto;
    vertical-align: middle;
}

.navbar {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar .logo {
    width: 100px;
    height: auto;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #fff;
    padding: 12px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 18px;
}

.navbar a:hover {
    background-color: #fff;
    color: #000;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 100px;
    position: relative;
}

.hero-content {
    max-width: 500px;
    text-align: center;
}

.logo-hero {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ffd700;
}

.hero p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.hero button {
    background-color: transparent;
    border: 2px solid #fff;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.hero button:hover {
    background-color: #ffd700;
    color: #000;
}

/* Sección blanca de servicios */
.seccion-blanca {
    background-color: #fff;
    color: #000;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contenido-blanco {
    max-width: 1000px;
    text-align: center;
}

.contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: nowrap;
}

.imagen-contenedor {
    position: relative;
    width: 350px;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.imagen-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.imagen-contenedor:hover {
    transform: scale(1.05);
}

.imagen-contenedor:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 20px;
}

.imagen-contenedor:hover .overlay {
    opacity: 1;
}

.overlay h2 {
    margin-bottom: 15px;
    font-size: 20px;
}

.boton-info {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    border-bottom: 2px solid yellow;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

.boton-info:hover {
    background-color: yellow;
    color: black;
}

/* Sección descriptiva con imagen */
.seccion-descriptiva {
    background-color: #fff;
    color: #000;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenido-descriptivo {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.texto-descriptivo {
    flex: 1;
    min-width: 300px;
}

.texto-descriptivo h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
}

.texto-descriptivo p {
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
}

.boton-descriptivo {
    display: inline-block;
    margin-top: 20px;
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.boton-descriptivo:hover {
    background-color: #ffd700;
    color: #000;
    border-color: #ffd700;
}

.imagen-descriptiva {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-descriptiva img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Sección beneficios con íconos en círculo */
.seccion-beneficios {
    background-color: white; /* Fondo blanco como base */
    background-image: url('imagenesprin/servicios.png'); /* Imagen encima del fondo blanco */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* Ajusta el tamaño de la imagen */
    
    color: #000;
    padding: 60px 20px;
    text-align: center;
}

.seccion-beneficios h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.beneficio-item {
    text-align: center;
}

.icono-circulo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    background-color: #f2f2f2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.icono-circulo img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.icono-circulo:hover {
    transform: scale(1.1);
}

.beneficio-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.beneficio-item p {
    font-size: 14px;
    line-height: 1.4;
}

.seccion-contacto {
    background-color: #fff;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.contacto-formulario, .contacto-mapa {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.contacto-formulario h2,
.contacto-mapa h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #000;
}

.contacto-formulario form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-formulario p,
.contacto-mapa p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #000;
}

.contacto-formulario input,
.contacto-formulario textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

.contacto-formulario textarea {
    resize: vertical;
    height: 100px;
}

.contacto-formulario button {
    background-color: #3180c0;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contacto-formulario button:hover {
    /* El color anterior no es válido (#f6fa16e5), se reemplaza por un amarillo semitransparente similar */
    background-color: rgba(246, 250, 22, 0.9);
}

.mapa-contenedor {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.footer-seccion {
    background-color: #111;
    color: #fff;
    padding: 40px 20px 20px 20px;
}

.footer-contenedor {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

.footer-logo {
    flex: 1;
    min-width: 350px;
    text-align: center;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 15px;
}

.social-icons a {
    color: #fff;
    margin: 0 8px;
    font-size: 18px;
    border: 1px solid #fff;
    padding: 6px 8px;
    display: inline-block;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #fff;
    color: #000;
}

.footer-info, .footer-contacto {
    flex: 1;
    min-width: 200px;
}

.footer-info h3,
.footer-contacto h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-info p,
.footer-contacto p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-copy {
    border-top: 1px solid #444;
    text-align: center;
    padding-top: 15px;
    margin-top: 30px;
    font-size: 14px;
}

/* Responsive ajustes generales para móvil */
@media (max-width: 768px) {

    .navbar ul {
        flex-direction: column;
        gap: 10px;
        background-color: rgba(0,0,0,0.8);
        padding: 10px;
    }

    .hero {
        padding-left: 20px;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 90%;
    }

    .logo-hero {
        width: 200px;
    }

    .contenedor {
        flex-wrap: wrap;
        justify-content: center;
    }

    .imagen-contenedor {
        width: 90%;
        height: auto;
    }

    .contenido-descriptivo {
        flex-direction: column;
        gap: 20px;
    }

    .imagen-descriptiva img {
        max-width: 90%;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .seccion-contacto {
        flex-direction: column;
        align-items: center;
    }

    .contacto-formulario,
    .contacto-mapa {
        max-width: 90%;
    }

    .footer-contenedor {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        text-align: center;
    }
}

/* Hamburguesa menus */
.hamburguesa {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

/* Botón hamburguesa visible solo en móvil */
.menu-btn {
    display: none;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 999;
}

.menu-btn p {
    font-size: 12px; /* o el tamaño que prefieras */
    margin: 0;
    padding: 0;
    line-height: 1;
    text-transform: uppercase; /* opcional: pone "menu" en mayúsculas */
    color: white; /* asegúrate de que sea visible */
}

/* Estilo general del menú hamburguesa solo en móvil */
@media (max-width: 768px) {

    .menu-btn {
        display: block;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        padding: 10px;
        border-radius: 8px;
        list-style: none;
        margin: 0;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .navbar ul.activo {
        display: flex;
    }
}

.boton-contacto {
  display: inline-block;
  background-color: transparent;
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.boton-contacto:hover {
  background-color: yellow;
  color: black;
}


.logos-izquierda-fijos {
  background-color: rgba(255,0,0,0.2); /* Fondo rojo transparente */
  border: 1px solid red;
}


.logo-texto {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-texto img {
  height: 40px;
  width: auto;
}

.logo-texto span {
  color: white;
  font-size: 14px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .logos-izquierda-fijos {
    position: static;
    margin: 20px;
  }

  .logo-texto {
    justify-content: flex-start;
  }

  .logo-texto span {
    font-size: 12px;
    padding: 4px 8px;
  }
}

.interes-extra {
    background-color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.interes-extra h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
}

.interes-contenedor {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.interes-item {
    text-align: center;
    max-width: 220px;
}

.circulo-imagen {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    /* Degradado negro y amarillo para el borde */
    background: linear-gradient(135deg, #000000, #FFD700);
    padding: 5px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.circulo-imagen img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.circulo-imagen:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.interes-item p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .interes-contenedor {
    flex-direction: column;
    align-items: center;
  }

  .circulo-imagen {
    width: 140px;
    height: 140px;
  }
}


