* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f7;
    color: #17232b;
}

/* CABECERA */

.header {
    height: 90px;
    background: #172a35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.logo img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 5px;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

nav a:hover {
    color: #ffc43d;
}

.boton-header {
    background: #ffc43d;
    color: #17232b;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}


/* PORTADA */

.hero {
    min-height: 620px;
    background:
        linear-gradient(
            90deg,
            rgba(19, 39, 50, 0.98),
            rgba(19, 39, 50, 0.80)
        );
    display: flex;
    align-items: center;
    padding: 70px 10%;
}

.hero-contenido {
    max-width: 720px;
}

.etiqueta {
    color: #ffc43d;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    color: white;
    font-size: 68px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #ffc43d;
    display: block;
}

.descripcion {
    color: #d8e0e4;
    font-size: 21px;
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 35px;
}

.botones {
    display: flex;
    gap: 15px;
}

.boton-principal,
.boton-secundario {
    padding: 16px 27px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.boton-principal {
    background: #ffc43d;
    color: #17232b;
}

.boton-secundario {
    border: 2px solid white;
    color: white;
}


/* SERVICIOS */

.servicios {
    padding: 90px 8%;
    text-align: center;
}

.subtitulo {
    color: #d99a00;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 10px;
}

.servicios h2 {
    font-size: 38px;
    margin-bottom: 45px;
}

.tarjetas {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tarjeta {
    background: white;
    padding: 35px;
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.icono {
    font-size: 34px;
    margin-bottom: 18px;
}

.tarjeta h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.tarjeta p {
    color: #65727a;
    line-height: 1.6;
}

/* SOBRE NOSOTROS */

.nosotros {
    background: #172a35;
    padding: 100px 8%;
}

.nosotros-contenido {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: center;
}

.nosotros-texto h2 {
    color: white;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.nosotros-texto > p:not(.subtitulo) {
    color: #cbd5da;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.ventajas {
    display: flex;
    gap: 35px;
    margin-top: 40px;
}

.ventajas div {
    display: flex;
    flex-direction: column;
}

.ventajas strong {
    color: #ffc43d;
    font-size: 20px;
}

.ventajas span {
    color: #cbd5da;
    font-size: 14px;
    margin-top: 4px;
}

.nosotros-destacado {
    background: #ffc43d;
    padding: 50px 40px;
    border-radius: 12px;
}

.nosotros-destacado > span {
    font-size: 50px;
}

.nosotros-destacado h3 {
    color: #17232b;
    font-size: 30px;
    margin: 20px 0 15px;
}

.nosotros-destacado p {
    color: #35434b;
    font-size: 17px;
    line-height: 1.6;
}

/* TRABAJOS REALIZADOS */

.trabajos {
    padding: 100px 8%;
    background: #f5f6f7;
}

.trabajos-encabezado {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.trabajos-encabezado h2 {
    font-size: 42px;
    color: #17232b;
    margin-bottom: 15px;
}

.trabajos-encabezado > p:not(.subtitulo) {
    color: #65727a;
    font-size: 18px;
    line-height: 1.6;
}

.galeria {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.foto-trabajo {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    background: #172a35;
}

.foto-trabajo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.foto-trabajo:hover img {
    transform: scale(1.05);
}
/* VISOR DE FOTOS */

.foto-trabajo img {
    cursor: pointer;
}

.visor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 30px;
}

.visor img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.cerrar-visor {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
}
/* CONTACTO */

.contacto {
    background: #172a35;
    padding: 100px 8%;
}

.contacto-contenido {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
    align-items: center;
}

.contacto-texto h2 {
    color: white;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contacto-descripcion {
    color: #cbd5da;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.datos-contacto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.datos-contacto > div {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.datos-contacto > div > span {
    font-size: 25px;
}

.datos-contacto strong {
    display: block;
    color: #ffc43d;
    margin-bottom: 5px;
}

.datos-contacto p,
.datos-contacto a {
    color: white;
    text-decoration: none;
}

.contacto-caja {
    background: white;
    padding: 45px;
    border-radius: 12px;
}

.contacto-icono {
    font-size: 45px;
    margin-bottom: 15px;
}

.contacto-caja h3 {
    color: #17232b;
    font-size: 28px;
    margin-bottom: 15px;
}

.contacto-caja p {
    color: #65727a;
    line-height: 1.6;
    margin-bottom: 30px;
}

.whatsapp-grande {
    display: block;
    background: #25D366;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    padding: 16px 20px;
    border-radius: 7px;
    margin-bottom: 12px;
}

.llamar-contacto {
    display: block;
    border: 2px solid #172a35;
    color: #172a35;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    padding: 14px 20px;
    border-radius: 7px;
}

.whatsapp-grande:hover {
    opacity: 0.9;
}

.llamar-contacto:hover {
    background: #172a35;
    color: white;
}
/* MÓVIL */

@media (max-width: 800px) {

    nav {
        display: none;
    }

    .header {
        padding: 0 5%;
    }

    .logo span {
        font-size: 16px;
    }

    .hero {
        padding: 60px 7%;
        min-height: 550px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .descripcion {
        font-size: 18px;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }

    .botones {
        flex-direction: column;
    }

    .boton-principal,
    .boton-secundario {
        text-align: center;
    }
    .nosotros {
        padding: 70px 7%;
    }

    .nosotros-contenido {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nosotros-texto h2 {
        font-size: 34px;
    }

    .ventajas {
        flex-direction: column;
        gap: 20px;
    }    .trabajos {
        padding: 70px 5%;
    }

    .trabajos-encabezado h2 {
        font-size: 34px;
    }

    .galeria {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .foto-trabajo {
        height: 280px;
    }    .contacto {
        padding: 70px 7%;
    }

    .contacto-contenido {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacto-texto h2 {
        font-size: 34px;
    }

    .datos-contacto {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contacto-caja {
        padding: 35px 25px;
    }    body {
        overflow-x: hidden;
    }

    .header {
        height: auto;
        min-height: 80px;
        gap: 10px;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .boton-header {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .hero {
        width: 100%;
        overflow: hidden;
    }

    .hero-contenido {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 42px;
        overflow-wrap: break-word;
    }

    .etiqueta {
        font-size: 12px;
        letter-spacing: 1px;
    }}

    /* FOOTER */

.footer {
    background: #10212b;
    color: white;
    padding: 65px 8% 0;
}

.footer-contenido {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 5px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: bold;
}

.footer-marca > p {
    color: #ffc43d;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.footer-zona {
    color: #aebbc2;
    line-height: 1.6;
}

.footer-enlaces,
.footer-contacto {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer h3 {
    color: #ffc43d;
    font-size: 18px;
    margin-bottom: 8px;
}

.footer a {
    color: #d8e0e4;
    text-decoration: none;
}

.footer a:hover {
    color: #ffc43d;
}

.footer-contacto p {
    color: #d8e0e4;
}

.footer-inferior {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 22px 0;
    color: #8fa0a9;
    font-size: 14px;
}/* FOOTER EN MÓVIL */

@media (max-width: 800px) {

    .footer {
        padding: 50px 7% 0;
    }

    .footer-contenido {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

    .footer-logo img {
        width: 50px;
        height: 50px;
    }

    .footer-marca > p {
        font-size: 18px;
    }

    .footer-enlaces,
    .footer-contacto {
        gap: 10px;
    }

    .footer-inferior {
        padding: 20px 0;
        line-height: 1.5;
    }
}