:root {
    --azul: #0066B3;
    --azul-oscuro: #003E6B;
    --naranja: #F58220;
    --blanco: #FFFFFF;
    --negro: #111111;
    --gris: #F3F3F3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--negro);
    background: var(--blanco);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 6%;

    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);

    z-index: 1000;

    border-bottom: 1px solid rgba(0,0,0,.06);
}

.logo img {
    width: 160px;
    max-height: 55px;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    font-size: 12px;
    font-weight: 800;
    transition: .3s;
}

.menu a:hover {
    color: var(--naranja);
}

.btn-menu {
    background: var(--naranja);
    color: white !important;

    padding: 13px 22px;
    border-radius: 100px;
}

.btn-menu:hover {
    background: var(--azul) !important;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    position: relative;

    padding: 150px 8% 80px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(circle at 80% 40%, rgba(245,130,32,.30), transparent 25%),
        linear-gradient(135deg, var(--blanco) 55%, #f4f4f4);
}

.hero-fondo {
    position: absolute;

    width: 700px;
    height: 700px;

    right: -250px;
    top: -100px;

    border-radius: 50%;

    background: var(--azul);

    opacity: .10;
}

.hero-contenido {
    position: relative;
    z-index: 10;

    width: 62%;
}

.hero-etiqueta,
.seccion-etiqueta {
    color: var(--naranja);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;

    margin-bottom: 20px;
}

.hero h1,
h2,
h3 {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(55px, 7vw, 110px);
    line-height: .93;

    color: var(--azul);
}

.hero h1 span,
h2 span {
    color: var(--naranja);
}

.hero-texto {
    max-width: 560px;

    margin-top: 30px;

    line-height: 1.8;
    color: #555;
}

.hero-botones {
    display: flex;
    gap: 15px;

    margin-top: 35px;
}

.btn {
    padding: 16px 25px;

    border-radius: 100px;

    font-size: 12px;
    font-weight: 900;

    transition: .3s;
}

.btn:hover {
    transform: translateY(-4px);
}

.btn-naranja {
    background: var(--naranja);
    color: white;
}

.btn-borde {
    border: 2px solid var(--azul);
    color: var(--azul);
}


/* Loro */

.hero-loro {
    position: absolute;

    right: 10%;
    bottom: 0;

    width: min(34vw, 550px);

    z-index: 4;

    transform: rotate(-2deg);
}

.hero-loro img {
    border-radius: 40px 40px 0 0;

    box-shadow: 25px 25px 0 var(--naranja);
}


/* Proyectos flotantes */

.proyecto {
    position: absolute;
    z-index: 6;

    animation: flotar 5s ease-in-out infinite;
}

.proyecto img {
    width: 100%;
    height: auto;
    display: block;

    filter: drop-shadow(0 20px 25px rgba(0,0,0,.25));
}

.proyecto-1 {
    width: 160px;

    right: 36%;
    top: 18%;

    transform: rotate(-10deg);
}

.proyecto-2 {
    width: 130px;

    right: 5%;
    top: 25%;

    transform: rotate(10deg);

    animation-delay: 1s;
}

.proyecto-3 {
    width: 170px;

    right: 38%;
    bottom: 10%;

    transform: rotate(7deg);

    animation-delay: 2s;
}

@keyframes flotar {

    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -15px;
    }

}

.scroll-indicador {
    position: absolute;

    bottom: 30px;
    left: 8%;

    color: var(--azul);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}


/* =========================
   SECCIONES GENERALES
========================= */

section {
    padding: 120px 8%;
}

h2 {
    font-size: clamp(42px, 5vw, 80px);
    line-height: .98;
}

.titulo-centro {
    text-align: center;

    max-width: 1100px;

    margin: auto;
}


/* =========================
   QUIENES SOMOS
========================= */

.quienes-somos {
    position: relative;

    background: var(--azul);
    color: white;
}

.seccion-numero {
    position: absolute;

    top: 20px;
    right: 8%;

    font-family: "Anton", sans-serif;
    font-size: 150px;

    color: rgba(255,255,255,.08);
}

.quienes-grid {
    display: grid;

    grid-template-columns: 1.4fr .8fr;

    gap: 100px;

    position: relative;
}

.quienes-somos .seccion-etiqueta {
    color: var(--naranja);
}

.quienes-somos h2 {
    color: white;
}

.texto-seccion {
    align-self: end;

    display: flex;
    flex-direction: column;
    gap: 25px;

    line-height: 1.8;

    color: rgba(255,255,255,.8);
}


/* =========================
   SERVICIOS
========================= */

.servicios {
    background: var(--gris);
}

