/* 🔄 RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

/* 🌐 BODY */
body {
    background: linear-gradient(135deg, #e6f0fa, #f9fbfd);
    color: #1a2a40; /* Azul oscuro para texto */
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

/* 🔥 Scroll suave */
html {
    scroll-behavior: smooth;
}

/* 🔝 HEADER */
.header {
    position: relative;
}

/* 🧭 NAVBAR con degradado */
.navbar {
    position: fixed;    
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    height: 60px;
    z-index: 1000;
    background: linear-gradient(135deg, #ffffff, #f0f6ff);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: linear-gradient(135deg, #e6f0fa, #ffffff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 🖼️ LOGO con fondo degradado */
.logo img {
    height: 100px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    padding: 5px;
}

/* 📋 MENÚ */
.menu {
    list-style: none;
    display: flex;
    gap: 30px;
}
.menu a {
    text-decoration: none;
    color: #1a2a40;
    font-weight: 600;
    transition: 0.3s;
}
.menu a:hover {
    color: #3b82f6;
}

/* 🎯 HERO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
}

/* 🎥 VIDEO */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* 🔥 Overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        rgba(240, 245, 255, 0.9)
    );
    z-index: -1;
}

/* 🎬 SLIDER */
.slider {
    position: absolute;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.slide.active {
    opacity: 1;
}

/* 🎯 CONTENIDO */
.slide .content {
    position: absolute;
    z-index: 2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 🔥 TITULOS */
.slide h2 {
    font-size: 55px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #1a2a40, #3b82f6, #60a5fa);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientSlide 8s ease infinite;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.slide p {
    margin-top: 10px;
    font-size: 18px;
    color: #1a2a40;
}

/* 🔘 BOTONES SLIDER */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #1a2a40;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 5;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.1);
}
.prev { left: 20px; }
.next { right: 20px; }

/* 🔘 BOTONES */
button {
    padding: 12px 25px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: 0.3s;
}
button:hover {
    transform: translateY(-2px);
}

/* 🧠 NOSOTROS */
/* 🧠 NOSOTROS - Estilo tarjeta de cristal */
.nosotros {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff, #f0f4ff); /* Fondo blanco degradado */
}

.nosotros-container {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.25); /* Fondo translúcido tipo cristal */
    backdrop-filter: blur(15px); /* Efecto de desenfoque */
    border-radius: 25px; /* Bordes redondeados */
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Sombra suave */
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3); /* Borde sutil para efecto cristal */
    transition: transform 0.3s ease;
}

.nosotros-container:hover {
    transform: translateY(-5px); /* Ligero efecto hover */
}

.nosotros h2 {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a2a40, #3b82f6); /* Título degradado azul */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nosotros p {
    font-size: 18px;
    color: #1a2a40; /* Azul oscuro para texto */
    line-height: 1.8;
}

/* 📞 CONTACTO */
/* 📞 CONTACTO con fondo de imagen */
.contacto {
    min-height: 80vh;
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2)), /* Degradado oscuro a transparente */
        url('img/pesqueria.jpg') no-repeat center center; /* Imagen de fondo */
    background-size: cover; /* La imagen cubre toda la sección */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    position: relative;
    color: white; /* Texto claro */
}

/* 🔥 Overlay oscuro para que el texto resalte */
.contacto::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* Capa semitransparente negra */
    z-index: 0;
}

/* Contenedor y elementos encima del overlay */
.contacto-container {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1; /* Sobre el overlay */
}

/* 🗺️ MAPA */
.mapa-box iframe {
    width: 600px;
    height: 450px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* 📲 REDES */
.redes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 🔘 BOTONES REDES */
.btn {
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.btn:hover {
    transform: translateY(-2px);
}
.whatsapp { background: linear-gradient(135deg, #8ad325, hsl(172, 73%, 43%)); }
.insta { background: linear-gradient(135deg, #f63bbe, #9660fa); }
.fb { background: linear-gradient(135deg, #007fe1, #1c1cdf); }

/* 📍 SCROLL */
#nosotros {
    scroll-margin-top: 80px;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .menu { gap: 15px; font-size: 14px; }
    .slide h2 { font-size: 38px; }
    .contacto-container { flex-direction: column; }
    .mapa-box iframe { width: 100%; }
}
/* 🏢 CLIENTES */
.clientes {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f0f4ff);
}

.clientes h2 {
    font-size: 36px;
    margin-bottom: 40px;

    background: linear-gradient(135deg, #1a2a40, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* GRID LOGOS */
.logos {
   
   
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 140px)); /* tamaño fijo */
    justify-content: center; /* 👈 centra TODO el grid */
    gap: 40px;

}

/* LOGOS */
.logos img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.7;

    transition: 0.3s;

    display: block;
    margin: 0 auto; /* 👈 centra cada imagen */

}

/* HOVER */
.logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
/* 🔻 FOOTER GRIS PREMIUM */
/* 🔻 FOOTER AZUL CORPORATIVO COMPACTO */
.footer {
    background: linear-gradient(135deg, #4f8fdc, #3b82f6, #60a5fa);
    background-size: 200% 200%;
    animation: footerGradient 10s ease infinite;

    color: white;
    padding: 12px 40px; /* 👈 compacto */
    position: relative;
    overflow: hidden;
}

/* ✨ DIFUMINADO */
.footer::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.12);
    top: -120px;
    left: -120px;
    border-radius: 50%;
    filter: blur(100px);
}

.footer::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.08);
    bottom: -120px;
    right: -120px;
    border-radius: 50%;
    filter: blur(120px);
}

/* CONTENEDOR */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;

    position: relative;
    z-index: 1;
}

/* IZQUIERDA (LOGO + TEXTO EN LÍNEA) */
.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-left img {
    height: 100px; /* 👈 más compacto */
    margin: 0;
}

.footer-left p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}

