/* DM Sans šriftas įkeliamas per <link> faile partials/head.php */

/* ==========================================================================
   BathroomMaster York — pagrindinis stilius
   Spalvos: tamsiai mėlyna #1e3a5f | pilka #4a5568 | auksinė #d4af37
   ========================================================================== */

:root {
  --background: #ffffff;
  --foreground: #4a5568;
  --primary: #1e3a5f;
  --primary-fg: #ffffff;
  --accent: #d4af37;
  --accent-fg: #1e3a5f;
  --muted: #f3f4f6;
  --muted-fg: #5f6e86;
  --card: #ffffff;
  --border: #e5e7eb;
  --destructive: #dc2626;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 4px 12px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 28px rgba(16, 24, 40, .12);
  --shadow-xl: 0 20px 45px rgba(16, 24, 40, .16);
  --wrap: 80rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.625;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografija ---------- */
h1, h2, h3, h4, h5, h6 { color: var(--primary); text-wrap: balance; }

h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: 2rem;   font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
}

/* Mažesnė antraštė sekcijos viduje */
.h-sm { font-size: 1.5rem; }
@media (min-width: 768px) { .h-sm { font-size: 1.75rem; } }

.lead {
  font-size: 1.25rem;
  color: var(--muted-fg);
  line-height: 1.7;
}
@media (min-width: 768px) { .lead { font-size: 1.375rem; } }

.text-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s;
}
.text-link:hover { color: var(--accent); }

/* ---------- Išdėstymas ---------- */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1rem; }
.container-narrow { max-width: 56rem; }
.container-tight  { max-width: 48rem; }

@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section    { padding-block: 5rem; }
.section-lg { padding-block: 6rem; }
.section-sm { padding-block: 3rem; }

