/* =====================================================
   ALCAVIL - STYLES CSS - INDUSTRIAL TIER 1 v5
   Paleta: Navy Blue + Steel Gray + Safety Orange
   ===================================================== */

/* ===== CSS VARIABLES - INDUSTRIAL PALETTE ===== */
/* SISTEMA NAVY & COPPER - Auditoría CenterLine 2025 */
:root {
    /* Primary: Navy Profundo (más elegante que CenterLine) */
    --primary: #0A2540;
    --primary-dark: #061527;
    --primary-light: #12436C;
    --navy: #0A2540;
    --navy-light: #12436C;

    /* Accent: Copper Metallic (SIN naranja) */
    --accent: #A0552D;
    --accent-light: #D88E5E;
    --accent-dark: #8A4726;
    --safety-orange: #A0552D; /* Reemplazado por cobre */

    /* Steel/Graphite Grays */
    --steel: #2d3436;
    --steel-light: #4a5568;
    --graphite: #1a1d21;
    --silver: #a0aec0;

    /* Industrial Colors for differentiation */
    --industrial-blue: #1e5799;
    --industrial-green: #1d6f42;
    --industrial-yellow: #f7b731;
    --copper: #b87333;

    /* COPPER METALLIC SYSTEM - Firma ALCAVIL */
    --copper-dark: #A0552D;
    --copper-light: #D88E5E;
    --copper-gradient: linear-gradient(90deg, #A0552D 0%, #D88E5E 50%, #A0552D 100%);
    --copper-gradient-line: linear-gradient(90deg, #A0552D 0%, #D88E5E 100%);

    /* Text */
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #cbd5e0;
    --text-white: #ffffff;

    /* Backgrounds - Solo grises neutros, SIN colores raros */
    --bg-white: #ffffff;
    --bg-light: #F5F7FA;
    --bg-dark: #0A2540;
    --bg-steel: #2d3436;
    --border: #e2e8f0;

    /* Semantic */
    --success: #1d6f42;
    --warning: #f7b731;
    --error: #c0392b;
    --whatsapp: #25D366;

    /* Spacing - Industrial (más rectos) */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;

    /* Shadows - más sutiles */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.18);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.2);

    /* Transitions */
    --transition: all 0.2s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text-dark); background: var(--bg-white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Industrial Typography - Oswald for headings */
h1, h2, h3, h4, .heading { font-family: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 1.75rem; line-height: 1.3; }
h3 { font-size: 1.25rem; line-height: 1.4; }
h4 { font-size: 1rem; line-height: 1.4; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-size: 0.95rem; font-weight: 600; border-radius: var(--radius-md); border: none; cursor: pointer; transition: var(--transition); }
.btn-primary { background: var(--accent); color: var(--text-white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-dark); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-dark { background: transparent; color: var(--text-dark); border: 2px solid var(--text-dark); }
.btn-outline-dark:hover { background: var(--text-dark); color: var(--text-white); }
.btn-outline-light { background: transparent; color: var(--text-white); border: 2px solid var(--text-white); }
.btn-outline-light:hover { background: var(--text-white); color: var(--primary); }
.btn-whatsapp { background: var(--whatsapp); color: var(--text-white); }
.btn-whatsapp:hover { background: #1da851; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Botón Header - Estilo sobrio */
.btn-header {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-header:hover {
    background: var(--primary);
    color: var(--text-white);
}

/* ===== TOP BAR ===== */
.top-bar { background: var(--primary-dark); color: var(--text-light); padding: 0.5rem 0; font-size: 0.85rem; position: sticky; top: 0; z-index: 1001; overflow: visible; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-item { display: flex; align-items: center; gap: 0.5rem; color: var(--text-light); transition: var(--transition); }
.top-bar-item:hover { color: var(--accent-light); }
.top-bar-item svg { opacity: 0.7; }

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255,255,255,0.2);
    margin-right: 0.5rem;
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    color: var(--text-light);
    opacity: 0.7;
    transition: var(--transition);
    font-size: 0.8rem;
}
.lang-btn:hover {
    opacity: 1;
    background: rgba(255,255,255,0.1);
}
.lang-btn.active {
    opacity: 1;
    background: rgba(255,255,255,0.15);
    font-weight: 600;
}
.lang-flag {
    font-size: 1rem;
    line-height: 1;
}
.lang-code {
    font-weight: 500;
    letter-spacing: 0.5px;
}
.lang-divider {
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}
.rwma-badge {
    background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper-light) 100%);
    padding: 0.3rem 0.85rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
}
.trust-badge {
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-left: 0.75rem;
}

/* ===== HEADER ===== */
.header { background: var(--bg-white); padding: 0.75rem 0; position: sticky; top: 36px; z-index: 1000; box-shadow: var(--shadow-sm); transition: var(--transition); }
.header-scrolled { box-shadow: var(--shadow-md); }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo img, .logo-img { height: 70px; width: auto; }
.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #B87333;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
.nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-item { position: relative; }
.nav-item, .nav > a { display: block; padding: 0.75rem 1rem; font-weight: 500; color: var(--text-dark); transition: var(--transition); border-radius: var(--radius-md); text-decoration: none; }
.nav-item:hover, .nav > a:hover { color: var(--accent); background: rgba(184, 115, 51, 0.08); }

/* ===== MEGA MENU ===== */
.megamenu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); min-width: 500px; padding: 1.5rem; z-index: 100; border: 1px solid var(--border); }
.megamenu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.megamenu-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-medium); margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.megamenu-col > a { display: block; padding: 0.5rem 0; color: var(--text-dark); font-size: 0.9rem; transition: var(--transition); }
.megamenu-col > a:hover { color: var(--accent); padding-left: 0.5rem; }
.megamenu-item { display: flex; align-items: center; gap: 1rem; padding: 0.75rem; border-radius: var(--radius-md); transition: var(--transition); }
.megamenu-item:hover { background: var(--bg-light); }
.megamenu-item img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }
.megamenu-item strong { display: block; font-size: 0.95rem; color: var(--text-dark); }
.megamenu-item span { font-size: 0.8rem; color: var(--text-medium); }
.megamenu-footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; gap: 1.5rem; }
.megamenu-footer a { font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.megamenu-footer a:hover { text-decoration: underline; }
.tag-popular { background: var(--accent); color: var(--text-white); padding: 0.15rem 0.5rem; border-radius: 50px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.header-cta .btn { padding: 0.6rem 1.25rem; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-actions .btn { padding: 0.6rem 1.25rem; }

/* ===== MOBILE MENU ===== */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { width: 25px; height: 2px; background: var(--text-dark); transition: var(--transition); }

/* ===== HERO SECTION ===== */
.hero { min-height: calc(100vh - 120px); background: var(--primary); }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 120px); }
.hero-video-side { position: relative; overflow: hidden; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(30, 58, 95, 0.3) 100%); }
.hero-content-side {
    display: flex;
    align-items: center;
    padding: 3rem;
    background: var(--primary);
    /* Textura de metal cepillado sutil */
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 4px 100%, 100% 4px;
    position: relative;
}
.hero-content-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}
.hero-content { max-width: 550px; position: relative; z-index: 1; }
.hero-content h1 { font-size: 2.75rem; font-weight: 800; line-height: 1.2; color: var(--text-white); margin-bottom: 1rem; }
.text-accent { color: var(--accent-light); }
.hero-subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-badge { background: rgba(255,255,255,0.1); color: var(--text-light); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== SECTION BASE ===== */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.75rem; }
.section-header p { font-size: 1.1rem; color: var(--text-medium); max-width: 600px; margin: 0 auto; }
.section-header-light h2 { color: var(--text-white); }
.section-header-light p { color: var(--text-light); }

/* ===== EDUCATION SECTION ===== */
.section-education {
    background: var(--bg-light);
    /* Textura sutil de ruido industrial */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}
