/* ═══════════════════════════════════════════════════════════════════
   Bootstrap overrides — brand colours & typography
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --bs-primary:        #2f4bff;
  --bs-primary-rgb:    47, 75, 255;
  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  --bs-body-bg:        #f5f6fa;
  --bs-body-color:     #0f1330;
  --bs-link-color:     #2f4bff;
  --bs-link-hover-color: #1e36d9;
  --bs-border-color:   #e6e8f0;
  --blue-dark:   #1e36d9;
  --blue-soft:   #eef1ff;
  --ink-2:       #3b4068;
  --muted:       #6b7094;
  --radius:      18px;
}

body { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

.btn-primary {
  --bs-btn-bg:              #2f4bff;
  --bs-btn-border-color:    #2f4bff;
  --bs-btn-hover-bg:        #1e36d9;
  --bs-btn-hover-border-color: #1a32c8;
  --bs-btn-active-bg:       #1a32c8;
  --bs-btn-active-border-color: #1730b8;
  --bs-btn-focus-shadow-rgb: 47, 75, 255;
}
.text-primary   { color: #2f4bff !important; }
.bg-primary     { background-color: #2f4bff !important; }
.border-primary { border-color: #2f4bff !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

/* ── Site header wrapper (sticky) ───────────────────────────────── */
#siteHeader { position: sticky; top: 0; z-index: 1030; }

