/*
Theme Name: Grupo Triada Theme
Theme URI: https://grupotriada.com.ar
Author: Grupo Triada S.R.L.
Author URI: https://grupotriada.com.ar
Description: Tema corporativo a medida B2B para Grupo Triada.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: grupo-triada
*/

/* ========================================================
   SISTEMA DE DISEÑO INSTITUCIONAL B2B (FULL RESPONSIVE)
   ======================================================== */
:root {
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #090C12;
    --bg-dark-surface: #121722;

    /* BOTONES NEGROS SOBRIOS */
    --btn-black: #0F172A;
    --btn-black-hover: #1E293B;

    /* VERDE WHATSAPP OFICIAL */
    --brand-whatsapp: #25D366;
    --brand-whatsapp-hover: #1DA851;

    /* VIOLETA DE MARCA */
    --brand-purple: #995E9D;
    --brand-purple-dark: #7D4D80;
    --brand-purple-light: #FAF7FB;

    /* CELESTE / VERDE AGUA TÉCNICO (CAS & DOCUMENTOS) */
    --brand-teal: #8FC9C9;
    --brand-teal-dark: #2D6A6A;
    --brand-teal-light: #F4FBFB;

    /* AMARILLO / DORADO MARCA (TAGS INDUSTRIAS) */
    --brand-gold: #F6C885;

    /* TEXTOS Y TIPOGRAFÍA */
    --text-dark: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --eyebrow-color: #64748B;

    --border-light: #EEF2F6;
    --border-dark: rgba(255, 255, 255, 0.10);

    --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-pro: 10px;
    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 6px 20px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* TEXTURA AMBIENTAL LUXURY */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(153, 94, 157, 0.025), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(143, 201, 201, 0.02), transparent 45%);
    pointer-events: none;
    z-index: -1;
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

/* EYEBROW MINIMALISTA */
.eyebrow {
    font-size: 0.75rem;
    color: var(--eyebrow-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    margin-bottom: 12px;
    display: block;
}

.hero-banner .eyebrow,
.tech-section .eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.section-header { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.section-header h2 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; color: var(--text-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

/* BOTONES DE ACCIÓN */
.btn-hero-purple {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    height: 48px;
    line-height: 48px;
    padding: 0 30px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}
.btn-hero-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(153, 94, 157, 0.28);
}

.btn-primary {
    display: inline-block;
    background-color: var(--btn-black);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    height: 46px;
    line-height: 44px;
    padding: 0 28px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--btn-black);
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: var(--btn-black-hover);
    border-color: var(--btn-black-hover);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    background-color: #FFFFFF;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    height: 46px;
    line-height: 44px;
    padding: 0 28px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}
.btn-secondary:hover {
    border-color: var(--btn-black);
    color: var(--btn-black);
    background-color: var(--bg-light);
}

.btn-whatsapp {
    display: inline-block;
    background-color: var(--brand-whatsapp);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    height: 46px;
    line-height: 44px;
    padding: 0 28px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--brand-whatsapp);
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}
.btn-whatsapp:hover {
    background-color: var(--brand-whatsapp-hover);
    border-color: var(--brand-whatsapp-hover);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    transform: translateY(-1px);
}

.btn-secondary-hero {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    height: 48px;
    line-height: 46px;
    padding: 0 28px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition-smooth);
    text-align: center;
    backdrop-filter: blur(4px);
}
.btn-secondary-hero:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

/* ========================================================
   HEADER INSTITUCIONAL Y MENÚ PERFECCIONADO
   ======================================================== */
.header-corp {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.header-utility {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
    max-height: 36px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.header-corp.scrolled .header-utility {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.header-main { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text-dark); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-logo img { height: 40px; width: auto; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    height: 100%;
}

.nav-menu > li {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.nav-menu a, .dropdown-toggle {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    cursor: pointer;
}

.nav-menu a:hover,
.nav-item-dropdown:hover .dropdown-toggle {
    color: var(--brand-purple);
}

/* DESPLEGABLE */
.dropdown-arrow { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-item-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% - 14px);
    left: -12px;
    min-width: 260px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
}
.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--brand-purple);
}

/* BOTÓN HAMBURGUESA MÓVIL */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
    align-items: center;
    justify-content: center;
}

