* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
  }
  
.seccion-web {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 66vh; /* Asegura que ocupe toda la altura de la pantalla */
    padding: 20px;
    background-color: #fff;
}
  
.contenedor {
    text-align: center;
    max-width: 800px;
    width: 100%;
}
  
.texto-animado {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
    animation: animarTexto 3s ease-in-out infinite;
  }
  
.descripcion {
    font-size: 1.35rem;
    color: #555;
    line-height: 1.5;
    margin-top: 10px;
}
  
@keyframes animarTexto {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    50% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(20px);
    }
}
  
@media (min-width: 768px) {
    .texto-animado {
      font-size: 2.5rem;
    }
    .descripcion {
      font-size: 1.45rem;
    }
  }
  
  /* Estilos para pantallas grandes (desktop) */
  @media (min-width: 1024px) {
    .texto-animado {
      font-size: 3rem;
    }
    .descripcion {
      font-size: 1.375rem;
    }
}
  
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
  
.seccion-boton {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 20vh; /* Asegura que ocupe toda la altura de la pantalla */
    padding: 10px;
    background-color: #ffffff; /* Fondo suave para la sección */
}
  
.boton-llamada {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    text-decoration: none;
}
  
.boton-llamada:focus,
.boton-llamada:hover {
    transform: translateY(-4px); /* Efecto de elevación */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}
  
.boton-llamada .icono {
    margin-right: 10px;
    font-size: 1.5rem;
}
  
.boton-llamada .texto {
    font-size: 1.4rem;
}
  
.boton-llamada:hover .icono {
    animation: vibrar 0.4s ease-in-out infinite;
}
  
@keyframes vibrar {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
  
.boton-llamada:focus {
    outline: 2px solid #FFD700;
  }
  
.boton-llamada:active {
    transform: translateY(2px);
}
  
.boton-llamada {
    font-size: 1.2rem;
    padding: 10px 20px;
}
  
@media (min-width: 768px) {
    .boton-llamada {
      font-size: 1.4rem;
      padding: 12px 25px;
    }
    .boton-llamada .icono {
      font-size: 1.75rem;
    }
}
  
@media (min-width: 1024px) {
    .boton-llamada {
      font-size: 1.5rem;
      padding: 15px 30px;
    }
    .boton-llamada .icono {
      font-size: 2rem;
    }
}
  
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
  
.seccion-independiente {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 69vh;
    background: url('/madrid-noche.jpg') no-repeat center center; /* Imagen de fondo */
    background-size: cover;
    color: #fff; /* Texto blanco para alto contraste */
    text-align: center;
    padding: 20px;
}
  
.seccion-independienta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 69vh;
    background: url('/cerrajeros-metro-m.jpg') no-repeat center center; /* Imagen de fondo */
    background-size: cover;
    color: #fff; /* Texto blanco para alto contraste */
    text-align: center;
    padding: 20px;
}
  
.contenido {
    max-width: 900px;
    width: 100%;
    padding: 20px;
    backdrop-filter: blur(8px);
    border-radius: 10px;
}

.contenida {
    max-width: 900px;
    width: 100%;
    padding: 20px;
    backdrop-filter: blur(8px);
    border-radius: 10px;
}
  
.texto-animada {
    font-size: 2.2rem;
    font-weight: bold;
    color: #FFD700; /* Dorado para el texto */
    margin-bottom: 20px;
    animation: fadeInOut 3s ease-in-out infinite;
}
  
.descripcione {
    font-size: 1.3rem;
    color: #fafafa;
    line-height: 1.6;
    margin-top: 10px;
    opacity: 0.8;
}
  
@keyframes fadeInOut {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    50% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(20px);
    }
}
  
.seccion-independiente {
    padding: 15px;
  }
  
  .texto-animada {
    font-size: 1.9rem;
  }
  
.descripcione {
    font-size: 1.3rem;
}
  
@media (min-width: 768px) {
    .texto-animada {
      font-size: 2.5rem;
    }
  
    .descripcione {
      font-size: 1.25rem;
    }
}
  
@media (min-width: 1024px) {
    .texto-animada {
      font-size: 3rem;
    }
  
    .descripcione {
      font-size: 1.475rem;
    }
}
  
.seccion-mapa {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #f0f0f0;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow: hidden;
}

.seccion-mapa__imagen {
    max-width: 69%;
    height: auto;
    animation: animar-imagen 10s infinite;
}

@keyframes animar-imagen {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
}

.seccion-mapa__texto {
    font-size: 1.2rem;
    color: #333;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.6;
    max-width: 80%;
}

.seccion-mapa__texto a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.seccion-mapa__texto a:hover {
    text-decoration: underline;
}

