/* =============================================================
   kapudengimasplokste.lt
   Tamsi redakcinio stiliaus tema: juodas fonas, bronzos akcentas,
   plaukelio storio linijos, aštrūs kampai.
   ============================================================= */

/* ---------- 1. Kintamieji ---------- */
:root {
  --void: #0D0D0D;
  --graphite: #161616;
  --graphite-2: #1D1D1D;
  --bone: #EDEAE4;
  --bone-dim: #A9A49B;
  --bronze: #C08A4E;
  --bronze-lo: #8F6535;
  --hair: rgba(255, 255, 255, .12);
  --hair-soft: rgba(255, 255, 255, .07);
  --ok: #5FA97C;
  --klaida: #C4664F;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Bazė ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bronze); text-decoration-color: rgba(192, 138, 78, .4); text-underline-offset: .18em; }
a:hover { color: #D8A268; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
h4 { font-size: .8rem; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--bone-dim); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--bronze); color: var(--void); }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--bronze); color: var(--void); padding: .8rem 1.2rem; font-weight: 600;
}
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- 3. Grūdėtumo sluoksnis ---------- */
.grain {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
  background-image: url("/assets/img/grain.webp");
  background-size: 512px;
  opacity: .07;
  mix-blend-mode: overlay;
}

/* ---------- 4. Tinklelis ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 800px; }

section { padding-block: var(--sec); position: relative; }
.sec-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sec-line { border-top: 1px solid var(--hair-soft); }
.sec-graphite { background: var(--graphite); }

.sec-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--bone-dim); }

.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--bronze);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: "[ "; opacity: .55; }
.eyebrow::after { content: " ]"; opacity: .55; }

.lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--bone-dim); max-width: 62ch; }

/* ---------- 5. Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.5rem; font-family: var(--sans); font-size: .95rem; font-weight: 500;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn-primary { background: var(--bronze); color: var(--void); font-weight: 600; }
.btn-primary:hover { background: #D8A268; color: var(--void); transform: translateY(-1px); }
.btn-ghost { border-color: var(--hair); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bronze); color: var(--bronze); background: rgba(192, 138, 78, .06); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- 6. Antraštė ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(13, 13, 13, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair-soft);
}
.nav { display: flex; align-items: center; gap: 1.6rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--bone); flex-shrink: 0; }
.brand img { width: 34px; height: auto; }
.brand-txt { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; line-height: 1.25; }
.brand-txt em { display: block; font-style: normal; color: var(--bronze); }

.menu { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu-btn {
  display: flex; align-items: center; gap: .3rem;
  padding: .6rem .78rem; font-size: .92rem; color: var(--bone); text-decoration: none;
  background: none; border: 0; font-family: var(--sans); cursor: pointer;
  transition: color .2s var(--ease);
}
.menu a:hover, .menu-btn:hover, .menu-btn[aria-expanded="true"] { color: var(--bronze); }
.caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: var(--graphite); border: 1px solid var(--hair);
  list-style: none; margin: 0; padding: .4rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.menu-btn[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { padding: .6rem .8rem; font-size: .9rem; }
.dropdown a:hover { background: rgba(255, 255, 255, .04); }

.header-cta { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.tel-link { display: flex; align-items: center; gap: .45rem; color: var(--bone); text-decoration: none; font-size: .9rem; font-variant-numeric: tabular-nums; }
.tel-link svg { width: 16px; height: 16px; color: var(--bronze); }
.tel-link:hover { color: var(--bronze); }

.burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--hair); cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 11px; width: 20px; height: 1.5px; background: var(--bone); transition: transform .28s var(--ease), opacity .2s; }
.burger span { top: 50%; margin-top: -.75px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Naršymo kelias ---------- */
.crumbs { padding-block: 1.1rem; border-bottom: 1px solid var(--hair-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-dim); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .4; }
.crumbs a { color: var(--bone-dim); text-decoration: none; }
.crumbs a:hover { color: var(--bronze); }

/* ---------- 8. Herojus ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(192, 138, 78, .16) 0%, transparent 62%);
  pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--bronze); }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--bone-dim); max-width: 46ch; }

.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: -8%;
  background-image: linear-gradient(var(--hair-soft) 1px, transparent 1px), linear-gradient(90deg, var(--hair-soft) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 72%);
}
/* Plaukiojimas ir posvyris atskirti į du elementus, nes abu keistų
   tą pačią transform reikšmę ir vienas kitą panaikintų. */
