@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color System */
    --primary-blue: #132E4F;
    --primary-blue-light: #1C4373;
    --primary-blue-dark: #0D1F35;
    --accent-orange: #FF9D00;
    --accent-orange-hover: #E68D00;
    --neutral-white: #FFFFFF;
    --neutral-light-gray: #F8F9FA;
    --neutral-soft-gray: #E9ECEF;
    --neutral-brand-gray: #878787;
    --text-dark: #1A1A1A;
    --text-muted: #666666;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-smooth: 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: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--neutral-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Helper Classes */
.bg-blue {
    background-color: var(--primary-blue);
    color: var(--neutral-white);
}

.bg-gray {
    background-color: var(--neutral-light-gray);
}

.text-orange {
    color: var(--accent-orange);
}

.text-white {
    color: var(--neutral-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--neutral-white);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-outline {
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--accent-orange);
    color: var(--neutral-white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 10px 0;
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

header.scrolled .logo-img {
    height: 38px;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-blue);
    opacity: 0.8;
}

nav ul li a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(19, 46, 79, 0.7), rgba(19, 46, 79, 0.7)), url('assets/img/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--neutral-white);
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-bullets {
    margin-bottom: 2.5rem;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-bullets li::before {
    content: '•';
    color: var(--accent-orange);
    font-size: 1.5rem;
}

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

/* Sections General */
section {
    padding: var(--section-padding);
}

/* Qué Hacemos (Solucion) */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--neutral-white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--neutral-soft-gray);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Industrias */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.industry-item {
    background: var(--neutral-light-gray);
    padding: 25px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.industry-item:hover {
    background: var(--neutral-white);
    border-bottom-color: var(--accent-orange);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

/* Materiales */
.materials-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.materials-list {
    flex: 1;
}

.materials-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.materials-list i {
    color: var(--accent-orange);
    font-size: 1.25rem;
    margin-top: 5px;
}

/* Ventajas */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Arriendo */
.rental-section {
    background-color: var(--primary-blue);
    color: var(--neutral-white);
    text-align: center;
}

.rental-section h2 {
    color: var(--neutral-white);
}

.rental-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.rental-benefit-item {
    border-left: 2px solid var(--accent-orange);
    padding-left: 20px;
    text-align: left;
}

/* Proceso */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.process-step {
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    opacity: 0.2;
    margin-bottom: 10px;
}

.process-step h3 {
    margin-bottom: 15px;
}

/* Proyectos */
.project-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.project-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Nosotros */
.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mision-vision-card {
    padding: 40px;
    background: var(--neutral-light-gray);
    border-radius: 8px;
}

/* Contacto */
.contact-section {
    background-color: var(--primary-blue-dark);
    color: var(--neutral-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info h2 {
    color: white;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--neutral-soft-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-form .btn {
    grid-column: span 2;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--primary-blue-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Technical Lines Decor */
.line-decor {
    width: 50px;
    height: 2px;
    background: var(--accent-orange);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {

    .solution-grid,
    .advantages-grid,
    .rental-benefits,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .mobile-nav-toggle {
        display: block;
        order: 3;
    }

    .logo {
        order: 1;
    }

    header .btn-primary {
        display: none;
        /* Hide advisor button on mobile header to save space */
    }

    #nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        transition: var(--transition-smooth);
        display: block;
        z-index: 999;
    }

    #nav-menu.active {
        left: 0;
    }

    #nav-menu ul {
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
    }

    #nav-menu ul li a {
        font-size: 1.25rem;
        display: block;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .project-featured,
    .contact-container,
    .nosotros-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .contact-form .btn {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .rental-benefits {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 30px 20px;
    }

    .materials-content {
        flex-direction: column;
        gap: 30px;
    }

    .materials-content>div:last-child {
        width: 100%;
        height: 300px !important;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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