/* ========================================================
   1. HERO BANNER
   ======================================================== */
.hero-banner {
    position: relative;
    min-height: calc(100vh - 75px);
    background-color: var(--bg-dark);
    background-image: url('assets/images/background-hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-banner::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(9, 12, 18, 0.65) 0%, rgba(9, 12, 18, 0.40) 50%, rgba(9, 12, 18, 0.10) 100%);
    z-index: 1;
}

.hero-body-wrapper {
    position: relative; z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.hero-title {
    font-size: clamp(2.4rem, 4.4vw, 4.5rem);
    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    line-height: 1.08;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-text {
    color: #E2E8F0;
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

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

.hero-bottom-strip {
    position: relative; z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(9, 12, 18, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 22px 0;
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 500;
}

.hero-strip-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.hero-strip-item { display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.hero-strip-item span { color: var(--brand-gold); font-weight: 800; font-size: 1.1rem; }

/* ========================================================
   2. EMPRESA / SOBRE NOSOTROS
   ======================================================== */
.intro-section { padding: 110px 0; background: #FFFFFF; }

.intro-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 90px;
    align-items: flex-start;
}

.intro-headline {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.15;
    color: var(--text-dark);
}

.intro-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    border-top: 1px solid var(--border-light);
    padding-top: 36px;
}

.metric-item h4 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 4px;
}

.metric-item p {
    font-size: 0.85rem;
    color: var(--brand-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================================
   3. MOSAICO DE INDUSTRIAS
   ======================================================== */
.tiles-section {
    padding: 110px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.tiles-header { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.tiles-header h2 { font-size: 2.4rem; }

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.tile-item {
    position: relative;
    height: 340px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.tile-item img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9,12,18,0.05) 0%, rgba(9,12,18,0.92) 85%);
    transition: var(--transition-smooth);
}

.tile-content { position: relative; z-index: 2; color: #FFFFFF; }

.tile-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
    display: block;
}

.tile-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.2;
}

.tile-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.95;
}

.tile-item:hover {
    border-color: var(--brand-purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.tile-item:hover img { transform: scale(1.05); }

/* ========================================================
   4. CAPACIDADES OPERATIVAS
   ======================================================== */
.capabilities-section { padding: 100px 0; background: var(--bg-white); }
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pro);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}
.cap-col {
    background: var(--bg-white);
    padding: 36px 24px;
    border-right: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}
.cap-col:last-child { border-right: none; }
.cap-col:hover { background: var(--bg-light); }
.cap-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.cap-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ========================================================
   5. PRODUCTOS DESTACADOS
   ======================================================== */
.products-section { padding: 110px 0; background: var(--bg-light); border-top: 1px solid var(--border-light); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }

.prod-card-tech {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}
.prod-card-tech:hover {
    border-color: var(--brand-purple);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.prod-family {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    display: block;
}

.prod-title-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.prod-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.prod-specs-list { margin-bottom: 24px; }
.spec-row { margin-bottom: 12px; font-size: 0.92rem; line-height: 1.5; }
.spec-row:last-child { margin-bottom: 0; }
.spec-label {
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.spec-val { color: var(--text-muted); }

/* ========================================================
   6. SECCIÓN TÉCNICA Y DOCUMENTACIÓN
   ======================================================== */
.tech-section {
    padding: 110px 0;
    background: var(--bg-dark);
    color: #FFFFFF;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.tech-text h2 { color: #FFFFFF; font-size: 2.5rem; margin-bottom: 18px; }
.tech-text p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 36px; font-weight: 300; }

.tech-docs-list { list-style: none; }
.tech-docs-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-dark);
    color: #FFFFFF;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 14px;
}
.tech-docs-item::before {
    content: "✓";
    color: var(--brand-gold);
    font-weight: 800;
    font-size: 1.1rem;
}

.tech-img img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--border-dark); }

/* ========================================================
   7. BANNER DE CONTACTO B2B
   ======================================================== */
.contact-banner {
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 90px 0;
    color: var(--text-dark);
}

.contact-banner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-banner-text h2 {
    color: var(--text-dark);
    font-size: 2.4rem;
    margin-bottom: 10px;
    letter-spacing: -0.8px;
}

.contact-banner-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 400;
}

.contact-banner-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* ========================================================
   8. FOOTER CORPORATIVO
   ======================================================== */
.footer-corp {
    background: var(--bg-dark);
    color: #FFFFFF;
    padding: 90px 0 40px;
    font-size: 0.88rem;
    border-top: 1px solid rgba(153, 94, 157, 0.25);
}

.footer-main-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand h3 { color: #FFFFFF; font-size: 1.5rem; margin-bottom: 16px; }
.footer-address { color: var(--text-light); line-height: 1.6; }

.footer-links-col h5 { color: #FFFFFF; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-links-col ul { list-style: none; }
.footer-links-col li { margin-bottom: 12px; }
.footer-links-col a { color: var(--text-light); text-decoration: none; transition: color 0.2s; }
.footer-links-col a:hover { color: #FFFFFF; }

.footer-legal-bar {
    border-top: 1px solid var(--border-dark);
    padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-light); font-size: 0.8rem;
}
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { color: var(--text-light); text-decoration: none; }
.footer-legal-links a:hover { color: #FFFFFF; }

/* ========================================================
   9. WIDGET FLOTANTE WHATSAPP (FADE-OUT PERFECTO)
   ======================================================== */
.ws-floating-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.ws-floating-btn {
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    pointer-events: auto;
}

.ws-floating-btn:hover {
    background-color: #1DA851;
    transform: scale(1.08);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

.ws-floating-tooltip {
    background: #0F172A;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 99px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* APARECE AL TOCAR EL BOTÓN Y DESAPARECE INSTANTÁNEAMENTE AL QUITAR EL MOUSE */
.ws-floating-container:has(.ws-floating-btn:hover) .ws-floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================================
   REGLAS RESPONSIVE COMPLETAS Y MÓVIL (CENTRADO PERFECTO)
   ======================================================== */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .header-utility { display: none; }
    .mobile-menu-toggle { display: flex; }

    /* CENTRADO DE SECCIÓN 1: HERO BANNER EN MÓVIL */
    .hero-body-wrapper {
        justify-content: center;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-title {
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .hero-strip-grid {
        justify-content: center;
        text-align: center;
    }
	
    .tech-text, 
    .contact-banner-text {
        text-align: center;
        margin: 0 auto;
    }

    .tech-docs-list {
        display: inline-block;
        text-align: left; /* Mantiene la lista de tildes alineada y centrada */
    }	

    /* CENTRADO DE SECCIÓN 2: SOBRE NOSOTROS / INTRO EN MÓVIL */
    .intro-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    .intro-headline {
        text-align: center;
    }
    .intro-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }

    /* NAVEGACIÓN Y MENÚ MÓVIL */
    .nav-menu {
        position: fixed;
        top: 84px;
        left: 0; right: 0; bottom: 0;
        background: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
        gap: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1100;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu > li {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu a, .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        font-size: 1.05rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
        width: 100%;
        background: var(--bg-light);
        border-radius: var(--radius-sm);
        margin-bottom: 10px;
    }

    .nav-item-dropdown.open .dropdown-menu {
        display: block;
    }

    /* OTRAS GRILLAS RESPONSIVE */
    .tech-grid, .products-grid, .tiles-grid, .capabilities-grid, .footer-main-grid, .contact-banner-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .capabilities-grid { border: none; box-shadow: none; }
    .cap-col { border-right: none; border-bottom: 1px solid var(--border-light); padding: 24px 0; text-align: center; }

    .hero-banner { min-height: auto; padding-top: 20px; }
    .hero-body-wrapper { padding-top: 40px; padding-bottom: 50px; }
    .btn-hero-purple, .btn-secondary-hero { width: 100%; text-align: center; }

    .contact-banner-actions { width: 100%; flex-direction: column; }
    .contact-banner-actions a { width: 100%; text-align: center; }

    .footer-legal-bar { flex-direction: column; gap: 16px; text-align: center; }
    .ws-floating-container { bottom: 20px; right: 20px; }
    .ws-floating-tooltip { display: none; }
    .ws-floating-btn { width: 52px; height: 52px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2.2rem; text-align: center; }
    .intro-headline, .section-header h2, .contact-banner-text h2, .tech-text h2 { font-size: 1.8rem; text-align: center; }
    .metrics-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
}

/* ========================================================
   PÁGINA INDUSTRIA ALIMENTACIÓN Y NUTRICIÓN
   ======================================================== */
.sector-hero {
    position: relative;
    padding: 100px 0 80px;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.sector-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 18, 0.88) 0%, rgba(9, 12, 18, 0.75) 60%, rgba(9, 12, 18, 0.95) 100%);
    z-index: 1;
}

.sector-hero .container {
    position: relative;
    z-index: 5;
}

.sector-hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.sector-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 3.3rem);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 auto 18px;
    letter-spacing: -1.2px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.sector-hero-title span {
    color: var(--brand-purple);
}

.sector-hero-desc {
    font-size: 1.08rem;
    color: #E2E8F0;
    max-width: 780px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.6;
}

.subsectors-section {
    padding: 90px 0 110px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.section-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-header-center h2 {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.subsectors-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.modern-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-pro);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    text-decoration: none;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    background: var(--bg-dark);
}

.modern-card-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1; /* OPACIDAD EN 1 SOLICITADA */
}

.modern-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9,12,18,0.15) 0%, rgba(9,12,18,0.85) 55%, rgba(9,12,18,0.98) 100%);
    transition: var(--transition-smooth);
}

