/*
 * 1PC Friendly Tech — visual layer
 * Existing markup, copy, media and behaviour remain unchanged.
 */

:root {
  --void: #11182b;
  --void-2: #0e1527;
  --panel: #ffffff;
  --panel-2: #f2f5fc;
  --edge: #dfe5f0;
  --edge-2: #cbd5e5;
  --signal: #3f67dc;
  --signal-08: rgba(63, 103, 220, 0.08);
  --signal-16: rgba(63, 103, 220, 0.16);
  --signal-30: rgba(63, 103, 220, 0.30);
  --thermal: #b66a3c;
  --coolant: #3f67dc;
  --ink: #182239;
  --ink-2: #5e6b81;
  --ink-3: #7a869b;
  --blue: #3f67dc;
  --violet: #6f56ce;
  --violet-light: #c9c1ff;
  --focus: #a998ff;
  --navy: #11182b;
  --surface: #f6f8fd;
  --f-display: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --nav-h: 76px;
  --wrap: 1200px;
}

html { scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: var(--blue); }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { color: var(--ink); background: #dcd5ff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.admin-bar .nav { top: 32px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17, 24, 43, 0.18);
  font-family: var(--f-body);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}
.skip-link:focus { top: 12px; transform: translateY(0); }

/* Shared components */
.wrap { padding-inline: 24px; }
.band { padding: clamp(72px, 8vw, 104px) 0; }
.section-label {
  margin-bottom: 14px;
  color: #4f6fd8;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.section-title {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.04em;
  text-transform: none;
}
.section-desc { max-width: 58ch; color: var(--ink-2); font-size: 16px; }

