:root {
    /* Colors */
    --color-primary: #1ABDDC; /* Azul principal */
    --color-primary-light: #A0DBDF; /* Azul secundario */
    --color-accent: #133949; /* Azul oscuro */
    --color-accent-hover: #0c242e;
    --color-surface: #ffffff;
    --color-bg: #f8fafc;
    --color-text: #475569;
    --color-text-dark: #133949;
    --color-border: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text-dark); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--spacing-xl) 0; }
.bg-light { background-color: var(--color-bg); }
.text-center { text-align: center; }
.subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.5rem; border-radius: 9999px; font-family: var(--font-heading);
    font-weight: 500; font-size: 1rem; cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary { background-color: var(--color-primary); color: white; }
.btn-primary:hover { background-color: var(--color-primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: white; color: var(--color-primary); }
.btn-secondary:hover { background-color: #f1f5f9; transform: translateY(-2px); }
.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background-color: transparent;
    border-bottom: 1px solid transparent; transition: var(--transition);
}
.navbar.scrolled { background-color: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--color-border); }
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 100px; }
.logo-img { height: 75px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { font-weight: 500; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.navbar.scrolled .nav-links a:not(.btn) { color: var(--color-text-dark); text-shadow: none; }
.nav-links a:not(.btn):hover { color: var(--color-primary-light); }
.navbar.scrolled .nav-links a:not(.btn):hover { color: var(--color-primary); }
.mobile-menu-btn { display: none; background: none; border: none; color: white; cursor: pointer; }
.navbar.scrolled .mobile-menu-btn { color: var(--color-text-dark); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(19, 57, 73, 0.4) 0%, rgba(19, 57, 73, 0.2) 100%);
}
.hero-content {
    max-width: 800px; margin: auto; text-align: center; color: white;
    z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-content h1 { font-size: clamp(3.5rem, 6vw, 5rem); color: white; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.25rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.9); max-width: 600px; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.services { background-color: var(--color-surface); }
.section-header { max-width: 700px; margin: 0 auto var(--spacing-lg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }
.service-card-new { background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; }
.service-card-new:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-img-wrapper { width: 100%; height: 260px; overflow: hidden; }
.service-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.service-card-new:hover .service-img { transform: scale(1.05); }
.service-content { padding: 2.5rem 2rem; flex-grow: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.service-content h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-text-dark); }
.service-content p { color: var(--color-text); font-size: 1.1rem; line-height: 1.6; margin: 0; }

/* About Us Section */
.about .section-header h2 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); margin-bottom: 2rem; }
.about-intro { max-width: 600px; margin: 0 auto; color: #334155; font-size: 1.25rem; line-height: 1.8; }
.about-blocks { display: flex; flex-direction: column; gap: 6rem; margin-top: 5rem; }
.about-block { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: center; }
.about-block.reverse { grid-template-columns: 1fr 1.15fr; }
.about-img-wrapper { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15); transition: transform 0.4s ease, box-shadow 0.4s ease; transform-origin: center; }
.about-img-wrapper:hover { transform: scale(1.02); box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2); }
.about-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.object-top { object-position: center 20%; }
.about-content h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--color-text-dark); margin-bottom: 0.5rem; }
.about-role { display: inline-block; font-weight: 600; color: var(--color-primary); margin-bottom: 1.5rem; font-size: 1.1rem; }
.about-content p { color: var(--color-text); font-size: 1.125rem; line-height: 1.7; margin-bottom: 1rem; }
.about-footer-text { max-width: 600px; margin: 5rem auto 0; text-align: center; }
.about-footer-text p { font-size: 1.35rem; font-weight: 500; font-family: var(--font-heading); color: var(--color-text-dark); line-height: 1.6; }

/* Brands Marquee */
.brands { overflow: hidden; padding: var(--spacing-xl) 0; }
.brands .section-header { margin-bottom: var(--spacing-lg); }
.brands h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; max-width: 800px; margin: 0 auto; color: var(--color-text-dark); }
.brands .subtitle { font-size: 1rem; color: var(--color-text); margin-bottom: 1rem; display: block; }
.marquee-wrapper { width: 100%; overflow: hidden; position: relative; padding: 2rem 0; }
.marquee-wrapper::before, .marquee-wrapper::after { content: ""; position: absolute; top: 0; width: 15rem; height: 100%; z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 4rem; padding-right: 4rem; flex-shrink: 0; }
.brand-logo { height: 45px; width: auto; object-fit: contain; flex-shrink: 0; filter: grayscale(100%) opacity(0.6); transition: var(--transition); }
.brand-logo:hover { filter: grayscale(0%) opacity(1); }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.contact.section { padding-top: 3rem; }
.contact-wrapper { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6rem; align-items: center; }
.contact-img-wrapper { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15); width: 100%; aspect-ratio: 4/5; transition: box-shadow 0.4s ease; }
.contact-img-wrapper:hover { box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2); }
.contact-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s ease; }
.contact-img-wrapper:hover .contact-img { transform: scale(1.03); }
.info-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item svg { color: var(--color-accent); flex-shrink: 0; margin-top: 0.25rem; }
.contact-link { color: inherit; text-decoration: none; transition: var(--transition); border-bottom: 1px solid transparent; }
.contact-link:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.glass-panel { background: white; padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: var(--color-text-dark); }
.form-group input, .form-group select { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1); }

.footer { background-color: var(--color-primary); color: white; padding: 2rem 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.legal-links { display: flex; gap: 1.5rem; }
.legal-links a { color: #cbd5e1; font-size: 0.875rem; }
.legal-links a:hover { color: white; }

.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

@media (max-width: 992px) { 
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .about-block, .about-block.reverse { grid-template-columns: 1fr; gap: 3.5rem; }
    .about-block.reverse .about-content { order: 2; }
    .about-block.reverse .about-img-wrapper { order: 1; }
}
@media (max-width: 768px) {
    .nav-content { height: 80px; }
    .logo-img { height: 48px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    /* Mobile Hero Restyle */
    .hero { min-height: 100vh; padding-top: 80px; padding-bottom: 20px; }
    .hero-slide { background-position: center 30%; }
    .hero-overlay { background: linear-gradient(180deg, rgba(19, 57, 73, 0.65) 0%, rgba(19, 57, 73, 0.3) 100%); }
    .hero-content { 
        text-align: center; 
        margin: auto;
        padding: 0 20px; 
        width: 100%;
    }
    .hero-content h1 { 
        font-size: clamp(38px, 10vw, 44px); 
        line-height: 1.12; 
        margin-bottom: 1.25rem; 
        text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
    }
    .hero-content p { 
        font-size: 17px; 
        line-height: 1.5; 
        margin-bottom: 2.25rem; 
        text-shadow: 0 1px 3px rgba(0,0,0,0.5); 
    }
    .hero-actions { 
        display: flex; 
        flex-direction: column; 
        gap: 14px; 
        align-items: center; 
        width: 100%;
    }
    .hero-actions .btn { 
        width: 100%; 
        max-width: 320px;
        padding: 16px 20px;
    }
    
    .marquee-wrapper::before, .marquee-wrapper::after { width: 5rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
