/**
* HOMEPAGE.CSS
* Viewport: 360px - 2560px
* Ratio: 1.25 (Major Third) - Rotunjit Superior
* Author: EVO Studio
*/

.hero h1, 
.header-adresabilitate h2, 
.amenajari-home h2, 
.showroom-homepage h2, 
.servicii-homepage h2, 
.oferta-homepage-i h2, 
.colaborare-homepage h2{
    /*color: var(--color-brand-standard-inchis);*/
    font-family: var(--font-main);
    font-size: var(--title-lead);
    font-weight: var(--fw-regular);
    text-transform: uppercase;
}

.hero h1 span, 
.header-adresabilitate h2 span, 
.amenajari-home h2 span, 
.list-pachete-home h2 span, 
.list-locatii h2 span, 
.amenajari-home h2 span, 
.showroom-homepage h2 span, 
.servicii-homepage h2 span, 
.consultanta-homepage h2 span,
.financiar-homepage h2 span, 
.oferta-homepage-i h2 span, 
.colaborare-homepage h2 span{
    font-family: var(--font-title);
    font-weight: var(--fw-bold);
}

.hero h1 span{
    color: var(--color-brand-accent);
}

.header-adresabilitate h2 span{
    color: #745E16;
}

.buttons-container {
    display: grid;
    grid-auto-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 150px;
    margin-top: var(--gap-md);
    grid-auto-flow: column;
}

.btn-oferta1, .btn-pachete1 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--btn-pv) var(--btn-ph);
    border-radius: var(--btn-cta);
    font-weight: var(--fw-bold);
    font-size: var(--text-btn-cta);
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 1040px) {
    .buttons-container {
        grid-auto-flow: column;
        width: fit-content;
        max-width: none;
        gap: 16px;
    }
}

.btn-oferta1 {
    color: var(--color-brand-accent-deschis);
    background-color: var(--color-brand-standard-inchis);
}

.btn-pachete1 {
    border: 2px solid var(--color-brand-standard-inchis);
    color: var(--color-brand-standard);
    padding-block: calc(var(--btn-pv) - 2px); 
}

.adresabilitate{
    display: flex;
    flex-direction: column;
    background-image: url('../img/adresabilitate3-mob.webp');
    background-repeat: no-repeat;
    background-size: contain;
    /*background-position: calc(0% - 20px) top;*/
    background-position: calc(0% - 20px) top;
    background-color: #FAD36C;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.header-adresabilitate{
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    padding-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /*
    align-items: flex-end;
    text-align: right;
    */
}

.body-adresabilitate{
    padding-bottom: var(--space-lg);
}

.body-adresabilitate h3{
    color: #745E16;
    font-family: var(--font-main);
    font-size: var(--title-h2);
    font-weight: var(--fw-extrabold);
}

.body-adresabilitate .content-text{
    color: var(--color-brand-standard-inchis);
    margin-top: 14px;
}

.slider-adresabilitate{
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.slider-adresabilitate-wrapper{
    position: relative;
    padding-left: 15px;   /* Spațiu pentru săgeata stânga */
    padding-right: 15px;  /* Spațiu pentru săgeata dreapta */
}

.swiper-adresabilitate {
    width: 100%;
    overflow: hidden; 
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: var(--outer-radius);
}

.swiper-wrapper{
    padding-left: 0px !important;
    border-radius: var(--outer-radius);
}

.swiper-slide {
    height: auto !important; 
    display: flex;
}

.card-adresabilitate {
    /*background: #F6F0DB;*/
    background-color: #F7F3E3;
    padding: var(--card-padding);
    border-radius: var(--outer-radius);
    height: 100%;
    /*box-shadow: 0 10px 20px rgba(0,0,0,0.05);*/
    display: flex;
    flex-direction: column;
    width: 100%;
}

.card-adresabilitate img {
    width: 100%;
    height: auto;
    aspect-ratio: 960 / 800;
    /* Raza imaginii este baza de calcul */
    border-radius: var(--inner-radius); 
    object-fit: contain;
    display: block;
}

.content-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15px;    /* Spațiu între elemente */
    padding: 20px 5px;
}