.btn {
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 12px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 160ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(42, 81, 184, 0.22);
}
.btn--primary:hover {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 14px 30px rgba(93, 71, 177, 0.26);
  transform: translateY(-2px);
}
.btn--ghost { color: var(--ink); background: #fff; border-color: var(--edge-2); }
.btn--ghost:hover { color: var(--violet); background: #f6f3ff; border-color: #a998ff; }
.btn--sm { min-height: 42px; padding: 9px 15px; font-size: 12px; }

/* Navigation */
.nav {
  height: var(--nav-h);
  color: #fff;
  background: rgba(17, 24, 43, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav__inner { padding-inline: 24px; gap: 26px; }
.nav__logo-img { width: 132px; height: auto; max-height: 44px; object-fit: contain; }
.nav__links { gap: 25px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 10px 0;
  color: #cdd4e4;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.nav__links a::after {
  content: '';
  position: absolute;
  right: 100%;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--focus);
  transition: right 180ms var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { right: 0; }
.nav__call { color: #fff; background: var(--blue); border-color: #5879dc; }
.nav__call:hover { color: #fff; background: var(--violet); border-color: var(--focus); }
.nav__toggle { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); border-radius: 12px; }
.nav__toggle:hover { background: rgba(111, 86, 206, 0.35); border-color: var(--focus); }
.nav__hamburger span { height: 2px; background: #fff; transition: transform 220ms var(--ease), opacity 180ms ease; }
.nav__drawer {
  color: #fff;
  background: rgba(17, 24, 43, 0.98);
  border-top: 1px solid #2c3856;
}
.nav__drawer a {
  color: #e5e9f3;
  border-bottom-color: #28334f;
  font-family: var(--f-body);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}
.nav__drawer a:hover { color: var(--violet-light); }
.nav__drawer .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  border-bottom: 0;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}
.nav__drawer .btn svg { flex: 0 0 16px; width: 16px; height: 16px; }
.nav__drawer .btn:hover { color: #fff; }

/* Hero: viena medijos sritis, statinis kadras slepiasi tik po realaus video grojimo. */
.hero { isolation: isolate; color: #fff; background: var(--navy); }
.hero__scrim {
  background:
    linear-gradient(90deg, rgba(9, 14, 28, 0.95) 0%, rgba(9, 14, 28, 0.82) 44%, rgba(9, 14, 28, 0.34) 80%, rgba(9, 14, 28, 0.26) 100%),
    linear-gradient(0deg, rgba(9, 14, 28, 0.68), transparent 52%);
}
.hero__inner { justify-content: center; padding-bottom: 64px; }
.hero__overline {
  margin-bottom: 20px;
  color: var(--violet-light);
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.hero__title {
  max-width: 12ch;
  font-size: clamp(44px, 6.6vw, 78px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.05em;
  text-transform: none;
}
.hero__title .accent { color: var(--violet-light); }
.hero__sub { max-width: 58ch; margin-top: 24px; color: #e3e8f2; font-size: clamp(16px, 1.4vw, 18px); }
.hero__actions { gap: 12px; margin-top: 30px; }
.hero .btn--ghost { color: #fff; background: rgba(17, 24, 43, 0.36); border-color: rgba(255, 255, 255, 0.42); backdrop-filter: blur(10px); }
.hero .btn--ghost:hover { color: #fff; background: rgba(74, 64, 132, 0.58); border-color: var(--violet-light); }
.content-over-video { color: var(--ink); background: var(--surface); }

/* Contact and status strip */
.plate { margin-bottom: -44px; padding-inline: 24px; transform: translateY(-44px); }
.plate__grid {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(24, 34, 57, 0.12);
}
.plate__cell { padding: 19px 20px; border-color: var(--edge); }
.plate__k {
  color: var(--ink-3);
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
}
.plate__v { color: var(--ink); font-family: var(--f-body); font-size: 13px; font-weight: 600; }
a.plate__v:hover { color: var(--violet); }
.led.is-on { background: #6f8ff0; box-shadow: 0 0 0 4px rgba(111, 143, 240, 0.14); }
.led.is-off { background: #d58b5b; box-shadow: 0 0 0 4px rgba(213, 139, 91, 0.13); }

/* Services */
#paslaugos { background: #f7f9fd; }
#paslaugos .section-title { margin-bottom: 40px; }
.grid {
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.card {
  min-height: 280px;
  padding: 26px;
  gap: 12px;
  background: #fff;
  border: 1px solid #dfe5f1;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(29, 45, 78, 0.025);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}
.card:nth-child(3n+2) { background: #f5f2ff; border-color: #e5def9; }
.card:nth-child(3n) { background: #fff7f1; border-color: #f0e3da; }
.card::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(111, 86, 206, 0.08), transparent 70%);
  border-radius: inherit;
}
.card:hover {
  background: #fff;
  border-color: #a9baff;
  box-shadow: 0 18px 36px rgba(54, 76, 137, 0.10);
  transform: translateY(-4px);
}
.card__icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  color: #4f6fd8;
  background: #eaf0ff;
  border-radius: 14px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms var(--ease);
}
.card:nth-child(3n+2) .card__icon { color: #7561d4; background: #e8e1ff; }
.card:nth-child(3n) .card__icon { color: #a86136; background: #ffeadb; }
.card:hover .card__icon { color: #fff; background: var(--blue); transform: rotate(-3deg); }
.card__title {
  margin-top: 9px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-transform: none;
}
.card__text { color: var(--ink-2); font-size: 15px; }
.card__meta {
  padding-top: 18px;
  color: #657187;
  border-top: 1px solid rgba(101, 113, 135, 0.15);
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.card__meta b { color: var(--ink); font-weight: 700; }

/* Process */
#eiga { color: #fff; background: var(--navy) !important; }
#eiga .section-label { color: #b8acff; }
#eiga .section-title { color: #fff; }
.flow { gap: 12px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.step {
  min-height: 210px;
  padding: 24px;
  gap: 22px;
  background: #182139;
  border: 1px solid #303b57;
  border-radius: 17px;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}
.step:hover { background: #1d2845; border-color: #766aa9; transform: translateY(-3px); }
.step__n { color: var(--focus); font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.step__t { margin-top: auto; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; text-transform: none; }
.step__d { color: #b9c4d8; font-size: 14px; }

/* Work gallery */
#galerija { background: #fff; }
.gallery { gap: 16px; margin-top: 40px; }
.gallery__item {
  background: #e8edf6;
  border-radius: 20px;
  box-shadow: 0 5px 18px rgba(29, 45, 78, 0.04);
  transition: box-shadow 220ms ease, transform 220ms var(--ease);
}
.gallery__item:hover { box-shadow: 0 18px 36px rgba(34, 48, 82, 0.16); transform: translateY(-4px); }
.gallery__item img { transition: transform 280ms var(--ease); }
.gallery__item:hover img { filter: none; transform: scale(1.035); }
.gallery__caption {
  padding: 44px 20px 20px;
  color: #fff;
  background: linear-gradient(transparent, rgba(9, 14, 28, 0.86));
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  transform: none;
}

/* Video gallery */
.video-showcase { background: #f2f5fc; }
.video-showcase .section-title { margin-bottom: 16px; }
.video-showcase__track { max-width: var(--wrap); gap: 56px; padding-inline: 24px; }
.video-item {
  background: #dfe5f0;
  border: 1px solid #d6deeb;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(24, 34, 57, 0.10);
}
.video-item__media { background: var(--navy); }
.video-item__video { border-radius: 23px; }

/* Reviews */
#atsiliepimai { background: #eef2fb; }
.rating { gap: 12px; margin-bottom: 34px; }
.rating__stars { color: #a56a0c; }
.rating__value { color: var(--ink); font-size: 32px; font-weight: 600; }
.rating__count { color: var(--ink-2); font-family: var(--f-body); font-size: 12px; letter-spacing: 0; text-transform: none; }
.reviews { gap: 16px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.review {
  padding: 28px;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(29, 45, 78, 0.03);
}
.review__text { color: var(--ink); font-size: 16px; font-style: normal; }
.review__text::before, .review__text::after { color: #8b78ed; }
.review__author {
  color: var(--ink-2);
  border-top-color: var(--edge);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.reviews__actions { justify-content: flex-start; }

/* Contact */
#kontaktai {
  color: #fff;
  background: linear-gradient(135deg, #3f67dc 0%, #6f56ce 100%) !important;
}
#kontaktai .section-label { color: #e2ddff; }
#kontaktai .section-title { color: #fff; }
#kontaktai .contact { gap: clamp(38px, 5vw, 68px); }
.facts li { border-bottom-color: rgba(255, 255, 255, 0.22); }
.facts li:first-child { border-top-color: rgba(255, 255, 255, 0.22); }
.facts svg { color: #e2ddff; }
.facts__k { color: #e2e6fa; font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.facts__v { color: #fff; }
.facts__v a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.facts__v--big { font-weight: 600; }
.map { background: #fff; border-color: rgba(255, 255, 255, 0.32); box-shadow: 0 14px 32px rgba(34, 47, 112, 0.14); }
.map iframe { filter: none; }
.form {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  box-shadow: 0 24px 52px rgba(34, 47, 112, 0.18);
}
.form h3 { color: var(--ink); font-size: 24px !important; font-weight: 700 !important; letter-spacing: -0.03em !important; text-transform: none !important; }
.field label { color: var(--ink-2); font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.field label .req { color: var(--violet); }
.input { color: var(--ink); background: #f8faff; border-color: #d7dfec; border-radius: 11px; }
.input::placeholder { color: #8793a8; }
.input:hover { border-color: #aab8d2; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(63, 103, 220, 0.13); }
.form__note { color: var(--ink-2); font-family: var(--f-body); font-size: 12px; letter-spacing: 0; }
.notice--ok { color: #3458bd; background: #edf2ff; border-color: #b8c8f5; }
.notice--err { color: #9a4f2b; background: #fff3eb; border-color: #edc4aa; }

/* Footer */
.footer { color: #fff; background: var(--navy); border-top-color: #2b3651; }
.footer img { filter: none !important; width: 132px; height: auto; }
.footer h3 { color: #fff; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.footer a { color: #aeb9cd; }
.footer a:hover { color: var(--violet-light); }
.footer__blurb { color: #aeb9cd; }
.footer__base { color: #8f9bb1; border-top-color: #2b3651; font-family: var(--f-body); font-size: 11px; letter-spacing: 0; }

/* Inner pages and editor content */
.page-head { min-height: 52vh; background: #f7f9fd; }
.prose { color: var(--ink-2); }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); letter-spacing: -0.03em; text-transform: none; }
.prose a { color: var(--blue); }
.prose blockquote { color: var(--ink); border-left-color: var(--violet); }
.prose input, .prose textarea, .search-form input, .comment-form input, .comment-form textarea {
  max-width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--edge-2);
  border-radius: 10px;
}
.prose button, .search-form button, .comment-form .submit {
  padding: 12px 20px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 11px;
  cursor: pointer;
}
.prose button:hover, .search-form button:hover, .comment-form .submit:hover { background: var(--violet); border-color: var(--violet); }

@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 481px) and (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .wrap, .nav__inner, .hero__inner, .plate, .video-showcase__track { padding-inline: 40px; }
  .hero__inner { max-width: none; }
}
@media (max-width: 1080px) {
  .nav__links { gap: 17px; }
  .nav__links a { font-size: 11px; }
  .nav__inner { gap: 18px; }
}
@media (max-width: 899px) {
  .nav__links, .nav__call { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .hero__inner { padding-top: 112px; padding-bottom: 72px; }
}
@media (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}
@media (max-width: 760px) {
  .band { padding: 72px 0; }
  .plate { margin-bottom: -28px; transform: translateY(-28px); }
  .plate__cell { padding: 16px; }
  .card { min-height: 260px; }
  .step { min-height: 180px; }
  .video-showcase__track { gap: 40px; }
}
@media (max-width: 560px) {
  .wrap, .nav__inner, .hero__inner, .plate, .video-showcase__track { padding-inline: 18px; }
  .nav__logo-img { width: 114px; }
  .hero__inner { justify-content: center; padding-top: 108px; padding-bottom: 60px; }
  .hero__title { font-size: clamp(39px, 12vw, 54px); line-height: 1.08; }
  .hero__overline { font-size: 10px; letter-spacing: 0.1em; }
  .hero__sub { margin-top: 20px; font-size: 16px; }
  .hero__actions { flex-direction: column; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__scrim { background: linear-gradient(90deg, rgba(9, 14, 28, 0.92), rgba(9, 14, 28, 0.65)), linear-gradient(0deg, rgba(9, 14, 28, 0.72), transparent 55%); }
  .plate__grid { border-radius: 16px; }
  .section-title { font-size: 34px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { min-height: 0; padding: 23px; }
  .flow { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery__item { aspect-ratio: 4 / 3; }
  .video-item { border-radius: 17px; }
  .video-item__video { border-radius: 16px; }
  .review { padding: 23px; }
  .reviews__actions { flex-direction: column; }
  .reviews__actions .btn { width: 100%; }
  .form { padding: 24px 20px; border-radius: 20px; }
  .footer__base { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 38px; }
  .hero__overline { max-width: 30ch; }
  .plate__v { font-size: 12px; overflow-wrap: anywhere; }
}

@media (hover: none) {
  .card:hover, .step:hover, .gallery__item:hover, .btn--primary:hover { transform: none; }
}
/* Current parent theme: original logo and latest sections */
body::after { display: none; }
.nav__brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.nav__brand::before {
  content: '';
  display: block;
  width: 136px;
  height: 48px;
  background: transparent url('../images/logo.png') center / 122px auto no-repeat;
  border-radius: 10px;
}
.nav__brand-text { display: none; }
.footer__brand {
  display: block;
  width: 150px;
  height: 52px;
  margin-bottom: 18px;
  overflow: hidden;
  color: transparent;
  background: transparent url('../images/logo.png') center / 134px auto no-repeat;
  border-radius: 10px;
  font-size: 0;
}
.footer__tagline { max-width: 42ch; color: #c9d2e4; font-size: 13px; }
.footer__meta { color: #8f9bb1; font-size: 12px; }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--navy);
  --hero-focus: 50% 50%;
}
.hero__video, .hero__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus);
}
.hero__video {
  z-index: 1;
  opacity: 1 !important;
  visibility: visible !important;
}
.hero__poster {
  z-index: 2;
  opacity: 1;
  transition: opacity .4s ease-out;
}
.hero__media.is-playing .hero__poster {
  opacity: 0 !important;
  pointer-events: none;
}
.hero::before { z-index: 1; }
.hero__inner { position: relative; z-index: 2; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(9, 14, 28, 0.95) 0%, rgba(9, 14, 28, 0.82) 44%, rgba(9, 14, 28, 0.34) 80%, rgba(9, 14, 28, 0.26) 100%),
    linear-gradient(0deg, rgba(9, 14, 28, 0.68), transparent 52%);
}
.bento { gap: 16px; background: transparent; border: 0; overflow: visible; }

/* Website portfolio */
.portfolio {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--edge);
}
.portfolio__head { max-width: 680px; margin-bottom: 28px; }
.portfolio__title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.portfolio__intro { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.portfolio__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.portfolio__card {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe5f1;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(29, 45, 78, 0.035);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}
.portfolio__media { aspect-ratio: 16 / 10; overflow: hidden; background: #e8edf7; border-bottom: 1px solid var(--edge); }
.portfolio__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 300ms var(--ease);
}
.portfolio__body { padding: 20px 22px 22px; }
.portfolio__name { margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.portfolio__desc { margin: 5px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.portfolio__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.portfolio__link svg { width: 16px; height: 16px; transition: transform 180ms var(--ease); }
.portfolio__card:hover { border-color: #a9baff; box-shadow: 0 16px 34px rgba(54, 76, 137, 0.11); transform: translateY(-3px); }
.portfolio__card:hover .portfolio__media img { transform: scale(1.025); }
.portfolio__card:hover .portfolio__link svg { transform: translate(2px, -2px); }
.portfolio__card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
@media (min-width: 900px) {
  .portfolio__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: none) {
  .portfolio__card:hover, .portfolio__card:hover .portfolio__media img { transform: none; }
}

/* FAQ */
#duk { background: #fff; }
#duk .section-title { margin-bottom: 40px; }
.faq { max-width: 880px; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--edge); border-radius: 14px; transition: border-color 180ms ease, box-shadow 180ms ease; }
.faq__item[open] { border-color: #b8acff; box-shadow: 0 10px 26px rgba(68, 82, 177, 0.07); }
.faq__q { padding: 21px 24px; color: var(--ink); font-size: 16px; font-weight: 700; }
.faq__q::after { color: var(--violet); font-family: var(--f-body); }
.faq__q:hover { color: var(--violet); }
.faq__a { padding: 0 24px 22px; color: var(--ink-2); }

/* Metrics */
.metrics { padding-block: 58px; background: #edf2ff; }
.metric__num { color: var(--blue); font-weight: 600; }
.metric:nth-child(even) .metric__num { color: var(--violet); }
.metric__label { color: var(--ink-2); font-family: var(--f-body); font-weight: 600; letter-spacing: 0.03em; }

/* Listings and social */
#skelbimai { background: #fff; }
.skelbiu-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 26px;
  background: #edf2ff;
  border: 1px solid #dce5fa;
  border-radius: 18px;
}
.skelbiu-cta .btn::before {
  content: "";
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0a893d url("../images/skelbiu-logo.png") center / cover no-repeat;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.30);
}
#facebook { background: #f7f9fd; }
.facebook-card {
  max-width: 820px;
  margin: 36px auto 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(29, 45, 78, 0.07);
}
.facebook-card__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
  padding: 24px 28px;
  background: #f5f7fc;
  border-bottom: 1px solid var(--edge);
}
.facebook-card__icon { flex: 0 0 40px; }
.facebook-card__name { margin: 0; color: var(--ink); }
.facebook-card__desc { margin: 4px 0 0; color: var(--ink-2); }
.facebook-card__rating { margin-left: auto; text-align: right; }
.facebook-card__rating strong { display: block; color: #137a43; font-size: 24px; line-height: 1.1; }
.facebook-card__rating span { display: block; margin-top: 5px; color: var(--ink-3); font-size: 12px; }
.facebook-review-list {
  max-height: 430px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #1877f2 var(--panel-2);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.facebook-review-list:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.facebook-review { padding: 24px 28px; }
.facebook-review__author { display: flex; align-items: center; gap: 12px; }
.facebook-review__avatar {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: #1877f2;
  border-radius: 50%;
  font-weight: 700;
}
.facebook-review__name { display: block; color: var(--ink); font-weight: 700; }
.facebook-review__date { display: inline-block; margin-top: 3px; color: var(--ink-3); font-size: 12px; text-decoration: none; }
.facebook-review__date:hover { color: #1877f2; text-decoration: underline; }
.facebook-review__recommendation { display: flex; align-items: center; gap: 6px; margin: 18px 0 10px; color: #137a43; font-size: 13px; font-weight: 700; }
.facebook-review__recommendation svg { flex: 0 0 16px; }
.facebook-review__text { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.facebook-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; padding: 0 28px 26px; }
.facebook-card__page-link { color: var(--blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.facebook-card__page-link:hover { color: var(--violet); text-decoration: underline; }

/* Google reviews: all entries in an accessible scrollable list */
.greviews-list {
  max-width: 820px;
  margin: 36px auto 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(29, 45, 78, 0.07);
}
.greviews-list .greviews__viewport {
  min-height: 0;
  max-height: 430px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--violet) var(--panel-2);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.greviews-list .greviews__viewport:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}
.greviews-list .greviews__slide,
.greviews-list .greviews__slide.is-active {
  display: block;
  padding: 24px 28px;
  border-bottom: 1px solid var(--edge);
  animation: none;
}
.greviews-list .greviews__slide:last-child { border-bottom: 0; }
.greviews__head { background: #f5f7fc; border-bottom-color: var(--edge); }
.greviews__score { color: var(--ink); }
.greviews__count, .greviews__date { color: var(--ink-3); font-family: var(--f-body); }
.greviews__link { color: var(--blue); font-family: var(--f-body); font-weight: 600; letter-spacing: 0; text-transform: none; }
.greviews__link:hover { color: var(--violet); }
.greviews__avatar { color: #fff; background: var(--violet); }
.greviews__name { color: var(--ink); }
.greviews__text { color: var(--ink-2); }

/* Latest form and sticky actions */
.field label.consent { color: var(--ink-2); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.consent input[type="checkbox"] { accent-color: var(--violet); }
.consent a { color: var(--blue); }
.sticky-cta { padding: 13px 20px; background: rgba(17, 24, 43, 0.92); border-top: 1px solid rgba(255, 255, 255, 0.10); backdrop-filter: blur(16px); }
.sticky-cta .btn { box-shadow: 0 8px 24px rgba(17, 24, 43, 0.20); }
.sticky-cta .btn svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.sticky-cta .btn--ghost { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.26); }
.sticky-cta .btn--ghost:hover { color: #fff; background: var(--violet); border-color: var(--focus); }

@media (max-width: 767px) {
  .facebook-card { align-items: flex-start; flex-direction: column; }
  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero__media {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    margin-top: var(--nav-h);
    aspect-ratio: 16 / 10;
    max-height: 70svh;
    --hero-focus: 100% 45%;
  }
  .hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(9, 14, 28, 0.03) 0%, rgba(9, 14, 28, 0.02) 70%, var(--navy) 100%);
  }
  .hero::before { content: none; }
  .hero__inner {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-top: 32px;
    padding-bottom: 72px;
  }
}
@media (max-width: 560px) {
  .nav__brand-text { width: 112px; height: 42px; background-size: 100px auto; }
  .skelbiu-cta { align-items: stretch; flex-direction: column; padding: 22px; }
  .skelbiu-cta .btn { width: 100%; }
  .facebook-card__actions, .facebook-card__actions .btn { width: 100%; }
  .sticky-cta { gap: 8px; padding: 10px 12px; }
  .sticky-cta .btn { min-width: 0; padding-inline: 12px; font-size: 11px; }
  .metrics { padding-block: 46px; }
  .metric__label { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .card, .card__icon, .step, .gallery__item, .gallery__item img, .btn, .nav__links a::after { transform: none !important; }
  .video-item { opacity: 1; transform: none; }
}