.modern-card-content {
    position: relative;
    z-index: 5;
    color: #FFFFFF;
}

.modern-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
    display: block;
}

.modern-card-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modern-card-p {
    font-size: 0.88rem;
    color: #CBD5E1;
    font-weight: 300;
    line-height: 1.45;
    margin-bottom: 18px;
}

.insumos-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pill-item {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(9, 12, 18, 0.55);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 4px;
}

.card-action-btn {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.card-action-arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.modern-card:hover {
    border-color: var(--brand-purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

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

.modern-card:hover .card-action-arrow {
    background: var(--brand-purple);
    transform: translateX(4px);
}

.sector-cta {
    padding: 90px 0;
    background: #FFFFFF;
    text-align: center;
}

.sector-cta-box {
    max-width: 850px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pro);
    padding: 50px 36px;
    box-shadow: var(--shadow-subtle);
}

@media (max-width: 1100px) {
    .subsectors-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .subsectors-grid-3 { grid-template-columns: 1fr; }
    .modern-card { height: 380px; padding: 24px; }
}

/* ========================================================
   PLANTILLA DINÁMICA DE SUBSECTORES / APLICACIONES
   ======================================================== */
.subsector-hero {
    position: relative;
    padding: 80px 0 60px;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    overflow: hidden;
}

.subsector-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 18, 0.88) 0%, rgba(9, 12, 18, 0.75) 60%, rgba(9, 12, 18, 0.95) 100%);
    z-index: 1;
}

