body {
    /*font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    line-height: 1.6;*/

    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;


    color: #222;
    /*    background: linear-gradient(120deg, #78a4ad 0%, #c6e3eb 40%, #ffffff 100%);
        background-attachment: fixed;
        background-size: cover;*/
}

p {
    margin-bottom: 0rem !important;
    font-size: 14pt;
}

#splash-logo {
    max-width: 350px;
}

.navbar-collapse {
    /*background: rgba(255, 255, 255, 0.85) !important;*/
    padding: 5px 5px 5px 5px !important;
    font-size: 10pt !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}


/* Encabezado */

#hero {
    position: relative;
    width: 100%;
    height: 450px;
    /*background: url('/assets/background.png') center center/cover no-repeat; */

    background:
        linear-gradient(rgba(200, 200, 200, 0.5), rgba(255, 255, 255, 0.5)), /* Capa de color */
        url('/assets/background.png') center center/cover no-repeat; /* Tu imagen */

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Capa de oscurecimiento sutil */
.hero-overlay {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 450px;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 0;
    text-align: center;
    color: #fff;
    /*padding: 0 2rem;*/
    max-width: 800px;
    animation: fadeInUp 1.5s ease;
}

/* Título */
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Subtítulo */
.hero-contentAnterior p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 4px 6px 10px rgba(0, 0, 0, 0.8), 9px 12px 15px rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

/* Animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Fin enzabezado */

/* Main ocupa todo el espacio visible */
main {
    /*min-height: 100%;*/
    display: flex;
    flex-direction: column;
    background: none; /* aseguramos que no tape el gradiente */
}

#main-header{
    /*321*/
}

/* Animación del HEADER */
/* Fondo inicial blanco con animación */
.hf-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    z-index: 999;
}


.hf-header.active {
    height: 80px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.85);
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    top: 0;
}


.logo-container img {
    max-width: 350px;
    transition: all 1s ease;
}

.hf-header.active .logo-container img {
    max-width: 200px;
}

.hf-navbar {
    opacity: 0;
    transition: opacity 1s ease;
}

.hf-header.active .hf-navbar {
    opacity: 1;
}

.hf-menu {
    display: flex;
    gap: 2rem;
}

.hf-menu a {
    text-decoration: none;
    font-weight: 500;
    color: #0070b6;
    transition: color 0.3s ease;
}

.hf-menu a:hover {
    color: #00a6f1;
}

/* FIN Animación del HEADER */

