:root { 
    --color-rojo-principal: #D9232D; 
    --color-fondo-oscuro: #1a1a1a; 
    --color-fondo-claro: #f4f4f4; 
    --color-texto-oscuro: #333; 
    --color-texto-claro: #ffffff; 
    --fuente-titulos: 'Montserrat', sans-serif; 
    --fuente-texto: 'Open Sans', sans-serif; 
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fuente-texto); color: var(--color-texto-oscuro); line-height: 1.6; background-color: #fff; }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--fuente-titulos); font-weight: 700; margin-bottom: 20px; }
section { padding: 80px 0; overflow-x: hidden; }
.btn { display: inline-block; padding: 12px 28px; background-color: var(--color-rojo-principal); color: var(--color-texto-claro); text-decoration: none; font-weight: 700; border-radius: 5px; transition: transform 0.3s, background-color 0.3s; text-transform: uppercase; font-size: 14px; border: none; cursor: pointer; }
.btn:hover { transform: scale(1.05); background-color: #b81e26; }
.header { background-color: rgba(26, 26, 26, 0.9); color: var(--color-texto-claro); padding: 15px 0; position: sticky; top: 0; width: 100%; z-index: 1000; backdrop-filter: blur(5px); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 50px; }
.main-nav ul { list-style: none; display: flex; align-items: center; }
.main-nav ul li { margin-left: 25px; }
.main-nav ul li a { color: var(--color-texto-claro); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.main-nav ul li a:hover { color: var(--color-rojo-principal); }
.menu-toggle { display: none; font-size: 2rem; background: none; border: none; color: white; cursor: pointer; z-index: 1001; }
.hero { position: relative; height: 100vh; color: var(--color-texto-claro); display: flex; justify-content: center; align-items: center; text-align: center; padding: 0 20px; overflow: hidden; }
.video-background { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; z-index: -1; transform: translate(-50%, -50%); pointer-events: none; }
.video-background iframe { width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.77vh; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 4rem; font-weight: 900; margin-bottom: 10px; }
.hero p { font-size: 1.5rem; margin-bottom: 30px; }
.hero .cta-buttons .btn { margin: 0 10px; padding: 15px 35px; font-size: 16px; }
.hero .btn.btn-secondary { background-color: transparent; border: 2px solid var(--color-rojo-principal); }
.hero .btn.btn-secondary:hover { background-color: var(--color-rojo-principal); }
#intro, .text-center { text-align: center; }
#intro h2 { font-size: 2.5rem; }
#intro p, .text-center p { max-width: 800px; margin: 0 auto; font-size: 1.1rem; }
#servicios, #inversion, #proceso, #equipo { background-color: var(--color-fondo-claro); }
#servicios h2, #portafolio h2, #testimonios h2, #equipo h2 { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.service-card { background: var(--color-texto-claro); padding: 40px 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 25px rgba(0,0,0,0.1); }
.service-card h3 { color: var(--color-rojo-principal); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 300px); gap: 15px; }
.portfolio-item { display: block; border-radius: 5px; overflow: hidden; background-size: cover; background-position: center center; transition: transform 0.5s ease; }
.portfolio-item:hover { transform: scale(1.05); }
.focus-top { background-position: center top; }
.testimonials-container { display: flex; gap: 30px; flex-wrap: wrap; }
.testimonial-card { background: var(--color-texto-claro); padding: 30px; border-radius: 10px; border-left: 5px solid var(--color-rojo-principal); flex: 1; min-width: 300px; }
.testimonial-card p { font-style: italic; margin-bottom: 15px; }
.testimonial-card cite { font-weight: 700; }
#cta-final, #cta-cotizador { background-color: var(--color-fondo-oscuro); color: var(--color-texto-claro); text-align: center; }
#cta-final h2, #cta-cotizador h2 { font-size: 2.5rem; }
footer { background-color: #111; color: #aaa; text-align: center; padding: 40px 0; }
.footer-content { max-width: 800px; margin: auto; }
.footer-logo { height: 60px; margin-bottom: 20px; }
.footer-nav { margin: 20px 0; }
.footer-nav a { color: #aaa; margin: 0 15px; text-decoration: none; transition: color 0.3s; }
.footer-nav a:hover { color: var(--color-rojo-principal); }
.social-icons { margin: 20px 0; }
.social-icons a { color: #aaa; margin: 0 15px; text-decoration: none; font-size: 1.5rem; transition: color 0.3s; }
.social-icons a:hover { color: var(--color-rojo-principal); }
@media (max-width: 850px) {
    .main-nav { display: none; position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; background-color: rgba(0,0,0,0.95); justify-content: center; align-items: center; transition: left 0.3s ease-in-out; flex-direction: column; }
    .main-nav.is-active { display: flex; left: 0; }
    .main-nav ul { flex-direction: column; padding: 0;}
    .main-nav ul li { margin: 20px 0; }
    .main-nav ul li a { font-size: 1.5rem; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.2rem; }
    .hero .cta-buttons { display: flex; flex-direction: column; }
    .hero .cta-buttons .btn { width: 100%; max-width: 350px; margin: 10px auto; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .testimonials-container { flex-direction: column; }
}
/* Estilos adicionales para otras páginas */
.page-header { padding: 100px 0; text-align: center; color: var(--color-texto-claro); }
.page-header h1 { font-size: 3.5rem; font-weight: 900; }
.page-header p { font-size: 1.2rem; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; margin: 40px auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.gallery-section { padding-top: 40px; }
.gallery-section h3 { font-size: 2rem; border-bottom: 3px solid var(--color-rojo-principal); display: inline-block; padding-bottom: 10px; margin-bottom: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-grid div { overflow: hidden; border-radius: 5px; }
.gallery-grid img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-grid img:hover { transform: scale(1.05); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.process-step { background: white; padding: 30px; border-radius: 10px; border-top: 4px solid var(--color-rojo-principal); transition: transform 0.3s, box-shadow 0.3s; }
.process-step:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.process-step h3 { font-size: 1.2rem; }
.process-step .step-number { font-size: 2.5rem; font-weight: 900; color: var(--color-rojo-principal); margin-bottom: 10px; }
/* --- ESTILOS PARA ICONOS SVG --- */
.info-item .icon {
    display: inline-block;
    width: 28px;  /* Ancho fijo */
    height: 28px; /* Alto fijo */
    margin-right: 15px;
    fill: var(--color-rojo-principal); /* Colorea el logo */
}

.social-icons .icon {
    width: 24px;  /* Un poco más pequeño para el footer */
    height: 24px;
    fill: #aaa; /* Color por defecto en footer */
    transition: fill 0.3s;
}

.social-icons a:hover .icon {
    fill: var(--color-rojo-principal); /* Cambia de color al pasar el ratón */
}