.education-grid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: center; }
.education-content h2 { font-size: 1.75rem; color: var(--text-dark); margin-bottom: 1rem; }
.education-content > p { font-size: 1.1rem; color: var(--text-medium); margin-bottom: 2rem; }
.welding-types { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.welding-type { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--bg-white); border-radius: var(--radius-md); border: 1px solid var(--border); }
.welding-type-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.welding-type-icon.spot { background: #e3f2fd; color: #1976d2; }
.welding-type-icon.seam { background: #e8f5e9; color: #388e3c; }
.welding-type-icon.projection { background: #fff3e0; color: #f57c00; }
.welding-type strong { display: block; color: var(--text-dark); }
.welding-type span { font-size: 0.85rem; color: var(--text-medium); }
.education-diagram { display: flex; justify-content: center; }
.diagram-box { background: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: relative; width: 300px; }
.diagram-electrode { width: 60px; height: 80px; background: var(--accent); border-radius: var(--radius-sm) var(--radius-sm) 50% 50%; margin: 0 auto; }
.diagram-electrode.bottom { border-radius: 50% 50% var(--radius-sm) var(--radius-sm); }
.diagram-workpiece { background: #90caf9; margin: 0.5rem auto; padding: 0.75rem; text-align: center; border-radius: var(--radius-sm); }
.diagram-workpiece span { display: block; font-size: 0.75rem; color: var(--primary); }
.diagram-labels { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 1rem; }
.diagram-labels span { font-size: 0.75rem; font-weight: 600; color: var(--text-medium); background: var(--bg-light); padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); }

/* ===== ABOUT HOME SECTION ===== */
.section-about-home { background: var(--bg-white); }
.about-home-grid { display: grid; grid-template-columns: 300px 1fr; gap: 4rem; align-items: center; margin-bottom: 3rem; }
.about-home-image { position: relative; }
.about-home-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge-years { position: absolute; bottom: -1rem; right: -1rem; background: var(--accent); color: var(--text-white); padding: 1rem 1.5rem; border-radius: var(--radius-lg); font-size: 1.25rem; font-weight: 800; box-shadow: var(--shadow-md); }
.about-home-content h2 { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.about-since { font-size: 1rem; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.about-home-content > p { font-size: 1.1rem; color: var(--text-medium); margin-bottom: 1.5rem; }
.about-checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.about-checklist li { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; color: var(--text-dark); }
.about-checklist svg { color: var(--success); flex-shrink: 0; }
.clients-section { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border); }
.clients-title { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 1.5rem; }
.clients-logos { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.client-logo { font-size: 1.25rem; font-weight: 800; color: var(--text-medium); opacity: 0.5; letter-spacing: 2px; }

/* ===== MATERIALS CAROUSEL ===== */
.section-materials-carousel {
    background: var(--bg-light);
    /* Textura de ruido sutil */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
}
.materials-carousel { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-bottom: 2rem; }
.material-card-carousel { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.material-card-carousel:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.material-card-carousel.featured { border: 2px solid var(--accent); }
.material-card-carousel img { width: 100%; height: 120px; object-fit: cover; }
.material-card-content { padding: 1rem; }
.material-class { display: inline-block; background: var(--primary); color: var(--text-white); padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; }
.material-card-content h3 { font-size: 0.95rem; color: var(--text-dark); margin: 0.5rem 0 0.25rem; }
.material-card-content p { font-size: 0.8rem; color: var(--text-medium); margin-bottom: 0.75rem; }
.materials-cta { text-align: center; }

/* ===== SOLUTIONS SECTION ===== */
.section-solutions {
    background: var(--primary);
    padding: 5rem 0;
    /* Textura de metal industrial */
    background-image:
        linear-gradient(135deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0,0,0,0.1) 25%, transparent 25%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 0, 10px -10px, 0px 10px;
    position: relative;
}
.section-solutions::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
.solution-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.solution-header { padding: 1.25rem; color: var(--text-white); position: relative; }
.solution-header.spot { background: linear-gradient(135deg, var(--industrial-blue), #15437a); }
.solution-header.seam { background: linear-gradient(135deg, var(--industrial-green), #155a32); }
.solution-header.projection { background: linear-gradient(135deg, var(--safety-orange), #cc5500); }
.solution-header.electrical { background: linear-gradient(135deg, var(--industrial-yellow), #d49d1a); }
.solution-icon { font-size: 1.5rem; opacity: 0.5; position: absolute; right: 1rem; top: 1rem; }
.solution-header h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.solution-subtitle { font-size: 0.8rem; opacity: 0.8; }
.solution-body { padding: 1.5rem; }
.solution-img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 1rem; }
.solution-info { margin-bottom: 1rem; }
.info-block { margin-bottom: 0.75rem; }
.info-block strong { display: block; font-size: 0.75rem; color: var(--text-medium); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.25rem; }
.info-block p { font-size: 0.9rem; color: var(--text-dark); }
.info-block.highlight { background: var(--bg-light); padding: 0.75rem; border-radius: var(--radius-md); border-left: 3px solid var(--accent); }
.info-block.durability { background: #fffde7; padding: 0.75rem; border-radius: var(--radius-md); }
.info-props { display: flex; gap: 1rem; margin-bottom: 0.75rem; }
.info-props span { font-size: 0.85rem; color: var(--text-dark); }
.info-props strong { color: var(--accent); }
.service-tag { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--success); font-weight: 500; margin-top: 0.75rem; }

/* ===== DOWNLOADS SECTION ===== */
.section-downloads { background: var(--bg-light); }
.downloads-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.download-card { background: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.download-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.download-card.download-cta { background: var(--primary); border-color: var(--primary); }
.download-card.download-cta .download-icon, .download-card.download-cta h4, .download-card.download-cta span { color: var(--text-white); }
.download-icon { color: var(--accent); margin-bottom: 1rem; }
.download-card h4 { font-size: 1rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.download-card span { font-size: 0.85rem; color: var(--text-medium); }

/* ===== QUOTE SECTION ===== */
.section-quote { background: var(--bg-white); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.quote-info h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.quote-info > p { font-size: 1.1rem; color: var(--text-medium); margin-bottom: 2rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: var(--bg-light); border-radius: var(--radius-md); }
.contact-card-icon { width: 48px; height: 48px; background: var(--primary); color: var(--text-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-icon.whatsapp { background: var(--whatsapp); }
.contact-card strong { display: block; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--text-medium); line-height: 1.5; }
.contact-card a:hover { color: var(--accent); }
.whatsapp-card { background: #e8f5e9; }
.quote-map { margin-top: 1rem; }

/* ===== QUOTE FORM ===== */
.quote-form-container { background: var(--bg-light); padding: 2rem; border-radius: var(--radius-lg); }
.quote-form h3 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--accent); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem 1rem; font-size: 0.95rem; border: 1px solid var(--border); border-radius: var(--radius-md); transition: var(--transition); font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-options { display: flex; flex-direction: column; gap: 0.5rem; }
.form-option { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: var(--bg-white); border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); }
.form-option:hover { background: var(--bg-light); }
.form-option input { width: auto; }
.form-option span { font-size: 0.9rem; }
.file-dropzone { border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 2rem; text-align: center; cursor: pointer; transition: var(--transition); }
.file-dropzone:hover, .file-dropzone.dragover { border-color: var(--accent); background: rgba(184, 115, 51, 0.05); }
.file-dropzone svg { color: var(--text-medium); margin-bottom: 0.75rem; }
.file-dropzone p { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 0.75rem; }
.file-dropzone p span { font-size: 0.8rem; opacity: 0.7; }
.file-dropzone input[type="file"] { display: none; }

/* ===== PRE-FOOTER CTA (Unified with Footer) ===== */
.services-cta,
.services-faq,
.section-cta-academy,
.cta-academy-box {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px);
}
.services-cta h2,
.services-faq h2,
.section-cta-academy h2,
.cta-academy-box h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}
.services-cta p,
.section-cta-academy p,
.cta-academy-box p {
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.services-cta .cta-buttons,
.cta-academy-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* FAQ Section for Services page - dark background */
.services-faq {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0f1f33 100%);
    color: white;
}
.services-faq h2 {
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}
.services-faq .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    text-align: left;
}
.services-faq .faq-item {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
.services-faq .faq-item h3 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.services-faq .faq-item p {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    /* Textura de metal oscuro */
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px);
    position: relative;
}
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 50px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; color: var(--text-light); opacity: 0.8; margin-bottom: 1rem; }
.footer-badge { display: inline-block; background: rgba(255,255,255,0.1); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.75rem; }
.footer-links h4 { font-size: 1rem; font-weight: 600; color: var(--text-white); margin-bottom: 1rem; }
.footer-links a { display: block; font-size: 0.9rem; color: var(--text-light); opacity: 0.7; padding: 0.4rem 0; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--accent-light); padding-left: 0.5rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { font-size: 0.85rem; opacity: 0.6; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px; background: var(--whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: var(--shadow-lg); z-index: 999; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: var(--shadow-xl); }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 4rem 0 3rem;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--text-white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; color: var(--text-light); max-width: 700px; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.breadcrumb a { color: var(--accent-light); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-light); }

/* ===== PRODUCT DETAIL ===== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.product-detail-content h2 { font-size: 1.75rem; color: var(--text-dark); margin-bottom: 1rem; }
.product-detail-content h3 { font-size: 1.35rem; color: var(--primary); margin-top: 2rem; margin-bottom: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.product-detail-content h3:first-of-type { border-top: none; padding-top: 0; }
.product-detail-content > p { color: var(--text-medium); line-height: 1.7; margin-bottom: 1rem; }
.feature-list { margin-bottom: 1.5rem; }
.feature-list li { position: relative; padding: 0.6rem 0 0.6rem 1.75rem; color: var(--text-dark); border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.feature-list li strong { color: var(--primary); }
.product-detail-sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-box { background: var(--bg-light); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.sidebar-box h4 { font-size: 1rem; color: var(--text-dark); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--accent); }
.sidebar-box p { color: var(--text-medium); font-size: 0.9rem; margin-bottom: 0.5rem; }
.material-thumb { display: block; margin-bottom: 0.75rem; border-radius: var(--radius-md); overflow: hidden; border: 2px solid transparent; transition: var(--transition); }
.material-thumb:hover { border-color: var(--accent); }
.material-thumb img { width: 100%; }
.doc-link { display: block; padding: 0.5rem 0; color: var(--accent); font-size: 0.9rem; }
.doc-link:hover { text-decoration: underline; }
.cta-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 2rem; border-radius: var(--radius-lg); margin-top: 2rem; }
.cta-box h3 { color: var(--text-white) !important; margin-top: 0 !important; border: none !important; padding-top: 0 !important; }
.cta-box p { color: var(--text-light) !important; margin-bottom: 1.5rem; }
.cta-box .btn { margin-right: 0.75rem; margin-bottom: 0.5rem; }

/* ===== FAQ SECTION ===== */
.faq-section { background: var(--bg-light); }
.faq-section h2 { font-size: 1.75rem; color: var(--text-dark); margin-bottom: 2rem; text-align: center; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.faq-item { background: var(--bg-white); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.faq-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq-item h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 0.75rem; }
.faq-item p { color: var(--text-medium); font-size: 0.95rem; line-height: 1.6; }

/* ===== MATERIALS FULL GRID ===== */
.materials-full-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.material-full-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.material-full-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.material-full-card.featured { border: 2px solid var(--accent); }
.material-header { padding: 1.25rem; position: relative; }
/* Industrial colors - NO purple/pink */
.material-header.class-1 { background: linear-gradient(135deg, var(--industrial-green), #155a32); }
.material-header.class-2 { background: linear-gradient(135deg, var(--industrial-blue), #15437a); }
.material-header.class-3 { background: linear-gradient(135deg, var(--safety-orange), #cc5500); }
.material-header.class-4 { background: linear-gradient(135deg, var(--industrial-yellow), #d49d1a); }
.material-header.refrac { background: linear-gradient(135deg, var(--steel), #1a1d21); }
.material-header h3 { color: var(--text-white); font-size: 1rem; margin-top: 0.5rem; }
.class-badge { display: inline-block; background: rgba(255,255,255,0.2); color: var(--text-white); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; }
.popular-badge { position: absolute; top: 0.75rem; right: 0.75rem; background: var(--accent); color: var(--text-white); padding: 0.25rem 0.5rem; border-radius: var(--radius-md); font-size: 0.65rem; font-weight: 700; }
.material-body { padding: 1.5rem; }
.material-body h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.material-code { font-size: 0.85rem; color: var(--text-medium); font-family: monospace; margin-bottom: 1rem; }
.material-body ul { margin-bottom: 1rem; }
.material-body li { font-size: 0.9rem; color: var(--text-medium); padding: 0.35rem 0 0.35rem 1rem; position: relative; }
.material-body li::before { content: "•"; position: absolute; left: 0; color: var(--accent); }

/* ===== CROSS-SELL BOX ===== */
.crosssell-box { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 1.5rem; margin: 2rem 0; }
.crosssell-box h4 { color: var(--accent-dark); font-size: 1.1rem; margin-bottom: 1rem; }
.crosssell-box ul { margin-bottom: 1rem; }
.crosssell-box li { padding: 0.5rem 0; color: var(--text-dark); }
.crosssell-box .btn { margin-right: 0.5rem; }

/* ===== DOCS DOWNLOAD ===== */
.docs-download-section { background: var(--bg-light); padding: 2rem; border-radius: var(--radius-lg); text-align: center; margin-top: 2rem; }
.docs-download-section h3 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 1.5rem; }
.docs-grid-simple { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-video-side { height: 300px; }
    .hero-content h1 { font-size: 2rem; }
    .education-grid { grid-template-columns: 1fr; }
    .education-diagram { display: none; }
    .about-home-grid { grid-template-columns: 1fr; text-align: center; }
    .about-home-image { max-width: 250px; margin: 0 auto; }
    .materials-carousel { grid-template-columns: repeat(3, 1fr); }
    .solutions-grid { grid-template-columns: 1fr; }
    .downloads-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-detail-sidebar { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-left { gap: 0.75rem; }
    .top-bar-item.location { display: none; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); flex-direction: column; padding: 1rem; box-shadow: var(--shadow-lg); }
    .nav.nav-open { display: flex; }
    .nav-item { padding: 1rem; }
    .megamenu { position: static; box-shadow: none; min-width: auto; border: none; padding: 0 1rem; }
    .mobile-menu-btn { display: flex; }
    .header-cta { display: none; }
    .header-actions { display: none; }
    .hero-content-side { padding: 2rem 1.5rem; }
    .hero-content h1 { font-size: 1.75rem; }
    .materials-carousel { grid-template-columns: repeat(2, 1fr); }
    .downloads-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .product-detail-sidebar { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .top-bar { padding: 0.35rem 0; font-size: 0.75rem; }
    .rwma-badge { display: none; }
    .hero-video-side { height: 200px; }
    .hero-badges { flex-direction: column; }
    .hero-cta { flex-direction: column; }
    .materials-carousel { grid-template-columns: 1fr; }
    .clients-logos { gap: 1.5rem; }
    .client-logo { font-size: 1rem; }
}

/* =====================================================
   SECCIÓN EDUCATIVA EXPANDIDA - "QUÉ ES SOLDADURA"
   ===================================================== */
.section-education { background: #f8f9fa; position: relative; overflow: hidden; }
.section-education::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }

.section-tag { display: inline-block; background: var(--accent); color: white; padding: 0.35rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }

.education-header { text-align: center; max-width: 900px; margin: 0 auto 3rem; }
.education-header h2 { font-size: 2.25rem; color: var(--primary); margin-bottom: 1.5rem; }
.education-intro { font-size: 1.1rem; color: var(--text-medium); line-height: 1.8; }

.education-grid-expanded { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; align-items: start; }

/* Contenido Principal */
.education-content-main h3 { font-size: 1.35rem; color: var(--primary); margin-bottom: 1rem; border-left: 4px solid var(--accent); padding-left: 1rem; }
.education-principle, .education-advantages, .education-applications { background: white; padding: 2rem; border-radius: var(--radius-lg); margin-bottom: 2rem; box-shadow: var(--shadow-sm); }

/* Fórmula Box */
.formula-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 1.5rem 2rem; border-radius: var(--radius-md); text-align: center; margin-top: 1.5rem; }
.formula { font-family: 'Georgia', serif; font-size: 1.75rem; font-style: italic; display: block; margin-bottom: 0.5rem; }
.formula-legend { font-size: 0.85rem; opacity: 0.85; }

/* Ventajas Grid */
.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.advantage-item { display: flex; gap: 1rem; align-items: flex-start; }
.advantage-icon { font-size: 1.75rem; flex-shrink: 0; }
.advantage-item strong { display: block; color: var(--primary); margin-bottom: 0.25rem; }
.advantage-item p { font-size: 0.9rem; color: var(--text-medium); margin: 0; }

/* Aplicaciones */
.applications-list { margin-top: 1rem; }
.applications-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); color: var(--text-medium); }
.applications-list li:last-child { border-bottom: none; }
.applications-list strong { color: var(--primary); }

/* Sidebar - Blueprint Diagram - CAD/AutoCAD Style */
.education-sidebar { position: sticky; top: 150px; }

.blueprint-diagram {
    background: #0a1628;
    border: 1px solid var(--industrial-blue);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-family: 'Courier New', 'Consolas', monospace;
    position: relative;
}
/* Grid pattern overlay for CAD look */
.blueprint-diagram::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(30,87,153,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,87,153,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}
.blueprint-header {
    background: var(--graphite);
    color: var(--silver);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--industrial-blue);
}
.blueprint-content { padding: 2rem 1.5rem; color: #4fd1c5; position: relative; z-index: 1; }

.bp-electrode {
    background: linear-gradient(135deg, var(--copper) 0%, #8f5a28 100%);
    height: 28px;
    width: 55%;
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
}
.bp-electrode.bp-top { border-radius: 2px 2px 0 0; }
.bp-electrode.bp-bottom { border-radius: 0 0 2px 2px; }
.bp-label { font-size: 0.6rem; color: white; font-weight: 600; }
.bp-material { font-size: 0.5rem; opacity: 0.9; color: rgba(255,255,255,0.8); }

.bp-force-arrow { text-align: center; padding: 0.4rem; font-size: 0.65rem; color: var(--industrial-yellow); font-weight: 600; }
.bp-force-arrow span { display: block; }

.bp-workpieces { position: relative; margin: 0.4rem 0; }
.bp-sheet {
    background: var(--steel);
    height: 18px;
    width: 75%;
    margin: 1px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: var(--silver);
    border: 1px solid rgba(255,255,255,0.2);
}
.bp-nugget {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--safety-orange);
    width: 36px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: white;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255,107,0,0.6);
    border: 2px solid rgba(255,255,255,0.3);
}

.bp-current {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.65rem;
    padding: 0.75rem;
    border-top: 1px solid rgba(30,87,153,0.5);
    color: var(--silver);
}
.bp-current span { display: block; margin: 0.2rem 0; }

/* Tipos de Soldadura Vertical - Industrial */
.welding-types-vertical {
    background: var(--graphite);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-top: 1.5rem;
    border: 1px solid var(--steel-light);
}
.welding-types-vertical h4 {
    font-size: 0.8rem;
    color: var(--silver);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--steel-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welding-type-card { display: flex; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.welding-type-card:last-child { border-bottom: none; }
.wt-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: var(--steel);
}
.wt-icon.spot { color: var(--industrial-blue); border: 2px solid var(--industrial-blue); }
.wt-icon.seam { color: var(--industrial-green); border: 2px solid var(--industrial-green); }
.wt-icon.projection { color: var(--safety-orange); border: 2px solid var(--safety-orange); }
.wt-icon.flash { color: var(--industrial-yellow); border: 2px solid var(--industrial-yellow); }
.wt-content strong { display: block; font-size: 0.8rem; color: white; }
.wt-content p { font-size: 0.7rem; color: var(--silver); margin: 0; }

.education-cta { text-align: center; margin-top: 3rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   SECCIÓN HISTORIA EXPANDIDA - ABOUT
   ===================================================== */
.about-header { text-align: center; margin-bottom: 3rem; }
.about-header h2 { font-size: 2rem; color: var(--primary); }

.about-home-grid-expanded { display: grid; grid-template-columns: 350px 1fr; gap: 3rem; }

/* Timeline */
.about-timeline { position: relative; padding-left: 2rem; }
.about-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent), var(--primary)); border-radius: 3px; }

.timeline-item { position: relative; margin-bottom: 2rem; padding-left: 1.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2rem; top: 0; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 3px var(--accent); }
.timeline-item.current::before { background: var(--primary); box-shadow: 0 0 0 3px var(--primary), 0 0 15px rgba(30,58,95,0.4); }

.timeline-year { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.25rem; }
.timeline-content h4 { font-size: 1rem; color: var(--primary); margin-bottom: 0.25rem; }
.timeline-content p { font-size: 0.85rem; color: var(--text-medium); margin: 0; }

/* Value Props */
.about-value-props { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.value-prop-card { background: white; padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); }
.value-prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-prop-card.featured { border-color: var(--accent); background: linear-gradient(135deg, #fff9f3 0%, #fff5eb 100%); }
.vp-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.value-prop-card h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 0.5rem; }
.value-prop-card p { font-size: 0.8rem; color: var(--text-medium); margin: 0; line-height: 1.5; }

/* Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    /* Textura de acero */
    background-image:
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px);
}
.stat-item { text-align: center; color: white; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; opacity: 0.9; }

/* =====================================================
   CARRUSEL DE ELECTRODOS - INDUSTRIAL STYLE
   ===================================================== */
.section-electrodes-carousel {
    background: var(--bg-light);
    /* Textura industrial sutil */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
}
.electrodes-carousel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.electrode-card-carousel {
    background: var(--steel);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--steel-light);
}
.electrode-card-carousel:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

/* Color borders by type - NO solid color backgrounds */
.electrode-card-carousel.spot-card { border-top-color: var(--industrial-blue); }
.electrode-card-carousel.projection-card { border-top-color: var(--safety-orange); }
.electrode-card-carousel.seam-card { border-top-color: var(--industrial-green); }
.electrode-card-carousel.electrical-card { border-top-color: var(--industrial-yellow); }

.electrode-card-header {
    padding: 1.25rem;
    color: white;
    text-align: center;
    background: var(--graphite);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.electrode-card-header.spot { border-left: 4px solid var(--industrial-blue); }
.electrode-card-header.projection { border-left: 4px solid var(--safety-orange); }
.electrode-card-header.seam { border-left: 4px solid var(--industrial-green); }
.electrode-card-header.electrical { border-left: 4px solid var(--industrial-yellow); }

.electrode-icon {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    background: rgba(255,255,255,0.1);
}
.electrode-card-header.spot .electrode-icon { color: var(--industrial-blue); border: 2px solid var(--industrial-blue); }
.electrode-card-header.projection .electrode-icon { color: var(--safety-orange); border: 2px solid var(--safety-orange); }
.electrode-card-header.seam .electrode-icon { color: var(--industrial-green); border: 2px solid var(--industrial-green); }
.electrode-card-header.electrical .electrode-icon { color: var(--industrial-yellow); border: 2px solid var(--industrial-yellow); }

.electrode-card-header h3 { font-size: 0.9rem; margin: 0 0 0.25rem; color: white; }
.electrode-subtitle { font-size: 0.7rem; color: var(--silver); text-transform: none; }

.electrode-card-body { padding: 1.25rem; background: var(--steel); }
.electrode-card-body img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    background: linear-gradient(135deg, #1a1d21 0%, #2d3436 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.electrode-types { margin: 0 0 1rem; }
.electrode-types li {
    padding: 0.4rem 0;
    font-size: 0.8rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.electrode-types li:last-child { border-bottom: none; }

.electrode-card-actions { display: flex; gap: 0.5rem; }
.btn-download {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--steel-light);
    font-size: 0.75rem;
}
.btn-download:hover { background: var(--safety-orange); color: white; border-color: var(--safety-orange); }

/* =====================================================
   RESPONSIVE PARA NUEVOS COMPONENTES
   ===================================================== */
@media (max-width: 1024px) {
    .education-grid-expanded { grid-template-columns: 1fr; }
    .education-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .about-home-grid-expanded { grid-template-columns: 1fr; }
    .about-timeline { margin-bottom: 2rem; }
    .electrodes-carousel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .education-header h2 { font-size: 1.75rem; }
    .advantages-grid { grid-template-columns: 1fr; }
    .education-sidebar { grid-template-columns: 1fr; }
    .about-value-props { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .electrodes-carousel { grid-template-columns: 1fr; }
    .electrode-card-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .about-stats { grid-template-columns: 1fr; }
    .stat-number { font-size: 2rem; }
}

/* =====================================================
   NUEVA ESTRUCTURA INDUSTRIAL V5 - SOBRIA Y TÉCNICA
   ===================================================== */

/* Hero INDUSTRIAL - Tipografía que GRITA fábrica */
.hero-pretitle {
    font-size: 0.85rem;
    color: var(--silver);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.text-copper-bold {
    color: var(--copper-light);
    display: block;
}
.hero-value-prop {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.hero-value-prop strong {
    color: var(--text-white);
}

/* Perfil Corporativo - Estilo CenterLine */
.section-profile {
    background: var(--bg-white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.profile-content {
    max-width: 900px;
    margin: 0 auto;
}
.profile-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0;
}
.profile-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1rem;
}
.profile-text p:last-child {
    margin-bottom: 0;
}
.profile-text strong {
    color: var(--text-dark);
}

/* Profile Grid con Credenciales */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
}

/* Credenciales Visuales - Impacto inmediato */
.profile-credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.credential-box {
    background: var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    border-left: 4px solid var(--copper-dark);
}
.credential-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--copper-light);
    line-height: 1;
    font-family: 'Oswald', sans-serif;
}
.credential-icon {
    font-size: 1.75rem;
    line-height: 1;
}
.credential-label {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Doble Carrusel - Split Screen */
.section-dual-carousel {
    background: var(--bg-light);
    padding: 4rem 0;
}
.dual-carousel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.carousel-side {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.carousel-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.carousel-header h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0;
}
.carousel-header .copper-line {
    margin-top: 6px;
    margin-bottom: 12px;
}
.carousel-subtitle {
    font-size: 0.85rem;
    color: var(--text-medium);
}
.carousel-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
/* TARJETAS DE MATERIALES - Sin cajas negras, con textura cobre */
.carousel-item {
    background: linear-gradient(145deg, #1a1d21 0%, #2d3436 50%, #1a1d21 100%);
    background-image:
        linear-gradient(145deg, #1a1d21 0%, #2d3436 50%, #1a1d21 100%),
        repeating-linear-gradient(90deg, rgba(160,85,45,0.03) 0px, rgba(160,85,45,0.03) 1px, transparent 1px, transparent 4px);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--steel);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.carousel-item:hover {
    border-color: var(--copper-dark);
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(160,85,45,0.2);
}
.carousel-item.featured {
    border: 2px solid var(--copper-dark);
    box-shadow: 0 4px 16px rgba(160,85,45,0.25);
}
.carousel-item.featured::before {
    content: 'MÁS USADO';
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper-light) 100%);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 2;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.carousel-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    filter: brightness(1.15) contrast(1.1) saturate(1.1);
}
.carousel-item-info {
    padding: 0.75rem;
    background: rgba(0,0,0,0.85);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.item-class {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--copper-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.item-name {
    display: block;
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 600;
}
.carousel-note {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-style: italic;
}

/* Botón de descarga en tarjetas del carrusel */
.item-download {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--copper-dark);
    color: var(--text-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}
.item-download:hover {
    background: var(--copper-light);
}
.carousel-item:hover .item-download {
    opacity: 1;
}
.carousel-item-info {
    position: relative;
}

/* Sección SEO Técnica - Especificaciones */
.section-specs {
    background: var(--primary);
    padding: 3rem 0;
    color: var(--text-white);
}
.specs-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--silver);
    margin-bottom: 2rem;
    text-align: center;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.spec-block h4 {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.spec-block ul {
    list-style: none;
}
.spec-block li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.spec-block li:last-child {
    border-bottom: none;
}

/* Documentación Técnica - Botones Sólidos */
.section-downloads-solid {
    background: var(--graphite);
    padding: 3rem 0;
}
.downloads-header {
    text-align: center;
    margin-bottom: 2rem;
}
.downloads-header h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.downloads-header p {
    color: var(--silver);
    font-size: 0.9rem;
}
.downloads-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}
.btn-download-solid {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--steel);
    border: 2px solid var(--steel-light);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    transition: var(--transition);
}
.btn-download-solid:hover {
    border-color: var(--copper-dark);
    background: var(--steel-light);
    transform: translateY(-2px);
}
.btn-download-solid svg {
    color: var(--copper-light);
    flex-shrink: 0;
}
.btn-download-solid span {
    display: flex;
    flex-direction: column;
}
.btn-download-solid strong {
    font-size: 0.9rem;
    font-weight: 600;
}
.btn-download-solid small {
    font-size: 0.75rem;
    color: var(--silver);
    margin-top: 2px;
}
.btn-download-solid.primary {
    background: var(--copper-dark);
    border-color: var(--copper-dark);
}
.btn-download-solid.primary:hover {
    background: var(--copper-light);
    border-color: var(--copper-light);
}
.btn-download-solid.primary svg {
    color: var(--text-white);
}
.btn-download-solid.primary small {
    color: rgba(255,255,255,0.8);
}

/* Formulario de Contacto Industrial */
.section-contact-industrial {
    background: var(--steel);
    padding: 4rem 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info-side h2 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}
.contact-info-side > p {
    color: var(--silver);
    margin-bottom: 2rem;
}
.contact-data {
    margin-bottom: 2rem;
}
.contact-item {
    margin-bottom: 1.5rem;
}
.contact-item strong {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-item a {
    color: var(--text-light);
    transition: var(--transition);
}
.contact-item a:hover {
    color: var(--accent);
}
.contact-form-side {
    background: var(--graphite);
    padding: 2rem;
    border-radius: var(--radius-md);
}
.contact-form .form-group {
    margin-bottom: 1rem;
}
.contact-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--silver);
    margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: var(--steel);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    transition: var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--silver);
    opacity: 0.6;
}
.file-label {
    display: block;
    cursor: pointer;
}
.file-label input[type="file"] {
    display: none;
}
.btn-file {
    width: 100%;
    justify-content: center;
}

/* Footer Minimalista */
.footer-content-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-minimal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.footer-brand-minimal .footer-logo {
    height: 40px;
}
.footer-brand-minimal p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}
.footer-est {
    color: var(--silver) !important;
    font-size: 0.8rem !important;
}
.footer-links-minimal {
    display: flex;
    gap: 2rem;
}
.footer-links-minimal a {
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.8;
    transition: var(--transition);
}
.footer-links-minimal a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Responsive para nueva estructura */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .profile-credentials {
        flex-direction: row;
        justify-content: center;
    }
    .dual-carousel-grid {
        grid-template-columns: 1fr;
    }
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .downloads-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-content-minimal {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-brand-minimal {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-links-minimal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-value-prop {
        font-size: 1rem;
    }
    .profile-credentials {
        flex-direction: column;
    }
    .credential-box {
        min-width: auto;
    }
    .carousel-items {
        grid-template-columns: 1fr;
    }
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .downloads-buttons {
        grid-template-columns: 1fr;
    }
    .btn-download-solid {
        justify-content: center;
    }
}

/* =====================================================
   SISTEMA DE DISEÑO INDUSTRIAL ALCAVIL
   "Línea de Precisión de Cobre" - Firma Gráfica Tier 1
   ===================================================== */

/* ESTILO 1: Línea de Cobre para Títulos (H1, H2) */
.copper-line {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    margin-bottom: 24px;
}
/* El Punto de Contacto - Precisión CNC */
.copper-line::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--copper-dark);
}
/* La Línea de Cobre Pulida */
.copper-line::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--copper-gradient-line);
}

/* Variante centrada */
.copper-line.centered {
    justify-content: center;
}

/* Variante larga */
.copper-line.wide::after {
    width: 120px;
}

/* Variante para hero (más grande) */
.copper-line.hero {
    gap: 6px;
    margin-bottom: 32px;
}
.copper-line.hero::before {
    width: 10px;
    height: 10px;
}
.copper-line.hero::after {
    width: 90px;
    height: 4px;
}

/* ESTILO 2: Hover del Menú con Línea de Cobre Expandible */
.nav-item {
    position: relative;
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--copper-gradient-line);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-item:hover::after,
.nav-item.active::after {
    width: 80%;
}

/* ESTILO 3: Separador de Secciones */
.section-divider {
    width: 100%;
    height: 1px;
    background: var(--copper-dark);
    opacity: 0.2;
    margin: 0;
}

/* Separador con gradiente sutil */
.section-divider.gradient {
    height: 2px;
    background: var(--copper-gradient);
    opacity: 0.3;
}

/* ESTILO 4: Botón con borde de cobre (accent alternativo) */
.btn-copper {
    background: transparent;
    color: var(--copper-dark);
    border: 2px solid var(--copper-dark);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-copper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--copper-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}
.btn-copper:hover {
    color: white;
    border-color: var(--copper-light);
}
.btn-copper:hover::before {
    left: 0;
}

/* ESTILO 5: Cards con acento de cobre */
.copper-accent {
    border-top: 3px solid transparent;
    border-image: var(--copper-gradient) 1;
}

/* ESTILO 6: Texto con gradiente de cobre */
.text-copper {
    background: var(--copper-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Actualizar accent color a cobre en elementos clave */
.profile-timeline {
    border-left-color: var(--copper-dark);
}
.profile-content h2 {
    border-bottom-color: var(--copper-dark);
}
.carousel-item.featured {
    border-color: var(--copper-dark);
}
.item-class {
    color: var(--copper-dark);
}
.spec-block h4 {
    color: var(--copper-light);
}
.contact-item strong {
    color: var(--copper-light);
}
.download-link svg {
    color: var(--copper-dark);
}
.download-link:hover {
    border-color: var(--copper-dark);
    color: var(--copper-dark);
}

/* =====================================================
   HERO FULL-WIDTH - ESTILO CENTERLINE
   Video 100% ancho, logo overlay, texto debajo
   ===================================================== */

/* =====================================================
   HERO FULLWIDTH CON H1 SUPERPUESTO - Estilo 2025
   ===================================================== */
.hero-fullwidth {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
    overflow: hidden;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay oscuro para legibilidad del texto */
.hero-video-overlay-full {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 37, 64, 0.75) 0%,
        rgba(10, 37, 64, 0.5) 40%,
        rgba(10, 37, 64, 0.7) 100%
    );
}

/* LOGO CENTRADO SOBRE EL VIDEO */
.hero-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}
.hero-logo-center img {
    height: 120px;
    width: auto;
    filter: brightness(1.1) drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}
@media (max-width: 768px) {
    .hero-logo-center img {
        height: 80px;
    }
}

/* CONTENIDO HERO SUPERPUESTO SOBRE VIDEO */
.hero-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.hero-logo-main {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero-content-overlay h1 {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-content-overlay h1 .text-copper-bold {
    color: var(--copper-light);
    display: block;
}

.hero-tagline-big {
    font-size: 1.1rem;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta-overlay {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botón Cobre Sólido */
.btn-copper {
    background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper-light) 100%);
    color: var(--text-white);
    border: none;
    padding: 0.9rem 1.75rem;
    font-weight: 600;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(160,85,45,0.3);
}
.btn-copper:hover {
    background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160,85,45,0.4);
}

/* Botón Ghost Light */
.btn-ghost-light {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    border-radius: 2px;
}
.btn-ghost-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--text-white);
}

/* BARRA DE ESTADÍSTICAS - Datos Duros */
.hero-stats-bar {
    background: var(--primary);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--copper-dark);
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number-bar {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--copper-light);
    line-height: 1;
}

.stat-label-bar {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* Legacy - mantener para compatibilidad */
.hero-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.hero-logo-overlay img {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.hero-tagline {
    display: block;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* TEXTO HERO - Sección debajo del video (legacy) */
.hero-text-section {
    background: var(--primary);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 3px solid var(--copper-dark);
}

.hero-text-section .hero-pretitle {
    font-size: 0.85rem;
    color: var(--silver);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-text-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-text-section .copper-line {
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 1.5rem;
}

.hero-text-section .hero-value-prop {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text-section .hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =====================================================
   BOTONES GHOST - Estilo Industrial Transparente
   ===================================================== */

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--copper-light);
    color: var(--copper-light);
}

.btn-ghost.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
}

/* Ghost sobre fondo claro */
.btn-ghost-dark {
    color: var(--primary);
    border-color: rgba(13, 27, 42, 0.3);
}

.btn-ghost-dark:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

/* =====================================================
   SIDEBAR CONTACTO STICKY - Estilo CenterLine
   ===================================================== */

/* STICKY CONTACT SIDEBAR - Estilo CenterLine Mejorado */
.contact-sidebar-sticky {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
}

.sidebar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    width: 65px;
    background: var(--primary);
    color: var(--text-white);
    transition: all 0.3s ease;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.sidebar-btn span {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    opacity: 0.9;
    font-weight: 600;
}

.sidebar-btn:hover {
    width: 85px;
    border-left-color: var(--copper-light);
}

.sidebar-btn:hover span {
    opacity: 1;
}

.sidebar-btn svg {
    flex-shrink: 0;
}

/* BOTÓN COTIZAR - Color Cobre Prominente */
.sidebar-contact {
    background: linear-gradient(135deg, var(--copper-dark) 0%, #8A4726 100%);
    border-left-color: var(--copper-light);
}
.sidebar-contact:hover {
    background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper-dark) 100%);
}

.sidebar-whatsapp {
    background: #25D366;
}

.sidebar-whatsapp:hover {
    background: #1da851;
}

.sidebar-phone {
    background: var(--steel);
}

.sidebar-phone:hover {
    background: var(--copper-dark);
}

/* =====================================================
   RESPONSIVE HERO FULL-WIDTH
   ===================================================== */

@media (max-width: 1024px) {
    .hero-fullwidth {
        height: 50vh;
        min-height: 300px;
    }

    .hero-text-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-fullwidth {
        height: 50vh;
        min-height: 350px;
    }

    .hero-content-overlay h1 {
        font-size: 1.75rem;
    }

    .hero-logo-main {
        height: 50px;
    }

    .hero-tagline-big {
        font-size: 0.9rem;
    }

    .hero-cta-overlay {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number-bar {
        font-size: 1.35rem;
    }

    .hero-logo-overlay img {
        height: 60px;
    }

    .hero-tagline {
        font-size: 0.85rem;
    }

    .hero-text-section {
        padding: 2rem 0;
    }

    .hero-text-section h1 {
        font-size: 1.5rem;
    }

    .hero-text-section .hero-value-prop {
        font-size: 1rem;
    }

    .btn-ghost {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Sidebar más pequeño en móvil */
    .contact-sidebar-sticky {
        bottom: 0;
        top: auto;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: stretch;
        gap: 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    }

    .sidebar-btn {
        flex: 1;
        width: auto;
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.75rem;
        border-left: none;
        border-top: 3px solid transparent;
    }

    .sidebar-btn:hover {
        width: auto;
        border-top-color: var(--copper-light);
    }

    .sidebar-btn span {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero-fullwidth {
        height: 45vh;
        min-height: 300px;
    }

    .hero-content-overlay h1 {
        font-size: 1.35rem;
    }

    .hero-logo-main {
        height: 40px;
        margin-bottom: 1rem;
    }

    .hero-tagline-big {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

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

    .stat-number-bar {
        font-size: 1.2rem;
    }

    .stat-label-bar {
        font-size: 0.65rem;
    }

    .hero-logo-overlay img {
        height: 50px;
    }

    .hero-text-section h1 {
        font-size: 1.25rem;
    }

    .hero-text-section .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-ghost,
    .btn-copper,
    .btn-ghost-light {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   MEJORAS CENTERLINE - Social Icons, Nav Cards, Mega Footer
   ===================================================== */

/* ===== TOP BAR SOCIAL ICONS ===== */
.top-bar-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.top-bar-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.top-bar-social .social-icon:hover {
    background: var(--copper-dark);
    color: var(--text-white);
}

.top-bar-social .social-icon svg {
    width: 14px;
    height: 14px;
}

/* ===== NAVIGATION CARDS - Estilo CenterLine ===== */
.nav-cards-section {
    background: var(--bg-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--copper-gradient-line);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--copper-dark);
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    color: var(--text-white);
}

.nav-card:hover .nav-card-icon {
    background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper-light) 100%);
}

.nav-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.nav-card-desc {
    font-size: 0.85rem;
    color: var(--text-medium);
}

/* ===== MEGA FOOTER - Estilo CenterLine ===== */
.mega-footer {
    background: var(--primary);
    color: var(--text-white);
    padding: 3rem 0 1.5rem;
}

.mega-footer-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mega-footer-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mega-footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-column h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--copper-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--copper-dark);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--copper-light);
    padding-left: 5px;
}

.footer-contact-col .footer-contact-info {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact-col .footer-contact-info p {
    margin-bottom: 0.75rem;
}

.footer-contact-col .footer-contact-info strong {
    color: var(--text-white);
}

.footer-contact-col .footer-contact-info a {
    color: var(--copper-light);
}

.footer-contact-col .footer-contact-info a:hover {
    color: var(--text-white);
}

.footer-address {
    line-height: 1.5;
}

/* Mega Footer Bottom */
.mega-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
}

.footer-brand-mega {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-mega {
    height: 40px;
    width: auto;
    opacity: 0.9;
}

.footer-social-mega {
    display: flex;
    gap: 0.75rem;
}

.footer-social-mega a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social-mega a:hover {
    background: var(--copper-dark);
    color: var(--text-white);
}

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

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

.footer-legal a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--copper-light);
}

/* ===== RESPONSIVE - Nuevos Elementos ===== */
@media (max-width: 1024px) {
    .mega-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .top-bar-social {
        display: none;
    }

    .nav-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-card {
        flex-direction: row;
        text-align: left;
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .nav-card-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin-bottom: 0;
    }

    .mega-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .mega-footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-brand-mega {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mega-footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-cards-section {
        padding: 1rem 0;
    }
}

/* ===== QUICK CONNECT SIDEBAR - Estilo CenterLine ===== */
.quick-connect-sidebar {
    position: fixed;
    right: -300px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: right 0.3s ease;
}

.quick-connect-sidebar.qc-open {
    right: 0;
}

.qc-toggle {
    position: absolute;
    left: -48px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 120px;
    background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper-light) 100%);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.qc-toggle:hover {
    background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper-dark) 100%);
}

.qc-toggle svg {
    transform: rotate(90deg);
}

.qc-panel {
    width: 300px;
    background: var(--primary);
    color: var(--text-white);
    padding: 1.5rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.qc-panel h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--copper-dark);
}

.qc-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qc-form input,
.qc-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    color: var(--text-white);
    font-size: 0.85rem;
    transition: var(--transition);
}

.qc-form input::placeholder,
.qc-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.qc-form input:focus,
.qc-form textarea:focus {
    outline: none;
    border-color: var(--copper-light);
    background: rgba(255,255,255,0.15);
}

.qc-submit {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper-light) 100%);
    border: none;
    border-radius: 3px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.qc-submit:hover {
    background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper-dark) 100%);
    transform: translateY(-2px);
}

/* Quick Connect News Widget */
.qc-news {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.qc-news-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 0.75rem;
}

.qc-news-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    transition: var(--transition);
}

.qc-news-item:hover {
    background: rgba(255,255,255,0.1);
}

.qc-news-item img {
    width: 60px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
}

.qc-news-item span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

/* Responsive Quick Connect */
@media (max-width: 768px) {
    .quick-connect-sidebar {
        display: none;
    }
}

/* ===== ACCESSIBILITY CONTROLS - Estilo CenterLine ===== */
.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.font-size-controls {
    display: flex;
    align-items: baseline;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    padding: 2px;
}

.font-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 2px 5px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 2px;
}

.font-btn:nth-child(1) { font-size: 0.65rem; }
.font-btn:nth-child(2) { font-size: 0.8rem; }
.font-btn:nth-child(3) { font-size: 0.95rem; }

.font-btn:hover {
    color: var(--text-white);
}

.font-btn.active {
    background: var(--copper-dark);
    color: var(--text-white);
}

.contrast-btn,
.print-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 3px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
}

.contrast-btn:hover,
.print-btn:hover {
    background: var(--copper-dark);
    color: var(--text-white);
}

/* High Contrast Mode */
body.high-contrast {
    --bg-white: #000000;
    --bg-light: #1a1a1a;
    --text-dark: #ffffff;
    --text-medium: #e0e0e0;
    --border: #ffffff;
}

body.high-contrast .section-profile,
body.high-contrast .section-specs,
body.high-contrast .nav-cards-section {
    background: #000000;
}

body.high-contrast .nav-card,
body.high-contrast .carousel-item {
    background: #1a1a1a;
    border-color: #ffffff;
}

body.high-contrast .nav-card-title,
body.high-contrast .profile-content h2,
body.high-contrast .specs-title {
    color: #ffffff;
}

body.high-contrast .nav-card-desc,
body.high-contrast .profile-text p,
body.high-contrast .spec-block li {
    color: #e0e0e0;
}

/* =====================================================
   ALCAVIL V.FINAL - RE-INGENIERÍA VISUAL
   Sistema de Diseño Limpio, Original y de Alta Conversión
   ===================================================== */

/* ===== WELDING SIGNATURE - El Símbolo Maestro ===== */
/* Punto (Spot) + Línea (Seam) - Diferenciador visual ALCAVIL */
.welding-signature {
    display: flex;
    align-items: center;
    gap: 8px; /* Separación visual: Spot ● + Seam ▬▬▬ */
    margin: 0.75rem 0 1.5rem 0;
}

.welding-signature::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A0552D 0%, #D88E5E 50%, #A0552D 100%);
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(160, 85, 45, 0.4);
}

