@media (max-width: 900px) {
  .hero-content {
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hero .container, .hero .row, .hero .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hero-content h1 {
    font-size: 3em !important;
    padding: 10px !important;
  }
  .hero-content p {
    font-size: 1.1em !important;
    padding: 10px !important;  
}
.hero-buttons{
    margin-left: 10%;
}
}

/* 
@media (max-width: 900px) {
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
        height: 70px;
    }
    .logo {
        flex: 1;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .logo img {
        height: 48px;
        margin: 0;
    }
    .nav-right {
        display: none !important;
    }
    .social {
        display: flex;
        gap: 10px;
        margin-left: auto;
    }
    .menu-toggle {
        display: flex;
        background: none;
        border: none;
        outline: none;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        padding: 8px;
        margin-left: 10px;
        z-index: 1002;
    }
    .menu-icon,
    .menu-icon::before,
    .menu-icon::after {
        display: block;
        background: #fff;
        height: 3px;
        width: 28px;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s cubic-bezier(.4,2,.6,1);
    }
    .menu-icon::before,
    .menu-icon::after {
        content: "";
        position: absolute;
        left: 0;
    }
    .menu-icon::before { top: -9px; }
    .menu-icon::after { top: 9px; }
    .menu-toggle.active .menu-icon {
        background: transparent;
    }
    .menu-toggle.active .menu-icon::before {
        transform: rotate(45deg) translate(5px,5px);
    }
    .menu-toggle.active .menu-icon::after {
        transform: rotate(-45deg) translate(5px,-5px);
    }
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,0.98);
        z-index: 1001;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding-top: 100px;
        animation: fadeInMenu 0.3s;
    }
    .mobile-menu.active {
        display: flex !important;
    }
    @keyframes fadeInMenu {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    .nav-links-mobile {
        display: flex;
        flex-direction: column;
        gap: 32px;
        list-style: none;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    .nav-links-mobile li a {
        color: #222;
        font-size: 1.3em;
        font-weight: 600;
        text-decoration: none;
        transition: transform 0.18s cubic-bezier(.4,2,.6,1), color 0.2s;
    }
    .nav-links-mobile li a:hover {
        color: #d2b6a3;
        transform: scale(1.13);
    }
}

@media (max-width: 900px) {
    .logo-social-mobile {
        display: flex;
    }
    .mobile-social {
        display: flex;
    }
    .desktop-only {
        display: none !important;
    }
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 10px;
        height: 70px;
    }
    .logo img {
        height: 48px;
        margin: 0;
    }
}
*/
.hero-bg {
    position: relative;
    width: 100%;
    background: url('https://i.ibb.co/TMCjZ0x1/Imagen-de-Whats-App-2025-07-22-a-las-09-42-28-84eee962.jpg') center/cover no-repeat;
    overflow: hidden;
}
.hero-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 0;
    pointer-events: none;
}
.hero-bg > * {
    position: relative;
    z-index: 2;
}
/* HEADER FLEX Y RESPONSIVO
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
    filter: invert(1) brightness(2) contrast(1.2);
    transition: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 0px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 0px;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), color 0.2s;
}

.nav-links li a:hover {
    color: #fff;
    transform: scale(1.13);
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    color: #fff;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.social a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .navbar {
        padding: 0 10px;
    }
    .nav-links {
        gap: 8px;
    }
    .logo img {
        height: 48px;
    }
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 10px;
    }
    .nav-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    .nav-links {
        flex-wrap: wrap;
        gap: 6px;
    }
    .social {
        margin-top: 4px;
    }
}

/* Servicios Section */
.services-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.services-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: url('/Ronny/public/assets/services-bg.jpg') center/cover no-repeat;
    z-index: 1;
    opacity: 1;
}
.services-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0 0 0;
}
.services-title {
    color: #fff;
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.2em;
    margin-top: 0;
    letter-spacing: 1px;
}
.services-title-hr {
    width: 340px;
    border: none;
    border-top: 4px solid #fff;
    margin: 0 auto 24px auto;
    background: none;
}
.services-desc {
    color: #fff;
    font-size: 1.25em;
    text-align: center;
    margin-bottom: 38px;
    max-width: 900px;
    font-weight: 400;
}
.services-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0px;
    width: 100%;
    max-width: 1200px;
    background: none;
    border-radius: 0;
    padding: 18px 0 18px 0;
    margin-top: 30px;
}
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 180px;
    max-width: 56px;
    padding: 18px 10px 18px 10px;
    background: rgba(255,255,255,0.85);
    border-radius: 0px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s, background 0.2s;
    cursor: pointer;
}
.service-card:hover {
    background: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.service-title {
    font-size: 1.15em;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 12px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.service-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 22px;
    font-size: 0.98em;
    font-weight: 600;
    margin-top: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.service-btn:hover {
    background: #ffffff;
    color: #222;
}
/* Experiencia y Testimonios */
.exp-testimonial-section {
    background: #dbbba3;
    width: 100%;
    padding: 60px 0 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 750px) {
        .exp-testimonial-section{
        display: block;
    }
    
}
.exp-testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    width: 100%;
    gap: 60px;
    margin: 0 auto;
    min-height: 380px;
}
.exp-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 1.18em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    padding: 0 30px 0 0;
}
.exp-main {
    font-size: 1.18em;
    margin-bottom: 32px;
    font-weight: 400;
}
.exp-main b {
    font-weight: 700;
}
.exp-sub {
    font-size: 1.08em;
    font-weight: 400;
    margin-bottom: 0;
}
.exp-sub b {
    font-weight: 700;
}
.testimonial-slider {
    position: relative;
    min-width: 340px;
    max-width: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.testimonial-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 36px 38px 32px 38px;
    width: 100%;
    max-width: 500px;
    color: #444;
    font-size: 1.08em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    opacity: 0;
    position: relative;
    margin: 0 auto;
    transition: opacity 0.4s;
    z-index: 1;
    display: none;
    height: auto;
    min-height: unset;
    min-width: unset;
    box-sizing: border-box;
}
.testimonial-card.active {
    opacity: 1;
    display: block;
    z-index: 2;
}
.testimonial-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.15em;
    font-weight: 700;
    color: #222;
}
.testimonial-card .stars {
    color: #e6b86a;
    font-size: 1.2em;
    margin-bottom: 10px;
}
.testimonial-prev, .testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2.2em;
    color: #dbbba3;
    cursor: pointer;
    z-index: 3;
    padding: 0;
    transition: color 0.2s;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.0);
    border-radius: 50%;
}
.testimonial-prev:hover, .testimonial-next:hover {
    color: #b89b8a;
}
.testimonial-prev {
    left: -10px;
}
.testimonial-next {
    right: -5px;
}
@media (max-width: 600px) {
    .testimonial-prev {
        left: 8px;
    }
    .testimonial-next {
        right: 8px;
    }
    .testimonial-card {
        padding: 24px 12px 24px 12px;
        width: 100%;
        max-width: 100vw;
        min-width: unset;
        min-height: unset;
        height: auto;
    }
}
/* Misión y Visión Section */
/* Misión y Visión Section Mejorada */
.mv-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    max-width: 1520px;
    height: 500px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mv-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.ibb.co/hFJ1JWTv/Integracion-de-Lean-Construction-y-BIM-en-Proyectos-Educativos-Analisis-Comparativo-Regional-pptx.jpg') center/cover no-repeat;
    z-index: 1;
    opacity: 1;
}
.mv-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 0 30px 0;
}
.mv-block {
    width: 600px;
    margin: 0 auto;
    padding: 20px 28px;
    border-radius: 0;
    color: #fff;
    font-size: 1.05em;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    background: rgba(20,20,20,0.85);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
.mv-vision {
    background: rgba(210,182,163,0.85);
    color: #222;
    align-items: flex-start;
    text-align: left;
}
@media (max-width: 900px) {
    .mv-section {
        min-height: 420px;
        height: auto;
        max-width: 100vw;
        padding: 0;
    }
    .mv-content {
        max-width: 100vw;
        padding: 18px 0 18px 0;
        gap: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .mv-block {
        width: 92vw;
        max-width: 98vw;
        min-width: 0;
        margin: 0 auto 18px auto;
        padding: 18px 5vw;
        font-size: 1em;
        box-sizing: border-box;
        /* El bloque se centra, pero el texto no */
    }
    .mv-mision {
        align-items: flex-end !important;
        text-align: right !important;
    }
    .mv-vision {
        align-items: flex-start !important;
        text-align: left !important;
        margin: 0 auto 18px auto;
    }
}
.mv-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
    position: relative;
    display: block;
}
.mv-title-right {
    text-align: right;
}
.mv-title-left {
    text-align: left;
}
.mv-hr {
    border: none;
    height: 3px;
    margin: 6px 0 18px 0;
    width: 60px;
}
.mv-hr-right {
    background: #fff;
    float: right;
    margin-left: auto;
    margin-right: 0;
}
.mv-hr-left {
    background: #222;
    float: left;
    margin-right: auto;
    margin-left: 0;
}
.mv-block p {
    margin: 0;
    font-size: 0.98em;
    font-weight: 400;
    text-align: inherit;
}
/* Portafolio Section */
.portfolio-section {
    width: 100%;
    margin: 80px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.portfolio-title {
    font-size: 2.3em;
    font-weight: bold;
    margin-bottom: 40px;
    margin-top: 0;
    text-align: center;
}
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    width: 100%;
    max-width: 1400px;
}
.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 290px;
}
.portfolio-item img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 42%);
    margin-bottom: 18px;
    background: #fff;
}
.portfolio-label {
    font-size: 1.25em;
    font-weight: bold;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
}
body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}
header nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
    box-shadow: none !important;
    padding: 20px 40px;
    position: relative;
    z-index: 2;
}
.logo img {
    height: 60px;
    margin-top: 120px;
    margin-left: 80px;
    margin-bottom: 0;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 0px;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    text-decoration: none;
    color: #fff;
    letter-spacing: 1px;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1);
    padding: 0 8px;
    will-change: transform;
    font-family: "Poppins", Sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
}
.nav-links li a:hover {
    color: #fff;
    transform: scale(1.13);
}
.social a {
    margin-left: 1px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
}

