/* ===========================================================
   VILNIAUS TURTAS - BROKER PROFILE
   Built from "Brokerio Profilis (standalone)"; the design's
   #3a537d is mapped to the site navy #013147.
   =========================================================== */
.vt-broker-page {
    --n:  #013147;   /* navy band            */
    --d:  #2c3e5e;   /* deep card            */
    --b:  #3f7ab0;   /* accent blue          */
    --s:  #8db4d8;   /* sky, on dark         */
    --p:  #c3cede;   /* pale text, on dark   */
    --bg: #faf9f7;   /* page                 */
    --ink:#1a1a1a;
    --mut:#555555;
    --ln: #e6e3dd;   /* card border          */
    --ln2:#d5d1c9;   /* input border         */
    --rl: #ddd8d0;   /* hairline rule        */
    background: var(--bg);
    color: var(--ink);
}
/* The floating header runs edge-to-edge with a 32px gutter, and so do the
   other plugin pages (.vtbl-container, .vt-page-wrap). Match them, or the
   profile reads as a narrow column pinned under a full-width header. */
.vtb-wrap { max-width: none; margin: 0 auto; }

/* ---------- section shell ---------- */
.vtb-sec { padding: 56px 32px 0; }
.vtb-sec--estates { padding-bottom: 72px; }
.vtb-sec__head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 28px;
}
.vtb-sec__head h2 { font-size: 26px; font-weight: 700; margin: 0; color: var(--ink); line-height: 1.25; }
.vtb-rule { flex: 1; height: 1px; background: var(--rl); }
.vtb-sec__score { font-size: 14px; font-weight: 700; color: var(--n); white-space: nowrap; }

.vtb-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--s);
    margin-bottom: 12px;
}
.vtb-card {
    background: #fff;
    border: 1px solid var(--ln);
    border-radius: 6px;
}

/* ===========================================================
   HERO
   =========================================================== */
.vtb-hero { background: var(--n); padding: 40px 32px 56px; }
.vtb-hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .75fr .95fr;
    gap: 32px;
    align-items: stretch;
}
.vtb-hero__info { display: flex; flex-direction: column; }

