* {
    margin:0px;
    padding:0px;
    padding-right: 0px;
    padding-left: 0px;
}

html {
    margin:0px;
    padding-right: 0px;
}


body {
    overflow-x: hidden!important;
    display:block;
    margin:0px;
    font-size:16px;
    font-weight: 400;
    line-height: 22px;
    font-family:'IBM Plex Sans', sans-serif;
    background-color:var(--white);
    color:var(--black);
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-right: 0px!important;
    padding-left: 0px;
    margin:0px;
}

:root {
    --gray10: #F4F4F4;
    --gray20: #E0E0E0;
    --gray30: #C6C6C6;
    --gray40: #A8A8A8;
    --gray50: #8D8D8D;
    --gray60: #6F6F6F;
    --gray80: #393939;
    --gray90: #262626;
    --gray100:#161616;
    --white:  #FFFFFF;
    --black:  #000000;
    --divider: rgba(0, 0, 0, 0.08);
}




.spanborder {
    border-right: .05em solid var(--white);
    animation: caret 1s steps(1) infinite;
}

@keyframes caret {
    50% {
      border-color: transparent;
    }
  }

.pt-1 {
    padding-top:1rem;
} 

.pt-2 {
    padding-top:2rem;
} 

.pt-3 {
    padding-top:3rem;
} 

.pb-1 {
    padding-bottom:1rem;
} 

.pb-2 {
    padding-bottom:2rem;
} 

.pb-3 {
    padding-bottom:3rem;
} 

a {

    transition: .5s ease;
    font-family:'IBM Plex Sans';
}


h1, h2, strong, h4 {
    font-style: normal;
}

h1, h1 span, .h1 {
    font-weight: 300;
    font-size:3.375rem;
    line-height:3.75rem;
}  

h2, h2 span {
    font-weight: 300;
    font-size:1.75rem;
    line-height:2.25rem;
}  

h3, h3 span, h3 strong {
    font-weight: 300;
    font-size: 1.375rem;
    line-height: 1.75rem;
} 

h4, h4 span{
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 400;
}

h5, h5 span{
    font-size: 1rem;
    font-weight: 400;
    line-height: 22px;
}

strong, .text-bold {
    font-weight: 700!important;
}

#brandcontainer {
    padding-right:0.2rem;
    display:inline-block;
}

#brandcontainer img {
    height: 28px;
}

.container-fluid {
    margin-left:0rem;
    padding-right:0rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-size: 16px!important;
    line-height: 22px;
    background-color:rgba(25, 25, 25, 0.9)!important;
    float: right;
    padding-left:1rem;
    height: 3.25rem;
}

.navbar-brand {
    font-size: 18px!important;
    font-weight: 700;
    letter-spacing: 0em;
    text-align: left;
    display: flex;
    align-items: normal;
}


.navbar-toggler {
    border:none;
}  

.navbar-toggler:focus, .navbar-toggler:focus-visible, .navbar-toggler:hover {
    text-decoration: none;
    border:none;
    outline:none;
} 



.livegothome {
    width:50px;
    height:50px;
    position:relative;
    bottom: 1px;
    right:4px;
}







a:hover {
    text-decoration: none;
} 

a.nav-link {
    font-size:17px!important;
    text-align: left;
    color:var(--gray30)!important;
    font-weight:500;
    padding-right: 2.5rem!important;
}

a.nav-link:hover {
    color:var(--white)!important;
    font-weight:500;
}


.abs {
    margin-top:30px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);

}



/* ============================= */
/* PRIMERA SECCIÓN: CARRUSEL y DESCRIP */
/* ============================= */

/* Contenedor principal: flex fila */
.firstsection {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-top: 3.25rem;
}

