/*
Cabecera
*/
.header {
    padding:1rem;
    color: var(--theme-color);
    background: #fff;
    transition: padding 300ms ease;
}

/* Header fixed */
.header--fixed {
    padding: calc(var(--padding-h) + 0.5rem) calc(var(--padding-h) + 0.5rem) var(--padding-h);
    position: fixed;
    width: 100%;
    color: #fff;
    top: 0;
    left: 0;
    z-index: 3;
    background: rgba(255,255,255,0);
    transition: all 400ms ease;
}

.header--fixed.--is-active {
    border-bottom:1px solid #eee;
    color: var(--theme-color);
    padding:12px var(--padding-h);
    background: rgba(255,255,255,1);
}

/* Header sticky */
.header--sticky {
    position: sticky;
	position: -webkit-sticky;
    top: 0;
    left: 0;
    z-index: 3;
}
.header--sticky.--is-active {
    border-bottom:1px solid #eee;
}
.header--sticky.--is-active .header__logo {
    max-width: calc(var(--width-logo) - 20px);
    transition:max-width 400ms ease;
}

/* Header pinned */
.header--pinned {
    position: fixed;
    width:100%;
    top: 0;
    left: 0;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.3);
    z-index: 3;
    transition: all 250ms ease;
}
.header--pinned.--not-active {
    transform: translateY(-100%);
}
.header--pinned.--is-active {
    transform: translateY(0);
}

.header__overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    visibility: hidden;
    right: 0;
    background: rgba(0,0,0,0);
    top: 0;
    transition: backdrop-filter 600ms ease, background 800ms ease, -webkit-backdrop-filter 600ms ease;
}

.header__overlay--is-active {
    background:rgba(0,0,0,0.25);
    z-index:9;
    visibility:visible;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    max-width: var(--width-logo);
	width:100%;
	transition:max-width 400ms ease;
}
.header--fixed:not(.--is-active) .header__logo img{
    content:url(/images/logo-galihogar-invert.svg)
}
.header--fixed.--is-active .header__logo {
    max-width: calc(var(--width-logo) - 20px);
    transition:max-width 400ms ease;
}


.header__logo-link {
    display: block;
}

.header__logo-img {
    display: block;
    width: 100%;
}

.header__info {
    display: flex;
    align-items: center;
}


.header__info-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header__info-txt {
    display: none;
    margin-right: 16px;
}




@media only screen and (min-width: 1024px) {
    .header--fixed {
        padding: calc(1rem * 2);
    }
    .header--fixed.--is-active {
        padding: 12px var(--padding-h);
    }

}


/**********/
/* MENU */
/**********/
.nav {
    --heightNavHead: 130px;
    --heightNavInfo: 48px;
    font-weight: 400;
}

.nav__list {
    list-style: none;
}

.nav__link {
    display: block;
    color: currentColor;
    text-decoration: none;
    font-size: 1em;
}

.nav__list--secondary .nav__link {
    text-transform: uppercase;
    font-size: 0.95em;
}

.nav__txt i {
    margin-right: 0.25rem;
}

.nav__txt > span {
    font-size: 0.85em;
    opacity: 0.7;
    line-height: 1.3;
    display: block;
}

.nav__submenu {
    list-style: none;
}

.nav__submenu .nav__link {
    padding: 0.15rem;
}

.nav__item--has-sub > .nav__submenu.nav__submenu--imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: flex-start;
    grid-gap: 0.75rem;
}

.nav__submenu.nav__submenu--imgs .nav__item--has-sub {
    grid-column: -1 / 1;
}


.nav__submenu.nav__submenu--imgs .nav__item:not(.nav__item--has-sub) .nav__link {
    font-size: 0.9em;
}

.nav__submenu.nav__submenu--imgs .nav__txt {
    display: block;
    text-align: center;
    margin-top: 0.25rem;
}

.nav__head {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    height: var(--heightNavHead);
}

.nav__head:not(:has(.nav__logo)) {
    justify-content: flex-end;
}

.nav__logo{
	flex:1;
}
.nav__logo img {
	max-width: 100%;
    display: block;
    max-height: 100%;
}

