/* Variantes y Estilos Adicionales de style16 */

/* Caja de contenido con dos columnas */
.content-box.two-columns { /* Modificador para .content-box */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adaptable */
    gap: 40px;
    margin: 40px 0;
    padding: 0; /* Quitar padding si las columnas internas lo manejan */
    background: none; /* Quitar fondo si las columnas internas lo manejan */
    box-shadow: none; /* Quitar sombra si las columnas internas lo manejan */
    border: none;
}

.content-box.two-columns > div { /* Cada columna */
    /* Aplicar estilos de .content-box si se quiere el mismo aspecto */
     background-color: #fff;
     padding: 30px;
     border-radius: 15px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
     /* ...etc */
}

/* Lista de beneficios (variante de style16) */
/* Ya existe .benefits-list, .benefit-item, .benefit-icon, .benefit-text */
/* Asegurarse de que los estilos sean consistentes o usar modificadores */
.benefits-list.style16 { /* Ejemplo de modificador */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ajustar columnas */
    gap: 25px;
    margin: 30px 0;
}

.benefits-list.style16 .benefit-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Sombra diferente */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    flex-direction: column; /* Icono arriba */
    align-items: center;
}

.benefits-list.style16 .benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.benefits-list.style16 .benefit-icon {
    width: 70px; /* Tamaño diferente */
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px; /* Espacio inferior */
    font-size: 30px; /* Tamaño icono */
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    margin-right: 0; /* Resetear margen */
}

.benefits-list.style16 .benefit-item:hover .benefit-icon {
    background: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

.benefits-list.style16 .benefit-text {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem; /* Tamaño */
}

/* Contenedor de imagen para beneficios */
.benefits-image-container {
    margin-top: 40px; /* Espacio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 350px; /* Altura fija ejemplo */
}

.benefits-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefits-image-container:hover img {
    transform: scale(1.05);
}

/* Imagen con overlay (variante) */
/* .image-with-overlay, .image-caption ya definidos en nutricosmetics.css */
.image-with-overlay.style16 { /* Modificador */
    height: 100%; /* O altura específica */
}

.image-with-overlay.style16 .image-caption span {
    font-size: 1.2em;
    font-weight: 500;
    display: block;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s; /* Delay */
}

.image-with-overlay.style16:hover .image-caption span {
    transform: translateY(0);
    opacity: 1;
}


/* Sección de Servicio (variante) */
.service-section.style16 {
    margin: 80px auto;
    padding: 60px 40px; /* Padding */
    max-width: 1200px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.95), rgba(240, 245, 250, 0.85)); /* Fondo claro */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Grid de Servicios (variante) */
.service-grid.style16 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Columnas */
    gap: 35px; /* Espacio */
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 20px;
}

/* Ítem de Servicio (variante) */
.service-item.style16 {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item.style16::before { /* Línea superior */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-item.style16:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 86, 179, 0.1);
}

.service-item.style16:hover::before {
    transform: scaleX(1);
}

.service-item.style16 .service-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 15px; /* Cuadrado redondeado */
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-item.style16:hover .service-icon {
    background: var(--primary-color);
    transform: scale(1.1) rotate(-5deg);
}

.service-item.style16 .service-icon i {
    font-size: 1.8em;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-item.style16:hover .service-icon i {
    color: white;
}

.service-item.style16 h4 {
    color: var(--primary-dark);
    font-size: 1.4em; /* Ajustado */
    margin-bottom: 15px;
    font-weight: 600;
}

.service-item.style16 p {
    color: var(--grey-color);
    line-height: 1.7; /* Ajustado */
    font-size: 1rem; /* Ajustado */
    margin: 0;
    flex-grow: 1;
}


/* Sección de tabla de productos mejorada */
.products-table-section {
    margin: 60px 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(248,250,252,1) 0%, rgba(240,245,251,1) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.products-table-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23f0f0f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.products-table-section .section-subtitle {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.products-table-section .section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Grid de productos mejorado */
.products-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tarjetas de productos uniformes */
.product-table-item {
    background: rgba(255,255,255,0.98);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.product-table-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-table-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.15);
}

.product-table-item:hover::before {
    transform: scaleX(1);
}

/* Header mejorado con gradiente y efectos */
.product-table-header {
    padding: 28px 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-table-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.product-table-item:hover .product-table-header::before {
    transform: rotate(45deg) scale(1.2);
}

.product-table-header h4 {
    font-size: 1.5rem;
    margin: 0 0 12px 0;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Tag mejorado */
.product-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Contenido principal con layout mejorado */
.product-table-content {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-table-content p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
    text-align: justify;
}

/* Meta información mejorada */
.product-meta {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.meta-item {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.meta-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item strong {
    color: var(--primary-dark);
    font-weight: 700;
    margin-right: 8px;
    min-width: fit-content;
}

/* Efectos de hover para meta items */
.product-table-item:hover .meta-item::before {
    background: var(--secondary-color);
    transform: scale(1.3);
    transition: all 0.3s ease;
}

/* CTA Banner Alternativo 1 */
.cta-banner-alt1 {
    margin: 60px 0;
    padding: 60px 50px; /* Padding */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.2);
}

.cta-banner-alt1::before {
    /* Estilo pattern si existe */
}

.cta-banner-content { /* Contenedor del contenido */
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner-content h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-banner-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 35px; /* Más espacio */
    line-height: 1.7;
}

.cta-banner-content .cta-buttons {
    /* Hereda estilos de .cta-buttons */
}

.cta-banner-content .btn-primary {
    /* Hereda estilos de .btn-primary */
    background: white;
    color: var(--primary-color);
}

.cta-banner-content .btn-outline {
    /* Hereda estilos de .btn-outline */
    border-color: white;
    color: white;
}

/* Layout Two Columns */
.two-columns { /* Clase genérica para layout de dos columnas */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px; /* Espacio ajustado */
    margin: 60px 0; /* Espacio vertical */
    align-items: center;
}

/* Invertir orden opcionalmente con modificador */
.two-columns.reverse > div:first-child { order: 2; }
.two-columns.reverse > div:last-child { order: 1; }


.two-columns .column-text {
    /* Estilos para la columna de texto */
}

.two-columns .column-text h3 { /* Título opcional */
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.two-columns .column-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--grey-color);
}

.two-columns .column-text p:last-child {
    margin-bottom: 0;
}

.two-columns .column-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.two-columns .column-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.two-columns .column-image img:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Caja de Servicio (Service Box) */
.service-box { /* Clase genérica */
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--primary-color);
}

.service-box::before {
    /* Estilo pattern si existe */
}

.service-box h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.service-box p {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--dark-color);
}

.service-box p:last-child {
    margin-bottom: 0;
}

/* Fin de Estilos de style16 */ 