body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1B1B1B;
    color: #b4b5b9;
  }
  
  header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1B1B1B;
  }
  
  a {
    color: white;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
  }

  .icono-colombia {
    height: 16px;
  }

  .logo-header {
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    margin-right: 20px;
  }
  /* Marca de agua */
  .marca-agua {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3; /* Transparencia para efecto de marca de agua */
    z-index: -1; /* Asegura que quede detrás del contenido */
    pointer-events: none; /* Para que no interfiera con clics */
    max-width: 75%; /* Ajusta según el tamaño deseado */
  }
  

  /* Carrusel */
  .video-carrusel {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .video-carrusel .carrusel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .video-carrusel .video-item {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px; /* Altura máxima deseada del carrusel */
    box-sizing: border-box;
    padding: 10px;
  }
  
  .video-carrusel video {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
  }
  
  
  .video-carrusel .flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
  }
  
  .video-carrusel .flecha:hover {
    background: rgba(0,0,0,0.7);
  }
  
  .video-carrusel .flecha.izq { left: 10px; }
  .video-carrusel .flecha.der { right: 10px; }
  
  /* BOTÓN DE ACCIÓN */
  .cta-btn {
    background: #8257e5;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
  }
  
  /* WHATSAPP */
  .whatsapp-float {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #25d366;
    color: white;
    padding: 15px;
    border-radius: 100%;
    font-size: 30px;
    z-index: 100;
  }
  .whatsapp-float img {
    width: 50px;
    height: 50px;
  }
  
  /* ESTILOS QUE MANEJAMOS */
  .intro-carousel-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .intro-carousel-section .intro-texto {
    flex: 1 1 300px;
  }
  
  .intro-carousel-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2d2926;
  }
  
  .intro-carousel-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
  }
  
  .carousel-container {
    position: relative;
    flex: 1 1 500px;
    max-width: 600px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  
  .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100%;
    position: relative;
  }
  
  .slide img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Flechas */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
  }
  
  .carousel-btn:hover {
    background: rgba(0,0,0,0.7);
  }
  
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
  
  /* Indicadores */
  .carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
  }
  
  .carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .carousel-indicators .indicator.active {
    background: #d4af37;
  }
  
@media (max-width: 768px) {
  /* El contenedor se ajusta al 100% del ancho y deja scroll interno */
  
  /* Flechas ligeramente más pequeñas y sobrepuestas fuera */
  .carousel-btn {
    font-size: 1.5rem;
    padding: 6px 10px;
  }

  .carousel-btn.prev {
    left: 5px;
  }
  .carousel-btn.next {
    right: 5px;
  }

  /* Indicadores centrados debajo del carrusel */
  .carousel-indicators {
    bottom: 5px;
    gap: 6px;
  }
  .carousel-indicators .indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  
  .video-carrusel .video-item {
    height: 70vh;
  }

  .video-carrusel {
    padding: 0%;
  }

  /* 3) Vídeo al 100% del ancho del slide, altura automática */
  .slide video {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100vh;      /* nunca pase del alto de la pantalla */
    object-fit: contain;
    border-radius: 10px;
  }

  /* 4) Flechas más pequeñas y sobrepuestas */
  .carousel-btn {
    font-size: 1.2rem;
    padding: 4px 8px;
  }
  .carousel-btn.prev { left: 5px; }
  .carousel-btn.next { right: 5px; }
}





  /* NAV PRINCIPAL */

  .logo {
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 2.5rem;
  }


  nav ul.main-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  nav ul.main-menu > li {
    position: relative;
  }
  
  nav ul.main-menu > li > a {
    padding: 10px 15px;
    display: block;
  }

  /* --- Estilos para el botón hamburguesa --- */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
  }

  /* Contenedor de menú y toggle alineados */
  .top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

/* Media query para móviles */
@media (max-width: 768px) {
  /* Top menu design */
  .top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  /* Mostrar botón hamburguesa */
  .nav-toggle {
    display: block;
  }

  /* Ocultar menú por defecto */
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a0e1a;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  /* Cuando el nav tenga la clase 'open', se muestra */
  nav.open {
    /* si prefieres límite y scroll */
    max-height: 80vh;   
    overflow-y: auto;
  }

  /* Alinear menú verticalmente */
  .main-menu {
    flex-direction: column;
    gap: 0;
  }

  .main-menu > li > a {
    display: block;
    padding: 15px;
    border-top: 1px solid #111;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }

   /* Oculta todo dentro de dropdown por defecto */
  .dropdown-menu,
  .dropdown-menu * {
    display: none;
  }

  /* Cuando el li.dropdown tenga .open, mostramos el menú en flex */
  .dropdown.open, .dropdown-menu,  .dropdown-menu * {
    display: flex;
    flex-direction: column;     /* O row si quieres sus columnas */
    gap: 0;                      /* Ajusta si prefieres separaciones */
    
  }
}

  
  /* DROPDOWN ESTILOS */
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0a0e1a;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 99;
    flex-wrap: wrap;              /* permite que baje si no cabe */
    gap: 2rem;
    max-width: 100vw;             /* no se sale de la pantalla */
    overflow-x: auto;
  }
  
  
  /* Mostrar dropdown al hacer hover */
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
  
  /* COLUMNAS DEL MEGA MENU */
  .menu-column {
    display: flex;
    flex-direction: column;
    min-width: 180px;
  }
  
  .menu-column h4 {
    color: #aaa;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }

  .menu-column h5 {
    color: #aaa;
    margin: 0px;
  }
  
  .menu-column a {
    color: white;
    padding: 2px 0;
    font-size: 0.95rem;
  }


/* Section video con texto*/
.intro-video-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
  gap: 30px;
}

.intro-texto {
  flex: 1;
  color: #fff;
  min-width: 300px;
  max-width: 500px;
}