.content-card h3, .content-card h3 a {
    color: #745E16;
    font-family: var(--font-main);
    font-weight: var(--fw-extrabold);
    font-size: var(--text-body);
    /*margin-bottom: 15px;*/
    text-decoration: none;
    height: auto;
}

.content-card-text {
    color: var(--color-brand-standard-inchis);
    font-size: var(--text-md);
}

.btn-detalii {
    color: #745E16;
    font-weight: var(--fw-extrabold);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--color-brand-standard) !important;
}

.swiper-button-prev, 
.swiper-button-next {
    width: 10px !important;  /* Lățimea reală a săgeții (fără spațiu gol) */
    height: 20px !important; /* Înălțimea proporțională */
    background: none !important;
    display: flex !important;
    align-items: center;
}

.swiper-button-prev svg, 
.swiper-button-next svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.swiper-button-prev {
    left: 0 !important;
}

.swiper-button-next {
    right: 0 !important;
}

@media (min-width: 1040px) {
    .adresabilitate{
        background-image: url('../img/adresabilitate3.webp');
        /*background-position: calc(0% - 220px) calc(0% - 60px);*/
        background-position: left top;
    }
    .header-adresabilitate h2{
        width: 42%;
    }
    .span-4-6 {
        grid-column: span 4;
    }
    .slider-adresabilitate-wrapper{
        padding-left: 30px;
        padding-right: 30px;
    }
    .content-card h3, .content-card h3 a {
        display: flex;
        min-height: 3em;
    }
    .content-card-text {
        margin:0;
        flex-grow: 1;
    }
    .swiper-button-prev, 
    .swiper-button-next {
        width: 14px !important;
        height: 28px !important;
    }
}

@media (min-width: 992px) and (max-width: 1039px){
    .header-adresabilitate h2{
        width: 60%;
    }
}

