/* ============================================================
   ESTILOS - ACEITE DE PALMA ALTO OLEICO (OxG)
   ============================================================ */

/* --- VARIABLES DE COLOR --- */
:root {
    --naranja-palma: #f77a3d;
    --naranja-oscuro: #e0662a;
    --naranja-claro: #fff0e8;
    --text-dark: #2c3e50;
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fcfcfc;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- HERO BANNER --- */
.hero-banner {
    position: relative;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: #000;
}

.hero-banner iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: none;
    opacity: 0.6;
    pointer-events: none;
}

.hero-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-banner .content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 2rem;
}

.hero-banner h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 5rem);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
}

.hero-banner p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #f1f1f1;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- BOTONES --- */
.btn-hero {
    background-color: var(--naranja-palma);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(247, 122, 61, 0.4);
    text-decoration: none;
}
.btn-hero:hover {
    background-color: var(--naranja-oscuro);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(247, 122, 61, 0.6);
    color: white;
}

.btn-tech-toggle {
    background-color: transparent;
    border: 2px solid var(--naranja-palma);
    color: var(--naranja-palma);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-tech-toggle:hover,
.btn-tech-toggle[aria-expanded="true"] {
    background-color: var(--naranja-palma);
    color: white;
}
.btn-tech-toggle i {
    transition: transform 0.3s;
}
.btn-tech-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* --- SECCIONES GENERALES --- */
section {
    padding: 6rem 0;
}

h2.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--naranja-palma);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--naranja-palma);
    margin-top: 10px;
    border-radius: 2px;
}

.bg-light {
    background-color: var(--naranja-claro) !important;
}

/* --- BADGES --- */
.badge-natural {
    background-color: var(--naranja-palma);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.badge-naranja {
    background: var(--naranja-palma);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- DESCRIPCIÓN DEL PRODUCTO --- */
.product-description {
    background: linear-gradient(135deg, #fff5ee 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border-left: 5px solid var(--naranja-palma);
}

.product-description ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f0ebe8;
}
.product-description ul li:last-child {
    border-bottom: none;
}
.product-description ul li i {
    color: var(--naranja-palma);
    margin-right: 10px;
}

/* --- TARJETAS DE BENEFICIOS --- */
.beneficio-item {
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #f0ebe8;
    transition: all 0.3s ease;
    height: 100%;
}
.beneficio-item:hover {
    border-color: var(--naranja-palma);
    box-shadow: 0 8px 25px rgba(247, 122, 61, 0.12);
    transform: translateY(-3px);
}
.beneficio-item i {
    font-size: 2.2rem;
    color: var(--naranja-palma);
    margin-bottom: 0.75rem;
}
.beneficio-item h6 {
    font-weight: 600;
    color: #333;
}
.beneficio-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* --- TARJETAS DE APLICACIONES --- */
.hover-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}
.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-bottom: 4px solid var(--naranja-palma);
}
.hover-card i {
    font-size: 3rem;
    color: var(--naranja-palma);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}
.hover-card:hover i {
    transform: scale(1.1) rotate(5deg);
}
.hover-card h5 {
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}
.hover-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.app-item {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid #f0ebe8;
    height: 100%;
}
.app-item:hover {
    box-shadow: 0 8px 25px rgba(247, 122, 61, 0.15);
    border-color: var(--naranja-palma);
    transform: translateY(-3px);
}
.app-item i {
    font-size: 1.8rem;
    color: var(--naranja-palma);
    margin-bottom: 0.75rem;
}
.app-item h6 {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}
.app-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* --- SECCIÓN TÉCNICA --- */
.tech-section {
    background-color: var(--naranja-claro);
    border-radius: 20px;
    padding: 3rem;
    border-left: 4px solid var(--naranja-palma);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.tech-section h4 {
    color: var(--naranja-palma) !important;
}

.table-custom th {
    background-color: var(--naranja-palma);
    color: white;
    font-weight: 600;
    border: none;
}
.table-custom td {
    background-color: white;
    border-bottom: 1px solid #eee;
    color: #555;
    vertical-align: middle;
}
.table-custom td:nth-child(2) {
    color: var(--naranja-palma);
    font-weight: 600;
}
.table-custom tr:last-child td {
    border-bottom: none;
}

.table-custom th:nth-child(2),
.table-custom td:nth-child(2) {
    min-width: 120px;
}

/* --- IMAGEN PRODUCTO --- */
.product-img-main {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    max-height: 500px;
    object-fit: contain;
}
.product-img-main:hover {
    transform: scale(1.02);
}

/* --- TARJETAS DE PRESENTACIÓN --- */
.border-start.border-5.border-warning {
    border-color: var(--naranja-palma) !important;
}
.border-start.border-5.border-warning h5 {
    color: var(--naranja-palma) !important;
}
.border-start.border-5.border-warning i {
    color: var(--naranja-palma) !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 4rem 0;
    }
    .product-description {
        padding: 1.5rem;
    }
    .tech-section {
        padding: 1.5rem;
    }
    .table-custom {
        font-size: 0.85rem;
    }
}