/* Būti dabar — pradinis puslapis. Visi stiliai izoliuoti .bd-home. */
.bd-home { --home-text:#263331; --home-muted:#65716f; --home-soft:#e9f4f3; --home-pale:#f5fafa; --home-primary:#90d0cc; --home-deep:#347a76; --home-border:#d9e8e6; width:100%; max-width:100%; min-width:0; color:var(--home-text); font-size:17px; line-height:1.72; overflow-wrap:anywhere; }
.bd-home, .bd-home *, .bd-home *::before, .bd-home *::after { box-sizing:border-box; }
.bd-home .bd-home__container { width:calc(100% - 48px); max-width:1180px; margin-inline:auto; }
.bd-home p { margin:0 0 20px; }
.bd-home p:last-child { margin-bottom:0; }
.bd-home .bd-home__title { margin:0 0 24px; color:var(--home-text); font-size:clamp(34px,3.8vw,52px); font-weight:600; line-height:1.13; letter-spacing:-.035em; text-transform:none; }
.bd-home .bd-home__heading { margin:0 0 20px; color:var(--home-text); font-size:clamp(27px,2.6vw,36px); font-weight:600; line-height:1.2; letter-spacing:-.025em; text-transform:none; }
.bd-home .bd-home__eyebrow { margin-bottom:10px; color:var(--home-deep); font-size:12px; line-height:1.5; letter-spacing:.12em; font-weight:700; text-transform:uppercase; }
.bd-home .bd-home__name { margin-bottom:28px; color:var(--home-text); font-size:24px; font-weight:600; line-height:1.3; }
.bd-home .bd-home__lead { font-size:18px; line-height:1.75; }
.bd-home .bd-home__hero { position:relative; isolation:isolate; display:grid; align-items:center; min-height:520px; padding:64px 0; background:var(--home-soft); }
.bd-home .bd-home__hero-picture { position:absolute; inset:0; z-index:-2; }
.bd-home .bd-home__hero-picture img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.bd-home .bd-home__hero--image::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(245,250,250,.94),rgba(245,250,250,.75) 40%,rgba(245,250,250,0) 72%); pointer-events:none; }
.bd-home .bd-home__hero-content { width:58%; max-width:680px; }
.bd-home .bd-home__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.bd-home .bd-home__button { display:inline-flex; align-items:center; justify-content:center; gap:12px; max-width:100%; min-height:48px; padding:15px 23px; border:1px solid var(--home-deep); border-radius:7px; background:var(--home-deep); color:#fff !important; font-size:15px; font-weight:650; line-height:1.4; letter-spacing:normal; text-decoration:none !important; text-transform:none; text-align:center; white-space:normal; }
.bd-home .bd-home__button span { min-width:0; }
.bd-home .bd-home__button svg { flex:0 0 18px; width:18px; height:18px; }
.bd-home .bd-home__button:hover { background:#286864; }
.bd-home .bd-home__button--secondary { background:rgba(255,255,255,.85); color:var(--home-deep) !important; }
.bd-home .bd-home__button--secondary:hover { background:var(--home-soft); }
.bd-home .bd-home__button:focus-visible { outline:3px solid var(--home-deep); outline-offset:4px; }
.bd-home .bd-home__body { display:grid; gap:36px; padding-block:48px 64px; }
.bd-home .bd-home__overview { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:28px; align-items:start; }
.bd-home .bd-home__overview--single { grid-template-columns:minmax(0,1fr); }
.bd-home .bd-home__overview-left { display:grid; gap:28px; min-width:0; }
.bd-home .bd-home__panel { min-width:0; margin:0; padding:32px; border:1px solid var(--home-border); border-radius:24px; background:#fff; }
.bd-home .bd-home__recognition { background:var(--home-pale); }
.bd-home ul.bd-home__clouds { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 12px; margin:28px 0 !important; padding:0 !important; list-style:none !important; }
.bd-home ul.bd-home__clouds > li { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:center; min-width:0; min-height:122px; padding:28px 18px !important; margin:0 !important; list-style:none !important; color:var(--home-text); font-size:16px; line-height:1.5; font-weight:500; text-align:center; }
.bd-home ul.bd-home__clouds > li::before { content:""; position:absolute; inset:0; z-index:-1; border-radius:var(--cloud-shape,45%); background:#d7eeeb; }
.bd-home ul.bd-home__clouds > li:nth-child(3n+2)::before { background:#c4e5e2; }
.bd-home ul.bd-home__clouds > li:nth-child(3n)::before { background:#e2f0ef; }
.bd-home ul.bd-home__clouds > li::after { content:none; }
.bd-home ul.bd-home__clouds > li::marker { content:""; }
.bd-home .bd-home__list-intro { font-weight:600; }
.bd-home ul.bd-home__list { margin:22px 0 28px !important; padding:0 !important; list-style:none !important; }
.bd-home ul.bd-home__list > li { position:relative; margin:0 0 12px !important; padding:0 0 0 24px !important; list-style:none !important; }
.bd-home ul.bd-home__list > li::before { content:""; position:absolute; width:7px; height:7px; border-radius:50%; background:#4b9692; top:11px; left:0; }
.bd-home .bd-home__process { background:var(--home-soft); }
.bd-home ol.bd-home__steps { counter-reset:home-step; display:grid; gap:18px; margin:28px 0 !important; padding:0 !important; list-style:none !important; }
.bd-home ol.bd-home__steps > li { counter-increment:home-step; display:grid; grid-template-columns:36px minmax(0,1fr); gap:14px; align-items:start; margin:0 !important; padding:22px !important; list-style:none !important; border:1px solid var(--home-border); border-radius:18px; background:rgba(255,255,255,.85); }
.bd-home ol.bd-home__steps > li::before { content:counter(home-step,decimal-leading-zero); position:static; color:var(--home-deep); font-size:23px; font-weight:600; line-height:1.3; }
.bd-home ol.bd-home__steps > li::after { content:none; }
.bd-home ol.bd-home__steps > li::marker { content:""; }
.bd-home .bd-home__steps h3 { margin:0 0 8px; color:var(--home-text); font-size:20px; font-weight:600; line-height:1.3; text-transform:none; }
.bd-home .bd-home__steps p { margin:0; font-size:16px; line-height:1.65; }
.bd-home .bd-home__about { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:40px; align-items:center; background:var(--home-pale); }
.bd-home .bd-home__about--single { grid-template-columns:minmax(0,1fr); }
.bd-home .bd-home__portrait { width:100%; max-width:380px; height:auto; display:block; border-radius:20px; justify-self:center; }
.bd-home ul.bd-home__tags { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 !important; padding:0 !important; list-style:none !important; }
.bd-home ul.bd-home__tags > li { margin:0 !important; padding:7px 12px !important; border:1px solid var(--home-border); border-radius:20px; background:var(--home-soft); color:var(--home-deep); font-size:13px; line-height:1.4; list-style:none !important; }
.bd-home ul.bd-home__tags > li::before, .bd-home ul.bd-home__tags > li::after { content:none; }
.bd-home .bd-home__rich { margin-bottom:24px; }
.bd-home .bd-home__rich ul, .bd-home .bd-home__rich ol { padding-left:24px; }
.bd-home .bd-home__services { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; scroll-margin-top:100px; }
.bd-home .bd-home__anchor { position:absolute; top:0; left:0; scroll-margin-top:100px; }
.bd-home .bd-home__service { display:flex; flex-direction:column; align-items:flex-start; background:linear-gradient(145deg,var(--home-pale),var(--home-soft)); }
.bd-home .bd-home__service .bd-home__heading { font-size:26px; }
.bd-home .bd-home__service .bd-home__button { margin-top:auto; }
.bd-home .bd-home__reading { display:flex; flex-wrap:wrap; align-items:center; gap:28px; }
.bd-home .bd-home__reading > img { width:160px; max-width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:14px; }
.bd-home .bd-home__reading > div { flex:1 1 280px; min-width:0; }
.bd-home .bd-home__reading .bd-home__heading { font-size:28px; }
.bd-home .bd-home__cta { display:flex; flex-wrap:wrap; align-items:center; gap:28px; background:var(--home-soft); }
.bd-home .bd-home__cta > div { flex:1 1 400px; min-width:0; }
@media (max-width:991px) {
    .bd-home .bd-home__overview { grid-template-columns:minmax(0,1fr); }
    .bd-home .bd-home__hero-content { width:68%; }
    .bd-home .bd-home__about { gap:28px; }
}
@media (max-width:767px) {
    .bd-home { font-size:16px; }
    .bd-home .bd-home__container { width:calc(100% - 32px); }
    .bd-home .bd-home__hero { min-height:0; padding:36px 0; }
    /* Mobilus vizualas: laisva vieta viršuje, žmogus apačioje. */
    .bd-home .bd-home__hero--image { padding-bottom:clamp(240px,65vw,380px); }
    .bd-home .bd-home__hero-picture img { object-position:center bottom; }
    .bd-home .bd-home__hero--image::before { background:linear-gradient(180deg,rgba(245,250,250,.97),rgba(245,250,250,.85) 48%,rgba(245,250,250,0) 78%); }
    .bd-home .bd-home__hero-content { width:100%; max-width:none; }
    .bd-home .bd-home__name { font-size:21px; margin-bottom:22px; }
    .bd-home .bd-home__lead { font-size:17px; }
    .bd-home .bd-home__actions { flex-direction:column; }
    .bd-home .bd-home__actions .bd-home__button { width:100%; }
    .bd-home .bd-home__body { gap:24px; padding-block:28px 40px; }
    .bd-home .bd-home__panel { padding:26px 22px; border-radius:20px; }
    .bd-home .bd-home__overview, .bd-home .bd-home__overview-left { gap:24px; }
    .bd-home ul.bd-home__clouds { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 10px; }
    .bd-home ul.bd-home__clouds > li { min-height:112px; padding:26px 16px !important; }
    .bd-home .bd-home__about, .bd-home .bd-home__services { grid-template-columns:minmax(0,1fr); }
    .bd-home .bd-home__reading > img { width:100%; max-width:260px; }
    .bd-home .bd-home__reading > div, .bd-home .bd-home__cta > div { flex-basis:100%; }
    .bd-home .bd-home__cta > .bd-home__button { width:100%; }
}
@media (max-width:360px) { .bd-home ul.bd-home__clouds { grid-template-columns:minmax(0,1fr); } }

/* Hero: naudoti WPBakery eilutėje „Stretch row and content (no paddings)“. */
.bd-home .bd-home__hero {
    width: 100%;
    max-width: 100%;
}
@media (min-width: 768px) {
    .bd-home .bd-home__hero {
        min-height: clamp(520px, 38vw, 720px);
        padding-block: 64px;
    }
    .bd-home .bd-home__hero-content {
        width: 56%;
        max-width: 660px;
    }
    .bd-home .bd-home__hero-picture img {
        object-position: right center;
    }
}
/* Telefonas: kompaktiški mygtukai po tekstu kairėje. */
@media (max-width: 767px) {
    .bd-home .bd-home__hero {
        display: block;
        position: relative;
        isolation: isolate;
        min-height: 0;
        padding: 72px 0 24px;
        background: var(--home-pale);
    }
    .bd-home .bd-home__hero--image { padding-bottom: 24px; }
    .bd-home .bd-home__hero > .bd-home__container {
        position: relative;
        z-index: 1;
        padding-block: 0;
    }
    .bd-home .bd-home__hero-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        background: transparent;
    }
    .bd-home .bd-home__hero--image .bd-home__hero-content {
        min-height: calc(clamp(700px, 175vw, 1040px) - 50px);
    }
    .bd-home .bd-home__hero-picture {
        position: absolute;
        inset: 0;
        z-index: -2;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
    }
    .bd-home .bd-home__hero-picture img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right bottom;
    }
    .bd-home .bd-home__hero--image::before { content: none; }
    .bd-home .bd-home__hero .bd-home__title {
        font-size: clamp(28px, 7.4vw, 36px);
        line-height: 1.14;
        margin-bottom: 16px;
    }
    .bd-home .bd-home__hero .bd-home__eyebrow { font-size: 11px; }
    .bd-home .bd-home__hero .bd-home__name { font-size: 20px; margin-bottom: 20px; }
    .bd-home .bd-home__hero .bd-home__lead { max-width: 75%; font-size: 16px; line-height: 1.6; margin-bottom: 0; }
    .bd-home .bd-home__actions {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        width: min(220px, 60%);
        gap: 8px;
        margin-top: 16px;
    }
    /* Mygtukai lieka sraute: ilgesnis ACF tekstas nepersidengs su jais. */
    .bd-home .bd-home__hero--image .bd-home__actions {
        margin-top: 16px;
        padding-top: 0;
    }
    .bd-home .bd-home__actions .bd-home__button {
        flex: 0 1 auto;
        width: fit-content;
        max-width: 100%;
        white-space: normal;
        min-width: 0;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.4;
        gap: 6px;
    }
    .bd-home .bd-home__actions .bd-home__button svg {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }
}