.subsector-hero .container {
    position: relative;
    z-index: 5;
}

.subsector-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 auto 16px;
    letter-spacing: -1.2px;
    line-height: 1.15;
}

.subsector-hero-title span {
    color: var(--brand-purple);
}

.subsector-hero-desc {
    font-size: 1.08rem;
    color: #E2E8F0;
    max-width: 780px;
    margin: 0 auto;
    font-weight: 400;
}

.subsector-products-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.subsector-form-section {
    padding: 90px 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
}

.form-card-box {
    max-width: 850px;
    margin: 0 auto;
    background: var(--brand-purple-light);
    border: 1px solid rgba(153, 94, 157, 0.25);
    border-radius: var(--radius-pro);
    padding: 48px;
    box-shadow: var(--shadow-subtle);
}

.form-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-purple-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-align: center;
}

.form-sub {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
}

/* FORZAR FONDOS BLANCOS EN CAMPOS DE FORMULARIOS */
.form-card-box .form-group input,
.form-card-box .form-group textarea {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
}

.form-card-box .form-group input:focus,
.form-card-box .form-group textarea:focus {
    border-color: var(--brand-purple) !important;
    box-shadow: 0 0 0 3px rgba(153, 94, 157, 0.15) !important;
}

@media (max-width: 640px) {
    .form-grid-2 { grid-template-columns: 1fr; }
    .form-card-box { padding: 28px 20px; }
}

