body {
    margin: 0;
    font-family: system-ui, sans-serif;
}

.header {
    width: 100%;
    background: #e0b02a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
}

.logo-img {
    height: 129px;
    width: 169px;
    border-radius: 29px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.nav {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    background: #e0b02a;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.nav-text{
    font-size: 1.4rem;
    color: rgb(25, 24, 24);
}

.nav.active {
    display: flex;
}

.nav a {
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #2563eb;
}

.cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-phone {
    display: none;
    font-size: 1.4rem;
    letter-spacing: 1px;
    background: #0e2a66;
    color: #fff;
    padding: 1.1rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    font-weight: 600;
    text-decoration: none;
}

.cta-phone:hover {
    background: #1e40af;
}

.menu-toggle {
    border: none;
    background: transparent;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.menu-toggle:hover {
    background: #f3f4f6;
}

.icon {
    margin-top: -10px;
    height: 59px;
    width: 59px;
    stroke: #374151;
}

/* Responsive */
@media (min-width: 640px) {
    .cta-phone {
        display: inline-block;
    }
}

@media (min-width: 768px) {
    .nav {
        display: flex !important;
        position: static;
        flex-direction: row;
        gap: 2rem;
        box-shadow: none;
        padding: 0;
    }
    .menu-toggle {
        display: none;
    }
}

.hero {
    background: linear-gradient(180deg, #161d6c, #172485);
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-title {
    margin-top: -39px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.45rem;
    max-width: 660px;
    margin: 1rem auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-call {
    font-size: 1.4rem;
    background: #facc15;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .hero {
        text-align: left;
        padding: 6rem 2rem;
    }

    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }

    .hero-content {
        flex: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.45rem;
    }
    
    .hero-cta {
        flex-direction: row;
    }
}

.main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, #161d6c, #172485);
    color: #fff;
    overflow: hidden;
}

.main-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: fadeDown 1s ease forwards;
}

.main-section p {
    font-size: 1.3rem;
    letter-spacing: 1px;
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards;
    animation-delay: 0.5s;
}

.main-section img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    opacity: 0;
    animation: fadeInScale 1s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (min-width: 768px) {
    .main-section {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        padding: 4rem 2rem;
    }

    .main-section-content {
        flex: 1;
        padding-right: 2rem;
    }

    .main-section h2 {
        font-size: 2.5rem;
    }

    .main-section p {
        font-size: 1.3rem;
    }

    .main-section img {
        flex: 1;
        max-width: 500px;
    }
}

.servicios {
    background: #f9f9f9;
    padding: 3rem 1.5rem;
    font-family: Arial, sans-serif;
}

.servicios-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.servicios h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #222;
}

.servicios p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

@media (min-width: 768px) {
    .servicios h2 {
        font-size: 2.2rem;
    }
    .servicios p {
        font-size: 1.2rem;
    }
}

.footer {
    background: #111;
    color: #eee;
    font-family: Arial, sans-serif;
    padding: 2rem 1rem 1rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f1c40f;
}

.footer-section p, 
.footer-section a {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: #f1c40f;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 0.3rem 0;
}