.list-pachete-home{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.list-pachete-home .content-text2{
    padding-block: var(--space-md);
}

.pachet-premium-home, 
.pachet-ideal-home, 
.pachet-optim-home {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    box-sizing: border-box; /* Previne depășirea ecranului din cauza padding-ului */
    display: flex;
    flex-direction: column;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.pachet-premium-home {
    width: 100%;
    color: var(--color-premium-text);
    background-color: var(--color-premium-standard);
}

.pachet-premium-home-r, 
.pachet-premium-home-l {
    width: 100%; /* Pe mobil ocupă toată lățimea */
}

.pachet-premium-home-r {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.lottie-placeholder, 
.lottie-placeholder2, 
.lottie-placeholder-consultanta{
    max-width: 100px;
    height: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.8s ease-in-out; 
    z-index: 1;
}

.lottie-target, .lottie-target2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: auto;
    display: flex;
    justify-content: inherit; 
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.js-lottie-wrapper.is-loaded .lottie-placeholder, 
.js-lottie-wrapper.is-loaded .lottie-placeholder2, 
.js-lottie-wrapper.is-loaded .lottie-placeholder-consultanta{
    opacity: 0;
}

.pachet-ideal-home, 
.pachet-optim-home {
    width: 100%;
}

.pachet-ideal-home{
    background-color: var(--color-ideal-standard);
}

.pachet-ideal-home-header, 
.pachet-optim-home-header{
    width: 100%;
    display: flex;
    position: relative;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
}

.pachet-optim-home{
    background-color: var(--color-optim-standard);
}

.list-pachete-home h2, 
.consultanta-homepage h2, 
.financiar-homepage h2{
    font-size: var(--title-h2);
    text-transform: uppercase;
    /*margin-bottom: 24px;*/
}

.pachet-premium-home h2 span{
    color: var(--color-premium-accent);
}

.pachet-ideal-home h2{
    color: var(--color-ideal-accent);
}

.pachet-ideal-home{
    color: var(--color-ideal-text);
}

.pachet-optim-home h2{
    color: var(--color-optim-accent);
}

.pachet-optim-home{
    color: var(--color-optim-text);
}

.pachet-poza2{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.pachet-poza3{
    position: relative;
    display: block;
}

.list-pachete-link{
    width: 24px;
    height: 24px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.list-pachete-link svg{
    width: 14px;
    height: 14px;
}

.premium-link{
    background-color: var(--color-premium-accent);
}

.premium-link svg{
    color: var(--color-premium-standard);
}

.ideal-link{
    background-color: var(--color-ideal-accent);
}

.ideal-link svg{
    color: var(--color-ideal-standard);
}

.optim-link{
    background-color: var(--color-optim-accent);
}

.optim-link svg{
    color: var(--color-optim-standard);
}

@media (min-width: 1040px){
    .pachet-premium-home{
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
    }
    .pachet-premium-home-r, 
    .pachet-premium-home-l {
        /* Fiecare ocupă exact jumătate */
        width: 50%; 
        flex-basis: 50%;
    }
    .pachet-premium-home-r {
        justify-content: center;
    }
    .lottie-placeholder {
        max-width: 300px;
    }
    .lottie-placeholder2, .lottie-placeholder-consultanta {
        max-width: 130px;
    }
    .lottie-target {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: inherit; 
        align-items: center;
    }
    .lottie-target2{
        width: auto;
        height: 100%;
    }
    .pachet-ideal-home, 
    .pachet-optim-home {
        width: 50%;
    }
    .pachet-ideal-home-header, .pachet-optim-home-header{
        flex-direction: row-reverse;
        align-items: center;
        
        justify-content: center;
    }
    .pachet-ideal-home-header h2{
        flex: 0 0 65%;
    }
    .pachet-poza2{
        display: inline-flex;
        flex: 0 0 35%;
        justify-content: center;
    }
    .list-pachete-link{
        width: 28px;
        height: 28px;
    }
    .list-pachete-link svg{
        width: 12px;
        height: 12px;
        transition: all 300ms ease-in-out;
    }
    .list-pachete-link:hover svg{
        width: 18px;
        height: 18px;
        transition: all 300ms ease-in-out;
    }
}

.list-locatii{
    background-color: #F6F0DB;
    padding-top: var(--space-lg);
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    padding-bottom: var(--space-lg);
}

.list-locatii h2{
    color: var(--color-brand-standard-inchis);
    margin-bottom: var(--space-md);
    font-family: var(--font-main);
    font-size: var(--title-h2);
    text-transform: uppercase;
}

.list-btns a{
    color: var(--color-brand-standard-inchis);
    background-color: #FAD36C;
    font-family: var(--font-title);
    font-weight: var(--fw-bold);
    font-size: var(--text-sm);
    display: block;
    text-transform: uppercase;
    text-align: center;
    padding: var(--btn-pv) 0;
    border-radius: var(--btn-br);
}

.list-locatii-servicii{
    color: var(--color-brand-standard-inchis);
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    font-weight: var(--fw-bold);
    font-size: var(--text-btn-cta);
}

.list-locatii-servicii span{
    width: 18px;
    height: auto;
    display: inline-flex;
    margin-right: 10px;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-locatii-servicii:hover span{
    transform: rotate(180deg);
}

@media (min-width: 1040px){
    .list-locatii-servicii span{
        width: 24px;
    }
}
/*
.amenajari-home-i {
    width: var(--div-width);
    margin: 0 auto;
}
*/
.amenajari-home {
    min-height: 80vh;
}

.amenajari-home .content-text{
    color: #000;
}

/* Dacă vrei ca pe Desktop să fie mai înaltă, modifici doar aici */
@media (min-width: 1040px) {
    .amenajari-home {
        height: 50vh; 
    }
    
    .amenajari-home-i {
        max-width: var(--div-width);
        width: 100%;
        margin: 0 auto;
    }
}

.showroom-homepage, .servicii-homepage{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-inline: var(--site-gutter);
    padding-block: var(--space-lg);
}

.showroom-homepage{
    background-color: var(--color-brand-standard);
}

.showroom-homepage h2{
    color: var(--color-brand-accent-deschis);
}

.servicii-homepage{
    background-color: var(--color-gri-deschis);
}

.servicii-homepage .content-text-simple{
    color: var(--color-brand-standard-inchis);
}

.showroom-homepage h2, .servicii-homepage h2{
    width: var(--div-width2);
    /*margin-bottom: 24px;*/
}

.servicii-homepage h2{
    color: var(--color-brand-accent);
    margin-bottom: var(--space-md);
}

/* --- ACCORDION RENOVARIHUB (V. FINAL) --- */
.servicii-homepage-list {
    row-gap: var(--space-md);
    padding-bottom: var(--space-lg);
    align-items: start;
    background-color: #F4F5F3;
}

.homepage-faq {
    row-gap: var(--space-md);
    padding-block: var(--space-lg);
    background-color: #F4F5F3;
    align-content: center;
}

.homepage-faq-header h2{
	font-family: var(--font-main);
    font-size: var(--title-h2);
	font-weight: var(--fw-extrabold);
	text-transform: uppercase;
	color: var(--color-brand-standard-inchis);
}

.end-faq .btn-cta1{
    display: block;
    color: #f4f5f3;
    background-color: var(--color-brand-standard-inchis);
}

.acc {
    /* Stil permanent (Închis & Deschis) */
    background-color: #F2E9E9;
    border-radius: 12px; /* Border radius generos */
    padding: var(--space-xs);
    margin-bottom: var(--space-xs);
    
}

.acc-header {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* Imaginea Full Width cu 2 variante */
.acc-full-img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background-color: #f0f0f0;
    margin-bottom: var(--space-xs);
}

.acc-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: var(--space-xs);
}

.acc-title-row h2 {
    color: var(--color-brand-standard-inchis);
    font-family: var(--font-main);
    font-size: var(--acc-title);
    font-weight: var(--fw-extrabold);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* --- ICONITA + / - (CSS ONLY) --- */
.acc-status-icon {
    position: relative;
    width: 14px;
    height: 14px;
}

/* Linia Orizontală (rămâne mereu) */
.acc-status-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: translateY(-50%);
}

/* Linia Verticală (dispare/se rotește la click) */
.acc-status-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: currentColor;
    transform: translateX(-50%);
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Starea Activă: + devine - */
.acc.is-active .acc-status-icon::after {
    opacity: 0;
}

.acc.is-active .acc-full-img {
    filter: brightness(1.05); /* Feedback vizual subtil pe poză */
}

/* Conținutul ascuns */
.servicii-list-content {
    display: none;
    overflow: hidden;
    color: var(--color-brand-standard-inchis);
}

.content-inner {
    padding-block: var(--space-sm);
}

.acc-text{
    font-size: var(--text-md);
    line-height: 1.4;
    letter-spacing: var(--ls-txt);
    margin-bottom: var(--space-xs);
}

.servicii-list-content a{
    color: var(--color-brand-standard-inchis);
    font-weight: var(--fw-extrabold);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.consultanta-homepage{
    background-color: var(--color-gri-deschis);
    padding-inline: var(--site-gutter);
    padding-bottom: var(--space-lg);
}

.consultanta-homepage h2{
    padding-top: var(--space-sm);
}

.consultanta-homepage .content-text{
    color: var(--color-brand-standard-inchis);
}

.consultanta-hl h2{
    color: #E6A86B;
}

.consultanta-hr h2{
    color: #ACACAC;
}

.btn-consultanta{
    color: #F4F5F3;
    background-color: #E6A86B;
}

.btn-expertiza{
    color: #F4F5F3;
    background-color: #ACACAC;
}

@media (max-width: 1039px){
    .consultanta-hl{
        margin-bottom: var(--space-md);
    }
}

.financiar-homepage{
    min-height: 80vh;
}

.financiar-homepage-i {
        width: 100%;
        height: auto;
        align-self:center;
        margin-top: 300px;
        padding-bottom: 80px;
}

.financiar-homepage h2{
    color: var(--color-financial);
}

.financiar-homepage .content-text{
    color: #383A3C;
}

.btn-financiar{
    color: var(--color-brand-accent-deschis);
    background-color: var(--color-financial);
}

@media (min-width: 1040px) {
    .financiar-homepage{
        height: 50vh;
    }
    .financiar-homepage-i {
        width: 100%;
        min-height: 40vh;
        align-self:flex-end;
        margin-bottom: 30px;
    }
    .financiar-hi {
        max-width: var(--div-width);
        margin: 0 auto;
    }
}

.oferta-homepage-o .heropage-poster img{
    object-position: left center;
}

.oferta-homepage{
    width: 100%;
    min-height: 86vh;
    display: flex;
    background-color: #F0F0F0;
    flex-direction: column;
    justify-content: center;
    padding-block: var(--space-lg);   
}

.oferta-homepage-i{
    padding-inline: var(--site-gutter);
}

.oferta-homepage h2, .oferta-homepage .content-text{
    color: var(--color-brand-standard-inchis);
}

.oferta-homepage h2 span{
    color: var(--color-brand-accent);
}

.btn-deviz {
    background-color: var(--color-brand-standard-inchis);
    color: var(--color-brand-accent-deschis);
}

@media (min-width: 1040px){
    .oferta-homepage-o{
        height: 86vh;
    }
    .oferta-homepage-o .heropage-poster img{
        object-position: right bottom;
    }
    .oferta-homepage{
        align-items: flex-end;
    }
    .oferta-homepage-i{
        width: 50%; 
        flex-basis: 50%;
    }
}

.colaborare-homepage{
    background-color: #383A3C;
    padding-inline: var(--site-gutter);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-colab);
}

.showroom-hr, .colaborare-hr {
    position: relative;
    /*
    display: flex;
    justify-content: flex-start;
    align-items: center;
    */
}

@media (min-width: 1040px){
    .colaborare-homepage{
        align-items: center;
        justify-content: space-between;
        padding-block: var(--space-lg);
    }
    .showroom-hr, .colaborare-hr{
        justify-content: center;
        align-items: center;
    }
}

.colaborare-homepage h2{
    color: var(--color-brand-accent-deschis);
}

.showroom-homepage .content-text, .colaborare-homepage .content-text{
    color: #FFFFFF;
}

.btn-colaborare{
    color: var(--color-brand-accent-deschis);
    background-color: var(--color-brand-standard-inchis);
}

.hero .badge-container{
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.hero .badge-container img, 
.oferta-homepage .badge-container img{
    display: inline-flex;
    width: 60px;
    height: auto;
}

.oferta-homepage .badge-container{
    display: flex;
    gap: 24px;
}

.oferta-homepage .badge-container{
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 1040px){
    .hero .badge-container{
        gap: 40px;
        margin-top: 40px;
    }
    .oferta-homepage .badge-container{
        gap: 40px;
        margin-bottom: 40px;
    }
    .hero .badge-container img, 
    .oferta-homepage .badge-container img{
        width: 100px;
    }
}

@media (max-width: 991px){
    .js-hero-video{
        height: 110%;
    }
}

.hero-overlay {
    grid-area: stack;
    z-index: 2; /* Se așează peste video/imagine (z-index: 1) și sub conținut (z-index: 3) */
    width: 100%;
    height: 100%;
    /* Gradient folosind culoarea de fundal a site-ului (--color-neutral: #FDFDFD) pentru a păstra vizibilitatea textului închis la culoare */
    background: linear-gradient(
        to right, 
            rgba(238, 234, 227, 0.7) 10%,     
        rgba(238, 234, 227, 0.4) 35%,  
        rgba(238, 234, 227, 0) 100%
    );
    pointer-events: none; /* Permite interacțiunea (click/hover) cu elementele din spate */
}

/* Ajustare pentru dispozitive mobile, unde layout-ul se face pe verticală */
@media (max-width: 991px) {
    .hero-overlay {
        background: linear-gradient(
            to right, 
                rgba(248, 205, 78, 0.7) 0%,     
        rgba(248, 205, 78, 0.4) 35%,  
        rgba(248, 205, 78, 0) 100%
        );
    }
}

.oferta-trust h3{
    color: var(--color-brand-standard-inchis);
    font-family: var(--font-main);
    font-size: var(--text-btnul);
    font-weight: var(--fw-bold);
}

.oferta-trust h3 span{
    display: block;
    font-size: var(--text-md);
    margin-bottom: 4px;
}