/* ========================================================
   CATÁLOGO B2B / PÁGINA PRODUCTOS
   ======================================================== */
/* ========================================================
   CATÁLOGO B2B / PÁGINA PRODUCTOS (CABECERA OSCURA)
   ======================================================== */
.catalog-header-section {
    position: relative;
    padding: 60px 0 50px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    overflow: hidden;
}

/* Oscurecemos todo el fondo de forma uniforme */
.catalog-header-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 15, 23, 0.85) 0%,  
        rgba(11, 15, 23, 0.70) 100%
    );
    z-index: 1;
}

.catalog-header-section > * {
    position: relative;
    z-index: 2;
}

.catalog-title-wrapper {
    margin: 0 auto 28px;
    max-width: 900px;
}

/* EYEBROW */
.catalog-header-section .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.catalog-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 2.85rem);
    font-weight: 800;
    color: #FFFFFF !important; /* Blanco puro */
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.catalog-desc {
    font-size: 1.08rem;
    color: #CBD5E1 !important; /* Gris claro de alta legibilidad */
    max-width: 780px;
    margin: 0 auto;
    font-weight: 300;
}

/* CENTRADO DE CAJA Y PESTAÑAS CON LÍNEA AJUSTADA */
.search-filter-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center; /* Centramos el contenedor */
}

.industry-tabs-row {
    display: flex;
    justify-content: center; /* Centra los botones */
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Línea sutil */
    padding-bottom: 2px;
    margin: 0 auto; /* Centra el bloque */
    width: fit-content; /* ¡CLAVE! La línea solo cubre el ancho exacto de los botones */
    max-width: 100%;
}

/* PESTAÑAS DE INDUSTRIA ADAPTADAS A FONDO OSCURO */
.tab-btn {
    padding: 8px 16px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    background: transparent;
    color: #94A3B8; /* Texto claro inactivo */
    cursor: pointer;
    position: relative;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    user-select: none;
}

.tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    color: #FFFFFF;
    font-weight: 700;
    background: var(--brand-purple, #581C87); /* Púrpura Triada activo */
    border-color: var(--brand-purple, #581C87);
}

.search-main-row {
    display: flex;
    gap: 14px;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.search-input:focus {
    border-color: #94A3B8;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.04);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.family-select-wrapper {
    min-width: 280px;
}

.family-select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.family-select:focus {
    border-color: #94A3B8;
    background: #FFFFFF;
}

.catalog-body-section {
    padding: 40px 0 100px;
    background: var(--bg-light);
}

.catalog-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card-item {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 18px;
    transition: border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
}

.product-card-item:hover {
    border-color: var(--brand-purple);
}

.card-family-tag {
    font-size: 0.72rem;
    color: var(--brand-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
    display: block;
}

.card-prod-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.25;
}

.card-tags-industries {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 4px;
    margin-bottom: 12px;
}

.ind-badge {
    font-size: 0.68rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-card-spec {
    display: block;
    width: 100%;
    padding: 6px 10px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-card-spec:hover {
    background: var(--bg-light);
    border-color: #CBD5E1;
    color: var(--text-dark);
}

/* DRAWER LATERAL SLIDE-OVER */
.drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(9, 12, 18, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}
.drawer-backdrop.active { opacity: 1; visibility: visible; }

.drawer-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 100%; max-width: 560px;
    background: #FFFFFF;
    z-index: 1300;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-drawer);
    display: flex;
    flex-direction: column;
}
.drawer-panel.active { transform: translateX(0); }

.drawer-header {
    padding: 28px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    background: var(--bg-light);
}

.btn-close-drawer {
    position: absolute; top: 20px; right: 20px;
    background: #FFFFFF; border: 1px solid var(--border-light);
    width: 32px; height: 32px; border-radius: 50%;
    cursor: pointer; font-size: 1rem; color: var(--text-dark);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth);
}
.btn-close-drawer:hover { background: var(--btn-black); color: #FFFFFF; }

.drawer-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.drawer-spec-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-spec-label {
    font-size: 0.75rem;
    color: var(--eyebrow-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.drawer-spec-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.drawer-quote-form-box {
    background: var(--brand-purple-light);
    border: 1px solid rgba(153, 94, 157, 0.25);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-top: 8px;
    display: none;
}

.drawer-quote-form-box.active { display: block; }

.drawer-form-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-purple-dark);
    margin-bottom: 4px;
}

.drawer-form-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.drawer-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.drawer-form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
}

.drawer-form-group input,
.drawer-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-dark);
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
}