.welding-signature::after {
    content: '';
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #A0552D, #D88E5E, #A0552D);
    flex-shrink: 0;
    border-radius: 2px;
}

/* Variante centrada */
.welding-signature.centered {
    justify-content: center;
}

/* ===== TIPOGRAFÍA ALCAVIL ===== */
h1, h2, h3, h4 {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: #0F2E4E; /* Navy Profundo */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0;
}

/* ===== HERO FULL-WIDTH MEJORADO ===== */
.hero-fullwidth {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay-full {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

.hero-content-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-tagline-big {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-cta-overlay {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== BOTONES ALCAVIL ===== */
.btn-copper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #A0552D 0%, #E89F6B 100%);
    color: #ffffff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copper:hover {
    background: linear-gradient(135deg, #8A4726 0%, #D88E5E 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 85, 45, 0.3);
}

.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: #0F2E4E;
    border: 2px solid #0F2E4E;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-navy:hover {
    background: #0F2E4E;
    color: #ffffff;
}

.btn-ghost-light {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #E89F6B;
    color: #E89F6B;
}

/* ===== SECCIÓN NOSOTROS ===== */
.section-nosotros {
    background: #ffffff;
    padding: 5rem 0;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.nosotros-content h2 {
    font-size: 2rem;
    color: #0F2E4E;
}

.nosotros-text {
    margin-bottom: 2rem;
}

.nosotros-text p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.capabilities-list ul {
    list-style: none;
    padding: 0;
}

.capabilities-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: #2d3436;
    font-size: 0.95rem;
}

.capabilities-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #A0552D, #E89F6B);
    border-radius: 50%;
}

/* ===== TIMELINE HORIZONTAL ===== */
.nosotros-timeline h3 {
    font-size: 1.25rem;
    color: #0F2E4E;
}

.timeline-horizontal {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e2e8f0 0%, #A0552D 50%, #e2e8f0 100%);
    transform: translateY(-50%);
}

.timeline-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.node-point {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 3px solid #A0552D;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.timeline-node:hover .node-point,
.timeline-node.active .node-point {
    background: linear-gradient(135deg, #A0552D, #E89F6B);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(160, 85, 45, 0.2);
}

.node-year {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F2E4E;
    margin-bottom: 0.25rem;
}

.node-label {
    font-size: 0.75rem;
    color: #4a5568;
    max-width: 100px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.timeline-node:hover .node-label,
.timeline-node.active .node-label {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECCIÓN NOSOTROS V2 - PROFESIONAL ===== */
.section-nosotros-v2 {
    background: #F8F9FA;
    padding: 5rem 0;
    position: relative;
    /* Trama de puntos muy sutil */
    background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.section-nosotros-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--copper-dark), var(--copper-light), var(--copper-dark));
}

.nosotros-grid-v2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

/* Narrativa Corporativa */
.nosotros-narrative h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.narrative-block {
    margin-bottom: 1.5rem;
}

.narrative-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--copper-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.narrative-label::before {
    content: '';
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--copper-dark), var(--copper-light));
    border-radius: 2px;
}

.narrative-block p {
    font-size: 1.1rem;
    color: #1F2937;
    line-height: 1.75;
    margin: 0;
    font-weight: 450;
}

.narrative-block p strong {
    color: #111111;
    font-weight: 700;
}

/* Capacidades Compactas - CHECKMARKS BOLD */
.capabilities-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 2px solid var(--border);
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #1F2937;
    font-weight: 600;
}

.capability-item svg {
    color: var(--copper-dark);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Timeline de Hitos - Milestone Cards */
.timeline-milestones h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.milestones-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.milestone-card {
    display: grid;
    grid-template-columns: 44px 70px 1fr;
    gap: 0.75rem;
    align-items: center;
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.milestone-card:hover {
    border-left-color: var(--copper-dark);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.milestone-card.active {
    border-left-color: var(--copper-dark);
    background: linear-gradient(135deg, rgba(160, 85, 45, 0.04) 0%, rgba(232, 159, 107, 0.06) 100%);
}

/* Icono a la IZQUIERDA del año - FONDO SÓLIDO */
.milestone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--copper-dark);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(160, 85, 45, 0.3);
}

.milestone-icon svg {
    color: #ffffff;
    width: 20px;
    height: 20px;
}

.milestone-card:hover .milestone-icon,
.milestone-card.active .milestone-icon {
    background: linear-gradient(135deg, var(--copper-dark), var(--copper-light));
    transform: scale(1.05);
}

.milestone-card:hover .milestone-icon svg,
.milestone-card.active .milestone-icon svg {
    color: #ffffff;
}

.milestone-year {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--copper-dark);
    line-height: 1;
}

.milestone-card.active .milestone-year {
    color: var(--copper-dark);
}

.milestone-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1F2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.milestone-content p {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.45;
    margin: 0;
    font-weight: 450;
}

/* Responsive Nosotros V2 */
@media (max-width: 992px) {
    .nosotros-grid-v2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .nosotros-narrative h2 {
        font-size: 1.5rem;
    }

    .capabilities-compact {
        grid-template-columns: 1fr;
    }

    .milestone-card {
        grid-template-columns: 36px 60px 1fr;
        padding: 0.875rem 1rem;
        gap: 0.5rem;
    }

    .milestone-icon {
        width: 36px;
        height: 36px;
    }

    .milestone-icon svg {
        width: 16px;
        height: 16px;
    }

    .milestone-year {
        font-size: 1.25rem;
    }

    .milestone-content h4 {
        font-size: 0.8rem;
    }

    .milestone-content p {
        font-size: 0.75rem;
        line-height: 1.35;
    }
}

@media (max-width: 576px) {
    .milestone-card {
        grid-template-columns: 50px 1fr;
        gap: 0.75rem;
    }

    .milestone-icon {
        display: none;
    }

    .milestone-year {
        font-size: 1.5rem;
    }

    .milestone-content h4 {
        font-size: 0.85rem;
    }

    .milestone-content p {
        font-size: 0.8rem;
    }
}

/* ===== SECCIÓN NOSOTROS B2B - OPERATIVO ===== */
.section-nosotros-b2b {
    background: #ffffff;
    padding: 5rem 0 4rem;
    position: relative;
}

.section-nosotros-b2b::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--copper-dark), var(--copper-light), var(--copper-dark));
}

