/* ===============================
   LIMPIEZAS AGARIMO
   Diseño elegante: azul y dorado
================================ */

:root {
    --azul: #0b2854;
    --azul-claro: #163f78;
    --dorado: #c99732;
    --dorado-claro: #e4c16f;
    --blanco: #ffffff;
    --fondo: #f7f8fa;
    --texto: #253247;
    --gris: #6b7280;
    --borde: #e3e7ec;
    --sombra: 0 12px 35px rgba(11, 40, 84, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.contenedor {
    width: min(1120px, 90%);
    margin: 0 auto;
}

/* CABECERA */

.cabecera {
    background: var(--blanco);
    border-bottom: 1px solid var(--borde);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(11, 40, 84, 0.07);
}

.cabecera-contenido {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.marca {
    display: flex;
    align-items: center;
    gap: 14px;
}

.marca img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--dorado);
}

.marca-texto {
    display: flex;
    flex-direction: column;
}

.nombre-empresa {
    color: var(--azul);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.zona-empresa {
    color: var(--dorado);
    font-size: 0.88rem;
    margin-top: 5px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 25px;
    font-family: Arial, sans-serif;
}

.menu a {
    color: var(--azul);
    font-weight: 600;
    font-size: 0.95rem;
}

.menu a:hover {
    color: var(--dorado);
}

/* BOTONES */

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.boton:hover {
    transform: translateY(-2px);
}

.boton-cabecera,
.boton-principal {
    background: var(--dorado);
    color: var(--blanco);
}

.boton-cabecera:hover,
.boton-principal:hover {
    background: #ad7f25;
}

.boton-secundario {
    border: 2px solid var(--blanco);
    color: var(--blanco);
    background: transparent;
}

/* PORTADA */

.portada {
    min-height: 580px;
    display: flex;
    align-items: center;
   background:
    linear-gradient(
        rgba(11,40,84,.75),
        rgba(11,40,84,.75)
    ),
    url("../imagenes/portada.jpg");

background-size: cover;
background-position: center;
background-repeat: no-repeat;
    color: var(--blanco);
    position: relative;
    overflow: hidden;
}

.portada::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(228, 193, 111, 0.35);
    border-radius: 50%;
    right: -120px;
    top: 60px;
}

.portada-contenido {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 80px 0;
}

.etiqueta {
    color: var(--dorado);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 18px;
}

.portada h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.08;
    max-width: 900px;
}

.portada-texto {
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 25px 0 32px;
    color: #e9eef7;
}

.portada-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* SECCIONES */

.seccion {
    padding: 90px 0;
}

.titulo-seccion {
    max-width: 720px;
    margin-bottom: 45px;
}

.titulo-seccion p {
    color: var(--dorado);
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.titulo-seccion h2,
.nosotros-texto h2,
.contacto-texto h2 {
    color: var(--azul);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

/* SERVICIOS */

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.servicio {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-top: 4px solid var(--dorado);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--sombra);
    transition: transform 0.25s ease;
}

.servicio:hover {
    transform: translateY(-5px);
}

.icono {
    font-size: 2rem;
    margin-bottom: 18px;
}

.servicio h3 {
    color: var(--azul);
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.servicio p {
    font-family: Arial, sans-serif;
    color: var(--gris);
}
/* VENTAJAS */

.ventajas {
    background: var(--fondo);
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ventaja {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--sombra);
}

.ventaja span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--dorado);
    color: var(--blanco);
    font-size: 1.3rem;
    font-weight: bold;
}

.ventaja h3 {
    color: var(--azul);
    margin-bottom: 10px;
}

.ventaja p {
    color: var(--gris);
    font-family: Arial, sans-serif;
}

@media (max-width: 900px) {
    .ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ventajas-grid {
        grid-template-columns: 1fr;
    }
}
/* SOBRE NOSOTROS */

.seccion-azul {
    background: var(--azul);
    color: var(--blanco);
}

.nosotros {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.nosotros-imagen {
    display: flex;
    justify-content: center;
}

.nosotros-imagen img {
    width: 330px;
    border-radius: 12px;
    border: 5px solid var(--dorado);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.etiqueta-clara {
    color: var(--dorado-claro);
}

.nosotros-texto h2 {
    color: var(--blanco);
    margin-bottom: 22px;
}

.nosotros-texto p,
.nosotros-texto li {
    font-family: Arial, sans-serif;
    color: #e6edf7;
}

.nosotros-texto ul {
    margin-top: 25px;
    padding-left: 22px;
}

.nosotros-texto li {
    margin-bottom: 10px;
}

/* CONTACTO */

.contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacto-texto p:last-child {
    font-family: Arial, sans-serif;
    color: var(--gris);
    margin-top: 20px;
    max-width: 530px;
}

.contacto-datos {
    background: var(--fondo);
    border: 1px solid var(--borde);
    border-radius: 10px;
    padding: 35px;
    box-shadow: var(--sombra);
}

.contacto-datos > a:not(.boton),
.contacto-datos > div {
    display: flex;
    flex-direction: column;
    padding: 17px 0;
    border-bottom: 1px solid var(--borde);
}

.contacto-datos strong {
    color: var(--azul);
}

.contacto-datos span {
    font-family: Arial, sans-serif;
    color: var(--gris);
    margin-top: 4px;
}

.contacto-datos .boton {
    width: 100%;
    margin-top: 25px;
}

/* PIE */

.pie {
    background: #071c3b;
    color: var(--blanco);
    padding: 38px 0;
}

.pie-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.pie p {
    font-family: Arial, sans-serif;
    color: #c7d2e2;
}

/* WHATSAPP */

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    background: #25d366;
    color: white;
    padding: 14px 19px;
    border-radius: 50px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* MÓVILES */

@media (max-width: 900px) {
    .cabecera-contenido {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .boton-cabecera {
        display: none;
    }

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

    .nosotros,
    .contacto {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .marca img {
        width: 55px;
        height: 55px;
    }

    .nombre-empresa {
        font-size: 1.35rem;
    }

    .zona-empresa {
        font-size: 0.75rem;
    }

    .portada {
        min-height: 520px;
    }

    .portada-contenido {
        padding: 60px 0;
    }

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

    .seccion {
        padding: 65px 0;
    }

    .pie-contenido {
        flex-direction: column;
        text-align: center;
    }
}