/* RESPONSIVE CATÁLOGO */
@media (max-width: 1200px) {
    .catalog-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .catalog-products-grid { grid-template-columns: repeat(2, 1fr); }
    .search-main-row { flex-direction: column; }
    .family-select-wrapper { width: 100%; min-width: auto; }
}

@media (max-width: 580px) {
    .catalog-products-grid { grid-template-columns: 1fr; }
    .drawer-panel { max-width: 100%; }
}

/* ========================================================
   CACAO HERO: CORREGIDO Y COMPLETO
   ======================================================== */
.cacao-hero-section {
    position: relative;
    min-height: 460px !important;
    padding: 80px 20px 70px !important;
    background-color: #0b0f17;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Oscurecido de fondo (Overlay) */
.cacao-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
	background: linear-gradient(
		180deg,
		rgba(11, 15, 23, 0.30) 0%,
		rgba(11, 15, 23, 0.45) 100%
	);
    z-index: 1;
}

.cacao-hero-section .hero-body-wrapper {
    position: relative;
    z-index: 5;
    padding: 0 !important;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

.cacao-hero-section .hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

/* Eyebrow (Etiqueta superior) */
.cacao-hero-section .eyebrow {
    font-size: 0.8rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94A3B8 !important;
    margin-bottom: 14px !important;
    display: block;
}

/* Título Principal */
.cacao-hero-section .hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.15 !important;
    letter-spacing: -1px;
    margin-bottom: 16px !important;
}

/* Párrafo / Bajada */
.cacao-hero-section .hero-text {
    font-size: 1.05rem !important;
    color: #CBD5E1 !important;
    max-width: 720px;
    margin: 0 auto 28px auto !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
}

/* Contenedor Botones */
.cacao-hero-section .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Botón Primario (Morado) */
.cacao-hero-section .btn-cacao-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--brand-purple),
        var(--brand-purple-dark)
    );
    color: #FFFFFF !important;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cacao-hero-section .btn-cacao-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Botón Secundario (Borde Blanco / Transparente) */
.cacao-hero-section .btn-cacao-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.cacao-hero-section .btn-cacao-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.cacao-fullbleed-section {
    position: relative;
    padding: 50px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cacao-fullbleed-section::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(9, 12, 18, 0.90) 0%, rgba(9, 12, 18, 0.75) 50%, rgba(9, 12, 18, 0.30) 100%);
    z-index: 1;
}

.cacao-fullbleed-section.reverse::before {
    background: linear-gradient(270deg, rgba(9, 12, 18, 0.90) 0%, rgba(9, 12, 18, 0.75) 50%, rgba(9, 12, 18, 0.30) 100%);
}

.cacao-fullbleed-section .container {
    position: relative;
    z-index: 5;
}