.hero-slab { position: relative; animation: plaukioja 6s ease-in-out infinite; }
.hero-media img { transition: transform .35s var(--ease); transform-style: preserve-3d; }
@keyframes plaukioja { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Greita užklausa herojuje */
.quick-form {
  margin-top: 2.4rem; max-width: 420px;
  background: rgba(22, 22, 22, .72); backdrop-filter: blur(10px);
  border: 1px solid var(--hair); padding: 1.5rem;
}
.quick-form > .eyebrow { margin-bottom: .8rem; }
.quick-form .form-trumpa { display: grid; gap: .7rem; }

/* ---------- 9. Bėganti juosta ---------- */
.marquee { border-block: 1px solid var(--hair-soft); padding-block: 1.05rem; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: bega 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--bone-dim); padding-inline: 1.6rem; white-space: nowrap;
}
.marquee span::after { content: "✦"; color: var(--bronze); margin-left: 1.6rem; opacity: .8; }
@keyframes bega { to { transform: translateX(-50%); } }

/* ---------- 10. Bento tinklelis ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.bento-tile {
  position: relative; background: var(--void); padding: clamp(1.6rem, 3vw, 2.4rem);
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: var(--bone); overflow: hidden;
  transition: background .3s var(--ease);
}
.bento-tile .idx { position: absolute; top: 1.4rem; left: clamp(1.6rem, 3vw, 2.4rem); font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--bronze); z-index: 2; }
.bento-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.bento-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 13, 13, .94) 18%, rgba(13, 13, 13, .55) 100%); opacity: 0; transition: opacity .45s var(--ease); }
.bento-tile:hover img, .bento-tile:focus-visible img { opacity: .5; transform: scale(1); }
.bento-tile:hover::after, .bento-tile:focus-visible::after { opacity: 1; }
.bento-tile > * { position: relative; z-index: 2; }
.bento-tile h3 { margin-bottom: .4rem; }
.bento-tile p { font-size: .92rem; color: var(--bone-dim); margin: 0; }
.bento-tile .more { margin-top: 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }

/* ---------- 11. Turinys ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.prose { max-width: 66ch; }
/* Straipsniuose viename bloke būna kelios antraštės, todėl tarpas viršuje
   reikalingas visoms, išskyrus pirmąją. */
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--bronze); }

.grid { display: grid; gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--void); padding: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature h3 { margin-bottom: .55rem; }
.feature p { font-size: .96rem; color: var(--bone-dim); margin: 0; }
.feature p + p { margin-top: .8em; }

.callout { border-left: 2px solid var(--bronze); background: var(--graphite); padding: 1.5rem 1.8rem; margin-top: 2rem; }
.callout strong { display: block; font-family: var(--sans); font-weight: 600; margin-bottom: .5rem; }
.callout p { font-size: .96rem; color: var(--bone-dim); margin: 0; }

/* Lentelė */
.table-wrap { overflow-x: auto; border: 1px solid var(--hair-soft); }
/* Dviejų stulpelių lentelė siaurame stulpelyje: be minimalaus pločio,
   kad be reikalo nesislinktų horizontaliai. */
.table-wrap.narrow table { min-width: 0; }
.table-wrap.narrow th, .table-wrap.narrow td { padding: .8rem .9rem; font-size: .9rem; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 620px; }
th, td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--hair-soft); vertical-align: top; }
thead th { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bronze); font-weight: 500; background: var(--graphite); }
tbody th { font-weight: 600; color: var(--bone); }
td { color: var(--bone-dim); }
td.price { color: var(--bone); font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.table-note { font-size: .88rem; color: var(--bone-dim); margin-top: 1rem; }

/* Žingsniai */
.steps { list-style: none; counter-reset: z; margin: 0; padding: 0; }
.steps li { counter-increment: z; position: relative; padding: 0 0 2rem 3.6rem; border-left: 1px solid var(--hair-soft); margin-left: .7rem; }
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(z, decimal-leading-zero); position: absolute; left: -.7rem; top: 0;
  width: 1.4rem; height: 1.4rem; display: grid; place-items: center;
  background: var(--void); color: var(--bronze); font-family: var(--mono); font-size: .68rem;
}
.steps h3 { margin-bottom: .4rem; }
.steps p { font-size: .96rem; color: var(--bone-dim); margin: 0; }