/* CENTRO */
.footer-center a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.9;
}

.footer-center a:hover {
    text-decoration: underline;
}

/* DERECHA */
.footer-right {
    text-align: right;
}

.footer-right p {
    margin: 0 0 5px 0;
    font-size: 13px;
}

/* ICONOS */
.socials {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.socials a {
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.socials a:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

/* 🔄 ANIMACIÓN */
@keyframes footerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-left {
        flex-direction: column;
    }

    .footer-right {
        text-align: center;
    }

    .socials {
        justify-content: center;
    }
}
/* 📩 SECCIÓN COTIZACIÓN */
.cotizacion {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff, #f0f4ff);
}

.cotizacion-container {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* TEXTO */
.cotizacion-info {
    max-width: 400px;
}

.cotizacion-info h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #1a2a40;
}

.cotizacion-info p {
    font-size: 18px;
    color: #64748b;
}

/* FORM */
.formulario {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 400px;
}

/* INPUTS */
.formulario input,
.formulario textarea {
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #f1f5f9;
    font-size: 14px;
    outline: none;
}

/* TEXTAREA */
.formulario textarea {
    min-height: 100px;
    resize: none;
}

/* BOTÓN */
.formulario button {
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.formulario button:hover {
    transform: translateY(-2px);
}
/* 🛠️ PEDIDOS */
.pedidos {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e6f0fa, #f9fbfd);
    display: flex;
    justify-content: center;
}

.pedidos-container {
    max-width: 800px;
    text-align: center;

    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(15px);

    padding: 50px 40px;
    border-radius: 25px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);

    transition: 0.3s;
}

.pedidos-container:hover {
    transform: translateY(-5px);
}

.pedidos h2 {
    font-size: 40px;
    margin-bottom: 20px;

    background: linear-gradient(135deg, #1a2a40, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pedidos p {
    font-size: 18px;
    color: #1a2a40;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* BOTÓN */
.btn-pedidos {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;

    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    text-decoration: none;
    font-weight: bold;

    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    transition: 0.3s;
}

.btn-pedidos:hover {
    transform: translateY(-3px);
}
/* 🛠️ PEDIDOS */
.pedidos {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e6f0fa, #f9fbfd);
    display: flex;
    justify-content: center;
}

.pedidos-container {
    max-width: 900px;
    text-align: center;

    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(15px);

    padding: 50px 40px;
    border-radius: 25px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);

    transition: 0.3s;
}

.pedidos-container:hover {
    transform: translateY(-5px);
}

.pedidos h2 {
    font-size: 40px;
    margin-bottom: 20px;

    background: linear-gradient(135deg, #1a2a40, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* GRID */
.pedidos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* CARD */
.pedido-item {
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);

    padding: 25px;
    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

    transition: 0.3s;
}

.pedido-item:hover {
    transform: translateY(-8px) scale(1.03);
}

/* ICONOS */
.pedido-item i {
    font-size: 35px;
    margin-bottom: 15px;

    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TITULO */
.pedido-item h3 {
    margin-bottom: 10px;
    color: #1a2a40;
}

/* TEXTO */
.pedido-item p {
    font-size: 15px;
    color: #475569;
}

/* BOTÓN */
.btn-pedidos {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 30px;

    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    text-decoration: none;
    font-weight: bold;

    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    transition: 0.3s;
}

.btn-pedidos:hover {
    transform: translateY(-3px);
}#pedidos {
    scroll-margin-top: 80px;
}

/* 🔥 LOADER FINAL PRO */
/* ========================= */

#loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0061fd, #4badf3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* LOGOS ESPARCIDOS */
.loader-logos {
    position: absolute;
    width: 100%;
    height: 100%;
}

.loader-logos img {
    position: absolute;
    width: 110px;
    opacity: 0.15;
    filter: brightness(0) invert(1);
    animation: floatLogos 8s ease-in-out infinite;
}

/* POSICIONES */
.loader-logos img:nth-child(1) { top: 10%; left: 15%; }
.loader-logos img:nth-child(2) { top: 25%; right: 10%; }
.loader-logos img:nth-child(3) { bottom: 20%; left: 10%; }
.loader-logos img:nth-child(4) { top: 60%; right: 20%; }
.loader-logos img:nth-child(5) { bottom: 10%; right: 35%; }
.loader-logos img:nth-child(6) { top: 40%; left: 40%; }

/* VARIACIÓN */
.loader-logos img:nth-child(odd) {
    animation-duration: 10s;
    transform: scale(1.1);
}

.loader-logos img:nth-child(even) {
    animation-duration: 7s;
    transform: scale(0.9);
}

/* ANIMACIÓN */
@keyframes floatLogos {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* CONTENIDO */
.loader-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.loader-content img {
    width: 250px;
}

.loader-content h2 {
    margin-top: 10px;
}

/* OCULTAR */
#loader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .menu { display: none; }
}