@media (min-width: 600px) {
    .seccion-mapa {
      justify-content: space-between;
      align-items: center;
    }

    .seccion-mapa__imagen {
      max-width: 69%;
    }

    .seccion-mapa__texto {
      max-width: 50%;
      font-size: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .seccion-mapa__texto {
      font-size: 1.8rem;
    }
}


.seccion-servi {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f8f8f8;
}

.contenedor {
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.imagen-servi {
    width: 69%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.titulo-servi {
    font-size: 1.5rem;
    margin-top: 15px;
    color: #333;
}

.descripcion-servi {
    font-size: 1rem;
    margin-top: 10px;
    color: #666;
}

@keyframes animacion-servi {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.seccion-servi {
    opacity: 0;
    animation: animacion-servi 1s forwards;
    animation-delay: 0.5s; /* Retardo para que no se vea inmediatamente */
}

@media (min-width: 768px) {
    .contenedor {
        max-width: 450px;
    }

    .titulo-servi {
        font-size: 2rem;
    }

    .descripcion-servi {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .contenedor {
        max-width: 960px;
    }
}

.btn-llamada {
  display: inline-block;
  justify-content: center;
  padding: 12px 30px;
  background-color: #f39c12;  /* Color vibrante */
  color: white;
  font-size: 26px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btn-llamada:hover,
.btn-llamada:focus {
  background-color: #e67e22;  /* Color más oscuro al hacer hover */
  transform: translateY(-4px); /* Levanta ligeramente el botón */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Sombra más profunda */
}

.btn-llamada:active {
  transform: translateY(2px); /* Efecto de pulsación */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .btn-llamada {
      padding: 10px 25px;
      font-size: 20px;
  }
}

.seccion-animada {
  padding: 20px;
  text-align: center;
  background-color: #f8f8f8;
  margin: 20px auto;
  max-width: 100%;
}

.titulo-animado {
  font-size: 2rem;
  color: #333;
  margin: 0;
  opacity: 0;  /* Inicialmente invisible */
  transform: translateY(20px);  /* Comienza con un desplazamiento hacia abajo */
  animation: aparecerTitulo 1s ease-out forwards;  /* Animación */
}

.texto-animado {
  font-size: 1.3rem;
  color: #666;
  margin-top: 15px;
  opacity: 0;  /* Inicialmente invisible */
  transform: translateY(20px);  /* Comienza con un desplazamiento hacia abajo */
  animation: aparecerTexto 1s 0.5s ease-out forwards;  /* Animación con retraso */
}

@keyframes aparecerTitulo {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes aparecerTexto {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .titulo-animado {
      font-size: 1.8rem;
  }

  .texto-animado {
      font-size: 1.3rem;
  }
}

@media (min-width: 769px) {
  .seccion-animada {
      max-width: 800px;
      margin: 40px auto;
  }

  .titulo-animado {
      font-size: 2.5rem;
  }

  .texto-animado {
      font-size: 1.125rem;
  }
}

.faq-seccion {
  padding: 20px;
  background-color: #f8f8f8;
  margin: 20px auto;
  max-width: 100%;
  text-align: center;
}

.faq-titulo {
  font-size: 2rem;
  color: #333;
  margin: 0;
}

.faq-lista {
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0; /* Inicialmente invisible para animación */
  transform: translateY(20px); /* Comienza desplazado hacia abajo */
  animation: aparecer 0.6s ease-out forwards;
}

@keyframes aparecer {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.faq-pregunta {
  font-size: 1.4rem;
  color: #333;
  font-weight: bold;
  margin: 0;
}

.faq-respuesta {
  font-size: 1.3rem;
  color: #555;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .faq-titulo {
      font-size: 1.5rem;
  }

  .faq-item {
      padding: 12px;
  }

  .faq-pregunta {
      font-size: 1.3rem;
  }

  .faq-respuesta {
      font-size: 1.2rem;
  }
}

@media (min-width: 769px) {
  .faq-seccion {
      max-width: 900px;
      margin: 40px auto;
  }

  .faq-titulo {
      font-size: 2.5rem;
  }

  .faq-item {
      padding: 20px;
  }

  .faq-pregunta {
      font-size: 1.5rem;
  }

  .faq-respuesta {
      font-size: 1.3rem;
  }
}

.mapa {
  display: flex;
  justify-content: center;
  padding: 10px 10px;
}


#footer-cerrajero-madrid-metro {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#footer-cerrajero-madrid-metro a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 15px;
}

#footer-cerrajero-madrid-metro a:hover {
  text-decoration: underline;
}

#footer-cerrajero-madrid-metro button {
  background-color: #f39c12;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

#footer-cerrajero-madrid-metro button:hover {
  transform: scale(1.1);
}

/* Media Queries para pantallas más grandes */
@media(min-width: 768px) {
  #footer-cerrajero-madrid-metro {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 50px;
  }

  #footer-cerrajero-madrid-metro a {
    margin-right: 20px;
  }
}

/* Estilos Generales para la Sección */
#seccion-descrip-cerrajeros {
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 8px;
  margin: 20px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#titulo-cerrajeros {
  font-size: 2em;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(-20px);
  animation: animacionTitulo 1s ease-out forwards;
}

@keyframes animacionTitulo {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos del párrafo */
#descripcion-cerrajeros {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  text-align: center;
}

/* Enfoque accesible en el título */
#titulo-cerrajeros:focus {
  outline: 2px solid #005fcc;
  outline-offset: 4px;
}