.intro-texto h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #d4af37;
}

.intro-texto p {
  font-size: 1.1em;
  line-height: 1.6;
}

.intro-video {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.intro-video video {
  max-width: 100%;
  max-height: 400px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Hero principal */
  
.sobre-nosotros-container {
  padding: 20px 20px;
  font-family: 'Arial', sans-serif;
  max-width: 1200px;
  margin: auto;
}
.about-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.about-col {
  flex: 1 1 300px;
  background-color: #2d2926;
  color: white;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.about-img {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-col h2 {
  font-size: 1.5rem;
  margin: 15px 0 10px;
  border-bottom: 2px solid #d4af37;
  display: inline-block;
  padding-bottom: 5px;
}

.about-col p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.about-col ul {
  list-style: disc inside;
  text-align: left;
  margin: 0 auto;
  max-width: 260px;
}

.about-col ul li {
  margin-bottom: 8px;
}


.intro {
  text-align: center;
  margin-bottom: 40px;
}

.intro h1 {
  font-size: 2em;
  color: #dbd9d9;
}

.cta-btn {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  font-size: 1.1em;
}

.cta-btn i {
  margin-right: 8px;
}
/* Filosofia */
.filosofia h2,
.servicios h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #d9d9d9;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.sobre-nosotros-container .col {
  flex: 1 1 250px;
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.col h3, .col h4 {
  margin-top: 10px;
  color: #222;
}

.servicio .icono {
  font-size: 2em;
  color: #007BFF;
}

.sobre-nosotros-container .faq-link {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Nuestros servicios */
.faq-btn {
  text-decoration: none;
  color: #d9d9d9;
  font-weight: bold;
  font-size: 1.1em;
}

.faq-btn i {
  margin-right: 8px;
  color: #007BFF;
}

.belmont-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
  max-width: 1200px;
  margin: auto;
  background-color: #f3f3f3;
}

#remodelacion-general, #diseno-y-render, #obras-exclusivas, #carpinteria, #vivienda-inteligente, #complementos {
  scroll-margin-top: 124px;
}

.sobre-nosotros-container .column1 {
  margin-bottom: 10px;
  flex: 1 1 300px;
  background-color: #2d2926;
  color: white;
  padding: 25px;
  border-radius: 10px;
}

.sobre-nosotros-container .column1 h2 {
  color: white;
  font-size: 1.6em;
  margin-bottom: 15px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.sobre-nosotros-container .column1 p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.sobre-nosotros-container ul {
  list-style-type: disc;
  padding-left: 20px;
}

.sobre-nosotros-container ul li {
  margin-bottom: 8px;
}

.por-que-elegirnos,
.equipo {
  margin-bottom: 30px;
}

.detalle-servicios {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px 20px;
}

.servicio-detalle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.servicio-detalle.inverso {
  flex-direction: row-reverse;
}

.servicio-detalle .texto {
  flex: 1;
  min-width: 300px;
}

.servicio-detalle .imagen {
  flex: 1;
  min-width: 300px;
}

.servicio-detalle img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

.servicio-detalle h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.servicio-detalle p {
  font-size: 1.1rem;
  line-height: 1.5;
}
.detalle-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.detalle-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.fila-normal.visible {
  animation: slideInLeft 1s ease forwards;
}

.fila-inversa.visible {
  animation: slideInRight 1s ease forwards;
}

@media (max-width: 768px) {
  .servicio-detalle {
    flex-direction: column !important;  /* apila todos en columna */
  }
  .servicio-detalle .texto {
    order: 1 !important;                /* siempre primero */
  }
  .servicio-detalle .imagen {
    order: 2 !important;                /* siempre después */
    margin-top: 20px;                   /* espacio entre texto e imagen */
  }
}


@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mapa */

.ubicacion {
  padding: 60px 20px;
}

.contenedor-ubicacion {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.texto-ubicacion {
  flex: 1 1 300px;
}

.texto-ubicacion h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #b4b5b9;
}

.texto-ubicacion p {
  font-size: 1.2rem;
  color: #b4b5b9;
}

.mapa {
  flex: 1 1 400px;
  min-height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
.site-footer {
  background-color: #111; 
  color: #ccc;
  padding: 40px 20px 20px;
  font-size: 0.9rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col {
  flex: 1 1 250px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.footer-col p,
.footer-col a {
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links li a:hover {
  color: #d4af37;
}

/* Redes sociales */
.social-icons {
  margin-top: 10px;
}
.social-icons a {
  color: #ccc;
  margin-right: 12px;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #d4af37;
}

/* Línea inferior */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
}
.footer-bottom p {
  margin: 0;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px 20px;
    align-items: start;
    padding-bottom: 20px;
  }
  
  .footer-col {
    text-align: center;      /* mejor legibilidad en tablet */
    padding: 0 10px;
  }
  
  /* Ajuste de títulos y texto */
  .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .footer-col p,
  .footer-col a {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  
  
  /* Iconos centrados en su columna */
  .social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 10px;
  }
  
  /* Footer bottom */
  .footer-bottom {
    padding-top: 15px;
    margin-top: 40px;
  }
  .footer-bottom p {
    font-size: 0.9rem;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
  .site-footer {
    padding: 30px 10px 15px;
  }

  .footer-container {
    gap: 20px;
  }

  .footer-col {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 10px 0;
  }

  .footer-col h4 {
    font-size: 1.2rem;
  }

  .footer-col p,
  .footer-col a {
    font-size: 0.9rem;
  }

  .footer-links li {
    margin-bottom: 6px;
  }

  .social-icons {
    justify-content: center;
    gap: 10px;
  }

  .social-icons a {
    font-size: 1.4rem;
    margin: 0 6px;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}



  