:root {
    --primary-color: #002B5C;
    /* Navy Blue - Industrial */
    --secondary-color: #333333;
    /* Dark Grey */
    --accent-color: #0056b3;
    /* Lighter Blue for interactions */
    --text-color: #212529;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    display: none;
    /* Hidden as requested */
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    /* Adjust based on actual logo */
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--white) !important;
}

/* Remove underline effect for the button */
.nav-links .cta-button::after {
    display: none;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 43, 92, 0.8), rgba(0, 43, 92, 0.8)), url('hero-bg-placeholder.jpg');
    /* Need an image here */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    /* Reduced as requested "Hero corporativo", might need adjustments */
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    /* 48px */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    /* 20px */
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Capabilities */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.capability-card,
.service-item,
.project-card,
.sector-card,
.value-item,
.mv-block,
.contact-info-block,
.contact-form-block {
    border: 1px solid #d1d1d1;
    /* Stronger frame */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.capability-card {
    background: var(--light-bg);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.capability-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.capability-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* How We Work */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.1rem;
    color: inherit;
    /* Allow color inheritance for dark mode */
}

.step p {
    color: inherit;
}

/* Process Section Dark Mode */
.section-dark {
    background-color: #1a1a1a;
    color: #ffffff;
}

.section-dark .section-title h2,
.section-dark .section-title p {
    color: #ffffff;
}

.section-dark .process-steps {
    flex-direction: column;
    gap: 15px;
}

.section-dark .step {
    background-color: #2a2a2a;
    border: 1px solid #444;
    /* Frame */
    border-radius: 8px;
    /* Rounded corners */
    padding: 20px 30px;
    margin-bottom: 0;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
}

.section-dark .step:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    background-color: #333;
}

.section-dark .step-number {
    background-color: transparent;
    color: var(--primary-color);
    /* Blue number */
    font-size: 2.5rem;
    border: none;
    margin: 0;
    line-height: 1;
    min-width: 60px;
    text-align: right;
    font-weight: 800;
    opacity: 0.8;
}

.section-dark .step-content {
    flex: 1;
}

.section-dark .step h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 600;
}

.section-dark .step p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}



/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .process-steps {
        flex-direction: column;
    }
}