/* /////////////////////// CUSTOM PROPERTIES /////////////////////// */
:root {
    --color-black: rgb(0, 0, 0);
    --color-black-alpha: rgba(0, 0, 0, 0.4);
    --color-black-alpha-2: rgba(0, 0, 0, 0.7);
    --color-grey-dark: rgb(54, 47, 47);
    --color-grey-light: rgb(238,233,233);
    --color-link: rgb(80, 158, 227);
    --color-orange: rgb(233,161,88);
    --color-red: rgb(168, 0, 0);
    --color-red-light: rgb(243, 209, 209);
    --color-text-light: rgb(255,249,249);
    --color-white: rgb(255, 255, 255);
    --color-white-alpha: rgba(255, 255, 255, 0.2);
    --font: "Montserrat", sans-serif;
    --header-height: 4rem;
}
/* /////////////////////// RESETEO /////////////////////// */
html {
    box-sizing: border-box;
    font-family: var(--font);
    font-size: 13px;
    scroll-behavior: smooth;
}
*,
*::after,
*::before {
    box-sizing: inherit;
}
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
}
a {
    color: var(--color-link);
    transition: all 0.5s ease-out;
    text-decoration: none;
}
a:hover {
    opacity: 0.75;
}
h1 {
    margin: 0;
    font-size: 2rem;
}
h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 200;
}
h3 {
    margin: 0;
    font-size: 1.5rem;
}
h4 {
    margin: 0;
    font-size: 1rem;
}
h5 {
    margin: 0;
    font-size: 0.85rem;
}
h6 {
    margin: 0;
    font-size: 0.7rem;
}
img {
    max-width: 100%;
    height: auto;
}
p {
    line-height: 1.6;
}
ul {
    padding-left: 20px;
}
/* /////////////////////// CARBON /////////////////////// */
.carbon {
    width: 85%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 60px;
    margin-left: 30px;
    gap: 20px;
}
.carbon-2 {
    display: flex;
    justify-content: center;
}
.carbon-text {
    color: var(--color-white);
    text-align: justify;
    font-size: 14px;
}
.carbon-img {
    width: 60%;
}
.hero-image-2 {
    margin-top: calc(-1 * 4.6em);
    background-image: url("asset/hero-amb.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.hero-image-opacity-2 {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: start;
    align-items: center;
    background: var(--color-black-alpha-2);
}
/* /////////////////////// EMPLEO /////////////////////// */
.card-2 {
    background-color: var(--color-black);
    color: var(--color-text-light);
    font-weight: 200;
    height: 775px;
    width: 320px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 0.8rem;
    border: solid thin var(--color-grey-dark);
    margin-bottom: 10px;
    margin-top:70px;
    transition:all .35s ease;
}
.card-2:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.45);
}
.card-2 h3 {
    color: var(--color-red-light);
    display: inline;
    font-weight: 400;
    display:inline-block;
    border:1px solid rgba(255,255,255,0.4);
    padding:8px 14px;
    border-radius:10px;
    font-size:16px;
    margin-bottom:18px;
    background:rgba(0,0,0,0.4);
}
.card-2 h4{
    color:var(--color-red);
    margin-top:14px;
}
.card-2 ul{
    text-align:left;
}

