/* ==========================================================================
   PAK-HUB GLOBAL - Complete Architecture Stylesheet v2.0
   ========================================================================== */

/* 1. VARIABLES & DESIGN SYSTEM */
:root {
    --primary-bg: #12161a;       /* Antracita industrial */
    --secondary-bg: #1a2026;     /* Gris corporativo para bloques oscuros */
    --light-bg: #f8f9fa;         /* Fondo claro texturizado */
    --white: #ffffff;
    
    --text-main: #1c2126;        /* Texto oscuro legible */
    --text-muted: #657380;       /* Texto secundario descriptivo */
    --text-light: #f4f6f8;       /* Texto sobre fondos oscuros */
    
    --accent: #00e676;           /* Verde ácido industrial */
    --accent-hover: #00b252;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    --shadow-strong: 0 12px 30px rgba(18, 22, 26, 0.08);
}

/* 2. RESET & BASE STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* 3. REUSABLE COMPONENTS & BUTTONS */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-bg);
}

.section-title span {
    color: var(--accent-hover);
    border-bottom: 3px solid var(--accent);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 0 15px;
}

.btn-primary, .btn-secondary, .btn-cta {
    display: inline-block;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary.accent-bg {
    background-color: var(--accent);
    color: var(--primary-bg);
}

.btn-primary.accent-bg:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: transparent;
    color: var(--accent) !important;
    border: 1px solid var(--accent);
    padding: 8px 20px;
}

.btn-cta:hover {
    background-color: var(--accent);
    color: var(--primary-bg) !important;
}

.full-width {
    width: 100%;
}

/* 4. NAVIGATION NAVBAR */
.navbar {
    display: table;
    width: 100%;
    background-color: rgba(18, 22, 26, 0.95);
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
    backdrop-filter: blur(10px);
}

.logo {
    display: table-cell;
    vertical-align: middle;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
}

.logo b {
    color: var(--accent);
}

.nav-links {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
}

.nav-links li {
    display: inline-block;
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: var(--transition);
}

/* 5. HERO SECTION */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(18, 22, 26, 0.82), rgba(18, 22, 26, 0.92)), 
                url('https://images.unsplash.com/photo-1616401784845-180882ba9ba8?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    display: table;
    width: 100%;
    padding-top: 80px;
}

.hero-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0 20px;
}

.badge-industrial {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.badge-industrial span {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--white);
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-actions a {
    margin: 10px;
}

/* 6. BRANDS LOGO SECTION */
.brands-section {
    background-color: var(--primary-bg);
    padding: 40px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.brands-title {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.brand-item span {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* 7. MODERN 6-COLUMN SERVICES GRID */
.services-overview-section {
    padding: 100px 5%;
    background-color: var(--light-bg);
}

.modern-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 40px;
}

.modern-service-card {
    background-color: var(--white);
    border: 1px solid #eef0f2;
    padding: 40px 30px;
    border-radius: 8px;
    width: calc(33.333% - 20px);
    min-width: 280px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.modern-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent);
}

.card-icon-wrapper {
    font-size: 2.2rem;
    color: var(--primary-bg);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.modern-service-card:hover .card-icon-wrapper {
    color: var(--accent);
}

.modern-service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-bg);
    margin-bottom: 15px;
}

.modern-service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-bg);
    letter-spacing: 0.5px;
    display: inline-block;
}

.modern-service-card:hover .card-link {
    color: var(--accent);
}

/* 8. CONTACT SECTION & FOOTER */
.contact-section {
    padding: 100px 5% 40px 5%;
    background-color: var(--secondary-bg);
    color: var(--white);
}

.contact-container {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.contact-info, #contact-form {
    display: table-cell;
    vertical-align: top;
    width: 50%;
}

.contact-info {
    padding-right: 10%;
}

.contact-info .section-title {
    text-align: left;
    color: var(--white);
    margin-bottom: 25px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.info-details p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--white);
}

.info-details strong {
    color: var(--accent);
}

#contact-form input, #contact-form textarea, .select-field {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.select-field {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-color: rgba(255, 255, 255, 0.05);
}

#contact-form input:focus, #contact-form textarea:focus, .select-field:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.main-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: table;
    width: 100%;
}

.main-footer p {
    display: table-cell;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.irisbyte-tag {
    text-align: right;
}

.irisbyte-tag a {
    color: var(--accent);
    font-weight: 600;
}

/* 9. RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
    .modern-service-card {
        width: calc(50% - 15px); /* 2 Columnas en tabletas */
    }
    
    .contact-container, .main-footer {
        display: block;
        width: 100%;
    }
    
    .contact-info, #contact-form, .main-footer p {
        display: block;
        width: 100%;
        margin-bottom: 30px;
        padding-right: 0;
    }
    
    .irisbyte-tag {
        text-align: left;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .modern-service-card {
        width: 100%; /* 1 Columna en móviles */
    }
    
    .burger {
        display: block;
        float: right;
        margin-top: 5px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 65px;
        background-color: var(--primary-bg);
        width: 70%;
        text-align: center;
        padding-top: 50px;
        box-shadow: var(--shadow-strong);
    }
    
    .nav-links li {
        display: block;
        margin: 30px 0;
    }
    
    .nav-active {
        display: block !important;
    }
    
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}