.servicios-grid {
    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.servicio {
    background: white;

    min-height: 380px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    transition: .35s;

    border: 1px solid #e8e8e8;
}

.servicio:hover {
    transform: translateY(-12px);

    background: var(--azul);
    color: white;
}

.servicio span {
    color: var(--naranja);
    font-weight: 900;
}

.servicio h3 {
    font-size: 42px;
    line-height: .95;

    margin-top: 60px;
}

.servicio p {
    margin-top: auto;

    font-size: 13px;
    line-height: 1.7;
}

.flecha {
    margin-top: 25px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: var(--naranja);
    color: white;

    display: grid;
    place-items: center;

    font-size: 22px;
}

.servicio-naranja {
    background: var(--naranja);
    color: white;
}

.servicio-naranja span {
    color: var(--azul);
}


/* =========================
   TRABAJOS
========================= */

.trabajos {
    background: white;
}

.trabajos-header {
    display: grid;

    grid-template-columns: 1.5fr .5fr;

    gap: 80px;

    align-items: end;
}

.trabajos-header > p {
    line-height: 1.8;
    color: #666;
}

.galeria {
    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.galeria-item {
    overflow: hidden;
}

.galeria-item img {
    width: 100%;
    height: 450px;

    object-fit: cover;

    transition: .5s;
}

.galeria-item:hover img {
    transform: scale(1.06);
}

.galeria-item.grande {
    grid-column: span 2;
}

.galeria-item.grande img {
    height: 600px;
}


/* =========================
   PAGINAS WEB
========================= */

.paginas-web {
    background: var(--azul);
    color: white;
}

.paginas-web .seccion-etiqueta {
    color: var(--naranja);
}

.paginas-web h2 {
    color: white;
}

.web-grid {
    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 50px;
}

.web-card h3 {
    margin-top: 20px;

    font-size: 35px;
}

.web-card p {
    margin-top: 8px;

    color: rgba(255,255,255,.65);
}

.navegador {
    background: white;

    padding: 12px;

    border-radius: 18px;

    box-shadow: 20px 20px 0 var(--naranja);

    transition: .4s;
}

.navegador:hover {
    transform: translateY(-10px) rotate(-1deg);
}

.navegador-barra {
    height: 30px;

    display: flex;
    align-items: center;
    gap: 6px;
}

.navegador-barra span {
    width: 8px;
    height: 8px;

    background: var(--naranja);

    border-radius: 50%;
}


/* =========================
   PROCESO
========================= */

.proceso {
    background: white;
}

.proceso h2 {
    margin-bottom: 70px;
}

.proceso-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 2px solid var(--negro);
}

.paso {
    padding: 30px;

    border-right: 1px solid #ddd;

    min-height: 250px;
}

.paso:last-child {
    border-right: none;
}

.paso span {
    color: var(--naranja);
    font-weight: 900;
}

.paso h3 {
    font-size: 28px;

    margin-top: 60px;
}

.paso p {
    margin-top: 20px;

    font-size: 13px;
    line-height: 1.6;

    color: #777;
}


/* =========================
   CLIENTES
========================= */

.clientes {
    background: var(--gris);
}

.clientes-grid {
    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.clientes-grid div {
    background: white;

    height: 150px;

    display: grid;
    place-items: center;

    font-weight: 900;
    color: var(--azul);

    border: 1px solid #e5e5e5;

    transition: .3s;
}

.clientes-grid div:hover {
    background: var(--naranja);
    color: white;

    transform: translateY(-5px);
}


/* =========================
   CONTACTO
========================= */

.contacto {
    background: var(--negro);
    color: white;

    text-align: center;
}

.contacto .seccion-etiqueta {
    color: var(--naranja);
}

.contacto h2 {
    color: white;
}

.contacto-texto {
    max-width: 600px;

    margin: 30px auto;

    color: #aaa;

    line-height: 1.8;
}

.contacto-botones {
    display: flex;

    justify-content: center;

    gap: 30px;

    margin: 40px 0;
}

.contacto-botones a {
    font-size: 12px;
    font-weight: 900;

    color: var(--naranja);
}

.formulario {
    max-width: 700px;

    margin: 60px auto 0;

    display: flex;
    flex-direction: column;

    gap: 15px;
}

.formulario input,
.formulario textarea {
    width: 100%;

    background: #1d1d1d;

    border: 1px solid #333;

    color: white;

    padding: 18px;

    font-family: inherit;
}

.formulario textarea {
    height: 160px;

    resize: vertical;
}

.formulario button {
    background: var(--naranja);

    color: white;

    border: none;

    padding: 20px;

    font-weight: 900;

    cursor: pointer;

    transition: .3s;
}

.formulario button:hover {
    background: var(--azul);
}


/* =========================
   FOOTER
========================= */

footer {
    background: var(--azul);

    color: white;

    padding: 50px 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: "Anton", sans-serif;

    font-size: 42px;

    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--naranja);
}

footer p {
    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .menu {
        gap: 15px;
    }

    .menu a {
        font-size: 10px;
    }

    .servicios-grid,
    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .paso:nth-child(2) {
        border-right: none;
    }

    .hero-contenido {
        width: 70%;
    }

    .hero-loro {
        opacity: .25;
        right: -5%;
    }

}


@media (max-width: 700px) {

    .header {
        padding: 12px 5%;
        height: 70px;
    }

    .logo img {
        width: 120px;
    }

    .menu {
        display: none;
    }

    section {
        padding: 90px 6%;
    }

    .hero {
        padding: 130px 6% 80px;

        min-height: 850px;
    }

    .hero-contenido {
        width: 100%;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-loro {
        width: 70%;
        right: -10%;
    }

    .proyecto-1,
    .proyecto-2,
    .proyecto-3 {
        display: none;
    }

    .quienes-grid,
    .trabajos-header,
    .web-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .servicios-grid,
    .proceso-grid,
    .clientes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .galeria {
        grid-template-columns: 1fr;
    }

    .galeria-item.grande {
        grid-column: auto;
    }

    .galeria-item img,
    .galeria-item.grande img {
        height: 350px;
    }

    .contacto-botones {
        flex-direction: column;
        gap: 15px;
    }

    footer {
        flex-direction: column;
        gap: 20px;

        text-align: center;
    }

}