.vtb-crumbs { display: flex; gap: 8px; font-size: 13px; margin-bottom: 22px; flex-wrap: wrap; }
.vtb-crumbs a    { color: var(--p); text-decoration: none; }
.vtb-crumbs a:hover { color: #fff; }
.vtb-crumbs span { color: #8fa0b8; }
.vtb-crumbs em   { color: var(--s); font-weight: 600; font-style: normal; }

.vtb-h1 { font-size: 38px; font-weight: 700; color: #fff; margin: 0 0 14px; line-height: 1.15; }
.vtb-hero__lead { margin: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--p); }

.vtb-facts { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.vtb-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #e6ecf4;
    font-weight: 600;
}
.vtb-facts svg { color: var(--s); flex-shrink: 0; }

.vtb-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.vtb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: background .16s, border-color .16s;
}
.vtb-btn--primary { background: var(--b); color: #fff; padding: 13px 20px; border: 1.5px solid var(--b); }
.vtb-btn--primary:hover, .vtb-btn--primary:focus { background: #5b93c4; border-color: #5b93c4; color: #fff; }
.vtb-btn--ghost { border: 1.5px solid var(--s); color: #fff; padding: 12px 20px; background: none; }
.vtb-btn--ghost:hover, .vtb-btn--ghost:focus { background: rgba(141,180,216,.15); color: #fff; }

.vtb-photo {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
    background: var(--d);
}
.vtb-photo--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    font-weight: 700;
    color: rgba(255,255,255,.5);
}

/* ===========================================================
   APIE BROKERI
   =========================================================== */
.vtb-about { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
.vtb-bio { padding: 28px 32px; }
.vtb-bio__block + .vtb-bio__block { margin-top: 18px; }
.vtb-bio__head {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--b);
    margin: 6px 0 8px;
}
.vtb-bio__body { font-size: 14.5px; line-height: 1.75; color: var(--ink); white-space: pre-line; }
.vtb-bio__empty { display: flex; gap: 16px; align-items: flex-start; }
.vtb-bio__empty-ico {
    width: 40px; height: 40px; border-radius: 6px; background: #eef3f8;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--b);
}
.vtb-bio__empty > span:last-child { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--mut); }
.vtb-bio__empty strong { font-size: 15px; font-weight: 700; color: var(--ink); }

.vtb-side {
    background: var(--d);
    border-radius: 6px;
    padding: 26px;
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vtb-side__label {
    font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--s); margin-bottom: 4px;
}
.vtb-side__row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(141,180,216,.12);
    border: 1px solid rgba(141,180,216,.35);
    border-radius: 6px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--s);
    transition: background .16s;
}
.vtb-side__row:hover, .vtb-side__row:focus { background: rgba(141,180,216,.22); color: var(--s); }
.vtb-side__row svg { flex-shrink: 0; }
.vtb-side__row > span { display: flex; flex-direction: column; min-width: 0; }
.vtb-side__row small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--s); text-transform: uppercase; }
.vtb-side__row b { font-size: 15px; font-weight: 700; color: #fff; }
.vtb-side__mail b { overflow-wrap: anywhere; }
.vtb-side__stat {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 14px; margin-top: 4px;
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.vtb-side__stat span { font-size: 13.5px; color: var(--p); }
.vtb-side__stat b    { font-size: 16px; font-weight: 700; color: #fff; }

/* ===========================================================
   ATSILIEPIMAI
   =========================================================== */
/* align-items:start keeps a one-line review from stretching to the tallest card */
.vtb-revgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.vtb-rev {
    background: #fff;
    border: 1px solid var(--ln);
    border-radius: 6px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vtb-rev[hidden] { display: none; }
.vtb-rev__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.vtb-rev__stars { font-size: 14px; letter-spacing: 2px; white-space: nowrap; }
.vtb-rev__stars b { color: var(--n); font-weight: 400; }
.vtb-rev__stars i { color: #cfc9bd; font-style: normal; }
.vtb-rev__date { font-size: 12.5px; color: #8a959f; white-space: nowrap; }
.vtb-rev__text { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink); flex: 1; }
.vtb-rev__name { font-size: 13px; font-weight: 700; color: var(--n); border-top: 1px solid #f0ede6; padding-top: 12px; }

.vtb-revmore { display: flex; justify-content: center; margin-top: 20px; }
.vtb-morebtn {
    background: #fff;
    border: 1px solid var(--ln2);
    border-radius: 6px;
    padding: 11px 24px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    font-family: inherit;
    transition: border-color .16s, color .16s;
}
.vtb-morebtn:hover, .vtb-morebtn:focus { border-color: var(--b); color: var(--b); }
.vtb-morebtn[hidden] { display: none; }

.vtb-revform { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: stretch; margin-top: 24px; }
.vtb-revform__aside {
    background: var(--d);
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.vtb-revform__ico {
    width: 40px; height: 40px; border-radius: 6px; background: rgba(141,180,216,.15);
    display: flex; align-items: center; justify-content: center; color: var(--s);
}
.vtb-revform__title { font-size: 19px; font-weight: 700; color: #fff; line-height: 1.35; }
.vtb-revform__sub   { margin: 0; font-size: 14px; line-height: 1.6; color: var(--p); }
.vtb-revform__note {
    font-size: 12.5px; color: #8fa0b8;
    display: flex; align-items: center; gap: 8px; margin-top: auto;
}
.vtb-revform__note svg { color: var(--s); flex-shrink: 0; }
.vtb-revform__box { background: #fff; border: 1px solid var(--ln); border-radius: 6px; padding: 28px; }

/* ---------- review form ---------- */
.vtb-form { display: flex; flex-direction: column; gap: 14px; }
.vtb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vtb-form label,
.vtb-form__lbl {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mut);
}
.vtb-form input[type="text"],
.vtb-form input[type="email"],
.vtb-form textarea {
    padding: 11px 13px;
    font-size: 14px;
    border: 1px solid var(--ln2);
    border-radius: 6px;
    color: var(--ink);
    background: #fff;
    font-family: inherit;
    min-width: 0;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}
.vtb-form textarea { resize: vertical; }
.vtb-form input:focus, .vtb-form textarea:focus { outline: none; border-color: var(--b); box-shadow: 0 0 0 3px rgba(63,122,176,.14); }

.vtb-form__stars { display: flex; flex-direction: column; gap: 6px; }
.vtb-stars-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vtb-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.vtb-stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.vtb-stars label {
    font-size: 26px;
    line-height: 1;
    color: #d9d4ca;
    cursor: pointer;
    padding: 2px;
    display: block;
    transition: color .12s;
}
.vt-broker-page .vtb-stars label:hover,
.vt-broker-page .vtb-stars label:hover ~ label,
.vt-broker-page .vtb-stars input[type="radio"]:checked ~ label { color: #013147; }
.vtb-stars input:focus-visible + label { outline: 2px solid var(--b); outline-offset: 2px; border-radius: 4px; }
.vtb-stars__label { font-size: 13px; font-weight: 600; color: var(--mut); }

.vtb-form__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vt-btn-submit {
    background: var(--b);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 22px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: background .16s;
}
.vt-btn-submit:hover, .vt-btn-submit:focus { background: #5b93c4; }
.vt-btn-submit[disabled] { opacity: .6; cursor: default; }
.vtb-form-msg { font-size: 13px; font-weight: 600; }
.vt-form-msg--ok  { color: #1e7a4c; }
.vt-form-msg--err { color: #c0392b; }

/* ===========================================================
   NT PORTFELIS
   =========================================================== */
.vtb-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.vtb-tab {
    border: 1px solid var(--ln2);
    background: #fff;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: background .16s, border-color .16s, color .16s;
}
.vtb-tab:hover, .vtb-tab:focus { border-color: var(--b); color: var(--b); }
.vtb-tab.is-on, .vtb-tab.is-on:hover, .vtb-tab.is-on:focus { background: var(--b); border-color: var(--b); color: #fff; }

.vtb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vtb-empty { font-size: 15px; color: var(--mut); }

/* ===========================================================
   CTA
   =========================================================== */
.vtb-cta { background: var(--d); padding: 0 32px; margin-top: 8px; }
.vtb-cta__inner {
    padding: 56px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
.vtb-cta__h { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.35; max-width: 620px; text-wrap: pretty; }
.vtb-cta__links { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1100px) {
    .vtb-hero__inner { grid-template-columns: 1fr 1fr; }
    .vtb-form-col    { grid-column: 1 / -1; }
    .vtb-about       { grid-template-columns: 1fr; }
    .vtb-side        { position: static; }
    .vtb-grid        { grid-template-columns: repeat(2, 1fr); }
    .vtb-revform     { grid-template-columns: 1fr; }
    .vtb-revgrid     { grid-template-columns: 1fr 1fr; }
    .vtb-cta__inner  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .vtb-hero        { padding-left: 20px; padding-right: 20px; }
    .vtb-sec         { padding-left: 20px; padding-right: 20px; }
    .vtb-cta         { padding-left: 20px; padding-right: 20px; }
    .vtb-hero__inner { grid-template-columns: 1fr; gap: 24px; }
    .vtb-grid        { grid-template-columns: 1fr; }
    .vtb-revgrid     { grid-template-columns: 1fr; }
    .vtb-h1          { font-size: 30px; }
    .vtb-photo       { max-height: 340px; min-height: 0; }
    .vtb-sec__head   { flex-wrap: wrap; gap: 10px; }
    .vtb-sec__head h2{ font-size: 22px; }
    .vtb-rule        { display: none; }
    .vtb-bio         { padding: 22px 20px; }
    .vtb-revform__aside, .vtb-revform__box { padding: 22px 20px; }
    .vtb-form__row   { grid-template-columns: 1fr; }
    .vtb-cta__h      { font-size: 21px; }
    .vtb-cta__links  { min-width: 0; }
}

/* Photo placeholder: under the <img>, so it also covers URLs that fail
   to load - several CRM avatars point at dead redirects. */
.vt-broker-page .vtb-photo-wrap { position: relative; overflow: hidden; background: var(--d); }
.vt-broker-page .vtb-photo-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 1; }
.vtb-photo__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #2c3e5e 0%, #013147 100%); color: #fff; overflow: hidden; }
.vtb-photo__ph svg  { position: absolute; width: 58%; height: auto; color: var(--s); opacity: .22; transform: translateY(6%); }
.vtb-photo__ph span { position: relative; font-size: 64px; font-weight: 700; letter-spacing: 4px; text-indent: 4px; line-height: 1; }
@media (max-width: 640px) { .vtb-photo__ph span { font-size: 46px; } }

/* ===========================================================
   ALIGN WITH HEADER
   The floating header sits at 32px but its logo starts at 52px,
   so page content flush at 32px reads as glued to the edge.
   =========================================================== */
@media (min-width: 1100px) {
    .vt-broker-page .vtb-hero { padding-left: 52px; padding-right: 52px; }
    .vt-broker-page .vtb-sec  { padding-left: 52px; padding-right: 52px; }
    .vt-broker-page .vtb-cta  { padding-left: 52px; padding-right: 52px; }
}