/* ── Top bar ────────────────────────────────────────────────────── */
#topBar { background: var(--blue-soft); color: var(--muted); font-size: 11.5px; padding: 6px 0; border-bottom: 1px solid var(--bs-border-color); }
#topBar a { color: var(--muted); text-decoration: none; transition: color .15s; }
#topBar a:hover { color: var(--bs-primary); }
#topBar .topbar-sep { opacity: .35; }
#topBar .topbar-phone { font-weight: 600; color: var(--bs-body-color); font-size: 14px; }
#topBar .topbar-phone:hover { color: var(--bs-primary); }
@media (min-width: 768px) { #topBar .topbar-phone { font-size: 11.5px; } }

/* ── Navbar ─────────────────────────────────────────────────────── */
#mainNavbar {
  background: var(--bs-body-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#mainNavbar.scrolled {
  border-bottom-color: var(--bs-border-color);
  box-shadow: 0 4px 20px rgba(15,19,48,.07);
}
.brand {
  font-weight: 800;
  font-size: 17px;
  color: var(--bs-body-color) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bs-primary);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.nav-link {
  color: var(--ink-2) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active { color: var(--bs-primary) !important; background: var(--blue-soft); }

/* ── Eyebrow ────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bs-primary); flex-shrink: 0; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero-title { font-size: clamp(34px, 5vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; }
.blob { position: absolute; inset: 0; background: var(--bs-primary); border-radius: 50% 45% 55% 48% / 50% 50% 50% 50%; filter: blur(.3px); }
.blob::after { content: ""; position: absolute; inset: -20px; border-radius: inherit; background: var(--bs-primary); opacity: .18; z-index: -1; }
.hero-photo { position: absolute; inset: 8% 6% 0 6%; border-radius: 24px; overflow: hidden; background: #dfe3ef; }
.badge-float { position: absolute; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(15,19,48,.13); display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; z-index: 2; }
.badge-rating { top: 8%; right: -10px; }
.stars { color: #ffb020; font-size: 14px; letter-spacing: 1px; }
.spark { position: absolute; width: 14px; height: 14px; background: #fff; border-radius: 3px; transform: rotate(45deg); opacity: .8; z-index: 2; }

/* ── Section helpers ────────────────────────────────────────────── */
.section-label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.section-heading { font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -0.01em; }

/* ── About (blue panel) ─────────────────────────────────────────── */
.about-card { background: var(--bs-primary); border-radius: 28px; color: #fff; position: relative; overflow: hidden; }
.about-card::before { content: ""; position: absolute; top: 30px; left: 40px; width: 14px; height: 14px; background: rgba(255,255,255,.35); border-radius: 3px; transform: rotate(45deg); }
.about-card::after  { content: ""; position: absolute; bottom: 40px; right: 80px; width: 10px; height: 10px; background: rgba(255,255,255,.35); border-radius: 50%; }
.about-card h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; line-height: 1.15; }
.about-card p  { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.65; }
.about-visual  { position: relative; aspect-ratio: 1 / 1; max-width: 340px; }
.cloud         { position: absolute; inset: 0; background: #fff; border-radius: 50% 45% 55% 48% / 45% 55% 45% 55%; }
.cloud-photo   { position: absolute; inset: 10%; border-radius: 50%; overflow: hidden; background: #dfe3ef; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.check { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--bs-primary); display: grid; place-items: center; font-weight: 800; font-size: 11px; flex-shrink: 0; }

/* ── Features / Why ─────────────────────────────────────────────── */
.feature-card { border-color: var(--bs-border-color) !important; border-radius: var(--radius) !important; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15,19,48,.07) !important; }
.feature-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--bs-primary); display: grid; place-items: center; }

/* ── Services ───────────────────────────────────────────────────── */
.service-card { border-color: var(--bs-border-color) !important; border-radius: var(--radius) !important; transition: transform .2s, box-shadow .2s; overflow: hidden; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,19,48,.08) !important; }
.service-img { aspect-ratio: 4/3; background: linear-gradient(135deg,#e2e6f0,#cfd4e4); position: relative; overflow: hidden; }
.service-img::before { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-family: ui-monospace,Menlo,monospace; font-size: 12px; color: #6b7094; background: repeating-linear-gradient(45deg,transparent 0 12px,rgba(255,255,255,.35) 12px 24px); }
.service-img[data-label="kilimų valymas"] { background: url('img/kilimu_valymas.jpg') center/cover no-repeat; }
.service-img[data-label="kilimų valymas"]::before { display: none; }
.service-img[data-label="langų valymas"] { background: url('img/langu_valymas.jpg') center/cover no-repeat; }
.service-img[data-label="langų valymas"]::before { display: none; }
.service-img[data-label="po remonto"] { background: url('img/postatybinis_valymas.jpg') center/cover no-repeat; }
.service-img[data-label="po remonto"]::before { display: none; }
.service-img[data-label="valymas po nuomos"] { background: url('img/po_nuomos.jpg') center/cover no-repeat; }
.service-img[data-label="valymas po nuomos"]::before { display: none; }
.service-img[data-label="baldų valymas"] { background: url('img/baldu_valymas.jpg') center/cover no-repeat; }
.service-img[data-label="baldų valymas"]::before { display: none; }
.service-img[data-label="biuro valymas"] { background: url('img/biuru_valymas.jpg') center/cover no-repeat; }
.service-img[data-label="biuro valymas"]::before { display: none; }

/* ── Stats (blue panel) ─────────────────────────────────────────── */
.stats-card { background: var(--bs-primary); border-radius: 28px; position: relative; overflow: hidden; }
.stat-tile  { background: #fff; border-radius: 16px; padding: 20px; }
.stat-tile .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--bs-primary); display: grid; place-items: center; margin-bottom: 12px; }
.stat-n { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; color: #0f1330; }
.stat-l { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stats-text h2 { font-size: clamp(22px,3vw,30px); font-weight: 800; line-height: 1.2; color: #fff; }
.stats-text p  { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.65; }

/* ── Testimonials ───────────────────────────────────────────────── */
.testi-card  { background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--radius); padding: 28px; }
.testi-head  { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar      { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#cfd4e4,#a9b1cc); flex-shrink: 0; }
.testi-name  { font-weight: 700; font-size: 14px; }
.testi-role  { font-size: 12px; color: var(--muted); }
.testi-text  { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 16px; }
.testi-foot  { display: flex; justify-content: space-between; align-items: center; }
.testi-stars { color: #ffb020; letter-spacing: 2px; }
.testi-indicators { position: static !important; margin: 20px 0 0 !important; }
.testi-indicators button { width: 9px !important; height: 9px !important; border-radius: 50% !important; background-color: #d5d9e6 !important; border: none !important; opacity: 1 !important; padding: 0 !important; margin: 0 4px !important; flex-shrink: 0; transition: width .3s ease, background-color .3s ease !important; }
.testi-indicators button.active { width: 24px !important; border-radius: 5px !important; background-color: var(--bs-primary) !important; }
#testiCarousel .testi-arrow { top: 42%; bottom: auto; transform: translateY(-50%); width: 44px; height: 44px; background: #fff; border: 1px solid var(--bs-border-color); border-radius: 50%; box-shadow: 0 4px 16px rgba(15,19,48,.1); opacity: 1; color: var(--bs-body-color); font-size: 18px; transition: background .15s, color .15s, border-color .15s; display: flex; align-items: center; justify-content: center; }
#testiCarousel .testi-arrow:hover { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); box-shadow: 0 4px 22px rgba(47,75,255,.3); opacity: 1; }
#testiCarousel .carousel-control-prev.testi-arrow { left: 0; }
#testiCarousel .carousel-control-next.testi-arrow { right: 0; }
@media (max-width: 575.98px) { #testiCarousel .testi-arrow { display: none !important; } }

/* ── Gallery slider ─────────────────────────────────────────────── */
.gallery-wrap  { position: relative; padding: 0 58px; }
.gallery-outer { overflow: hidden; border-radius: 16px; }
.gallery-track { display: flex; gap: 20px; transition: transform .45s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.gallery-item  { flex: 0 0 240px; border-radius: 14px; overflow: hidden; cursor: pointer; transition: box-shadow .2s; }
.gallery-item:hover { box-shadow: 0 10px 28px rgba(15,19,48,.12); }
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-img   { aspect-ratio: 1 / 1; background: linear-gradient(135deg,#e2e6f0,#cfd4e4); position: relative; overflow: hidden; transition: transform .35s; }
.gallery-img::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent 0 12px,rgba(255,255,255,.3) 12px 24px); }
.gallery-img::after  { content: attr(data-label); position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: ui-monospace,Menlo,monospace; font-size: 11px; color: #6b7094; }
.gallery-img-real::before { content: none !important; }
.gallery-img-real::after  { content: none !important; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--bs-border-color); box-shadow: 0 4px 16px rgba(15,19,48,.1); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--bs-body-color); cursor: pointer; z-index: 2; padding: 0; transition: background .15s, color .15s, border-color .15s; }
.gallery-arrow:hover { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); box-shadow: 0 4px 22px rgba(47,75,255,.3); }
.gallery-arrow:disabled { opacity: .35; cursor: default; pointer-events: none; }
.gallery-arrow-prev { left: 0; }
.gallery-arrow-next { right: 0; }
@media (max-width: 575.98px) { .gallery-wrap { padding: 0 50px; } .gallery-item { flex: 0 0 200px; } }

/* ── Marquee ────────────────────────────────────────────────────── */
.marquee { background: var(--bs-primary); color: #fff; padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee-slide 30s linear infinite; font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.marquee-track span { display: inline-flex; align-items: center; gap: 24px; }
.marquee-track span::after { content: "✦"; color: rgba(255,255,255,.55); }
@keyframes marquee-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── Price Calculator ───────────────────────────────────────────── */
.calc-section { background: #f0f2fb; }
.calc-card    { background: #fff; border-radius: 24px !important; box-shadow: 0 4px 28px rgba(15,19,48,.07); }
.calc-result  { background: var(--blue-soft); border-radius: 24px !important; box-shadow: 0 4px 28px rgba(47,75,255,.08); }
.calc-label   { font-size: 13px; font-weight: 700; color: var(--bs-body-color); margin-bottom: 8px; letter-spacing: .01em; }
.calc-select  { border-color: var(--bs-border-color); border-radius: 12px !important; padding: 11px 16px; font-size: 14px; font-weight: 500; }
.calc-select:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 3px rgba(47,75,255,.13); }
.calc-radio-btn { font-size: 14px; font-weight: 600; padding: 8px 20px; border-color: var(--bs-border-color) !important; color: var(--muted) !important; background: #fff !important; transition: background .15s, color .15s, border-color .15s; }
.btn-check:checked + .calc-radio-btn { background: var(--bs-primary) !important; border-color: var(--bs-primary) !important; color: #fff !important; }
.calc-radio-btn:hover { border-color: var(--bs-primary) !important; color: var(--bs-primary) !important; background: var(--blue-soft) !important; }
.calc-icon-wrap     { width: 68px; height: 68px; border-radius: 20px; background: #fff; color: var(--bs-primary); display: grid; place-items: center; font-size: 28px; box-shadow: 0 4px 16px rgba(47,75,255,.12); }
.calc-icon-success  { background: #eafaf1; color: #1db954; box-shadow: 0 4px 16px rgba(29,185,84,.15); }
.calc-price-wrap    { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.calc-price-num     { font-size: 68px; font-weight: 800; letter-spacing: -0.03em; color: var(--bs-body-color); line-height: 1; transition: opacity .2s; }
.calc-price-eur     { font-size: 30px; font-weight: 700; color: var(--muted); align-self: flex-start; padding-top: 10px; }
.calc-summary       { display: grid; gap: 0; }
.calc-summary-row   { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 9px 0; border-bottom: 1px solid rgba(47,75,255,.1); }
.calc-summary-row:last-child { border-bottom: none; }
.calc-summary-label { color: var(--muted); font-weight: 500; }
.calc-summary-value { font-weight: 600; color: var(--bs-body-color); text-align: right; max-width: 60%; }
.calc-modal-summary { background: var(--blue-soft); border: 1px solid rgba(47,75,255,.12); }

/* ── Contact section ────────────────────────────────────────────── */
.contact-info-card {
  background: var(--bs-primary);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.contact-info-card::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.contact-label { font-size: 11px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 3px; }
.contact-val   { font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; display: block; line-height: 1.6; }
a.contact-val:hover { color: rgba(255,255,255,.8); }

.contact-form-card {
  background: #fff;
  border-radius: 24px !important;
  box-shadow: 0 4px 28px rgba(15,19,48,.07);
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer { background: var(--bs-body-bg); }
.foot-about  { color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-col h5 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--bs-body-color); }
.footer-links li { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.footer-links a  { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--bs-primary); }

/* ── Page hero (sub-pages) ──────────────────────────────────────── */
.page-hero {
  background: var(--bs-primary);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -60px; right: -40px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -70px; left: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(28px,5vw,44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.page-hero .lead {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
.page-hero .breadcrumb { position: relative; z-index: 1; background: transparent; padding: 0; margin: 0 0 16px; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: 13px; text-decoration: none; }
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }

/* ── Gallery page grid ──────────────────────────────────────────── */
.gallery-page .gallery-item { flex: unset; width: 100%; }

/* ── Service detail blocks ──────────────────────────────────────── */
.service-detail { border-radius: var(--radius); border: 1px solid var(--bs-border-color); padding: 28px; background: #fff; transition: box-shadow .2s; }
.service-detail:hover { box-shadow: 0 8px 28px rgba(15,19,48,.07); }
.service-detail-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--bs-primary); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }

/* ── Utility ────────────────────────────────────────────────────── */
@keyframes pulse-cta { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.pulse-cta { animation: pulse-cta .6s ease; }

/* Check mark on white backgrounds: use light-blue bg; inside blue card: white */
.check { background: var(--blue-soft) !important; }
.about-card .check { background: #fff !important; }

/* Long email/URL links shouldn't overflow containers */
.contact-val { overflow-wrap: break-word; word-break: break-word; }

@media (max-width: 991.98px) { .badge-rating { right: 0; } .hero-visual { max-width: 420px; margin: 0 auto; } }
@media (max-width: 767.98px)  { .about-visual { max-width: 260px; } }
@media (max-width: 575.98px)  {
  .about-card { border-radius: 20px; }
  .stats-card { border-radius: 20px; }
  .calc-price-num { font-size: 48px; }
  .hero-visual { max-width: 340px; }
  .gallery-wrap { padding: 0 42px; }
  .badge-rating { display: none; }
}
/* Prevent very long brand name overflowing on tiny screens */
@media (max-width: 380px) {
  .brand { font-size: 13px; }
  .logo-mark { width: 28px; height: 28px; border-radius: 8px; }
}
