/* =========================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================= */
:root {
    --background: #ffffff;
    --foreground: #1d1d1f;
    --card: #f5f5f7;
    --primary: #79c9d3;    /* Azul claro del logo */
    --secondary: #1d70b8;  /* Azul oscuro del logo */
    --accent: #0071e3;     /* Azul de acción (tipo Apple) */
    --text-muted: #86868b;
    --border: #d2d2d7;
    --bg-dark: #1d1d1f;    /* Fondo para secciones premium */
    
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   TIPOGRAFÍA
   ========================================= */
h1, h2, h3, h4 {
    color: var(--foreground);
    line-height: 1.1;
    font-weight: 600;
    margin-top: 12px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h3 {
    font-size: 2.0rem;
    margin-bottom: 16px;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;
}

.section {
    padding: 120px 0;
}

/* =========================================
   HEADER / NAVEGACIÓN
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-img {
    height: 150px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary);
}

/* =========================================
   BOTONES
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    transform: scale(1.03);
    background-color: var(--accent);
}

.btn-white {
    background-color: white;
    color: var(--foreground);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-parallax {
    height: 90vh;
    min-height: 600px;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)), url('images/IniFrame.webp') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    color: white;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.3rem;
}

/* =========================================
   CARDS Y GRID (Soluciones)
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--card);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.badge {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 20px;
}

/* =========================================
   SECCIÓN HORECA (DESTACADA)
   ========================================= */
.bg-dark {
    background-color: var(--bg-dark);
    color: white;
}

.bg-dark h2 { color: white; }

.flex-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.flex-row > div { flex: 1; }

.glass-bottle-mockup {
    width: 140px;
    height: 350px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 30px 30px 10px 10px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.glass-bottle-mockup::after {
    content: "TU LOGO";
    font-weight: 700;
    opacity: 0.3;
    letter-spacing: 2px;
}

.benefit-list {
    list-style: none;
    margin-top: 30px;
}

.benefit-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
   ANIMACIONES (Fade Up)
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   CONTACTO Y WHATSAPP
   ========================================= */

.contact-info {
    margin-top: 30px;
}

.contact-card {
    background: var(--card);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilos para las secciones de sector detalladas */
.sector-detail {
    padding: 100px 0;
    overflow: hidden;
}

.sector-img {
    width: 100%;
    max-width: 550px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.feature-highlight {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.feature-highlight h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.4rem !important;
}

.benefit-list-v2 {
    list-style: none;
    margin-top: 25px;
}

.benefit-list-v2 li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-weight: 300;
}

.benefit-list-v2 li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.flex-row.reverse {
    flex-direction: row-reverse;
}

/* ==========================================================================
   COMPONENTES: FICHA TÉCNICA Y TABLAS ESPECIFICACIONES
   ========================================================================== */
.tech-card {
    
    border-left: 4px solid var(--accent);
    margin-bottom: 2rem;
    padding: 30px 20px;
    border-radius: 16px;
}

.tech-card-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.tech-card-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.3;
    text-align: left;
}

.tech-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-table tr:last-child {
    border-bottom: none;
}

.tech-label {
    padding: 12px 18px 12px 0;
    vertical-align: top;
    white-space: nowrap;
    color: #ffffff;
    font-weight: 600;
    width: 1%;
}

.tech-value {
    padding: 12px 0 12px 10px;
    vertical-align: top;
    color: rgba(255, 255, 255, 0.85);
}


/* =========================================
RESPONSIVE
========================================= */
@media (max-width: 991px) {
    .grid-3 { grid-template-columns: 1fr; }
    .flex-row { flex-direction: column; text-align: center; gap: 40px; }
    .section { padding: 80px 0; }
    .sector-detail {
        padding: 60px 0;
    }
    .flex-row.reverse {
        flex-direction: column;
    }
    .text-content {
        text-align: center;
        margin-top: 40px;
    }
    .benefit-list-v2 li {
        text-align: left;
    }
}

/* Responsivo para móviles pequeños */
@media (max-width: 480px) {
    .tech-card {
        padding: 20px 15px;
    }
    .tech-table {
        font-size: 0.88rem;
    }
    .tech-label {
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .nav { display: none; } /* En móviles puedes añadir un menú hamburguesa luego */
    .whatsapp-text { display: none; }
    .whatsapp-float { padding: 15px; border-radius: 50%; }
}