/* Header B2B */
.nosotros-header-b2b {
    text-align: center;
    margin-bottom: 3rem;
}

.nosotros-header-b2b h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.nosotros-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid B2B - 40% Historia / 60% Capacidades */
.nosotros-grid-b2b {
    display: grid;
    grid-template-columns: 40fr 60fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Columna Historia */
.nosotros-historia {
    padding-right: 1rem;
}

.historia-block {
    margin-bottom: 1.5rem;
}

.historia-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--copper-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.historia-label::before {
    content: '';
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--copper-dark), var(--copper-light));
}

.historia-block p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

.historia-block p strong {
    color: var(--primary);
    font-weight: 600;
}

/* Columna Capacidades */
.nosotros-capacidades {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.capacidad-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--border);
    transition: all 0.3s ease;
}

.capacidad-card:hover {
    border-left-color: var(--copper-dark);
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.capacidad-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.capacidad-icon svg {
    color: var(--text-white);
    width: 24px;
    height: 24px;
}

.capacidad-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.capacidad-content p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

/* Datos Duros Grid */
.datos-duros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.dato-duro {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
}

.dato-icon {
    width: 28px;
    height: 28px;
    background: var(--copper-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dato-icon svg {
    color: var(--text-white);
    width: 14px;
    height: 14px;
}

.dato-valor {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.dato-label {
    font-size: 0.7rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Target Badges */
.target-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.badge-tier {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: rgba(10, 37, 64, 0.08);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-tier svg {
    width: 12px;
    height: 12px;
}

/* Target Badges Container */
.target-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(10, 37, 64, 0.03);
    border-radius: var(--radius-md);
}

.target-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-tier {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    background: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.target-sectors {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-top: 0.25rem;
}

/* Timeline Horizontal B2B */
.timeline-horizontal-b2b {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.timeline-track {
    position: absolute;
    top: 3.5rem;
    left: 4rem;
    right: 4rem;
    height: 3px;
    background: linear-gradient(90deg, var(--copper-dark), var(--copper-light));
    z-index: 0;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 0.5rem;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--copper-dark);
    border: 3px solid var(--bg-light);
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 3px var(--copper-dark);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot,
.timeline-item.active .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px var(--copper-light);
    background: var(--copper-light);
}

.timeline-year {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.timeline-item.active .timeline-year {
    color: var(--copper-dark);
}

.timeline-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.timeline-desc {
    font-size: 0.75rem;
    color: var(--text-medium);
    max-width: 120px;
    line-height: 1.3;
}

/* Responsive B2B */
@media (max-width: 992px) {
    .nosotros-grid-b2b {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nosotros-historia {
        padding-right: 0;
    }

    .nosotros-header-b2b h2 {
        font-size: 1.6rem;
    }

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

@media (max-width: 768px) {
    .timeline-horizontal-b2b {
        padding: 1.5rem;
    }

    .timeline-items {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        padding-left: 2rem;
    }

    .timeline-track {
        width: 3px;
        height: calc(100% - 2rem);
        top: 1rem;
        left: 1.5rem;
        right: auto;
    }

    .timeline-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 0;
    }

    .timeline-dot {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .timeline-year {
        font-size: 1.25rem;
    }

    .timeline-desc {
        max-width: none;
    }

    .datos-duros-grid {
        grid-template-columns: 1fr 1fr;
    }

    .capacidad-card {
        flex-direction: column;
        text-align: center;
    }

    .capacidad-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .datos-duros-grid {
        grid-template-columns: 1fr;
    }

    .target-badges {
        justify-content: center;
    }
}

/* ===== SECCIÓN MATERIALES (El Almacén) ===== */
.section-materiales {
    background: #f8f9fa;
    padding: 5rem 0;
}

.section-materiales h2 {
    text-align: left;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
}

/* Grid tradicional (backup) */
.materiales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ===== CARRUSEL HORIZONTAL DE MATERIALES - ESTANTERÍA INFINITA ===== */

/* ===== GRID DE MATERIALES - Auto-ajuste responsivo ===== */
.materiales-carousel-wrapper {
    position: relative;
}

/* Grid responsivo que muestra todas las tarjetas */
.materiales-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    padding: 1rem 0 1.5rem;
}

/* Tarjetas se ajustan al grid */
.materiales-carousel .material-card-link {
    width: 100%;
}

/* Ocultar indicador de scroll (ya no es necesario) */
.carousel-hint {
    display: none;
}

/* Ocultar flechas (ya no hay scroll) */
.carousel-arrow {
    display: none;
}

/* Responsive: 2 columnas en tablet */
@media (max-width: 992px) {
    .materiales-carousel {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }
}

/* Responsive: 1-2 columnas en móvil */
@media (max-width: 576px) {
    .materiales-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Descripción en tarjetas - Color oscuro para contraste */
.material-desc {
    font-size: 0.75rem;
    color: #2d3436;
    margin: 0.25rem 0;
    line-height: 1.4;
    text-shadow: none;
}

.material-card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.material-card.featured {
    box-shadow: 0 6px 16px rgba(160, 85, 45, 0.35);
    border: 2px solid #B87333;
}

.material-image {
    height: 180px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
}

.material-image img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.material-info {
    background: #FFFFFF;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    border-top: 1px solid #E5E7EB;
}

.material-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.material-badge.popular {
    color: #ffffff;
    background: linear-gradient(135deg, #A0552D, #E89F6B);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    text-shadow: none;
}

/* Badges por Clase RWMA */
.material-badge.clase1 {
    background: linear-gradient(135deg, #e8b87c, #f5d4a8);
    color: #5a3e1b;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    text-shadow: none;
}

.material-badge.clase3 {
    background: linear-gradient(135deg, #c9a86c, #e0c495);
    color: #4a3a1a;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    text-shadow: none;
}

.material-badge.clase4 {
    background: linear-gradient(135deg, #b8a060, #d4c48a);
    color: #3a2e15;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    text-shadow: none;
}

.material-badge.refractario {
    background: linear-gradient(135deg, #6b7b8c, #8a9aa8);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    text-shadow: none;
}

.material-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F2E4E;
    margin: 0;
    text-transform: none;
    text-shadow: none;
}

.material-desc {
    color: #444 !important;
    font-size: 0.85rem;
    line-height: 1.4;
}

.material-download {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E89F6B;
    transition: all 0.3s ease;
}

.material-download:hover {
    background: linear-gradient(135deg, #A0552D, #E89F6B);
    color: #ffffff;
}

/* Material Card como Link */
.material-card-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.material-card-link:hover {
    transform: translateY(-5px);
}

.material-card-link:hover .material-card {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.material-cta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0F2E4E;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    border: 2px solid #0F2E4E;
    border-radius: 4px;
    text-shadow: none;
    transition: all 0.2s ease;
    background: transparent;
}

.material-card-link:hover .material-cta {
    background: #0F2E4E;
    color: #FFFFFF;
}

/* ===== PÁGINAS DE DETALLE DE MATERIALES ===== */
.material-hero {
    padding: 3rem 0 2.5rem;
    position: relative;
    background-size: cover;
    background-position: center;
}

.material-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(15, 46, 78, 0.88) 100%);
}

.material-hero .container {
    position: relative;
    z-index: 1;
}

.material-hero-clase1 {
    background: linear-gradient(135deg, #e8b87c 0%, #f5d4a8 100%);
}

.material-hero-clase2 {
    background: linear-gradient(135deg, #b87333 0%, #cd9464 100%);
}

.material-hero-clase3 {
    background: linear-gradient(135deg, #d4a574 0%, #c9a77d 100%);
}

.material-hero-clase4 {
    background: linear-gradient(135deg, #c9a86c 0%, #e0c495 100%);
}

.material-hero-refractarios {
    background: linear-gradient(135deg, #5a6570 0%, #7a8690 100%);
}

.material-clase-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--copper-dark), var(--copper-light));
    color: #ffffff;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.material-hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.material-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
}

/* Material Detail Section */
.material-detail-section {
    background: #F8F9FA;
    padding: 4rem 0;
}

.material-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

.material-detail-main {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.material-detail-main h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.material-detail-main h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.material-detail-main h3:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Specs Table */
.specs-table-container {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.specs-table th,
.specs-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.specs-table th {
    background: var(--primary);
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.specs-table td {
    color: #374151;
}

.specs-table td strong {
    color: #1F2937;
}

.specs-table .highlight-row {
    background: rgba(160, 85, 45, 0.06);
}

.specs-table .highlight-row td {
    font-weight: 600;
    color: var(--primary);
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.application-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #F8F9FA;
    border-radius: 6px;
    border-left: 3px solid var(--copper-dark);
}

.app-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon svg {
    color: #ffffff;
}

.app-icon-premium {
    background: linear-gradient(135deg, var(--copper-dark), var(--copper-light));
}

.app-content strong {
    display: block;
    font-size: 0.95rem;
    color: #1F2937;
    margin-bottom: 0.2rem;
}

.app-content span {
    font-size: 0.85rem;
    color: #6B7280;
}

/* Why Choose */
.why-choose {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.why-choose p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.why-choose .feature-list {
    margin: 0;
    padding-left: 0;
}

.why-choose .feature-list li {
    border-bottom: none;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.why-choose .feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    color: var(--copper-dark);
    font-weight: bold;
}

/* Balance Comparison */
.balance-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 4px;
    font-size: 0.9rem;
}

.balance-item.highlight {
    background: linear-gradient(135deg, rgba(160, 85, 45, 0.1), rgba(232, 159, 107, 0.1));
    border-left: 3px solid var(--copper-dark);
}

.balance-label {
    font-weight: 600;
    color: #1F2937;
}

.balance-use {
    color: #6B7280;
}

/* Tech Note */
.tech-note {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #E0F2FE;
    border-radius: 6px;
    border-left: 4px solid #0284C7;
    margin: 1.5rem 0;
}

.tech-note.warning {
    background: #FEF3C7;
    border-left-color: #D97706;
}

.note-icon {
    flex-shrink: 0;
    color: #0284C7;
}

.tech-note.warning .note-icon {
    color: #D97706;
}

.note-content {
    font-size: 0.9rem;
    color: #1F2937;
    line-height: 1.5;
}

.note-content a {
    color: var(--copper-dark);
    text-decoration: underline;
}

/* Material Class Sections */
.material-class-section {
    margin: 2rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.material-class-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.class-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
}

.class-badge.class-11 { background: #0284C7; }
.class-badge.class-12 { background: #7C3AED; }
.class-badge.class-13 { background: #059669; }

.application-note {
    font-size: 0.9rem;
    color: #374151;
    background: rgba(160, 85, 45, 0.06);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

/* Selection Guide */
.selection-guide {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.guide-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.guide-scenario {
    font-size: 0.9rem;
    color: #374151;
}

.guide-recommendation {
    font-size: 0.9rem;
    color: var(--copper-dark);
}

/* Sidebar */
.material-detail-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.cta-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cta-card .btn {
    margin-bottom: 0.75rem;
}

.download-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.download-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--copper-dark);
}

.download-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #374151;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.download-link:hover {
    background: #F8F9FA;
    color: var(--copper-dark);
}

.download-link svg {
    color: var(--copper-dark);
    flex-shrink: 0;
}

.related-materials {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.related-materials h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.related-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.related-item:hover {
    background: #F8F9FA;
}

.related-class {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--copper-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-name {
    font-size: 0.9rem;
    color: #374151;
}

.intro-text {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Responsive Material Detail */
@media (max-width: 992px) {
    .material-detail-grid {
        grid-template-columns: 1fr;
    }

    .material-detail-sidebar {
        position: static;
    }

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

@media (max-width: 768px) {
    .material-hero-content h1 {
        font-size: 1.75rem;
    }

    .material-detail-main {
        padding: 1.5rem;
    }

    .guide-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ===== SECCIÓN MANUFACTURA (El Laboratorio) ===== */
.section-manufactura {
    background: #ffffff;
    padding: 5rem 0;
}

.manufactura-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pieza-card {
    background: #F8F9FA;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pieza-card:hover {
    border-color: #A0552D;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pieza-image {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

/* Trama de planos técnicos (Blueprint Grid) */
.blueprint-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 46, 78, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 46, 78, 0.03) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
}

.pieza-image img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.pieza-info {
    padding: 1.25rem 1rem;
    text-align: center;
}

.pieza-process {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.pieza-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0A2540;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pieza Card como Link */
.pieza-card-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.pieza-card-link:hover {
    transform: translateY(-5px);
}

.pieza-card-link:hover .pieza-cta {
    color: #A0552D;
}

.pieza-cta {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4a5568;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

/* Pieza Description */
.pieza-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0.5rem 0 0 0;
}

/* Pieza Featured (Especialidad) */
.pieza-featured {
    border: 2px solid #A0552D;
    position: relative;
}
.pieza-featured::before {
    content: 'ESPECIALIDAD';
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #A0552D 0%, #c9723d 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
}
.pieza-featured .pieza-process {
    color: #A0552D;
    font-weight: 600;
}

/* ===== SECTION CTA ===== */
.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ===== SECCIÓN CONTACTO ===== */
.section-contacto {
    background: #f8f9fa;
    padding: 5rem 0;
}

.section-contacto .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.section-contacto h2 {
    font-size: 2rem;
    color: #0F2E4E;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

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

/* ===== RESPONSIVE ALCAVIL ===== */
@media (max-width: 1024px) {
    .hero-content-overlay h1 {
        font-size: 2.25rem;
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .timeline-nodes {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .timeline-line {
        display: none;
    }

    .node-label {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-fullwidth {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content-overlay h1 {
        font-size: 1.75rem;
    }

    .hero-tagline-big {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-contacto .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .materiales-grid,
    .manufactura-grid {
        grid-template-columns: 1fr;
    }

    .material-image,
    .pieza-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-fullwidth {
        height: 50vh;
        min-height: 350px;
    }

    .hero-content-overlay h1 {
        font-size: 1.5rem;
    }

    .btn-copper {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .welding-signature::after {
        width: 60px;
    }
}

/* =====================================================
   TEXTURAS PROCEDURALES CSS - Materiales Metálicos
   Para GEO: Evitar fondos planos, simular texturas reales
   ===================================================== */

/* Textura Base: Metal Cepillado */
.texture-brushed-metal {
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 3px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,0.02) 0px,
            rgba(0,0,0,0.02) 1px,
            transparent 1px,
            transparent 4px
        );
}

/* COBRE CLASE 2 - CuCr / CuCrZr - Textura dorada-rojiza */
.texture-copper-class2 {
    background:
        /* Reflejos metálicos */
        radial-gradient(ellipse 100% 50% at 50% 0%, rgba(255,255,255,0.3) 0%, transparent 50%),
        /* Variación de tono */
        linear-gradient(135deg,
            #b87333 0%,
            #cd9464 15%,
            #d4a574 30%,
            #c77b3f 50%,
            #b87333 70%,
            #a56628 85%,
            #b87333 100%
        ),
        /* Grano del metal */
        repeating-linear-gradient(
            90deg,
            rgba(0,0,0,0.05) 0px,
            transparent 1px,
            transparent 2px
        );
    background-blend-mode: overlay, normal, multiply;
}

/* COBRE CROMO ZIRCONIO - Premium (más brillante) */
.texture-copper-premium {
    background:
        /* Brillo central */
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255,255,255,0.4) 0%, transparent 60%),
        /* Gradiente base */
        linear-gradient(135deg,
            #c77b3f 0%,
            #e8a86b 20%,
            #f0c090 40%,
            #e8a86b 60%,
            #c77b3f 80%,
            #a56628 100%
        ),
        /* Textura metálica */
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 4px
        );
    background-blend-mode: overlay, normal, overlay;
}

/* COBRE BERILIO CLASE 3 - Tono más claro/dorado */
.texture-beryllium-copper {
    background:
        /* Reflejo superior */
        radial-gradient(ellipse 120% 40% at 50% -10%, rgba(255,255,255,0.35) 0%, transparent 50%),
        /* Gradiente berilio */
        linear-gradient(135deg,
            #d4a574 0%,
            #e8c9a0 25%,
            #f0d8b8 50%,
            #e8c9a0 75%,
            #d4a574 100%
        ),
        /* Grano fino */
        repeating-linear-gradient(
            60deg,
            rgba(139,90,43,0.08) 0px,
            transparent 1px,
            transparent 3px
        );
    background-blend-mode: overlay, normal, multiply;
}

/* TUNGSTENO - Gris metálico frío */
.texture-tungsten {
    background:
        /* Brillo frío */
        radial-gradient(ellipse 100% 60% at 50% 20%, rgba(200,210,220,0.4) 0%, transparent 60%),
        /* Gradiente tungsteno */
        linear-gradient(135deg,
            #6b7b8c 0%,
            #8a9aa8 20%,
            #a0b0c0 40%,
            #8a9aa8 60%,
            #6b7b8c 80%,
            #5a6a7a 100%
        ),
        /* Textura granulada */
        repeating-linear-gradient(
            -45deg,
            rgba(0,0,0,0.04) 0px,
            transparent 1px,
            transparent 2px
        );
    background-blend-mode: overlay, normal, multiply;
}

/* MOLIBDENO - Similar a tungsteno pero más oscuro */
.texture-molybdenum {
    background:
        radial-gradient(ellipse 90% 50% at 50% 25%, rgba(180,190,200,0.3) 0%, transparent 55%),
        linear-gradient(135deg,
            #5a6a78 0%,
            #7a8a98 25%,
            #8a9aa8 50%,
            #7a8a98 75%,
            #5a6a78 100%
        );
    background-blend-mode: overlay, normal;
}

/* COBRE ELECTROLÍTICO CLASE 1 - Cobre puro brillante */
.texture-pure-copper {
    background:
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(255,220,200,0.5) 0%, transparent 50%),
        linear-gradient(135deg,
            #b87333 0%,
            #e07020 20%,
            #f08030 40%,
            #e07020 60%,
            #b87333 80%,
            #8b4513 100%
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.02) 0px,
            transparent 2px,
            transparent 4px
        );
    background-blend-mode: overlay, normal, overlay;
}

/* ===== CARDS DE MATERIALES CON TEXTURAS ===== */
.material-card .material-image.copper-class2 {
    background:
        radial-gradient(ellipse 100% 50% at 50% 0%, rgba(255,255,255,0.3) 0%, transparent 50%),
        linear-gradient(135deg, #b87333 0%, #cd9464 50%, #b87333 100%);
}

.material-card .material-image.copper-premium {
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255,255,255,0.4) 0%, transparent 60%),
        linear-gradient(135deg, #c77b3f 0%, #e8a86b 50%, #c77b3f 100%);
}

.material-card .material-image.beryllium {
    background:
        radial-gradient(ellipse 120% 40% at 50% -10%, rgba(255,255,255,0.35) 0%, transparent 50%),
        linear-gradient(135deg, #d4a574 0%, #e8c9a0 50%, #d4a574 100%);
}

.material-card .material-image.tungsten {
    background:
        radial-gradient(ellipse 100% 60% at 50% 20%, rgba(200,210,220,0.4) 0%, transparent 60%),
        linear-gradient(135deg, #6b7b8c 0%, #8a9aa8 50%, #6b7b8c 100%);
}

/* Hover effect para cards de materiales */
.material-card:hover .material-image {
    filter: brightness(1.1);
}

/* ===== ESPECIFICACIONES TÉCNICAS - Estilo Industrial ===== */
.specs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(15, 46, 78, 0.08);
    border: 1px solid rgba(15, 46, 78, 0.15);
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0F2E4E;
    font-family: 'Inter', monospace;
}

.specs-badge.highlight {
    background: linear-gradient(135deg, rgba(160, 85, 45, 0.1), rgba(232, 159, 107, 0.1));
    border-color: #A0552D;
    color: #A0552D;
}

/* ===== DATA ATTRIBUTES PARA SEO ===== */
/* Estos estilos ayudan a visualizar datos estructurados */
[data-rwma-class]::before {
    content: "RWMA " attr(data-rwma-class);
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.4rem;
    background: #0F2E4E;
    color: #ffffff;
    border-radius: 2px;
    margin-right: 0.5rem;
}

[data-conductivity]::after {
    content: attr(data-conductivity) " IACS";
    font-size: 0.7rem;
    color: #A0552D;
    font-weight: 600;
}

/* ===== PROCESOS DE SOLDADURA - Linking semántico ===== */
.process-link {
    color: #A0552D;
    text-decoration: none;
    border-bottom: 1px dashed #A0552D;
    transition: all 0.2s ease;
}

.process-link:hover {
    color: #0F2E4E;
    border-bottom-color: #0F2E4E;
    border-bottom-style: solid;
}

/* Tooltip para términos técnicos */
.tech-term {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted #4a5568;
}

.tech-term::after {
    content: attr(data-definition);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1rem;
    background: #0F2E4E;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.4;
    border-radius: 4px;
    white-space: normal;
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.tech-term:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}

/* ===== NORMAS Y ESTÁNDARES - Badges ===== */
.standard-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #4a5568;
}

.standard-badge.aws {
    border-color: #1e5799;
    color: #1e5799;
}

.standard-badge.rwma {
    border-color: #A0552D;
    color: #A0552D;
}

.standard-badge svg {
    width: 12px;
    height: 12px;
}

/* ===== SECCIÓN ACADEMIA PREVIEW - Interlinkeado Semántico ===== */
.section-academia-preview {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0;
}

.section-academia-preview h3 {
    font-size: 1.75rem;
    color: #0F2E4E;
    font-weight: 600;
}

.academia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.academia-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.academia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #A0552D, #E89F6B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.academia-card:hover {
    border-color: #A0552D;
    box-shadow: 0 8px 24px rgba(15, 46, 78, 0.08);
}

.academia-card:hover::before {
    transform: scaleX(1);
}

.academia-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(15, 46, 78, 0.06);
    color: #0F2E4E;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.academia-card h4 {
    font-size: 1.1rem;
    color: #0F2E4E;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.academia-card p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.academia-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #A0552D;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.academia-link:hover {
    color: #0F2E4E;
    gap: 0.75rem;
}

.academia-link svg {
    transition: transform 0.2s ease;
}

.academia-link:hover svg {
    transform: translateX(4px);
}

/* Tech Links dentro de Academia */
.tech-link {
    color: #A0552D;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #A0552D;
    transition: all 0.2s ease;
}

.tech-link:hover {
    color: #0F2E4E;
    border-bottom-color: #0F2E4E;
    border-bottom-style: solid;
}

/* Standard References */
.standard-ref {
    font-weight: 600;
    color: #1e5799;
    cursor: help;
}

.standard-ref[data-standard="AWS J1.3"]::before {
    content: "";
    font-size: 0.8em;
}

.standard-ref[data-standard="RWMA"]::before {
    content: "";
    font-size: 0.8em;
}

/* Responsive Academia Grid */
@media (max-width: 992px) {
    .academia-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== FASE 2: TEXTURAS DE FONDO INDUSTRIALES (Anti-Desierto) ===== */

/* Blueprint/Plano Técnico - Para secciones con fondo blanco */
.section-blueprint-bg {
    position: relative;
    background-color: #fafbfc;
}

.section-blueprint-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* Grid principal */
        linear-gradient(rgba(15, 46, 78, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 46, 78, 0.03) 1px, transparent 1px),
        /* Grid secundario más fino */
        linear-gradient(rgba(15, 46, 78, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 46, 78, 0.015) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
    pointer-events: none;
    z-index: 0;
}

.section-blueprint-bg > .container {
    position: relative;
    z-index: 1;
}

/* Textura de acero cepillado - Para secciones oscuras */
.section-steel-bg {
    background:
        linear-gradient(90deg,
            rgba(255,255,255,0.02) 0%,
            rgba(255,255,255,0.05) 25%,
            rgba(255,255,255,0.02) 50%,
            rgba(255,255,255,0.05) 75%,
            rgba(255,255,255,0.02) 100%
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.01) 0px,
            transparent 1px,
            transparent 2px
        ),
        #1a1d21;
}

/* Textura de papel técnico - Para secciones claras */
.section-paper-bg {
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.8) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Patron de circuitos - Para secciones tech */
.section-circuit-bg {
    background-color: #0F2E4E;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(160, 85, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(232, 159, 107, 0.1) 0%, transparent 50%),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
}

/* ===== SECCIÓN SPECS MEJORADA ===== */
.section-specs {
    padding: 4rem 0;
}

.section-specs .specs-title {
    font-size: 1.75rem;
    color: #0F2E4E;
    margin-bottom: 0.5rem;
}

.section-specs .welding-signature {
    margin-bottom: 2.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.spec-block {
    background: #ffffff;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.spec-block:hover {
    border-color: #A0552D;
    box-shadow: 0 4px 12px rgba(15, 46, 78, 0.08);
}

.spec-block h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #A0552D;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.spec-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-block li {
    font-size: 0.9rem;
    color: #4a5568;
    padding: 0.4rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

.spec-block li:last-child {
    border-bottom: none;
}

.spec-block li em {
    font-size: 0.8rem;
    color: #718096;
}

/* ===== SECCIÓN CONTACTO CON TEXTURA ===== */
.section-contacto {
    position: relative;
    background: #ffffff;
}

.section-contacto::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(160, 85, 45, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(15, 46, 78, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

/* ===== RESPONSIVE SPECS ===== */
@media (max-width: 992px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FIX: Hero H1 z-index alto ===== */
.hero-content-overlay {
    z-index: 20;
}

.hero-content-overlay h1 {
    position: relative;
    z-index: 21;
}

/* ===== FIX: Prevenir scroll horizontal en móvil ===== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .hero-content-overlay h1 {
        font-size: 1.75rem;
    }

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

    .timeline-horizontal {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .materiales-grid,
    .manufactura-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BACK TO MATERIALS BUTTON (Floating) ===== */
.back-to-materials {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: transparent;
    border: 2px solid #a0aec0;
    color: #4a5568;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.95);
}

.back-to-materials:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #0A2540;
    color: #0A2540;
    transform: translateY(-50%) translateX(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-materials svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.back-to-materials:hover svg {
    transform: translateX(-4px);
}

/* Mobile: posicionar en la parte inferior */
@media (max-width: 768px) {
    .back-to-materials {
        left: 50%;
        top: auto;
        bottom: 20px;
        transform: translateX(-50%);
        padding: 10px 16px;
        font-size: 0.8125rem;
    }

    .back-to-materials:hover {
        transform: translateX(-50%) translateY(-2px);
    }
}

/* ===== RELATED MATERIALS - LISTA COMPLETA ===== */
.related-materials {
    background: #F5F7FA;
    border-radius: 8px;
    padding: 1.5rem;
}

.related-materials h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: white;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
}

.related-item:hover {
    background: #ffffff;
    border-color: #A0552D;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(160, 85, 45, 0.1);
}

.related-class {
    font-size: 0.75rem;
    font-weight: 600;
    color: #A0552D;
    background: rgba(160, 85, 45, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 65px;
    text-align: center;
}

.related-name {
    font-size: 0.875rem;
    color: #2d3436;
    font-weight: 500;
    line-height: 1.4;
}

.related-item:hover .related-name {
    color: #0A2540;
}

/* =====================================================
   MATERIALES REFRACTARIOS - MOLIBDENO, TUNGSTENO, ELKONITE
   ===================================================== */

/* ===== MOLIBDENO HERO ===== */
.moly-hero {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    padding: 3rem 0 2rem;
    color: white;
}

.moly-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.moly-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.moly-hero h1 span {
    color: #68D391;
    font-weight: 400;
}

.moly-hero .hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.moly-hero .standards-line {
    font-size: 0.9rem;
    opacity: 0.8;
}

.moly-hero .standards-line span {
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 4px;
}

/* ===== TUNGSTENO HERO ===== */
.tungsten-hero {
    background: linear-gradient(135deg, #0A2540 0%, #1a365d 100%);
    padding: 3rem 0 2rem;
    color: white;
}

.tungsten-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tungsten-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tungsten-hero h1 span {
    color: #F6AD55;
    font-weight: 400;
}

.tungsten-hero .hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.tungsten-hero .standards-line {
    font-size: 0.9rem;
    opacity: 0.8;
}

.tungsten-hero .standards-line span {
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 4px;
}

/* ===== ELKONITE HERO ===== */
.elkonite-hero {
    background: linear-gradient(135deg, #0A2540 0%, #1a365d 100%);
    padding: 3rem 0 2rem;
    color: white;
}

.elkonite-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.elkonite-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.elkonite-hero h1 span {
    color: #F6AD55;
    font-weight: 400;
}

.elkonite-hero .hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.elkonite-hero .standards-line {
    font-size: 0.9rem;
    opacity: 0.8;
}

.elkonite-hero .standards-line span {
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 4px;
}

/* ===== SECCIÓN EDUCATIVA 2 COLUMNAS ===== */
.edu-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
}

.edu-section .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.edu-section h2 {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.edu-section h2 span {
    color: #6b7b8c;
}

.edu-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.edu-intro strong {
    color: #2d3436;
}

.edu-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    color: #0A2540;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.edu-content p {
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1rem;
}

/* ===== TARJETA DE PROPIEDADES STICKY ===== */
.props-card-mo,
.props-card-w {
    position: sticky;
    top: 100px;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
}

.props-card-w {
    background: linear-gradient(135deg, #0A2540 0%, #1a365d 100%);
}

.props-card-mo h3,
.props-card-w h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.75rem;
}

.prop-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.prop-item:last-child {
    border-bottom: none;
}

.prop-item .label {
    opacity: 0.8;
    font-size: 0.875rem;
}

.prop-item .value {
    font-weight: 600;
}

/* ===== CAJAS DE CURIOSIDADES ===== */
.curiosity-box-mo,
.curiosity-box-w {
    background: #f7fafc;
    border-left: 4px solid #4a5568;
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    margin: 2rem 0;
}

.curiosity-box-w {
    border-left-color: #0A2540;
}

.curiosity-box-mo h4,
.curiosity-box-w h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #0A2540;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.curiosity-box-mo p,
.curiosity-box-w p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== BLOQUES DE HISTORIA ===== */
.history-block-mo,
.history-block-w {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.history-block-mo h3,
.history-block-w h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #0A2540;
    margin-bottom: 1rem;
}

/* ===== GRID DE USOS INDUSTRIALES ===== */
.uses-grid-mo,
.uses-grid-w {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.use-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.use-item:hover {
    border-color: #A0552D;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.use-item strong {
    display: block;
    color: #0A2540;
    margin-bottom: 0.25rem;
}

.use-item span {
    font-size: 0.875rem;
    color: #718096;
}

/* ===== MATERIAL SHOWCASE - VARIANTES Mo/TZM ===== */
.material-showcase {
    padding: 3rem 0;
    background: #f7fafc;
}

.material-showcase .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.material-showcase h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    color: #0A2540;
    text-align: center;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.material-showcase .subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 2rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.showcase-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.showcase-card.featured {
    border: 2px solid #A0552D;
}

.showcase-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
}

.showcase-card.featured .showcase-header {
    background: linear-gradient(135deg, #A0552D 0%, #8B4726 100%);
}

.showcase-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.showcase-header .material-type {
    font-size: 0.875rem;
    opacity: 0.9;
}

.showcase-body {
    padding: 1.5rem;
}

.showcase-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.spec-block {
    text-align: center;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 6px;
}

.spec-block .number {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540;
}

.spec-block .unit {
    font-size: 0.75rem;
    color: #718096;
    display: block;
}

.showcase-apps h4 {
    font-size: 0.875rem;
    color: #0A2540;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.showcase-apps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-apps li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.875rem;
    color: #4a5568;
}

.showcase-apps li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.showcase-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ===== COMPARISON BOX ===== */
.comparison-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.comparison-box h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #0A2540;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f7fafc;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #0A2540;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.comparison-table tr:hover {
    background: #f7fafc;
}

.comparison-table tr.highlight {
    background: rgba(160, 85, 45, 0.05);
}

.comparison-table tr.highlight td {
    font-weight: 500;
}

/* ===== ADVANTAGE GRID ===== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.advantage-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.advantage-item:hover {
    border-color: #A0552D;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.advantage-item svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: #A0552D;
}

.advantage-item h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #0A2540;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.advantage-item p {
    font-size: 0.875rem;
    color: #718096;
    line-height: 1.5;
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
    background: linear-gradient(135deg, #0A2540 0%, #1a365d 100%);
    padding: 3rem 0;
    color: white;
}

.download-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.download-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
    text-align: center;
}

.download-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.download-item svg {
    width: 32px;
    height: 32px;
    opacity: 0.9;
}

.download-item span {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ===== DOWNLOADS SECTION (Variante clara) ===== */
.downloads-section {
    background: #f7fafc;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.downloads-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #0A2540;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* ===== CATALOG SECTION (Tungsteno/Elkonite) ===== */
.catalog-section {
    padding: 3rem 0;
    background: white;
}

.catalog-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.catalog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.catalog-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    color: #0A2540;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.catalog-header .subtitle {
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRODUCT GRID (Tungsteno/Elkonite) ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-card:hover {
    border-color: #A0552D;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-card.popular {
    border: 2px solid #A0552D;
    position: relative;
}

.product-card.popular::before {
    content: "★ MÁS USADO";
    position: absolute;
    top: 12px;
    right: -30px;
    background: #A0552D;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 40px;
    transform: rotate(45deg);
    z-index: 1;
}

/* English version of "MÁS USADO" ribbon */
html[lang="en"] .product-card.popular::before {
    content: "★ MOST USED";
}

.card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #0A2540 0%, #1a365d 100%);
    color: white;
}

.card-header .clase-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.card-header .subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

.card-body {
    padding: 1.5rem;
}

.specs-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.spec-item {
    background: #f7fafc;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
}

.spec-item .label {
    display: block;
    font-size: 0.7rem;
    color: #718096;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.spec-item .value {
    font-weight: 600;
    color: #0A2540;
    font-size: 0.875rem;
}

.application-text {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.card-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* ===== LANTHANATED GROUP (Tungsteno) ===== */
.lanthanated-group {
    background: #f7fafc;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.lanthanated-group h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #0A2540;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.lanthanated-group > p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.lanthanated-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lanthanated-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.lanthanated-item h4 {
    font-family: 'Oswald', sans-serif;
    color: #0A2540;
    margin-bottom: 0.5rem;
}

.lanthanated-item p {
    font-size: 0.875rem;
    color: #718096;
}

/* ===== TECH NOTE ===== */
.tech-note {
    display: flex;
    gap: 1rem;
    background: #EBF8FF;
    border: 1px solid #90CDF4;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.tech-note svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #3182CE;
}

.tech-note-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #2B6CB0;
    margin-bottom: 0.5rem;
}

.tech-note-content p {
    font-size: 0.9rem;
    color: #2C5282;
    line-height: 1.5;
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
    padding: 3rem 0;
    background: #f7fafc;
}

.comparison-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.comparison-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #0A2540;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* ===== RELATED SECTION ===== */
.related-section {
    margin-top: 2rem;
}

.related-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #0A2540;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.related-grid .related-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-grid .related-item:hover {
    border-color: #A0552D;
    background: white;
}

.related-grid .related-item strong {
    color: #0A2540;
    margin-bottom: 0.25rem;
}

.related-grid .related-item span {
    font-size: 0.875rem;
    color: #718096;
}

/* ===== RESPONSIVE MATERIALES REFRACTARIOS ===== */
@media (max-width: 900px) {
    .edu-section .container {
        grid-template-columns: 1fr;
    }

    .props-card-mo,
    .props-card-w {
        position: static;
    }

    .uses-grid-mo {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

@media (max-width: 768px) {
    .moly-hero h1,
    .tungsten-hero h1,
    .elkonite-hero h1 {
        font-size: 1.75rem;
    }

    .uses-grid-mo,
    .uses-grid-w {
        grid-template-columns: 1fr;
    }

    .showcase-specs {
        grid-template-columns: 1fr;
    }

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

    .product-card.popular::before {
        display: none;
    }

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

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

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }

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

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

    .specs-mini {
        grid-template-columns: 1fr;
    }
}

/* ===== ESTILOS ADICIONALES TUNGSTENO ===== */

/* Props Card (Tungsteno general) */
.props-card {
    position: sticky;
    top: 100px;
    background: linear-gradient(135deg, #0A2540 0%, #1a365d 100%);
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
}

.props-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.75rem;
}

.props-card .prop-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.props-card .prop-item:last-child {
    border-bottom: none;
}

.props-card .prop-label {
    opacity: 0.8;
    font-size: 0.875rem;
}

.props-card .prop-value {
    font-weight: 600;
}

.props-card .prop-value.highlight {
    color: #F6AD55;
}

/* Curiosity Box (Tungsteno) */
.curiosity-box {
    display: flex;
    gap: 1rem;
    background: #f7fafc;
    border-left: 4px solid #0A2540;
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    margin: 2rem 0;
}

.curiosity-box .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.curiosity-box h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #0A2540;
    margin-bottom: 0.5rem;
}

.curiosity-box p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* History Block (Tungsteno) */
.history-block {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #A0552D;
}

.history-block h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #0A2540;
    margin-bottom: 0.75rem;
}

.history-block .date {
    background: #A0552D;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.history-block p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Edu Grid (Tungsteno 2 columnas) */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.edu-main h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #0A2540;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
}

.edu-main p {
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1rem;
}

.edu-main ul {
    padding-left: 1.5rem;
    color: #4a5568;
}

.edu-main li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Color Bands for Product Cards */
.color-band {
    width: 8px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    flex-shrink: 0;
}

.color-band.green { background: #48bb78; }
.color-band.black { background: #1a1a1a; }
.color-band.gold { background: #D69E2E; }
.color-band.blue { background: #3182CE; }
.color-band.red { background: #E53E3E; }
.color-band.orange { background: #ED8936; }
.color-band.gray { background: #718096; }

/* Card Header with Color Band */
.product-card .card-header {
    display: flex;
    align-items: stretch;
    padding: 0;
    background: linear-gradient(135deg, #0A2540 0%, #1a365d 100%);
}

.product-card .card-header-text {
    padding: 1.5rem;
    flex: 1;
}

.product-card .card-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.25rem;
}

.product-card .iso-code {
    font-size: 0.8rem;
    opacity: 0.8;
    color: white;
}

/* Recommended Product Card */
.product-card.recommended {
    border: 2px solid #A0552D;
    position: relative;
}

.product-card.recommended::before {
    content: "RECOMENDADO";
    position: absolute;
    top: 12px;
    right: -30px;
    background: #A0552D;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 40px;
    transform: rotate(45deg);
    z-index: 1;
}

/* Lanthanated Group Header */
.lanthanated-group .group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lanthanated-group .group-header svg {
    width: 32px;
    height: 32px;
    color: #A0552D;
}

.lanthanated-group .group-header h3 span {
    font-weight: 400;
    color: #718096;
}

/* Color Dots for Table */
.color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.color-dot.green { background: #48bb78; }
.color-dot.black { background: #1a1a1a; border: 1px solid #ccc; }
.color-dot.gold { background: #D69E2E; }
.color-dot.blue { background: #3182CE; }

/* Uses Grid Item Molibdeno (variante) */
.use-item-mo {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.use-item-mo:hover {
    border-color: #4a5568;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.use-item-mo h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: #0A2540;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.use-item-mo p {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.5;
}

/* Responsive Edu Grid */
@media (max-width: 1024px) {
    .edu-grid {
        grid-template-columns: 1fr;
    }

    .props-card {
        position: static;
    }

    .product-card.recommended::before {
        display: none;
    }
}
