:root {
    --primary: #003366;
    --semco-blue: #0054A6;
    --semco-dark: #004080;
    --accent: #f4f7f9;
    --dark: #1a1a1a;
    --grey: #707070;
    --white: #ffffff;
    --trater-orange: #e67e22;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.main-header {
    background: var(--white);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { height: 68px; width: auto; display: block; transition: transform 0.3s ease; }
.brand-logo:hover { transform: scale(1.02); }

.nav-links a { text-decoration: none; color: var(--dark); margin-left: 30px; font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.nav-links a:hover { color: var(--semco-blue); }
.btn-contact { background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 4px; }

/* Hero TRATER */
.hero-trater {
    /* Mantenemos el degradado azul para que el texto blanco siga siendo legible */
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), 
    url('img/00.png') center/cover;
    
    height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}
.hero-trater h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.hero-trater p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 30px auto; }

/* Secciones Generales */
section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; color: var(--primary); font-weight: 800; }
.subtitle { display: block; text-align: center; color: var(--semco-blue); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; font-size: 0.9rem; }

/* Sobre TRATER */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { margin-bottom: 20px; color: var(--grey); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.stat-card { background: var(--accent); padding: 20px; border-radius: 4px; text-align: center; }
.stat-card span { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); }

/* Ingeniería Reverse */
.engineering-section { background: var(--dark); color: white; }
.eng-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.eng-item { border-left: 3px solid var(--semco-blue); padding-left: 20px; margin-bottom: 30px; }
.eng-item h3 { margin-bottom: 10px; color: var(--white); }

/* Catálogo */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-card { border: 1px solid #eee; border-radius: 4px; overflow: hidden; transition: var(--transition); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.product-info { padding: 25px; }
.product-info h3 { color: var(--primary); margin-bottom: 10px; }
.product-info ul { list-style: none; font-size: 0.9rem; color: var(--grey); }
.product-info li::before { content: "• "; color: var(--semco-blue); font-weight: bold; }

/* Presencia Global */
.global-section { background: var(--accent); }
.ports-list { columns: 2; column-gap: 40px; }
.ports-list li { margin-bottom: 10px; font-weight: 600; color: var(--primary); list-style: none; display: flex; align-items: center; gap: 10px; }
.ports-list li::before { content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--semco-blue); }

/* Footer */
.footer { text-align: center; padding: 40px; background: var(--dark); color: var(--white); font-size: 0.8rem; }

/* CTA Final */
.cta-box { background: var(--primary); color: white; padding: 60px; border-radius: 8px; text-align: center; }
.cta-box h2 { font-size: 2rem; margin-bottom: 20px; }
.btn-large { display: inline-block; background: white; color: var(--primary); padding: 15px 40px; border-radius: 4px; text-decoration: none; font-weight: 800; transition: var(--transition); }
.btn-large:hover { background: var(--accent); transform: scale(1.05); }

@media (max-width: 768px) {
    .about-grid, .eng-grid { grid-template-columns: 1fr; }
    .hero-trater h1 { font-size: 2rem; }
    .ports-list { columns: 1; }
}