/* Ajerų 20 – pagrindiniai stiliai */

@font-face { font-family: "Bambino New"; font-weight: 100; font-display: swap; src: url(../fonts/bambino-thin.woff) format("woff"); }
@font-face { font-family: "Bambino New"; font-weight: 300; font-display: swap; src: url(../fonts/bambino-light.woff) format("woff"); }
@font-face { font-family: "Bambino New"; font-weight: 400; font-display: swap; src: url(../fonts/bambino-regular.woff) format("woff"); }
@font-face { font-family: "Bambino New"; font-weight: 600; font-display: swap; src: url(../fonts/bambino-semibold.woff) format("woff"); }

:root {
	--ink: #1A1A18; --ink-2: #656263; --ink-3: #656263;
	--green: #3C4835; --green-h: #5B6453; --brown-70: #775A33;
	--sand: #C4AF92; --sand-h: #E2E2DC;
	--paper: #FFFFFF; --surface: #E2E2DC; --line: #C6C7BE; /* tik brandbook spalvos */
	--on-dark: #E2E2DC; --on-dark-2: #C6C7BE;
	--danger: #45320B; /* klaidos – tamsi ruda (brandbook) */
	--font: "Bambino New", "Futura", "Avenir Next", "Century Gothic", system-ui, sans-serif;
	--gut: clamp(20px, 3.2vw, 48px);
	--foot-h: 52px;
	--form-w: clamp(440px, calc(30vw + 60px), 600px); /* užklausos kortelė: platesnė dideliuose ekranuose */
	--ease: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 300; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Mygtukai */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; line-height: 1.2; padding: 17px 26px; border: 0; border-radius: 0; cursor: pointer; text-decoration: none; transition: background-color .25s; }
