body {
  background: url('/images/fondo_ubicacion.png') no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}

/* =========================
   SECCIÓN BASE
========================= */
.categorias {
  padding: 100px 20px 80px;
  background: url('/images/fondo_ubicacion.png') no-repeat center;
  background-size: cover;
  text-align: center;
  position: relative;
}

/* =========================
   HEADER
========================= */
.categorias-header {
  position: relative;
  margin-bottom: 50px;
}

.categorias h2 {
  font-size: 2.4rem;
  font-weight: 500;
  color: #7cf2ff; /* 🔥 tono turquesa */
}

/* MASCOTA */
.mascota {
  position: absolute;
  left: 120px;   
  top: -100px;   
  width: 200px;  
  z-index: 3;
}

/* =========================
   CONTENEDOR BLANCO
========================= */
.categorias-box {
  max-width: 1150px;
  margin: auto;

  background: #e9e9e9;
  padding: 45px;
  border-radius: 40px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* =========================
   CARD
========================= */
.categoria-card {
  background: #f2f2f2;
  border-radius: 18px;

  padding: 30px 15px;

  text-align: center;
  text-decoration: none;

  border: 2px solid #dcdcdc;

  /* 🔥 sombra estilo bloque */
  box-shadow: 8px 8px 0 #0b1f4b;

  transition: 0.25s ease;
}

.categoria-card:hover {
  transform: translateY(-6px);
}

/* =========================
   ICONO
========================= */
/* CONTENEDOR */
.icon-box {
  width: 90px;
  height: 90px;

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

  margin: 0 auto 15px;
}

/* ICONO */
.categoria-icon {
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
}

/* =========================
   LABEL
========================= */
.categoria-label {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
}

/* COLORES EXACTOS */
.categoria-label.blue {
  background: #1e5bd6;
  color: white;
}

.categoria-label.orange {
  background: #ff5a00;
  color: white;
}
   h1{

      font-size:54px;

      margin-bottom:28px;

      font-weight:900;
      

    }

     h1 span{

      color:#25c6ff;

    }
      .categorias h1{
    font-size: 32px;
    line-height: 1.12;
    margin: 0 auto;
    color: #fff;
  }
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .categorias-box {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .categorias-box {
    grid-template-columns: repeat(2, 1fr);
    padding: 25px;
  }

  .mascota {
    display: none;
  }

  .categorias h2 {
    font-size: 1.8rem;
  }
}


/* =========================================================
   QUÉ HACER - OPTIMIZACIÓN MÓVIL
   Mantiene intacto el diseño de escritorio
========================================================= */

@media (max-width: 768px){

  .categorias{
    padding: 65px 14px 60px;
    background-position: center;
    background-attachment: scroll;
  }

  /* HEADER */

  .categorias-header{
    margin-bottom: 30px;
    padding: 0 8px;
  }

  .categorias h1{
    font-size: 32px;
    line-height: 1.12;
    margin: 0 auto;
    color: #fff;
  }

  /* CONTENEDOR */

  .categorias-box{
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    border-radius: 26px;
  }

  /* TARJETAS */

  .categoria-card{
    min-height: 155px;
    padding: 20px 10px 16px;
    border-radius: 17px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    box-shadow: 5px 5px 0 #0b1f4b;
  }

  .categoria-card:hover{
    transform: none;
  }

  /* ICONOS */

  .icon-box{
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
  }

  .categoria-icon{
    max-width: 100%;
    max-height: 100%;
  }

  /* ETIQUETAS */

  .categoria-label{
    max-width: 100%;
    padding: 8px 10px;
    border-radius: 9px;

    font-size: 13px;
    line-height: 1.2;

    box-sizing: border-box;
  }

}


/* =========================================================
   TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 380px){

  .categorias{
    padding: 55px 10px 52px;
  }

  .categorias-header{
    margin-bottom: 25px;
  }

  .categorias h1{
    font-size: 28px;
  }

  .categorias-box{
    padding: 12px;
    gap: 10px;
    border-radius: 22px;
  }

  .categoria-card{
    min-height: 142px;
    padding: 17px 8px 14px;
    border-radius: 15px;
    box-shadow: 4px 4px 0 #0b1f4b;
  }

  .icon-box{
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
  }

  .categoria-label{
    font-size: 12px;
    padding: 7px 8px;
  }

}


/* =========================================================
   MODAL - MÓVIL
========================================================= */

@media (max-width: 768px){

  .modal-quehacer{
    padding: 12px;
  }

  .modal-quehacer-box{
    width: 100%;
    max-width: 430px;
    max-height: calc(100vh - 24px);
    border-radius: 22px;
    overflow-y: auto;
  }

  .modal-quehacer .modal-header{
    padding: 17px 16px;
    gap: 10px;
  }

  .modal-quehacer .modal-header h2{
    font-size: 20px;
  }

  .modal-quehacer .cerrar-modal{
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .modal-quehacer .modal-body{
    padding: 25px 20px 15px;
  }

  .modal-quehacer .modal-body img{
    width: 95px;
    height: 95px;
    margin-bottom: 18px;
  }

  .modal-quehacer .modal-body p{
    font-size: 16px;
    line-height: 1.65;
  }

  .modal-quehacer .modal-footer{
    padding: 0 20px 20px;
  }

  .modal-quehacer .btn-cerrar{
    height: 50px;
    border-radius: 15px;
    font-size: 16px;
  }

}
