/* ================================
   styles.css
================================ */

:root {
    --gold: #d69a22;
    --gold-dark: #bd8317;
    --black: #111111;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #f5f5f3;
    --border: #e6e6e6;

    --font-main: "Montserrat", sans-serif;
    --font-title: "Barlow Condensed", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ================================
   HEADER
================================ */

.header {
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;

    background: rgba(0, 0, 0, 0.479);

    padding-right: 25px;

    box-shadow: 0 2px 12px rgba(224, 13, 13, 0.04);
}

.logo-area {
    height: 82px;

    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.logo-link {
    width: 105px;
    height: 82px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #080808;

    position: relative;
}

.logo-link::after {
    content: "";

    position: absolute;

    top: 0;
    right: -24px;

    width: 0;
    height: 0;

    border-top: 82px solid #080808;
    border-right: 24px solid transparent;
}

.logo {
    width: 72px;
    height: auto;

    position: relative;
    z-index: 2;
}

.company-name {
    margin-left: 38px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.company-name strong {
    color: var(--gold);

    font-size: 20px;
    font-weight: 700;
}

.company-name span {
    color: #ffffff;

    font-size: 8px;
    font-weight: 500;
}


/* ================================
   NAV
================================ */

.navbar {
    margin-left: auto;
}

.nav-list {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 28px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    position: relative;

    display: flex;
    align-items: center;
    gap: 5px;

    height: 82px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    transition: color 0.25s ease;
}

.nav-list > li > a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 20px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--gold);
}

.nav-list > li > a:hover::after,
.nav-list > li > a.active::after {
    width: 100%;
}

.arrow {
    font-size: 12px;
}


/* ================================
   DROPDOWN
================================ */

.dropdown-menu {
    position: absolute;

    top: 70px;
    left: -15px;

    min-width: 190px;

    padding: 12px 0;

    list-style: none;

    background: #faf9f9;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    transition: all 0.25s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;

    padding: 11px 18px;

    font-size: 10px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    color: var(--gold);
    background: #f7f7f7;
}


/* ================================
   CONTACT BUTTON
================================ */

.contact-button {
    margin-left: 28px;

    min-width: 108px;
    height: 35px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    background: var(--gold);
    color: #fff;

    border-radius: 2px;

    font-size: 9px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.contact-button:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}


/* ================================
   HAMBURGER
================================ */

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    border: 0;
    background: var(--gold);

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.menu-toggle span {
    width: 21px;
    height: 2px;

    background: #fff;

    transition: all 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ================================
   HERO
================================ */

.hero {
    position: relative;

    width: 100%;
    height: 780px;

    overflow: hidden;
}

.hero-slider {
    position: relative;

    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;

    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    position: absolute;

    inset: 0;
}

.slide-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(78, 78, 78, 0.93) 28%,
            rgba(223, 223, 223, 0.48) 48%,
            rgba(255, 255, 255, 0.02) 70%
        );
}

.hero-content {
    position: absolute;

    left: 8.7%;
    top: 50%;

    width: 430px;

    transform: translateY(-42%);

    z-index: 3;
}

.hero-content h1 {
    font-family: var(--font-title);

    font-size: clamp(48px, 5vw, 69px);

    line-height: 0.91;

    font-weight: 600;

    letter-spacing: -1px;
    color: #ffffff;
}

.hero-content h1 span {
    display: block;

    color: var(--gold);
}

.hero-content p {
    margin-top: 19px;

    max-width: 330px;

    color: #fdfdfd;

    font-size: 12px;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 21px;
}


/* ================================
   BUTTONS
================================ */

.btn {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 0 18px;

    font-size: 8px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.btn span {
    font-size: 16px;
    line-height: 0;
}

.btn-primary {
    color: #fff;
    background: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    color: #161616;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid #777;
}

.btn-secondary:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}


/* ================================
   SLIDER CONTROLS
================================ */

.slider-controls {
    position: absolute;

    z-index: 10;

    bottom: 17px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,0.8);

    cursor: pointer;
}