.btn--green { background: var(--green); color: var(--on-dark); }
.btn--green:hover { background: var(--green-h); }
.btn--sand { background: var(--sand); color: var(--ink); }
.btn--sand:hover { background: var(--sand-h); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #C6C7BE; }
.btn--outline { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Laikinas pirmas puslapis ---------- */
.teaser { position: relative; isolation: isolate; min-height: calc(100vh - var(--foot-h)); min-height: calc(100svh - var(--foot-h)); display: flex; align-items: center; justify-content: flex-end; padding: 100px var(--gut) 28px; }
.teaser__hero { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 30px var(--gut) var(--gut); color: #fff; }
.teaser__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #1A1A18; }
.teaser__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser__shade { position: absolute; inset: 0; background:
	linear-gradient(0deg, rgba(26, 26, 24, .74) 0%, rgba(26, 26, 24, .12) 48%, rgba(26, 26, 24, .3) 100%),
	linear-gradient(90deg, rgba(26, 26, 24, 0) 50%, rgba(26, 26, 24, .28) 100%); }

.teaser__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.teaser__logo { display: block; width: clamp(220px, 16.5vw, 275px); color: #fff; }
.teaser__mark { display: block; width: 100%; height: auto; }
.teaser__phone { color: #fff; text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: .14em; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.teaser__phone:hover { border-bottom-color: #fff; }

.teaser__intro { max-width: calc(100% - var(--form-w) - 3 * var(--gut)); }
.teaser__title { margin: 0; font-weight: 300; font-size: clamp(38px, min(4.6vw, (100vw - 5 * var(--gut) - var(--form-w)) / 9.9), 72px); line-height: 1.04; text-wrap: balance; } /* antraštės dydis pagal turimą vietą šalia formos */
.teaser__lead { margin: 14px 0 0; max-width: 640px; font-size: clamp(17px, 1.4vw, 21px); opacity: .92; }
.teaser__text { margin: 10px 0 0; max-width: 46ch; font-size: 15.5px; color: rgba(255, 255, 255, .8); }
.teaser__toform { display: none; }

.teaser__clock { margin: 36px 0 0; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; }
.teaser__clock b { font-weight: 600; letter-spacing: .12em; }

/* Forma */
.teaser__form { position: relative; z-index: 1; width: min(var(--form-w), 100%); padding: 32px 34px 26px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.teaser__form-title { margin: 0; font-weight: 300; font-size: 30px; line-height: 1.1; }
@media (min-width: 1280px) { .teaser__form { padding: 38px 42px 32px; } .teaser__form-title { font-size: 32px; } }
.teaser__form-text { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.a20-form { display: grid; gap: 13px; margin-top: 20px; }
.a20-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media (max-width: 480px) { .a20-row { grid-template-columns: 1fr; } }
.a20-field label { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.a20-opt { margin-left: 6px; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--ink-3); }
.a20-field input, .a20-field textarea, .a20-field select { display: block; width: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; line-height: 1.4; transition: border-color .2s; }
.a20-field select { padding-right: 40px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A1A18' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
.a20-field textarea { resize: vertical; height: 70px; min-height: 56px; }
.a20-field input:hover, .a20-field textarea:hover, .a20-field select:hover { border-color: #BDBCBC; }
.a20-field input:focus, .a20-field textarea:focus, .a20-field select:focus { border-color: var(--green); outline: 2px solid rgba(60, 72, 53, .18); outline-offset: 0; }
.a20-field [aria-invalid="true"], .a20-check [aria-invalid="true"] { border-color: var(--danger); }
.a20-err { margin: 5px 0 0; font-size: 13px; line-height: 1.4; color: var(--danger); }
.a20-err:empty { display: none; }
.a20-check { display: grid; grid-template-columns: 20px 1fr; gap: 4px 10px; align-items: start; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.a20-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.a20-check a { color: var(--ink); }
.a20-check .a20-err { grid-column: 2; margin-top: 0; }
.a20-submit { width: 100%; margin-top: 6px; }
.a20-status { margin: 0; font-size: 14px; line-height: 1.45; color: var(--danger); }
.a20-status:empty { display: none; }
.a20-form[hidden], .a20-done[hidden] { display: none; }
.a20-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.a20-done { margin-top: 22px; padding: 22px 22px 20px; background: var(--paper); border-left: 3px solid var(--green); }
.a20-done:focus { outline: none; }
.a20-done__title { margin: 0; font-size: 20px; font-weight: 400; }
.a20-done__text { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* Poraštė */
.site-foot { display: flex; align-items: center; min-height: var(--foot-h); padding: 12px var(--gut); background: var(--ink); color: var(--on-dark-2); font-size: 12px; letter-spacing: .1em; }
.site-foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; margin: 0; }
.site-foot__brand { display: inline-flex; align-items: center; gap: 12px; }
.site-foot__brand img { display: block; width: auto; height: 24px; }
.site-foot b { color: var(--on-dark); font-weight: 600; letter-spacing: .14em; }
.site-foot a { color: var(--on-dark); }

/* ---------- Paprasti puslapiai (pvz., privatumo politika) ---------- */
.tpage__hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: clamp(340px, 30vw, 440px); padding: 30px var(--gut) 44px; color: #fff; }
.tpage__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.tpage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.tpage__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 26, 24, .78) 0%, rgba(26, 26, 24, .42) 55%, rgba(26, 26, 24, .5) 100%); }
.tpage__back { align-self: flex-start; display: inline-flex; gap: 10px; margin-bottom: 18px; color: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.tpage__back:hover { color: #fff; }
.tpage__head { display: flex; flex-direction: column; }
.tpage__title { margin: 0; font-weight: 300; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.04; text-wrap: balance; }
.tpage__meta { margin: 18px 0 0; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tpage__meta b { font-weight: 600; letter-spacing: .12em; color: #fff; }

.tpage { padding: clamp(56px, 6vw, 88px) var(--gut) clamp(72px, 8vw, 120px); }
.tpage__grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 760px); gap: clamp(40px, 6vw, 112px); align-items: start; }
.tpage__aside { grid-column: 1; grid-row: 1; position: sticky; top: 32px; display: grid; gap: 40px; }
.tpage__content { grid-column: 2; grid-row: 1; min-width: 0; font-size: 17px; line-height: 1.7; }
.tpage__content > :first-child { margin-top: 0; }
.tpage__content p { margin: 0 0 1.05em; }
.tpage__content h2 { margin: 52px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 300; font-size: clamp(24px, 2vw, 30px); line-height: 1.2; scroll-margin-top: 24px; }
.tpage__content h3 { margin: 30px 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; color: var(--green); }
.tpage__content h2 + p, .tpage__content h3 + p { margin-top: 0; }
.tpage__content a { color: var(--green); text-underline-offset: 3px; overflow-wrap: anywhere; }
.tpage__content a:hover { color: var(--ink); }
.tpage__content ul, .tpage__content ol { margin: 0 0 1.05em; padding-left: 1.2em; }
.tpage__content li { margin: 0 0 .4em; }
.tpage__content strong { font-weight: 600; }

.tpage__label { margin: 0 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.tpage__toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.tpage__toc li { margin: 0; }
.tpage__toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-2); font-size: 15px; line-height: 1.4; text-decoration: none; transition: color .2s, border-color .2s; }
.tpage__toc a:hover { color: var(--green); border-left-color: var(--green); }
.tpage__cta { padding: 28px 26px 26px; background: var(--surface); }
.tpage__cta-title { margin: 0; font-size: 22px; font-weight: 300; line-height: 1.2; }
.tpage__cta-text { margin: 8px 0 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tpage__cta .btn { width: 100%; }

/* ---------- Telefonas ir planšetė ---------- */
@media (max-width: 900px) {
	.teaser { display: block; min-height: 0; padding: 0; }
	.teaser__hero { position: relative; inset: auto; min-height: 86vh; min-height: 86svh; padding: 20px 20px 24px; }
	.teaser__img { object-position: var(--focus, 50% 50%); }
	.teaser__logo { width: clamp(184px, calc(100vw - 180px), 202px); }
	.teaser__phone { font-size: 13px; letter-spacing: .1em; }
	.teaser__intro { max-width: none; }
	.teaser__title { font-size: clamp(38px, 10.5vw, 56px); }
	.teaser__title-break { display: none; }
	.teaser__text { font-size: 15px; }
	.teaser__toform { display: inline-flex; margin-top: 22px; }
	.teaser__clock { margin-top: 24px; font-size: 11px; }
	.teaser__form { width: auto; padding: 40px 20px 44px; background: var(--paper); box-shadow: none; }
	.site-foot__row { flex-direction: column; align-items: flex-start; gap: 10px; }
	.tpage__hero { min-height: 0; gap: 72px; padding: 20px 20px 32px; }
	.tpage__title { font-size: clamp(36px, 10vw, 52px); }
	.tpage__meta { margin-top: 14px; font-size: 11px; }
	.tpage { padding: 40px 20px 64px; }
	.tpage__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.tpage__aside, .tpage__content { grid-column: 1; }
	.tpage__aside { grid-row: 2; position: static; }
	.tpage__toc { display: none; }
	.tpage__content { font-size: 16px; }
	.tpage__content h2 { margin-top: 40px; padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
	html:focus-within { scroll-behavior: auto; }
}
