* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    background:-webkit-linear-gradient( 360deg, #0c2b92, #062888, rgb(2, 11, 133), rgb(39, 2, 139), rgb(36, 3, 126), rgb(7, 34, 155), rgb(27, 11, 173), #040797);
    width: auto;
}

.logo {
    color: #ffffff;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.3rem;
    }
}

@media (min-width: 769px) {
    .logo {
        font-size: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .logo {
        font-size: 2rem;
    }
}

.container {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
}

.franja {
    display: flex;
    height: 12vh;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .container {
         height: 17vh;
    }
    .franja {
        height: 17vh;
    }
}

@media (min-width: 769px) {
    .container {
        height: 19vh;
    }
    .franja {
        height: 19vh;
    }
}

@media (min-width: 1200px) {
    .container {
        height: 20vh;
        }
    .franja {
        height: 20vh;
    }
}

.animated-text {
    font-size: 2.2em;
    color: rgb(234, 223, 1);
    margin-top: -49px;
}

@media (max-width: 768px) {
    .animated-text {
        font-size: 1.6rem;
        margin-top: -69px;

    }
}

@media (min-width: 769px) {
    .animated-text {
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    .animated-text {
        font-size: 3rem;
    }
}

.banner {
    width: 100%;
    height: 10vh;
    background:-webkit-linear-gradient( 360deg, #0c2b92, #062888, rgb(2, 11, 133), rgb(39, 2, 139), rgb(36, 3, 126), rgb(7, 34, 155), rgb(27, 11, 173), #040797);    /* Color característico de WhatsApp */
    color: rgb(251, 251, 246);
    text-align: center;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner h2 {
    font-size: 1.3rem;
}

.whatsapp-button {
    background-color: rgba(97, 239, 69, 0.863);
    color: #0a0a0a;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 1.4rem;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
    .banner h2 {
        font-size: 1.6rem;
    }

    .whatsapp-button {
        font-size: 1.3rem;
        padding: 8px 12px;
    }
}

.bounce-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.bounce-text {
    font-size: 44px;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .bounce-text {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .bounce-text {
        font-size: 26px;
    }
}

.independent-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    background:-webkit-linear-gradient( 360deg, #0c2b92, #062888, rgb(2, 11, 133), rgb(39, 2, 139), rgb(36, 3, 126), rgb(7, 34, 155), rgb(27, 11, 173), #040797);    /* Color característico de WhatsApp */
}

.independent-container {
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333; 
}

.independent-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    background-color: #faf605;
    border: #000000 3px, solid;
    color: #1f1c1c;
}

.independent-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #181717;
}

@media (max-width: 768px) {
    .independent-title {
        font-size: 1.5rem;
    }

    .independent-text {
        font-size: 1.2rem;
    }

    .independent-container {
        padding: 15px;
    }
}

@media (min-width: 769px) {
    .independent-title {
        font-size: 1.7rem;
    }

    .independent-text {
        font-size: 1.2em;
    }
}

#responsive-section {
    display: auto;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 10px;
    text-align: center;
    max-width: 100%;
}

#responsive-section h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
}

#responsive-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

#responsive-section p {
    font-size: 1.5rem;
    color: #0a0a0a;
    line-height: 1.5;
}

@media (min-width: 768px) {
    #responsive-section h1 {
        font-size: 2.2rem;
    }
    #responsive-section p {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    #responsive-section h2 {
        font-size: 2rem; 
    }
    #responsive-section p {
        font-size: 1.3rem;
    }
}

.elegant-footer {
    background-color: #4ba3fa;
    color: #0f1111;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.footer-text {
    margin: 0;
    font-size: 1.3rem;
}

.footer-links {
    margin-top: 10px;
}

.footer-link {
    color: #161718;
    text-decoration: none;
    margin: 0 10px;
    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;
    }
}

.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    min-height: 29vh;
    background-color: #fff;
}

.image-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
    border-radius: 10px;
}

.description-container {
    position: absolute;
    bottom: 0;
    left: 0;
    content: hidden;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    transition: opacity 0.5s ease;
    opacity: 0;
    border-radius: 0 0 10px 10px;
}

