/* ========================================
   CONFIGURACIÓN GENERAL
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17233c;
    background-color: #ffffff;
    line-height: 1.6;
}


/* ========================================
   ENCABEZADO
======================================== */

header {
    width: 100%;
    padding: 22px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 210px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: #17233c;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #c62828;
}


/* ========================================
   SECCIONES
======================================== */

section {
    padding: 100px 7%;
}

h1 {
    font-size: 58px;
    line-height: 1.05;
    max-width: 850px;
    margin-bottom: 25px;
}

h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 25px;
}

h3 {
    margin-bottom: 12px;
}

p {
    max-width: 750px;
    margin-bottom: 20px;
}


/* ========================================
   INICIO
======================================== */

/* ========================================
   INICIO / HERO
======================================== */

#inicio {
    position: relative;
    min-height: calc(100vh - 85px);
    padding: 0 7%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;

    background-image: url("../images/portada/portada-principal.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 20, 38, 0.90) 0%,
            rgba(10, 20, 38, 0.72) 45%,
            rgba(10, 20, 38, 0.30) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 40px;
}

.hero-label {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
}

.hero-content h1 {
    max-width: 900px;
    margin-bottom: 28px;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -2px;
    color: #ffffff;
}

.hero-description {
    max-width: 650px;
    margin-bottom: 38px;

    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

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

.hero-buttons a {
    margin: 0;
}


/* ========================================
   BOTONES DEL HERO
======================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 28px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;

    transition: 0.3s ease;
}

.btn-primary {
    background-color: #c62828;
    color: white;
}

.btn-primary:hover {
    background-color: #e53935;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background-color: transparent;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #17233c;
    transform: translateY(-3px);
}


/* ========================================
   INFORMACIÓN INFERIOR
======================================== */

.hero-bottom {
    position: absolute;
    z-index: 2;

    left: auto;
    right: 7%;
    bottom: 25px;
    width: 420px;

    display: flex;
    justify-content: flex-end;
    gap: 35px;

    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-bottom span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
}


/* ========================================
   NOSOTROS
======================================== */

#nosotros {
    background-color: #ffffff;
}

#nosotros > div {
    margin-top: 35px;
    padding: 30px;
    border-left: 4px solid #c62828;
    background-color: #f5f7fa;
}


/* ========================================
   SERVICIOS
======================================== */

/* ========================================
   SERVICIOS
======================================== */

#servicios {
    background-color: #f5f7fa;
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-header {
    max-width: 800px;
    margin-bottom: 65px;
}

.section-label {
    margin-bottom: 15px;
    color: #c62828;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.section-header h2 {
    margin-bottom: 20px;
    font-size: clamp(42px, 5vw, 64px);
    color: #17233c;
}

.section-intro {
    max-width: 650px;
    font-size: 18px;
    color: #5d6675;
}


/* LISTA */

.services-list {
    border-top: 1px solid #d7dce3;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr 50px;
    gap: 25px;

    padding: 28px 0;

    border-bottom: 1px solid #d7dce3;

    transition: 0.35s ease;
}

.service-number {
    padding-top: 5px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;

    color: #9aa2ad;
}

.service-main h3 {
    margin: 0;

    font-size: 25px;
    font-weight: 700;
    color: #17233c;

    transition: 0.3s ease;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        margin-top 0.3s ease;
}

.service-details p {
    max-width: 650px;
    margin: 18px 0 15px;

    color: #5d6675;
    font-size: 16px;
}

.service-details a {
    color: #c62828;

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid #cfd4db;

    color: #17233c;

    font-size: 22px;

    transition: 0.35s ease;
}


/* HOVER */

.service-item:hover {
    padding-left: 20px;
    padding-right: 20px;

    background-color: #ffffff;
}

.service-item:hover .service-main h3 {
    color: #c62828;
}

.service-item:hover .service-details {
    max-height: 160px;
    opacity: 1;
}

.service-item:hover .service-arrow {
    background-color: #c62828;
    border-color: #c62828;
    color: white;
    transform: rotate(45deg);
}


/* ========================================
   PROYECTOS
======================================== */

/* ========================================
   PROYECTOS
======================================== */

#proyectos {
    background-color: #ffffff;
    padding-top: 120px;
    padding-bottom: 120px;
}


