/* NAVBAR GENERAL */
body{
  margin: 0px;
  padding-top: 0px !important;
   font-family: "Montserrat", sans-serif;
}
.descontac{
      color: #555;
      margin: 0px;
      padding: 14px;
}

.navbar {
  width: 100%;
  height: 70px;
  background: #000;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
    z-index: 1111;

 
}

.nav-logo img {
  height: 70px;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  z-index: 1;
}

.nav-links li a {
  text-decoration: none;
  font-size: 18px;
  color: #b9a66d;
  font-weight: 500;
  transition: 0.3s ease;
}
.nav-links li.ingresar a {
  margin-left: 100px;
}

/* BOTÓN HAMBURGUESA (solo móvil) */
.nav-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* ----------- MODO MOBILE ----------- */
@media (max-width: 768px) {

.navbar{
     justify-content: space-between;
}

  .nav-toggle {
    display: block;
    z-index: 1001;
    color: #fff;
    margin-right: 41px;

  }

  /* Menú fullscreen */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh; /* ← OCUPA TODA LA PANTALLA */
    background: rgb(0 0 0 / 86%);
    margin: 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    display: none;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    font-size: 24px;
  }
}


.slider {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  bottom: -51px;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* La imagen ocupa TODO el banner */
}

/* Dots (puntos) */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* Botón de pausa/play */
.pause-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

/* --- SECCIÓN SERVICIOS --- */
.services {
  padding: 60px 20px;
  text-align: center;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}

/* GRID DE 4 COLUMNAS EN DESKTOP */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #D4AF37;
  color: white;
}

.service-card:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  z-index: 1;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.service-card:hover h3 {
  color: #d0a65d;
}

.service-card p {
  color: #555;
  font-size: 15px;
}

.service-card:hover p {
  color: #fff;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content-wrapper {
  display: flex;
  gap: 0;
  width: 86%;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  max-height: 85vh;
  min-height: 500px;
  align-items: center;
}

.modal-content {
  width: 45%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modal-info {
  width: 55%;
    padding: 50px 40px;
    overflow-y: auto;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 85vh;
}

.modal-info h2 {
  font-size: 26px;
  color: #333;
  margin-bottom: 20px;
  margin-top: 7px;
}

.modal-info p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 4px;
}

.modal-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.modal-info ul li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: 15px;
  position: relative;
  padding-left: 30px;
}

.modal-info ul li:before {
  content: "✓";
  color: #d0a65d;
  font-weight: bold;
  font-size: 18px;
  position: absolute;
  left: 0;
}

.modal-info ul li:last-child {
  border-bottom: none;
}

.modal-btn {
  background: #d0a65d;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
  align-self: flex-start;
}

.modal-btn:hover {
  background: #b8944f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: 0.3s;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  color: #d0a65d;
  transform: rotate(90deg);
}

