/* ==========================================================================
   SISTEMA DE DISEÑO Y VARIABLES (COLORES, TIPOGRAFÍAS, MEDIDAS)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #070709;
    --bg-card: rgba(15, 15, 18, 0.35);
    --bg-card-hover: rgba(25, 25, 30, 0.55);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 126, 64, 0.25);
    
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Warm fire gradients */
    --primary-gradient: linear-gradient(135deg, #ff7e40 0%, #ff4b1f 100%);
    --primary-color: #ff5e2b;
    --primary-glow: rgba(255, 94, 43, 0.15);
    --primary-glow-strong: rgba(255, 94, 43, 0.35);
    --secondary-color: #eab308; /* warm gold */
    --secondary-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Background dynamic overlay opacity */
    --bg-overlay-opacity: 0.92;
}

/* ==========================================================================
   RESETEO DE ESTILOS Y BASE GLOBAL (ELEMENTOS BÁSICOS, CUERPO, FUENTES)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-image: url('images/fire_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Capa de superposición oscura sobre el fondo para garantizar la perfecta legibilidad del texto.
   La opacidad se ajusta dinámicamente mediante JavaScript en función del scroll. */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 10, var(--bg-overlay-opacity));
    z-index: -1;
    pointer-events: none;
    transition: background-color 0.2s ease-out;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   COMPONENTES REUTILIZABLES Y UTILIDADES (BOTONES, TARJETAS DE VIDRIO)
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow-strong);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--primary-glow);
}

/* Section Header styling */
.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* ==========================================================================
   CABECERA Y MENÚ DE NAVEGACIÓN (STICKY HEADER, LOGOTIPO, MENÚ MÓVIL)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(7, 7, 9, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.main-header.scrolled {
    height: 70px;
    background: rgba(7, 7, 9, 0.75);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 94, 43, 0.15));
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Open state for toggle */
.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(11, 11, 13, 0.98);
    backdrop-filter: blur(25px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-nav .btn {
    margin-top: 16px;
    width: 220px;
}

/* ==========================================================================
   SECCIÓN DE BIENVENIDA / HÉROE (HERO SECTION CON IMAGEN DE FONDO)
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: radial-gradient(circle at 80% 30%, rgba(255, 94, 43, 0.08) 0%, transparent 50%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle at 10% 80%, rgba(234, 179, 8, 0.04) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    margin-bottom: 16px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 40%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    padding: 12px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.02);
    overflow: visible;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: calc(var(--border-radius-lg) - 10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    bottom: 28px;
    left: -20px;
    background: rgba(11, 11, 13, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(34, 197, 94, 0.3); /* green border tint */
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(34, 197, 94, 0.1);
    animation: float 4s infinite ease-in-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #4ade80; /* bright green */
}

/* ==========================================================================
   SECCIÓN DE CARACTERÍSTICAS Y BENEFICIOS CLAVE
   ========================================================================== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 25, 0.3) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: left;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(255, 94, 43, 0.2));
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   CATÁLOGO DE PRODUCTOS (GRID DE TARJETAS Y FILTROS CATEGORÍAS)
   ========================================================================== */
.catalog-section {
    padding: 100px 0;
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.product-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-sm);
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.spec-item {
    display: flex;
    align-items: center;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* =style active transitions */
.product-card.hidden {
    display: none;
}

/* ==========================================================================
   CÓMO FUNCIONA / SEGURIDAD Y FÓRMULA DE COMBUSTIÓN
   ========================================================================== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 25, 0.4) 50%, transparent 100%);
}

.how-container-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.step-item {
    display: flex;
    gap: 20px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.step-text h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.step-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.combustion-info-card {
    padding: 40px;
}

.combustion-info-card h3 {
    margin-bottom: 24px;
    font-size: 1.4rem;
}

.combustion-formula {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 24px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-md);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.03);
    flex-wrap: wrap;
}

.formula-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.formula-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.formula-value {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.formula-element.highlight .formula-value {
    color: var(--secondary-color);
}

.formula-plus, .formula-arrow {
    color: var(--text-muted);
    font-weight: 700;
}

.combustion-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-left: 2px solid var(--primary-color);
    padding-left: 16px;
}

/* ==========================================================================
   SECCIÓN DE PREGUNTAS FRECUENTES (FAQ ACORDEÓN INTERACTIVO)
   ========================================================================== */
.faq-section {
    padding: 100px 0;
}

.faq-accordion-wrapper {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform var(--transition-smooth);
    color: var(--text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--border-color-hover);
    background: var(--bg-card);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 24px;
    transition: max-height 0.5s ease-in, padding 0.4s ease;
}

/* ==========================================================================
   FORMULARIO DE COTIZACIÓN Y DATOS DE CONTACTO (CTA WHATSAPP)
   ========================================================================== */
.quote-section {
    padding: 100px 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 94, 43, 0.05) 0%, transparent 40%);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(18, 18, 22, 0.45) 0%, rgba(7, 7, 9, 0.65) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.quote-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: radial-gradient(circle at 0% 0%, rgba(234, 179, 8, 0.05) 0%, transparent 45%);
}