/* FILTROS */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 45px;
}

.filter-btn {
    padding: 11px 18px;

    border: 1px solid #d5dae1;
    background-color: transparent;

    color: #17233c;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #17233c;
    border-color: #17233c;
    color: white;
}


/* GRID */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* TARJETAS */

.project-card {
    overflow: hidden;

    background-color: #ffffff;

    border: 1px solid #e2e5e9;

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.10);
}


/* IMAGEN */

.project-image {
    position: relative;

    height: 300px;

    overflow: hidden;

    background-color: #e9edf2;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}


/* INFORMACIÓN */

.project-info {
    padding: 28px;
}

.project-category {
    margin-bottom: 10px;

    color: #c62828;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.project-info h3 {
    margin-bottom: 10px;

    font-size: 23px;
    line-height: 1.2;

    color: #17233c;
}

.project-info > p:not(.project-category) {
    margin-bottom: 20px;

    color: #687181;

    font-size: 14px;
}

.project-info a {
    color: #17233c;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    transition: 0.3s ease;
}

.project-info a:hover {
    color: #c62828;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

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

    .project-image {
        height: 250px;
    }

}

/* ========================================
   EXPERIENCIA
======================================== */

#experiencia {
    background-color: #17233c;
    color: white;
}

#experiencia h2 {
    color: white;
}

#experiencia h3 {
    font-size: 55px;
    color: #c62828;
}


/* ========================================
   CONTACTO
======================================== */

#contacto {
    background-color: #f5f7fa;
}

form {
    max-width: 700px;
    margin-top: 40px;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #d5d5d5;
    background-color: white;
    font-family: inherit;
    font-size: 15px;
}

form textarea {
    min-height: 160px;
    resize: vertical;
}


/* ========================================
   FOOTER
======================================== */

footer {
    padding: 40px 7%;
    background-color: #111827;
    color: white;
}


/* ========================================
   RESPONSIVE — TABLET
======================================== */

@media (max-width: 900px) {

    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 45px;
    }

    #servicios > div,
    #proyectos > div {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ========================================
   RESPONSIVE — CELULAR
======================================== */

@media (max-width: 600px) {

    section {
        padding: 70px 6%;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 32px;
    }

    header {
        padding: 18px 6%;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 12px;
    }

    #servicios > div,
    #proyectos > div {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   NOSOTROS
   ======================================== */

#nosotros {
    padding: 120px 8%;
    background: #ffffff;
    color: #101828;
}


/* ENCABEZADO */

.nosotros-header {
    max-width: 1000px;
    margin-bottom: 100px;
}

.nosotros-header h2 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -2px;
    margin: 20px 0 35px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b31924;
    margin: 0;
}

.nosotros-intro {
    max-width: 700px;
    font-size: 20px;
    line-height: 1.7;
    color: #667085;
}


/* HISTORIA */

.nosotros-historia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.historia-texto {
    max-width: 650px;
}

.historia-texto h3 {
    font-size: 42px;
    margin: 15px 0 30px;
    letter-spacing: -1px;
}

.historia-texto p:not(.section-label) {
    font-size: 17px;
    line-height: 1.8;
    color: #667085;
    margin-bottom: 22px;
}


/* ESPACIO PARA FOTO DEL FUNDADOR */

.fundador-placeholder {
    min-height: 520px;
    background: #eef1f5;
    position: relative;
    overflow: hidden;
}

.fundador-placeholder img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.fundador-placeholder::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 2;
    pointer-events: none;
}

.fundador-placeholder img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.fundador-contenido {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.94);
    padding: 20px 24px;
    border-left: 4px solid #b31924;
    z-index: 3;
}

.fundador-contenido span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.5;
    color: #b31924;
}

.fundador-contenido strong {
    font-size: 20px;
    line-height: 1.4;
    color: #101828;
}


/* MISIÓN Y VISIÓN */

.mision-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-bottom: 120px;
    background: #d0d5dd;
}

.mv-card {
    background: #f8f9fb;
    padding: 55px;
    min-height: 300px;
}

.mv-card h3 {
    font-size: 34px;
    margin: 20px 0;
    letter-spacing: -0.5px;
}

.mv-card p:not(.section-label) {
    font-size: 17px;
    line-height: 1.7;
    color: #667085;
    max-width: 600px;
}


