/* ======================================================
   RESET
====================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;
    background:#ffffff;
    color:#222222;
    overflow-x:hidden;

}

img{

    display:block;
    max-width:100%;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

button{

    border:none;
    background:none;
    cursor:pointer;
    font-family:inherit;

}

input,
textarea,
select{

    font-family:inherit;
    outline:none;

}

/* ======================================================
   VARIABLES
====================================================== */

:root{

    --primary:#111111;
    --secondary:#666666;
    --gold:#C5A46D;
    --white:#FFFFFF;
    --light:#F8F8F8;
    --border:#EAEAEA;

    --shadow:0 8px 30px rgba(0,0,0,.08);

    --transition:.35s ease;

    --container:1400px;

}

/* ======================================================
   CONTENEDOR GENERAL
====================================================== */

.container{

    width:90%;
    max-width:var(--container);
    margin:auto;

}

/* ======================================================
   TITULOS
====================================================== */

h1{

    font-size:3.5rem;
    font-weight:700;
    line-height:1.2;

}

h2{

    font-size:2.5rem;
    font-weight:700;

}

h3{

    font-size:1.6rem;
    font-weight:600;

}

p{

    color:var(--secondary);
    line-height:1.8;
    font-size:16px;

}

/* ======================================================
   BOTONES
====================================================== */

.btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 34px;

    border-radius:40px;

    background:var(--primary);

    color:white;

    transition:var(--transition);

    font-weight:600;

}

.btn:hover{

    background:var(--gold);

}

/* ======================================================
   ESPACIADOS
====================================================== */

section{

    padding:100px 0;

}

/* ======================================================
   SCROLLBAR
====================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f5f5f5;

}

::-webkit-scrollbar-thumb{

    background:#bdbdbd;
    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#999;

}

/* ======================================================
   SELECCION DE TEXTO
====================================================== */

::selection{

    background:var(--gold);
    color:white;

}

/* ======================================================
   MAIN
====================================================== */

main{

    padding-top:90px;

}

.logo{

    display:flex;

    align-items:center;

    gap:14px;

}

.logo img{

    width:60px;

    height:auto;

}

.logo-text{

    display:flex;

    flex-direction:column;

    line-height:1.1;

}

.logo-text span{

    font-size:1.8rem;

    font-weight:800;

    letter-spacing:3px;

    color:#1E1E1E;

}

.logo-text small{

    font-size:.75rem;

    letter-spacing:3px;

    text-transform:uppercase;

    color:#7b7b7b;

}

/*==========================================================
RESULTADOS DEL BUSCADOR
==========================================================*/

.search-results-section{

    width:90%;

    max-width:1280px;

    margin:50px auto 0;

    padding:60px;

    background:#FFFFFF;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

}


/*==========================================================
ENCABEZADO
==========================================================*/

.search-results-header{

    text-align:center;

    margin-bottom:40px;

}

.search-results-header span{

    display:block;

    margin-bottom:12px;

    color:#0D3B5E;

    font-size:.78rem;

    font-weight:700;

    letter-spacing:3px;

}

.search-results-header h3{

    margin:0;

    color:#202020;

    font-size:2rem;

}

.search-results-header p{

    margin-top:12px;

    color:#777;

}


/*==========================================================
GRID
==========================================================*/

.search-results-grid{

    display:grid;

    grid-template-columns:

        repeat(3,1fr);

    gap:25px;

}


/*==========================================================
TARJETA
==========================================================*/

.search-result-card{

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    min-height:220px;

    padding:30px;

    background:#FAFAFA;

    border:1px solid #E5E5E5;

    border-radius:12px;

    transition:.3s;

}


.search-result-card:hover{

    transform:translateY(-5px);

    box-shadow:

        0 15px 35px

        rgba(0,0,0,.08);

}


/*==========================================================
DESARROLLADORA
==========================================================*/

.search-result-developer{

    display:block;

    margin-bottom:12px;

    color:#0D3B5E;

    font-size:.72rem;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}


/*==========================================================
NOMBRE
==========================================================*/

.search-result-info h4{

    margin-bottom:15px;

    color:#202020;

    font-size:1.45rem;

}


/*==========================================================
DATOS
==========================================================*/

.search-result-info p{

    margin-bottom:8px;

    color:#777;

    font-size:.9rem;

}


/*==========================================================
LINK
==========================================================*/

.search-result-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    width:max-content;

    margin-top:25px;

    color:#0D3B5E;

    font-size:.85rem;

    font-weight:700;

    transition:.3s;

}


.search-result-link:hover{

    gap:15px;

}


/*==========================================================
SIN RESULTADOS
==========================================================*/

#searchResults:not(:has(.search-results-grid)){

    margin-bottom:50px;

}