/*
Theme Name: Lenis res
Description: Lightweight theme for lenisres.com.
Version: 1.0.0
Text Domain: lenisres
*/

:root {
	--blue: #0074d9;
	--blue-600: #005fb3;
	--blue-50: #eef6ff;
	--blue-100: #dcecff;
	--ink: #0e1a2b;
	--text: #2b3a4f;
	--muted: #5d6d83;
	--line: #e3ebf5;
	--soft: #f5f9fe;
	--white: #fff;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(14, 26, 43, .04), 0 8px 24px rgba(14, 26, 43, .06);
	--wrap: 1160px;
	--font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid rgba(0, 116, 217, .45); outline-offset: 2px; border-radius: 6px; }

.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.35em; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; line-height: 1; border: 2px solid var(--blue); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 116, 217, .25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--blue-100); box-shadow: none; }
.btn-light { background: #fff; color: var(--blue-600); border-color: #fff; }
.btn-light:hover { background: var(--blue-50); color: var(--blue-600); border-color: var(--blue-50); }
.btn-sm { padding: .6em 1.1em; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 16px rgba(14, 26, 43, .04); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; line-height: 0; }
.logo { width: 200px; height: auto; display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--blue-50); color: var(--blue-600); }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a { color: #fff; background: var(--blue); }
.site-nav .nav-cta a:hover { background: var(--blue-600); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; position: relative; cursor: pointer; }
.menu-toggle span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: radial-gradient(1000px 500px at 85% -10%, var(--blue-50), transparent 60%), linear-gradient(180deg, #fff, #fff); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 380px; margin-left: auto; }
.mosaic .t { aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--blue); box-shadow: 0 10px 30px rgba(0, 116, 217, .22); }
.mosaic .t .ico { width: 42%; height: 42%; }
.mosaic .t2, .mosaic .t7 { background: var(--blue-100); box-shadow: none; }
.mosaic .t4, .mosaic .t9 { background: var(--blue-50); box-shadow: none; }
.mosaic .t5 { background: var(--ink); }
.mosaic .t6 { background: #3d97e6; }
@media (prefers-reduced-motion: no-preference) {
	.mosaic .t { animation: float 6s ease-in-out infinite; }
	.mosaic .t2, .mosaic .t6, .mosaic .t7 { animation-delay: -2s; }
	.mosaic .t3, .mosaic .t5, .mosaic .t9 { animation-delay: -4s; }
	@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 32px; }
.row-between { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.text-link { font-weight: 800; display: inline-flex; align-items: center; gap: .4em; }

.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); color: var(--text); display: block; }
.card p { margin: 0; color: var(--muted); }
.card h3 { margin-bottom: .4em; }
.card-link { transition: transform .15s, border-color .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-3px); border-color: var(--blue-100); box-shadow: 0 14px 34px rgba(14, 26, 43, .09); color: var(--text); }
.card-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: inline-grid; place-items: center; margin-bottom: 16px; flex: none; }
.card-ico .ico { width: 24px; height: 24px; }
.card .more { display: inline-flex; align-items: center; gap: .4em; margin-top: 16px; font-weight: 800; color: var(--blue-600); }
.card-row { display: flex; gap: 16px; align-items: flex-start; }
.card-row .card-ico { margin-bottom: 0; }
.project .tag { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--blue-600); background: var(--blue-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.note { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--blue-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .num { width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.steps p { margin: 0; color: var(--muted); }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px; border-radius: 24px; color: #fff; background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, var(--blue), var(--blue-600)); }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 36em; }

/* Inner pages */
.page-hero { padding: 56px 0 24px; background: radial-gradient(900px 400px at 90% -20%, var(--blue-50), transparent 60%); }
.page-hero .lead { margin-bottom: 0; }
.prose > * { max-width: 780px; }
.page-hero + .section { padding-top: 32px; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.page-igyvendinti-projektai { max-width: var(--wrap); display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.page-igyvendinti-projektai > * { margin: 0; }
.page-igyvendinti-projektai h3 { margin: 0; padding: 26px 26px 6px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.page-igyvendinti-projektai h3 + p { margin: 0 0 4px; padding: 0 26px 26px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 700; }
a.info:hover { border-color: var(--blue-100); color: var(--ink); }
.info .card-ico { margin: 0; }
.info small { display: block; font-weight: 600; color: var(--muted); font-size: .85rem; }
.req { padding: 18px 20px; border-radius: var(--radius); background: var(--soft); color: var(--muted); font-size: .95rem; }
.req strong { color: var(--ink); }
.form-card { padding: 30px; }
.form-card h2 { font-size: 1.4rem; }

/* Contact Form 7 */
.wpcf7 form p { margin: 0 0 14px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.wpcf7 br { display: none; }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100%; font: inherit; font-weight: 500; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 116, 217, .15); }
.wpcf7 input[type="submit"] { font: inherit; font-weight: 800; color: #fff; background: var(--blue); border: 0; border-radius: 999px; padding: 14px 28px; cursor: pointer; transition: background .15s; }
.wpcf7 input[type="submit"]:hover { background: var(--blue-600); }
.wpcf7-spinner { vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2fb36a; background: #effaf3; color: #16643a; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #f0b429; background: #fff8e6; color: #7a5300; }
.wpcf7-not-valid-tip { font-size: .85rem; font-weight: 600; margin-top: 4px; }

/* Footer */
.site-footer { margin-top: 24px; padding: 56px 0 28px; background: var(--ink); color: rgba(255, 255, 255, .78); }
.site-footer a { color: rgba(255, 255, 255, .9); }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer .muted { color: rgba(255, 255, 255, .6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.logo-footer { width: 190px; margin-bottom: 14px; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }

/* Responsive */
@media (max-width: 1020px) {
	.cards-4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.menu-toggle { display: inline-block; }
	.site-nav { position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(14, 26, 43, .08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - 72px); overflow-y: auto; }
	.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
	.site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
	.site-nav a { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
	.site-nav .nav-cta { margin: 10px 0 0; }
	.site-nav .nav-cta a { text-align: center; }
	.hero { padding: 36px 0 56px; }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.mosaic { max-width: 300px; margin: 0 auto; gap: 10px; }
	.mosaic .t { border-radius: 18px; }
	.cards-3, .cards-2 { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.page-igyvendinti-projektai { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.section { padding: 52px 0; }
	.cards-4, .steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.cta { padding: 30px 24px; }
	.actions .btn { flex: 1 1 auto; justify-content: center; }
	.card { padding: 22px; }
	.form-card { padding: 22px; }
}

/* Footer legal links */
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.footer-bottom .legal { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, .9); cursor: pointer; }
.link-btn:hover { color: #fff; }
.form-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

/* Cookie bar */
.cookie-bar { position: fixed; z-index: 90; left: 20px; bottom: 20px; max-width: 440px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(14, 26, 43, .18); padding: 20px 22px; font-size: .95rem; animation: cb-in .25s ease-out; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0 0 14px; }
.cookie-bar strong { color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes cb-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
	.cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px; }
	.cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 600px) { .logo { width: 168px; } }