/* Lipnus dviejų stulpelių procesas */
.sticky-cols { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sticky-col { position: sticky; top: 110px; }

/* DUK */
.faq { border-top: 1px solid var(--hair-soft); }
.faq details { border-bottom: 1px solid var(--hair-soft); }
.faq summary { cursor: pointer; padding: 1.25rem 2.4rem 1.25rem 0; font-weight: 500; font-size: 1.02rem; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); color: var(--bronze); font-size: 1.3rem; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 2.4rem 1.4rem 0; }
.faq .answer p { font-size: .96rem; color: var(--bone-dim); }

/* Nuorodų kortelės */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.link-card { display: block; background: var(--void); padding: 1.4rem 1.5rem; text-decoration: none; color: var(--bone); transition: background .25s var(--ease); }
.link-card:hover { background: var(--graphite); color: var(--bone); }
.link-card b { display: block; font-weight: 600; margin-bottom: .3rem; }
.link-card span { font-size: .88rem; color: var(--bone-dim); }

/* Darbų galerija */
.galerija { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.darbas { margin: 0; background: var(--void); display: flex; flex-direction: column; }
.darbas img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Vertikali nuotrauka rodoma tuo pačiu langeliu, kad tinklelis nesudužtų */
.darbas-v img { aspect-ratio: 4 / 3; object-position: center 35%; }
.darbas figcaption { padding: 1.2rem 1.4rem; }
.darbas figcaption b { display: block; font-weight: 600; margin-bottom: .3rem; }
.darbas figcaption span { font-size: .88rem; color: var(--bone-dim); }

/* Kainų kortelės */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.price-card { background: var(--void); padding: clamp(1.5rem, 2.6vw, 2rem); }
.price-card .idx { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--bronze); display: block; margin-bottom: .9rem; }
.price-card h3 { margin-bottom: .5rem; }
.price-card .suma { font-family: var(--serif); font-size: 1.85rem; color: var(--bone); display: block; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.price-card p { font-size: .92rem; color: var(--bone-dim); margin: 0; }

/* CTA juosta */
.cta-band { border: 1px solid var(--hair); background: var(--graphite); padding: clamp(2rem, 4.5vw, 3.4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -60%; left: 50%; transform: translateX(-50%); width: 120%; height: 200%; background: radial-gradient(ellipse at center, rgba(192, 138, 78, .12) 0%, transparent 58%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: .5em; }
.cta-band p { color: var(--bone-dim); max-width: 58ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Vietovių sąrašas */
.vietoves { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); }
.vietove { background: var(--void); padding: 1.3rem 1.5rem; text-decoration: none; color: var(--bone); transition: background .25s var(--ease); }
.vietove:hover { background: var(--graphite); color: var(--bone); }
.vietove b { display: block; font-weight: 600; }
.vietove span { font-size: .84rem; color: var(--bone-dim); }

/* ---------- 12. Formos ---------- */
.form-card { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bone-dim); }
.field label span { color: var(--bronze); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: .8rem .9rem; font-family: var(--sans); font-size: .98rem;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--hair); color: var(--bone);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bronze); background: rgba(255, 255, 255, .06); }
input::placeholder, textarea::placeholder { color: rgba(169, 164, 155, .55); }
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C08A4E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; padding-right: 2.4rem; }
option { background: var(--graphite); color: var(--bone); }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .84rem; color: var(--bone-dim); line-height: 1.5; }
.consent input { margin-top: .2rem; accent-color: var(--bronze); flex-shrink: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1.2rem 1.4rem; margin-top: 1.5rem; border: 1px solid var(--hair); background: var(--graphite); }
.notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: .1rem; }
.notice b { display: block; margin-bottom: .25rem; }
.notice p { font-size: .92rem; color: var(--bone-dim); margin: 0; }
.notice-ok svg { color: var(--ok); }
.notice-klaida svg { color: var(--klaida); }