.nav__close {
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    gap: 0.25rem;
    grid-gap: 0.5rem;
    padding: 0.25rem;
    align-items: center;
    font-weight: var(--bold1);
	margin-left:1rem;
}

.nav__close i {
    font-size: 1.25em;
}

.nav__info {
    display: flex;
    height: var(--heightNavInfo);
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background: #ddd;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    font-weight: var(--bold1);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.25em;
    overflow: hidden;
    transition: transform .3s ease-in-out;
    transform: translateX(0);
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 1;
}

.nav__info:has(.nav__back:not(.nav__back--active)) {
    transform: translateX(100%);
    transition: .3s transform 0s ease-in-out;
}

.nav__back {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    visibility:hidden;
}
.nav__back--active{
    visibility:visible;
}

.nav__back span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.nav__back:before {
    content: "\f060";
    height: 24px;
    width: 24px;
    font-size: 0.9rem;
    display: grid;
    place-content: center;
    border-radius: var(--radiusButton);
    background: #fff;
    font-family: var(--awesome);
    margin-right: 0.75rem;
}

.nav__details {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.nav__details .buttons {
    display: flex;
    justify-content: center;
}

.nav__details .buttons ul {
    flex-wrap: wrap;
}

.nav {
    position: fixed;
    top: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content 1fr;
    height: 100%;
    overflow-x: hidden;
    z-index: 10;
    background: radial-gradient(#fff,var(--light));
    color: var(--font-color);
    width: min(100%, 540px);
}

.nav__translate > .nav__list {
    position: relative;
}


.nav--right {
    right: 0;
    transform: translateX(100%);
    transition: transform 400ms ease;
    visibility:hidden;
}

.nav__list--secondary {
    margin: 0.75rem 1rem;
    padding: 0.5rem 0;
    background: var(--light);
    width: calc(100% - 2rem);
    border-radius: var(--radiusBox);
}

.nav--is-active {
    box-shadow: 0px 0 24px rgba(0, 0, 0, 0.3);
}

.nav--right.nav--is-active {
    transform: translateX(0px);
     visibility:visible;
}


.header__pre .nav__list--secondary {
    display: none;
}

.nav__list--primary {
    width: 100%;
}


.nav--is-active .nav__submenu--is-active:not(:has(.nav__submenu--is-active)) > .nav__item > .nav__link {
    opacity: 1;
}

.nav__translate {
    transition: transform .3s ease-in-out;
    will-change: transform;
    display: flex;
    flex-direction: column;
    grid-column: 1;
    grid-row: 2;
}

.nav__link {
    padding: 0.75rem 1rem;
    font-size: 22px;
    color:currentColor;
}
.nav__txt {
	display: block;
	width: 100%;
}
.nav__list--secondary .nav__link {
    padding: 0.5rem 1rem;
}

.nav__list > .nav__item--selected > .nav__link,
.nav__list > .nav__item:has(.nav__item--selected) > .nav__link,
.nav__list > .nav__item:has(.nav__item--selected) > .nav__submenu > .nav__item:has(.nav__item--selected) > .nav__link,
.nav__list > .nav__item--has-sub > .nav__submenu > .nav__item--selected > .nav__link {
    font-weight: var(--bold1);
    color: var(--primary);
}

.nav__submenu .nav__submenu .nav__item--selected > .nav__link {
    font-weight: var(--bold1);
    color: var(--primary);
}

.nav__item--has-sub > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__item--has-sub > a .nav__down {
    width: 32px;
    height: 32px;
    display: flex;
    flex-shrink: 0;
    color: currentColor;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    border-radius: var(--radiusButton);
    background: rgba(0,0,0,0.1);
    color:var(--font-color);
}


.nav__item--has-sub > a .nav__down .--rotate {
    transform: rotate(180deg)
}

.nav__submenu .nav__link {
    font-size: var(--font-s);
}

.nav__txt i {
    margin-right: 0.5rem;
}

.nav__submenu .nav__submenu .nav__item--has-sub > a .nav__down {
    background: none;
}

.nav__item--has-sub > a .nav__down i:before {
    content: '\f105';
}

.nav__item--has-sub > a .nav__down .--rotate {
    transform: rotate(0) !important;
}


.nav__list > .nav__item--has-sub:not(:has(.nav__submenu--is-active)) .nav__submenu,
.nav__list >  .nav__item--has-sub .nav__item--has-sub:not(:has(.nav__submenu--is-active)) .nav__submenu{
    opacity: 0;
    pointer-events: none;
    transition: 0.3s opacity 0s ease-in-out;
    visibility:hidden;
}


.nav__item--has-sub > .nav__submenu {
    position: absolute;
    height: 100%;
    z-index: 3;
    box-shadow: none;
    left: 100%;
    top: 0;
    text-align: left;
    width: 100%;
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
    padding: calc(0.75rem + var(--heightNavInfo)) 1rem 0.75rem 1rem;
    transition: 0s opacity 0s ease-in-out;
    
}

/**************/
/* HAMBURGER */
/*************/
.hamburger {
    cursor: pointer;
    padding: 4px;
    width:36px;
    height:36px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    margin-left:1.25rem;
}

.hamburger .bar {
    display: block;
    height: 2px;
    width: 28px;
    background: currentColor;
    transition: transform 300ms ease, width 300ms ease;
}
.header--fixed .hamburger .bar,
.header--pinned.--is-active .hamburger .bar,
.header--pinned.--not-active .hamburger .bar {
    background: currentColor;
}


.hamburger .middle {
    margin: 9px 0 9px auto;
    width:20px
}
.hamburger--is-active{
    width:38px;
}
.hamburger--is-active .bar.top {
    transform: translateY(11px) rotateZ(45deg);
    width:100%;
}

.hamburger--is-active .bar.bottom {
    transform: translateY(-11px) rotateZ(-45deg);
    width:100%;
}

.hamburger--is-active .bar.middle {
    width: 0;
}

/*
Botones - Redes sociales y teléfonos
*/
.buttons {
    display: flex;
    align-items: center;
    gap:6px;
}



.buttons ul {
    list-style: none;
    display: flex;
    gap:6px;
    align-items: center;
}

.buttons li {
    display: inline-block;
    border-radius: var(--radius1);
}



.buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    color: currentColor;
    min-height: 24px;
    text-decoration: none;
}

.buttons__phones li span {
    display: none;
	white-space: nowrap;
}


.buttons__phones .full a {
    width: auto;
    padding: 0.2rem 0.5rem;
}

.buttons__phones .full span {
    display: block;
    margin-left: 4px;
}

.buttons--bg .facebook {
    background: var(--color-fb);
}

.buttons--bg .instagram {
    background: var(--color-ig);
}

.buttons--bg .whatsapp {
    background: var(--color-wa);
}

.buttons--border li {   
    border: 1px solid currentColor;
}
 .buttons--bg li{
    background: var(--primary);
}

.buttons--bg a, .buttons--border a {
    width: 32px;
    height: 32px;
    min-height: 32px;
}



.buttons--bg a,
.buttons--bg a[href^="tel:"] {
    color: #fff;
}

/* Buttons fixed */
.buttons--fixed {
    transition:bottom 300ms ease, transform 300ms ease;
    position:fixed;
    bottom:2px;
    right:0;
	z-index:2;
    flex-direction:column;
    gap:0.25rem;
    display:none;
}
.buttons--fixed ul{ 
    flex-direction:column;
    align-items:initial;
    gap:0.25rem;
}
.buttons--fixed li {
    margin: 2px 0;
    display:flex;
    border-radius:var(--radiusBox) 0 0 var(--radiusBox);
    background: var(--primary);
    color:#fff;
    border: 0;
    box-shadow:0px 0px 12px rgba(0,0,0,0.1);
}
.buttons--fixed .whatsapp {
    background: var(--color-wa);
}
.buttons--fixed .whatsapp i{
    color: var(--color-wa);
}
.buttons--fixed .facebook {
    background: var(--color-fb);
}
.buttons--fixed .facebook i{
    color: var(--color-fb);
}
.buttons--fixed .instagram {
    background: var(--color-ig);
}
.buttons--fixed .instagram i{
    color: var(--color-ig);
}
.buttons--fixed a,.buttons--fixed a[href^="tel:"]{
    width: auto;
    height: auto;
	flex:1;
    display:flex;
    align-items:center;
	border-radius:0;
	border:0;
    color:#fff;
    padding:0;
    background:none;
    text-decoration:none;
}
.buttons--fixed .etiq{
    display:block;
    font-size:0.8em;
    line-height:1.2em;
}
.buttons.buttons--fixed .etiq + span{
    margin-left:0;
}

.buttons--fixed li a > span{ 
    display:block;
    line-height:100%;
    margin-left:0.5rem;
	flex:1;
     padding: 0.25rem 0.75rem 0.25rem 0;
}

.buttons--fixed li:not(.full) a > span{  
   display:none;
}


.buttons--fixed i{
    height:42px;
    width:48px;
    font-size:1.125rem;
    margin:1px 0 1px 1px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:var(--primary);
    border-radius:var(--radiusBox) 0 0 var(--radiusBox);
}
.buttons--circle.buttons--fixed{
    right:8px;
}
.buttons--circle.buttons--fixed li{
    border-radius:50%;
}
.buttons--circle.buttons--fixed i{
    height:58px;
    width:58px; 
    color:#fff;
    background:none;
    font-size:1.75rem;
}

.buttons--fixed li.full i{
    height:42px;
    width:42px;
}


/**/
@media only screen and (min-width: 1024px) {

    .buttons--bg a, .buttons--border a {
        width: 36px;
        height: 36px;
        min-height: 36px;
        font-size: 1.125rem;
    }
    .buttons__phones li a {
        width: auto;
        height: 36px;
        font-size:1.125rem;
        padding: 0.2rem 0.5rem;
    }

    .buttons__phones li span {
        display: block;
        margin-left: 4px;
    }

    .buttons__phones .full a {
        height: auto;
    }
	
	/* Buttons fixed */
    .buttons--fixed:not(.buttons--circle) {    
        position:fixed;
        bottom:50%!important;
        transform:translateY(50%);
    }
    .buttons--circle.buttons--fixed{
        
    }
    .buttons--fixed i{
        height:42px;
        width:42px;
        font-size:1.25rem;
    }
    .buttons--fixed a,.buttons--fixed a[href^="tel:"]{
        font-size:1.125rem;
        line-height:100%;
    }
    .buttons--fixed li a > span{ 
        margin-left:0.75rem;
         padding: 0.25rem 1rem 0.25rem 0;
    }
    .buttons--fixed li:not(.full) a > span{  
       display:block;
    }
}

/* LANG */

.nav__language{
    padding:0.75rem 1rem;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--theme-dest);
    color:var(--theme-color);
}
.language__modal-list{
    list-style:none;
    font-size:1rem;
}
.language__modal-list a img{
    display:block;
}
.language img{
    width:22px;
    display:block;
    box-shadow:0px 0px 2px rgb(0 0 0 / 70%);
    border-radius:50%;
}