.cacao-grid-left {
    display: grid;
    grid-template-columns: 6.5fr 5.5fr;
    gap: 60px;
    align-items: center;
}

.cacao-grid-right {
    display: grid;
    grid-template-columns: 5.5fr 6.5fr;
    gap: 60px;
    align-items: center;
}

.cacao-info-block { color: #FFFFFF; }

.cacao-prod-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 18px;
    letter-spacing: -1.2px;
    line-height: 1.12;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cacao-prod-desc {
    font-size: 1.05rem;
    color: #E2E8F0;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
}

.cacao-apps-inline {
    font-size: 0.92rem;
    color: #CBD5E1;
    margin-bottom: 28px;
    padding-left: 14px;
    border-left: 2px solid var(--brand-purple);
    line-height: 1.6;
}

.cacao-apps-inline strong {
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 4px;
}

.nutrition-table-clean {
    background: rgba(9, 12, 18, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    margin-bottom: 32px;
}

.nutrition-table-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--brand-gold);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nutrition-table-title span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.nutrition-list { display: flex; flex-direction: column; }

.nutrition-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}
.nutrition-row:last-child { border-bottom: none; }

.nutrition-label { color: #CBD5E1; font-weight: 400; }
.nutrition-value { color: #FFFFFF; font-weight: 700; }

.white-divider-strip {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0;
    text-align: center;
}

.divider-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.divider-item {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.divider-item span {
    color: var(--brand-purple);
    font-size: 1.2rem;
    font-weight: 800;
}

.cacao-form-section {
    padding: 90px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.cacao-form-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pro);
    padding: 50px;
    box-shadow: var(--shadow-subtle);
    max-width: 960px;
    margin: 0 auto;
}

.cacao-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.cacao-form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.8px;
}

.cacao-form-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

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

@media (max-width: 1024px) {
    .cacao-grid-left, .cacao-grid-right { grid-template-columns: 1fr; gap: 36px; }
    .cacao-form-wrapper { padding: 28px; }
}

/* ========================================================
   PÁGINA EMPRESA / SOBRE NOSOTROS
   ======================================================== */
.empresa-hero {
    position: relative;
    padding: 90px 0 70px;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    overflow: hidden;
}

.empresa-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 18, 0.82) 0%, rgba(9, 12, 18, 0.70) 50%, rgba(9, 12, 18, 0.88) 100%);
    z-index: 1;
}

.empresa-hero .container {
    position: relative;
    z-index: 5;
}

.empresa-hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.empresa-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 3.3rem);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 auto 18px;
    letter-spacing: -1.2px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
}

.empresa-hero-title span {
    color: var(--brand-purple);
}

.empresa-hero-desc {
    font-size: 1.08rem;
    color: #E2E8F0;
    max-width: 780px;
    margin: 0 auto 42px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    text-align: center;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.80);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 36px;
}

.stat-card {
    background: rgba(18, 23, 34, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 24px 18px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--brand-purple);
    transform: translateY(-3px);
    background: rgba(18, 23, 34, 0.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.stat-number span {
    color: var(--brand-gold);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.story-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.story-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: center;
}

.story-title {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.18;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.story-highlight-box {
    background: var(--brand-purple-light);
    border-left: 4px solid var(--brand-purple);
    padding: 22px 26px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 24px;
}

.story-highlight-box p {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--brand-purple-dark);
    line-height: 1.5;
}

.story-text-p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.pillars-section {
    padding: 100px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.pillars-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.pillars-title {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.pillar-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pro);
    padding: 36px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    border-color: var(--brand-teal);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.pillar-icon-box {
    width: 50px;
    height: 50px;
    background: var(--brand-teal-light);
    border: 1px solid var(--brand-teal);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-teal-dark);
    margin-bottom: 20px;
}

.pillar-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.pillar-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.manifesto-section {
    padding: 100px 0;
    background: var(--bg-dark);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.manifesto-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(153, 94, 157, 0.12), transparent 50%);
    pointer-events: none;
}

.manifesto-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.manifesto-quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.manifesto-author {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.manifesto-author strong {
    color: #FFFFFF;
    font-weight: 700;
}

.empresa-cta {
    padding: 90px 0;
    background: #FFFFFF;
    text-align: center;
}

.empresa-cta-box {
    max-width: 850px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pro);
    padding: 50px 36px;
    box-shadow: var(--shadow-subtle);
}

.empresa-cta-title {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.empresa-cta-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr; }
    .empresa-hero { padding: 60px 0 40px; }
    .pillar-card { padding: 24px; }
    .empresa-cta-box { padding: 36px 20px; }
}
/* ========================================================
   HÉROE DE CONTACTO B2B (PERFECCIONADO PARA MÓVIL Y DESKTOP)
   ======================================================== */
