:root {
/* ========================================= */
/* --- PALETA COMBINADA: AZULES + AMARILLO --- */
/* ========================================= */
--primary: #1A5276;       /* Azul Medio (Principal) */
--primary-dark: #003355;  /* Azul Base (Oscuro) */
--primary-light: #5D8AA8; /* Azul Acero (Brillo) */

--secondary: #2C3E50;     /* Gris Azulado Oscuro (Texto) */

/* ✅ AMARILLO INDUSTRIAL RESTAURADO */
--accent: #FFD700;        /* Amarillo Oro/Seguridad (Detalles) */
--accent-hover: #e6c200;  /* Amarillo hover más oscuro */

--light: #f4f6f7;         /* Fondo claro (neutral) */
--dark: #003355;          /* Oscuro principal */
--grey: #95a5a6;

/* ========================================= */
/* --- TIPOGRAFÍA --- */
/* ========================================= */
--font-heading: 'Montserrat', sans-serif;  /* Montserrat para títulos */
--font-body: 'Roboto', sans-serif;         /* Roboto para cuerpo */
}

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

html {
scroll-behavior: smooth;
}

body {
font-family: var(--font-body);
color: var(--secondary);
background-color: var(--light);
line-height: 1.6;
overflow-x: hidden;
}

/* ========================================= */
/* --- TÍTULOS CON MONTSERRAT --- */
/* ========================================= */
h1, h2, h3, h4, h5 {
font-family: var(--font-heading);
text-transform: uppercase;
letter-spacing: 1px;
color: var(--primary-dark);
font-weight: 800;
}

h1 { font-weight: 900; }

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ========================================= */
/* --- TOP BAR --- */
/* ========================================= */
.top-bar {
background: var(--primary-dark);
color: #aaa;
font-size: 0.85rem;
padding: 10px 0;
border-bottom: 1px solid #333;
}

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

.top-info span { margin-right: 20px; }
.top-info i, .top-social i { color: var(--accent); margin-right: 5px; }

.top-social a {
color: #fff;
margin-left: 15px;
opacity: 0.7;
}

.top-social a:hover { opacity: 1; color: var(--accent); }

/* ========================================= */
/* --- HEADER & NAV --- */
/* ========================================= */
#main-header {
background: #fff;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
position: sticky;
top: 0;
z-index: 1000;
padding: 15px 0;
transition: 0.3s;
}

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

/* ========================================= */
/* --- LOGO CON IMAGEN --- */
/* ========================================= */
.logo-img {
height: 110px;
width: auto;
display: block;
transition: 0.3s;
}

.logo-img:hover {
transform: scale(1.05);
opacity: 0.9;
}

.nav-links {
display: flex;
gap: 30px;
align-items: center;
}

.nav-links a {
font-family: var(--font-heading);
font-weight: 700;
font-size: 0.95rem;
color: var(--secondary);
position: relative;
text-transform: uppercase;
}

.nav-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: var(--accent); /* ✅ Amarillo en hover del menú */
transition: 0.3s;
}

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

.btn-nav {
background: var(--accent); /* ✅ Amarillo en botón de contacto */
color: var(--primary-dark) !important;
padding: 10px 25px;
border-radius: 2px;
font-weight: 700;
}

.btn-nav:hover {
background: var(--accent-hover);
color: var(--primary-dark) !important;
}
.btn-nav::after { display: none; }

/* Burger Menu */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background: var(--primary-dark); margin: 5px; transition: 0.3s; }

/* ========================================= */
/* --- HERO SECTION --- */
/* ========================================= */
.hero {
height: 85vh;
position: relative;
display: flex;
align-items: center;
background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
}

.hero-bg {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: linear-gradient(135deg, rgba(0, 51, 85, 0.7) 0%, rgba(26, 82, 118, 0.9) 100%);
}

.hero-content {
position: relative;
z-index: 2;
color: #fff;
max-width: 800px;
}

