:root {
    --q-green: #648c75;
    --q-green-dark: #486a58;
    --q-ink: #24313a;
    --q-muted: #687781;
    --q-soft: #f4f7f9;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    color: var(--q-ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

.brand-logo {
    height: 44px;
    width: auto;
}

.navbar .nav-link {
    color: var(--q-ink);
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--q-green);
}

.language-switch {
    align-items: center;
    border: 1px solid #dfe8ed;
    border-radius: 999px;
    display: inline-flex;
    gap: 6px;
    line-height: 1;
    margin-left: 10px;
    padding: 8px 12px !important;
}

.language-switch:hover,
.language-switch:focus {
    background: var(--q-soft);
}

.language-switch-flag {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(36, 49, 58, .12);
    display: block;
    height: 14px;
    object-fit: cover;
    width: 21px;
}

.btn {
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0;
}

.btn-primary {
    --bs-btn-bg: var(--q-green);
    --bs-btn-border-color: var(--q-green);
    --bs-btn-hover-bg: var(--q-green-dark);
    --bs-btn-hover-border-color: var(--q-green-dark);
}

.hero-section {
    min-height: 78vh;
    background:
        linear-gradient(90deg, rgba(10, 24, 34, .82), rgba(10, 24, 34, .34)),
        url("../img/foto_fondo1.jpg") center / cover no-repeat;
}

.min-vh-75 {
    min-height: 75vh;
}

.section-space {
    padding: 92px 0;
}

.section-kicker {
    color: var(--q-green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.text-brand {
    color: var(--q-green) !important;
}

.section-title {
    color: var(--q-ink);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
}

.section-heading {
    max-width: 720px;
}

.bg-soft {
    background: var(--q-soft);
}

.map-image {
    filter: drop-shadow(0 24px 34px rgba(36, 49, 58, .12));
}

.metric {
    background: #fff;
    border: 1px solid #e7edf1;
    border-radius: 6px;
    min-height: 120px;
    padding: 24px 18px;
}

.metric strong {
    color: var(--q-green);
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.metric span {
    color: var(--q-muted);
    display: block;
    font-size: .88rem;
    margin-top: 10px;
    text-transform: uppercase;
}

.service-block {
    border-top: 1px solid #e5edf2;
    padding: 58px 0;
}

.service-block:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.service-image {
    aspect-ratio: 16 / 7;
    border-radius: 6px;
    object-fit: cover;
    width: 100%;
}

.operations-intro {
    max-width: 470px;
}

.operation-card {
    background: #fff;
    border-radius: 6px;
    color: var(--q-ink);
    overflow: hidden;
}

.operation-card img {
    aspect-ratio: 1 / 1;
    background: #eef3f6;
    border-radius: 0;
    object-fit: cover;
    width: 100%;
}

.operation-card div {
    padding: 22px;
}

.operation-card h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.operation-card p {
    color: var(--q-muted);
    margin: 0;
}

.operation-card small {
    color: var(--q-green);
    display: block;
    font-weight: 700;
    margin-top: 8px;
}

.client-logo {
    align-items: center;
    background: #fff;
    border: 1px solid #e7edf1;
    border-radius: 6px;
    display: flex;
    height: 132px;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
}

.client-logo img {
    max-height: 92px;
    max-width: 100%;
    object-fit: contain;
    transform: scale(var(--logo-scale, 1));
}

.careers-section {
    border-top: 1px solid #e5edf2;
}

.careers-panel {
    background: #fff;
    border: 1px solid #e7edf1;
    border-radius: 6px;
    padding: 34px;
}

.careers-panel > i {
    align-items: center;
    background: rgba(100, 140, 117, .14);
    border-radius: 6px;
    color: var(--q-green);
    display: inline-flex;
    font-size: 2rem;
    height: 62px;
    justify-content: center;
    margin-bottom: 24px;
    width: 62px;
}

.careers-panel h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.careers-panel p {
    color: var(--q-muted);
    margin-bottom: 24px;
}

.careers-panel .btn {
    max-width: 100%;
    white-space: normal;
}

.contact-section {
    background:
        linear-gradient(90deg, rgba(15, 31, 42, .96), rgba(15, 31, 42, .84)),
        url("../img/inversion.png") center / cover no-repeat;
}

.contact-list {
    color: rgba(255, 255, 255, .78);
    display: grid;
    font-style: normal;
    gap: 18px;
    margin-top: 32px;
}

.contact-list span {
    align-items: center;
    display: flex;
    gap: 12px;
}

.contact-list i {
    color: var(--q-green);
    font-size: 1.25rem;
}

.contact-form {
    background: #fff;
    border-radius: 6px;
    padding: 30px;
}

.form-control {
    border-color: #d9e3ea;
    border-radius: 4px;
    min-height: 48px;
}

.form-control:focus {
    border-color: var(--q-green);
    box-shadow: 0 0 0 .2rem rgba(100, 140, 117, .18);
}

.footer-logo {
    height: 36px;
}

.social-link {
    color: var(--q-green);
    font-size: 1.4rem;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 18px;
    }

    .language-switch {
        margin-left: 0;
        margin-top: 8px;
        width: max-content;
    }

    .hero-section {
        min-height: 680px;
    }

    .section-space {
        padding: 68px 0;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2.55rem;
    }

    .contact-form {
        padding: 22px;
    }

    .careers-panel {
        padding: 24px;
    }
}