.contact-hero-compact {
    position: relative;
    padding: 70px 0 55px;
    border-bottom: 1px solid var(--border-dark, rgba(255, 255, 255, 0.10));
    text-align: center;
    overflow: hidden;
}

.contact-hero-compact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(9, 12, 18, 0.10);
    z-index: 1;
}

.contact-hero-compact .container {
    position: relative;
    z-index: 5;
}

.contact-hero-compact .eyebrow {
    color: rgba(255, 255, 255, 0.78) !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    display: block;
}

.contact-hero-title {
    font-family: var(--font-display) !important;
    font-size: clamp(1.8rem, 5vw, 2.8rem) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    letter-spacing: -1px !important;
    line-height: 1.18 !important;
    text-align: center !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-hero-desc {
    font-size: 1.1rem !important;
    color: #CBD5E1 !important;
    max-width: 820px;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    text-align: center !important;
}

.contact-main-section {
    padding: 60px 0 90px;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.info-group-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 28px;
    box-shadow: var(--shadow-subtle);
}

.info-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--eyebrow-color);
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
    display: block;
}

.contact-data-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.data-item-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.data-item-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.data-item-value:hover { color: var(--brand-purple); }
.data-item-value.ws-link { color: var(--text-dark); }
.data-item-value.ws-link:hover { color: var(--brand-whatsapp); }

.data-item-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.why-us-box {
    background: var(--brand-purple-light);
    border: 1px solid rgba(153, 94, 157, 0.22);
    border-radius: var(--radius-sm);
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.why-us-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-purple-dark);
    margin-bottom: 14px;
}

.why-us-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-us-item {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-us-item span {
    color: var(--brand-purple);
    font-weight: 800;
}

.sectors-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.sector-tag {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
}

.contact-form-col {
    height: 100%;
}

.form-wrapper-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 40px;
    box-shadow: var(--shadow-subtle);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-purple);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(153, 94, 157, 0.12);
}

.form-submit-btn {
    margin-top: 10px;
    width: 100%;
}

.trust-assurance-bar {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 36px 0;
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.trust-badges-group {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-badge-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badge-item span {
    color: var(--brand-purple);
    font-weight: 800;
}

/* ========================================================
   CORRECCIÓN RESPONSIVE CONTACTO (MÓVIL Y TABLET)
   ======================================================== */
@media (max-width: 1024px) {
    .contact-hero-compact {
        padding: 50px 0 35px !important;
    }

    .contact-hero-title {
        font-size: 2.1rem !important;
        text-align: center !important;
    }

    .contact-hero-desc {
        font-size: 1.05rem !important;
        text-align: center !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .form-wrapper-card, 
    .info-group-box, 
    .why-us-box {
        padding: 28px 20px !important;
    }

    .data-item-value {
        font-size: 1.1rem !important;
        word-break: break-word;
    }
}

@media (max-width: 640px) {
    .contact-hero-compact {
        padding: 45px 16px 30px !important;
    }

    .contact-hero-title {
        font-size: 1.7rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    .contact-hero-desc {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
        text-align: center !important;
    }

    .form-row-2 {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .contact-main-section {
        padding: 40px 0 60px;
    }

    .trust-flex {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .trust-badges-group {
        justify-content: center;
        gap: 12px;
    }
}