/* Carrusel: izquierda 50% */
.casecontainer {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Imagen del carrusel */
.casecontainer img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Texto derecha: 50% */
.premise {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 2rem; /* espacio interno para que no quede pegado */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente */
}



/* DESCRIPCION DE LA PRIMER SECCION */

/* --- Premise Container --- */
.firstsection .premise {
    order: 1; /* para controlar el orden en flex */
    height: auto;
    padding-left: 2rem;
    margin-bottom: 0rem;
}

/* --- Typewriter Effect --- */
.typewritereffect {
    font-weight: 300;
    font-size: 3.375rem; /* base grande */
    line-height: 3.75rem;
    max-width: 450px;
    margin-top: 15px;
    height: 116px; /* mantiene altura aunque el texto aparezca */
}

/* --- Intro Box --- */
.introbox {
    padding-top: 6rem;
}

/* --- Description --- */
.description {
    max-width: 33rem;
    padding-bottom: 10px;
    color: var(--gray80) !important;
    margin: 0px !important;
}

/* --- Botonera --- */
.buttongroup {
    margin-top: 1.375rem;
    margin-bottom: 1.375rem;
    display: flex;
}

.buttongroup button {
    margin-right: 1rem;
    height: 44px;
    border-radius: 0px;
    padding: 0.75rem 2rem 0.75rem 1rem;
    line-height: 1rem;
    min-width: 140px;
    text-decoration: none;
}

/* --- Botones primario/secundario --- */
.primarybutton {
    color: var(--black);
    background-color: var(--gray30);
    border: 1px solid var(--gray80);
}

.primarybutton:hover {
    background-color: var(--gray80);
    border: 1px solid var(--gray80);
    color: var(--white);
}

.secondarybutton {
    color: var(--black);
    background-color: var(--gray30);
    border: 1px solid var(--gray80);
}

.secondarybutton:hover {
    background-color: var(--gray80);
    border: 1px solid var(--gray80);
    color: var(--white);
}

/* --- Responsivo: Typewriter y descripción --- */
@media (max-width: 992px) {
    .typewritereffect {
        font-size: 2rem;
        line-height: 2.25rem;
        min-height: 4.8rem;
    }
    .description {
        max-width: 400px;
    }
    .introbox {
        padding-top: 3rem;
    }
}

@media (min-width: 580px) {
    .typewritereffect {
        max-width: 400px;
        margin-top: 15px;
    }
    .description {
        max-width: 33rem;
    }
}

@media (min-width: 1080px) {
    .typewritereffect {
        max-width: 450px;
    }
}

/* TEST CAMBIOS NUEVOS */
@media (max-width: 768px) {
    .firstsection {
        flex-direction: column;
        padding-top: 3.25rem;
    }

    .casecontainer {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


@media (max-width: 480px) {

    .buttongroup {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .buttongroup a {
        width: 100%;
    }

    .buttongroup button {
    margin-right: 1rem;
    min-height: 44px;        /* en vez de height */
    height: auto;            /* clave */
    border-radius: 0px;
    padding: 0.75rem 1.25rem;
    line-height: 1.2rem;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

}


@media (max-width: 576px) {
    .buttongroup {
        flex-direction: column;
        gap: 0.75rem;
    }

    .buttongroup a {
        width: 100%;
    }

    .buttongroup button {
        width: 100%;
    }
}





/* ============================= */
/* SEGUNDA SECCIÓN: Por qué elegir LiveGot */
/* ============================= */

/* Contenedor general */
#secondcontainer.fullwidth {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    background-color: var(--white);
    overflow: hidden;
}

/* Flecha scroll down */
.arrow-scrolldown {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

#arrow-scrolldown-img {
    cursor: pointer;
}

/* Flecha scroll up */
#arrowscrolltoTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

.hideme {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.uparrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(25,25,25,0.5);
    border: 2px solid var(--white);
}

/* About Us */
#aboutus {
    width: 100%;
    text-align: center;
    padding: 3rem 1rem;
}

.whylivegot {
    font-size: 3rem;
    font-weight: 350;
    margin-bottom: 1rem;
    line-height: 3rem;
}

.description2 {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 1rem auto;
    max-width: 900px;
}

/* Logo ABS */
.abs img {
    vertical-align: middle;
    max-height: 26px;
}

/* Premise / Proveedores */
.premise {
    margin: 3rem 0 1rem;
}

.providers {
    font-size: 1.5rem;
    font-weight: 450;
}

.providers-section {
    margin-top: 40px;    /* espacio desde el texto de arriba (description2) */
    margin-bottom: 30px; /* espacio antes del slideshow de logos */
}


/* Carrusel de marcas */

/* Contenedor del slideshow */
/* CONTENEDOR */

#aboutus {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#aboutus .tech-slideshow {
  width: 100vw;              /* viewport real */
}



.tech-slideshow {
  width: 100%;
  overflow: hidden;
  background-color: var(--white);
  padding: 1.5rem 0;
  margin-left: 0;
  padding-left: 0;
  /* padding: 1.5rem 0; */
}

/* TRACK QUE SE MUEVE */
.brands-track {
  display: flex;
  width: max-content;
  animation: scrollBrands 25s linear infinite;
}

/* CADA GRUPO (una copia) */
.brands-group {
  display: flex;
}

/* LOGOS */
.brands-group img {
  height: 48px;              /* CONTROL TOTAL DEL TAMAÑO */
  width: auto;
  margin: 0 24px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(0%);
}

/* ANIMACIÓN REALMENTE INFINITA */
@keyframes scrollBrands {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .brands-group img {
    height: 32px;
    margin: 0 16px;
  }
}

@media (max-width: 480px) {
  .brands-group img {
    height: 26px;
    margin: 0 12px;
  }
}



/*

.tech-slideshow {
    width: 100%;
    overflow: hidden;
    margin-bottom: 3rem;
}

.mover-1 {
    display: flex;
    width: max-content;  
    animation: moveSlideshow 20s linear infinite;
}


.brandsimg {
    margin: 0 2rem;
    width: 86px;
    height: auto;
}
*/

/* Animación */
@keyframes moveSlideshow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1760px); } /* Ajusta según cantidad de logos */
}