/* ---------- 13. Modalas, juosta, mygtukas ---------- */
.modal { border: 1px solid var(--hair); background: var(--graphite); color: var(--bone); padding: 0; max-width: 480px; width: calc(100% - 2rem); }
.modal::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(3px); }
.modal-body { padding: clamp(1.6rem, 4vw, 2.2rem); }
.modal-body h2 { font-size: 1.8rem; margin-bottom: .4em; }
.modal-lead { font-size: .92rem; color: var(--bone-dim); margin-bottom: 1.5rem; }
.modal-close { position: absolute; top: .7rem; right: .7rem; width: 38px; height: 38px; display: grid; place-items: center; background: none; border: 1px solid var(--hair); color: var(--bone); cursor: pointer; }
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { border-color: var(--bronze); color: var(--bronze); }

.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; border-top: 1px solid var(--hair); background: rgba(13, 13, 13, .95); backdrop-filter: blur(10px); }
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem .6rem; font-size: .92rem; font-weight: 500; color: var(--bone); text-decoration: none; }
.callbar a.primary { background: var(--bronze); color: var(--void); font-weight: 600; }
.callbar svg { width: 17px; height: 17px; }

.fab { position: fixed; right: 1.4rem; bottom: 1.6rem; z-index: 65; display: flex; align-items: center; gap: .5rem; padding: .85rem 1.2rem; background: var(--bronze); color: var(--void); text-decoration: none; font-weight: 600; font-size: .92rem; box-shadow: 0 8px 30px rgba(192, 138, 78, .28); }
.fab svg { width: 18px; height: 18px; }
.fab:hover { background: #D8A268; color: var(--void); }

/* ---------- 14. Poraštė ---------- */
.site-footer { border-top: 1px solid var(--hair-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: var(--void); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 4vw, 3rem); }
.site-footer h4 { margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--bone-dim); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--bronze); }
.site-footer li { font-size: .9rem; color: var(--bone-dim); }
.footer-bottom { margin-top: clamp(2.4rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--hair-soft); font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; color: var(--bone-dim); }

/* ---------- 14b. Smulkūs patobulinimai ---------- */
/* Lipni antraštė uždengia inkarus, todėl paliekama vietos */
:target, [id] { scroll-margin-top: 100px; }

/* Ilgi skaičiai lentelėse ir kainose lygiuojami vienodai */
.suma, td, th { font-feature-settings: "tnum" 1; }

/* Nuoroda tekste matoma be spalvos suvokimo */
.prose a, .feature a, .faq a { text-decoration: underline; }

/* Mobiliajame nerodome plaukiojimo, kad netrukdytų slinkti */
@media (max-width: 640px) {
  .hero-slab { animation: none; }
}

/* ---------- 15. Pasirodymo animacija ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.matomas { opacity: 1; transform: none; }

/* ---------- 16. Prisitaikymas ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
  .burger { display: block; }
  .tel-link span { display: none; }
  /* Paslėpus meniu dingsta ir jo margin-left:auto, todėl dešinįjį kraštą
     prie burgerio prispaudžia pats mygtukų blokas. */
  .header-cta { margin-left: auto; }
  /* Logotipas gali trauktis: kitaip siaurame ekrane jis išstumia burgerį
     už matomos srities, o body turi overflow-x: hidden. */
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-txt { overflow: hidden; text-overflow: ellipsis; }
  .menu.atidarytas {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--graphite); border-bottom: 1px solid var(--hair); padding: .6rem;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .menu.atidarytas > li { width: 100%; }
  .menu.atidarytas a, .menu.atidarytas .menu-btn { width: 100%; padding: .85rem .9rem; justify-content: space-between; }
  .menu.atidarytas .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; border-left: 1px solid var(--hair); margin-left: .9rem; display: none; background: none; }
  .menu.atidarytas .menu-btn[aria-expanded="true"] + .dropdown { display: block; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .sticky-cols { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; }
  .sticky-col { position: static; }
  .bento, .grid-3, .galerija { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-form { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  /* Užklausos mygtukas antraštėje dubliuoja apatinę juostą, o vietos
     užima tiek, kad burgeris nebetelpa. Telefono piktograma lieka. */
  .header-cta .btn { display: none; }
  .nav { gap: 1rem; }
  .bento, .grid-2, .grid-3, .galerija { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  .fab { display: none; }
  body { padding-bottom: 56px; }
  .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .callbar, .fab, .modal, .grain, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
}