.hero-tag {
background: var(--accent); /* ✅ Amarillo en etiqueta */
color: var(--primary-dark);
padding: 5px 15px;
font-size: 0.8rem;
font-weight: 700;
display: inline-block;
margin-bottom: 20px;
letter-spacing: 2px;
font-family: var(--font-heading);
}

.hero h1 {
font-size: 4.5rem;
line-height: 1.1;
margin-bottom: 20px;
font-weight: 900;
text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
color: #fff;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 40px;
opacity: 0.95;
text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-btns { display: flex; gap: 20px; }

.btn {
padding: 15px 35px;
font-family: var(--font-heading);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
border: 2px solid transparent;
cursor: pointer;
}

/* ✅ Botón primario en AMARILLO (llamado a la acción) */
.btn-primary {
background: var(--accent);
color: var(--primary-dark);
}

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

.btn-outline {
border: 2px solid #fff;
color: #fff;
}

.btn-outline:hover {
background: #fff;
color: var(--primary);
}

/* ========================================= */
/* --- STATS BAR --- */
/* ========================================= */
.stats-bar {
background: var(--primary-dark);
color: #fff;
padding: 40px 0;
margin-top: -5px;
}

.stats-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
text-align: center;
gap: 20px;
}

/* ✅ Íconos en amarillo para resaltar */
.stat-item i { font-size: 2rem; color: var(--accent); margin-bottom: 10px; }
.stat-item h3 { font-size: 1.5rem; margin-bottom: 5px; color: #fff; font-weight: 800; }
.stat-item p { font-size: 0.9rem; opacity: 0.7; }

/* ========================================= */
/* --- ABOUT SECTION --- */
/* ========================================= */
.about-section { padding: 100px 0; }

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

.about-img { position: relative; }

.about-img img {
width: 100%;
border-radius: 4px;
box-shadow: 20px 20px 0px var(--primary);
}

/* ✅ Badge con borde amarillo */
.experience-badge {
position: absolute;
bottom: -30px;
right: -30px;
background: var(--primary-dark);
color: #fff;
padding: 30px;
text-align: center;
border: 2px solid var(--accent);
}

.experience-badge span { display: block; font-size: 0.8rem; color: var(--grey); }
.experience-badge strong { font-size: 1.5rem; font-family: var(--font-heading); font-weight: 800; color: var(--accent); }

.about-text .sub-title {
color: var(--accent); /* ✅ Subtítulo en amarillo */
font-family: var(--font-heading);
font-weight: 700;
letter-spacing: 2px;
margin-bottom: 10px;
}

.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary-dark); font-weight: 800; }
.about-text .lead { margin-bottom: 30px; color: #555; }

.mv-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 30px;
}

.mv-box {
background: #fff;
padding: 20px;
border-left: 4px solid var(--accent); /* ✅ Borde izquierdo amarillo */
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mv-box h5 { color: var(--primary-dark); margin-bottom: 10px; font-size: 1.1rem; font-weight: 700; }
.mv-box p { font-size: 0.9rem; color: #666; }

.link-arrow {
color: var(--accent); /* ✅ Flecha en amarillo */
font-family: var(--font-heading);
font-weight: 700;
text-transform: uppercase;
font-size: 0.9rem;
}

.link-arrow i { margin-left: 5px; transition: 0.3s; }
.link-arrow:hover i { margin-left: 10px; }

/* ========================================= */
/* --- PRODUCTS SECTION --- */
/* ========================================= */
.products-section {
background: #f0f2f5;
padding: 100px 0;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-dark); font-weight: 800; }

/* ✅ Divider en amarillo */
.divider {
width: 60px;
height: 4px;
background: var(--accent);
margin: 15px auto;
}

.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}

.product-card {
background: #fff;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
transition: 0.3s;
border-top: 3px solid transparent;
}

.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
border-top: 3px solid var(--accent); /* ✅ Borde superior amarillo al hover */
}