.dot.active {
    width: 21px;
    border-radius: 10px;

    background: var(--gold);
}

.slider-arrow {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.18);

    color: #fff;

    cursor: pointer;

    border-radius: 50%;

    font-size: 20px;

    transition: 0.2s;
}

.slider-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}


/* ================================
   SECTIONS
================================ */

.section {
    padding: 100px 7%;
}

.section-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: center;
}


/* ================================
   ABOUT
================================ */
/* =========================================================
   GRANDES IDEAS
   SECCIÓN COMPLETA
========================================================= */

.gi-seccion {
     width: 100%;
    padding: 70px 4%;
    box-sizing: border-box;

    background-image: url("../recurses/fop.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* CONTENEDOR GENERAL */

.gi-contenido {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* =========================================================
   PARTE SUPERIOR
========================================================= */

.gi-principal {
    width: 100%;

    display: grid;

    grid-template-columns:
        0.85fr
        1.25fr
        1.05fr;

    align-items: center;

    gap: 45px;

    min-height: 450px;
}


/* =========================================================
   PRESENTACIÓN
========================================================= */

.gi-presentacion {
    padding-left: 20px;
}


/* MINI TÍTULO */

.gi-mini-titulo {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 24px;

    color: #c89116;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .4px;
}

.gi-mini-titulo span {
    width: 32px;
    height: 1px;

    background: #c89116;
}


/* TÍTULO GRANDE */

.gi-titulo {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: clamp(42px, 4vw, 63px);

    line-height: .96;

    letter-spacing: -3px;

    font-weight: 900;

    color: #ffffff;
}

.gi-titulo strong {
    font-weight: 900;
}


/* DESCRIPCIÓN */

.gi-descripcion {
    max-width: 290px;

    margin: 30px 0;

    font-size: 15px;

    line-height: 1.7;

    color: #fdfdfd;
}

.gi-descripcion b {
    font-weight: 800;
}


/* BOTÓN */

.gi-boton {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    width: 162px;

    padding: 13px 18px;

    box-sizing: border-box;

    background: #c89116;

    color: white;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition: .3s ease;
}

.gi-boton span {
    font-size: 20px;

    font-weight: 300;

    line-height: 1;
}

.gi-boton:hover {
    background: #fdfcfc;

    transform: translateY(-2px);
}


/* =========================================================
   IMAGEN DEL EQUIPO
========================================================= */

.gi-imagen-equipo {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.gi-imagen-equipo img {
    width: 100%;

    height: 230px;

    object-fit: cover;

    border-radius: 65px 65px 65px 0;

    display: block;
}


/* =========================================================
   BENEFICIOS
========================================================= */

.gi-beneficios {
    width: 100%;
}


.gi-beneficio {
    display: grid;

    grid-template-columns: 65px 1fr;

    gap: 18px;

    align-items: center;

    padding: 18px 0;

    border-bottom: 1px solid #dedede;
}

.gi-beneficio:first-child {
    padding-top: 0;
}

.gi-beneficio:last-child {
    border-bottom: none;
}


/* ICONOS */

.gi-icono {
    width: 56px;
    height: 56px;

    border: 1px solid #ddd;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;

    color: #c89116;

    background: #fff;

    box-sizing: border-box;
}


/* TÍTULO */

.gi-beneficio h3 {
    margin: 0 0 5px;

    font-size: 14px;

    font-weight: 800;

    color: #ffffff;
}


/* TEXTO */

.gi-beneficio p {
    margin: 0;

    font-size: 13px;

    line-height: 1.5;

    color: #fcfcfc;

    max-width: 390px;
}


/* =========================================================
   PARTE INFERIOR
========================================================= */

.gi-inferior {
    width: 100%;

    margin-top: 55px;

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 0;
}


/* =========================================================
   SERVICIOS
========================================================= */

.gi-servicios {
    background: #353535;

    border-radius: 35px 0 0 35px;

    padding: 35px 35px 32px;

    box-sizing: border-box;

    box-shadow:
        0 8px 35px rgba(0,0,0,.035);
}


/* TÍTULO SERVICIOS */

.gi-servicios-titulo > span {
    display: block;

    margin-bottom: 10px;

    color: #c89116;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .7px;
}

.gi-servicios-titulo h2 {
    margin: 0 0 32px;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 400;

    color: #fdfdfd;
}

.gi-servicios-titulo h2 b {
    font-weight: 800;
}


/* =========================================================
   LISTA SERVICIOS
========================================================= */

.gi-servicios-lista {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}


.gi-servicio {
    padding: 0 17px;

    border-right: 1px solid #d5d5d5;
}

.gi-servicio:first-child {
    padding-left: 0;
}

.gi-servicio:last-child {
    padding-right: 0;

    border-right: none;
}


/* ICONO SERVICIO */

.gi-servicio-icono {
    width: 42px;
    height: 42px;

    border: 1px solid #d5d5d5;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: 17px;
}


/* TÍTULO */

.gi-servicio h3 {
    margin: 0 0 12px;

    font-size: 13px;

    font-weight: 800;

    color: #ffffff;
}


/* TEXTO */

.gi-servicio p {
    margin: 0;

    font-size: 10.5px;

    line-height: 1.65;

    color: #fdfdfd;
}


/* =========================================================
   IMAGEN CARRETERA
========================================================= */

.gi-experiencia {
    position: relative;

    min-height: 290px;

    overflow: hidden;

    border-radius: 0 35px 35px 0;
}

.gi-experiencia > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .7s ease;
}

.gi-experiencia:hover > img {
    transform: scale(1.04);
}


/* OSCURECIMIENTO */

.gi-experiencia::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 35%,
            rgba(0,0,0,.18)
        );

    pointer-events: none;
}


/* =========================================================
   ESTADÍSTICAS
========================================================= */

.gi-estadisticas {
    position: absolute;

    z-index: 5;

    left: 18px;
    right: 18px;

    bottom: 25px;

    min-height: 105px;

    padding: 17px 20px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.97);

    border-radius: 25px;

    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;
}