/* RESPONSIVE MODAL */
@media (max-width: 1024px) {
  .modal-content-wrapper {
    flex-direction: column;
    min-height: auto;
    max-height: 95vh;
  }
   .cont-modal{
     padding: 42px;
  }

  .modal-content,
  .modal-info {
    width: 100%;
  }

  .modal-content {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    object-fit: cover;
  }

  .modal-info {
    padding: 25px 20px;
    flex: 1;
    justify-content: flex-start;
  }

  .modal-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .modal-info p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .modal-info ul {
    margin-bottom: 25px;
  }

  .modal-info ul li {
    padding: 10px 0;
    font-size: 14px;
    padding-left: 25px;
  }

  .modal-btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .close {
    top: 15px;
    right: 15px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .modal {
    padding: 0px;
  }

  .modal-content {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
 

  .modal-info {
    padding: 20px 15px;
  }

  .modal-info h2 {
    font-size: 22px;
  }

  .close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 24px;
  }
}

/* RESPONSIVE SERVICIOS */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- MODAL --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal img {
  width: 50%;
    border-radius: 36px;
        padding: 20px;
    animation: fadeIn 0.4s ease;
}

#closeModal {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}


/* SECCIÓN DE TESTIMONIOS */
.testimonials-section {
    background: linear-gradient(110deg, #0f0f0f 0%, #d0a65d 100%);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    
}

.testimonials-section h1{
color: #b9a66d ;
}

.testimonials-container {
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding-top: 80px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 50px 25px 25px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.5s ease;
    opacity: 0.5;
    transform: scale(0.9);
}

/* Tarjeta del centro siempre resalta */
.testimonial-card.center {
    padding: 70px 40px 40px 40px;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.testimonial-card:hover {
    transform: scale(0.9);
}

.testimonial-card.center:hover {
    transform: scale(1.02);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s ease;
}

/* Imagen del centro más grande */
.testimonial-card.center .testimonial-image {
    width: 110px;
    height: 110px;
    top: -55px;
}

.testimonial-name {
    font-size: 16px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 5px;
    text-align: center;
    transition: all 0.5s ease;
}

.testimonial-card.center .testimonial-name {
    font-size: 20px;
}

.testimonial-role {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.5s ease;
}

.testimonial-card.center .testimonial-role {
    font-size: 13px;
}

.testimonial-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
    text-align: center;
    transition: all 0.5s ease;
}

.testimonial-card.center .testimonial-text {
    font-size: 15px;
}

/* DOTS NAVIGATION */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.testimonial-dot.active {
    background: white;
    width: 12px;
    height: 12px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial-card {
        opacity: 1;
        transform: scale(1);
    }

    .testimonial-card,
    .testimonial-card.center {
        padding: 50px 25px 25px 25px;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
        top: -40px;
    }

    .testimonial-card.center .testimonial-image {
        width: 90px;
        height: 90px;
        top: -45px;
    }

    .testimonial-name {
        font-size: 16px;
    }

    .testimonial-card.center .testimonial-name {
        font-size: 18px;
    }

    .testimonials-camera-icon {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .testimonials-camera-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .testimonial-text,
    .testimonial-card.center .testimonial-text {
        font-size: 13px;
    }
}

 .contact-section {
            margin: 0 auto;
            background: white;
            border-radius: 0;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        .contact-header {
            background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
            padding: 60px 50px;
            position: relative;
            background-image: url('/img/Logoo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: right;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

      

        .company-name {
            font-size: 42px;
            font-weight: bold;
            background: #d4af37 ;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 1px;
        }

        .company-name-underline {
            width: 150px;
            height: 3px;
            background: linear-gradient(90deg, #d4af37 0%, transparent 100%);
            margin-top: 5px;
        }

        .contact-cards {
            background: #1a1a1a;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
        }

        .contact-card {
            background: #1a1a1a;
            padding: 30px 30px;
            text-align: center;
            border-right: 1px solid rgba(212, 175, 55, 0.2);
            transition: all 0.3s ease;
            position: relative;
        }

        .contact-card:last-child {
            border-right: none;
        }

        .contact-card:hover {
            background: #252525;
        }

        .contact-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent, #d4af37, transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .contact-card:hover::before {
            opacity: 1;
        }

        .icon-circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: transparent;
            border: 3px solid #d4af37;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            transition: all 0.3s ease;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        }

        .contact-card:hover .icon-circle {
            background: linear-gradient(135deg, #d4af37 0%, #f4e5b8 100%);
            transform: scale(1.1);
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
        }

        .icon-circle svg {
            width: 35px;
            height: 35px;
            color: #d4af37;
            transition: color 0.3s ease;
        }

        .contact-card:hover .icon-circle svg {
            color: #1a1a1a;
        }

        .contact-card h3 {
            font-size: 18px;
            font-weight: 600;
            color: white;
            margin-bottom: 15px;
            letter-spacing: 0.5px;
        }

        .contact-card p {
            font-size: 14px;
            color: #b8b8b8;
            line-height: 1.8;
            margin: 5px 0;
        }

        .contact-card a {
            color: #d4af37;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .contact-card a:hover {
            color: #f4e5b8;
            text-decoration: underline;
        }

        @media (max-width: 968px) {
            .contact-cards {
                grid-template-columns: 1fr;
            }

            .contact-card {
                border-right: none;
                border-bottom: 1px solid rgba(212, 175, 55, 0.2);
            }

            .contact-card:last-child {
                border-bottom: none;
            }

            .company-name {
                font-size: 32px;
            }

            .contact-header {
                padding: 40px 30px;
            }
        }

        @media (max-width: 480px) {
            .company-name {
                font-size: 26px;
            }

        }

        /* SCROLL SUAVE */
html {
    scroll-behavior: smooth;
}

/* Ajuste para que el navbar no tape el contenido al hacer scroll */
section {
    scroll-margin-top: 80px; /* Ajusta este valor según la altura de tu navbar */
}


/* Espaciado para compensar el navbar fijo */
body {
    padding-top: 80px; /* Ajusta según la altura de tu navbar */
}

/* Estilos para enlaces activos del navbar (opcional) */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
    z-index: 1;
}

.nav-links a:hover {
    color: #d4af37; /* Color dorado */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

/* Animación de pulso */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}