*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: "Outfit", sans-serif;

}


header{
    background:#fff35c;
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:clamp(20px,4vw,50px);
    flex-wrap:wrap;
}

.logo img{
    width:clamp(120px,12vw,160px);
    height:auto;
}

.menu{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:clamp(15px,3vw,50px);
}

.item-menu{
    text-decoration: none; /* Quita el subrayado */
    color: inherit;        /* Usa el mismo color del texto */
}


   /*-------------------------------------------INICIO---------------------------------------*/


main {
    width:90%;
    max-width:1200px;
    margin:auto;
}

.hero{
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
    width: 80%;
    margin: 50px auto;
}

.hero-imagen img{
    width: 100%;
    border-radius: 25px;
}


.btn-registro{
    background: #739F3D;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: .3s;
}


/*------ BARRA DE BUSQUEDA------- */


.buscador{
    margin: 30px 0;
    display: flex;
    align-items: center;
    background: #EEF7E8;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #D8E5C9;
}

.buscador input{
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 15px;
    background: transparent;
    font-size: 16px;
}

.buscador button{
    margin-right: 1em;
    width: 3.5em;
    height: 3em;
    border: none;
    border-radius: 3em;
    background: #CFE5B2;
    cursor: pointer;
    transition: 0.3s;
}

.buscador button:hover{
    background: #BDD89B;
}

.buscador button i{
    color: #4E6840;
    font-size: 18px;
}

/*------ BARRA DE BUSQUEDA------- */


/*-----MENU DESPLEGABLE DE FILTRO----- */

.boton-filtros-resultados{
    display: inline-block;
    background-color: #7FAE3D;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

.boton:hover{
    background-color: #6B9732;
}

.filtros{
    display:flex;
    gap:10px;
}

.filtros select{
    background:#EEF7E8;
    border:none;
    border-radius:25px;
    padding:10px 18px;
    font-size:15px;
    color:#556B4F;
}

/*-----MENU DESPLEGABLE DE FILTRO----- */


/*-----TARJETA RESEÑA----- */


.texto h2{
    font-weight:900;
    text-transform:uppercase;
    line-height:1;
    font-size:clamp(40px,6vw,72px);
}

.texto h2 span{
    display:block;
}

.texto span{
    display:block;
    color:#54b65d;
    font-size:50px;
    font-style:italic;
    font-weight:400;
}

.texto p{
    margin-top:15px;
    font-size:20px;
    line-height:1.5;
}

.titulo-reseñas{
    display:inline-block;
    margin:35px 0 20px;
    background:#fff35c;
    padding:10px 30px;
    border-radius:50px;
    font-weight:900;
}

.imagen img{
    width:100%;
    border-radius:30px;
    display:block;
}

.estrellas{
    font-size: 2em;
    color: #F89B1D;
    margin-bottom: 0.1em;
    position:relative
}

.reseñas{
    display:flex;
    flex-direction:column;
    gap:20px;
    margin-bottom: 40px;
}

.tarjeta-reseña{
    background:#e5c898;
    border-radius:40px;
    padding:25px;
    display:flex;
    gap:25px;
    margin-bottom:25px;
    flex-wrap:wrap;
}

.ubicacion{
    margin-top:10px;
    font-size:18px;
}

.foto-cancha{
    width:100%;
    max-width:280px;
    height:auto;
    aspect-ratio: 4/3;
    object-fit:cover;
    border-radius:20px;
    flex-shrink:0;
}

.contenido-reseña{
    flex:1;
    display:flex;
    flex-direction:column;
}

.descripcion{
    font-size:18px;
    line-height:1.5;
    margin-bottom:25px;
}

.boton-detalles{
    align-self:flex-end;
    background:white;
    border:none;
    border-radius:40px;
    padding:12px 30px;
    font-size:18px;
    font-weight:bold;
}

/*-----TARJETA RESEÑA----- */


/*   AGREGAR BOTON-FLOTANTE  */


.ver-más{
    display:flex;
    justify-content:center;
    margin:40px 0;
}

.boton-ver-más{
    background:#dcc08f;
    border:none;
    border-radius:40px;
    padding:15px 35px;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:20px;
}

.flecha{
    font-size:40px;
    line-height:1;
}
   /*-------------------------------------------INICIO---------------------------------------*/



/*-------------------------------------------SESION Y REGISTRO---------------------------------------*/

    body.sesion-registrarse{
     margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #FFF67A;

}

.modal-registro{
    width:100%;
    max-width:760px;
    background:#FFF67A;
    padding:45px 55px;
    margin:0 auto;
    flex: 1;
}


.boton-registro{
    width:200px;
    height:70px;
    margin:10px auto 0;
    border:none;
    border-radius:40px;
    background:#42B254;
    color:white;
    font-weight:700;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
}

.boton-registro:hover{
    background-color: #6B9732;
}


.tabs{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:90px;
    margin-bottom:15px;
}

.tab{
    border:none;
    background:none;
    cursor:pointer;
    font-size:2rem;
    font-weight:700;
    color:#000;
    padding:0;
    padding-bottom:12px;
    border-bottom:4px solid transparent;
    transition:.25s;
}

.tab.activa{
    width:auto;
    height:70px;
    margin:10px auto 0;
    border:none;
    border-radius:40px;
    background:#42B254;
    color:white;
    font-weight:700;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    cursor:pointer;
}

#login form, #registro form{
    display:flex;
    flex-direction:column;
}