.nav__language .language__modal-close,
.nav__language .language__modal-title,
.nav__language .language__modal-list a span,
.nav__language .language{
    display:none;
}
.nav__language .language__modal-list{
    display:flex;
    gap:1rem;
}
.nav__language .language__modal-list li{
    position:relative;
}
.nav__language .language__modal-list .selected a:before{
    content: "\f058";
    font-weight: 900;
    font-size: 16px;
    font-family: var(--awesome);
    width: 16px;
    height: 16px;
    border-radius: 16px;
    background-color: var(--primary-invert);
    color: var(--primary);
    position: absolute;
    bottom: -4px;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    }
.nav__language .language__modal-list a{
    text-decoration:none;
    display:block;
    color:inherit;
    background:#fff;
    border-radius:100%;
    box-shadow: 0 0 0 2px #f0f0f0, 0 0 0 3px #ccc;
}
.nav__language .language__modal img{
    width:30px;
    display:block;
    border-radius:100%;
}
.nav__language--text .language__modal img{
    display:none;
}
.nav__language--text .language__modal-list a span{
    display:block;
}
.nav__language--text .language__modal-list{
    gap:0.5rem;
}
.nav__language--text .language__modal-list a{
    box-shadow:none;
    border-radius:3px;
    padding:2px 8px;
    font-size:0.9rem;
}
.nav__language--text .language__modal-list .selected a:before{
    right:inherit;
    bottom:inherit;
    left:-6px;
    top:-6px;
}