.socials a {
    margin-right: 0.7rem;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.socials a:hover {
    transform: scale(1.2);
    color: #f1c40f;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #333;
    padding-top: 1rem;
    font-size: 1.25rem;
    color: #999;
}

@media (min-width: 768px) {
    .footer-container {
            flex-direction: row;
            justify-content: space-between;
    }
    .footer-section {
            flex: 1;
    }
}

.whatsapp-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d2e3d9;
    padding: 20px 20px;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.whatsapp-banner .whatsapp-icon {
    background-color: white;
    border-radius: 50%;
    padding: 20px 20px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-banner .whatsapp-text {
    color: rgb(40, 37, 37);
    font-size: 1.3rem;
    font-weight: 600;
    flex: 1;
}

.whatsapp-banner .whatsapp-link {
    text-decoration: none;
    margin-right: 29px;
    color: rgb(231, 222, 222);
    background-color: #228505;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.whatsapp-banner .whatsapp-link:hover {
    background-color: #075e54;
}

@media (max-width: 600px) {
    .whatsapp-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .whatsapp-banner .whatsapp-text {
        font-size: 1.25rem;
    }

    .whatsapp-banner .whatsapp-link {
        margin-top: 10px;
        font-size: 1.4rem;
    }
}

.faq-section {
    background-color: #fff;
    padding: 30px 20px;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.faq-section h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    padding: 12px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9e9e9;
}

.faq-answer {
    font-size: 1.2rem;
    color: #555;
    padding: 12px;
    display: none;
    background-color: #fafafa;
    border-radius: 5px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .faq-section {
        padding: 20px;
        margin: 20px;
    }

    .faq-section h2 {
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: 1.25rem;
        padding: 10px;
    }

    .faq-answer {
        font-size: 1.2rem;
    }
}

.zona-cerrajeros {
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.zona-cerrajeros h2 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #3a3f3e;
    font-weight: 700;
}

.zona-cerrajeros p {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.zonas-lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.zona-item {
    background-color: #526157;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.zona-item:hover {
    background-color: #128C7E;
}

@media (max-width: 600px) {
    .zona-cerrajeros {
        padding: 20px;
        margin: 20px;
    }

    .zona-cerrajeros h2 {
        font-size: 1.32rem;
    }

    .zona-item {
        font-size: 1.3rem;
        padding: 12px;
    }
}

.image-text-section {
    padding: 10px 10px;
    background-color: #f4f4f4;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
    margin-top: 40px;
}

.image-text-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.text-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1rem;
    letter-spacing: 1px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.image-content img {
    margin-top: 20px;
    max-width: 79%;
    height: auto;
    border-radius: 8px;
}

@media (min-width: 600px) {
    .image-text-container {
        flex-direction: row;
        text-align: left;
    }

    .text-content {
        max-width: 50%;
        margin-right: 20px;
    }

    .image-content {
        max-width: 50%;
    }

    .text-content h2 {
        font-size: 2.5rem;
    }

    .text-content p {
        font-size: 1.125rem;
    }
}

.image-text-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    margin: 20px 20px;
}

.payment-container {
    display: flex;
    margin-top: -29px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.image-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

.payment-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 600px) {
    .payment-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .payment-text p {
        font-size: 1.2rem;
    }

    .payment-image {
        max-width: 200px;
    }
}

@media (min-width: 1024px) {
    .payment-container {
        max-width: 700px;
    }

    .payment-text p {
        font-size: 1.3rem;
    }

    .payment-image {
         max-width: 250px;
    }
}

.why-choose-us {
    background-color: #f4f4f4;
    padding: 60px 0;
    text-align: center;
    position: relative;
    opacity: 0;
    animation: fadeInSection 1s forwards;
}

/* Animación de la sección */
@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-choose-us 
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.description {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.image-container {
    margin-top: 40px;
    display: inline-block;
}

.animated-image {
    width: 300px;
    height: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInImage 1.5s ease-out forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    box-sizing: border-box;
}


.call-banner {
  bottom: 20px;
  left: 10px;
  right: 10px;
  background-color: #0e2a66;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  padding: 15px;
  animation: slideUp 0.5s ease forwards;
}

.call-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.call-text {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.call-button {
  background-color: #facc15;
  color: #1e293b;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.call-button:hover {
  background-color: #eab308;
  transform: scale(1.05);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 600px) {
  .call-banner-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .call-text {
    font-size: 1.4rem;
  }

  .call-button {
    font-size: 1.4rem;
    padding: 15px 32px;
  }
}


 .map-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.map-title {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 15px;
}

.map-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    padding: 10px 10px;
}

.map-frame iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.map-frame iframe:hover {
    transform: scale(1.01);
}

@media (min-width: 768px) {
    .map-title {
      font-size: 2.2rem;
    }

    .map-description {
      font-size: 1.1rem;
    }

    .map-frame iframe {
      height: 400px;
    }
}

.highlight-section {
    position: relative;
    background-image: url('cerradura-yale.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.highlight-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 600px;
}

.highlight-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.highlight-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: bold;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
   .highlight-content h2 {
      font-size: 2rem;
    }

    .highlight-content p {
      font-size: 1.3rem;
    }
}