/* =========================================================================
   GRUPO BEAUTY - INDUSTRIAL HEAVYWEIGHT THEME (MAERSK/DHL STYLE)
   ========================================================================= */

:root {
    /* Paleta Industrial Sólida */
    --color-navy: #002A54;
    --color-white: #FFFFFF;
    --color-orange: #FF5A00;
    --color-grey-light: #F4F6F8;
    --color-grey-dark: #333333;
    
    --bg-dark: var(--color-white); 
    --bg-surface: var(--color-grey-light);
    --bg-elevated: var(--color-white);
    
    --text-primary: var(--color-navy);
    --text-secondary: var(--color-grey-dark);
    --text-light: var(--color-white);
    
    --accent-primary: var(--color-orange);
    --accent-hover: #E04E00;
    
    --space-sm: clamp(1rem, 2vw, 2rem);
    --space-md: clamp(2rem, 5vw, 4rem);
    --space-lg: clamp(4rem, 10vw, 8rem);
}

/* =========================================================================
   RESET & TIPOGRAFÍA
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-white);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700; /* Gruesa e imponente */
    line-height: 1.1;
    color: var(--text-primary);
    text-transform: uppercase;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

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

/* =========================================================================
   HEADER & NAV
   ========================================================================= */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: var(--color-navy);
    color: var(--color-white);
    transition: padding 0.3s ease;
}

.main-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.theme-toggle, .icon-sun, .icon-moon { display: none; } /* Oculto en tema industrial */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 30px; height: 3px; background: var(--color-white); }

/* =========================================================================
   INDUSTRIAL BLOCKS (INDEX)
   ========================================================================= */
.industrial-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-navy);
}

.hero-img-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Oscurecida para leer texto */
}

.industrial-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 900px;
}

.industrial-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.industrial-hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--accent-primary);
    color: var(--color-white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-solid:hover {
    background: var(--accent-hover);
    color: var(--color-white);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid var(--color-white);
    transition: background 0.3s, color 0.3s;
}

.btn-outline-dark:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

/* Heavy Stats */
.heavy-stats {
    display: flex;
    background: var(--color-orange);
    color: var(--color-white);
}

.heavy-stat-box {
    flex: 1;
    padding: 4rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.heavy-stat-box:last-child { border-right: none; }

.heavy-stat-box .number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.heavy-stat-box .label {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Division Panels */
.division-panels {
    display: flex;
    flex-direction: column;
}

.panel-row {
    display: flex;
    min-height: 60vh;
}

.panel-row:nth-child(even) {
    flex-direction: row-reverse;
}

.panel-image {
    flex: 1;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.panel-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.panel-row:hover .panel-image img {
    transform: scale(1.05);
}

.panel-content {
    flex: 1;
    padding: clamp(2rem, 6vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: var(--color-white);
}

.panel-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-navy);
}

.panel-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
    color: var(--text-secondary);
}

/* News List Industrial */
.news-industrial {
    padding: var(--space-lg) 0;
    background: var(--color-grey-light);
}

.news-industrial h2 {
    margin-bottom: 3rem;
    font-size: 3rem;
    color: var(--color-navy);
}

.news-industrial-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-industrial-item {
    display: flex;
    background: var(--color-white);
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    border-left: 8px solid var(--color-navy);
    transition: transform 0.2s, border-color 0.2s;
}

.news-industrial-item:hover {
    transform: translateX(10px);
    border-color: var(--color-orange);
}

.news-industrial-item .date {
    width: 150px;
    font-weight: 700;
    color: var(--color-navy);
}

.news-industrial-item .content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: none;
    color: var(--color-navy);
}

/* =========================================================================
   B2B GENERIC CLASSES (Armour / Rogasa compatibility)
   ========================================================================= */
.b2b-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.b2b-card {
    background: var(--color-grey-light);
    padding: 2.5rem;
    border-top: 4px solid var(--color-navy);
}

.b2b-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--color-navy);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; color: var(--color-navy); font-size: 0.9rem;}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-grey-light);
    background: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-navy);
}

/* Page headers for internal pages */
.page-header {
    padding: 10rem 0 5rem 0;
    background: var(--color-navy);
    color: var(--color-white);
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 4rem;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.main-footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-lg) 0 2rem;
}

.main-footer h3, .main-footer h4 { color: var(--color-white); }
.main-footer p { color: rgba(255,255,255,0.7); }
.main-footer a { color: var(--color-white); text-decoration: none; }
.main-footer a:hover { color: var(--accent-primary); }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    color: var(--color-orange);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* Responsive */
@media (max-width: 768px) {
    /* Ajustes generales */
    .page-header { padding: 8rem 0 3rem 0; }
    .page-header h1 { font-size: 2.5rem; }
    .industrial-hero-content h1 { font-size: 2.2rem; }
    
    /* Stats */
    .heavy-stats { flex-direction: column; }
    .heavy-stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 2rem 1rem; }
    
    /* Paneles e Imágenes */
    .panel-row { flex-direction: column !important; }
    .panel-image { min-height: 250px; }
    .panel-content { padding: 3rem 2rem; }
    .panel-content h2 { font-size: 2rem; }
    
    /* Cuadrículas */
    .b2b-grid { grid-template-columns: 1fr; gap: 1rem; }
    .news-industrial-item { flex-direction: column; gap: 0.5rem; }
    
    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Menú Móvil */
    .hamburger { display: flex; z-index: 1001; }
    .nav-menu {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--color-navy);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .nav-link { font-size: 1.5rem; }
}
