*, *::before, *::after {
  box-sizing: border-box;
}


html, body {
  height: 100%;
  margin: 0;
}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Raleway';
}

main {
  flex: 1;
  padding-top: 10px;
}


footer {
  border-radius: 20px;
  background: #EBEFF4;
  text-align: center;
  padding: 15px;
}
footer p{
  color: #000;
text-align: center;
font-family: 'Raleway';
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 121.2%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  border: 1px solid #486284;
  padding: 15px 30px;
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo-area {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-area img {
  height: 40px;
}


.menu-contacto {
  display: flex;
  align-items: center;
  gap: 40px;
}


.menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}

.menu a:hover {
  color: #007BFF;
}


.btn-contacto {
  background: #253780;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 20px;
  transition: background 0.2s;
}

.btn-contacto:hover {
  background: #0056b3;
}

.hero-section {
  position: relative;
  background-image: url('images/Group\ 56.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 40px 40px 40px;
  overflow: hidden;
  text-align: center;
}

.cenefa{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.hero-content {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
  z-index: 10;
}

.content-text-news {
  display: block;
  text-align: center;
}

.hero-logo {
  width: 500px;
  margin: 0 auto 0px;
  border-radius: 10px;
  padding: 0px;
  display: block;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  margin-top: -2rem;
}

.hero-description {
  font-size: 0.9rem;
  margin-bottom: 50px;
  line-height: 1.4;
}

.noticia {
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 100%;
  width: 300px;
  background: white;
  color: #333;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  text-align: center;
}

.noticia h3 {
  font-family: 'Le jour';
  font-weight: normal;
  font-size: 25px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #1d2c6f;
}

.noticia p {
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.btn-ver {
  display: inline-block;
  background: #1d2c6f;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.btn-ver:hover {
  background: #0f1a3a;
}

.scroll-down {
  font-size: 2rem;
  color: white;
  margin-top: -2rem;
  opacity: 0.7;
  font-weight: bold;
  user-select: none;
}

h1{
  color: #253780;
  text-align: center;
  font-family: "Le Jour";
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 121.2%;
  text-transform: uppercase;
}

.bloques-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.bloques-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.bloque {
  width: 287px;
  height: 269px;
  flex-shrink: 0;
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
}

.bloque-1 {
  background-color: #ECB0C5;
}

.bloque-2 {
  background-color: #FAAF7F;
}

.bloque-3 {
  background-color: #E88782;
}

.bloque-4 {
  background-color: #9D89BB;
}

.titulo-bloque {
  color: #FFF;
  font-family: 'Raleway';
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  text-align: left;
  margin-top: -0.5rem;
}


.icono-1{
  position: absolute;
  width: 128.001px;
  height: 106.445px;
  bottom: 15px;
  left: 15px;
}
.icono-2{
  position: absolute;
  width: 167.062px;
  height: 91.798px;
  bottom: 15px;
  left: 15px;
}
.icono-3{
  position: absolute;
  width: 129.057px;
  height: 98.999px;
  bottom: 15px;
  left: 15px;
}
.icono-4{
  position: absolute;
  width: 110px;
  height: 65.036px;
  bottom: 15px;
  left: 15px;
}
.icono-derecha {
  position: absolute;
  width: 30px;
  height: 30px;
  bottom: 15px;
  right: 15px;
}

.bloque-content {
  width: 100%;
  height: 100%;
  position: relative;
}


.bloques-dos-columnas {
  max-width: 1238px;
  margin: 0 auto; /* centrar */
  display: flex;
  flex-direction: column;
  gap: 3rem;
  background-color: #ffffff;
  margin-bottom: 2rem;
}

/* Cada bloque de dos columnas ocupa el 100% del contenedor padre */
.bloque-dos-col {
  display: flex;
  gap: 30px; /* separación entre columnas */
  width: 100%; /* ocupa todo el ancho del padre */
  align-items: flex-start; /* alinea arriba */
  box-sizing: border-box;
  gap: 50px;
}

/* Cada columna ocupa la mitad del bloque */
.bloque-dos-col .col {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Imagen dentro de la columna */
.bloque-dos-col .col img {
  width: 100%;
  height: auto;
  max-height: 350px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}

.col p{
color: #989BA0;
font-family: 'Raleway';
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 160%; /* 32px */
letter-spacing: -0.4px;
}
.col ul{
color: #989BA0;
font-family: Raleway;
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 160%; /* 32px */
letter-spacing: -0.4px;
margin-top: -1rem;
}
.col h2{
font-family: 'Raleway';
font-size: 40px;
font-style: normal;
font-weight: 800;
text-transform: uppercase;
line-height: 2px;
}

.limpieza-viaria h2{
  color: #ECB0C5;
  font-family: 'Raleway';
  font-size: 46px;
  font-style: normal;
  font-weight: 800;
  line-height: 121.2%;
  text-transform: uppercase;
}

.recogida-residuos h2{
  color: #FAAF7F;
  font-family: 'Raleway';
  font-size: 46px;
  font-style: normal;
  font-weight: 800;
  line-height: 121.2%;
  text-transform: uppercase;
}
.recogida-enseres h2{
  color: #E88782;
  font-family: 'Raleway';
  font-size: 46px;
  font-style: normal;
  font-weight: 800;
  line-height: 121.2%;
  text-transform: uppercase;
}
.parques-jardines h2{
  color: #9D89BB;
  font-family: 'Raleway';
  font-size: 46px;
  font-style: normal;
  font-weight: 800;
  line-height: 121.2%;
  text-transform: uppercase;
}
.parques-jardines{
  margin-top: -10rem;
}
.sostenibilidad-tecnologia {
  padding-top: 5px;
  max-width: 1238px;
  margin: 0 auto;
  padding: 0 20px;
}
.sostenibilidad{
  background-color: #EAEFF6;
  width: 100%;
  padding: 2rem 0;
}
.sostenibilidad-tecnologia h1 {
  font-family: 'Le jour';
  font-weight: 400;
  font-size: 60px;
  color: #253780;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.columna {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.columna p {
color: #6B6B6B;
font-family: 'Raleway';
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 160%;
letter-spacing: -0.4px;
}

.columna img {
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: #ccc;
  display: block;
}

.redes-sociales {
  position: absolute;
  top: 70px;
  right: 30px;
  width: 200px;
  padding: 20px;
  border-radius: 21.363px;
  background: rgba(234, 239, 246, 0.70);
  box-shadow: 0 3.715px 3.715px 0 rgba(0, 0, 0, 0.25);
  margin-top: 2rem;
}

.redes-sociales p {
  text-align: center;
  margin: 0;
  font-size: 18px;
  color: black;
}

.iconos-redes {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 15px;
}

.iconos-redes img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.buzon-ciudadano{
  background-image: url(images/imagen_merida\ 3.png);
  width: 100%;
  padding: 2rem 0;
  background-position: center;
  background-size: cover;
}
.buzon-ciudadano h1{
  color: #fff;
  text-align: center;
  font-family: "Le Jour";
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 121.2%;
  text-transform: uppercase;
}

.buzon-container {
  max-width: 1238px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 50px;
  padding: 0px;
  margin-top: -3.5rem;
}

.bloque-buzon {
  flex: 1 1 50%;
  padding: 30px;
  border-radius: 15px;
  min-height: 300px;
}

.bloque-buzon p{
  color: #fff;
  font-size: 20px;
}

.bloque-contacto{
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px
}
.icono-texto {
  display: flex;
  align-items: center;
  gap: 15px;
}
.textos{
    display: flex;
  flex-direction: column;
}
.textos p {
  margin: 0;
  line-height: 1.2;
}

.textos p:first-child {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 2px;
}

.textos p:last-child {
  font-size: 28px;
  color: #fff;
}
.icono{
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 5px;
}

.formulario-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: #e0e0e0;
}
.formulario {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(4px);
}

.formulario label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="tel"],
.formulario textarea {
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
  margin-top: 5px;
  outline: none;
}

textarea {
  resize: vertical;
}

.grupo-doble {
  display: flex;
  gap: 20px;
}

.grupo-doble label {
  flex: 1;
}

.checkbox-contenedor {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-contenedor input[type="checkbox"] {
  margin-top: 5px;
}

.texto-checkbox {
  font-size: 12px;
  color: #333;
  line-height: 1.4;
  display: block !important;
}
.texto-checkbox a{
  color:#253780;
  text-decoration: none;
}

button[type="submit"] {
  background-color: #11356e;
  color: #fff;
  border: none;
  padding: 14px 0;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #0b264e;
}

.punto-limpio{
  position: relative;
  border-radius: 20px;
  background: #EDF7EE;
  box-shadow: 0 5px 10px 0 rgba(48, 70, 102, 0.30);
  width: 1028px;
  height: 498px;
  flex-shrink: 0;
  padding: 20px 40px; /* Para que no quede pegado a los bordes */
  display: flex;
  flex-direction: column;
}

.otros-servicios {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Para apilar título y bloque */
  padding: 60px 20px;
  background-color: #fff;
}

.punto-limpio {
  margin-top: 2rem;
}
.punto-limpio h2{
  color: #5CA953;
  text-align: center;
  font-family: 'Raleway';
  font-size: 46px;
  font-style: normal;
  font-weight: 800;
  line-height: 121.2%; /* 55.752px */
  text-transform: uppercase;
}
.punto-limpio p{
  color: #6B6B6B;
  text-align: center;
  font-family: 'Raleway';
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 32px */
  letter-spacing: -0.4px;
  margin-top: 0;
}
.image-container {
  position: absolute;
  top: 30px;
  right: 30px;
}

.top-image {
width: 162px;
height: 158px;
}

.three-blocks {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

.block {
  flex: 1;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 150px;
}

.block-icon {
  width: 52px;
  height: auto;
  margin-bottom: 10px;
}

.block p{
  color: #6B6B6B;
  text-align: center;
  font-family: 'Raleway';
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 32px */
  letter-spacing: -0.4px;
}

.areas-caninas{
  position: relative;
  border-radius: 20px;
  background: #EAEFF6;
  box-shadow: 0 5px 10px 0 rgba(48, 70, 102, 0.30);
  width: 1028px;
  height: auto;
  flex-shrink: 0;
  padding: 20px 40px; /* Para que no quede pegado a los bordes */
  display: flex;
  flex-direction: column;
}

.areas-caninas h2{
  color: #6D7FD6;
  text-align: center;
  font-family: 'Raleway';
  font-size: 46px;
  font-style: normal;
  font-weight: 800;
  line-height: 121.2%; /* 55.752px */
  text-transform: uppercase;
}

.areas-caninas p{
  color: #6B6B6B;
  text-align: center;
  font-family: 'Raleway';
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 32px */
  letter-spacing: -0.4px;
  margin-top: 0;
}
.mapa-areas-caninas{
  width: 716px;
  height: 648px;
  flex-shrink: 0;
  aspect-ratio: 179/162;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid #6D7FD6;
}

.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 90px;
  gap: 250px;
  padding: 50px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
width: 169px;
height: 47px;
}

.footer-icon {
  width: 24px;
  height: 24px;
}

.footer-link {
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  color: #000;
  text-align: center;
  font-family: 'Raleway';
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 121.2%; /* 21.816px */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-transform: uppercase;
}
.footer-link-container {
  border-radius: 20px;
  border: 1px solid #B2B6C7;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#limpieza-viaria {
  scroll-margin-top: 80px;
}
#recogida-residuos {
  scroll-margin-top: 80px;
}
#recogida-enseres {
  scroll-margin-top: 80px;
}
#parques-jardines {
  scroll-margin-top: 80px;
}



@font-face {
  font-family: 'Raleway';
  src: url('Tipografias/Raleway/Raleway/Raleway-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway';
  src: url('Tipografias/Raleway/Raleway/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}
@font-face {
  font-family: 'Le jour';
  src: url('Tipografias/TTF/TTF/Le Jour Serif.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-legal a {
  text-decoration: none;
  color: #000;
  font-family: 'Raleway';
  font-size: 16px;
  font-weight: 500;
}

.footer-legal a:hover {
  text-decoration: underline;
}

#cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #253780;
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    font-family: 'Raleway', sans-serif;
    z-index: 1000;
  }

  #cookie-popup p {
    font-size: 14px;
    margin: 0 0 10px 0;
  }

  #cookie-popup button {
    background: #fff;
    color: #253780;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
  }

  #cookie-popup button:hover {
    background: #e0e0e0;
  }

  .checkbox-contenedor-wrapper .texto-arriba{
      font-size: 12px;
  color: #333;
  line-height: 1.4;
  }
  .checkbox-contenedor-wrapper .texto-arriba a{
    color:#253780;
    text-decoration: none;
  }