/* PRINCIPIOS */

.principios {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    padding-top: 20px;
}

.principios h3 {
    font-size: 42px;
    line-height: 1.05;
    margin-top: 20px;
    letter-spacing: -1px;
}

.principios-lista {
    border-top: 1px solid #d0d5dd;
}

.principio {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #d0d5dd;
    transition: padding-left 0.3s ease;
}

.principio:hover {
    padding-left: 15px;
}

.principio span {
    font-size: 12px;
    color: #b31924;
    font-weight: 700;
    width: 30px;
}

.principio strong {
    font-size: 24px;
    font-weight: 500;
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {

    #nosotros {
        padding: 90px 6%;
    }

    .nosotros-historia,
    .mision-vision,
    .principios {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .fundador-placeholder {
        min-height: 420px;
    }

    .principios {
        gap: 40px;
    }
}


@media (max-width: 600px) {

    #nosotros {
        padding: 75px 5%;
    }

    .nosotros-header {
        margin-bottom: 70px;
    }

    .nosotros-header h2 {
        font-size: 42px;
    }

    .nosotros-intro {
        font-size: 17px;
    }

    .nosotros-historia {
        margin-bottom: 80px;
    }

    .historia-texto h3 {
        font-size: 32px;
    }

    .historia-texto p:not(.section-label) {
        font-size: 16px;
    }

    .fundador-placeholder {
        min-height: 350px;
    }

    .mv-card {
        padding: 35px 28px;
        min-height: auto;
    }

    .mv-card h3 {
        font-size: 28px;
    }

    .principios {
        margin-bottom: 20px;
    }

    .principios h3 {
        font-size: 34px;
    }

    .principio strong {
        font-size: 20px;
    }
}

/* ========================================
   DATOS DESTACADOS
   ======================================== */

.datos-destacados {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f7f8fa;
    border-bottom: 1px solid #e2e5e9;
}

.dato {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 30px;
    border-right: 1px solid #dfe3e8;
}

.dato:last-child {
    border-right: none;
}

.dato-icono {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #123b70;
    font-size: 27px;
    flex-shrink: 0;
}

.dato strong {
    display: block;
    color: #123b70;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
}

.dato span {
    display: block;
    color: #182230;
    font-size: 13px;
    font-weight: 600;
    margin-top: 3px;
}

.dato small {
    display: block;
    color: #667085;
    font-size: 11px;
    margin-top: 2px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .datos-destacados {
        grid-template-columns: 1fr 1fr;
    }

    .dato:nth-child(2) {
        border-right: none;
    }

    .dato:nth-child(-n+2) {
        border-bottom: 1px solid #dfe3e8;
    }
}


@media (max-width: 600px) {

    .datos-destacados {
        grid-template-columns: 1fr;
    }

    .dato {
        border-right: none;
        border-bottom: 1px solid #dfe3e8;
        padding: 22px 25px;
    }

    .dato:last-child {
        border-bottom: none;
    }
}

/* ========================================
   ICONOS DE SERVICIOS
   ======================================== */

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #123b70;
    font-size: 28px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    color: #b31924;
    transform: translateY(-3px);
}

/* ========================================
   HEADER CORPORATIVO
   ======================================== */

header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo img {
    width: 210px;
    height: auto;
    display: block;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}


/* CONTACTO SUPERIOR */

.header-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #344054;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-contact a i {
    color: #123b70;
    font-size: 14px;
}

.header-contact a:hover {
    color: #b31924;
}

.header-contact a:hover i {
    color: #b31924;
}

.linkedin-link {
    font-weight: 700 !important;
}

.linkedin-link i {
    font-size: 17px !important;
}


/* MENÚ */

header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

header nav a {
    position: relative;
    text-decoration: none;
    color: #14213d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #d71920;
    transition: width 0.3s ease;
}

header nav a:hover {
    color: #d71920;
}

header nav a:hover::after {
    width: 100%;
}


/* ========================================
   HEADER RESPONSIVE
   ======================================== */

@media (max-width: 900px) {

    .header-inner {
        padding: 15px 5%;
    }

    .logo img {
        width: 175px;
    }

    .header-contact {
        gap: 14px;
    }

    .header-contact span {
        display: none;
    }

    header nav {
        gap: 18px;
    }

    header nav a {
        font-size: 10px;
    }
}