/* NUEVOS ICONOS DE REDES A COLOR */
.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.2s;
}

.social a:hover .social-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .social-icon {
        width: 28px;
        height: 28px;
    }
}
.hero {
    position: relative;
    min-height: unset;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
    background: none;
    padding-bottom: 60px;
}

.hero-content {
    margin-top: 120px;
    margin-left: 80px;
    background: none;
    padding: 0;
    border-radius: 0;
    text-align: left;
    max-width: 650px;
    box-shadow: none;
    position: relative;
    z-index: 2;
}


.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.navbar {
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    z-index: 2;
}
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.logo img {
    height: 60px;
    margin-top: 40px;
    margin-bottom: 0;
}
.hero-content {
    margin-top: 120px;
    margin-left: 80px;
    background: none;
    padding: 0;
    border-radius: 0;
    text-align: left;
    max-width: 650px;
    box-shadow: none;
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    margin-top: 0;
}
.hero-content hr {
    border: none;
    border-top: 3px solid #d2b6a3;
    width: 100%;
    max-width: 540px;
    margin: 24px 0 24px 0;
}
.hero-content p {
    font-size: 1.18em;
    margin-bottom: 32px;
    color: white;
    max-width: 540px;
}
.hero-buttons {
    margin-top: 30px;
}
.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    margin-right: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary {
    background: #d2b6a3;
    color: #fff;
}
.btn-primary:hover {
    background: #b89b8a;
}
.btn-outline {
    background: #fff;
    color: #222;
    border: 2px solid #222;
}
.btn-outline:hover {
    background: #222;
    color: #fff;
}
footer {
    background: #fff;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    margin-top: 40px;
}
/* Imágenes responsivas en toda la web */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ===== GALERÍA DESLIZABLE HORIZONTAL ===== */

.galeria-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;              /* Scroll horizontal */
  overflow-y: hidden;
  padding: 12px 0;
  scroll-snap-type: x mandatory; /* Suaviza el desplazamiento */
  -webkit-overflow-scrolling: touch; /* Suavidad en iPhone/Android */
}

.galeria-scroll::-webkit-scrollbar {
  display: none;                 /* Oculta la barra en móviles */
}

.galeria-scroll > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.galeria-scroll img {
  width: 180px;                  /* Ajusta tamaño */
  border-radius: 16px;
  display: block;
}
