/* ==========================================================================
   pulteliuremontas.lt — pagrindiniai stiliai
   Jokių išorinių šriftų ar bibliotekų: svetainė veikia ir be interneto.
   ========================================================================== */

:root {
  --bg: #070B14;
  --bg-soft: #0B1220;
  --surface: #0E1524;
  --surface-2: #121B2E;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #E9EFFA;
  --muted: #94A5C2;
  --muted-2: #6E7F9C;
  --accent: #3B82F6;
  --accent-2: #22D3EE;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --gold: #FFC24B;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1120px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 750;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

strong { color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

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

/* ---------- Antraštė ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
  flex: none;
}
.logo-mark svg { width: 19px; height: 19px; }

.logo small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }

.header-cta { display: inline-flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* ---------- Mygtukai ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #3B82F6, #1D6AE5);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(37, 99, 235, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(44px, 7vw, 84px);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 30% 40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.22), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero h1 { margin-bottom: 18px; }

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted-2);
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.hero-media img {
  width: 100%;
  height: clamp(280px, 38vw, 440px);
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.78);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

/* ---------- Sekcijos ---------- */

section { padding: clamp(52px, 7vw, 84px) 0; }
.section-tight { padding: clamp(38px, 5vw, 56px) 0; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(26px, 4vw, 42px);
}
.section-head p { color: var(--muted); margin-bottom: 0; }

.alt-bg { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Kortelės ---------- */

.grid {
  display: grid;
  gap: 16px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--surface-2);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin-bottom: 16px;
  color: var(--accent-2);
}
.card-icon svg { width: 21px; height: 21px; }

/* ---------- Simptomų juosta ---------- */

.symptom {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
}
.symptom svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.symptom strong { display: block; margin-bottom: 2px; }
.symptom span { color: var(--muted); font-size: 0.93rem; }

/* ---------- Straipsnio tipo blokas su paveikslu ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }

.split-body h2 { margin-bottom: 14px; }
.split-body p { color: var(--muted); }
.split-body p strong { color: var(--text); }

/* ---------- Palyginimo lentelė ---------- */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  font-size: 0.95rem;
}
.compare th, .compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare thead th {
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { color: var(--muted); font-weight: 600; width: 34%; }
.compare .good { color: #6EE7B7; }
.compare .bad { color: #FCA5A5; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Žingsniai ---------- */

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.08);
  border-radius: 10px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 40px;
}
.step h3 { margin-bottom: 4px; font-size: 1.02rem; }
.step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- DUK ---------- */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .faq-body { padding: 18px 22px 20px; color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA juosta ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px);
  background:
    radial-gradient(circle at 12% 10%, rgba(59, 130, 246, 0.28), transparent 55%),
    radial-gradient(circle at 88% 90%, rgba(34, 211, 238, 0.16), transparent 55%),
    var(--surface);
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 28px;
  align-items: center;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kontaktai ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.contact-card .card-icon { margin-bottom: 0; flex: none; }
.contact-card h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.contact-card a, .contact-card span { font-size: 1.12rem; font-weight: 650; color: var(--text); }
.contact-card a:hover { color: var(--accent-2); }
.contact-card small { display: block; color: var(--muted-2); font-size: 0.86rem; margin-top: 4px; font-weight: 400; }

.hours-note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  font-size: 0.94rem;
}

.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; }

/* ---------- Poraštė ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 48px 0 28px;
  font-size: 0.94rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}
.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--muted-2);
}

/* ---------- Pagalbinės ---------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
  margin: 0 6px 6px 0;
}

/* ---------- Responsyvumas ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: clamp(240px, 46vw, 360px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 16px;
    background: rgba(7, 11, 20, 0.98);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; }

  .header-cta .btn { display: none; }

  .grid-3, .grid-2, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .compare td:first-child { width: 40%; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; padding: 20px; }
  .step::before { width: 40px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Spausdinimas ---------- */

@media print {
  .site-header, .site-footer, .cta-band, .hero-media { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