@media (max-width: 700px) {

    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header-right {
        align-items: center;
        width: 100%;
    }

    .header-contact {
        justify-content: center;
    }

    header nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 20px;
    }
}


/* ========================================
   PÁGINA INDEPENDIENTE DE SERVICIOS
   ======================================== */

.servicios-page {
    padding: 100px 8% 120px;
    background: #ffffff;
    color: #101828;
}

.servicios-page-header {
    max-width: 900px;
    margin: 0 auto 80px;
}

.servicios-page-header h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -2px;
    margin: 20px 0 30px;
}

.section-intro {
    max-width: 720px;
    color: #667085;
    font-size: 19px;
    line-height: 1.7;
}

.services-list {
    max-width: 1100px;
    margin: 0 auto;
}

.services-list .service-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 40px;
    align-items: start;
    gap: 25px;
    padding: 35px 10px;
    border-top: 1px solid #d0d5dd;
}

.services-list .service-item:last-child {
    border-bottom: 1px solid #d0d5dd;
}

.services-list .service-number {
    color: #b31924;
    font-size: 14px;
    font-weight: 700;
    padding-top: 8px;
}

.services-list .service-main h2 {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.2;
    margin: 0 0 15px;
    letter-spacing: -0.5px;
}

.services-list .service-icon {
    margin-bottom: 16px;
}

.services-list .service-details {
    max-width: 700px;
}

.services-list .service-details p {
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}

.services-list .service-details a {
    display: inline-block;
    margin-top: 10px;
    color: #123b70;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.services-list .service-arrow {
    color: #b31924;
    font-size: 26px;
    padding-top: 4px;
}

@media (max-width: 700px) {
    .servicios-page {
        padding: 70px 6% 85px;
    }

    .servicios-page-header {
        margin-bottom: 50px;
    }

    .section-intro {
        font-size: 16px;
    }

    .services-list .service-item {
        grid-template-columns: 35px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 28px 0;
    }
}


/* ========================================
   PÁGINA INDEPENDIENTE DE PROYECTOS
   ======================================== */

.proyectos-page {
    padding: 100px 8% 120px;
    background: #ffffff;
    color: #101828;
}

.proyectos-page-header {
    max-width: 900px;
    margin: 0 auto 60px;
}

.proyectos-page-header h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -2px;
    margin: 20px 0 30px;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 45px;
}

