/* Ren&Fin – dizaino sistema „Klart glass“. Mobile-first. */

@font-face {
	font-family: "Schibsted Grotesk";
	src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--navy: #14284b;
	--navy-2: #0e1d38;
	--glass: #f3f6f9;
	--wall: #e3e9ef;
	--mist: #dce5ee;
	--aqua: #2ec4b6;
	--aqua-lys: #4fd3c7;
	--steel: #56657a;
	--white: #fff;
	--font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r: 2px;
	--wrap: 1240px;
	--gut: clamp(1rem, 4vw, 2.5rem);
	--hdr: 84px;
	--sec: clamp(4rem, 9vw, 7.5rem);
}

/* Pagrindas */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--navy); background: var(--glass); }
img, video, iframe { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }
.container { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.container--narrow > * { max-width: 820px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; padding: .5rem 1rem; background: var(--white); }
.h-xl { font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1; letter-spacing: -.03em; }

/* Mygtukai */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.5rem; font: inherit; font-weight: 600; text-align: center; text-decoration: none; color: var(--navy); background: var(--aqua); border: 0; border-radius: var(--r); cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { background: var(--aqua-lys); }
.btn--line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--line:hover { color: var(--white); background: var(--navy); }
.btn--light { color: var(--white); background: transparent; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .6); }
.btn--light:hover { color: var(--navy); background: var(--white); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* Antraštė */
.site-header__inner { display: flex; align-items: center; gap: 2rem; min-height: var(--hdr); }
.site-logo { flex: none; text-decoration: none; font-weight: 800; }
.site-logo img { height: 52px; width: auto; }
.site-nav { display: none; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a { position: relative; font-weight: 500; text-decoration: none; }
.site-header__tel { display: none; padding: .7rem 1.1rem; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--white); background: var(--navy); border-radius: var(--r); }
.site-header__tel:hover { background: var(--navy-2); }
.nav-toggle { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--navy); background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; position: relative; width: 18px; height: 2px; background: currentColor; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
@media (min-width: 960px) {
	.site-nav { display: block; margin-left: auto; }
	.site-nav__list { display: flex; gap: 2rem; }
	.site-nav__list a { font-size: .9875rem; }
	.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
	.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after { transform: scaleX(1); }
	.site-header__tel { display: block; }
	.nav-toggle { display: none; }
}


/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: calc(var(--hdr) + clamp(2rem, 5vw, 4rem)) clamp(3.5rem, 8vw, 6.5rem); background: linear-gradient(165deg, #d9e1ea 0%, var(--wall) 55%, #edf1f5 100%); }
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { margin: 0; max-width: 13ch; font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: .98; letter-spacing: -.035em; }
.hero__lead { margin: 1.75rem 0 0; max-width: 46ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--steel); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; max-width: 34rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgb(20 40 75 / .12); }
.proof__item { display: flex; align-items: center; gap: .7rem; font-size: .875rem; line-height: 1.3; color: var(--steel); }
.proof__item img { height: 40px; width: auto; }
.shot { position: relative; justify-self: end; width: min(100%, 470px); }
.shot__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); box-shadow: 0 40px 80px -40px rgb(20 40 75 / .45); }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
.fog { position: absolute; inset: 0; background: linear-gradient(160deg, rgb(243 246 249 / .82), rgb(220 229 238 / .78)); -webkit-backdrop-filter: blur(14px) saturate(.6); backdrop-filter: blur(14px) saturate(.6); clip-path: inset(0 0 0 0); animation: wipe 1.5s cubic-bezier(.65, 0, .25, 1) .5s forwards; }
.blade { position: absolute; top: -6%; bottom: -6%; left: 0; width: 10px; opacity: 0; transform: translateX(-20px) skewX(-6deg); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .95) 45%, rgb(255 255 255 / .95) 55%, transparent); box-shadow: 0 0 24px 6px rgb(255 255 255 / .6); animation: blade 1.5s cubic-bezier(.65, 0, .25, 1) .5s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 100%); } }
@keyframes blade { 0% { opacity: 0; } 8%, 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(480px) skewX(-6deg); } }
.shot__tag { position: absolute; left: -1.25rem; bottom: 2rem; max-width: 15rem; padding: 1rem 1.25rem; background: var(--white); border-left: 3px solid var(--aqua); box-shadow: 0 20px 40px -24px rgb(20 40 75 / .35); }
.shot__tag strong { display: block; }
.shot__tag span { font-size: .875rem; color: var(--steel); }
@media (max-width: 959px) { .shot { justify-self: start; } .shot__tag { left: 1rem; } }

