:root{
--verde:#28463C;
--terracota:#A55A3A;
--azul:#255B73;
--texto:#2D2D2D;
--gris:#F5F5F5;
--blanco:#ffffff;

}

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

/** Body **/
body{
    font-family:Inter,sans-serif;
    color:var(--texto);
    background:white;
    line-height:1.8;
}
/** Contenedor **/
.contenedor {
    max-width:1400px;
    margin:auto;
    padding:0 40px;

}
/** Site header  **/

.site-header {
    position: fixed;
    width: 100%;
    height: var(--header-height);
    top: 0;
    left: 0;
    z-index: 9999;
    background: transparent;
    transition: .4s;
    padding: 25px 0;
}

.site-header.scrolled {
    background:white;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    padding:15px 0;
}

/** Interior **/
.site-header .contenedor {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/** Logo **/
.custom-logo {
    max-height:70px;
    width:auto;
}


/** Menú **/
.menu {
    display:flex;
    gap:40px;
    list-style:none;
}

.menu a{
    text-decoration:none;
    color:white;
    font-weight:600;
    transition:.3s;
}

.site-header.scrolled .menu a{
    color:#222;
}

.menu-toggle{
    display:none;
    background:none;
    border:0;
    font-size:2rem;
    cursor:pointer;
}

@media (max-width:768px){
    .menu-toggle{
        display:block;
    }
    .menu-principal{
        display:none;
    }
    .menu-principal.activo{
        display:block;
    }
}

/** HERO **/
.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-etiqueta{
    display:inline-block;
    background:#28463C;
    padding:8px 18px;
    border-radius:30px;
    text-transform:uppercase;
    letter-spacing:.10em;
    font-size:1.4rem;
    margin-bottom:25px;
}

/** OVERLAY **/
.overlay{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.45);
}

/** TEXTO HERO **/
.hero-contenido{
    position:relative;
    z-index:2;
    max-width:900px;
    padding:20px;
    color:#fff;
    text-align:center;
}

.hero h1 {
    font-size:5rem;
    font-weight:300;
    margin-bottom:30px;
    padding-top: 20rem;
}

.hero p {
    font-size:1.4rem;
    margin-bottom:40px;
}

/** BOTÓN **/
.boton {
    display:inline-block;
    padding:18px 36px;
    background:var(--terracota);
    color:white;
    text-decoration:none;
    border-radius:50px;
    transition:.3s;
}

.boton:hover {
    background:var(--verde);
}

/** FOOTER **/
.site-footer {
    background:#222;
    color:white;
    padding:60px 0;
    text-align:center;
}

/*=============================================
PROYECTO DESTACADO
=============================================*/

.proyecto-destacado{
    padding:120px 0;
    background:#f7f5ef;
}

.destacado-grid{
    display:grid;
    grid-template-columns:58% 42%;
    gap:70px;
    align-items:center;
}

.destacado-imagen img{
    width:100%;
    display:block;
    border-radius:12px;
    box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.destacado-etiqueta{
    display:inline-block;
    padding:8px 18px;
    background:#28463C;
    color:#fff;
    border-radius:30px;
    text-transform:uppercase;
    font-size:.75rem;
    letter-spacing:.12em;
    margin-bottom:25px;
}

.destacado-info h2{
    font-size:3rem;
    line-height:1.15;
    margin-bottom:25px;
    color:#28463C;
}

.destacado-info p{
    font-size:1.15rem;
    line-height:1.8;
    margin-bottom:40px;
    color:#555;
}

@media(max-width:900px){
    .destacado-grid{
    grid-template-columns:1fr;
    }
}
.atlas-header {
    padding: 55px 0 60px;
}

/* =============================================
   ATLAS — FILTROS
============================================= */

.atlas-buscador {
    padding: 30px 0 50px;
}

.atlas-filtro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.atlas-filtro label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--verde);
}