.project-filter {
    padding: 11px 20px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.project-filter:hover,
.project-filter.active {
    background: #123b70;
    border-color: #123b70;
    color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.project-card {
    min-width: 0;
    background: #ffffff;
}

.project-card[hidden] {
    display: none;
}

.project-image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef1f5;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-image-arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #123b70;
}

.project-info {
    padding: 22px 2px 5px;
}

.project-category {
    color: #b31924;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-info h2 {
    color: #101828;
    font-size: 23px;
    line-height: 1.25;
    margin: 12px 0;
}

.project-info p {
    color: #667085;
    font-size: 15px;
    line-height: 1.7;
}

.project-link {
    display: inline-block;
    margin-top: 12px;
    color: #123b70;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.project-link:hover {
    color: #b31924;
}

@media (max-width: 1000px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .proyectos-page {
        padding: 70px 5% 85px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .project-info h2 {
        font-size: 21px;
    }

    .project-filters {
        justify-content: flex-start;
        gap: 8px;
    }

    .project-filter {
        padding: 10px 13px;
    }
}

/* =========================================
   PAGINA DE EXPERIENCIA
========================================= */
.experiencia-page {
    color: #101828;
    background: #ffffff;
}
.experiencia-hero {
    padding: 110px 10% 100px;
    background: #f5f7fa;
}
.eyebrow {
    display: inline-block;
    color: #b31924;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.6;
}
.experiencia-hero h1 {
    max-width: 950px;
    margin: 25px 0;
    color: #123b70;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -3px;
}
.experiencia-hero > p {
    max-width: 680px;
    color: #667085;
    font-size: 19px;
    line-height: 1.8;
}
.experiencia-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 16px 22px;
    background: #123b70;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}
.experiencia-cta:hover {
    background: #b31924;
    transform: translateY(-2px);
}
.experiencia-cifra {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #e2e5e9;
    padding: 0 7%;
}
.experiencia-cifra-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 35px 25px;
    border-right: 1px solid #e2e5e9;
}
.experiencia-cifra-item:first-child {
    border-left: 1px solid #e2e5e9;
}
.experiencia-cifra-item > i {
    color: #123b70;
    font-size: 29px;
}
.experiencia-cifra-item strong,
.experiencia-cifra-item span {
    display: block;
}
.experiencia-cifra-item strong {
    color: #123b70;
    font-size: 19px;
    line-height: 1.4;
}
.experiencia-cifra-item span {
    margin-top: 5px;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}
.experiencia-historia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 110px 10%;
}
.experiencia-historia-texto h2,
.experiencia-seccion-header h2,
.experiencia-proyectos-destacados h2 {
    margin: 20px 0;
    color: #123b70;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}
.experiencia-historia-texto p,
.experiencia-seccion-header > p {
    color: #667085;
    font-size: 16px;
    line-height: 1.85;
}
.experiencia-historia-imagen {
    position: relative;
    min-height: 400px;
}
.experiencia-historia-imagen img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.experiencia-historia-imagen span {
    position: absolute;
    right: -15px;
    bottom: -15px;
    max-width: 260px;
    padding: 20px 25px;
    background: #123b70;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}
.experiencia-especialidades {
    padding: 100px 8%;
    background: #f5f7fa;
}
.experiencia-seccion-header {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}
.experiencia-especialidades-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid #dfe3e8;
    border-left: 1px solid #dfe3e8;
}
.experiencia-especialidad {
    position: relative;
    min-height: 300px;
    padding: 35px 30px;
    border-right: 1px solid #dfe3e8;
    border-bottom: 1px solid #dfe3e8;
    background: #ffffff;
    text-decoration: none;
    transition: background .25s ease;
}
.experiencia-especialidad:hover {
    background: #fdfdfd;
}
.experiencia-especialidad > span {
    position: absolute;
    top: 30px;
    right: 28px;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 700;
}
.experiencia-especialidad > i {
    display: block;
    margin-bottom: 25px;
    color: #123b70;
    font-size: 30px;
    transition: color .25s ease, transform .25s ease;
}
.experiencia-especialidad:hover > i {
    color: #b31924;
    transform: translateY(-3px);
}
.experiencia-especialidad h3 {
    margin: 0 0 12px;
    color: #101828;
    font-size: 22px;
    line-height: 1.3;
}
.experiencia-especialidad p {
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}
.experiencia-especialidad b {
    display: inline-block;
    margin-top: 15px;
    color: #123b70;
    font-size: 10px;
    letter-spacing: .5px;
}
.experiencia-proyectos-destacados {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 80px 10%;
}
.experiencia-proyectos-destacados h2 {
    max-width: 650px;
    margin-bottom: 0;
}
.experiencia-proyectos-destacados .experiencia-cta {
    flex-shrink: 0;
    margin-top: 0;
}
.site-footer {
    padding: 45px 8%;
    background: #102b4e;
    color: #ffffff;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}
.footer-logo img {
    display: block;
    width: 175px;
    max-width: 100%;
    height: auto;
}
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-contact a {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
}
.footer-contact a:hover {
    color: #f1b4b8;
}
.footer-inner > p {
    width: 100%;
    margin: 10px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: #d0d5dd;
    font-size: 11px;
}
@media (max-width: 900px) {
    .experiencia-historia {
        gap: 45px;
        padding: 80px 7%;
    }
    .experiencia-especialidades-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .experiencia-cifra {
        padding: 0 3%;
    }
    .experiencia-cifra-item {
        padding: 28px 16px;
        gap: 12px;
    }
    .experiencia-proyectos-destacados {
        padding: 70px 7%;
    }
}
@media (max-width: 650px) {
    .experiencia-hero {
        padding: 75px 6%;
    }
    .experiencia-hero h1 {
        letter-spacing: -1.5px;
    }
    .experiencia-hero > p {
        font-size: 16px;
    }
    .experiencia-cifra {
        grid-template-columns: 1fr;
        padding: 0 6%;
    }
    .experiencia-cifra-item,
    .experiencia-cifra-item:first-child {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid #e2e5e9;
        padding: 23px 10px;
    }
    .experiencia-cifra-item:last-child {
        border-bottom: none;
    }
    .experiencia-historia {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 75px 6%;
    }
    .experiencia-historia-imagen {
        min-height: 280px;
        margin-right: 10px;
        margin-bottom: 15px;
    }
    .experiencia-historia-imagen img {
        height: 320px;
    }
    .experiencia-historia-imagen span {
        right: -10px;
        bottom: -15px;
    }
    .experiencia-especialidades {
        padding: 75px 6%;
    }
    .experiencia-especialidades-grid {
        grid-template-columns: 1fr;
    }
    .experiencia-especialidad {
        min-height: 260px;
        padding: 30px 25px;
    }
    .experiencia-proyectos-destacados {
        align-items: flex-start;
        flex-direction: column;
        padding: 70px 6%;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-contact {
        flex-direction: column;
        gap: 13px;
    }
}

/* =========================================
   PAGINA DE CONTACTO
========================================= */
.contacto-page {
    background: #ffffff;
    color: #101828;
}
.contacto-hero {
    padding: 100px 10% 90px;
    background: #f5f7fa;
}
.contacto-hero h1 {
    margin: 22px 0;
    color: #123b70;
    font-size: clamp(46px, 7vw, 82px);
    line-height: 1.04;
    letter-spacing: -2.5px;
}
.contacto-hero > p {
    max-width: 700px;
    color: #667085;
    font-size: 18px;
    line-height: 1.8;
}
.contacto-contenido {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 90px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 10%;
}
.contacto-informacion h2,
.contacto-formulario-contenedor h2 {
    margin: 20px 0;
    color: #123b70;
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
}
.contacto-informacion > p,
.contacto-formulario-contenedor > p {
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
}
.contacto-dato {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    color: inherit;
    text-decoration: none;
}
.contacto-icono {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f0f4f8;
    color: #123b70;
    font-size: 19px;
    transition: background .25s ease, color .25s ease;
}
a.contacto-dato:hover .contacto-icono {
    background: #123b70;
    color: #ffffff;
}
.contacto-dato small,
.contacto-dato strong {
    display: block;
}
.contacto-dato small {
    margin-bottom: 7px;
    color: #667085;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}
.contacto-dato strong {
    color: #101828;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.contacto-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 35px;
    color: #123b70;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.contacto-linkedin:hover {
    color: #b31924;
}
.contacto-formulario-contenedor {
    padding: 40px;
    border: 1px solid #e2e5e9;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(16, 40, 70, .06);
}
.contacto-formulario-contenedor h2 {
    margin-top: 0;
}
#formulario-contacto {
    margin-top: 30px;
}
.formulario-campo {
    margin-bottom: 23px;
}
.formulario-campo label {
    display: block;
    margin-bottom: 9px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}
.formulario-campo input,
.formulario-campo select,
.formulario-campo textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d0d5dd;
    border-radius: 0;
    outline: none;
    background: #ffffff;
    color: #101828;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.formulario-campo input:focus,
.formulario-campo select:focus,
.formulario-campo textarea:focus {
    border-color: #123b70;
    box-shadow: 0 0 0 3px rgba(18, 59, 112, .1);
}
.formulario-campo textarea {
    resize: vertical;
    min-height: 130px;
}
.contacto-boton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 17px 22px;
    border: none;
    background: #123b70;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    cursor: pointer;
    transition: background .25s ease;
}
.contacto-boton:hover {
    background: #b31924;
}
.formulario-nota {
    display: block;
    margin-top: 15px;
    color: #667085;
    font-size: 11px;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .contacto-contenido {
        gap: 45px;
        padding: 75px 7%;
    }
    .contacto-formulario-contenedor {
        padding: 28px;
    }
}
@media (max-width: 700px) {
    .contacto-hero {
        padding: 75px 6%;
    }
    .contacto-hero h1 {
        letter-spacing: -1.5px;
    }
    .contacto-hero > p {
        font-size: 16px;
    }
    .contacto-contenido {
        grid-template-columns: 1fr;
        gap: 55px;
        padding: 65px 6%;
    }
    .contacto-formulario-contenedor {
        padding: 24px 20px;
    }
}