/* ============================================================
   Rubinta ir Ko — modernus stilius (2026 perdažymas)
   Centruotas išdėstymas, responsive, be išorinių priklausomybių
   ============================================================ */

:root {
  --c-ink: #1b2733;
  --c-body: #3a4754;
  --c-muted: #5c6b7a;
  --c-primary: #15486e;
  --c-primary-dark: #0e3350;
  --c-primary-soft: #e8f0f7;
  --c-accent: #e2662c;
  --c-accent-dark: #c2531e;
  --c-bg: #f5f7fa;
  --c-surface: #ffffff;
  --c-border: #dce4ec;
  --c-ok: #2e7d4f;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(14, 51, 80, 0.10);
  --shadow-sm: 0 2px 10px rgba(14, 51, 80, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
}

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

/* --- Pasiekiamumas --- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

a { color: var(--c-primary); }
a:hover { color: var(--c-accent-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--c-ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ============================================================
   Antraštė
   ============================================================ */
.topbar {
  background: var(--c-primary-dark);
  color: #cfe0ef;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 7px;
  flex-wrap: wrap;
}
.topbar-note { margin: 0; color: #9fb8cf; }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-links a { color: #dce9f5; text-decoration: none; }
.topbar-links a:hover { color: #fff; }

.mainbar {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}
.mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-ink);
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.brand-text b em { font-style: normal; color: var(--c-accent); }
.brand-text small {
  color: var(--c-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand:hover { color: var(--c-primary); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-box { display: inline-flex; flex-direction: column; gap: 3.5px; }
.nav-toggle-box span {
  width: 17px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-list a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-list a:hover { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.nav-list a[aria-current="page"] { color: var(--c-primary); background: var(--c-primary-soft); }
.nav-list .nav-cta {
  background: var(--c-accent);
  color: #fff;
}
.nav-list .nav-cta:hover { background: var(--c-accent-dark); color: #fff; }

/* Mobili navigacija */
@media (max-width: 880px) {
  .topbar-note { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow);
  }
  .mainbar { position: sticky; }
  .mainbar-inner { position: relative; flex-wrap: wrap; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; padding: 10px 20px 16px; gap: 2px; }
  .nav-list a { padding: 11px 12px; }
}

/* ============================================================
   Naršymo kelias (breadcrumbs)
   ============================================================ */
.breadcrumbs {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  font-size: 0.88rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding-block: 10px;
}
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "›"; color: #a9b6c2; }
.breadcrumbs a { text-decoration: none; color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs [aria-current="page"] { color: var(--c-primary); font-weight: 600; }

/* ============================================================
   Hero / puslapių antraštė
   ============================================================ */
.hero {
  background:
    linear-gradient(160deg, rgba(14,51,80,0.94) 0%, rgba(21,72,110,0.90) 55%, rgba(21,72,110,0.82) 100%),
    radial-gradient(circle at 85% 15%, rgba(226,102,44,0.35), transparent 45%);
  color: #eaf2f9;
  padding: clamp(48px, 9vw, 96px) 0;
}
.hero-inner { max-width: 720px; }
.hero-kicker {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffd9bd;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero p.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #d7e4ef; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-chips span {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.86rem;
  color: #e3edf6;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }

/* Sekcijos antraštė */
.page-header { padding: 40px 0 8px; }
.page-header p.lead { font-size: 1.05rem; color: var(--c-muted); max-width: 760px; }
.kicker {
  color: var(--c-accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

section.band { padding: 44px 0; }
section.band-tight { padding: 28px 0; }

.card-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 4vw, 36px);
}

/* Tinkleliai */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ============================================================
   Produktų kortelės
   ============================================================ */
.product-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card figure { margin: 0; background: #eef1f4; }
.product-card figure img { display: block; width: 100%; }
.product-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card-body h3 { margin: 0; }
.product-card-body p { margin: 0; color: var(--c-muted); font-size: 0.94rem; flex: 1; }
.product-card-body .more { font-weight: 700; text-decoration: none; }
.product-card-body .more::after { content: " →"; }

/* Produktų tabai sub-navigacija */
.product-tabs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
}
.product-tabs a {
  display: block;
  padding: 9px 16px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-ink);
}
.product-tabs a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.product-tabs a[aria-current="page"] {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* Produkto aprašymo blokas */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 30px;
  align-items: start;
}
.product-layout .product-figure {
  margin: 0 0 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.product-layout .product-figure img { max-width: 200px; }
@media (max-width: 760px) { .product-layout { grid-template-columns: 1fr; } }

.spec-list { list-style: none; margin: 0 0 1em; padding: 0; }
.spec-list li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.spec-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}

ol.steps, ul.checks { padding-left: 22px; }
ol.steps li, ul.checks li { margin-bottom: 10px; }

/* Išskirtinės dėžutės */
.note-box {
  background: var(--c-primary-soft);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 0 0 1.4em;
  font-size: 0.95rem;
}
.note-box.warn { background: #fdf3e9; border-left-color: var(--c-accent); }

.cta-band {
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary));
  color: #dce9f5;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 1.35rem; }
.cta-band p { margin: 0; }

/* ============================================================
   Savybių / pranašumų blokai
   ============================================================ */
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.feature-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: 0.92rem; color: var(--c-muted); }

/* Kontaktų kortelės */
.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card h3 { margin-bottom: 2px; }
.contact-card .role { color: var(--c-accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-card address { font-style: normal; color: var(--c-muted); margin: 6px 0 12px; }
.contact-card ul { list-style: none; margin: 0 0 12px; padding: 0; font-size: 0.95rem; }
.contact-card li { margin-bottom: 6px; }
.contact-card .more-link { margin-top: auto; font-weight: 700; text-decoration: none; }

/* DUK */
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--c-ink);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--c-accent);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 20px 16px; color: var(--c-body); }

/* ============================================================
   Lentelės (kainoraštis)
   ============================================================ */
.table-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin: 0 0 30px;
}
table.prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 560px;
}
table.prices caption {
  text-align: left;
  font-weight: 700;
  color: var(--c-ink);
  padding: 16px 18px 4px;
  font-size: 1.05rem;
}
table.prices caption small { display: block; font-weight: 400; color: var(--c-muted); font-size: 0.85rem; margin-top: 3px; }
table.prices th, table.prices td {
  padding: 10px 14px;
  text-align: left;
  border-top: 1px solid var(--c-border);
}
table.prices thead th {
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-top: none;
}
table.prices td.num, table.prices th.num { text-align: right; white-space: nowrap; }
table.prices tbody tr:hover { background: #f4f8fb; }
table.prices td:first-child { color: var(--c-muted); }

/* ============================================================
   Porinė juosta
   ============================================================ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stat b { display: block; font-size: 1.3rem; color: #fff; }
.stat span { font-size: 0.84rem; color: #c3d5e4; }

/* ============================================================
   Poraštė
   ============================================================ */
.site-footer {
  background: var(--c-primary-dark);
  color: #b7cadb;
  margin-top: 56px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-block: 44px 30px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d3e2ef; text-decoration: none; }
.site-footer a:hover { color: #ffb37e; }
.footer-about p { margin: 0; max-width: 300px; }
.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand em { font-style: normal; color: var(--c-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-block: 16px;
  font-size: 0.85rem;
  color: #8fa6ba;
}
.footer-bottom p { margin: 0; }

/* Turinio puslapio tipografija */
.article {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 4vw, 40px);
  max-width: 860px;
}
.article > p:last-child, .article > *:last-child { margin-bottom: 0; }
.article img.float-right { float: right; margin: 0 0 14px 20px; }
.article img.float-left { float: left; margin: 0 20px 14px 0; }
@media (max-width: 640px) {
  .article img.float-right, .article img.float-left { float: none; display: block; margin: 14px auto; }
}

/* Spausdinimas */
@media print {
  .topbar, .mainbar, .breadcrumbs, .site-footer, .nav-toggle, .hero-actions { display: none !important; }
  body { background: #fff; }
  .card-panel, .article, .table-wrap { box-shadow: none; border-color: #ccc; }
}