@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

*{box-sizing:border-box}

:root{
  --naranja:#FF5C1A;
  --naranja-d:#CC4410;
  --azul:#1A1A2E;
  --gris:#F5F4F0;
  --gris2:#E8E6DF;
  --blanco:#fff;
  --texto:#1A1A2E;
  --muted:#6B6B6B;
}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:'Outfit',sans-serif;
  color:var(--texto);
  background:var(--gris);
}

a{
  text-decoration:none;
  color:inherit;
}

.wrap{
  width:min(1180px,92%);
  margin:auto;
}

/* HEADER */

header{
  background:var(--azul);
  border-bottom:1px solid rgba(255,255,255,.08);
  position:sticky;
  top:0;
  z-index:20;
}

.nav{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  font-family:'Bebas Neue',sans-serif;
  font-size:26px;
  font-weight:400;
  letter-spacing:.03em;
  color:#fff;
}

.brand span{
  color:var(--naranja);
}

.nav nav{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:14px;
  font-weight:500;
}

.nav nav a{
  color:rgba(255,255,255,.75);
  transition:.2s;
}

.nav nav a:hover{
  color:#fff;
}

/* BOTONES */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--naranja);
  color:#fff !important;
  border:0;
  border-radius:8px;
  padding:14px 20px;
  font-family:'Outfit',sans-serif;
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}

.btn:hover{
  background:var(--naranja-d);
}

.btn.small{
  padding:11px 16px;
}

/* HERO */

