/* ==========================================
           1. DESIGN SYSTEM & VARIABLES
           ========================================== */
        :root {
            --color-primary: #0B2545;       /* Azul Mecánico */
            --color-secondary: #D9E2E8;     /* Plata Metálica */
            --color-accent: #FFC300;        /* Amarillo Seguridad */
            --color-accent-hover: #E0B000;
            --color-dark-bg: #0B2545;
            --color-dark-card: #133054;
            --color-dark-border: #1E3D60;
            --color-light-bg: #F4F7F9;
            --color-text-light: #FFFFFF;
            --color-text-dark: #111827;     /* Negro Ónice suave */
            --color-text-muted: #6B7280;
            --font-headers: 'Montserrat', sans-serif;
            --font-body: 'Inter', sans-serif;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-accent: 0 0 20px rgba(255, 195, 0, 0.4);
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

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

        body {
            font-family: var(--font-body);
            background-color: var(--color-light-bg);
            color: var(--color-text-dark);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, h4 {
            font-family: var(--font-headers);
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

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

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

        button, input, select, textarea {
            font-family: inherit;
            font-size: inherit;
        }

        /* Container grid */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Utility buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 28px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            cursor: pointer;
            transition: var(--transition-smooth);
            border: none;
            gap: 10px;
        }

        .btn-accent {
            background-color: var(--color-accent);
            color: #000000;
            box-shadow: var(--shadow-sm);
        }

        .btn-accent:hover {
            background-color: var(--color-accent-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow-accent);
        }

        .btn-accent:active {
            transform: translateY(0);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--color-text-light);
            border: 2px solid var(--color-text-light);
        }

        .btn-outline:hover {
            background-color: var(--color-text-light);
            color: var(--color-primary);
            transform: translateY(-2px);
        }

        /* Animación Pulse de alto rendimiento (aceleración por GPU mediante transformaciones y opacidad) */
        .pulse-cta {
            position: relative;
        }
        
        .pulse-cta::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 8px;
            border: 2px solid var(--color-accent);
            opacity: 0;
            pointer-events: none;
            animation: pulse-glow-composited 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
        }

        @keyframes pulse-glow-composited {
            0% {
                transform: scale(0.96);
                opacity: 1;
            }
            100% {
                transform: scale(1.15);
                opacity: 0;
            }
        }

        /* Section structure */
        section {
            padding: 90px 0;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h2 {
            font-size: 2.2rem;
            color: var(--color-primary);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--color-accent);
            border-radius: 2px;
        }

        .section-header p {
            margin-top: 15px;
            font-size: 1.1rem;
            color: var(--color-text-muted);
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Dark background modifiers */
        .bg-dark {
            background-color: var(--color-dark-bg);
            color: var(--color-text-light);
        }

        .bg-dark .section-header h2 {
            color: var(--color-text-light);
        }

        .bg-dark .section-header p {
            color: rgba(255, 255, 255, 0.7);
        }

        /* ==========================================
           3. HEADER & NAVIGATION (SVG Logo Fixed)
           ========================================== */
        header {
            background-color: rgba(11, 37, 69, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            border-bottom: 1px solid var(--color-dark-border);
            transition: var(--transition-smooth);
        }

        header.scrolled {
            padding: 5px 0;
            background-color: rgba(11, 37, 69, 0.98);
            box-shadow: var(--shadow-lg);
        }

        .nav-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            transition: var(--transition-smooth);
        }

        header.scrolled .nav-wrapper {
            height: 65px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-svg {
            width: 44px;
            height: 40px;
            fill: var(--color-accent);
            color: var(--color-accent);
            flex-shrink: 0;
            transition: var(--transition-smooth);
        }

        header.scrolled .logo-svg {
            width: 36px;
            height: 33px;
        }

        .logo-text {
            font-family: var(--font-headers);
            font-size: 1rem;
            font-weight: 800;
            line-height: 1.1;
            text-transform: uppercase;
            color: var(--color-text-light);
            letter-spacing: 0.02em;
            transition: var(--transition-smooth);
        }

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

        header.scrolled .logo-text {
            font-size: 0.85rem;
        }

        /* Web Nav Links */
        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            padding: 8px 0;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-accent);
            transition: var(--transition-smooth);
        }

        .nav-links a:hover {
            color: var(--color-text-light);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Mobile Nav Toggle Button */
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
        }

        .nav-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            background-color: var(--color-text-light);
            margin: 5px 0;
            transition: var(--transition-smooth);
        }

        /* Active Mobile Menu Icon Transformation */
        .nav-toggle.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }
        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .nav-toggle.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        /* ==========================================
           4. HERO SECTION & CRO WIDGET
           ========================================== */
        .hero {
            position: relative;
            padding: 180px 0 100px 0;
            background-image: linear-gradient(135deg, rgba(11, 37, 69, 0.92) 20%, rgba(11, 37, 69, 0.75) 100%), url('assets/hero-bg.webp');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 50px;
            align-items: center;
        }

        .hero-content {
            color: var(--color-text-light);
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 24px;
            line-height: 1.1;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .hero-content p {
            font-size: 1.25rem;
            margin-bottom: 35px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 300;
            max-width: 600px;
        }

        .hero-trustbadges {
            margin-top: 45px;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .trustbadge {
            display: flex;
            align-items: center;
            gap: 10px;
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 10px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            backdrop-filter: blur(5px);
        }

        .trustbadge svg {
            width: 18px;
            height: 18px;
            fill: var(--color-accent);
        }

        /* Widget CRO (Calculator form) */
        .cro-widget {
            background-color: rgba(19, 48, 84, 0.8);
            border: 1px solid var(--color-dark-border);
            border-radius: 16px;
            padding: 30px;
            box-shadow: var(--shadow-lg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
        }

        .cro-widget h2 {
            font-size: 1.4rem;
            margin-bottom: 10px;
            color: var(--color-text-light);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cro-widget h2 svg {
            width: 20px;
            height: 20px;
            fill: var(--color-accent);
        }

        .cro-widget .widget-intro {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 24px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: rgba(255,255,255,0.85);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .form-control {
            width: 100%;
            padding: 12px 16px;
            background-color: rgba(11, 37, 69, 0.6);
            border: 1px solid var(--color-dark-border);
            border-radius: 8px;
            color: var(--color-text-light);
            font-size: 0.95rem;
            transition: var(--transition-smooth);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--color-accent);
            box-shadow: 0 0 10px rgba(255, 195, 0, 0.2);
        }

        select.form-control option {
            background-color: var(--color-primary);
            color: var(--color-text-light);
        }

        textarea.form-control {
            resize: none;
            height: 80px;
        }

        .cro-widget .btn-accent {
            width: 100%;
            padding: 16px;
            font-size: 1rem;
        }

        /* ==========================================
           5. SERVICES SECTION (B2C Focus)
           ========================================== */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 30px;
        }

        .service-card {
            background-color: var(--color-text-light);
            border-radius: 12px;
            padding: 40px 30px;
            box-shadow: var(--shadow-md);
            transition: var(--transition-smooth);
            border-top: 4px solid transparent;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-top-color: var(--color-accent);
        }

        .service-icon-box {
            width: 60px;
            height: 60px;
            background-color: rgba(11, 37, 69, 0.05);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            transition: var(--transition-smooth);
        }

        .service-card:hover .service-icon-box {
            background-color: var(--color-primary);
        }

        .service-icon-box svg {
            width: 32px;
            height: 32px;
            fill: var(--color-primary);
            transition: var(--transition-smooth);
        }

        .service-card:hover .service-icon-box svg {
            fill: var(--color-accent);
        }

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

        .service-card p {
            font-size: 0.95rem;
            color: var(--color-text-muted);
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .service-features {
            list-style: none;
            width: 100%;
            border-top: 1px solid #E5E7EB;
            padding-top: 20px;
        }

        .service-features li {
            font-size: 0.85rem;
            color: var(--color-text-dark);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
        }

        .service-features li svg {
            width: 14px;
            height: 14px;
            fill: #10B981; /* Verde esmeralda para validación */
        }

        /* ==========================================
           6. EQUIPMENT SECTION (Technical Muscle)
           ========================================== */
        .equipment-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .equipment-content h2 {
            font-size: 2.2rem;
            margin-bottom: 20px;
        }

        .equipment-content p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 30px;
        }

        .equipment-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .equipment-item {
            background-color: var(--color-dark-card);
            border: 1px solid var(--color-dark-border);
            border-radius: 8px;
            overflow: hidden;
            transition: var(--transition-smooth);
        }

        .equipment-trigger {
            width: 100%;
            padding: 18px 24px;
            background: none;
            border: none;
            text-align: left;
            font-family: var(--font-headers);
            font-weight: 700;
            color: var(--color-text-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-size: 1.05rem;
            letter-spacing: 0.02em;
        }

        .equipment-trigger svg {
            width: 16px;
            height: 16px;
            fill: var(--color-text-light);
            transition: var(--transition-smooth);
        }

        .equipment-item.active {
            border-color: var(--color-accent);
        }

        .equipment-item.active .equipment-trigger {
            color: var(--color-accent);
        }

        .equipment-item.active .equipment-trigger svg {
            transform: rotate(180deg);
            fill: var(--color-accent);
        }

        .equipment-detail {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
            background-color: rgba(11, 37, 69, 0.4);
        }

        .equipment-detail-content {
            padding: 0 24px 20px 24px;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .equipment-specs {
            margin-top: 12px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            background-color: rgba(255, 255, 255, 0.05);
            padding: 12px;
            border-radius: 6px;
            border-left: 3px solid var(--color-accent);
        }

        .spec-item {
            font-size: 0.8rem;
        }

        .spec-item strong {
            color: var(--color-text-light);
        }

        /* Tech stats dashboard */
        .tech-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .stat-card {
            background-color: var(--color-dark-card);
            border: 1px solid var(--color-dark-border);
            padding: 24px;
            border-radius: 12px;
            text-align: center;
            transition: var(--transition-smooth);
        }

        .stat-card:hover {
            border-color: var(--color-accent);
            transform: translateY(-4px);
        }

        .stat-num {
            font-family: var(--font-headers);
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--color-accent);
            line-height: 1;
            margin-bottom: 8px;
        }

        .stat-desc {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* ==========================================
           7. WORKS SECTION (Trabajos Recientes)
           ========================================== */
        .works {
            background-color: var(--color-primary);
            position: relative;
        }

        .works-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .work-card {
            background-color: var(--color-dark-card);
            border: 1px solid var(--color-dark-border);
            border-radius: 12px;
            overflow: hidden;
            transition: var(--transition-smooth);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .work-card:hover {
            border-color: var(--color-accent);
            transform: translateY(-8px);
            box-shadow: 0 10px 25px rgba(255, 195, 0, 0.15);
        }

        .work-img-wrapper {
            position: relative;
            width: 100%;
            height: 240px;
            overflow: hidden;
            background-color: #000;
        }

        .work-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .work-card:hover .work-img {
            transform: scale(1.08);
        }

        .work-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: var(--color-accent);
            color: var(--color-primary);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            box-shadow: var(--shadow-sm);
            z-index: 2;
        }

        .work-info {
            padding: 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .work-info h3 {
            font-size: 1.15rem;
            color: var(--color-text-light);
            margin-bottom: 8px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }

        .work-info p {
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.5;
            margin-bottom: 15px;
            flex-grow: 1;
        }

        .work-meta {
            border-top: 1px solid var(--color-dark-border);
            padding-top: 15px;
            margin-top: auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.5);
        }

        .work-meta span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .work-meta svg {
            width: 14px;
            height: 14px;
            fill: var(--color-accent);
        }

        /* ==========================================
           8. B2B SECTION (Industrial & Corporate)
           ========================================== */
        .b2b {
            background-color: var(--color-secondary);
            color: var(--color-text-dark);
            background-image: linear-gradient(120deg, rgba(217, 226, 232, 0.95) 0%, rgba(188, 203, 214, 0.95) 100%), url('assets/b2b-bg.webp');
            background-size: cover;
            background-position: center;
        }

        .b2b-grid {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 60px;
            align-items: center;
        }

        .b2b-content h2 {
            font-size: 2.2rem;
            color: var(--color-primary);
            margin-bottom: 20px;
        }

        .b2b-content p {
            font-size: 1.1rem;
            color: #374151;
            margin-bottom: 30px;
        }

        .b2b-features {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 35px;
        }

        .b2b-feature-card {
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.8);
            padding: 20px;
            border-radius: 8px;
            display: flex;
            gap: 15px;
            transition: var(--transition-smooth);
        }

        .b2b-feature-card:hover {
            background: #FFFFFF;
            transform: translateX(5px);
            box-shadow: var(--shadow-md);
        }

        .b2b-feature-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            background-color: var(--color-primary);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .b2b-feature-icon svg {
            width: 20px;
            height: 20px;
            fill: var(--color-accent);
        }

        .b2b-feature-text h3 {
            font-size: 1rem;
            color: var(--color-primary);
            margin-bottom: 4px;
        }

        .b2b-feature-text p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin: 0;
        }

        .b2b-badge {
            background-color: var(--color-primary);
            color: var(--color-text-light);
            display: inline-block;
            padding: 6px 14px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 15px;
        }

        .b2b-visual {
            background-color: var(--color-primary);
            color: var(--color-text-light);
            padding: 40px;
            border-radius: 16px;
            box-shadow: var(--shadow-lg);
            border-left: 5px solid var(--color-accent);
        }

        .b2b-visual h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .b2b-visual h3 svg {
            width: 22px;
            height: 22px;
            fill: var(--color-accent);
        }

        .b2b-visual ul {
            list-style: none;
            margin-bottom: 30px;
        }

        .b2b-visual ul li {
            margin-bottom: 15px;
            font-size: 0.95rem;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .b2b-visual ul li svg {
            width: 16px;
            height: 16px;
            fill: var(--color-accent);
            margin-top: 3px;
            flex-shrink: 0;
        }

        .b2b-visual .btn {
            width: 100%;
        }

        /* ==========================================
           8. TRUST & PAYMENT METHODS SECTION
           ========================================== */
        .payments-section {
            padding: 50px 0;
            background-color: var(--color-light-bg);
            border-top: 1px solid #E5E7EB;
            border-bottom: 1px solid #E5E7EB;
            text-align: center;
        }

        .payments-section h3 {
            font-family: var(--font-headers);
            font-size: 1.2rem;
            color: var(--color-primary);
            margin-bottom: 25px;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

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

        .payment-card {
            background-color: var(--color-text-light);
            border: 1px solid #E5E7EB;
            border-radius: 10px;
            padding: 14px 22px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition-smooth);
        }

        .payment-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            border-color: var(--color-accent);
        }

        .payment-card svg {
            width: 24px;
            height: 24px;
            stroke: var(--color-primary);
            fill: none;
            transition: var(--transition-smooth);
        }

        .payment-card:hover svg {
            stroke: var(--color-accent-hover);
        }

        .payment-card span {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--color-text-dark);
        }

        /* ==========================================
           9. CONTACT & LOCATION
           ========================================== */
        .contact-grid {
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            gap: 50px;
            align-items: stretch;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

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

        .contact-detail-card {
            background-color: var(--color-text-light);
            border-radius: 8px;
            padding: 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(0,0,0,0.05);
            display: flex;
            gap: 15px;
        }

        .contact-detail-icon {
            width: 46px;
            height: 46px;
            background-color: rgba(11, 37, 69, 0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-detail-icon svg {
            width: 20px;
            height: 20px;
            fill: var(--color-primary);
        }

        .contact-detail-text h3 {
            font-size: 0.95rem;
            color: var(--color-primary);
            margin-bottom: 4px;
        }

        .contact-detail-text p {
            font-size: 0.9rem;
            color: var(--color-text-muted);
            white-space: pre-line;
        }

        /* Map Iframe container */
        .map-container {
            background-color: var(--color-text-light);
            border-radius: 12px;
            padding: 15px;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 380px;
        }

        .map-frame {
            flex-grow: 1;
            border-radius: 8px;
            background-color: #E2E8F0;
            overflow: hidden;
            position: relative;
            border: 1px solid #CBD5E1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .map-frame iframe {
            border: 0;
            width: 100%;
            height: 100%;
        }

        .map-caption {
            margin-top: 12px;
            font-size: 0.75rem;
            color: var(--color-text-muted);
            text-align: center;
            font-weight: 500;
        }

        /* ==========================================
           10. FOOTER
           ========================================== */
        footer {
            background-color: #051427;
            color: var(--color-text-light);
            padding: 60px 0 30px 0;
            border-top: 4px solid var(--color-accent);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .footer-brand .logo {
            margin-bottom: 20px;
        }

        .footer-brand p {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.7);
            max-width: 280px;
        }

        .footer-title {
            font-family: var(--font-headers);
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--color-accent);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 20px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
        }

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

        .social-links {
            display: flex;
            gap: 15px;
            list-style: none;
        }

        .social-links a {
            width: 36px;
            height: 36px;
            background-color: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition-smooth);
        }

        .social-links a:hover {
            background-color: var(--color-accent);
            border-color: var(--color-accent);
        }

        .social-links a:hover svg {
            fill: #000000;
        }

        .social-links svg {
            width: 16px;
            height: 16px;
            fill: var(--color-text-light);
            transition: var(--transition-smooth);
        }



        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .footer-bottom p {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.5);
        }

        .footer-bottom-links {
            display: flex;
            align-items: center;
            gap: 20px;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.5);
        }

        /* Floating WhatsApp Button (Optimized Quality) */
        .floating-whatsapp {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: #25D366; /* WhatsApp official green */
            border-radius: 50%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999;
            transition: var(--transition-smooth);
            border: none;
            cursor: pointer;
        }

        .floating-whatsapp:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
        }

        /* ==========================================
           11. RESPONSIVE DESIGN (Mobile-First)
           ========================================== */
        
        /* Tablets (Landscape & Portrait) */
        @media (max-width: 992px) {
            h1 {
                font-size: 2.8rem !important;
            }

            .hero-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .equipment-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .b2b-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .map-container {
                min-height: 300px;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* Mobile phones (Portrait) */
        @media (max-width: 768px) {
            section {
                padding: 60px 0;
            }

            .section-header {
                margin-bottom: 40px;
            }

            .section-header h2 {
                font-size: 1.8rem;
            }

            h1 {
                font-size: 2.2rem !important;
            }

            .hero {
                padding: 120px 0 60px 0;
            }

            .nav-toggle {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background-color: var(--color-primary);
                flex-direction: column;
                padding: 40px 24px;
                gap: 25px;
                transition: 0.4s ease-in-out;
                align-items: flex-start;
                border-top: 1px solid var(--color-dark-border);
                box-shadow: var(--shadow-lg);
            }

            header.scrolled .nav-links {
                top: 65px;
                height: calc(100vh - 65px);
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links .btn {
                width: 100%;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .b2b-visual {
                padding: 24px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .floating-whatsapp {
                bottom: 20px;
                right: 20px;
                width: 50px;
                height: 50px;
            }
        }

        /* ==========================================
           WIDGET DE PRENSA HIDRÁULICA FLOTANTE (Scroll-driven)
           ========================================== */
        .hydraulic-press-widget {
            position: fixed;
            left: 25px;
            bottom: 120px;
            width: 80px;
            height: 180px;
            z-index: 999;
            display: none;
            flex-direction: column;
            align-items: center;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }

        @media (min-width: 1024px) {
            .hydraulic-press-widget {
                display: flex;
            }
        }

        .press-frame {
            width: 60px;
            height: 140px;
            border: 4px solid var(--color-secondary);
            border-bottom: 8px solid var(--color-secondary);
            background-color: rgba(11, 37, 69, 0.4);
            position: relative;
            border-radius: 6px;
            box-shadow: var(--shadow-md);
            backdrop-filter: blur(2px);
            pointer-events: auto;
            cursor: pointer;
        }

        .press-top-cylinder {
            position: absolute;
            top: 0;
            left: 12px;
            width: 28px;
            height: 30px;
            background: linear-gradient(90deg, #1f3d60, #133054);
            border-bottom: 3px solid var(--color-accent);
        }

        .press-piston {
            position: absolute;
            top: 30px;
            left: 21px;
            width: 10px;
            height: 60px;
            background: linear-gradient(90deg, #b0c4de, #e6f2ff, #b0c4de);
        }

        .press-anvil-piece {
            position: absolute;
            bottom: 0;
            left: 16px;
            width: 20px;
            height: 25px;
            background: linear-gradient(90deg, #ffd700, #ffc300, #ffb300);
            border-radius: 3px;
            transition: background-color 0.3s ease;
        }

        .press-base {
            position: absolute;
            bottom: -4px;
            left: -4px;
            width: 60px;
            height: 6px;
            background-color: var(--color-secondary);
        }

        .press-bubble {
            position: absolute;
            left: 70px;
            bottom: 20px;
            width: 140px;
            background-color: var(--color-accent);
            color: #000000;
            padding: 8px 12px;
            border-radius: 10px;
            font-size: 0.75rem;
            line-height: 1.3;
            box-shadow: var(--shadow-lg), var(--shadow-accent);
            opacity: 0;
            transform: translateX(-10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            pointer-events: auto;
            cursor: pointer;
            text-align: center;
        }

        .press-bubble::before {
            content: '';
            position: absolute;
            left: -8px;
            bottom: 12px;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 6px 8px 6px 0;
            border-color: transparent var(--color-accent) transparent transparent;
        }

        .press-bubble.show {
            opacity: 1;
            transform: translateX(0);
        }

/* ==========================================
   9. FAQ SECTION (Preguntas Frecuentes)
   ========================================== */
.faq {
    background-color: var(--color-primary);
    position: relative;
    padding: 100px 0;
    border-top: 1px solid var(--color-dark-border);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--color-accent);
}

.faq-trigger {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-headers);
    font-weight: 700;
    color: var(--color-text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.faq-trigger svg {
    width: 16px;
    height: 16px;
    fill: var(--color-text-light);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-trigger {
    color: var(--color-accent);
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
    fill: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(11, 37, 69, 0.4);
}

.faq-answer-content {
    padding: 0 24px 20px 24px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-answer-content p {
    margin-bottom: 10px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    padding-left: 20px;
    margin-top: 5px;
}

.faq-answer-content li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

/* ==========================================
   10. SUB-PAGES STYLE (Silo Pages)
   ========================================== */
.service-hero {
    position: relative;
    padding: 140px 0 80px 0;
    background-color: var(--color-primary);
    border-bottom: 1px solid var(--color-dark-border);
    text-align: center;
}

.service-hero h1 {
    font-size: 2.8rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.service-detail {
    padding: 80px 0;
    background-color: var(--color-primary);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

.service-text-content h2 {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-text-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tech-box {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.service-tech-box h3 {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-dark-border);
    padding-bottom: 10px;
}

.tech-spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-spec-list li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.tech-spec-list li strong {
    color: var(--color-accent);
}

/* ==========================================
   11. BLOG STYLES
   ========================================== */
.blog-section {
    padding: 120px 0 80px 0;
    background-color: var(--color-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}

.blog-card-title {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--color-accent);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-link:hover {
    text-decoration: underline;
}

/* Article detail container */
.article-section {
    padding: 140px 0 80px 0;
    background-color: var(--color-primary);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-body {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.7rem;
    color: var(--color-accent);
    margin: 40px 0 20px 0;
    text-transform: uppercase;
}

.article-body h3 {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin: 30px 0 15px 0;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    border-left: 4px solid var(--color-accent);
    background-color: rgba(255, 195, 0, 0.05);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}

.article-body th, .article-body td {
    padding: 12px 15px;
    border: 1px solid var(--color-dark-border);
    text-align: left;
}

.article-body th {
    background-color: var(--color-dark-card);
    color: var(--color-accent);
}

.article-body td {
    background-color: rgba(255,255,255,0.02);
}

.article-cta {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-accent);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(255, 195, 0, 0.05);
}

.article-cta h3 {
    color: var(--color-text-light);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.article-cta p {
    margin-bottom: 25px;
    color: rgba(255,255,255,0.8);
}