#login form{
    gap:24px;
    width:100%;
}

#registro form{
    gap:20px;
    width:100%;
}


label{
    font-size:1.4rem;
    font-weight:700;
    color:#000;
}

#registro label{
    margin-bottom:-12px;
}

input{
    width:100%;
    height:72px;
    border:4px solid #000;
    border-radius:40px;
    background:white;
    padding:0 28px;
    font-size:1.2rem;
    outline:none;
    box-sizing:border-box;
}

input::placeholder{
    color:#555;
    font-weight:500;
}

.password{
    position:relative;
}

.password input{
    padding-right:80px;
}

.ojo{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
}

.olvide{
    text-decoration:none;
    color:#48B965;
    font-size:1.25rem;
    font-weight:700;
    margin-top:-5px;
}

.btn-login #btn-registro{
    width:200px;
    height:70px;
    margin:10px auto 0;
    border:none;
    border-radius:40px;
    background:#42B254;
    color:white;
    font-weight:700;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    cursor:pointer;
    transition:transform .2s;
}

.btn-login:hover{
    transform:scale(1.03);
}

.btn-login, #btn-registro{
    width:200px;
    height:70px;
    margin:10px auto 0;
    border:none;
    border-radius:40px;
    background:#42B254;
    color:white;
    font-weight:700;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
}

.btn-login:hover,#btn-registro:hover{
    transform:scale(1.03);
}

.social-login{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
}

.social-login span{
    white-space:nowrap;
    font-size:1.35rem;
    font-weight:600;
    color:#303030;
}

.linea{
    width:180px;
    height:3px;
    background:#3d3d3d;
}

.redes{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:65px;
}

.redes img{
    width:65px;
    cursor:pointer;
    transition:.2s;
}

.redes img:hover{
    transform:scale(1.08);
}

.formulario{
    display:none;
    flex-direction:column;
    gap:35px;
}

.formulario.activo{
    display:flex;
}

.cuenta{
    font-size:1.35rem;
    font-weight:600;
}

.cuenta a{
    color:#48B965;
    font-weight:700;
}

@media(max-width:900px){

.modal-registro{
    width:100%;
    max-width:650px;
    padding:35px;
}

.tabs{
    gap:35px;
}

.linea{
    width:90px;
}

.redes{
    gap:35px;
}

.redes img{
    width:52px;
}

.social-login span{
    font-size:1.1rem;
}

label{
    font-size:1.2rem;
}

}

@media(max-width:600px){

.modal-registro{
    width:100%;
    padding:25px 18px;
}

.tab{
    font-size:1.2rem;
}

input{
    height:55px;
    font-size:1rem;
}

.btn-login,#btn-registro{
    height:60px;
    font-size:1.2rem;
}

.linea{
    width:55px;
}

.social-login{
    gap:12px;
}

.social-login span{
    font-size:1rem;
}

.redes{
    gap:25px;
}

.redes img{
    width:46px;
}

.cuenta{
    font-size:1rem;
}

.olvide{
    font-size:1rem;
}
}
[hidden]{
    display:none!important;
}