/* Nav Banners */
.nav__banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.35rem;
}
.nav__details .box-txtOverImg__info {
    padding:1rem;
}
.nav__details .box-txtOverImg {
    aspect-ratio: auto;
    height: 30vmin;
    max-height:300px;
    min-height: 180px;
    flex: none;
}

.nav__details {
    gap: 0.5rem;
}

.nav__details .buttons {
    justify-content: center;
}

.nav__details .box-txtOverImg--style2 .box-txtOverImg__info {
    padding: 0.75rem 1rem;
}

.nav__details .box-txtOverImg__link {
    justify-content: flex-end;
}

.nav__details .box-txtOverImg__img:after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
}

.nav__details .box-txtOverImg .button {
    padding: 0.4em 0.75em;
    font-size: 0.9rem;
}

.nav__details .box-txtOverImg .button i {
    margin-left: 0.25em;
}

.nav__banners > *:not([class^="nav__banner"]) {
    grid-column: span 2;
}

.nav__banner p:not(:last-child) {
    margin: 0 0 0.25rem;
}

.nav__banner p:first-of-type {
    font-weight: var(--bold1);
}

.nav__banner {
    position: relative;
    display: grid;
    place-content: center center;
    align-items: center;
    grid-template-columns: min-content auto;
    grid-column-gap: 0.5rem;
    padding: 0.75rem;
    color: var(--font-color);
    text-decoration: none;
    background: var(--secondary);
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85));
    text-align: center;
    border-radius: var(--radiusBox);
    overflow: hidden;
}

