body {
    background: #f8f8f5;
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    padding-top: 75px; /* Ajusta según el alto de tu header */
}

header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    min-height: 70px;      /* antes 120px */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 5vw 10px 5vw; /* antes 32px 5vw 20px 5vw */
}

.header-logo img {
    height: 48px !important; /* antes 70px en el HTML */
    max-height: 48px;
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #1a2341;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.05rem;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: #009fc3;
}

main {
    padding: 20px;
}

h1 {
    font-size: 2.5em;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 0.9em;
    }
}

/* HERO idéntico al diseño de referencia */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 40px 8vw 40px 8vw; /* antes 100px arriba, ahora 40px */
    background: #fff;
    min-height: 70vh; /* opcional: menos alto para subir el contenido */
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: #1a2341;
    margin-bottom: 36px;
    font-weight: 600;
    line-height: 1.13;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 22px;
    margin-top: 18px;
}

/* Imagen hero */
.hero-image {
    position: relative;
    flex: 1 1 0;
    max-width: 440px;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 440px;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .hero {
        gap: 40px;
        padding: 60px 4vw 40px 4vw;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        gap: 32px;
        padding: 40px 4vw 32px 4vw;
        min-height: 60vh;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-content h1 {
        text-align: center;
        font-size: 2rem;
    }
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 3vw;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .tarjetas-empresas,
    .galeria-productos,
    .galeria-visual {
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 600px) {
    header {
        min-height: 48px;
        padding: 0 2vw;
    }
    .header-inner {
        padding: 6px 2vw 6px 2vw;
    }
    .header-logo img {
        height: 36px !important;
        max-height: 36px;
    }
    nav ul {
        gap: 4px;
    }
    .hero-content h1 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 18px;
        padding: 18px 2vw 18px 2vw;
        min-height: unset;
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
    }
    .hero-buttons {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    .hero-image {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .hero-image img {
        width: 100%;
        max-width: 340px;
        border-radius: 10px;
    }
    .seccion,
    .fondo-gremio,
    .fondo-servicios,
    .fondo-empresas,
    .fondo-productos,
    .fondo-galeria,
    .fondo-eventos,
    .fondo-historias,
    .fondo-afiliacion,
    .fondo-contacto {
        scroll-margin-top: 56px; /* igual o un poco más que el header en móvil */
    }
    nav ul li a {
        font-size: 0.98rem;
        padding: 6px 0;
    }
}

.btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 30px;
    padding: 12px 36px;
    border: 2px solid #009fc3;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
    margin-right: 12px;
    margin-bottom: 8px;
    display: inline-block;
    min-width: 180px;
    text-align: center;
    text-decoration: none;
}

.btn.primary {
    background: #009fc3;
    color: #fff;
    border: 2px solid #009fc3;
}

.btn.primary:hover {
    background: #007ea1;
    color: #fff;
}

.btn.outline {
    background: #fff;
    color: #009fc3;
    border: 2px solid #009fc3;
}

.btn.outline:hover {
    background: #e6f7fa;
    color: #007ea1;
}

.advisory-section {
    background: #f7f9fc;
    padding: 60px 0 60px 0;
    display: flex;
    justify-content: center;
}

.advisory-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.advisory-content h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: #1a2341;
    margin-bottom: 18px;
    line-height: 1.18;
}

.advisory-content p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #4d5875;
    margin-bottom: 28px;
    line-height: 1.4;
}

.advisory-content .btn.primary {
    min-width: 320px;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 30px;
}

/* Fondo claro y padding para todas las secciones principales */
.seccion,
.fondo-gremio,
.fondo-servicios,
.fondo-empresas,
.fondo-productos,
.fondo-galeria,
.fondo-eventos,
.fondo-historias,
.fondo-afiliacion,
.fondo-contacto {
    background: #f7f9fc;
    padding: 70px 0 40px 0;
    scroll-margin-top: 80px; /* Ajusta según el alto de tu header */
}

/* Contenedor centrado y ancho máximo */
.contenido-seccion {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Títulos grandes y oscuros */
.seccion h2,
.fondo-gremio h2,
.fondo-servicios h2,
.fondo-empresas h2,
.fondo-productos h2,
.fondo-galeria h2,
.fondo-eventos h2,
.fondo-historias h2,
.fondo-afiliacion h2,
.fondo-contacto h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: #1a2341;
    margin-bottom: 24px;
}

/* Párrafos principales */
.seccion p,
.fondo-gremio p,
.fondo-servicios p,
.fondo-empresas p,
.fondo-productos p,
.fondo-galeria p,
.fondo-eventos p,
.fondo-historias p,
.fondo-afiliacion p,
.fondo-contacto p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    color: #223;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Listas de servicios y eventos */
.lista-servicios,
.lista-eventos,
.lista-beneficios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 32px 0 0 0;
}

