/* PLY Accounting — tokens from Figma "PLY_platform-Martin", page PLY Accounting. */

@font-face { font-family: "Termina"; src: url("../fonts/Termina-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Termina"; src: url("../fonts/Termina-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Termina"; src: url("../fonts/Termina-Demi.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
    --accent: #3cc688;
    --accent-soft: rgba(60, 198, 136, 0.12);
    --lime: #ebff72;
    --on-accent: #202020;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Termina", "Inter", sans-serif;
    --radius: 10px;
    --radius-card: 10px;
    --gutter: 80px;
    --section-gap: 160px;
    --grid-gap: 20px;
    --max: 1520px;
    --shadow: 0 1.5px 1.9px rgba(0, 0, 0, 0.035), 0 4.1px 5.4px rgba(0, 0, 0, 0.05), 0 9.9px 13px rgba(0, 0, 0, 0.067), 0 33px 40px rgba(0, 0, 0, 0.1);
}

/* Figma variable modes: "Light Mode" (home) and "Dark Mode" (inner pages). */
.theme-light {
    --bg: #f5f2ef;
    --surface: #ffffff;
    --surface-2: #f5f2ef;
    --text: #111111;
    --text-muted: #666666;
    --text-faint: #c4c4c4;
    --line: #202020;
    --line-soft: #e4e0dc;
    --nav-bg: #ffffff;
    --nav-text: #111111;
}

.theme-dark {
    --bg: #353535;
    --surface: #202020;
    --surface-2: #2b2b2b;
    --text: #ffffff;
    --text-muted: #b5b5b5;
    --text-faint: #666666;
    --line: #4d4d4d;
    --line-soft: #3a3a3a;
    --nav-bg: #202020;
    --nav-text: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/28px var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, ol, ul, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only--focusable:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; }

/* ---------- Type ---------- */
.h1 { font: 600 54px/60px var(--font); letter-spacing: -0.02em; }
.h2 { font: 600 40px/48px var(--font); letter-spacing: -0.01em; }
.h3 { font: 500 28px/40px var(--font-display); }
.h5 { font: 600 18px/26px var(--font); }
.lead { font: 400 16px/28px var(--font); color: var(--text-muted); }
.lead--muted { color: var(--text-faint); }
.body { font: 400 14px/24px var(--font); color: var(--text-muted); }
.eyebrow { font: 600 12px/1 var(--font); color: var(--accent); text-transform: uppercase; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 40px; padding: 11px 25px; border: 0; border-radius: var(--radius);
    font: 600 12px/1 var(--font-display); white-space: nowrap; cursor: pointer;
    transition: background-color .2s, color .2s, transform .2s;
}
.btn--lg { height: 50px; padding: 18px 35px; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: #35b07a; }
.btn--surface { background: var(--nav-bg); color: var(--nav-text); }
.btn--surface:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header { position: relative; z-index: 20; height: 100px; }
.header__inner { position: relative; height: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gutter); }
.logo { position: absolute; left: var(--gutter); bottom: 0; display: flex; flex-direction: column; gap: 12px; width: 115px; color: var(--accent); }
.logo__mark svg { width: 113px; height: 40px; }
.logo__mark svg [fill]:not([fill="none"]) { fill: currentColor; }
.logo__sub { font: 500 16px/1 var(--font-display); }
.nav { position: absolute; left: 50%; top: calc(50% + 10px); transform: translate(-50%, -50%); }
.nav__list { display: flex; background: var(--nav-bg); border-radius: var(--radius); }
.nav__list a { display: flex; align-items: center; height: 40px; padding: 11px 25px; font: 600 12px/1 var(--font-display); color: var(--nav-text); white-space: nowrap; transition: color .2s; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--accent); }
.header__actions { position: absolute; right: var(--gutter); top: calc(50% + 10px); transform: translateY(-50%); display: flex; gap: 10px; }
.burger { display: none; }
.mobile-menu[hidden] { display: none; }

/* ---------- Cards / sections ---------- */
.card { background: var(--surface); border-radius: var(--radius-card); }
.section { margin-top: var(--section-gap); }
.section-head { max-width: 750px; margin: 0 auto 44px; text-align: center; display: grid; gap: 24px; }
.band { background: var(--surface); padding-block: 80px; }
.grid { display: grid; gap: var(--grid-gap); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Hero ---------- */
.hero { margin-top: 160px; display: grid; justify-items: center; gap: 50px; max-width: calc(1300px + 2 * var(--gutter)); }
.hero__text { max-width: 1005px; display: grid; justify-items: center; gap: 24px; text-align: center; }
.hero__text .h1 { max-width: 1005px; }
.video-thumb { position: relative; width: 100%; aspect-ratio: 1300 / 730; border-radius: 18px; overflow: hidden; background: #202020; box-shadow: inset 0 0 0 10px rgba(0, 0, 0, .2); }
.video-thumb picture { display: contents; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb__play { position: absolute; left: 50%; top: 50%; width: 110px; height: 77px; transform: translate(-50%, -50%); padding: 0; border: 0; border-radius: 20px; background: none; cursor: pointer; }
.video-thumb__play:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Problem cards ---------- */
.problem { padding: 40px; display: flex; flex-direction: column; min-height: 425px; }
.problem__media { height: 130px; margin-bottom: 30px; display: flex; align-items: center; }
.problem__icon { width: auto; height: auto; max-height: 130px; }
.problem .eyebrow { margin-bottom: 12px; }
.problem .h5 { margin-bottom: 12px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: none; }
.step { position: relative; display: flex; gap: 30px; padding: 40px; min-height: 215px; }
.step__num { flex: 0 0 auto; width: 34px; font: 600 16px/1 var(--font); color: var(--accent); padding-top: 2px; }
.step__body { position: relative; padding-left: 30px; border-left: 2px solid #9a9a9a; display: grid; align-content: start; gap: 12px; }
.step__body .h5 { margin-top: 8px; }
.step__arrow { position: absolute; z-index: 2; right: -25px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--accent); }
.proof { margin-top: 44px; display: flex; justify-content: center; align-items: center; gap: 16px; }
.proof__logos { width: 112px; height: 44px; }
.proof__text { display: grid; gap: 2px; }
.proof__text strong { font: 500 16px/22px var(--font-display); color: var(--accent); }
.proof__text span { font: 400 14px/20px var(--font); color: var(--text); }

/* ---------- Scope (laptop) ---------- */
.scope__img { width: 100%; max-width: 1520px; margin: 0 auto 40px; }

/* ---------- Testimonial ---------- */
.testimonial { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.testimonial__photo { position: relative; border-radius: var(--radius-card); overflow: hidden; min-height: 635px; }
.testimonial__photo picture { display: contents; }
.testimonial__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testimonial__who { position: absolute; left: 44px; bottom: 36px; display: grid; gap: 6px; color: #fff; }
.testimonial__who strong { font: 600 18px/1 var(--font); color: var(--accent); }
.testimonial__who span { font: 400 14px/1 var(--font); color: rgba(255, 255, 255, .5); }
.testimonial__card { padding: 140px 60px 60px; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.testimonial__quote p { font: 500 22px/40px var(--font-display); color: var(--text); }
.stat { display: grid; gap: 8px; padding-left: 30px; border-left: 2px solid var(--accent); }
.stat strong { font: 500 28px/1 var(--font-display); color: var(--accent); }
.stat span { font: 400 14px/1.3 var(--font); color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 954px; margin-inline: auto; padding: 60px; }
.faq__title { font: 500 32px/1.2 var(--font-display); text-align: center; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 30px; }
.tab { height: 38px; padding: 0 22px; border: 1px solid var(--text-faint); border-radius: 999px; background: transparent; font: 400 14px/1 var(--font); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--accent); }
.tab.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.faq__panel { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 400 16px/24px var(--font); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: 0 0 14px; height: 14px; color: var(--text-faint); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: transform .2s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { padding: 0 0 20px; font: 400 14px/24px var(--font); color: var(--text-muted); max-width: 840px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.calc > * { min-height: 635px; }
.calc__form { padding: 60px; display: grid; gap: 0; align-content: start; }
.calc__form .eyebrow { margin-bottom: 14px; }
.calc__form .h3 { margin-bottom: 30px; max-width: 600px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--text-faint); border-radius: 999px; font: 400 16px/1 var(--font); transition: all .2s; }
.chip span::before { content: ""; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chip input:checked + span::before { border: 0; width: 12px; height: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translate(1px, -2px); border-radius: 0; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.range + .range { margin-top: 42px; }
.range__label { display: block; font: 600 14px/24px var(--font); margin-bottom: 10px; }
.range__row { display: flex; align-items: center; gap: 40px; }
.range__value { flex: 0 0 150px; text-align: right; font: 500 32px/1 var(--font-display); }
input[type="range"] { --p: 50%; flex: 1; height: 24px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), var(--text) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--text); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 24px; margin-top: -9px; border-radius: 6px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2 1v10M6 1v10M10 1v10' stroke='%23202020' stroke-opacity='.5'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
input[type="range"]::-moz-range-thumb { width: 34px; height: 24px; border: 0; border-radius: 6px; background: var(--accent); }
.calc__result {
    padding: 100px 60px 60px; border-radius: var(--radius-card); color: #111;
    background: linear-gradient(135deg, #3aac77 0%, #2a8a5c 45%, #1e6a46 100%);
    display: grid; align-content: start;
}
.calc__result .h3 { max-width: 420px; color: #111; }
.calc__total { margin: 26px 0 30px; font: 500 40px/1.1 var(--font-display); color: var(--lime); }
.calc__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.calc__stats > div { padding-left: 14px; border-left: 1px solid rgba(17, 17, 17, .35); }
.calc__stats dt { font: 500 28px/1.1 var(--font-display); }
.calc__stats dd { margin-top: 8px; font: 400 12px/1.3 var(--font); }
.calc__note { font: 400 14px/24px var(--font); max-width: 470px; margin-bottom: 40px; }
.calc__result .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: var(--section-gap); padding-bottom: 160px; overflow: hidden; }
.site-footer__inner { position: relative; z-index: 1; display: grid; gap: 20px; }
.home .site-footer__inner, .blog .site-footer__inner, .category .site-footer__inner, .search .site-footer__inner { padding-top: 80px; }
.newsletter { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 50px; }
.newsletter__title { font: 500 22px/1.3 var(--font-display); }
.newsletter__note { margin-top: 10px; font: 400 12px/1 var(--font); color: var(--text-faint); }
.newsletter__note a { color: var(--text); }
.newsletter__form, .newsletter .wpcf7-form { display: flex; gap: 20px; }
.newsletter input[type="email"] { width: 360px; height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius); background: var(--surface-2); font-size: 12px; }
.newsletter input[type="email"]::placeholder { color: var(--text-muted); }
.footer { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px; padding: 50px; }
.footer__name, .footer__heading { font: 600 14px/1 var(--font-display); margin-bottom: 24px; }
.footer__about { max-width: 330px; font: 400 12px/20px var(--font); color: var(--text-muted); }
.footer__badges { display: flex; align-items: center; gap: 90px; margin-top: 24px; }
.socials { display: flex; gap: 12px; }
.socials a { display: block; width: 18px; height: 18px; color: var(--text); transition: color .2s; }
.socials a:hover { color: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.ms-partner svg { width: 110px; height: auto; }
.footer__links { display: grid; gap: 14px; }
.footer__links a { font: 400 12px/1 var(--font); color: var(--text-muted); transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.copyright { margin-top: 20px; text-align: center; font: 400 12px/1 var(--font); }

/* Line-art backdrop (decorative mesh, served as one SVG). */
.lines { position: absolute; pointer-events: none; background: url("../img/lines-green.svg") center top / contain no-repeat; }
.lines--footer { left: 50%; top: 0; width: 1680px; height: 100%; transform: translateX(-50%); opacity: .9; }
.theme-dark .lines--footer { background-image: url("../img/lines-grey.svg"); }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
    :root { --gutter: 48px; --section-gap: 130px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .problem { min-height: 0; }
    .nav__list a { padding-inline: 18px; }
}

@media (max-width: 1180px) {
    .nav, .header__actions { display: none; }
    .burger { display: grid; gap: 6px; position: absolute; right: var(--gutter); top: calc(50% + 10px); transform: translateY(-50%); width: 44px; height: 40px; padding: 13px 12px; border: 0; border-radius: var(--radius); background: var(--nav-bg); cursor: pointer; }
    .burger__bar { display: block; height: 2px; background: var(--nav-text); border-radius: 1px; transition: transform .2s; }
    .burger[aria-expanded="true"] .burger__bar:first-of-type { transform: translateY(4px) rotate(45deg); }
    .burger[aria-expanded="true"] .burger__bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }
    .mobile-menu { position: absolute; left: var(--gutter); right: var(--gutter); top: 110px; padding: 16px; border-radius: var(--radius-card); background: var(--nav-bg); box-shadow: var(--shadow); }
    .mobile-menu .nav__list { flex-direction: column; background: none; }
    .mobile-menu .nav__list a { height: 48px; font-size: 14px; }
    .mobile-menu__actions { display: grid; gap: 10px; margin-top: 12px; }
    .mobile-menu__actions .btn--surface { background: var(--surface-2); }
    .steps { grid-template-columns: 1fr; }
    .step__arrow { right: auto; left: 50%; top: auto; bottom: -25px; transform: translateX(-50%) rotate(90deg); }
    .testimonial, .calc { grid-template-columns: 1fr; }
    .calc > * { min-height: 0; }
    .testimonial__card { padding-top: 60px; }
    .footer { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .newsletter { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
    :root { --gutter: 16px; --section-gap: 90px; --grid-gap: 12px; }
    .header { height: 80px; }
    .logo { bottom: 4px; gap: 6px; width: 80px; }
    .logo__mark svg { width: 78px; height: 28px; }
    .logo__sub { font-size: 12px; }
    .mobile-menu { top: 88px; }
    .hero { margin-top: 70px; gap: 32px; }
    .h1 { font-size: 32px; line-height: 38px; }
    .h2 { font-size: 26px; line-height: 32px; }
    .h3 { font-size: 20px; line-height: 30px; }
    .lead { font-size: 14px; line-height: 24px; }
    .section-head { gap: 16px; margin-bottom: 28px; }
    .grid--4 { grid-template-columns: 1fr; }
    .problem, .step { padding: 28px; }
    .problem__media { height: 100px; margin-bottom: 20px; }
    .problem__icon { max-height: 100px; }
    .video-thumb { border-radius: 12px; }
    .video-thumb__play svg { width: 64px; height: 45px; }
    .band { padding-block: 56px; }
    .testimonial__photo { min-height: 420px; }
    .testimonial__card { padding: 32px 24px; gap: 32px; }
    .testimonial__quote p { font-size: 16px; line-height: 28px; }
    .faq { padding: 32px 20px; }
    .faq__title { font-size: 22px; }
    .tabs { margin: 24px 0 28px; }
    .calc__form, .calc__result { padding: 32px 20px; }
    .chips { margin-bottom: 36px; }
    .range__row { gap: 16px; }
    .range__value { flex-basis: 96px; font-size: 22px; }
    .calc__total { font-size: 28px; }
    .calc__stats { grid-template-columns: 1fr 1fr; }
    .calc__stats dt { font-size: 20px; }
    .calc__result .btn { justify-self: stretch; white-space: normal; height: auto; min-height: 50px; text-align: center; }
    .site-footer { padding-bottom: 60px; }
    .home .site-footer__inner, .blog .site-footer__inner, .category .site-footer__inner, .search .site-footer__inner { padding-top: 40px; }
    .newsletter, .footer { padding: 28px 20px; }
    .newsletter__form, .newsletter .wpcf7-form { flex-direction: column; width: 100%; gap: 10px; }
    .newsletter input[type="email"] { width: 100%; }
    .footer { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer__badges { gap: 32px; }
    .copyright { line-height: 18px; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Inner pages (dark): Funkcijos ---------- */
.center-text { text-align: center; }
.page-hero { position: relative; margin-top: 160px; display: grid; justify-items: center; }
.page-hero .hero__text { max-width: 960px; }
.page-hero__icon { position: absolute; left: calc(var(--gutter) + 40px); top: 70px; width: 135px; height: auto; }
.features { margin-top: 80px; }
.features .grid { row-gap: 23px; }
.features--next { margin-top: 160px; }
.feature { display: flex; flex-direction: column; overflow: hidden; }
.feature__media img { width: 100%; height: 280px; object-fit: cover; }
.feature__body { padding: 40px 40px 40px; }
.feature .eyebrow { margin-bottom: 12px; line-height: 1; }
.feature__title { font: 600 20px/30px var(--font); color: var(--text); margin-bottom: 12px; }
.feature .body { margin-bottom: 16px; }
.bullets { display: grid; gap: 0; font: 400 14px/24px var(--font); color: var(--text-muted); }
.bullets li { position: relative; padding-left: 12px; }
.bullets li::before { content: "•"; position: absolute; left: 0; }
.badge { display: inline-block; margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 600 10px/1.2 var(--font); text-transform: none; vertical-align: 1px; }
.band--dark { margin-top: 200px; padding-block: 100px; background: #202020; }
.processes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px 26px; max-width: 1249px; margin-inline: auto; }
.process {
    padding: 36px 30px 32px; border-radius: var(--radius-card); border: 1px solid transparent;
    background: linear-gradient(#353535, #353535) padding-box, linear-gradient(135deg, rgba(60, 198, 136, .85), rgba(60, 198, 136, 0) 45%) border-box;
}
.process .h5 { color: #fff; margin-bottom: 6px; }
.section--after-band { margin-top: 200px; }
.security { margin-top: 44px; }
.security__item { padding: 70px 40px 36px; min-height: 329px; }
.security__item img { width: 120px; height: auto; margin: -10px 0 33px -6px; }
.security__item .h5 { margin-bottom: 16px; }
.cta .hero__text { max-width: 1005px; margin-inline: auto; }
@media (max-width: 1180px) {
    .grid--3, .processes { grid-template-columns: 1fr 1fr; }
    .page-hero__icon { display: none; }
}
@media (max-width: 760px) {
    .grid--3, .processes { grid-template-columns: 1fr; }
    .page-hero { margin-top: 70px; }
    .features, .features--next { margin-top: 40px; }
    .band--dark { margin-top: 90px; padding-block: 60px; }
    .section--after-band { margin-top: 90px; }
    .feature__body { padding: 28px; }
    .security__item { padding: 40px 28px; min-height: 0; }
}

/* ---------- Naudinga informacija (posts) ---------- */
.topics { margin-top: 64px; }
.topic { display: flex; flex-direction: column; min-height: 365px; padding: 58px 60px 50px; transition: background-color .2s; }
a.topic:hover { background: #262626; }
.topic img { width: 92px; height: auto; margin-bottom: 40px; }
.topic__title { font: 500 22px/1.2 var(--font-display); color: var(--text); margin-bottom: 14px; }
.topic__text { font: 400 14px/20px var(--font); color: var(--text-muted); }
.topic__count { margin-top: auto; font: 400 12px/1 var(--font); color: #8f8f8f; }
.posts { margin-top: 143px; }
.filters { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 33px; }
.search { position: relative; flex: 0 0 435px; }
.search input { width: 100%; height: 50px; padding: 0 52px 0 22px; border: 0; border-radius: var(--radius); background: #202020; color: var(--text); font: 400 12px/1 var(--font-display); }
.search input::placeholder { color: #8f8f8f; }
.search button { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); padding: 6px; border: 0; background: none; color: var(--text); cursor: pointer; }
.pill { display: inline-flex; align-items: center; height: 50px; padding: 0 22px; border-radius: var(--radius); background: #202020; color: var(--text-muted); font: 400 22px/1 var(--font-display); transition: color .2s; }
.pill:hover, .pill.is-active { color: var(--accent); }
.post-grid { row-gap: 20px; }
.post-card, .promo { min-height: 396px; padding: 60px 60px 50px; display: flex; flex-direction: column; }
.post-card__thumb { width: 142px; height: 144px; object-fit: cover; margin-bottom: 30px; }
.post-card__title { font: 500 20px/22px var(--font-display); color: var(--text); margin-bottom: 40px; }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card__text { font: 400 12px/1.4 var(--font); color: var(--text-muted); }
.promo { position: relative; overflow: hidden; justify-content: space-between; background: #202020 url("../img/lines-green.svg") 60% 0 / 220% auto no-repeat; }
.promo .btn { align-self: stretch; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 60px; font: 400 16px/1 var(--font-display); }
.pagination .page-numbers { min-width: 24px; text-align: center; color: var(--text-muted); }
.pagination .current { color: var(--text); }
.pagination .prev, .pagination .next { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #202020; color: var(--text); margin-inline: 12px; }

/* ---------- Pagalba (contact) ---------- */
.contact { margin-top: 100px; display: grid; justify-items: center; }
.contact__details { text-align: center; display: grid; gap: 14px; margin-bottom: 55px; font: 600 14px/1.3 var(--font-display); }
.contact__lines a:hover { color: var(--accent); }
.contact__card { width: 100%; max-width: 878px; padding: 70px 40px 60px; }
.contact__title { font: 500 22px/1.2 var(--font-display); margin-bottom: 36px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.field { display: grid; gap: 12px; }
.field--wide { grid-column: 1 / -1; }
.field label { font: 600 14px/1 var(--font-display); }
.field input, .field textarea { width: 100%; padding: 15px 20px; border: 1px solid transparent; border-radius: 8px; background: #353535; color: var(--text); font: 400 14px/20px var(--font); }
.field input { height: 50px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f8f8f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.contact-form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; }
.consents { display: grid; gap: 22px; max-width: 470px; }
.switch { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; cursor: pointer; font: 400 12px/15px var(--font); color: var(--text-muted); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #4d4d4d; transition: background-color .2s; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch__text a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: -12px 0 28px; padding: 14px 18px; border-radius: 8px; font: 400 14px/20px var(--font); }
.notice--ok { background: var(--accent-soft); color: var(--accent); }
.notice--error { background: rgba(255, 90, 90, .12); color: #ff8a8a; }
@media (max-width: 1180px) {
    .search { flex-basis: 100%; }
    .pill { font-size: 16px; height: 42px; }
}
@media (max-width: 760px) {
    .topics { margin-top: 40px; }
    .topic, .post-card, .promo { min-height: 0; padding: 32px 28px; }
    .posts { margin-top: 70px; }
    .contact { margin-top: 50px; }
    .contact__card { padding: 36px 20px; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form__foot { flex-direction: column; align-items: stretch; }
}

/* ---------- Generic content (page.php / single.php) ---------- */
.prose-wrap { max-width: calc(960px + 2 * var(--gutter)); }
.prose { padding: 60px; }
.prose + .prose { margin-top: 20px; }
.prose__media { margin-bottom: 20px; border-radius: var(--radius-card); overflow: hidden; }
.prose__body { margin-top: 24px; font: 400 16px/28px var(--font); color: var(--text-muted); }
.prose__body > * + * { margin-top: 1em; }
.prose__body h2, .prose__body h3 { color: var(--text); font-weight: 600; line-height: 1.3; margin-top: 1.6em; }
.prose__body h2 { font-size: 28px; }
.prose__body h3 { font-size: 20px; }
.prose__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose__body ul, .prose__body ol { padding-left: 1.2em; list-style: disc; }
.prose__body ol { list-style: decimal; }
.prose__body img { border-radius: var(--radius); }
.prose__back { margin-top: 40px; }
@media (max-width: 760px) { .prose { padding: 28px 20px; } }