/* Sekcijos */
.sec { padding-block: var(--sec); }
.sec--white { background: var(--white); }
.sec--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.sec--navy { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy); }
.sec__head { display: grid; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) { .sec__head { grid-template-columns: 1fr 1fr; } }
.sec__head h2 { margin: 0; font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1; letter-spacing: -.03em; }
.sec__head p { margin: 0; max-width: 46ch; font-size: 1.125rem; color: var(--steel); }

/* Paslaugų katalogas */
.svc { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 960px) { .svc { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.svc__media { position: sticky; top: 2rem; display: none; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--mist); }
@media (min-width: 960px) { .svc__media { display: block; } }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .45s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.svc__media img.is-on { opacity: 1; transform: scale(1); }
.svc__media figcaption { position: absolute; left: 0; bottom: 0; padding: .9rem 1.1rem; font-weight: 600; font-size: .9375rem; color: var(--white); background: var(--navy); }
.svc__group + .svc__group { margin-top: 3rem; }
.svc__group h3 { margin: 0 0 .5rem; padding-bottom: .75rem; font-size: 1rem; font-weight: 600; color: var(--steel); border-bottom: 2px solid var(--navy); }
.svc__list { list-style: none; margin: 0; padding: 0; }
.svc__all { margin-top: 2.5rem; }
.row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; align-items: center; padding: 1.35rem .25rem 1.35rem 0; text-decoration: none; border-bottom: 1px solid var(--mist); transition: padding .3s cubic-bezier(.2, .7, .2, 1), background-color .3s ease; }
.row__name { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -.015em; }
.row__desc { grid-column: 1; font-size: .9875rem; color: var(--steel); }
.row__icon { grid-row: 1 / span 2; grid-column: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--mist); border-radius: var(--r); transition: background-color .3s ease, border-color .3s ease, transform .3s ease; }
.row__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2; transition: stroke .3s ease; }
.row:hover, .row:focus-visible { padding-left: 1rem; background: var(--glass); }
.row:hover .row__icon, .row:focus-visible .row__icon { background: var(--navy); border-color: var(--navy); transform: rotate(-45deg); }
.row:hover .row__icon svg, .row:focus-visible .row__icon svg { stroke: var(--white); }
.row__thumb { display: none; }
@media (max-width: 959px) {
	.row { grid-template-columns: 72px 1fr auto; padding-right: 0; }
	.row__thumb { display: block; grid-row: 1 / span 2; width: 72px; height: 72px; object-fit: cover; border-radius: var(--r); }
	.row__name, .row__desc { grid-column: 2; }
	.row__icon { grid-column: 3; width: 36px; height: 36px; }
	.row:hover, .row:focus-visible { padding-left: 0; }
}

/* Om oss */
.about { display: grid; gap: clamp(3rem, 6vw, 5rem); }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; align-items: start; } }
.about h2 { max-width: 14ch; margin: 0; }
.about__text { max-width: 46ch; margin: 1.5rem 0 0; font-size: 1.125rem; color: rgb(255 255 255 / .78); }
.people { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }
.person { width: min(200px, calc(50% - .75rem)); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--r); }
.person strong { display: block; margin-top: .85rem; font-size: 1.0625rem; }
.person span { font-size: .9375rem; color: rgb(255 255 255 / .65); }
.promise { margin: 0; }
.promise div { display: grid; gap: .35rem; padding: 1.4rem 0; border-top: 1px solid rgb(255 255 255 / .16); }
.promise div:last-child { border-bottom: 1px solid rgb(255 255 255 / .16); }
@media (min-width: 640px) { .promise div { grid-template-columns: 15rem 1fr; gap: 2rem; } }
.promise dt { font-weight: 700; font-size: 1.125rem; }
.promise dd { margin: 0; color: rgb(255 255 255 / .72); }

