* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    background-color: rgb(6, 13, 103);
    padding: 20px 0;
}


.logo {
    color: #ffffff;
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.3rem;
    }
}

@media (min-width: 769px) {
    .logo {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {
    .logo {
        font-size: 1.6rem;
    }
}


.container {
    width: 100%;
    height: 20vh;
    display: flex;
    flex-direction: column;
}

.franja {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.animated-text {
    font-size: 2.6rem;
    margin: 10px;
    color: yellow;
    position: relative;
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    0% {
        transform: translateY(200%);
        opacity: 1;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    60% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        transform: translateY(-10%);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .animated-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .animated-text {
        font-size: 1.5rem;
    }
}

.seccion-boton1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.boton-rebote1 {
    font-size: 2rem;
    color: #0c0c0c;
    text-decoration: none;
    background-color: rgb(255, 238, 3);
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

@keyframes rebote1 {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px); /* Mayor rebote */
    }
    60% {
        transform: translateY(-2px);
    }
}

@media (max-width: 600px) {
    .boton-rebote1 {
        font-size: 23px;
        padding: 10px 22px;
    }
}

.seccion-llamada {
    position: relative;
    width: 100%;
    height: 29vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.seccion-llamada::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('CalpeCerrajeroDioni.webp'); /* Cambia esto por la URL de tu imagen */
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 10s ease-in-out;
}

.seccion-llamada:hover::before {
    transform: scale(1.1);
}

.seccion-llamada__boton {
    font-size: 1.3rem;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 0, 85, 0.8); /* Color llamativo */
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

.seccion-llamada__boton:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .seccion-llamada {
      height: 20vh;
    }

    .seccion-llamada__boton {
      font-size: 1.4rem;
      padding: 20px 40px;
    }
}

@media (min-width: 1024px) {
    .seccion-llamada {
      height: 29vh;
    }
}

.seccion-descripcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 15px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.seccion-descripcion__img {
    width: 80%;
    max-width: 269px;
    height: auto;
    max-height: 269px;
    border-radius: 11px;
}

.seccion-descripcion__texto {
    font-size: 1.2rem;
    color: #333;
    max-width: 600px;
}

@media (min-width: 768px) {
    .seccion-descripcion {
      flex-direction: row;
      text-align: left;
      gap: 30px;
    }

    .seccion-descripcion__texto {
      font-size: 1.3rem;
    }
}

@media (min-width: 1024px) {
    .seccion-descripcion__texto {
      font-size: 1.4rem;
    }
}

.faq-section {
    max-width: 800px;
    margin: auto;
    padding: 1.3rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.faq-item {
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease-in-out;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.faq-answer {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    padding-left: 1rem;
    border-left: 3px solid #007acc;
}

.faq-item:hover {
    transform: scale(1.02);
}

@media (max-width: 600px) {
    .faq-question {
      font-size: 1.15rem;
    }

    .faq-answer {
      font-size: 0.95rem;
    }
}

.elegant-footer {
    background-color: rgb(6, 13, 103);
    color: #e9ffff;
    padding: 20px;
    min-height: 29vh;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

@media (min-width: 1200px) {
    .elegant-footer {
        min-height: 22vh;
    }
}

.footer-text {
    margin: 0;
    font-size: 1.3rem;
}

.footer-links {
    margin-top: 10px;
}

.footer-link {
    color: #e4e400;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.4rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
    color: #f39c12;
    transform: translateY(-3px);
}

@keyframes elegant-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 600px) {
    .footer-text {
        font-size: 1.2rem;
    }

    .footer-link {
        display: block;
        margin: 5px 0;
    }
}

.seccion-seo {
    padding: 10px 10px;
    background-color: #ffffff;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    max-width: 89%;
    width: 89%;
    box-sizing: border-box;
}

.seccion-seo h1 {
    font-size: 1.5rem;
    color: #007bff;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 2s ease-out forwards;
    animation-delay: 0.5s;
}

.seccion-seo p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
}

.seccion-seo {
    padding: 20px;
}

.seccion-seo h1 {
    font-size: 1.5rem;
}

.seccion-seo p {
    font-size: 1.2rem; /* Tamaño más pequeño para móviles */
}

@media (min-width: 600px) {
    .seccion-seo h1 {
      font-size: 1.8rem; /* Aumenta el tamaño en pantallas medianas */
    }

    .seccion-seo p {
      font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    .seccion-seo h1 {
      font-size: 2rem; /* Aumenta aún más en pantallas grandes */
    }

    .seccion-seo p {
      font-size: 1.5rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#seccion-imagen-cerrajero-calpe {
    display: flex;
    justify-content: center;
    padding: 20px 40px;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    margin: 0;
}

#seccion-imagen-cerrajero-calpe .contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 20px;
    max-width: 1200px;
    width: 100%;
}

#seccion-imagen-cerrajero-calpe .texto h2 {
    font-size: 1.3rem;
    color: #131111;
    margin-bottom: 10px;
}

#seccion-imagen-cerrajero-calpe .texto p {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #1f1d1d;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Estilo de la imagen */
#seccion-imagen-cerrajero-calpe .imagen {
    width: 100%;
    max-width: 269px;
    max-height: 269px;
}

#seccion-imagen-cerrajero-calpe .imagen img {
    width: 30%;
    height: auto;
    animation: moverImagen 5s infinite alternate;
}

/* Animación de la imagen */
@keyframes moverImagen {
    0% {
        transform: translateY(0);
    }
    
    100% {
        transform: translateY(-10px);
    }
}

/* Estilos para pantallas medianas y mayores (adaptación para tablets y escritorios) */
@media (min-width: 768px) {
    #seccion-imagen-cerrajero-calpe .contenedor {
        flex-direction: row;
        justify-content: space-around;
    }

    #seccion-imagen-cerrajero-calpe .texto {
        max-width: 50%;
        padding-right: 20px;
    }

    #seccion-imagen-cerrajero-calpe .imagen {
        max-width: 35%;
    }
}