/* ESTADÍSTICA */

.gi-estadistica {
    text-align: center;
}


/* NÚMERO */

.gi-estadistica strong {
    display: block;

    color: #000000;

    font-size: 25px;

    font-weight: 400;

    line-height: 1;

    margin-bottom: 10px;
}

.gi-estadistica strong i {
    color: #d19a1a;

    font-style: normal;
}


/* TEXTO */

.gi-estadistica span {
    display: block;

    color: #000000;

    font-size: 9px;

    line-height: 1.35;

    font-weight: 700;
}


/* SEPARADORES */

.gi-separador {
    width: 1px;

    height: 48px;

    background: rgba(255,255,255,.25);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .gi-principal {
        grid-template-columns: 1fr 1fr;

        gap: 35px;
    }

    .gi-beneficios {
        grid-column: 1 / -1;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 0 30px;
    }

    .gi-inferior {
        grid-template-columns: 1fr;
    }

    .gi-servicios {
        border-radius: 30px 30px 0 0;
    }

    .gi-experiencia {
        border-radius: 0 0 30px 30px;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 700px) {

    .gi-seccion {
        padding: 50px 18px;
    }

    .gi-principal {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .gi-presentacion {
        padding-left: 0;
    }

    .gi-titulo {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .gi-imagen-equipo img {
        height: 190px;

        border-radius: 35px 35px 35px 0;
    }

    .gi-beneficios {
        grid-template-columns: 1fr;
    }

    .gi-beneficio {
        padding: 20px 0;
    }

    .gi-inferior {
        margin-top: 40px;
    }

    .gi-servicios {
        padding: 30px 22px;

        border-radius: 25px 25px 0 0;
    }

    .gi-servicios-lista {
        grid-template-columns: 1fr;
    }

    .gi-servicio,
    .gi-servicio:first-child,
    .gi-servicio:last-child {
        padding: 20px 0;

        border-right: none;

        border-bottom: 1px solid #ddd;
    }

    .gi-servicio:first-child {
        padding-top: 0;
    }

    .gi-servicio:last-child {
        border-bottom: none;
    }

    .gi-experiencia {
        min-height: 400px;

        border-radius: 0 0 25px 25px;
    }

    .gi-estadisticas {
        left: 10px;
        right: 10px;
        bottom: 10px;

        padding: 12px 5px;

        border-radius: 18px;
    }

    .gi-estadistica strong {
        font-size: 18px;
    }

    .gi-estadistica span {
        font-size: 7px;
    }

    .gi-separador {
        height: 38px;
    }
}
/* ================================
   SERVICES
================================ */

.services {
    position: relative;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.582),
            rgba(218, 149, 0, 0.171)
        ),
        url("../recurses/slide-2copia.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-heading {
    max-width: 650px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading p {
    margin-top: 18px;

    color: #ffffff;
border-radius: 5px;
    font-size: 13px;

    line-height: 1.7;
}

.services-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    position: relative;

    min-height: 300px;

    padding: 35px 27px;

    background: #fff;

    border-bottom: 3px solid transparent;

    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    border-bottom-color: var(--gold);

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.service-number {
    color: var(--gold);

    font-family: var(--font-title);

    font-size: 42px;

    opacity: 0.4;
}

.service-card h3 {
    margin-top: 20px;

    font-family: var(--font-title);

    font-size: 25px;
}

.service-card p {
    margin-top: 13px;

    color: #666;

    font-size: 11px;

    line-height: 1.7;
}

.service-card a {
    position: absolute;

    left: 27px;
    bottom: 25px;

    color: var(--gold);

    font-size: 8px;

    font-weight: 700;
}


/* ================================
   PROJECTS
================================ */
.projects-button {
    text-align: center;
    margin-top: 40px;
}

.projects-button a {
    display: inline-block;
    padding: 12px 28px;
    background: #d69a22;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.projects-button a:hover {
    opacity: 0.8;
}
.projects {
    background-image: url("../recurses/fop2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.projects-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.project-card {
    position: relative;

    height: 390px;

    overflow: hidden;

    background: #111;
}

.project-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-info {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 25px 25px;

    color: #fff;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.9)
    );
}

.project-info span {
    color: var(--gold);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;
}

.project-info h3 {
    margin-top: 7px;

    font-family: var(--font-title);

    font-size: 27px;
}


/* ================================
   NEWS
================================ */

.news {
    background: #4e4e4d;
}

.news-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.news-card {
    background: #fff;
}

.news-image {
    height: 210px;

    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--gold);

    font-size: 8px;

    font-weight: 700;
}

.news-content h3 {
    margin-top: 10px;

    font-family: var(--font-title);

    font-size: 25px;

    line-height: 1.05;
}

.news-content a {
    display: inline-block;

    margin-top: 20px;

    color: var(--gold);

    font-size: 8px;

    font-weight: 700;
}


/* ================================
   BLOG
================================ */

.blog {
    background: #111;

    color: #fff;
}

.blog-container {
    grid-template-columns: 1fr auto;
}

.blog h2 {
    margin-top: 12px;
}


/* ================================
   CONTACT
================================ */

.contact-section {
    padding: 80px 7%;

    background: var(--gold);

    color: #fff;
}

.contact-container {
    max-width: 1200px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.contact-info > span {
    color: #fff;
}

.contact-info h2 {
    font-size: clamp(40px, 5vw, 62px);
}

.contact-info h2 strong {
    color: #111;
}

.contact-info p {
    max-width: 550px;

    margin-top: 15px;

    font-size: 12px;

    line-height: 1.7;
}

.contact-section .btn-primary {
    background: #111;

    flex-shrink: 0;
}

.contact-section .btn-primary:hover {
    background: #222;
}


/* ================================
   FOOTER
================================ */

.footer {
    background: #0b0b0b;

    color: #fff;

    padding: 65px 7% 20px;
}

.footer-container {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.5fr;

    gap: 50px;
}

.footer-brand img {
    width: 90px;
}

.footer-brand p {
    margin-top: 15px;

    color: #999;

    font-size: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    color: var(--gold);

    font-size: 16px;

    letter-spacing: 1px;

    margin-bottom: 8px;
}

.footer-column a,
.footer-column p {
    color: #999;

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1200px;

    margin: 50px auto 0;
    padding-top: 20px;

    border-top: 1px solid #292929;

    display: flex;
    justify-content: space-between;

    color: #666;

    font-size: 8px;
}


/* ==================================================
   TABLETS
================================================== */

@media (max-width: 1100px) {

    .header {
        padding-right: 20px;
    }

    .nav-list {
        gap: 17px;
    }

    .contact-button {
        margin-left: 15px;
    }

    .company-name {
        margin-left: 30px;
    }

    .hero-content {
        left: 7%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==================================================
   MOBILE MENU
================================================== */

@media (max-width: 850px) {

    .header {
        position: fixed;

        height: 70px;

        padding: 0 18px 0 0;
    }

    .logo-area {
        height: 70px;
    }

    .logo-link {
        width: 90px;
        height: 70px;
    }

    .logo-link::after {
        right: -20px;

        border-top-width: 70px;
        border-right-width: 20px;
    }

    .logo {
        width: 63px;
    }

    .company-name {
        margin-left: 28px;
    }

    .company-name strong {
        font-size: 12px;
    }

    .company-name span {
        font-size: 7px;
    }

    .menu-toggle {
        display: flex;

        margin-left: auto;
    }

    .contact-button {
        display: none;
    }

    .navbar {
        position: fixed;

        top: 70px;
        left: 0;
        right: 0;

        margin: 0;

        background: rgba(10,10,10,0.98);

        max-height: 0;

        overflow: hidden;

        transition: max-height 0.4s ease;
    }

    .navbar.open {
        max-height: calc(100vh - 70px);

        overflow-y: auto;
    }

    .nav-list {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 12px 20px 25px;
    }

    .nav-list > li > a {
        height: auto;

        padding: 17px 8px;

        color: #fff;

        font-size: 11px;

        border-bottom: 1px solid #292929;
    }

    .nav-list > li > a::after {
        display: none;
    }

    .nav-list > li > a.active {
        color: var(--gold);
    }

    .dropdown-menu {
        position: static;

        display: none;

        min-width: auto;

        padding: 0;

        background: #161616;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 13px 20px;

        color: #aaa;

        border-bottom: 1px solid #252525;
    }

    .hero {
        height: 680px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
             rgba(0, 0, 0, 0.98) 0%,
            rgba(78, 78, 78, 0.93) 28%,
            rgba(223, 223, 223, 0.48) 48%,
            );
    }

    .hero-content {
        left: 7%;

        width: 55%;

        transform: translateY(-35%);
    }

    .hero-content h1 {
        font-size: clamp(45px, 7vw, 65px);
    }

    .section {
        padding: 75px 6%;
    }

    .section-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .projects-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .header {
        height: 65px;
    }

    .logo-area {
        height: 65px;
    }

    .logo-link {
        width: 82px;
        height: 65px;
    }

    .logo-link::after {
        border-top-width: 65px;
        border-right-width: 18px;

        right: -18px;
    }

    .logo {
        width: 57px;
    }

    .company-name {
        margin-left: 24px;
    }

    .company-name strong {
        font-size: 11px;
    }

    .company-name span {
        font-size: 6px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .navbar {
        top: 65px;
    }

    .navbar.open {
        max-height: calc(100vh - 65px);
    }

    .hero {
        height: 690px;
    }

    .slide-image img {
        object-position: 65% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
               rgba(0, 0, 0, 0.98) 0%,
            rgba(78, 78, 78, 0.93) 28%,
            rgba(223, 223, 223, 0.48) 48%,
            );
    }

    .hero-content {
        left: 6%;

        top: auto;
        bottom: 100px;

        width: 88%;

        transform: none;
    }

    .hero-content h1 {
        font-size: clamp(43px, 14vw, 61px);

        line-height: 0.88;
    }

    .hero-content p {
        max-width: 290px;

        margin-top: 15px;

        font-size: 11px;
    }

    .hero-buttons {
        flex-wrap: wrap;

        margin-top: 17px;
    }

    .btn {
        min-height: 38px;

        padding: 0 14px;

        font-size: 7px;
    }

    .slider-controls {
        bottom: 25px;
    }

    .slider-arrow {
        display: none;
    }

    .section {
        padding: 65px 6%;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-title h2,
    .section-heading h2,
    .blog h2,
    .contact-info h2 {
        font-size: 48px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 275px;
    }

    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        height: 350px;
    }

    .news-image {
        height: 230px;
    }

    .blog-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .contact-container {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 40px 25px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 380px) {

    .company-name span {
        display: none;
    }

    .hero-content {
        bottom: 85px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .btn {
        width: auto;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

}








/* ==============================
   MODAL CONTACTO - RYOCA
================================ */

.contact-modal {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.82);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.35s ease, visibility 0.35s ease;

    z-index: 99999;
}

.contact-modal.mostrar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* CAJA PRINCIPAL */

.contact-box {
    position: relative;

    width: 100%;
    max-width: 440px;

    padding: 45px 40px;

    box-sizing: border-box;

    background: #080808;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 3px;

    text-align: center;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);

    transform: translateY(20px) scale(0.98);

    transition: transform 0.35s ease;
}

.contact-modal.mostrar .contact-box {
    transform: translateY(0) scale(1);
}


/* PEQUEÑA LÍNEA DECORATIVA */

.contact-box::before {
    content: "";

    display: block;

    width: 45px;
    height: 2px;

    margin: 0 auto 25px;

    background: #ffffff;
}


/* TÍTULO */

.contact-box h2 {
    margin: 0;

    color: #ffffff;

    font-family: 'Barlow Condensed', sans-serif;

    font-size: 38px;
    font-weight: 600;

    letter-spacing: 2px;
}


/* TEXTO */

.contact-box p {
    margin: 10px 0 30px;

    color: rgba(255, 255, 255, 0.65);

    font-family: 'Montserrat', sans-serif;

    font-size: 13px;
    line-height: 1.6;
}


/* BOTONES */

.contact-option {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 17px 20px;

    margin-top: 12px;

    box-sizing: border-box;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 2px;

    text-decoration: none;

    color: #ffffff;

    font-family: 'Montserrat', sans-serif;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* ICONO */

.contact-option:first-child::before {
    content: "◉";

    margin-right: 15px;

    font-size: 16px;
}

.contact-option:nth-child(3)::before {
    content: "✉";

    margin-right: 15px;

    font-size: 17px;
}


/* TEXTO BOTÓN */

.contact-option span {
    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.8px;
}


/* EFECTO HOVER */

.contact-option:hover {
    background: #ffffff;

    border-color: #ffffff;

    color: #000000;

    transform: translateY(-2px);
}


/* BOTÓN CERRAR */

.close-contact {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 35px;
    height: 35px;

    border: none;

    background: transparent;

    color: rgba(255, 255, 255, 0.65);

    font-size: 27px;
    font-weight: 300;

    cursor: pointer;

    transition: color 0.2s ease;
}

.close-contact:hover {
    color: #ffffff;
}


/* ==============================
   CELULAR
================================ */

@media (max-width: 600px) {

    .contact-modal {
        padding: 15px;
    }

    .contact-box {
        max-width: 100%;

        padding: 40px 25px;
    }

    .contact-box h2 {
        font-size: 32px;
    }

    .contact-box p {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .contact-option {
        padding: 16px;
    }

}