.hero{
  background:var(--azul);
  color:#fff;
  padding:75px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.hero:before{
  content:'';
  position:absolute;
  width:500px;
  height:500px;
  background:var(--naranja);
  opacity:.07;
  border-radius:50%;
  right:-180px;
  top:-180px;
}

.eyebrow{
  color:var(--naranja);
  text-transform:uppercase;
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
}

.hero h1{
  font-family:'Bebas Neue',sans-serif;
  font-size:56px;
  line-height:1;
  font-weight:400;
  letter-spacing:.02em;
  max-width:800px;
  margin:15px auto;
}

.hero p{
  color:rgba(255,255,255,.65);
  max-width:680px;
  margin:0 auto 28px;
  line-height:1.7;
  font-weight:300;
}

/* BUSCADOR */

.search{
  background:#fff;
  max-width:760px;
  margin:auto;
  padding:8px;
  border-radius:10px;
  display:flex;
  position:relative;
  z-index:2;
  box-shadow:0 10px 35px rgba(0,0,0,.15);
}

.search input{
  flex:1;
  border:0;
  padding:15px;
  font-family:'Outfit',sans-serif;
  font-size:15px;
  outline:none;
  color:var(--texto);
}

/* SECCIONES */

.section{
  padding:60px 0;
}

.section h2{
  font-family:'Bebas Neue',sans-serif;
  font-size:38px;
  font-weight:400;
  letter-spacing:.02em;
  margin:5px 0 25px;
}

/* GRIDS */

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.cats{
  grid-template-columns:repeat(4,1fr);
}

/* CARDS */

.card{
  background:#fff;
  border:0;
  border-radius:14px;
  padding:24px;
  box-shadow:none;
  transition:.3s;
}

.card:hover{
  background:var(--gris2);
  transform:translateY(-3px);
}

.cat{
  text-align:center;
}

.cat i{
  font-size:28px;
  color:var(--naranja);
  margin-bottom:12px;
}

.card h3{
  font-family:'Bebas Neue',sans-serif;
  font-size:23px;
  font-weight:400;
  letter-spacing:.02em;
  margin:5px 0 10px;
}

.muted{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.location{
  font-size:13px;
  color:var(--muted);
  margin:12px 0;
}

/* BADGE */

.badge{
  display:inline-block;
  background:rgba(255,92,26,.12);
  color:var(--naranja-d);
  padding:6px 10px;
  border-radius:20px;
  font-size:11px;
  font-weight:700;
}

/* FORMULARIOS */

.form{
  max-width:760px;
  margin:45px auto;
  background:#fff;
  padding:30px;
  border:0;
  border-radius:14px;
}

.form h1{
  font-family:'Bebas Neue',sans-serif;
  font-size:38px;
  font-weight:400;
  letter-spacing:.02em;
  margin-top:0;
}

.field{
  margin:15px 0;
}

.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:7px;
}

.field input,
.field select,
.field textarea{
  width:100%;
  padding:13px;
  border:1px solid var(--gris2);
  border-radius:7px;
  font-family:'Outfit',sans-serif;
  background:#fff;
  color:var(--texto);
  outline:none;
  transition:.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:var(--naranja);
  box-shadow:0 0 0 3px rgba(255,92,26,.08);
}

.field textarea{
  min-height:160px;
}

.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

/* AVISOS */

.notice{
  padding:12px;
  border-radius:7px;
  margin:15px 0;
  background:rgba(255,92,26,.10);
  color:var(--naranja-d);
}

/* CABECERA LISTADOS */

.listing-head{
  padding:45px 0;
  background:var(--azul);
  color:#fff;
}

.listing-head h1,
.listing-head h2{
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  letter-spacing:.02em;
}

/* FICHA */

.listing{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:30px;
}

.detail{
  background:#fff;
  padding:30px;
  border-radius:14px;
}

.detail h1,
.detail h2,
.detail h3{
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  letter-spacing:.02em;
}

.side .card{
  margin-bottom:15px;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* TABLAS */

.table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
}

.table th,
.table td{
  text-align:left;
  padding:13px;
  border-bottom:1px solid var(--gris2);
  font-size:14px;
}

.table th{
  font-weight:700;
  background:var(--azul);
  color:#fff;
}

/* FOOTER */

footer{
  background:var(--azul);
  color:rgba(255,255,255,.55);
  margin-top:60px;
  padding-top:45px;
}

.footer{
  display:flex;
  justify-content:space-between;
  gap:30px;
}

.footer p{
  max-width:480px;
  line-height:1.7;
}

.footer div:last-child{
  display:flex;
  gap:18px;
}

.footer a{
  color:rgba(255,255,255,.75);
  transition:.2s;
}

.footer a:hover{
  color:var(--naranja);
}

.copy{
  text-align:center;
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:35px;
  padding:20px;
  font-size:13px;
}

/* RESPONSIVE */

@media(max-width:800px){

  .nav nav>a:not(.btn){
    display:none;
  }

  .hero{
    padding:55px 0;
  }

  .hero h1{
    font-size:42px;
  }

  .grid,
  .listing,
  .two{
    grid-template-columns:1fr;
  }

  .cats{
    grid-template-columns:1fr 1fr;
  }

  .search{
    flex-direction:column;
  }

  .footer{
    flex-direction:column;
  }
}

@media(max-width:480px){

  .hero h1{
    font-size:36px;
  }

  .cats{
    grid-template-columns:1fr;
  }

  .form{
    padding:22px;
  }
}

.anuncio-modal{border:0;border-radius:18px;padding:36px;max-width:500px;width:calc(100% - 32px);background:var(--blanco);color:var(--texto);box-shadow:0 24px 80px #0003}
.anuncio-modal::backdrop{background:rgba(26,26,46,.65)}
.anuncio-modal h2{margin:0 24px 16px 0;font-size:28px;line-height:1.2}
.anuncio-modal p{line-height:1.7;margin:0 0 24px}
.anuncio-modal-cerrar{position:absolute;right:12px;top:8px;border:0;background:transparent;color:var(--texto);font-size:30px;cursor:pointer;width:40px;height:40px}
.anuncio-modal .btn{white-space:normal;text-align:center}
@media(max-width:480px){.anuncio-modal{padding:28px 22px}.anuncio-modal h2{font-size:24px}}