.card-2 li{
    text-align:left;
}
.cards-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    align-content: stretch;
    max-width: 100%;
}
.descripcion-vacante {
    margin-top: 13px;
}
.descripcion-vacante-2 {
    text-align: start;
}
.employed {
    background-image: url("asset/hero3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.recruitment-section{
    max-width: 80;
    padding:60px 10%;
    color:var(--color-white);
    text-align:center;
    background-color: var(--color-black-alpha);
}
.recruitment-intro {
    border-radius:10px;
    border:1px solid var(--color-grey-light);
    max-width: var(--max-width);
    min-width: 85%;
}
.recruitment-intro h2{
    font-size:32px;
    margin-top:15px;
    margin-bottom:15px;
}
.recruitment-intro p{
    max-width:900px;
    margin:auto;
    line-height:1.6;
    color:var(--color-white);
    margin-bottom:15px;
    margin-left: 15px;
    margin-right: 15px;
}
.recruitment-process{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.process-step{
    background:var(--color-black-alpha-2);
    border-radius:10px;
    padding:30px 25px;
    border:1px solid #333;
    transition:0.3s;
}
.process-step:hover{
    transform:translateY(-5px);
    border-color:#c30000;
}
.step-number{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#c30000;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    margin:auto;
    margin-bottom:15px;
}
.process-step h3{
    margin-bottom:10px;
    font-size:18px;
}
.process-step p{
    font-size:14px;
    color:#ccc;
}
.section.employed{
    position:relative;
    background-image:url("/asset/hero3.png"); 
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.section.employed::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:0;
}
.section.employed > *{
    position:relative;
    z-index:1;
}
/* /////////////////////// EN COMÚN /////////////////////// */
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--max-width);
    min-width: 85%;
    padding-left: 35px;
    padding-right: 3%;
    padding-bottom: 15px;
}
.footer {
    margin-bottom: var(--header-height);
    padding: 0.5rem;
    text-align: center;
    font-weight: 350;
    color: var(--color-text-light);
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.header {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    padding-top: 0.5rem;
    padding-bottom: 20px;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-red);
}
.header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo-header {
    height: 40px;
}
.menu {
    position: fixed;
    left: 0;
    bottom: var(--header-height);
    width: 100%;
    background-color: var(--color-red);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s  ease;
}
.menu.is-active {
    opacity: 1;
    pointer-events: auto;
}
.menu a {
    padding: 1rem;
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    color: var(--color-text-light);
}
.menu a:hover {
    background-color: var(--color-black);
}
.menu-btn {
    background-color: var(--color-red);
    outline: thin solid var(--color-text-light);
    border: 0;
    cursor: pointer;
    border-radius: 0.5rem;
}
.menu-btn svg {
    fill: var(--color-text-light);
}
.none {
    display: none;
}
/* /////////////////////// ENERGIA; GAS Y PETRÓLEO; MINERÍA /////////////////////// */
.box-shadow {
    box-shadow: 0.25rem 0.25rem 1rem rgba(108, 96, 96, 0.25);
}
.cards-3 {
    display: flex;
    flex-direction: column;
}
.card-3 {
    padding: 1rem;
    margin: 1rem;
    height: 50%;
    max-width: 900px;
    
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.5rem;
    background-color: var(--color-grey-dark);
}
.card-3 h3 {
    text-align: center;
    padding: 0.5rem;
    color: var(--color-text-light);
    font-weight: 400;
}
.card-3-content {
    padding: 1rem;
    margin: 1rem;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: stretch;
}
.card-3-content h3,
.card-3-content p {
    color: var(--color-text-light)
}
.card-3 img {
    width: 90%;
    border-radius: 0.5rem;
}
.section {
    padding: 2rem 1rem;
}
.work-done {
    background-color: var(--color-grey-light);
}
/* /////////////////////// INDEX /////////////////////// */
.card-main-1-mobile {
    width: 85%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-top: 20px;
}
.card-main-2 {
    width: 85%;
    height: auto;
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    gap: 10px;
    margin-top: 7rem;
}
.card-main-2-1 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white-alpha);
    border-radius: 5px;
}
.card-main-text  {
    color: var(--color-white);
    text-align: justify;
    font-size: 14px;
}
.card-main-2-text  {
    color: var(--color-white);
    text-align: center;
    font-size: 14px;
}
.hero-image {
    margin-top: calc(-1 * 4.6em);
    background-image: url("asset/hero1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.hero-image-opacity{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: var(--color-black-alpha-2);
}
.linea-roja {
    width: 100%;
    height: 2px;
    background-color: var(--color-red);
}
.linea-roja-texto {
    font-size: 15px;
    color: var(--color-white);
    margin: 1px;
}
.logo-main {
    width: auto;
    height: 40px;
    margin-bottom: 5px;
}
.logo-main-2 {
    width: auto;
    height: 40px;
    margin-bottom: 5px;
}
/* /////////////////////// QUIENES SOMOS /////////////////////// */
.about-us {
    background-image: url("asset/hero-nosotros.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 20px;
    padding-bottom: 40px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 10vw;
    padding-right: 10vw;
}
.card {
    width: 80%;
    height: auto;
}
.fotos {
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
}
.foto-equipo {
    margin-top: 5px;
    border-radius: 5px;
}
.left {
    text-align: start;
}
.right {
    text-align: end;
}
.titulo-card {
    font-size: 20px;
    font-weight: 500;
    width: 100%;
    border-bottom: 1px solid black;
}
.texto-card {
    font-size: 14px;
    text-align: justify;
}
@media screen and (min-width: 768px) {
    /* /////////////////////// CARBON /////////////////////// */
    .carbon {
        width: 45%;
        height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    .carbon-text {
        font-size: 17px;
    }
    .carbon-img {
        width: 50%;
    }
    .hero-image-opacity-2 {
        background: var(--color-black-alpha);
    }
    /* /////////////////////// ENERGIA; GAS Y PETRÓLEO; MINERÍA /////////////////////// */
    .card-3 img {
        width: 40%;
        border-radius: 0.5rem;
    }
    .impar-3 {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-evenly;
    }
    .par-3 {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }
    .logo-main {
        width: 70px;
        height: auto;
        margin-bottom: 5px;
    }
    .logo-main-2 {
        width: 110px;
        height: auto;
        margin-bottom: 5px;
    }
}
@media screen and (min-width: 1024px) {
        /* /////////////////////// EN COMÚN /////////////////////// */
        .footer {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            align-items: center;
            margin-bottom: 0;
        }
        .header {
            position: sticky;
            top: 0;
            padding-top: 0.5rem;
            padding-bottom: 0.2rem;
            height: calc(var(--header-heigh) - 0.5rem);
            display: flex;
            justify-content: center;
        }
        .header > .container {
            width: 100%;
            margin: 0;
            padding-left: 25px;
            padding-right: 25px;
            padding-bottom: 0;
        }
        .menu {
            position: static;
            width: auto;
            flex-direction: row;
            opacity: 1;
            pointer-events: auto;
        }
        .menu a {
            padding: 0 1rem;
        }
        .menu a:last-child {
            padding-right: 0;
        }
        .menu a:hover {
            background-color: transparent;
            color: var(--color-black);
        }
        .menu-btn {
            display: none;
        }
        /* /////////////////////// INDEX /////////////////////// */
        .hero-image-opacity{
            display: flex;
            flex-direction: row;
            justify-content: center;
            padding-top: 4rem;
            background: var(--color-black-alpha);
        }
        .card-main-text {
            font-size: clamp(14px, 1.2vw, 18px);
            margin-top: 0;
        }
        .card-main-2-text {
            font-size: 16px;
        }
        .card-main-1 {
            width: 60%;
            height: 75vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .card-main-1-1 {
            width: 100%;
            height: 64vh;
        }
        #nuestra-historia-1 {
            display: none;
        }
        #mision-1 {
            display: none;
        }
        #vision-1 {
            display: none;
        }
        .card-main-1-2 {
            width: 100%;
            height: 8vh;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;

        }
        .card-main-1-2-1 {
            width: 25%;
            height: 100%;
        }
        .card-main-1-2-1:hover {
            cursor: pointer;
        }
        .card-main-2 {
            width: 15%;
            height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            margin-top: 5rem;
            margin-left: 5rem;
        }
        .card-main-2-1 {
            width: 100%;
            height: 20%;
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: transparent;
        }
        .linea-roja {
            height: 8px;
        }
        .linea-roja-texto {
            font-size: 18px;
            color: var(--color-white);
            margin: 0;
        }
        /* /////////////////////// QUIENES SOMOS /////////////////////// */
        .fotos {
            gap: 30px;
        }
        .fotos-1 {
            width: 100%;
            height: auto;
            display: flex;
            flex-direction: row;
        }
        .fotos-1-1 {
            width: 50%;
            height: auto;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }
        .fotos-1-2 {
            width: 50%;
            height: auto;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }
        .fotos-2 {
            width: 100%;
            height: auto;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }
        .fotos-2-1 {
            width: 50%;
            height: auto;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }
        .fotos-2-2 {
            width: 50%;
            height: auto;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }
        .foto-equipo {
            width: 400px;
            height: auto;
        }
}

  
  