footer.sesion-registrarse{
   margin-top: 85px;
}
    /*-------------------------------------------SESION Y REGISTRO---------------------------------------*/

    /*-------------------------------------------AGREGAR RESEÑA---------------------------------------*/

.header-agregar{
    width:90%;
    max-width:850px;
    margin:30px auto;
    display:flex;
    align-items:center;
    gap:25px;
}

.encabezado-volver{
    display: flex;
    align-items: center;
    gap: 15px; 
    margin: 30px 40px;
}

.volver{
    font-size:45px;
    text-decoration:none;
    color:#8a8a8a;
    font-weight:300;
}

.header-agregar h1{
    font-size:42px;
    font-weight:800;
}


#formResena{
    display:flex;
    justify-content:center;
    margin-bottom:40px;
}

.modal-resena{
    width:90%;
    max-width:820px;
    background:#FFF689;
    border:2px solid #111;
    border-radius:28px;
    padding:30px;

}

form{
    display:flex;
    flex-direction:column;
}

label{
    font-weight:790;
    margin-top:25px;
    margin-bottom:10px;
}

input,select,textarea{
    width:100%;
    border:4px solid #111;
    padding:15px 22px;
    outline:none;
    background:white;
    border-radius: 30px;
}

input::placeholder,textarea::placeholder{
    color:#707070;
    font-weight:600;
}

select{
    cursor:pointer;
}

textarea{
    min-height:120px;
    border-radius:30px;
}

.estrellas-formulario{
    height:74px;
    border:4px solid #111;
    border-radius:40px;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#D99B4C;
}