.bg-muted   { background-color: var(--muted); }
.bg-soft    { background-color: #f8f9fb; }
.bg-fade    { background-image: linear-gradient(to bottom, var(--muted), var(--background)); }
.bg-primary { background-color: var(--primary); color: var(--primary-fg); }
.bg-primary h1, .bg-primary h2, .bg-primary h3 { color: var(--primary-fg); }

.section-head { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.section-head p { margin-top: 1rem; font-size: 1.125rem; color: var(--muted-fg); }
.bg-primary .section-head p { color: rgba(255,255,255,.85); }

.grid { display: grid; gap: 2rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 2rem; grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-2 { gap: 3rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.stack > * + * { margin-top: 1.25rem; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9375rem; font-weight: 600;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .12s, box-shadow .2s;
  text-align: center;
  cursor: pointer;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 1.125em; height: 1.125em; flex-shrink: 0; }

.btn-primary { background-color: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background-color: #17304f; }

.btn-accent { background-color: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { background-color: #c39f2c; }

.btn-outline { border-color: var(--border); color: var(--primary); background-color: var(--background); }
.btn-outline:hover { background-color: var(--muted); border-color: var(--primary); }

.btn-outline-primary { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background-color: var(--primary); color: var(--primary-fg); }

.btn-outline-accent { border-color: var(--accent); color: #9a7d20; background: transparent; }
.btn-outline-accent:hover { background-color: var(--accent); color: var(--accent-fg); }

.btn-light { background-color: #fff; color: var(--primary); }
.btn-light:hover { background-color: #f1f3f7; }

.btn-secondary { background-color: var(--foreground); color: #fff; }
.btn-secondary:hover { background-color: #3b4557; }

.btn-facebook { background-color: #1877F2; color: #fff; }
.btn-facebook:hover { background-color: #1466d4; }

.btn-lg { padding: .875rem 1.75rem; font-size: 1.0625rem; }
.btn-xl { padding: 1rem 2.25rem; font-size: 1.125rem; border-radius: 999px; box-shadow: var(--shadow-lg); }
.btn-block { display: flex; width: 100%; }
.btn-round { border-radius: 999px; }

.btn-row { display: flex; flex-direction: column; gap: 1rem; }
.btn-row.center { align-items: center; justify-content: center; }
@media (min-width: 640px) { .btn-row { flex-direction: row; justify-content: center; } }

/* ---------- Kortelės ---------- */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s;
}
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card h3 { margin-bottom: .75rem; }
.card > p { color: var(--muted-fg); }

.icon-badge {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  background-color: rgba(30, 58, 95, .08);
  color: var(--primary);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.icon-badge svg { width: 1.75rem; height: 1.75rem; }
.icon-badge.gold { background-color: rgba(212, 175, 55, .14); color: #9a7d20; }
.icon-badge.round { border-radius: 999px; }
.icon-badge.lg { width: 5rem; height: 5rem; border-radius: var(--radius-lg); }
.icon-badge.lg svg { width: 2.5rem; height: 2.5rem; }

/* Paslaugos kortelė */
.service-card .service-desc { color: var(--muted-fg); margin-bottom: 1.5rem; }
.service-card ul { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; flex: 1; }
.service-card li { display: flex; gap: .5rem; font-size: .9375rem; align-items: flex-start; }
.service-card li::before { content: "✓"; color: var(--accent); font-weight: 700; line-height: 1.5; }

/* Atsiliepimas */
.testimonial .stars { display: flex; gap: .25rem; margin-bottom: 1rem; }
.testimonial .stars svg { width: 1rem; height: 1rem; fill: var(--accent); color: var(--accent); }
.testimonial blockquote { font-style: italic; font-size: .9375rem; margin-bottom: 1rem; flex: 1; }
.testimonial .who { border-top: 1px solid var(--border); padding-top: 1rem; }
.testimonial .who strong { font-size: .9375rem; color: var(--primary); }
.testimonial .who span { display: block; font-size: .8125rem; color: var(--muted-fg); }

/* Statistika */
.stat { background-color: var(--muted); border-radius: var(--radius-xl); padding: 1.5rem; text-align: center; }
.stat .num { font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.stat .lbl { font-size: .875rem; color: var(--muted-fg); }
.stat .icon-badge { margin: 0 auto 1rem; }

/* Funkcijų blokas (kodėl mus) */
.feature { text-align: center; }
.feature .icon-badge { margin-inline: auto; }
.feature h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.feature p { color: var(--muted-fg); }

/* ---------- Antraštė (header) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 2rem; }
.logo { flex-shrink: 0; display: block; }
/* Aiškus plotis būtinas: SVG be jo išsiplečia iki 100% ir išstumia meniu mygtuką */
.logo svg { height: 2.25rem; width: 9rem; }
@media (min-width: 480px) { .logo svg { height: 2.75rem; width: 11rem; } }

/* flex-shrink: 0 — kitaip nuorodos susispaustų ir užlipti ant mygtukų */
.main-nav { display: none; align-items: center; gap: 1.125rem; flex-shrink: 0; }
.main-nav a {
  font-size: .8125rem; font-weight: 500; color: rgba(74,85,104,.9);
  transition: color .2s; white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }

.header-actions { display: none; align-items: center; gap: .75rem; flex-shrink: 0; }
.icon-link { color: var(--muted-fg); transition: color .2s; display: inline-flex; }
.icon-link:hover { color: var(--primary); }
.icon-link svg { width: 1.25rem; height: 1.25rem; }

/* Mobilaus meniu mygtukas — bazinė būsena (matomas siauruose ekranuose) */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--primary);
  flex-shrink: 0;
}

/* Antraštė turi tris pakopas, kad niekada neišsilietų už ekrano ribų */
@media (min-width: 1080px) {
  .main-nav, .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .header-actions .btn { font-size: .8125rem; padding: .5rem .875rem; }
  /* siaurame desktope telefonas — tik piktograma, Facebook slepiamas */
  .header-fb { display: none; }
  .header-phone .label { display: none; }
}

@media (min-width: 1400px) {
  .main-nav { gap: 1.5rem; }
  .main-nav a { font-size: .875rem; }
  .header-actions { gap: 1rem; }
  .header-actions .btn { font-size: .875rem; padding: .625rem 1.125rem; }
  .header-fb { display: inline-flex; }
  .header-phone .label { display: inline; }
}

.nav-toggle svg { width: 1.25rem; height: 1.25rem; }

/* Mobilus meniu */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60;
  display: none;
}
.mobile-nav[open] { display: block; }
.mobile-nav::backdrop { background: rgba(15,23,42,.5); }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.5); }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(20rem, 88vw);
  background: var(--background);
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.mobile-nav-close { align-self: flex-end; color: var(--muted-fg); }
.mobile-nav-close svg { width: 1.5rem; height: 1.5rem; }
.mobile-nav-panel a.m-link { font-size: 1rem; font-weight: 500; color: var(--foreground); }
.mobile-nav-panel a.m-link[aria-current="page"] { color: var(--primary); font-weight: 600; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-nav-foot { border-top: 1px solid var(--border); padding-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(30,58,95,.95), rgba(30,58,95,.8));
}
.hero-inner { position: relative; z-index: 1; padding-block: 5rem; }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,.9); max-width: 48rem; margin: 0 auto 2rem; line-height: 1.7; }
.hero p a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero p a:hover { color: var(--accent); }
@media (min-width: 768px) { .hero p { font-size: 1.5rem; } }

.hero-price-display {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 2rem; margin-bottom: 2rem;
  border-radius: 999px;
  border: 2px solid rgba(212,175,55,.6);
  background-color: rgba(212,175,55,.12);
  color: var(--accent);
  font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em;
  box-shadow: 0 0 30px rgba(212,175,55,.15);
  backdrop-filter: blur(6px);
  transition: transform .3s, background-color .3s, border-color .3s;
}
.hero-price-display:hover { transform: scale(1.05); background-color: rgba(212,175,55,.2); border-color: var(--accent); }
@media (min-width: 768px) { .hero-price-display { font-size: 1.875rem; } }

/* Vidinių puslapių viršus */
.page-hero { padding-block: 4rem 3rem; }
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero .lead { max-width: 48rem; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }

.hero-image {
  position: relative; overflow: hidden;
  min-height: 50vh; display: flex; align-items: center; justify-content: center;
  padding-block: 6rem; text-align: center;
}
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-image .shade { position: absolute; inset: 0; background: rgba(2,6,23,.72); z-index: 1; }
.hero-image .hero-image-inner { position: relative; z-index: 2; max-width: 48rem; margin-inline: auto; }
.hero-image h1 { color: #fff; }
.hero-image p { color: rgba(255,255,255,.9); font-size: 1.25rem; margin-top: 1.5rem; }
.hero-image p a { color: #fff; text-decoration: underline; font-weight: 700; }
.hero-image p a:hover { color: var(--accent); }

/* ---------- Naršymo kelias ---------- */
.breadcrumb { margin-bottom: 2rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted-fg); }
.breadcrumb a { transition: color .2s; display: inline-flex; align-items: center; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 1rem; height: 1rem; }
.breadcrumb [aria-current="page"] { font-weight: 500; color: var(--foreground); }
.breadcrumb .sep { color: rgba(95,110,134,.5); display: inline-flex; }

/* ---------- Blogas ---------- */
.blog-tag {
  display: block; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #9a7d20; margin-bottom: .5rem;
}
.blog-card { height: 100%; display: flex; flex-direction: column; }
.blog-card .date { font-size: .875rem; color: var(--muted-fg); }
.blog-card h3 { font-size: 1.25rem; margin: .5rem 0 .75rem; transition: color .2s; }
.blog-card:hover h3 { color: #9a7d20; }
.blog-card p { color: var(--muted-fg); flex: 1; margin-bottom: 1.5rem; }
.read-more { display: inline-flex; align-items: center; gap: .5rem; color: #9a7d20; font-weight: 600; margin-top: auto; }
.read-more svg { width: 1rem; height: 1rem; transition: transform .2s; }
.blog-card:hover .read-more svg { transform: translateX(4px); }

.featured-post {
  background-color: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
  display: block;
  transition: transform .3s, box-shadow .3s;
}
.featured-post:hover { transform: translateY(-4px); }
@media (min-width: 768px) { .featured-post { padding: 3rem; } }
.featured-post .tagrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.featured-post .tagrow .icon-badge { width: 2.5rem; height: 2.5rem; margin: 0; background: rgba(212,175,55,.2); color: var(--accent); border-radius: 999px; }
.featured-post .tagrow .icon-badge svg { width: 1.25rem; height: 1.25rem; }
.featured-post .blog-tag { color: var(--accent); margin: 0; }
.featured-post h2 { color: #fff; margin-bottom: 1.5rem; transition: color .3s; }
.featured-post:hover h2 { color: var(--accent); }
.featured-post .excerpt { font-size: 1.125rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 48rem; }
.featured-post .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.featured-post .avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .875rem;
}
.featured-post .author { display: flex; align-items: center; gap: .75rem; }
.featured-post .author strong { display: block; font-size: .875rem; color: #fff; }
.featured-post .author span { font-size: .75rem; color: rgba(255,255,255,.6); }
.featured-post .read-more { color: var(--accent); }

/* Straipsnis */
.article { max-width: 56rem; margin-inline: auto; padding-top: 3rem; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted-fg); margin-bottom: 2rem; transition: color .2s; }
.back-link:hover { color: var(--primary); }
.back-link svg { width: 1rem; height: 1rem; }
.article-head { margin-bottom: 2rem; }
.article-head h1 { margin: .5rem 0 1.5rem; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  font-size: .875rem; color: var(--muted-fg);
  border-bottom: 1px solid var(--border); padding-bottom: 2rem;
}
.article-meta .avatar {
  width: 2rem; height: 2rem; border-radius: 999px;
  background: rgba(30,58,95,.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .75rem;
}
.article-meta .byline { display: flex; align-items: center; gap: .5rem; }
.article-meta .byline strong { color: var(--foreground); font-weight: 500; }
.article-figure { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 3rem; box-shadow: var(--shadow-lg); }
.article-figure img { width: 100%; height: 400px; object-fit: cover; }
.article-body > p { margin-bottom: 1.5rem; font-size: 1.0625rem; line-height: 1.8; }
.article-body > p:last-child { margin-bottom: 0; }

.related { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.related-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-card {
  display: block; padding: 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color .2s;
}
.related-card:hover { border-color: var(--accent); }
.related-card h3 { font-size: 1.125rem; transition: color .2s; }
.related-card:hover h3 { color: #9a7d20; }

/* ---------- Prieš / po slankiklis ---------- */
.ba-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .3s;
}
.ba-card:hover { box-shadow: var(--shadow-xl); }
.ba-card .cap { padding: 1.5rem; text-align: center; }
.ba-card .cap h3 { font-size: 1.25rem; }

.ba {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; background: var(--muted);
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ba-label {
  position: absolute; top: 1rem; z-index: 2;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  color: var(--primary);
  padding: .25rem .75rem; border-radius: 999px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}
.ba-label.before { left: 1rem; }
.ba-label.after  { right: 1rem; }

.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 20; margin: 0;
}
.ba-line {
  position: absolute; top: 0; bottom: 0; width: 3px;
  background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.3);
  pointer-events: none; z-index: 10;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .2s;
}
.ba-handle svg { width: 1.25rem; height: 1.25rem; }
.ba-range:hover ~ .ba-line .ba-handle { transform: scale(1.1); }
.ba-range:focus-visible ~ .ba-line .ba-handle { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ---------- FAQ akordeonas ---------- */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1.0625rem; font-weight: 600; color: var(--primary);
  cursor: pointer; list-style: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #9a7d20; }
.faq-item summary .chev { flex-shrink: 0; transition: transform .25s; }
.faq-item summary .chev svg { width: 1.25rem; height: 1.25rem; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--muted-fg); }

/* ---------- Forma ---------- */
.form-field { margin-bottom: 1.5rem; }
.form-field label { display: block; font-size: .9375rem; font-weight: 500; color: var(--primary); margin-bottom: .5rem; }
.form-field .req { color: var(--destructive); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: #111827;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa3b2; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,58,95,.12);
}
.form-field textarea { min-height: 9.5rem; resize: vertical; }
.form-field .err { display: block; margin-top: .375rem; font-size: .875rem; color: var(--destructive); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--destructive); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: .9375rem; }
.alert-ok  { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Kontaktai */
.contact-line { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-line .icon-badge { margin-bottom: 0; border-radius: var(--radius-lg); }
.contact-line h3 { font-size: 1.125rem; margin-bottom: .25rem; }
.contact-line a { font-size: 1.0625rem; transition: color .2s; }
.contact-line a:hover { color: var(--primary); }
.contact-line p { font-size: .875rem; color: var(--muted-fg); margin-top: .25rem; }

.panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .panel { padding: 2.5rem; } }
.panel h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }

.note-box {
  background: var(--muted); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
}
.note-box h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.note-box p { color: var(--muted-fg); margin-bottom: 1.5rem; }

/* ---------- CTA juostos ---------- */
.cta-band {
  background: var(--primary); color: var(--primary-fg);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem; text-align: center;
  box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) { .cta-band { padding: 4rem; } }
.cta-band h2 { color: #fff; margin-bottom: 1.5rem; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.125rem; max-width: 40rem; margin: 0 auto 2.5rem; }
.cta-band p a { color: #fff; text-decoration: underline; font-weight: 500; }
.cta-band p a:hover { color: var(--accent); }

/* ---------- Poraštė ---------- */
.site-footer { background-color: var(--primary); color: var(--primary-fg); }
.site-footer .container { padding-block: 4rem; }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-brand { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: #fff; display: block; }
.site-footer p { color: rgba(255,255,255,.8); }
.footer-about { margin-top: 1rem; max-width: 26rem; }
.footer-social {
  width: 3rem; height: 3rem; border-radius: 999px;
  background: rgba(255,255,255,.1); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2rem; transition: background-color .3s, color .3s;
}
.footer-social:hover { background: #fff; color: var(--primary); }
.footer-social svg { width: 1.5rem; height: 1.5rem; }
.footer-contact { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.footer-contact div { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; color: rgba(255,255,255,.8); }
.footer-contact svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: #fff; }

.footer-title {
  font-size: 1.0625rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(255,255,255,.9); display: block;
}
.footer-links { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: rgba(255,255,255,.8); transition: color .2s, transform .2s; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }

.footer-areas {
  margin-top: 3rem; padding: 1.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
}
.footer-areas strong { display: block; font-size: .875rem; color: rgba(255,255,255,.9); margin-bottom: .5rem; font-weight: 500; }
.footer-areas p { font-size: .875rem; color: rgba(255,255,255,.7); }

.footer-bottom {
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
}
.footer-bottom p { font-size: .875rem; color: rgba(255,255,255,.6); }

/* ---------- Teisiniai dokumentai ---------- */
.legal-document { max-width: 48rem; margin-inline: auto; }
.legal-document h2 { font-size: 1.5rem; font-weight: 700; margin: 3rem 0 1.5rem; color: var(--primary); }
.legal-document h2:first-child { margin-top: 0; }
.legal-document h3 { font-size: 1.25rem; margin: 2rem 0 1rem; }
.legal-document p { margin-bottom: 1.5rem; }
.legal-document ul, .legal-document ol { margin: 0 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.legal-document ul { list-style: disc; }
.legal-document ol { list-style: decimal; }
.legal-document li { padding-left: .5rem; }
.legal-document strong { font-weight: 600; color: var(--foreground); }
.legal-document a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.legal-document .contact-box {
  background: var(--muted); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem;
}
.legal-head { border-bottom: 1px solid var(--border); padding-bottom: 2rem; margin-bottom: 3rem; }
.legal-head p { color: var(--muted-fg); margin-top: 1rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; font-size: .875rem; }
.legal-nav a { color: var(--muted-fg); font-weight: 500; display: inline-flex; align-items: center; gap: .5rem; }
.legal-nav a:hover { color: var(--primary); }
.legal-nav svg { width: 1rem; height: 1rem; }
.legal-nav .div { color: rgba(95,110,134,.35); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 7rem; }
.notfound .code { font-size: 5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.notfound h1 { margin: 1rem 0 1.5rem; }
.notfound p { color: var(--muted-fg); font-size: 1.125rem; max-width: 34rem; margin: 0 auto 2.5rem; }

/* ---------- Pasirodymo animacija ----------
   SVARBU: turinys matomas be JavaScript. Slepiamas tik tada, kai JS tikrai veikia
   (tada <html> gauna klasę .js), todėl lūžus skriptui puslapis lieka skaitomas. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Spausdinimas ---------- */
@media print {
  .site-header, .site-footer, .legal-nav, .breadcrumb, .btn, .mobile-nav { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  h1, h2, h3, p, li { color: #000 !important; }
  .legal-document { max-width: 100% !important; }
  .legal-document h2 { page-break-after: avoid; margin-top: 2rem !important; }
  .legal-document p, .legal-document li { page-break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ==========================================================================
   PAPILDYMAI
   ========================================================================== */

/* ---------- Lipni juosta telefone (skambinti / WhatsApp) ---------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(30, 58, 95, .15);
  box-shadow: 0 -6px 20px rgba(16, 24, 40, .14);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem .5rem;
  font-size: .9375rem; font-weight: 700;
  transition: background-color .2s;
}
.callbar a svg { width: 1.125rem; height: 1.125rem; }
.callbar .cb-call { background: var(--primary); color: #fff; }
.callbar .cb-call:active { background: #17304f; }
.callbar .cb-wa   { background: var(--accent); color: var(--accent-fg); }
.callbar .cb-wa:active { background: #c39f2c; }

/* Juostos aukščio kompensacija, kad neuždengtų poraštės */
@media (max-width: 767px) {
  body { padding-bottom: 3.5rem; }
}
@media (min-width: 768px) {
  .callbar { display: none; }
}
@media print {
  .callbar { display: none !important; }
}

/* ---------- Proceso žingsniai ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem 1.25rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -.875rem; left: 1.25rem;
  width: 1.75rem; height: 1.75rem;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-fg);
  font-size: .8125rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.step p  { font-size: .9375rem; color: var(--muted-fg); }

/* ---------- Facebook blokas ---------- */
.fb-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .fb-panel { flex-direction: row; text-align: left; gap: 2rem; padding: 2.5rem; }
  .fb-panel .fb-text { flex: 1; }
}
.fb-panel .fb-mark {
  width: 4rem; height: 4rem; border-radius: 999px; flex-shrink: 0;
  background: rgba(24, 119, 242, .1); color: #1877F2;
  display: flex; align-items: center; justify-content: center;
}
.fb-panel .fb-mark svg { width: 2rem; height: 2rem; }
.fb-panel h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.fb-panel p  { color: var(--muted-fg); }


/* ==========================================================================
   Slapukų sutikimo juosta
   ========================================================================== */
.cookie-bar {
  position: fixed; z-index: 60;
  left: 1rem; right: 1rem; bottom: calc(4.25rem + env(safe-area-inset-bottom));
  max-width: 34rem;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.25rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .9375rem; color: var(--muted-fg);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; }
.cookie-actions .btn { flex: 1; padding: .625rem 1rem; font-size: .9375rem; }
@media (min-width: 768px) {
  .cookie-bar { left: 1.5rem; right: auto; bottom: 1.5rem; }
}
.footer-linkbtn {
  background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.8);
  cursor: pointer; text-align: left; transition: color .2s;
}
.footer-linkbtn:hover { color: #fff; }

/* Inkaro nuorodos (#cookies, #contact-form) neužlenda po lipnia antrašte */
html { scroll-padding-top: 6rem; }