.onepage-section {
    width: 100%;
    /*min-height: 100vh; /* ocupa toda la pantalla si querés efecto por sección */
    /*background: linear-gradient(135deg, #0391c9, #3fb6e5);*/
    background: linear-gradient(135deg, #e7f8ff, #f1fbff);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

.card {
    width: 90%;
    background: #fff;
    border-radius: 0.7rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header {
    /*background-color: #0070b6;*/
    /*background: linear-gradient(135deg, #0391c9, #3fb6e5);*/
    background: linear-gradient(181deg, #000000, #1dbfff);
    color: #fff;
    text-align: center;
    padding: 1.2rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.card-body {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
    background: #fff;
    color: #555;
}

.card-text {
    flex: 1 1 60%;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    padding-right: 2rem;
}

.card-image {
    flex: 1 1 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}


.card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    text-align: center;
}

.list-item {
    flex: 1 1 30%;
    max-width: 250px;
}

.list-item img {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 1rem auto;
}

.card-footer {
    text-align: center;
    font-size: 0.95rem;
    color: #868686;
    margin-top: 2rem;
}

/*gráfico de la glicerina*/
#composicion {
    background: linear-gradient(to right, #0391c9, #3fb6e5);
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

.compo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    width: 80%;
    margin: auto;
    /*background-color: #AAA;*/
}

.circle-chart {
    width: 250px;
    height: 250px;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #c9dff3;
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke: #0776a6;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.percentage {
    fill: #0f3c5a;
    font-size: 0.5em;
    text-anchor: middle;
    transform: rotate(90deg);
}

.chart-title {
    display: block;
    margin-top: 1rem;
    color: #0f3c5a;
    font-weight: 600;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
    100% {
        stroke-dasharray: 100 100;
    }
}

.bars {
    flex: 1 1 400px;
    text-align: left;
}

.bar {
    display: grid;
    grid-template-columns: 40% 1fr 10%;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.bar div {
    height: 10px;
    background-color: #0776a6;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.bar div::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: var(--p);
    height: 100%;
    background-color: #0f3c5a;
    border-radius: 5px;
    animation: fillBar 1.5s ease-in-out forwards;
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: var(--p);
    }
}


/* Botón */
.btn-rse {
    display: inline-block;
    background-color: #fff;
    border: 2px solid #0070b6;
    color: #0070b6;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-rse:hover {
    background-color: #0070b6;
    color: #fff;
    transform: scale(1.05);
}


/* Separadores de secciones */

.separador-sombra {
    /* Define la altura y el ancho del separador */
    height: 10px;
    width: 80%; /* Ocupa el 80% del ancho del contenedor */
    margin: 40px auto; /* Centrado y con margen vertical para separar */
    background: #f8f9fa; /* Color de fondo muy claro (gris de Bootstrap) */
    border-radius: 5px; /* Bordes ligeramente redondeados */
    /* La clave: una sombra interior (inset) sutil */
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
}

.separador {
    height: 2px;
    width: 100%;
    margin: 50px 0;
    scroll-margin-top: 90px;
    /* La clave: Gradiente lineal que va de un color a transparente y viceversa */
    background: linear-gradient(
        to right,
        transparent, /* Inicia transparente */
        #007bff, /* Color principal de Bootstrap */
        transparent /* Termina transparente */
        );
}

.separador-ola {
    position: relative;
    width: 100%;
    height: 20px; /* Altura del contenedor, ajusta según el efecto deseado */
    margin: 60px 0; /* Margen para separación */
    overflow: hidden; /* Importante para que las curvas no se salgan */
}

.separador-ola::before,
.separador-ola::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 10px; /* Altura de la curva */
    background: linear-gradient(to right, transparent, #007bff, #0056b3, transparent); /* Gradiente de color */
}

.separador-ola::before {
    top: 0;
    border-radius: 0 0 50% 50% / 0 0 100% 100%; /* Curva inferior */
    opacity: 0.7; /* Ligeramente transparente */
}

.separador-ola::after {
    bottom: 0;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0; /* Curva superior */
    opacity: 0.7;
}

/* Puedes añadir un sutil gradiente al contenedor principal para un efecto de "sombra" entre las curvas */
.separador-ola {
    background: linear-gradient(to right, transparent, rgba(0, 123, 255, 0.1), transparent);
}

.separador-radial-difuminado {
    height: 3px; /* Altura del separador */
    width: 90%; /* Ancho, ajusta según prefieras */
    margin: 50px auto; /* Centrado y con margen */
    background: radial-gradient(
        ellipse at center, /* Forma elíptica en el centro */
        #007bff 0%, /* Color principal al inicio */
        rgba(0, 123, 255, 0.5) 40%, /* Color con transparencia */
        transparent 70%, /* Empieza a ser transparente */
        transparent 100% /* Totalmente transparente al final */
        );
    /* Un sutil box-shadow para darle más profundidad, si se desea */
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

.separador-linea-doble {
    height: 10px; /* Altura total del separador */
    width: 80%;
    margin: 20px auto;
    display: flex; /* Para posicionar las líneas internas */
    flex-direction: column;
    justify-content: space-between; /* Espacio entre las líneas */
}

.separador-linea-doble::before,
.separador-linea-doble::after {
    content: '';
    display: block;
    height: 1px; /* Altura de cada línea */
    width: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 123, 255, 0.7), /* Un color azul semi-transparente */
        transparent
        );
}

/* Si quieres que la línea de arriba sea un poco más oscura o diferente */
.separador-linea-doble::before {
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 95, 185, 0.8), /* Azul más oscuro */
        transparent
        );
}


/*
 * 1. Contenedor de las Tarjetas (Asegura el layout flexible)
 */
.contact-cards-grid {
    display: flex;
    flex-wrap: wrap; /* Las tarjetas se envuelven a la siguiente línea */
    gap: 20px; /* Espacio entre las tarjetas */
    margin-top: 30px; /* Separación del texto de introducción */
}

/*
 * 2. Estilos de la Tarjeta Individual (Optimizado para el espacio de la columna 7)
 */
.contact-card-inline {
    /* Por defecto, en móvil ocupan el 100% (una columna) */
    width: 100%;

    display: flex;
    align-items: flex-start;
    padding: 15px;

    /* Mantenemos el estilo moderno y elegante */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #007bff; /* Detalle de color en el borde izquierdo */
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-card-inline:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/*
 * 3. Estilos de los Componentes
 */
.contact-card-inline img {
    width: 30px; /* Íconos un poco más pequeños para este layout */
    height: 30px;
    margin-right: 12px;
    flex-shrink: 0;
}

.card-text-inline h3 {
    font-size: 1.1rem; /* Títulos ligeramente reducidos */
    font-weight: 700;
    color: #007bff; /* Usamos el color de acento aquí */
    margin-top: 0;
    margin-bottom: 3px;
    line-height: 1.2;
}

.card-text-inline p {
    font-size: 0.85rem; /* Texto más pequeño */
    font-weight: 400;
    color: #6c757d;
    line-height: 1.3;
    margin-bottom: 0;
}


/* Pie de redes */
/*
 * 1. Contenedor Grid (Hace el layout horizontal y envuelve)
 */
.contact-grid-container {
    display: flex;
    flex-wrap: wrap; /* Esencial para que se coloquen en filas */
    gap: 15px; /* Espacio horizontal y vertical entre los ítems */
    padding: 10px;
    border-radius: 8px;
    /* Un fondo sutil para agrupar visualmente la sección */
    background-color: #f8f9fa;
}

/*
 * 2. Estilo de cada Ítem de Contacto
 */
.contact-grid-item {
    /* Por defecto, en escritorio, se dividen en 2 o 3 columnas */


    width: calc(33.33% - 10px);
    max-width: 200px; /* Limita el ancho máximo en pantallas grandes */

    /* Flexbox para alinear el ícono y el texto */
    display: flex;
    align-items: center;

    padding: 10px 12px;
    background-color: #ffffff; /* Fondo blanco para destacar */
    border-radius: 6px;
    text-decoration: none; /* Quitamos el subrayado del enlace */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Sombra muy suave */
    transition: all 0.2s ease;
}

.contact-grid-item:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    border-color: #007bff; /* Destaca el borde al pasar el ratón */
}

/*
 * 3. Estilos de Tipografía (Reducidos para ahorrar espacio)
 */
.contact-icon {
    width: 25px; /* Íconos más pequeños */
    height: 25px;
    margin-right: 10px;
}

.contact-text h6 {
    font-size: 0.85rem; /* Título pequeño y enfocado */
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0px; /* Reducimos el espacio vertical */
    line-height: 1.2;
}

.contact-text p {
    font-size: 0.7rem; /* Texto de descripción muy pequeño */
    margin-bottom: 0;
    line-height: 1.2;
    white-space: nowrap; /* Evita que el texto se rompa si es corto */
    overflow: hidden;
    text-overflow: ellipsis; /* Añade puntos suspensivos si se desborda */
}


/* Cuadro empresas proveedoras */
/* Estilo específico para el nuevo separador con fondo de imagen */
.separador-con-fondo {
    background-image: url('/assets/empresas/logosfondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 1rem;
    color: white; /* Asegura que el texto sea legible sobre la imagen */
    position: relative;
}
/* Overlay oscuro para mejorar la legibilidad del título */
.separador-con-fondo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* 50% de opacidad negra */
}
/* Asegura que el contenido esté sobre el overlay */
.separador-con-fondo > * {
    position: relative;
    z-index: 10;
}
/* Estilo para los logos */
.logo-img {
    max-height: 280px;
    width: auto;
    filter: brightness(0) invert(1); /* Pone los logos en blanco para que contrasten con el fondo */
    opacity: 0.8;
    transition: opacity 0.3s;
}
.logo-img:hover {
    opacity: 1;
}


/* Asegura que la imagen dentro del modal no se salga */
.modal-content-custom img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
}