/* Eiga */
.steps { list-style: none; display: grid; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: 1.75rem 1.5rem 1.75rem 0; border-top: 2px solid var(--mist); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1.25rem; font-weight: 700; color: var(--navy); background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--r); }
.step:first-child { border-top-color: var(--navy); }
.step:first-child::before { color: var(--white); background: var(--navy); }
.step h3 { margin: 0 0 .4rem; font-size: 1.1875rem; letter-spacing: -.01em; }
.step p { max-width: 28ch; margin: 0; font-size: .9875rem; color: var(--steel); }
@media (max-width: 899px) { .step { padding: 1.5rem 0; } }

/* Atsiliepimai */
.quotes { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) { .quotes { grid-template-columns: 1.15fr .85fr; } }
.quote-main blockquote { margin: 0; font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.25; letter-spacing: -.02em; }
.quote-main blockquote::before { content: "«"; display: block; margin-bottom: .5rem; font-size: 3.5rem; line-height: .6; color: var(--aqua); }
.quote-main figcaption { margin-top: 1.5rem; color: var(--steel); }
.quote-main figcaption strong { color: var(--navy); }
.quote-list { list-style: none; margin: 0; padding: 0; }
.quote-list li { padding: 1.25rem 0; border-top: 1px solid var(--mist); }
.quote-list li:last-child { border-bottom: 1px solid var(--mist); }
.quote-list p { margin: 0; }
.quote-list cite { display: block; margin-top: .5rem; font-style: normal; font-weight: 600; font-size: .9375rem; color: var(--steel); }
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--mist); }
.clients h3 { margin: 0 1rem 0 0; font-size: 1rem; font-weight: 600; color: var(--steel); }
.clients img { height: 36px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; }