.quote-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote-text {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.quote-contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
}

.contact-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.quote-form-container {
    padding: 60px;
    background: rgba(0, 0, 0, 0.15);
    border-left: 1px solid var(--border-color);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(255, 94, 43, 0.1);
}

/* Custom styling for select option text dropdowns in dark theme */
.form-group select option {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

/* ==========================================================================
   SECCIÓN DE VENTA DE BIOETANOL (FORMATOS Y PRECIOS)
   ========================================================================== */
.bioetanol-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 25, 0.3) 50%, transparent 100%);
}

.bioetanol-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: stretch;
}

.bioetanol-info-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bioetanol-info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.bioetanol-benefits-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bioetanol-benefits-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-bullet {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bioetanol-benefits-list h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.bioetanol-benefits-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.bioetanol-pricing-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bioetanol-pricing-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.bioetanol-pricing-card.featured {
    border-color: var(--primary-color);
    background: rgba(255, 94, 43, 0.04);
}

.bioetanol-pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.pricing-header {
    margin-bottom: 12px;
}

.format-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.format-tag.highlighted {
    color: var(--secondary-color);
}

.bioetanol-pricing-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 8px 0 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.bioetanol-pricing-card .btn {
    margin-top: auto;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER Y DATOS SOCIALES / LEGALES)
   ========================================================================== */
.main-footer {
    background: #060608;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==========================================================================
   ANIMACIONES, TRANSICIONES Y EFECTOS VISUALES
   ========================================================================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px var(--primary-color));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 15px rgba(255, 94, 43, 0.6));
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Scroll Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }

/* ==========================================================================
   DISEÑO ADAPTABLE A DISPOSITIVOS MÓVILES (MEDIA QUERIES RESPONSIVAS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-container {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .floating-badge {
        left: 10px;
        bottom: -15px;
    }
    
    .quote-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-form-container {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .bioetanol-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .how-container-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quote-info, .quote-form-container {
        padding: 40px 24px;
    }
}

/* ==========================================================================
   WIDGET DEL CHATBOT INTERACTIVO (ASISTENTE VIRTUAL)
   ========================================================================== */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform var(--transition-smooth), filter var(--transition-fast);
}

.chatbot-toggle:hover {
    transform: scale(1.08) rotate(5deg);
    filter: brightness(1.1);
}

.chatbot-toggle-icon {
    font-size: 1.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.4;
    z-index: -1;
    animation: chatbot-pulse 2s infinite ease-out;
}

@keyframes chatbot-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 480px;
    background: rgba(18, 18, 22, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1001;
}

.chatbot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 94, 43, 0.15) 0%, rgba(234, 179, 8, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.avatar-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border: 1.5px solid #121214;
    border-radius: 50%;
}

.chatbot-assistant-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.chatbot-assistant-status {
    font-size: 0.72rem;
    color: #22c55e;
    font-weight: 500;
    display: block;
    margin-top: 1px;
}

.chatbot-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-fast);
}

.chatbot-close-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.chatbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

/* Scrollbar personalizado */
.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}
.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.45;
    word-wrap: break-word;
    animation: msg-appear 0.3s ease forwards;
}

@keyframes msg-appear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg.bot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-msg.user {
    background: var(--primary-gradient);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chatbot-options-container {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chatbot-opt-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 9px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
    display: block;
    width: 100%;
}

.chatbot-opt-btn:hover {
    background: rgba(255, 94, 43, 0.08);
    border-color: var(--primary-color);
    color: var(--text-primary);
    padding-left: 18px;
}

/* Responsividad para móviles */
@media (max-width: 480px) {
    .chatbot-widget {
        bottom: 20px;
        right: 20px;
    }
    .chatbot-window {
        position: fixed;
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
        height: calc(100vh - 100px);
    }
}
