/* ================================================================
   custom.css — Fix-uri vizuale pentru a fi identic cu tema demo
   ================================================================ */

/* ─── SERVICES THREE ─────────────────────────────────────────────
   Imaginile de servicii trebuie să fie de 215px înălțime exact ca în
   tema demo (dimensiunea vizibilă a thumbnail-ului 297×215)
─────────────────────────────────────────────────────────────────── */
.services-three__img {
    height: 215px;
    overflow: hidden;
}

.services-three__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Fără padding extra pe secțiunea services — tema are 120px 0 90px */
.services-three {
    padding: 120px 0 90px !important;
}

/* Container mai lat, exact ca în tema */
.services-three .container {
    max-width: 1308px;
}

/* ─── TESTIMONIALS TWO ───────────────────────────────────────────
   Fix complet pentru testimoniale — identic cu tema originala
─────────────────────────────────────────────────────────────────── */

/* Sectiunea principala — fundal corect, nu se intinde */
.testimonial-two {
    padding: 88px 0 100px;
    position: relative;
    z-index: 1;
}

/* Cardul alb cu review-ul — padding fix, nu se dilata */
.testimonial-two__content {
    position: relative;
    display: block;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 48px 40px 63px;
    z-index: 1;
}

/* Textul review-ului — font mic, italic, max 4 randuri */
.testimonial-two__text {
    font-size: 18px !important;
    color: #2e2e2e !important;
    font-weight: 500 !important;
    font-style: italic !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info client — flex, aliniat, cu margin-top fix */
.testimonial-two__client-info {
    display: flex !important;
    align-items: center !important;
    margin-top: 40px !important;
    margin-left: 0 !important;
}

/* Imaginea clientului — cerc fix 84px */
.testimonial-two__client-img {
    flex-shrink: 0;
    width: 84px !important;
    height: 84px !important;
}

.testimonial-two__client-img img,
.testimonial-two__client-img > img {
    width: 84px !important;
    height: 84px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block;
}

/* Continut client (nume + oras) */
.testimonial-two__client-content {
    margin-left: 18px;
}

.testimonial-two__client-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.testimonial-two__client-title {
    font-size: 13px !important;
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* Iconita ghilimele */
.testimonial-two__quote {
    margin-bottom: 15px;
}

.testimonial-two__quote i {
    font-size: 33px;
    color: #11aded;
}

/* Owl dots pozitionate corect */
.testimonial-two__carousel.owl-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    right: 30px;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.testimonial-two__carousel.owl-carousel .owl-dots .owl-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #ffffff;
    margin: 0 5px;
    padding: 0;
}

.testimonial-two__carousel.owl-carousel .owl-dot.active {
    background-color: #ecba16;
    border-color: #ecba16;
}

.testimonial-two__carousel.owl-carousel .owl-dots .owl-dot span {
    display: none;
}

/* Fallback cand owl nu e inca incarcat */
.testimonial-two__carousel:not(.owl-loaded) {
    display: block;
    overflow: hidden;
}

.testimonial-two__carousel:not(.owl-loaded) .item + .item {
    display: none;
}

/* ─── OWL CAROUSEL FORCE INIT ───────────────────────────────────
   Când carouselul NU e inițializat, items-urile stau în flex pe
   orizontală. Le ascundem și le aranjăm ca rând dacă owl-loaded lipsește.
─────────────────────────────────────────────────────────────────── */
.thm-owl__carousel:not(.owl-loaded) {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 30px;
}

.thm-owl__carousel:not(.owl-loaded) .item {
    flex: 0 0 calc(25% - 23px);
    min-width: 0;
}

@media (max-width: 1199px) {
    .thm-owl__carousel:not(.owl-loaded) .item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 991px) {
    .thm-owl__carousel:not(.owl-loaded) .item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .thm-owl__carousel:not(.owl-loaded) .item {
        flex: 0 0 100%;
    }
}

/* ─── FIX HEADER OVERLAP (dacă apare) ───────────────────────────*/
.main-slider-two {
    position: relative;
    overflow: hidden;
}

/* ================================================================
   DESIGN COMPRESSION — v2 + FIX SUPRAPUNERI
   ================================================================ */

/* ─── RESET GLOBAL: eliminăm orice margin negativ din temă ───────*/
* { box-sizing: border-box; }

section {
    padding: 80px 0;
    position: relative;
    /* CRITIC: previne secțiunile să iasă din fluxul normal */
    overflow: visible;
}

/* ─── SECȚIUNI INDIVIDUALE ───────────────────────────────────────*/
.about-two          { padding: 80px 0 60px !important; }
.benefits           { padding: 70px 0 60px !important; background: #f8fafc; }
.services-one       { padding: 60px 0 !important; }
/* services-page: suprascrie inline style-ul din PHP */
.services-page      { padding: 70px 0 60px !important; }

/* COUNTER: tema originală are margin-top negativ — îl resetăm complet */
.counter-two {
    padding: 70px 0 !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}
/* Eliminăm pseudo-elementul care creează overlap-ul */
.counter-two::before,
.counter-two::after { display: none !important; }

.project-two        { padding: 70px 0 60px !important; }
.contact-bar        { padding: 40px 0 !important; margin-top: 0 !important; }
.why-choose-one     { padding: 70px 0 60px !important; }
.testimonial-two    { padding: 70px 0 80px !important; }
.blog-one           { padding: 70px 0 60px !important; }
.experience-and-rating { padding: 24px 0 !important; }
.mission-one        { padding: 70px 0 60px !important; }
section.coupons     { padding: 70px 0 60px !important; }

/* ─── TITLURI SECȚIUNI ───────────────────────────────────────────*/

.section-title__title {
    font-size: clamp(26px, 3vw, 40px) !important;
    line-height: 1.2 !important;
}

.section-title__tagline {
    font-size: 14px !important;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

/* Titluri page-header (paginile secundare) */
.page-header__inner h1,
.page-header__inner h2 {
    font-size: clamp(28px, 4vw, 50px) !important;
}

/* ─── BENEFICII ──────────────────────────────────────────────────*/
.benefits__title {
    font-size: 20px !important;
    line-height: 1.3 !important;
}
.benefits__text-2 {
    font-size: 14px !important;
    line-height: 1.6 !important;
}
.benefits__icon span { font-size: 48px !important; }

/* ─── COUNTER ────────────────────────────────────────────────────*/
.counter-one__right .odometer,
.counter-two .odometer {
    font-size: clamp(42px, 5vw, 64px) !important;
}
.counter-one__text {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* ─── WHY CHOOSE ─────────────────────────────────────────────────*/
.why-choose-one__title {
    font-size: 18px !important;
}
.why-choose-one__text-2 {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* ─── EXPERIENCE BAR ─────────────────────────────────────────────*/
.experience-and-rating__experience-year h2 {
    font-size: clamp(40px, 5vw, 60px) !important;
}
.experience-and-rating__experience-year h5 {
    font-size: 13px !important;
}

/* ─── ABOUT ──────────────────────────────────────────────────────*/
.about-two__count-box h3 {
    font-size: clamp(36px, 4vw, 52px) !important;
}

/* ─── SERVICES GRID — FIX COMPLET ICONIȚE + CARDURI ─────────────*/

/* Cardul: layout flex vertical, fără overflow hidden care tăia iconița */
.services-two__single {
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 12px !important;
    padding: 32px 24px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    overflow: visible !important;     /* NU hidden — iconița nu mai e tăiată */
    transition: box-shadow 0.3s ease, transform 0.25s ease, border-color 0.2s !important;
    margin-bottom: 30px !important;
}

.services-two__single:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px) !important;
    border-color: var(--endreox-primary, #ecba16) !important;
}

/* Iconița: block, nu absolut — stă în fluxul normal al cardului */
.services-two__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    background: rgba(17, 98, 220, 0.08) !important;
    margin: 0 0 18px 0 !important;     /* sus-stânga, nu mai iese din card */
    position: static !important;        /* CRITIC: reset din absolute */
    flex-shrink: 0 !important;
}

.services-two__icon span {
    font-size: 36px !important;
    color: var(--endreox-base, #1162dc) !important;
    display: block !important;
    line-height: 1 !important;
}

/* Titlu și text */
.services-two__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    color: #1a202c !important;
}

.services-two__title a {
    color: #1a202c !important;
    text-decoration: none !important;
}

.services-two__title a:hover { color: var(--endreox-base, #1162dc) !important; }

.services-two__text {
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: #6b7280 !important;
    flex: 1 !important;
    margin-bottom: 16px !important;
}

/* Citește mai mult */
.services-two__read-more {
    margin-top: auto !important;
}

.services-two__read-more a {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--endreox-base, #1162dc) !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    transition: color 0.2s !important;
}

.services-two__read-more a:hover {
    color: var(--endreox-primary, #ecba16) !important;
}

/* Row de carduri: gap uniform */
.services-page__bottom .row {
    row-gap: 0 !important;
}



/* ─── BLOG ───────────────────────────────────────────────────────*/
.blog-one__title {
    font-size: 18px !important;
    line-height: 1.35 !important;
}

/* ─── PORTOFOLIU TITLU ───────────────────────────────────────────*/
.project-two__title {
    font-size: 16px !important;
}

/* ================================================================
   FIX CUPOANE — Reconstruit complet
   Problema: textul "REDUCERE" se suprapunea, QR code dezaliniat,
   textul descriptiv ieșea din container.
   ================================================================ */

/* Container cupon */
.coupons__single-inner {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    min-height: 0 !important;
}

/* Zona sumă + QR */
.coupons__offer-amount-box {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    flex-shrink: 0 !important;
}

/* Suma Lei — mai mică, fără overflow */
.coupons__offer-amount h2 {
    font-size: clamp(28px, 3.5vw, 44px) !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    white-space: nowrap;
}

.coupons__offer-amount h2 sup {
    font-size: 0.45em !important;
    vertical-align: super;
}

.coupons__offer-amount h2 span {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    line-height: 1 !important;
    margin-top: 2px !important;
    background: var(--endreox-primary, #ffa500);
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

/* QR Code — dimensiune fixă, nu se mai întinde */
.coupons__offer-qr-code {
    flex-shrink: 0 !important;
    width: 70px !important;
    height: 70px !important;
    overflow: hidden !important;
}

.coupons__offer-qr-code img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
}

/* Zona de conținut (titlu + text) */
.coupons__offer-content {
    padding: 12px 20px 20px !important;
    flex: 1 !important;
}

.coupons__offer-title-box {
    margin-bottom: 8px !important;
}

.coupons__offer-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
}

.coupons__offer-sub-title {
    font-size: 12px !important;
    margin-bottom: 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
    line-height: 1.2 !important;
}

.coupons__offer-text {
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: inherit;
    opacity: 0.8;
    /* Trunchiem la max 4 linii dacă textul e prea lung */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Titlul secțiunii cupoane — mai mic */
.coupons__left .section-title__title {
    font-size: clamp(24px, 2.5vw, 34px) !important;
}

.coupons__text {
    font-size: 14px !important;
    line-height: 1.65 !important;
}

/* Shape decorativă să nu iasă din cupon */
.coupons__shape-1 {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    opacity: 0.15;
}

/* ─── RESPONSIVE AJUSTMENTS ──────────────────────────────────────*/
@media (max-width: 1199px) {
    .section-title__title { font-size: clamp(24px, 2.8vw, 36px) !important; }
    section { padding: 60px 0; }
}

@media (max-width: 767px) {
    .section-title__title { font-size: 24px !important; }
    section { padding: 50px 0; }
    .coupons__offer-amount-box { flex-direction: column; align-items: flex-start !important; gap: 8px !important; }
    section.coupons { padding-top: 50px !important; padding-bottom: 40px !important; }
}

/* ================================================================
   HOMEPAGE LAYOUT FIX — v3
   Rezolvă: suprapuneri secțiuni, lipsă centrare, spacing greșit
   ================================================================ */

/* ── 1. PAGE-HEADER (Hero Banner) ────────────────────────────────
   Meniul sticky are ~90px înălțime. Adăugăm padding-top suficient
   ca titlul hero să nu intre sub meniu.
──────────────────────────────────────────────────────────────────*/
.page-header {
    padding-top: 180px !important;
    padding-bottom: 100px !important;
    position: relative;
    z-index: 1;
}

.page-header-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Overlay întunecat pe hero pentru lizibilitate */
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(14,17,23,0.72) 0%, rgba(14,17,23,0.45) 100%);
    z-index: 0;
}

.page-header .container { position: relative; z-index: 2; }

.page-header__inner {
    text-align: center;
}

.page-header__inner h2 {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 64px) !important;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.page-header__inner p {
    color: rgba(255,255,255,0.88);
    font-size: clamp(15px, 2vw, 20px);
    margin-top: 18px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Breadcrumb */
.thm-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.thm-breadcrumb li,
.thm-breadcrumb li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.thm-breadcrumb li a:hover { color: var(--endreox-primary, #ecba16); }

/* ── 2. EXPERIENCE BAR — nu se mai suprapune cu hero ─────────────*/
.experience-and-rating {
    background: #ffffff;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
    margin-top: 0;
    padding: 28px 0 !important;
    border-bottom: 1px solid #f0f0f0;
}

/* ── 3. ABOUT SECTION ────────────────────────────────────────────*/
.about-two { padding: 90px 0 70px !important; }

.about-two__img-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-two__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Counter overlay pe imagine */
.about-two__count-box {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--endreox-primary, #ecba16);
    padding: 20px 24px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 130px;
}

@media (max-width: 991px) {
    .about-two__count-box { right: 10px; bottom: 10px; }
    .about-two__img-box { margin-bottom: 40px; }
}

/* ── 4. BENEFITS — 3 coloane egale, centrate ─────────────────────*/
.benefits { background: #f8fafc; }

.benefits__single {
    text-align: center;
    padding: 40px 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.2s;
    margin-bottom: 30px;
}

.benefits__single:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.benefits__single-inner { height: 100%; }

.benefits__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(236,186,22,0.1);
    margin: 0 auto 20px;
}

/* ── 5. SERVICES GRID — carduri egale, cu hover ──────────────────*/
.services-page__bottom .services-two__single {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: box-shadow 0.3s, transform 0.2s, border-color 0.2s;
    margin-bottom: 30px;
}

.services-page__bottom .services-two__single:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--endreox-primary, #ecba16);
}

.services-page__bottom .services-two__text {
    flex: 1;
}

.services-page__bottom .services-two__read-more {
    margin-top: auto;
    padding-top: 16px;
}

/* ── 6. SECTION SEPARATOR VIZUAL ────────────────────────────────*/
section + section { border-top: none; }

.benefits + section,
.services-page + section,
.about-two + section {
    border-top: 1px solid #f0f0f0;
}

/* ── 7. APPOINTMENT FORM (programare.php) ────────────────────────*/
.appointment-title {
    text-align: center;
    margin-bottom: 50px;
}

.appointment-title h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    margin-bottom: 16px;
}

.appointment-title p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

.appointment-form-box {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
    margin-bottom: 60px;
}

.single-box {
    margin-bottom: 24px;
}

.inner-title h3 {
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.appointment-form input[type="text"],
.appointment-form input[type="email"],
.appointment-form input[type="date"],
.appointment-form input[type="time"],
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    background: #fdfdfd;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: var(--endreox-primary, #ecba16);
    box-shadow: 0 0 0 3px rgba(236,186,22,0.15);
    background: #fff;
}

.appointment-form textarea {
    min-height: 130px;
    resize: vertical;
}

.appointment-form-button {
    margin-top: 10px;
    text-align: center;
}

/* Alert messages */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.5;
}

.alert-success {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #276749;
}

.alert-danger {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
}

/* ── 8. HEADER OVERLAP FIX — meniu sticky și .page-wrapper ───────*/
.page-wrapper {
    padding-top: 0;
}

/* Meniul fix de sus — compensăm cu padding pe prima secțiune */
.main-header + * {
    /* Dacă prima secțiune vine direct după header */
}

/* ── 9. MOBILE FIXES ─────────────────────────────────────────────*/
@media (max-width: 991px) {
    .page-header { padding-top: 140px !important; padding-bottom: 70px !important; }
    .about-two { padding: 60px 0 40px !important; }
    .appointment-form-box { padding: 24px 20px; }
}

@media (max-width: 767px) {
    .page-header { padding-top: 120px !important; padding-bottom: 60px !important; }
    .benefits__single { margin-bottom: 20px; }
    .services-page__bottom .services-two__single { margin-bottom: 20px; }
    .about-two__count-box { position: static; margin-top: 20px; display: inline-block; }
    .appointment-form-box { padding: 20px 16px; }
    .main-footer__bottom-inner { flex-direction: column; text-align: center; }
    .main-footer__bottom-links { justify-content: center; }
}


/* ================================================================
   FOOTER CUSTOM — 4 coloane
   ================================================================ */

.main-footer {
    background-color: #0e1117;
    position: relative;
    z-index: 1;
}

.main-footer__top {
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Widget titlu */
.footer-widget__title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
}

.footer-widget__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--endreox-primary, #ecba16);
}

/* Logo */
.footer-widget__logo {
    margin-bottom: 20px;
}

/* Descriere text */
.footer-widget__text {
    color: #9da6b5;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
}

/* Social icons */
.footer-widget__social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-widget__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}

.footer-widget__social a:hover {
    background: var(--endreox-primary, #ecba16);
    color: #0e1117;
    transform: translateY(-3px);
}

/* Link-uri */
.footer-widget__links li {
    margin-bottom: 10px;
}

.footer-widget__links a {
    color: #9da6b5;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-widget__links a:hover {
    color: var(--endreox-primary, #ecba16);
    padding-left: 4px;
}

.footer-widget__links .icon-right-arrow {
    font-size: 10px;
    color: var(--endreox-primary, #ecba16);
}

/* Contact list în footer */
.footer-widget__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    color: #9da6b5;
    font-size: 14px;
    line-height: 1.6;
}

.footer-widget__contact-list .icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--endreox-primary, #ecba16);
    margin-top: 2px;
}

.footer-widget__contact-list a {
    color: #9da6b5;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-widget__contact-list a:hover {
    color: var(--endreox-primary, #ecba16);
}

/* Footer Bottom */
.main-footer__bottom {
    padding: 20px 0;
}

.main-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.main-footer__copy {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

.main-footer__copy a {
    color: var(--endreox-primary, #ecba16);
    text-decoration: none;
    font-weight: 600;
}

.main-footer__bottom-links {
    display: flex;
    gap: 20px;
    margin: 0;
    flex-wrap: wrap;
}

.main-footer__bottom-links li a {
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.main-footer__bottom-links li a:hover {
    color: var(--endreox-primary, #ecba16);
}

/* ================================================================
   BUTON WHATSAPP FLOTANT
   ================================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Pornește invizibil, apare cu JS */
    opacity: 0;
    transform: scale(0.5) translateY(20px);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.whatsapp-float i {
    font-size: 32px;
    color: #ffffff;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    background: #20ba5a;
}

/* Tooltip */
.whatsapp-float__tooltip {
    position: absolute;
    right: 70px;
    background: #0e1117;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.2s, transform 0.2s;
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: none;
    border-left-color: #0e1117;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Puls animat continuu */
@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float.visible {
    animation: whatsapp-pulse 2.5s ease-out infinite;
}

.whatsapp-float.visible:hover {
    animation: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

/* ================================================================
   BANNER GDPR / COOKIES CONSENT
   ================================================================ */

.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #0e1117;
    border-top: 3px solid var(--endreox-primary, #ecba16);
    padding: 18px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
}

.gdpr-banner--visible {
    transform: translateY(0);
}

.gdpr-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.gdpr-banner__text {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 260px;
}

.gdpr-banner__icon {
    font-size: 28px;
    flex-shrink: 0;
}

.gdpr-banner__text p {
    color: #9da6b5;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.gdpr-banner__text strong {
    color: #fff;
}

.gdpr-banner__btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.gdpr-btn {
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}

.gdpr-btn:hover {
    transform: translateY(-2px);
}

.gdpr-btn--accept {
    background: var(--endreox-primary, #ecba16);
    color: #0e1117;
    box-shadow: 0 4px 12px rgba(236, 186, 22, 0.3);
}

.gdpr-btn--accept:hover {
    box-shadow: 0 6px 18px rgba(236, 186, 22, 0.5);
}

.gdpr-btn--decline {
    background: rgba(255,255,255,0.08);
    color: #9da6b5;
    border: 1px solid rgba(255,255,255,0.1);
}

.gdpr-btn--decline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

@media (max-width: 767px) {
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .whatsapp-float i { font-size: 26px; }
    .whatsapp-float__tooltip { display: none; }
    .gdpr-banner__inner { flex-direction: column; align-items: flex-start; }
    .gdpr-banner__btns { width: 100%; }
    .gdpr-btn { flex: 1; text-align: center; }
    .main-footer__bottom-inner { flex-direction: column; text-align: center; }
    .main-footer__bottom-links { justify-content: center; }
}


/* ================================================================
   ⚡ NUCLEAR LAYOUT OVERRIDE — Rezolvă TOATE suprapunerile temei
   Aceste reguli sunt ultima linie de apărare, cu specificitate maximă.
   ================================================================ */

/* 1. Secțiunea counter-two din tema originală are margin-top negativ mare */
section.counter-two,
.counter-two {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
}

/* Toate pseudo-elementele temei care creează zone colorate ce intră peste alte secțiuni */
section.counter-two::before,
section.counter-two::after,
.counter-two::before,
.counter-two::after {
    content: none !important;
    display: none !important;
}

/* 2. services-page nu mai are margin negativ */
section.services-page,
.services-page {
    margin-top: 0 !important;
    z-index: 1 !important;
    clear: both !important;
}

/* 3. contact-bar — eliminăm orice margin negativ care îl suprапunea */
section.contact-bar,
.contact-bar {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 50px 0 !important;
    z-index: 2 !important;
    position: relative !important;
}

/* 4. Toate secțiunile care au __bg (background image absolut) */
.project-two,
.why-choose-one,
.testimonial-two {
    position: relative !important;
    overflow: hidden !important;
}

.project-two__bg,
.why-choose-one__bg,
.testimonial-two__bg {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0 !important;
}

.project-two .container,
.why-choose-one .container,
.testimonial-two .container {
    position: relative !important;
    z-index: 1 !important;
}

/* 5. Fix specific: iconița primului card serviciu ieșea din card */
/* Tema are .services-two__icon cu position:absolute, left:-15px, top:-15px */
/* Resetăm asta pentru layout-ul nostru */
.services-page .services-two__single *,
.services-two__single .services-two__icon {
    position: static !important;
}

.services-two__single .services-two__icon {
    display: flex !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background: rgba(17,98,220,0.08) !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 16px 0 !important;
    flex-shrink: 0 !important;
}

/* 6. Page wrapper — niciodată overflow hidden care taie secțiunile */
.page-wrapper {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* 7. Spațiere uniformă între TOATE secțiunile */
section + section {
    margin-top: 0 !important;
}

/* ── Mobile fixes finale ─────────────────────────────────────────*/
@media (max-width: 991px) {
    section.counter-two { padding: 50px 0 !important; }
    section.contact-bar { padding: 35px 0 !important; }
    .services-two__single { margin-bottom: 20px !important; }
}

@media (max-width: 767px) {
    section { padding: 50px 0 !important; }
    section.counter-two { padding: 40px 0 !important; }
    .services-two__single { margin-bottom: 16px !important; }
}