.atlas-filtro select {
    width: 100%;
    min-height: 52px;
    padding: 0 45px 0 16px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    color: var(--texto);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.atlas-filtro select:focus {
    outline: none;
    border-color: var(--verde);
    box-shadow: 0 0 0 3px rgba(40, 70, 60, .1);
}

.atlas-filtro__acciones {
    display: flex;
    align-items: center;
    gap: 18px;
}

.atlas-filtro__acciones .boton {
    border: 0;
    cursor: pointer;
    padding: 14px 25px;
    font-family: inherit;
    font-size: 1rem;
}

.atlas-filtro__limpiar {
    color: var(--verde);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.atlas-filtro__limpiar:hover {
    color: var(--terracota);
}

@media (max-width: 900px) {

    .atlas-filtros {
        grid-template-columns: 1fr;
    }

    .atlas-filtro__acciones {
        align-items: center;
    }

}

/* =============================================
   ATLAS — BÚSQUEDA DE TEXTO
============================================= */

.atlas-busqueda {
    margin-bottom: 30px;
}

.atlas-busqueda > label {
    display: block;
    margin-bottom: 8px;

    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;

    color: var(--verde);
}

.atlas-busqueda__campo {
    display: flex;
    width: 100%;
}

.atlas-busqueda__campo input {
    flex: 1;
    min-height: 52px;

    padding: 0 18px;

    border: 1px solid #d8d8d8;
    border-right: 0;
    border-radius: 6px 0 0 6px;

    background: #fff;

    font-family: inherit;
    font-size: 1rem;
    color: var(--texto);
}

.atlas-busqueda__campo input:focus {
    outline: none;
    border-color: var(--verde);
}

.atlas-busqueda__campo button {
    width: 58px;
    min-height: 52px;

    border: 0;
    border-radius: 0 6px 6px 0;

    background: var(--verde);
    color: white;

    font-size: 1.1rem;
    cursor: pointer;
}

.atlas-busqueda__campo button:hover {
    background: var(--terracota);
}

/* =========================================================
   ATLAS — BUSCADOR Y FILTROS
   ========================================================= */

.atlas-buscador {
    padding: 55px 0 65px;
    background: #fff;
}

.atlas-buscador .contenedor {
    max-width: 1100px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   FORMULARIO PRINCIPAL
   --------------------------------------------------------- */

.atlas-buscador .buscador-atlas {
    display: block;
    width: 100%;
    margin: 0;

    padding: 28px 32px;

    background: #fff;
    border-radius: 28px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .08);
}


/* ---------------------------------------------------------
   BÚSQUEDA
   --------------------------------------------------------- */

.atlas-busqueda {
    width: 100%;
    margin: 0 0 28px;
}

.atlas-busqueda > label {
    display: block;

    margin: 0 0 9px;

    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #274f48;
}

.atlas-busqueda__campo {
    display: flex;

    width: 100%;
    height: 58px;

    overflow: hidden;

    border: 1px solid #e1e1e1;
    border-radius: 16px;

    background: #fff;
}

.atlas-busqueda__campo input {
    flex: 1 1 auto;

    min-width: 0;
    width: auto;
    height: 100%;

    padding: 0 20px;

    border: 0 !important;
    outline: none;

    background: transparent;

    font-family: inherit;
    font-size: .95rem;
    color: #263b3a;
}

.atlas-busqueda__campo input::placeholder {
    color: #777;
}

.atlas-busqueda__campo button {
    flex: 0 0 68px;

    width: 68px;
    height: 58px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: #274f48;
    color: #fff;

    font-size: 1.05rem;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.atlas-busqueda__campo button:hover {
    background: #1d403a;
}


/* ---------------------------------------------------------
   FILTROS
   --------------------------------------------------------- */

.atlas-filtros {
    display: grid;

    grid-template-columns:
        minmax(220px, 1fr)
        minmax(220px, 1fr)
        auto;

    gap: 22px;

    align-items: end;

    width: 100%;
}

.atlas-filtro {
    min-width: 0;
}

.atlas-filtro label {
    display: block;

    margin: 0 0 9px;

    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #274f48;
}

.atlas-filtro select {
    display: block;

    width: 100%;
    height: 52px;

    padding: 0 40px 0 16px;

    border: 1px solid #d7dedc;
    border-radius: 10px;

    background-color: #fff;

    font-family: inherit;
    font-size: .9rem;
    color: #263b3a;

    cursor: pointer;
}

.atlas-filtro select:focus {
    outline: none;
    border-color: #274f48;
}


/* ---------------------------------------------------------
   BOTONES
   --------------------------------------------------------- */

.atlas-filtro__acciones {
    display: flex;

    align-items: center;
    gap: 18px;

    white-space: nowrap;
}

.atlas-filtro__acciones .boton {
    height: 52px;

    padding: 0 28px;

    border: 0;
    border-radius: 26px;

    background: #274f48;
    color: #fff;

    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;

    cursor: pointer;

    transition: background .2s ease;
}

.atlas-filtro__acciones .boton:hover {
    background: #1d403a;
}

.atlas-filtro__limpiar {
    color: #274f48;

    font-size: .85rem;
    font-weight: 600;

    text-decoration: none;

    transition: color .2s ease;
}

.atlas-filtro__limpiar:hover {
    color: #8b4a3c;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .atlas-filtros {
        grid-template-columns: 1fr 1fr;
    }

    .atlas-filtro__acciones {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

}

/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .atlas-buscador {
        padding: 35px 0 45px;
    }

    .atlas-buscador .buscador-atlas {
        padding: 22px;
        border-radius: 20px;
    }

    .atlas-filtros {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .atlas-filtro__acciones {
        grid-column: auto;

        flex-wrap: wrap;
    }

    .atlas-filtro__acciones .boton {
        flex: 1;
    }

}

/* =========================================================
   ATLAS — RESULTADOS
   ========================================================= */

.atlas-resultados {
    padding: 10px 0 80px;
}

.atlas-resultados__encabezado {
    max-width: 1100px;
    margin: 0 auto 25px;
}

.atlas-resultados__contador {
    margin: 0;

    font-size: .9rem;
    color: #52605e;
}

.atlas-sin-resultados {
    max-width: 1100px;
    margin: 40px auto;
    padding: 55px 30px;

    text-align: center;

    border-radius: 20px;

    background: #f5f6f5;
}

.atlas-sin-resultados h2 {
    margin: 0 0 10px;

    color: #274f48;
    font-size: 1.6rem;
}

.atlas-sin-resultados p {
    margin: 0;

    color: #5b6260;
}