/* Variables */
:root {
    --color-navy: #0A1F3D;
    --color-navy-deep: #071528;
    --color-navy-light: #12315A;
    --color-gold: #D4A017;
    --color-gold-hover: #B8860B;
    --color-white: #FFFFFF;
    --color-gray-light: #F4F6F9;
    --color-gray: #4A5568;
    --color-text: #1A202C;
    --font-serif: 'Merriweather', Georgia, serif;
    --font-sans: 'Inter', 'Segoe UI', sans-serif;
    --shadow-soft: 0 4px 14px rgba(10, 31, 61, 0.08);
    --shadow-hover: 0 12px 28px rgba(10, 31, 61, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

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

/* Header */
.header {
    background-color: var(--color-navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-serif);
}

.logo img {
    height: 36px;
    margin-right: 10px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-list a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-gold);
}

.nav-list a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 4px;
    margin-left: 20px;
}

.lang-btn {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-gold);
    background-color: rgba(212, 160, 23, 0.15);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center right;
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 21, 40, 0.92) 0%, rgba(10, 31, 61, 0.75) 45%, rgba(10, 31, 61, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    max-width: 620px;
    padding: 60px 0;
}

.accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 3.1rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .nowrap {
    white-space: nowrap;
}

.hero h1 span {
    color: var(--color-gold);
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 160, 23, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-2px);
}

/* Stats */
.stats {
    background-color: var(--color-gray-light);
    padding: 0 0 40px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.stats-card {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 28px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(72%) sepia(48%) saturate(500%) hue-rotate(5deg); /* approx gold */
	margin-right: 2rem;
}

.stat-number {
    display: block;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-gold);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Secciones */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--color-gray-light);
}

.section h2 {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 16px;
}

.section-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
    color: var(--color-gray);
}

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

.content-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Proyectos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    background-color: var(--color-white);
    padding: 32px 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--color-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.project-card h3 {
    color: var(--color-navy);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-family: var(--font-serif);
}

/* Proceso */
.process-header {
    text-align: center;
    margin-bottom: 50px;
}

.process-badge {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold));
    z-index: 0;
}

.step {
    text-align: center;
    padding: 24px 16px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
	margin-bottom: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: var(--color-gold);
    color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin: -16px auto 12px;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background-color: var(--color-navy);
    color: var(--color-gold);
    transform: scale(1.1);
}

.step h3 {
    color: var(--color-navy);
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-family: var(--font-serif);
}

.step p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* CTA */
.cta-section {
    background-color: var(--color-navy);
    padding: 70px 0;
}

.cta-card {
    background-color: var(--color-navy-deep);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--color-white);
}

.cta-text h2 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    margin-bottom: 12px;
    color: var(--color-white);
    text-align: left;
}

.cta-text p {
    opacity: 0.9;
    max-width: 420px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--color-navy-deep);
    color: #A0AEC0;
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.5;
}

.copyright {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-card,
    .process-steps,
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps::before {
        display: none;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-text h2 {
        text-align: center;
    }
}

@media (max-width: 700px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-navy);
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
        text-align: center;
    }

    .nav-list.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .stats-card,
    .process-steps,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 70vh;
        background-position: center;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        justify-content: center;
    }
}