@media (min-width: 1024px) {
    #seccion-imagen-cerrajero-calpe .texto h2 {
        font-size: 32px;
    }

    #seccion-imagen-cerrajero-calpe .texto p {
        font-size: 18px;
    }

    #seccion-imagen-cerrajero-calpe .imagen {
        max-width: 45%;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

.services-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    background-color: #054a94;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.toggle-btn:focus {
    outline: none;
}

.toggle-btn:active {
    transform: scale(0.98);
}

.service-list {
    list-style-type: none;
    margin: 0;
    padding: 20px;
}

.service-item {
    margin-bottom: 10px;
    font-size: 18px;
}

.service-section {
    display: none;
}

.service-section.open {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (min-width: 600px) {
    .toggle-btn {
        font-size: 18px;
        width: auto;
    }
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.call-to-action {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 12px 23px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cta-button {
    border: none;
    padding: auto;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 25px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
}
  
.cta-button:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}
  
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
  
@media (max-width: 768px) {
    .cta-button {
      font-size: 1.2rem;
      padding: auto;
    }
  
    .call-to-action p {
      font-size: 1.3rem;
    }
}
  
@media (max-width: 480px) {
    .cta-button {
      font-size: 1.1rem;
      padding: auto;
    }
  
    .call-to-action p {
      font-size: 1.2rem;
    }
}

.boton-de-llamada {
    display: flex;
    background-color: rgb(255, 255, 64);
    justify-content: center;
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 15px 60px;
    border-radius: 25px;
    font-size: 1.6rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.boton-de-llamada:hover {
    background-color: #f0f32f;
}

@media (max-width: 768px) {
    .boton-de-llamada {
        padding: 22px 63px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .boton-de-llamada {
        padding: 16px 62px;
        font-size: 1.2rem;
    }
}



.imagen-animada {
    max-width: 220px;
    max-height: 269px;
    border-radius: 10px;
}


.boton-principal {
    text-decoration: none;
    font-weight: bold;
}

.link-urgente-calpe {
    text-decoration: none;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #25D366;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    max-width: 90%;
    margin: 20px auto;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
}

.whatsapp-text {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .whatsapp-btn {
        font-size: 1.35rem;
        padding: 12px 16px;
    }

    .whatsapp-text {
        font-size: 1.2rem;
    }
}