.nav__banner i {
    font-size: 1.25rem;
    line-height: 100%;
    opacity: 0.75;
    width: 1.25rem;
}

.nav__banner--destacado i {
    font-size: 2rem;
    width: 2rem;
    opacity: 0.75;
    margin: 0;
    color: currentColor;
}

.nav__banner--destacado {
    place-content: center start;
    text-align: left;
    grid-column: span 2;
    grid-template-columns: min-content 1fr min-content;
    grid-column-gap: 0.75rem;
    grid-row-gap: 0rem;
    color: var(--secondary-invert);
    min-height: 72px;
    background-image: none;
    padding-right: calc(0.75rem + 38px);
}

.nav__banner--destacado:not(:has(i)) {
    grid-template-columns: 1fr min-content;
}

.nav__banner--destacado:after {
    content: '\f054';
    font-weight: 900;
    font-size: 1.15em;
    font-family: var(--awesome);
    width: 38px;
    display: grid;
    place-content: center;
    height: 100%;
    background: rgba(0,0,0,0.1);
    color: var(--secondary-invert);
    position: absolute;
    top: 0;
    right: 0;
}

.nav__banner--fb {
    background: var(--color-fb);
    color: #fff;
}

.nav__banner--ig {
    background: var(--color-ig);
    color: #fff;
}

.nav__banner--wa {
    background: var(--color-wa);
    color: #fff;
}

.nav__banner--tel {
    background: var(--primary);
    color: #fff;
}

.nav__banner--fb i,
.nav__banner--ig i,
.nav__banner--wa i,
.nav__banner-tel i {
    opacity: 1;
    color: #fff;
}

.nav__banner--destacado p:first-of-type {
    font-size: var(--font-s);
    line-height: 1.2em;
}

.nav__banner--destacado p + p:last-of-type {
    font-size: 0.95rem;
    line-height: 1.2em;
}

.nav__banner--destacado:not(:has(i)) p:first-of-type {
    font-size: var(--font-m);
    line-height: 1.3em;
}

.nav__banner--destacado:not(:has(i)) p + p:last-of-type {
    font-size: 1rem;
    line-height: 1.3em;
}

.nav__bannerImg {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.nav__bannerImg p {
    margin: 4px 0;
}

.nav__bannerImg img {
    border-radius: var(--radiusBox);
    display: block;
}
