/*
Theme Name: VECTOR Ingeniería y Movilidad
Description: Tema corporativo de VECTOR Ingeniería y Movilidad S.L.P.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Author: VECTOR Ingeniería y Movilidad S.L.P.
Text Domain: vector-ingenieria
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --navy: #082d46;
    --green: #236137;
    --lime: #bcebc5;
    --ink: #263741;
    --paper: #f3f6f6;
    --border: #dbe4e6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.65 system-ui, sans-serif; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.12; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 99999; padding: .75rem; background: white; }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.brand, .custom-logo-link { display: inline-flex; flex-shrink: 0; width: clamp(10rem, 21vw, 15rem); }
.brand img, .custom-logo { width: 100%; object-fit: contain; max-height: 5rem; object-position: left center; }
.nav-list { display: flex; flex-wrap: wrap; gap: .25rem 1.3rem; padding: 0; margin: 0; list-style: none; }
.nav-list a { display: block; padding: .55rem 0; color: var(--navy); font-weight: 650; text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--green); text-decoration: underline; }
.hero { background: var(--navy); color: #fff; border-bottom: 5px solid #37774a; }
.hero-inner { padding-block: clamp(2.6rem, 7vw, 5.4rem); }
.hero-home {
    background: linear-gradient(90deg, var(--navy) 36%, #082d46aa 74%, #082d4622),
        url(assets/trazado.svg) right center / min(54rem, 67vw) auto no-repeat, var(--navy);
}
.hero-home .hero-inner { padding-block: clamp(3.4rem, 9vw, 8rem); }
.eyebrow { margin: 0 0 1rem; color: var(--lime); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; }
.hero h1 { margin: 0; max-width: 17ch; font-size: clamp(2.2rem, 6vw, 4.9rem); letter-spacing: -.045em; }
.hero-description { max-width: 47ch; font-size: clamp(1rem, 2vw, 1.27rem); margin: 1.25rem 0 1.65rem; color: #e2eef3; }
.hero-button { display: inline-flex; gap: .75rem; padding: .72rem 1.15rem; background: var(--lime); color: #133d24; border-radius: .3rem; text-decoration: none; font-weight: 750; }
.hero-button:hover { background: #e2f5e6; }
.hero-button:focus-visible { outline-color: white; }
.entry-content { padding-block: clamp(2rem, 6vw, 4.3rem); overflow-wrap: anywhere; }
.entry-content > p { max-width: 72ch; margin: 0 0 1.5rem; font-size: 1.12rem; }
.entry-content h2 { color: var(--navy); }
.vector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1.5rem; }
.vector-card { background: var(--paper); border: 1px solid var(--border); border-top: 3px solid #458453; border-radius: .35rem; padding: clamp(1rem, 2.6vw, 1.65rem); }
.vector-card h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
.vector-card p { margin: 0; }
.site-footer { background: var(--navy); color: #dfebf1; padding-block: 2rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 3rem; }
.site-footer strong { color: white; }
.site-footer a { color: var(--lime); }
.site-footer address { font-style: normal; }
@media (max-width: 52rem) {
    .header-inner { align-items: flex-start; flex-direction: column; gap: .55rem; }
    .vector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 34rem) {
    .wrap { width: calc(100% - 2rem); }
    .nav-list { gap: 0 .9rem; font-size: .9rem; }
    .vector-grid { grid-template-columns: 1fr; }
    .hero-home { background-size: auto, 100% auto, auto; }
}