.lista-servicios li,
.lista-eventos li,
.lista-beneficios li {
    background: none;
    color: #1a2341;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0;
    margin: 0;
    min-width: 260px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lista-servicios i,
.lista-eventos i,
.lista-beneficios i {
    color: #0093b9;
    font-size: 1.3em;
}

/* Tarjetas para empresas, productos, etc. */
.tarjetas-empresas,
.galeria-productos,
.galeria-visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin-top: 24px;
}

.tarjeta {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30,40,90,0.06);
    max-width: 340px;
    width: 100%;
    padding: 0 0 28px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.tarjeta img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    margin-bottom: 0;
}

.tarjeta h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2341;
    margin: 22px 0 10px 0;
}

.tarjeta p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.05rem;
    color: #223;
    margin: 0 18px;
    line-height: 1.4;
}

.tarjeta:hover {
    box-shadow: 0 6px 24px rgba(30,40,90,0.13);
}

/* Galería de productos e imágenes */
.galeria-productos img,
.galeria-visual img {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30,40,90,0.06);
    width: 220px;
    height: 160px;
    object-fit: cover;
    margin-bottom: 0;
    transition: box-shadow 0.2s;
}

.galeria-productos img:hover,
.galeria-visual img:hover {
    box-shadow: 0 6px 24px rgba(30,40,90,0.13);
}

/* Fondo claro y títulos oscuros en contacto */
.fondo-contacto {
    background: #f7f9fc;
    padding: 70px 0 40px 0;
}
.fondo-contacto h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #1a2341;
    font-size: 2.4rem;
    margin-bottom: 28px;
    text-align: center;
    font-weight: 600;
}

/* FORMULARIO CONTACTO ESTILO LIMPIO HORIZONTAL */
.formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #b3bbcd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fff;
    color: #1a2341;
    resize: none;
    transition: border 0.2s;
    height: 48px; /* altura igual para todos */
    min-height: 48px;
    max-height: 48px;
}

.formulario-contacto textarea {
    width: 90vw;
    max-width: 420px;
    height: 34px;
    min-height: 34px;
    max-height: 50px;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    border: 1.5px solid #0093b9;
    outline: none;
}

/* Botón estilo limpio */
.formulario-contacto .btn {
    background: #fff;
    color: #1a2341;
    border: 2px solid #15b6d9;
    border-radius: 25px;
    padding: 10px 32px;
    font-size: 1.18rem;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    margin-left: 5px;
    transition: background 0.13s, color 0.13s;
    box-shadow: none;
}

.formulario-contacto .btn:hover {
    background: #e2f8fd;
    color: #0093b9;
}

/* Info de contacto */
.info-contacto {
    margin-top: 16px;
    color: #1a2341;
    text-align: center;
    font-size: 1.1rem;
}

.info-contacto i {
    color: #0093b9;
    margin-right: 7px;
}

/* Enlaces de contacto */
.info-contacto a,
.info-contacto p {
    color: #1a2341;
    text-decoration: none;
    margin-bottom: 0;
}

/* Mapa responsivo */
.mapa iframe {
    width: 100%;
    min-height: 200px;
    border-radius: 10px;
    margin-top: 16px;
}

.footer-gremio {
    background: #0a3a68;
    color: #fff;
    padding: 38px 0 28px 0;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
}

.footer-gremio .footer-contenido {
    max-width: 700px;
    margin: 0 auto;
}

.footer-gremio a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-gremio a:hover {
    color: #ffd600;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9999;
    display: block;
    width: 62px;
    height: 62px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    border-radius: 50%;
    transition: transform 0.15s;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 0 4px #fff;
}

.whatsapp-float:hover {
    transform: scale(1.07);
}

@media (max-width: 900px) {
    .formulario-contacto {
        flex-direction: column;
        gap: 10px;
    }
    .formulario-contacto input,
    .formulario-contacto textarea {
        width: 90vw;
        max-width: 420px;
    }
    .formulario-contacto textarea {
        width: 90vw;
        max-width: 420px;
    }
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    z-index: 200;
}
.menu-toggle span {
    height: 4px;
    width: 100%;
    background: #1a2341;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsive: mostrar hamburguesa y ocultar menú */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        box-shadow: 0 2px 12px rgba(30,40,90,0.06);
        padding: 18px 0 18px 0;
        z-index: 150;
        gap: 0;
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        text-align: left;
        padding: 12px 24px;
    }
    nav ul li a {
        font-size: 1.1rem;
        color: #1a2341;
        width: 100%;
        display: block;
    }
}

#afiliacion .btn {
    margin-top: 32px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}