.card-img {
height: 200px;
background-size: cover;
background-position: center;
position: relative;
}

.card-img::after {
content: '';
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0,0,0,0.2);
transition: 0.3s;
}

.product-card:hover .card-img::after {
background: rgba(26, 82, 118, 0.6);
}

.card-info { padding: 25px; }
.card-info h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-dark); font-weight: 700; }
.card-info p { font-size: 0.9rem; color: #777; margin-bottom: 20px; }

.card-info a {
color: var(--accent); /* ✅ Enlaces en amarillo */
font-family: var(--font-heading);
font-weight: 700;
font-size: 0.85rem;
text-transform: uppercase;
}

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

/* ========================================= */
/* --- CTA BANNER --- */
/* ========================================= */
.cta-banner {
background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover fixed;
position: relative;
padding: 100px 0;
text-align: center;
color: #fff;
}

.overlay {
position: absolute; top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0, 51, 85, 0.85);
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: 3rem; margin-bottom: 15px; color: #fff; font-weight: 800; }
.cta-content p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

.phones-cta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.phone-box {
background: var(--accent); /* ✅ Cajas de teléfono en amarillo */
padding: 15px 30px;
border: 2px solid var(--accent);
color: var(--primary-dark);
font-family: var(--font-heading);
font-weight: 700;
font-size: 1.2rem;
border-radius: 50px;
}

.phone-box:hover {
background: var(--accent-hover);
border-color: var(--accent-hover);
color: var(--primary-dark);
transform: translateY(-3px);
}

/* ========================================= */
/* --- FOOTER --- */
/* ========================================= */
footer { background: var(--primary-dark); color: #fff; padding-top: 80px; }

.footer-grid {
display: grid;
grid-template-columns: 1.5fr 1.5fr 1fr;
gap: 50px;
padding-bottom: 60px;
border-bottom: 1px solid #333;
}

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

.footer-logo-img {
height: 100px;
width: auto;
display: block;
transition: 0.3s;
}

.footer-logo-img:hover {
transform: scale(1.05);
}

.footer-col p { color: #aaa; margin-bottom: 20px; font-size: 0.95rem; }

.footer-legal span {
background: #333;
padding: 5px 10px;
font-size: 0.8rem;
border-radius: 4px;
color: #fff;
}

.footer-col h3 {
color: #fff;
font-size: 1.1rem;
margin-bottom: 25px;
position: relative;
padding-bottom: 10px;
font-family: var(--font-heading);
font-weight: 700;
}

/* ✅ Línea decorativa en amarillo */
.footer-col h3::after {
content: '';
position: absolute;
bottom: 0; left: 0; width: 40px; height: 3px;
background: var(--accent);
}

.contact-list li {
margin-bottom: 15px;
color: #aaa;
font-size: 0.95rem;
display: flex;
align-items: center;
gap: 10px;
}

/* ✅ Íconos de contacto en amarillo */
.contact-list li i { color: var(--accent); width: 20px; }

.social-circle-container { display: flex; gap: 15px; }

.social-circle-container a {
width: 45px; height: 45px;
border-radius: 50%;
background: #333;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
transition: 0.3s;
border: 2px solid transparent;
}

.social-circle-container a:hover {
background: var(--accent); /* ✅ Amarillo en hover de redes */
color: var(--primary-dark);
border-color: var(--accent-hover);
transform: translateY(-5px);
}

.small-text { font-size: 0.8rem; color: #555; margin-top: 20px; }

.footer-bottom {
text-align: center;
padding: 20px;
background: #002244;
color: #aaa;
font-size: 0.85rem;
}

/* ========================================= */
/* --- ANIMACIONES SCROLL --- */
/* ========================================= */
.reveal {
opacity: 0;
transform: translateY(50px);
transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
opacity: 1;
transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.hero-content > * {
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ========================================= */
/* ✅ RESPONSIVE - MÓVILES Y TABLETS --- */
/* ========================================= */

/* Tablets y pantallas medianas */
@media screen and (max-width: 900px) {
/* Hero */
.hero h1 { font-size: 2.8rem; }
.hero p { font-size: 1rem; }
.hero-btns { flex-direction: column; gap: 15px; }
.btn { width: 100%; text-align: center; }

/* Stats */
.stats-grid { grid-template-columns: 1fr; gap: 30px; }

/* About */
.about-grid { grid-template-columns: 1fr; gap: 40px; }
.about-img { margin-bottom: 40px; }
.about-img img { box-shadow: 10px 10px 0px var(--primary); }
.experience-badge { right: 20px; bottom: -20px; padding: 20px; }
.experience-badge strong { font-size: 1.2rem; }

.mv-container { grid-template-columns: 1fr; }

/* Products */
.product-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.section-header h2 { font-size: 2rem; }

/* CTA */
.cta-content h2 { font-size: 2rem; }
.phones-cta { flex-direction: column; align-items: center; }
.phone-box { width: 100%; max-width: 300px; }

/* Footer */
.footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
.footer-logo-img { height: 80px; margin: 0 auto 20px auto; }
.footer-col h3::after { left: 50%; transform: translateX(-50%); }
.contact-list li { justify-content: center; }
.social-circle-container { justify-content: center; }

/* Logo */
.logo-img { height: 80px; }
.footer-logo-img { height: 70px; }

/* Navegación Móvil */
.nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding-top: 50px;
    gap: 0;
}

.nav-links li { 
    opacity: 0; 
    margin: 20px 0;
    width: 100%;
    text-align: center;
}

.nav-links a {
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
}

.burger { display: block; }

.nav-active { transform: translateX(0%); }

.burger {
    position: relative;
    z-index: 1001;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0px); }
}
}

/* Móviles pequeños */
@media screen and (max-width: 600px) {
/* Hero */
.hero { height: 70vh; }
.hero h1 { font-size: 2rem; }
.hero p { font-size: 0.9rem; margin-bottom: 25px; }
.hero-tag { font-size: 0.7rem; padding: 4px 10px; }

/* Padding general */
.about-section, .products-section, .cta-banner { padding: 60px 0; }

/* Stats */
.stat-item i { font-size: 1.5rem; }
.stat-item h3 { font-size: 1.2rem; }
.stat-item p { font-size: 0.8rem; }

/* About */
.about-text h2 { font-size: 1.8rem; }
.about-text .lead { font-size: 1rem; }
.mv-box { padding: 15px; }
.mv-box h5 { font-size: 1rem; }

/* Products */
.product-card { border-radius: 6px; }
.card-img { height: 180px; }
.card-info { padding: 20px; }
.card-info h3 { font-size: 1.1rem; }
.card-info p { font-size: 0.85rem; }

/* CTA */
.cta-content h2 { font-size: 1.6rem; }
.cta-content p { font-size: 1rem; }
.phone-box { font-size: 1rem; padding: 12px 20px; }

/* Footer */
.footer-col h3 { font-size: 1rem; }
.footer-col p { font-size: 0.85rem; }
.contact-list li { font-size: 0.85rem; }
.social-circle-container a { width: 40px; height: 40px; font-size: 1rem; }

/* Logo */
.logo-img { height: 70px; }
.footer-logo-img { height: 60px; }

/* Container */
.container { padding: 0 15px; }

/* Top bar */
.top-info span { margin-right: 10px; font-size: 0.75rem; }
.top-social span { display: none; }
}

/* Móviles muy pequeños */
@media screen and (max-width: 400px) {
.hero h1 { font-size: 1.6rem; }
.about-text h2 { font-size: 1.5rem; }
.section-header h2 { font-size: 1.6rem; }
.btn { padding: 12px 25px; font-size: 0.85rem; }
}