.subir{
    margin-top:10px;
    height:210px;
    border:4px solid #111;
    border-radius:30px;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

.subir input{
    border:none;
}

.btn-publicar{
    align-self:flex-end;
    margin-top:35px;
    width:360px;
    height:72px;
    border:none;
    border-radius:45px;
    background:#3EA948;
    color:#111;
    font-size:30px;
    font-weight:900;
    cursor:pointer;
    transition:.3s;
}

.btn-publicar:hover{
    transform:scale(1.03);
}

@media(max-width:768px){

    .header-agregar{
        gap:15px;
    }

    .header-agregar h1{
        font-size:28px;
    }

    label{
        font-size:20px;
    }

    input,select,textarea{
        font-size:15px;
    }

    .btn-publicar{
        width:100%;
        font-size:24px;
    }

    .estrellas{
        width:260px;
        font-size:34px;
    }
}


     /*-------------------------------------------AGREGAR RESEÑA---------------------------------------*/

     /*-------------------------------------------COMUNIDAD---------------------------------------*/

     main{
    width:min(95%,1200px);
    margin:auto;
    padding:40px 0 80px;
}

.titulo-comunidad{
    margin-bottom:40px;
}

.titulo-principal{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.titulo-principal img{
    width:55px;
}

.titulo h1{
    font-size:55px;
}

.titulo h2{
    color:#40AF56;
    font-size:42px;
    margin-bottom:15px;
}

.icono-link{
    width: 1em;
    height: 1em;
}


.titulo p{
    font-size:26px;
    font-weight:bold;
}

.card{
    border-radius:30px;
    padding:30px;
    margin-bottom:45px;
}

.grupos{
    background:#F4F0B5;
}

.asistencia{
    background:#CDE5CF;
}

.centros{
    background:#E6E2B8;
}


.encabezado-card{
    display:flex;
    align-items:flex-start;
    gap:25px;
    margin-bottom:30px;

}

.encabezado-card img{
    width:70px;
}

.encabezado-card h2{
    font-size:55px;
    margin-bottom:10px;
}

.encabezado-card h3{
    font-size:28px;
}

.encabezado-card p{
    font-size:25px;
}


.contenedor-redes{
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-bottom:25px;

}

.red{
    width:100%;
    background:#B8C46C;
    border-radius:25px;
    display:flex;
    align-items:center;
    gap:20px;
    padding:18px;
}

.red img{
    width:70px;
}

.red h3{
    font-size:25px;
}

.red h3 a{
    color: inherit;
    text-decoration: none;
}

.red p{
    font-size:20px;
}

.contenedor-redes{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.btn-grupos{
    width:100%;
    height:65px;
    background:#68B862;
    color:white;
    border:none;
    border-radius:20px;
    font-size:25px;
    font-weight:bold;
    cursor:pointer;
}

.contacto{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#C4D17A;
    border-radius:25px;
    padding:20px;
    margin-bottom:25px;
}

.contacto img{
    width:75px;
}

.contacto h3{
    font-size:25px;
}


.centro{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#D0D67C;
    border-radius:25px;
    padding:20px;
    margin-bottom:25px;
}

.centro img{
    width:170px;
    border-radius:10px;
}

.centro h3{
    font-size:28px;
}

.centro h4{
    font-size:22px;
}

.centro span{
    font-size:22px;
}


button{
    cursor:pointer;
    border:none;
    border-radius:20px;
    font-weight:bold;
}

.card>button{
    width:100%;
    height:65px;
    color:white;
    font-size:25px;
}

.grupos>button{
    background:#68B862;

}

.asistencia>button{
    background:#68B862;

}

.centros>button{
    background:#68B862;

}

.contacto button{
    background:#a0bd88;   
    color:white;
    text-decoration:none;
    padding:15px 25px;
    border-radius:20px;
    font-weight:bold;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.centro button{
    background:#a0bd88;
    width:220px;
    height:60px;
    color:black;
    font-size:22px;
}

.boton-ubicacion{
    background:#a0bd88;   
    color:white;
    text-decoration:none;
    padding:15px 25px;
    border-radius:20px;
    font-weight:bold;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.boton-flotante{
    position: fixed;
    right: 30px;
    bottom: 40px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: #6B8D34;
    color: white;

    padding: 18px 28px;

    border-radius: 20px;

    font-size: 22px;
    font-weight: bold;

    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0,0,0,.25);

    transition: .25s;
}

.boton-flotante:hover{
    transform: translateY(-5px);
    background: #567128;
}

.icono{
    font-size: 28px;
     color:#f89b1c;
}

/* ============================= */
/* CELULAR */
/* ============================= */
@media (max-width:768px){

    .titulo h2{
        font-size:28px;
    }

    .titulo p{
        font-size:18px;
    }

    .encabezado-card{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .encabezado-card h2{
        font-size:32px;
    }

    .encabezado-card h3{
        font-size:22px;
    }

    .encabezado-card p{
        font-size:18px;
    }

    .contenedor-redes{
        flex-direction:column;
    }

    .red{
        width:100%;
    }

    .contacto,
    .centro{
        flex-direction:column;
        text-align:center;
        gap:20px;
    }

    .contacto button,
    .centro button{
        width:100%;
    }

    .centro img{
        width:100%;
        max-width:260px;
    }
}

     /*-------------------------------------------COMUNIDAD---------------------------------------*/

     /*-------------------------------------------LUGAR DETALLE---------------------------------------*/

     /*=========================================
MAIN
=========================================*/

main{

    width:100%;
    max-width:1500px;
    margin:auto;
    padding:35px;
}

/*=========================================
SECCIÓN PRINCIPAL
=========================================*/

.seccion-principal{
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap; 
}

.info{
    flex: 1;
    min-width: 300px;
}

.seccion-principal img{
    width: 100%;
    max-width: 450px;
    height: auto;
}

.info h1{
    font-size: clamp(40px, 6vw, 80px);
    margin-bottom: 20px;
    font-weight:900;
    text-transform:uppercase;
    line-height:1;
    margin-bottom:15px;
}

.calificacion{

    color:#F6A019;

    font-size:48px;

    font-weight:bold;

    margin-bottom:18px;
}

.calificacion span{

    color:#000;

    font-size:34px;

    margin-left:12px;
}

.ubicacion-lugar{

    font-size:34px;

    font-weight:bold;

    line-height:1.3;
}

/*=========================================
SERVICIOS
=========================================*/

.servicios{

    margin-bottom:40px;
}

.servicios h2{

    font-size:42px;

    font-weight:900;

    text-decoration:underline;

    margin-bottom:25px;
}


.info-servicios{

    font-size:18px;

    color:#000000;

    line-height:1.5;

    margin-bottom:25px;

    max-width:700px;
}

.servicios ul{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    column-gap:90px;

    row-gap:18px;

    padding-left:38px;
}

.servicios li{

    font-size:30px;

    font-weight:bold;

    line-height:1.4;
}

/*=========================================
CONTENEDOR GENERAL
=========================================*/

.contenido{

    width:100%;

    display:flex;

    flex-direction:column;
}
/*=========================================
RESEÑAS
=========================================*/

.reseñas{

    width:100%;
}

.review{

    background:#E6C48B;

    border-radius:28px;

    padding:25px 30px;

    margin-bottom:28px;

    box-shadow:0 4px 10px rgba(0,0,0,.12);

    position:relative;

    transition:.3s;
}

.review:hover{

    transform:translateY(-3px);

    box-shadow:0 8px 18px rgba(0,0,0,.18);
}

/*============================
Parte superior
============================*/

.review-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    margin-bottom:20px;
}

/*============================
Usuario
============================*/

.usuario{

    display:flex;

    align-items:center;

    gap:18px;
}

.usuario img{

    width:70px;

    height:70px;

    border-radius:50%;

    object-fit:cover;
}

.usuario h3{

    font-size:28px;

    font-weight:800;

    margin-bottom:6px;
}

.estrellas{

    display:flex;

    color:#F6A019;

    font-size:26px;

    font-weight:bold;

    letter-spacing:2px;
}

/*============================
Fecha
============================*/

.fecha{
    display: flex;

    font-size:22px;

    font-weight:bold;

    color:#333;
}

/*============================
Texto
============================*/

.review p{

    font-size:24px;

    line-height:1.6;

    margin-left:88px;

    padding-right:170px;

    margin-bottom:18px;
}

/*============================
Botón Ver más
============================*/

.ver-mas{

    position:absolute;

    right:28px;

    bottom:22px;

    background:#FFF44F;

    color:#000;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

    padding:12px 22px;

    border-radius:40px;

    transition:.25s;
}

.ver-mas:hover{

    background:#ffe500;

    transform:scale(1.06);
}

/*=========================================
ESCRIBIR RESEÑA
=========================================*/

.crear-reseña{

    display:flex;

    justify-content:center;

    align-items:center;

    margin-top:40px;

    margin-bottom:40px;
}

.crear-reseña h2{

    display:none;
}

.boton-flotante{

    text-decoration:none;
}

.boton-flotante button{

    width:90px;

    height:90px;

    border:none;

    border-radius:50%;

    background:#FFF44F;

    font-size:60px;

    font-weight:bold;

    cursor:pointer;

    box-shadow:0 6px 15px rgba(0,0,0,.2);

    transition:.25s;
}


/*=========================================
CELULAR
=========================================*/

@media (max-width:768px){

header{

    flex-direction:column;

    gap:18px;

    padding:18px;
}

.logo img{

    width:140px;
}

.menu{

    width:100%;

    justify-content:space-around;

    gap:0;
}

.item-menu{

    font-size:15px;
}

.icono{

    font-size:30px;
}

main{

    padding:18px;
}

.seccion-principal{

    gap:20px;
}

.seccion-principal img{

    width:100%;

    height:220px;

    border-radius:18px;
}

.info h1{

    font-size:34px;
}

.calificacion{

    font-size:26px;
}

.calificacion span{

    display:block;

    margin-left:0;

    margin-top:8px;

    font-size:18px;
}

.ubicacion{

    font-size:18px;
}

.servicios{

    margin-bottom:25px;
}

.servicios h2{

    font-size:24px;
}
.info-servicios{

    font-size:15px;
}


.servicios ul{

    padding-left:22px;
}

.servicios li{

    font-size:18px;
}

.reseñas h2{

    font-size:24px;
}

.review{

    padding:18px;
}

.review-top{

    flex-direction:column;

    gap:12px;
}

.usuario{

    gap:12px;
}

.usuario img{

    width:55px;

    height:55px;
}

.usuario h3{

    font-size:18px;
}

.estrellas{

    font-size:18px;
}

.fecha{
    font-size:15px;
}

.review p{
    margin-left:0;
    padding-right:0;
    font-size:17px;
    margin-bottom:18px;
}

.ver-mas{
    position:static;
    display:inline-block;
    margin-top:10px;
    font-size:15px;
}

.boton-flotante button{
    width:70px;
    height:70px;
    font-size:44px;
}
}
     /*-------------------------------------------LUGAR DETALLE---------------------------------------*/

     /*-------------------------------------------PERFIL---------------------------------------*/

/* ------------------- */
/* PERFIL */
/* ------------------- */

.perfil{

    display:flex;
    align-items:flex-start;

    gap:40px;

    margin-top:60px;
    margin-bottom:50px;

}

.foto img{

    width:250px;
    height:250px;

    border-radius:50%;

    object-fit:cover;

}

.datos{

    flex:1;

    display:flex;
    flex-direction:column;

    gap:25px;

}

.datos input{

    width:100%;
    height:55px;

    border:3px solid #222;

    padding-left:20px;

    font-size:28px;
    font-weight:bold;

    color:#b9b9b9;

    background:white;

}

.datos textarea{

    width:100%;
    height:160px;

    border:3px solid #222;

    resize:none;

    padding:18px;

    font-size:24px;

    font-weight:bold;

    color:#b9b9b9;

    line-height:1.5;

    background:white;

}

/* ------------------- */
/* TITULO */
/* ------------------- */

.reseñas h2{

    color:#5b8e2c;

    font-size:46px;

    margin-bottom:25px;

}

/* ------------------- */
/* TARJETAS */
/* ------------------- */

.tarjeta{
    position: relative;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;

    background: #EBC88A;
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 35px;
}

.fotoLugar{

    width:250px;

    height:250px;

    border-radius:18px;

    object-fit:cover;

}

.contenido{

    flex:1;

}

.superior{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

}

.superior h3{

    font-size:36px;

    margin-bottom:12px;

}

.ubicacion{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:26px;

    font-weight:bold;

    margin-bottom:10px;

}

.ubicacion img{

    width:26px;

}

.usuario{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:24px;

    font-weight:bold;

    margin-bottom:18px;

}

.usuario img{

    width:42px;

    height:42px;

    border-radius:50%;

}

.estrellas{

    color:#f89b1c;

    font-size:45px;

    letter-spacing:5px;

}

.comentario{
    margin-top:10px;
    font-size:20px;
    line-height:1.5;
}

.ver-mas{
    position: absolute;
    right: 28px;
    bottom: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 130px;
    height: 46px;

    background: #FFF44F;
    border-radius: 999px;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: .25s;
}

.ver-mas:hover{
    background:#ffe500;
    transform:scale(1.05);
}



/* ------------------- */
/* BOTÓN FLOTANTE */
/* ------------------- */

.botonResena{
    position: fixed;
    right: 30px;
    bottom: 40px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: #6B8D34;
    color: white;

    padding: 18px 28px;

    border-radius: 20px;

    font-size: 22px;
    font-weight: bold;

    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0,0,0,.25);

    transition: .25s;
}

.botonResena:hover{
    transform: translateY(-5px);
    background: #567128;
}

.icono{
    font-size: 28px;
     color:#f89b1c;
}


footer{
    background:#d7cf2d;
    text-align:center;
    padding:15px;
    font-size:18px;
    font-weight:900;
}

/* ==========================
   CELULARES
========================== */

@media (max-width:768px){

    /* HEADER */

    header{
        padding:15px;
    }

    header img{
        width:85px;
    }

    .menu{
        gap:15px;
    }

    .item-menu{
        min-width:auto;
        font-size:13px;
    }

    .item-menu .icono{
        font-size:26px;
    }

    /* MAIN */

    main{
        width:92%;
    }

    /* PERFIL */

    .perfil{
        flex-direction:column;
        align-items:center;
        gap:25px;
        margin-top:30px;
        margin-bottom:35px;
    }

    .foto img{
        width:170px;
        height:170px;
    }

    .datos{
        width:100%;
        gap:18px;
    }

    .datos input{
        height:48px;
        font-size:20px;
    }

    .datos textarea{
        height:120px;
        font-size:18px;
    }

    /* TÍTULO */

    .reseñas h2{
        font-size:30px;
        text-align:center;
        margin-bottom:20px;
    }

    /* TARJETAS */

    .tarjeta{
        grid-template-columns:1fr;
        gap:18px;
        padding:18px;
        border-radius:20px;
    }

    .fotoLugar{
    width:100%;
    height:auto;
    aspect-ratio: 16 / 9;
    object-fit:contain;
    border-radius:15px;
    background:#EBC88A;
}

    .contenido{
        width:100%;
    }

    .superior{
        display:flex;
        flex-direction:column;
        gap:12px;
    }

    .superior h3{
        font-size:24px;
        margin-bottom:8px;
        line-height:1.2;
    }

    .ubicacion{
        font-size:17px;
        margin-bottom:8px;
    }

    .ubicacion img{
        width:18px;
    }

    .usuario{
        font-size:17px;
        margin-bottom:10px;
    }

    .usuario img{
        width:34px;
        height:34px;
    }

    .estrellas{
        font-size:30px;
        letter-spacing:2px;
    }

    .comentario{
        font-size:18px;
        line-height:1.6;
        margin-top:8px;
    }

    /* BOTÓN VER MÁS */

    .ver-mas{
        position:static;
        width:100%;
        height:48px;
        margin-top:15px;
        font-size:17px;
    }
}
     /*-------------------------------------------PERFIL---------------------------------------*/

     /*-------------------------------------------RESULTADOS DE BUSQUEDA---------------------------------------*/


/* ========================= */
/* MAIN */
/* ========================= */

main.resultados-busqueda{
    width:100%;
    max-width:1400px;
    margin:40px auto;
    padding:0 20px;
}

/* ========================= */
/* BUSCADOR */
/* ========================= */

.buscador{
    width:100%;
    max-width:780px;
    height:75px;
    margin:0 auto 35px;
    display:flex;
}

.buscador input{
    flex:1;
    border:4px;
    border-right:none;
    font-size: 18px;
    padding: 4px 5px;
    outline:none;
}

.buscador button{
    width:80px;
    border:4px;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
}

.buscador button img{
    width:42px;
    height:42px;
}


/* ========================= */
/* TITULO */
/* ========================= */

.titulo-resultados{
    width:100%;
    max-width:1300px;
    margin:35px auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.titulo-resultados h2{
    display:inline-block;
    background:#FFF35C;
    border-radius:40px;
    padding:8px 14px;
    font-size:16px;
    border-radius:25px;
}

.titulo-resultados a{
    font-size:16px;
    color:#6b6b6b;
    font-weight:bold;
}


/* ========================= */
/* TARJETAS */
/* ========================= */

.card{
    background:#DDBF93;
    border-radius:35px;
    width:100%;
    display:flex;
    overflow:hidden;
    margin-bottom:35px;
}

.imagen{
    width:38%;
}

.imagen img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.imagen img{
    display:block;
}

.contenido{
    width:62%;
    padding:25px;
}

.contenido h3{
    font-size:48px;
    margin-bottom:10px;
}

.ubicacion-resultados{
    font-size:24px;
    font-weight:bold;
    margin-bottom:15px;
}

.estrellas{
    color:#F39A21;
    font-size:40px;
    margin-bottom:20px;
}

.estrellas span{
    color:black;
    font-size:28px;
}

.comentario{
    padding:18px;
    border-radius:15px;
    margin-bottom:20px;
}

.comentario p{
    font-size:1em;
    font-weight:bold;
}

.usuario{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:20px;
}

.usuario img{
    width:60px;
}

.card a{
    font-size:24px;
    font-weight:bold;
    color:black;
}

    /*-------------------------------------------RESULTADOS DE BUSQUEDA---------------------------------------*/

footer{
    background:#d7cf2d;
    text-align:center;
    padding:15px;
    font-size:18px;
    font-weight:600;
}

/* ===================================================
   RESPONSIVE GENERAL - CELULARES
=================================================== */

@media screen and (max-width:768px){

/*------------------- GENERAL -------------------*/

*{
    max-width:100%;
}

body{
    overflow-x:hidden;
}

main{
    width:95% !important;
    max-width:100% !important;
    padding:15px !important;
    margin:auto;
}

/*------------------- HEADER -------------------*/

header{
    flex-direction:column;
    padding:15px;
    gap:15px;
}

.logo img{
    width:110px;
}

.menu{
    width:100%;
    justify-content:space-around;
    flex-wrap:wrap;
    gap:10px;
}

.item-menu{
    font-size:14px;
}

/*------------------- HERO -------------------*/

.hero{
    grid-template-columns:1fr;
    width:100%;
    gap:25px;
    text-align:center;
}

.hero-imagen{
    order:-1;
}

.hero-imagen img{
    border-radius:20px;
}

.texto h2{
    font-size:36px;
}

.texto span{
    font-size:28px;
}

.texto p{
    font-size:17px;
}

.btn-registro{
    width:100%;
    display:block;
    text-align:center;
}

/*------------------- BUSCADOR -------------------*/

.buscador{
    width:100%;
    height:auto;
}

.buscador input{
    font-size:15px;
}

.buscador button{
    width:55px;
    height:45px;
}

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

.filtros{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.filtros select{
    width:100%;
}

/*------------------- TARJETAS RESEÑAS -------------------*/

.tarjeta-reseña{
    flex-direction:column;
    padding:18px;
    border-radius:25px;
}

.foto-cancha{
    width:100%;
    max-width:100%;
    aspect-ratio:16/9;
}

.descripcion{
    font-size:16px;
}

.estrellas{
    font-size:28px;
}

.boton-detalles{
    width:100%;
    align-self:stretch;
}

/*------------------- TITULOS -------------------*/

.titulo h1{
    font-size:36px;
}

.titulo h2{
    font-size:28px;
}

.titulo p{
    font-size:18px;
}

/*------------------- COMUNIDAD -------------------*/

.encabezado-card{
    flex-direction:column;
    text-align:center;
    align-items:center;
}

.encabezado-card img{
    width:60px;
}

.encabezado-card h2{
    font-size:30px;
}

.encabezado-card h3{
    font-size:22px;
}

.encabezado-card p{
    font-size:18px;
}

.red,
.contacto,
.centro{
    flex-direction:column;
    text-align:center;
}

.red img,
.contacto img{
    width:60px;
}

.centro img{
    width:100%;
    max-width:260px;
}

.contacto button,
.centro button,
.btn-grupos{
    width:100%;
}

/*------------------- AGREGAR RESEÑA -------------------*/

.encabezado-volver{
    margin:20px 10px;
}

.header-agregar h1{
    font-size:28px;
}

.modal-resena{
    padding:20px;
}

.btn-publicar{
    width:100%;
    font-size:22px;
}

/*------------------- LUGAR DETALLE -------------------*/

.seccion-principal{
    flex-direction:column;
}

.seccion-principal img{
    width:100%;
}

.info h1{
    font-size:34px;
}

.calificacion{
    font-size:28px;
}

.calificacion span{
    display:block;
    margin-left:0;
    font-size:18px;
}

.ubicacion-lugar{
    font-size:18px;
}

.servicios ul{
    grid-template-columns:1fr;
    column-gap:0;
}

.servicios li{
    font-size:18px;
}

.review{
    padding:18px;
}

.review-top{
    flex-direction:column;
    gap:10px;
}

.review p{
    margin:0;
    padding:0;
    font-size:17px;
}

.ver-mas{
    position:static;
    width:100%;
    display:block;
    text-align:center;
    margin-top:15px;
}

/*------------------- PERFIL -------------------*/

.perfil{
    flex-direction:column;
    align-items:center;
}

.foto img{
    width:170px;
    height:170px;
}

.datos input{
    font-size:18px;
    height:50px;
}

.datos textarea{
    font-size:18px;
    height:120px;
}

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

.fotoLugar{
    width:100%;
    height:auto;
    aspect-ratio:16/9;
}

.superior{
    flex-direction:column;
}

.superior h3{
    font-size:24px;
}

.comentario{
    font-size:17px;
}

.botonResena{
    right:15px;
    bottom:15px;
    padding:12px 18px;
    font-size:16px;
}

/*------------------- RESULTADOS -------------------*/

.titulo-resultados{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
}

.card{
    flex-direction:column;
}

.imagen{
    width:100%;
}

.contenido{
    width:100%;
    padding:18px;
}

.contenido h3{
    font-size:28px;
}

.ubicacion-resultados{
    font-size:18px;
}

.usuario{
    flex-wrap:wrap;
}

.usuario img{
    width:45px;
}

.card a{
    display:block;
    text-align:center;
    margin-top:15px;
}

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

.boton-flotante,
.botonResena{
    right:15px;
    bottom:20px;
    padding:12px 18px;
    font-size:15px;
}

.icono{
    font-size:22px;
}

/*------------------- FOOTER -------------------*/

footer{
    padding:15px;
    font-size:14px;
}

}