/* ============================================================
   DOMUS LUMINA – Paslaugų puslapis (paslaugos.css)
   Follows the same tokens & conventions as about-us.css.
   Shared base is duplicated here so the prototype works
   standalone; when integrating, keep as page CSS (like
   about-us.css) or dedupe the shared part into a global file.
   ============================================================ */

:root {
  --dl-bg: #ffffff;
  --dl-soft: #eff2f5;
  --dl-soft-card: #f9fafb;
  --dl-card: #ffffff;
  --dl-text: #0c111d;
  --dl-muted: #475467;
  --dl-muted-2: #667085;
  --dl-line: #e4e7ec;
  --dl-line-strong: #d0d5dd;
  --dl-accent: #17b26a;
  --dl-accent-hover: #12935a;
  --dl-accent-soft: #e9faef;
  --dl-black: #05070a;
  --dl-star: #f5b301;
  --dl-radius: 10px;
  --dl-radius-lg: 14px;
  --dl-container: 1160px;
  --dl-container-narrow: 860px;
  --dl-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: var(--dl-font);
}

.dl-paslaugos {
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: var(--dl-font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  overflow: hidden;
}

.dl-paslaugos img { display: block; max-width: 100%; }

.dl-paslaugos a { color: inherit; text-decoration: none; }

.dl-container {
  width: min(calc(100% - 48px), var(--dl-container));
  margin-inline: auto;
}

.dl-section { padding: clamp(52px, 6vw, 88px) 0; }
.dl-section--soft { background: var(--dl-soft); }
.dl-section--compact {
  padding-top: clamp(44px, 5vw, 66px);
  padding-bottom: clamp(44px, 5vw, 68px);
}

.dl-kicker {
  margin-bottom: 12px;
  color: var(--dl-accent);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* SVARBU: bazinės h2/h3 taisyklės sąmoningai NEtaikomos antraštėms, kurios
   turi savo komponento klasę (.faq__heading – globalus svetainės DUK
   komponentas, .dl-service__title – paslaugos kortelė). Be šio apribojimo
   gyvoje svetainėje (kur globalus CSS kraunamas PIRMAS, o paslaugos.css –
   antras) puslapio taisyklės perrašytų komponentų stilius. */
.dl-paslaugos h1,
.dl-paslaugos h2,
.dl-paslaugos h3,
.dl-paslaugos p { margin-top: 0; }

.dl-paslaugos h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  color: var(--dl-text);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-align: center;
}

.dl-paslaugos h2:not(.faq__heading) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--dl-text);
  font-size: clamp(26px, 2.7vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.dl-paslaugos h3:not(.faq__heading) {
  margin-bottom: 10px;
  color: var(--dl-text);
  font-size: clamp(18px, 1.25vw, 20px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.dl-paslaugos p { color: var(--dl-muted); }

.dl-lead {
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 12px;
  color: var(--dl-muted) !important;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}

/* ---- Buttons ---------------------------------------------------------- */
.dl-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.dl-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.dl-btn-wrap { padding-top: 32px; }
.dt-btn-centered { text-align: center; }

.dl-btn:hover { transform: translateY(-1px); }

.dl-paslaugos .dl-btn--primary { background: var(--dl-black); color: #ffffff; }
.dl-paslaugos .dl-btn--primary:hover { background: #1a1f27; }

.dl-paslaugos .dl-btn--measure { background: var(--dl-accent); color: #ffffff; }
.dl-paslaugos .dl-btn--measure:hover { background: var(--dl-accent-hover); }

.dl-paslaugos .dl-btn--secondary {
  background: #ffffff;
  border-color: var(--dl-line-strong);
  color: var(--dl-text);
}
.dl-paslaugos .dl-btn--secondary:hover { border-color: var(--dl-accent); color: var(--dl-accent); }

/* Phone link */
.dl-paslaugos .dl-phone {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: var(--dl-accent);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.dl-paslaugos .dl-phone:hover { color: var(--dl-accent-hover); }

/* ---- Section heads ----------------------------------------------------- */
.dl-section-head {
  max-width: var(--dl-container-narrow);
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

.dl-section-head > p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--dl-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* ---- HERO (intro) ------------------------------------------------------ */
.dl-services-hero {
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(28px, 3vw, 40px);
  text-align: center;
}

/* ---- SERVICES PANEL ---------------------------------------------------- */
.dl-services-section {
  padding-top: 0;
  padding-bottom: clamp(52px, 6vw, 88px);
}

.dl-services-panel {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius-lg);
  background: var(--dl-card);
  box-shadow: 0 10px 30px rgba(16, 24, 40, .05);
}

.dl-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.dl-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 6px;
  text-align: center;
}

.dl-service__icon {
  display: inline-grid;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--dl-line);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.dl-service__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--dl-accent);
}

.dl-paslaugos .dl-service .dl-service__title {
  max-width: none;
  margin: 0 0 8px;
  color: var(--dl-text);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.dl-service p {
  max-width: 250px;
  margin: 0 auto;
  color: var(--dl-muted);
  font-size: 16px;
  line-height: 1.5;
}

/* ikona yra nuoroda (tel. / konsultanto iškvietimas / lizingas) */
.dl-service > a { display: inline-block; line-height: 0; }
.dl-service > a:hover .dl-service__icon {
  border-color: var(--dl-accent);
  box-shadow: 0 2px 8px rgba(23, 178, 106, .18);
  transform: translateY(-1px);
}
.dl-service__icon { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }

/* ---- TIMELINE (Kaip vyksta konsultacija) ------------------------------- */
.dl-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin-inline: auto;
}

.dl-tstep { position: relative; text-align: center; }

.dl-tstep__marker {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* connecting line: from this marker's edge to the next marker's edge */
.dl-tstep::before {
  content: "";
  position: absolute;
  top: 19px; /* marker height 40px -> center minus 1px */
  left: calc(50% + 28px);
  width: calc(100% - 34px); /* 100% + 22px gap - 2 * 28px offset */
  height: 2px;
  background: var(--dl-accent);
  opacity: .45;
}
.dl-tstep:last-child::before { display: none; }

.dl-tstep__marker span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--dl-accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--dl-accent-soft);
}

.dl-tstep__card {
  height: calc(100% - 60px);
  padding: 26px 20px 24px;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: var(--dl-card);
}

.dl-paslaugos .dl-tstep__card h3 { margin-bottom: 8px; font-size: 20px; }

.dl-tstep__card p {
  margin: 0;
  color: var(--dl-muted);
  font-size: 16px;
  line-height: 1.5;
}

/* ---- WHY (Kodėl verta kviesti) ----------------------------------------- */
.dl-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .66fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: stretch;
}

.dl-why__content { text-align: left; }
.dl-why__content .dl-kicker { text-align: left; }
.dl-paslaugos .dl-why__content h2 { margin: 0 0 24px; text-align: left; }

.dl-checklist {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dl-text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.dl-checklist svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  stroke: var(--dl-accent);
}

.dl-why__cta { margin-top: 30px; }

.dl-why__visual {
  width: 100%;
  max-width: 400px;
  justify-self: end;
  overflow: hidden;
  border-radius: var(--dl-radius-lg);
  background: var(--dl-soft-card);
}

.dl-why__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

/* ---- CONSULTATION GALLERY ---------------------------------------------- */
.dl-consult-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dl-consult-gallery figure { margin: 0; }

.dl-consult-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--dl-radius);
}