/* Contenedor principal */
.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Cada ítem */
.social-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    min-width: 250px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.social-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Texto */
.social-text h6 {
    font-size: 1rem;
    color: #0070b6;
    font-weight: 600;
    margin: 0;
}

.social-text p {
    font-size: 0.9rem;
    color: #666;
}

/* Contenedor flexible para los logos ISO */
.iso-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* separación entre logos */
    margin-top: 1.5rem;
    flex-wrap: wrap; /* permite que bajen si hay poco espacio */
}

/* Imágenes */
.iso-logos img {
    max-width: 180px;
    height: auto;
    transition: all 0.3s ease;
}





/* Responsivo */
@media (max-width: 767px) {


  .navbar-collapse {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #cbe4ee; 
    padding: 5px 5px 0px 10px !important;
    border: 2px solid #0080C0;
    border-radius: 10px 10px 10px 10px;
  }    
  .navbar-nav .nav-link {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .navbar-nav .nav-item {
    margin-bottom: 2px;
    height: 10px !important;
  }

  .navbar-nav .nav-link p {
    font-size: 0.95rem;
  }
    .iso-logos {
        gap: 1rem;
    }

    .iso-logos img {
        max-width: 120px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
    .social-item {
        width: 100%;
    }

    .social-text{
        font-size: 0.5rem;
        color: #666;
    }

    .card {
        width: 95%;
        background: #fff;
        border-radius: 0.7rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .card-body {
        flex-direction: column;
    }
    .card-text, .card-image {
        flex: 1 1 100%;
        padding-right: 0;
    }
    .card-image {
        margin-top: 1.5rem;
    }

    .contact-card-inline {
        /* Para que quepan dos tarjetas en una fila, ajustamos el ancho */
        width: calc(100% - 0px); /* 50% menos la mitad del 'gap' */
        max-width: 100%;
    }

    .contact-grid-item {
        width: 100%; /* Ocupa todo el ancho en móviles, creando una lista vertical */
    }

    #splash-logo {
        max-width: 250px;
    }

}