/* Responsive */
@media (max-width: 992px) {
    .whylivegot {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .description2 {
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .brandsimg {
        width: 60px;
        margin: 0 0.5rem;
    }
}

#anchortop::before {
    content: "";
    display: block;
    height: 80px; /* espacio desde arriba */
    margin-top: -80px; /* compensa el scroll automático */
}

#secondcontainer .section:last-child .premise {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    width: 100%;
    margin-bottom: 20px;
}

#secondcontainer .section:last-child .premise p.providers {
    margin: 0; /* elimina márgenes que pueden jalarlo a la izquierda */
    font-weight: bold;
}







/* =========================================================
   SECCIÓN 3 – OBRAS
   ========================================================= */

#thirdcontainer {
    background-color: var(--gray10);
    padding: 4rem 1rem;
    width: 100%;
}

/* Contenedor de cada bloque */
.works-section {
    max-width: 1600px;
    margin: 0 auto 5rem auto;
    text-align: center;
}

/* Títulos */
.works-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 3.2rem;
    color: var(--black);
    margin-bottom: 1rem;
}

/* Descripciones */
.works-description {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray80);
    margin-bottom: 3rem;
}

/* ===== GRID GENERAL ===== */
.works-grid {
    display: grid;
    gap: 20px;
}

/* ===== Edificios LiveGot ===== */
.works-grid.livegot {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    max-width: 1600px;
    margin: 0 auto;
}

/* ===== Obras a terceros ===== */
.works-grid.terceros {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    max-width: 720px;
    margin: 0 auto;
}

/* ===== Imágenes ===== */
/*.works-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background-color: var(--white);
    padding: 10px;
    display: block;
}
*/
.works-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;

    /* marco blanco externo */
    border: 10px solid var(--white);  /* el borde blanco ya no corta la imagen */
    box-sizing: border-box;           /* asegura que el borde no cambie el tamaño del grid */

    display: block;
}




/* Hover sutil */
.works-grid a:hover img {
    transform: scale(1.03);
}

/* ===== Mobile fine tuning ===== */
@media (max-width: 767px) {

    .works-title {
        font-size: 2.2rem;
        line-height: 2.4rem;
    }

    .works-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    #thirdcontainer {
        padding: 3rem 1rem;
    }
}


/* ===== WORK CARD (wrapper seguro) ===== */
.work-card {
    position: relative;
    display: block;
}

/* Overlay inferior */
.work-info {
    position: absolute;
    bottom: 26px;               /* separado del borde */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    width: 100%;

}

/* Dirección */
.work-address {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.65);
    transform: translateY(-10px);
}

/* Estado base */
.work-status {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transform: translateY(-10px);
}

/* ===== COLORES DE ESTADO ===== */
.work-status.terminado {
    color: #6fa06f; /* verde musgo */
   /* text-shadow: 1px 1px 2px #fff, -1px -1px 2px #fff;*/
}

.work-status.construccion {
    color: #d1a14f; /* ocre */
    /* text-shadow: 1px 1px 2px #fff, -1px -1px 2px #fff;*/
}

.work-status.proyectado {
    color: #4a91b0; /* celeste oscuro */
   /* text-shadow: 1px 1px 2px #fff, -1px -1px 2px #fff;*/
}




/* -------------------------------------- */
/* CUARTA SECCION CONTACTO -------------- */
/* -------------------------------------- */

/* ===== CUARTA SECCIÓN ===== */
#fourthcontainer {
    background-color: var(--white);
    width: 100%;
    padding: 3rem 1rem;
    box-sizing: border-box;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 2rem;
}

/* Grid de contactos */


.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.contact-item i {
    margin-right: 8px;
    color: var(--black);
    cursor: pointer;
}

.contact-item a {
    text-decoration: none;
    color: var(--black);
    transition: color 0.3s;
    cursor: pointer;
}

.contact-item a:hover {
    color: var(--gray80);
}

/* ===== FLECHA HACIA ARRIBA ===== */
#arrowscrolltoTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
}

#arrowscrolltoTop .uparrow {
    width: 50px;
    height: 50px;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--gray10);
    text-align: center;
    padding: 2rem 1rem;
}

footer img {
    max-width: 150px;
    margin-bottom: 0.5rem;
}

footer .credit {
    color: var(--black);
    font-size: 0.9rem;
}

/* ===== Mobile ===== */
/* Desktop: hasta 4 columnas */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-items: center;
    gap: 2rem;
}

/* Tablets: 2 columnas */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 columna */
@media (max-width: 580px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}





















/* ===== Divisor sutil entre secciones ===== */
#firstcontainer,
#secondcontainer,
#thirdcontainer,
#fourthcontainer {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}


/* Responsivo: en móviles, todo en columna */
@media screen and (max-width: 767px) {
    .firstsection {
        flex-direction: column;
    }
    .casecontainer,
    .premise {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1rem;
    }
}

/* Navbar: links a la derecha en pantallas grandes */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-end; /* derecha */
        flex-direction: row;        /* fila horizontal */
    }
}