.dl-consult-gallery figcaption {
  margin-top: 10px;
  color: var(--dl-muted);
  font-size: 16px;
  line-height: 1.5;
}

.dl-consult-gallery figcaption b {
  color: var(--dl-text);
  font-weight: 600;
}

/* ---- DUK (.faq) --------------------------------------------------------- */
/* Pats .faq komponentas ateina iš globalaus svetainės CSS.
   Čia – tik apsauga, kad šio puslapio bazinės taisyklės jo neperrašytų. */
.dl-paslaugos .faq { margin-bottom: 0; }
.dl-paslaugos .faq__heading { max-width: none; margin-left: 0; margin-right: 0; }
.dl-paslaugos .faq__text a,
.dl-paslaugos .seo__text a { color: var(--dl-accent); font-weight: 600; }

/* ---- FINAL CTA ---------------------------------------------------------- */
.dl-section--final {
  padding-top: clamp(44px, 5vw, 66px);
  padding-bottom: clamp(60px, 7vw, 98px);
}

.dl-cta {
  display: block;
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(44px, 5vw, 64px) 24px;
  border-radius: 14px;
  background: var(--dl-soft);
  text-align: center;
}

.dl-cta .dl-kicker { display: none; }
.dl-paslaugos .dl-cta h2 { max-width: 640px; margin-inline: auto; font-size: clamp(30px, 3vw, 36px); }
.dl-cta p { max-width: 580px; margin: 18px auto 0; color: var(--dl-muted); font-size: 16px; line-height: 1.55; }

.dl-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1120px) {
  .dl-services,
  .dl-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dl-tstep::before { display: none; }
}

@media (max-width: 900px) {
  .dl-why,
  .dl-consult-gallery { grid-template-columns: 1fr; }

  .dl-why__content,
  .dl-why__content .dl-kicker,
  .dl-paslaugos .dl-why__content h2 { text-align: center; }

  .dl-checklist { max-width: 420px; margin-inline: auto; }

  .dl-why__visual { justify-self: center; }
  .dl-why__visual img { height: auto; aspect-ratio: 1 / 1; }

  .dl-consult-gallery { gap: 24px; }
  .dl-consult-gallery figure { width: 100%; max-width: 540px; margin-inline: auto; }
  .dl-consult-gallery figcaption { text-align: center; }
}

@media (max-width: 680px) {
  .dl-container { width: min(calc(100% - 32px), var(--dl-container)); }
  .dl-section { padding: 44px 0; }
  .dl-services-hero { padding-top: 48px; }
  .dl-paslaugos h1 { font-size: 33px; }
  .dl-paslaugos h2:not(.faq__heading) { font-size: 27px; }

  .dl-services,
  .dl-timeline { grid-template-columns: 1fr; }

  .dl-tstep__card { height: auto; }

  .dl-actions,
  .dl-cta__actions { width: 100%; flex-direction: column; }
  .dl-btn,
  .dl-phone { width: 100%; }
}