/* DUK */
.faq { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; } }
.faq h2 { margin: 0; }
.faq__aside p { max-width: 34ch; margin: 1.25rem 0 0; color: var(--steel); }
.faq__aside a { font-weight: 600; }
.faq details { border-top: 1px solid var(--mist); }
.faq details:last-child { border-bottom: 1px solid var(--mist); }
.faq summary { position: relative; display: block; padding: 1.35rem 3rem 1.35rem 0; font-weight: 600; font-size: 1.125rem; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 16px; height: 2px; background: var(--navy); transition: transform .25s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { max-width: 60ch; margin: 0 0 1.5rem; color: var(--steel); }

/* Kontaktai + CF7 */
.contact { display: grid; overflow: hidden; border-radius: var(--r); box-shadow: 0 40px 80px -50px rgb(20 40 75 / .5); }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; } }
.contact__info { padding: clamp(2rem, 5vw, 3.5rem); color: var(--white); background: var(--navy); }
.contact__info h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.25rem); }
.contact__info p { max-width: 34ch; margin: 1.25rem 0 0; color: rgb(255 255 255 / .75); }
.contact__big { display: block; margin-top: 2.5rem; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; text-decoration: none; }
.contact__big:hover { color: var(--aqua); }
.contact__mail { display: inline-block; margin-top: .5rem; font-size: 1.125rem; }
.contact__info .contact__note { margin-top: 2.5rem; padding-top: 1.5rem; font-size: .9375rem; border-top: 1px solid rgb(255 255 255 / .16); }
.contact__form { padding: clamp(2rem, 5vw, 3.5rem); background: var(--white); }
.form { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9375rem; }
.form .wpcf7-form-control-wrap { display: block; }
.form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) { width: 100%; padding: .85rem .9rem; font: inherit; font-weight: 400; color: var(--navy); background: var(--glass); border: 1px solid var(--mist); border-radius: var(--r); }
.form :is(input, select, textarea):focus { outline: none; background: var(--white); border-color: var(--navy); box-shadow: 0 0 0 3px rgb(46 196 182 / .35); }
.form textarea { min-height: 8rem; resize: vertical; }
.form .check label, .form .wpcf7-acceptance label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .875rem; color: var(--steel); }
.form .check input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--navy); }
.form .wpcf7-list-item { margin: 0; }
.form .btn { justify-self: start; }
.wpcf7-not-valid-tip { margin-top: .3rem; font-weight: 400; font-size: .875rem; color: #b42318; }
.wpcf7 form .wpcf7-response-output { margin: 1.25rem 0 0; padding: .85rem 1rem; font-size: .9375rem; border-radius: var(--r); }
.wpcf7-spinner { margin: .75rem 0 0; }

/* Vidinių puslapių antraštė */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: calc(var(--hdr) + clamp(2rem, 5vw, 3.5rem)) clamp(3rem, 6vw, 4.5rem); background: linear-gradient(165deg, #d9e1ea 0%, var(--wall) 60%, #edf1f5 100%); }
.page-hero h1 { max-width: 20ch; margin: 0; font-weight: 800; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.page-hero__lead { max-width: 56ch; margin: 1.25rem 0 0; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--steel); }
.page-hero .eyebrow { margin: 0 0 1rem; font-weight: 600; font-size: .9375rem; color: var(--steel); }
.page-hero .eyebrow a { text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }

/* Turinys */
.entry { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.entry-thumbnail { margin: 0 0 2.5rem; }
.entry-thumbnail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.entry-back { margin-top: 3rem; }
.entry-back a { font-weight: 600; }
.layout { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .layout__aside { position: sticky; top: 2rem; } }
.box { padding: 1.75rem; background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); }
.box + .box { margin-top: 1.25rem; }
.box h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.box--cta { color: var(--white); background: var(--navy); border-color: var(--navy); }
.box--cta p { margin: 0 0 1.25rem; color: rgb(255 255 255 / .75); }
.box--cta .btn { width: 100%; }

/* Kortelės (tjenester, blogg, paieška) */
.cards, .posts-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-top: 2px solid var(--navy); }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem 1.5rem 1.75rem; }
.card__date { font-size: .875rem; color: var(--steel); }
.card__title { margin: .35rem 0 .6rem; font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.015em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__excerpt { margin: 0; color: var(--steel); }
.card__more { display: none; }
.card:hover .card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card:focus-within { outline: 2px solid var(--aqua); outline-offset: 3px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 3rem; }
.page-numbers { min-width: 44px; padding: .55rem .85rem; text-align: center; text-decoration: none; background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); }
.page-numbers.current { color: var(--white); background: var(--navy); border-color: var(--navy); }
.page-header { padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.page-title { font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.03em; }

/* Poraštė */
.site-footer { color: rgb(255 255 255 / .75); background: var(--navy-2); }
.site-footer__inner { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__logo img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.site-footer__about { max-width: 30ch; margin: 1rem 0 0; }
.site-footer h3 { margin: 0 0 1rem; font-size: 1rem; color: var(--white); }
.site-footer ul { list-style: none; display: grid; gap: .55rem; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; font-size: .875rem; border-top: 1px solid rgb(255 255 255 / .12); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.fog, .blade { animation: none; }
	.fog, .blade { display: none; }
	.row, .row__icon, .svc__media img, .site-nav__list a::after, .faq summary::after { transition: none; }
}

/* WP administravimo juosta (tik prisijungusiems) ir formos laukelis. */
.form textarea { height: 8rem; }

/* Breadcrumbs ir meta vidinių puslapių antraštėje. */
.crumbs { margin: 0 0 1.25rem; font-size: .9375rem; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs .breadcrumb_last { color: var(--navy); font-weight: 600; }
.page-hero__meta { margin: 1rem 0 0; font-size: .9375rem; color: var(--steel); }

/* ===== Glass fonas: matinio stiklo plokštės virš spalvotų formų, paralaksas (--mx/--my iš main.js) ===== */
.bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; --mx: 0; --my: 0; }
.tint { position: absolute; border-radius: var(--r); }
.tint--a { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; right: 6%; top: 8%; opacity: .55; background: linear-gradient(140deg, #2ec4b6 0%, #1b8f86 100%); transform: translate(calc(var(--mx) * -10px), calc(var(--my) * -10px)) rotate(12deg); }
.tint--b { width: 22vw; height: 40vw; max-width: 320px; max-height: 600px; right: 28%; top: 30%; opacity: .5; background: linear-gradient(160deg, #14284b, #2b4a7e); transform: translate(calc(var(--mx) * -6px), calc(var(--my) * -6px)) rotate(-8deg); }
.tint--c { width: 18vw; height: 18vw; max-width: 260px; max-height: 260px; left: 4%; bottom: -6%; opacity: .45; background: #9fb3cc; border-radius: 50%; transform: translate(calc(var(--mx) * -4px), calc(var(--my) * -4px)); }
.gpane { position: absolute; overflow: hidden; border-radius: var(--r); background: linear-gradient(135deg, rgb(255 255 255 / .62), rgb(255 255 255 / .16)); border: 1px solid rgb(255 255 255 / .8); box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 30px 60px -30px rgb(20 40 75 / .35); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); will-change: transform; }
.gpane::after { content: ""; position: absolute; top: -50%; bottom: -50%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .75) 50%, transparent); transform: skewX(-20deg); animation: glint 11s cubic-bezier(.45, 0, .2, 1) infinite; }
.gpane--1 { width: 46vw; height: 62vh; max-width: 700px; right: -4%; top: 6%; transform: translate(calc(var(--mx) * 18px), calc(var(--my) * 18px)) rotate(-6deg); animation: gfloat1 22s ease-in-out infinite alternate; }
.gpane--2 { width: 26vw; height: 36vh; max-width: 400px; right: 30%; top: 46%; transform: translate(calc(var(--mx) * 30px), calc(var(--my) * 30px)) rotate(5deg); animation: gfloat2 26s ease-in-out infinite alternate; }
.gpane--2::after { animation-delay: 3.5s; }
.gpane--3 { width: 16vw; height: 22vh; max-width: 240px; left: 38%; top: 4%; transform: translate(calc(var(--mx) * 42px), calc(var(--my) * 42px)) rotate(-12deg); animation: gfloat3 19s ease-in-out infinite alternate; }
.gpane--3::after { animation-delay: 6s; }
@keyframes gfloat1 { to { translate: 0 -18px; rotate: 1.5deg; } }
@keyframes gfloat2 { to { translate: 0 22px; rotate: -2deg; } }
@keyframes gfloat3 { to { translate: 0 -26px; rotate: 3deg; } }
@keyframes glint { 0% { left: -60%; } 40%, 100% { left: 130%; } }

/* Vidinių puslapių antraštė – mažesnė kompozicija */
.bg--page .tint--a { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; right: 4%; top: -18%; }
.bg--page .tint--b { width: 14vw; height: 26vw; max-width: 220px; max-height: 420px; right: 24%; top: 10%; }
.bg--page .tint--c { display: none; }
.bg--page .gpane--1 { width: 38vw; height: 130%; max-width: 560px; right: -6%; top: -15%; }
.bg--page .gpane--2 { width: 20vw; height: 70%; max-width: 300px; right: 22%; top: 40%; }
.bg--page .gpane--3 { width: 12vw; height: 40%; max-width: 180px; left: auto; right: 44%; top: -12%; }

/* Tamsi sekcija */
.bg--dark .tint--a { opacity: .35; }
.bg--dark .tint--b { opacity: .55; background: linear-gradient(160deg, #2b4a7e, #3d6aa8); }
.bg--dark .tint--c { opacity: .18; }
.bg--dark .gpane { background: linear-gradient(135deg, rgb(255 255 255 / .12), rgb(255 255 255 / .02)); border-color: rgb(255 255 255 / .18); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 30px 60px -30px rgb(0 0 0 / .5); }
.bg--dark .gpane::after { background: linear-gradient(100deg, transparent, rgb(255 255 255 / .18) 50%, transparent); }

@media (max-width: 700px) {
	.gpane { -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
	.gpane--3, .tint--c { display: none; }
	.gpane--1 { width: 80vw; height: 50vh; right: -30%; top: 2%; }
	.gpane--2 { width: 50vw; height: 30vh; right: -10%; top: 60%; }
	.tint--a { width: 60vw; height: 60vw; right: -20%; }
	.tint--b { width: 30vw; height: 60vw; right: 10%; }
}

/* ===== Vidinių puslapių antraštė su nuotrauka / CTA / faktais ===== */
.page-hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (min-width: 960px) { .page-hero__grid--img { grid-template-columns: 1.1fr .9fr; } }
.page-hero--img h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: .98; letter-spacing: -.035em; }
.page-hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: 0 40px 80px -40px rgb(20 40 75 / .45); }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.facts-row { display: grid; gap: 1.25rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(20 40 75 / .12); }
@media (min-width: 640px) { .facts-row { grid-template-columns: repeat(3, 1fr); } }
.fact { display: flex; gap: .8rem; align-items: flex-start; font-size: .9375rem; line-height: 1.35; }
.fact .ico { flex: none; width: 26px; height: 26px; stroke-width: 1.75; color: #1b8f86; }
.fact strong { display: block; }
.fact span { color: var(--steel); }

/* ===== Turinys (prose) ===== */
.prose { max-width: 68ch; font-size: 1.0938rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { margin-top: 2.25em; margin-bottom: 0; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.prose h2::before, .prose h3::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: .9rem; background: var(--aqua); }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding: .55rem 0 .55rem 2.1rem; border-bottom: 1px solid var(--mist); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .78rem; width: 1.25rem; height: 1.25rem; background: #1b8f86; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.prose ol { list-style: none; display: grid; gap: 1rem; padding: 0; counter-reset: n; }
.prose ol li { position: relative; min-height: 2.5rem; padding: .2rem 0 0 3.25rem; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; font-weight: 700; color: var(--white); background: var(--navy); border-radius: var(--r); }
.prose strong { font-weight: 700; }
.prose em strong { font-style: normal; }
.prose a { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose img { border-radius: var(--r); }

/* ===== Šoninė juosta ===== */
.box__lines { list-style: none; display: grid; gap: .75rem; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgb(255 255 255 / .16); }
.box__lines li { display: flex; gap: .7rem; align-items: center; font-size: .9375rem; }
.box__lines .ico { flex: none; width: 20px; height: 20px; stroke-width: 1.75; color: var(--aqua); }
.box__lines a { text-decoration: none; }
.box__lines a:hover { text-decoration: underline; }
.svc-links { list-style: none; margin: 0; padding: 0; }
.svc-links a { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; font-weight: 500; text-decoration: none; border-top: 1px solid var(--mist); }
.svc-links li:first-child a { border-top: 0; }
.svc-links .ico { flex: none; width: 22px; height: 22px; stroke-width: 1.6; color: var(--steel); }
.svc-links a:hover, .svc-links a:hover .ico { color: #1b8f86; }

/* ===== Kodėl mes / susijusios paslaugos ===== */
.why { display: grid; gap: 2rem; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } }
.tile { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; color: var(--white); background: var(--navy); border-radius: var(--r); }
.tile .ico { width: 26px; height: 26px; stroke-width: 1.6; }
.why__item h3 { margin: 0 0 .4rem; font-size: 1.1875rem; }
.why__item p { margin: 0; font-size: .9875rem; color: var(--steel); }
.related { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .related { grid-template-columns: repeat(3, 1fr); } }
.rel { position: relative; display: flex; flex-direction: column; padding: 1.75rem; background: var(--white); border-top: 2px solid var(--navy); }
.rel .tile { width: 48px; height: 48px; margin-bottom: 1.25rem; color: var(--navy); background: var(--glass); border: 1px solid var(--mist); transition: background-color .25s ease, color .25s ease; }
.rel .tile .ico { width: 24px; height: 24px; }
.rel h3 { margin: 0 0 .5rem; font-size: 1.3rem; }
.rel h3 a { text-decoration: none; }
.rel h3 a::after { content: ""; position: absolute; inset: 0; }
.rel p { margin: 0; color: var(--steel); }
.rel:hover .tile { color: var(--white); background: var(--navy); border-color: var(--navy); }
.rel:hover h3 a { text-decoration: underline; text-underline-offset: 4px; }
.card__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .9rem; color: var(--navy); background: var(--glass); border: 1px solid var(--mist); border-radius: var(--r); }
.card__icon .ico { width: 22px; height: 22px; stroke-width: 1.6; }
.promise dt { display: flex; gap: .7rem; align-items: center; }
.promise dt .ico { flex: none; width: 22px; height: 22px; stroke-width: 1.6; color: var(--aqua); }

@media (prefers-reduced-motion: reduce) {
	.gpane, .gpane::after { animation: none; }
	.rel .tile { transition: none; }
}

/* ===== Lipni antraštė ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: transparent; transition: background-color .3s ease, box-shadow .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease; }
.site-header__inner { transition: min-height .3s ease; }
.site-logo img { transition: height .3s ease, filter .3s ease; }
body:not(.has-hero) .site-main { padding-top: var(--hdr); }
body:not(.has-hero) .site-header { background: rgb(243 246 249 / .92); box-shadow: 0 1px 0 rgb(20 40 75 / .08); }
.is-scrolled .site-header { background: rgb(243 246 249 / .82); box-shadow: 0 1px 0 rgb(20 40 75 / .08), 0 12px 30px -20px rgb(20 40 75 / .35); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.is-scrolled .site-header__inner { min-height: 68px; }
.is-scrolled .site-logo img { height: 42px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Meniu mygtukas → X */
.nav-toggle { position: relative; z-index: 2; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { transition: transform .3s cubic-bezier(.2, .7, .2, 1), top .3s cubic-bezier(.2, .7, .2, 1), background-color .2s ease; }
.nav-open .nav-toggle { color: var(--white); background: transparent; border-color: rgb(255 255 255 / .35); }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { top: 0; transform: rotate(45deg); background: currentColor; }
.nav-open .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); background: currentColor; }

/* Atidarius meniu antraštė tampa tamsi */
body.nav-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-open .site-logo img { filter: brightness(0) invert(1); }
.nav-open .site-header__tel { display: none; }

/* ===== Mobilaus meniu skydelis ===== */
.mnav { position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; isolation: isolate; overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--hdr) + 1.25rem) var(--gut) max(1.5rem, env(safe-area-inset-bottom)); color: var(--white); background: var(--navy); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.admin-bar .mnav { top: 46px; }
.nav-open .mnav { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.mnav .bg { position: fixed; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__list li { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.nav-open .mnav__list li { opacity: 1; transform: none; }
.nav-open .mnav__list li:nth-child(1) { transition-delay: .08s; }
.nav-open .mnav__list li:nth-child(2) { transition-delay: .13s; }
.nav-open .mnav__list li:nth-child(3) { transition-delay: .18s; }
.nav-open .mnav__list li:nth-child(4) { transition-delay: .23s; }
.nav-open .mnav__list li:nth-child(5) { transition-delay: .28s; }
.nav-open .mnav__list li:nth-child(6) { transition-delay: .33s; }
.nav-open .mnav__list li:nth-child(n+7) { transition-delay: .38s; }
.mnav__list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font-weight: 800; font-size: clamp(1.75rem, 7.5vw, 2.4rem); line-height: 1.1; letter-spacing: -.025em; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .14); }
.mnav__list a::after { content: ""; flex: none; width: 1.4rem; height: 1.4rem; background: var(--aqua); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s ease; }
.mnav__list a:active::after, .mnav__list a:hover::after { transform: translateX(4px); }
.mnav__list .current-menu-item > a, .mnav__list .current_page_item > a { color: var(--aqua); }
.mnav__foot { display: grid; gap: 1.25rem; margin-top: auto; padding-top: 2.5rem; opacity: 0; transform: translateY(14px); transition: opacity .4s ease .3s, transform .5s cubic-bezier(.2, .7, .2, 1) .3s; }
.nav-open .mnav__foot { opacity: 1; transform: none; }
.mnav__foot .btn { width: 100%; }
.mnav__contact { list-style: none; display: grid; gap: .85rem; margin: 0; padding: 0; }
.mnav__contact li { display: flex; gap: .75rem; align-items: center; color: rgb(255 255 255 / .78); }
.mnav__contact a { color: var(--white); text-decoration: none; }
.mnav__contact .ico { flex: none; width: 22px; height: 22px; stroke-width: 1.75; color: var(--aqua); }
.mnav__tel { font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; }
@media (min-width: 960px) { .mnav { display: none; } }
html.menu-lock, html.menu-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.site-header, .site-header__inner, .site-logo img, .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after, .mnav, .mnav__list li, .mnav__foot { transition: none; }
	.mnav__list li, .mnav__foot { transform: none; }
}