@media (min-width: 768px) {
    .image-section {
        padding: 40px;
    }

    .description-container {
        padding: 20px;
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {
    .image-container {
        max-width: 900px;
    }
}

.accordion-section {
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    transition: box-shadow 0.3s ease;
}

.accordion-header {
    padding: 15px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    background-color: #27b9f3;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    text-align: left;
    outline: none;
}

.accordion-header:hover {
    background-color: #cef2fd;
}

.accordion-content {
    padding: 0 15px;
    background-color: #deefff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    font-size: 26px;
    line-height: 1.6;
    color: #666;
    opacity: 0;
    visibility: hidden;
}

.accordion-content p {
    margin: 15px 0;
}

.accordion-active .accordion-content {
    max-height: 990px;
    opacity: 1;
    visibility: visible;
}

.accordion-active {
    box-shadow: 0 6px 12px rgba(0, 185, 209, 0.815);
}

@media (max-width: 768px) {
    .accordion-header {
        font-size: 1.3rem;
    }
    .accordion-content p {
        font-size: 1.2rem;
    }
}

.independent-section {
    text-align: center;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-text-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.text-container {
    flex: 1;
    padding: 20px;
    color: #333;
}

.text-container h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
}

.text-container p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
    color: #555;
}

.image-containera {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-containera img {
    width: 100%;
    max-width: 350px;
    max-height: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .image-text-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .text-container {
        padding: 10px;
    }

    .text-container h2 {
        font-size: 1.8rem;
    }

    .text-container p {
        font-size: 1.4rem;
    }

    .image-containera img {
        max-width: 100%;
    }
}

.faq-container {
    max-width: 600px;
    margin: 20px auto; /* Añadido margen superior e inferior */
    padding: 10px; /* Espaciado interno */
    background-color: #f9f9f9; /* Fondo para la sección */
    border-radius: 8px; /* Bordes redondeados */
}

.faq-item {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: scale(1.02);
}

.faq-question {
    margin: 0;
    padding: 15px;
    font-size: 1.7rem;
    background-color: #edf2fd;
}

.faq-answer {
    padding: 15px;
    font-size: 1.5rem;
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .faq-question {
        font-size: 1.6rempx;
    }

    .faq-answer {
        font-size: 1.4rem;
    }
}

.titulo {
    font-size: 1.9rem;
}

.animado-section {
    background-color: #ffffff;
    padding: 20px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 7px 17px rgb(69, 49, 247);
    animation: fadeIn 1s ease-out;
}

.animado-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2C3E50;
    text-align: center;
    animation: slideInFromLeft 1.5s ease-out;
    margin-bottom: 20px;
}

.animado-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #34495E; 
    animation: fadeInText 2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animado-title {
    font-size: 1.6rem;
}

.animado-text {
    font-size: 1.4rem; 
}

@media(min-width: 768px) {
    .animado-section {
        padding: 40px;
    }

    .animado-title {
        font-size: 2rem;
    }

    .animado-text {
        font-size: 1.4rem;
    }
}

@media(min-width: 1024px) {
    .animado-section {
        max-width: 1000px;
    }

    .animado-title {
        font-size: 2rem;
    }

    .animado-text {
        font-size: 1.5rem;
    }
}


.linka {
    display: flex;
    justify-content: center;
    font-size: 1.5em;
}


.call-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    background:-webkit-linear-gradient( 360deg, #0c2b92, #062888, rgb(2, 11, 133), rgb(39, 2, 139), rgb(36, 3, 126), rgb(7, 34, 155), rgb(27, 11, 173), #040797);    /* Color característico de WhatsApp */
}

.call-button {
    display: flex;
    justify-content: center;
    background-color: #f0e406;
    color: rgb(27, 27, 27);
    text-decoration: none;
    margin-top: 10px;
    padding: 9px 24px;
    border-radius: 50px;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.call-button:hover {
    background-color: #f0f32f;
}

@media (max-width: 768px) {
    .call-button {
        padding: 11px 22px;
        font-size: 29px;
    }
}

@media (max-width: 480px) {
    .call-button {
        padding: 9px 20px;
        font-size: 26px;
    }
}

.call-button-first {
    display: flex;
    justify-content: center;
    background-color: #ff6a14;
    color: rgb(27, 27, 27);
    text-decoration: none;
    margin-top: 10px;
    padding: 9px 24px;
    border-radius: 50px;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.call-button-first:hover {
    background-color: #f0f32f;
}

@media (max-width: 768px) {
    .call-button-first {
        padding: 11px 22px;
        font-size: 29px;
    }
}

@media (max-width: 480px) {
    .call-button-first {
        padding: 9px 20px;
        font-size: 26px;
    }
}


.seccion-cerrajero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f4f4f4;
}
  
.seccion-cerrajero .contenedor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
  
.imagen-cerrajero {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    alt: "Cerrajero trabajando en una puerta";
}
  
.texto-cerrajero {
    text-align: center;
    padding: 15px;
    color: #333;
}
  
.texto-cerrajero h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
  
.texto-cerrajero p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}
  
@media (min-width: 768px) {
    .seccion-cerrajero .contenedor {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .imagen-cerrajero {
      width: 48%;
    }
  
    .texto-cerrajero {
      text-align: left;
      width: 48%;
    }
}
  
.imagen-cerrajero:focus {
    outline: 3px solid #007acc;
}
  
.texto-cerrajero h2:focus {
    color: #007acc;
}
