/* Artio — paslaugų (service) puslapių stilius.
   Loads AFTER /assets/fonts.css and /assets/site.css.
   site.css already provides: body reset, box-sizing, base <a> colors,
   :focus-visible outlines, .skip-link, .visually-hidden. This file only adds
   the service-page layout. No @font-face here (fonts.css owns those).
   No JavaScript is used anywhere on these pages. */

:root {
  --pg-green-dark: #0B4433;
  --pg-green: #0E4F3C;
  --pg-green-hover: #0A3A2C;
  --pg-accent: #CFEBA5;
  --pg-mint: #BDE8F0;
  --pg-sand: #F4EFE7;
  --pg-sand-line: #E9E2D6;
  --pg-pink: #F7C9DA;
  --pg-ink: #12261F;
  --pg-body: #3A4F47;
  --pg-muted: #5B6E67;
  --pg-white: #FFFFFF;
}

/* The page paints its own ground; content sits on white. */
body {
  background: var(--pg-white);
  color: var(--pg-body);
}

.pg-icon {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================= HEADER */
/* Not sticky — a plain dark-green bar in the spirit of the landing header. */
.pg-header {
  background: var(--pg-green-dark);
  color: var(--pg-white);
}
.pg-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pg-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pg-white);
  flex: 0 0 auto;
}
.pg-logo:hover { color: var(--pg-white); }
.pg-logo svg { flex: 0 0 auto; }
.pg-logo__word {
  font-family: 'Cartio', 'Figtree', sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pg-logo__word span { color: var(--pg-accent); }

.pg-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}
.pg-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--pg-white);
}
.pg-nav a:hover { color: var(--pg-accent); }

.pg-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--pg-accent);
  color: var(--pg-green-dark);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}
.pg-cta:hover { background: #C2E491; color: var(--pg-green-dark); }

/* On narrow screens the section links wrap onto their own row under the logo,
   so the whole navigation stays reachable without a JS menu. */
@media (max-width: 719px) {
  .pg-header__inner { row-gap: 4px; }
  .pg-cta { margin-left: auto; }
  .pg-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 2px 18px;
    font-size: 14px;
  }
  .pg-nav a { min-height: 40px; }
}

/* ============================================================= HERO */
.pg-hero {
  background: var(--pg-sand);
}
.pg-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 24px clamp(32px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.pg-hero__text { flex: 1 1 380px; min-width: 0; }
.pg-hero__media { flex: 1 1 340px; min-width: 0; }

.pg-crumbs {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pg-muted);
}
.pg-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
/* Plain "/" separator — avoids relying on a font glyph outside the icon subset. */
.pg-crumbs li + li::before {
  content: '/';
  color: #9BAAA2;
  font-weight: 600;
  line-height: 1;
}
.pg-crumbs a { color: var(--pg-green); }
.pg-crumbs a:hover { color: var(--pg-green-hover); }
.pg-crumbs [aria-current="page"] { color: var(--pg-body); }

.pg-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pg-green);
}
.pg-hero h1 {
  font-family: 'Cartio', 'Figtree', sans-serif;
  margin: 10px 0 0;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--pg-ink);
  text-wrap: balance;
}
.pg-lead {
  margin: 16px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--pg-body);
  max-width: 40em;
}
.pg-hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons reused across hero, sections and the CTA band. */
.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}
.pg-btn--dark { background: var(--pg-green); color: var(--pg-white); }
.pg-btn--dark:hover { background: var(--pg-green-hover); color: var(--pg-white); }
.pg-btn--lime { background: var(--pg-accent); color: var(--pg-green-dark); }
.pg-btn--lime:hover { background: #C2E491; color: var(--pg-green-dark); }
.pg-btn--ghost {
  background: transparent;
  color: var(--pg-green);
  box-shadow: inset 0 0 0 2px var(--pg-green);
}
.pg-btn--ghost:hover { background: #EAF3EE; color: var(--pg-green-hover); }

.pg-hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  overflow: hidden;
  background: #EFE9DF;
}
.pg-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================= CONTENT */
.pg-main { display: block; }

.pg-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px;
}
.pg-wrap > *:first-child { margin-top: 0; }

.pg-section { margin-top: clamp(32px, 5vw, 52px); }
.pg-section:first-of-type { margin-top: 0; }

.pg-wrap h2 {
  font-family: 'Cartio', 'Figtree', sans-serif;
  color: var(--pg-ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 14px;
  text-wrap: balance;
}
.pg-wrap h3 {
  font-family: 'Cartio', 'Figtree', sans-serif;
  color: var(--pg-ink);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 24px 0 8px;
}
.pg-wrap p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--pg-body);
  margin: 0 0 16px;
}
.pg-wrap p:last-child { margin-bottom: 0; }
.pg-wrap strong { color: var(--pg-ink); }
.pg-wrap a { color: var(--pg-green); text-decoration: underline; }
.pg-wrap a:hover { color: var(--pg-green-hover); }
/* Buttons placed inside the content column must keep their own colours and
   never get the inline-link underline (the `.pg-wrap a` rule above out-specifies
   the single-class `.pg-btn--*` rules, so restate them at higher specificity). */
.pg-wrap a.pg-btn { text-decoration: none; }
.pg-wrap a.pg-btn--dark { color: var(--pg-white); }
.pg-wrap a.pg-btn--dark:hover { color: var(--pg-white); }
.pg-wrap a.pg-btn--lime { color: var(--pg-green-dark); }
.pg-wrap a.pg-btn--lime:hover { color: var(--pg-green-dark); }
.pg-wrap a.pg-btn--ghost { color: var(--pg-green); }
.pg-wrap a.pg-btn--ghost:hover { color: var(--pg-green-hover); }

/* Checklist — Material Symbols check icon, no bullets. */
.pg-check {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pg-check li {
  display: flex;
  gap: 12px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--pg-body);
}
.pg-check li::before {
  content: 'check';
  font-family: 'Material Symbols Rounded';
  font-size: 22px;
  color: var(--pg-green);
  line-height: 1.25;
  flex: 0 0 auto;
}

/* Numbered steps — shared "Kaip pradėti" treatment across service pages. */
.pg-steps {
  margin: 16px 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--pg-body);
}
.pg-steps li { padding-left: 4px; }
.pg-steps strong { color: var(--pg-ink); }

/* Soft sand info box. */
.pg-note {
  background: var(--pg-sand);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pg-body);
}
.pg-note p { font-size: 16px; margin: 0 0 12px; }
.pg-note p:last-child { margin-bottom: 0; }
.pg-note strong { color: var(--pg-ink); }

/* Highlight card — free state-support help (accent lime). */
.pg-highlight {
  background: var(--pg-accent);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 32px);
  margin: 28px 0;
}
.pg-highlight .pg-eyebrow { color: var(--pg-green); }
.pg-highlight h3 {
  font-family: 'Cartio', 'Figtree', sans-serif;
  color: var(--pg-ink);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 8px 0 0;
  text-wrap: balance;
}
.pg-highlight p {
  font-size: 16px;
  line-height: 1.6;
  color: #2E443C;
  margin: 12px 0 0;
}
.pg-highlight strong { color: var(--pg-ink); }
.pg-highlight .pg-btn { margin-top: 20px; }

/* ============================================================= FAQ */
/* Static accordion — <details>/<summary>, no JavaScript. */
.pg-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 0;
}
.pg-faq details {
  background: var(--pg-sand);
  border-radius: 14px;
  overflow: hidden;
}
.pg-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  min-height: 44px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--pg-ink);
}
.pg-faq summary::-webkit-details-marker { display: none; }
/* expand_more (in the icon subset) rotated 180° when open — "remove" is not
   part of the self-hosted subset, so it must not be used. */
.pg-faq summary::after {
  content: 'expand_more';
  font-family: 'Material Symbols Rounded';
  font-size: 24px;
  color: var(--pg-green);
  line-height: 1;
  margin-left: auto;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}
.pg-faq details[open] summary::after {
  transform: rotate(180deg);
}
.pg-faq summary:hover { color: var(--pg-green); }
.pg-faq__a {
  padding: 0 22px 20px;
}
.pg-faq__a p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--pg-body);
  margin: 0 0 12px;
}
.pg-faq__a p:last-child { margin-bottom: 0; }
.pg-faq__a strong { color: var(--pg-ink); }

/* ============================================================= RELATED */
.pg-related {
  background: var(--pg-sand);
}
.pg-related__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px;
}
.pg-related h2 {
  font-family: 'Cartio', 'Figtree', sans-serif;
  color: var(--pg-ink);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 clamp(20px, 3vw, 28px);
  text-wrap: balance;
}
.pg-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.pg-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--pg-white);
  border-radius: 16px;
  padding: 22px;
  color: var(--pg-ink);
  min-height: 44px;
}
.pg-card:hover { color: var(--pg-ink); }
.pg-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--pg-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.pg-card__icon .pg-icon { font-size: 24px; color: var(--pg-green-dark); }
.pg-card h3 {
  font-family: 'Cartio', 'Figtree', sans-serif;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0;
}
.pg-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--pg-body);
  margin: 0;
}
.pg-card__more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pg-green);
}
.pg-card:hover .pg-card__more { color: var(--pg-green-hover); }
.pg-card__more .pg-icon { font-size: 18px; }

/* ============================================================= CTA BAND */
.pg-ctaband {
  padding: 0 24px clamp(48px, 6vw, 80px);
}
.pg-ctaband__inner {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--pg-green);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
  color: var(--pg-white);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  justify-content: space-between;
}
.pg-ctaband__text { flex: 1 1 320px; min-width: 0; }
.pg-ctaband h2 {
  font-family: 'Cartio', 'Figtree', sans-serif;
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--pg-white);
  text-wrap: balance;
}
.pg-ctaband p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.pg-ctaband__contacts {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pg-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 14px 18px;
  min-height: 44px;
  color: var(--pg-white);
}
.pg-contact:hover { background: rgba(255, 255, 255, 0.16); color: var(--pg-white); }
.pg-contact .pg-icon { font-size: 24px; color: var(--pg-accent); flex: 0 0 auto; }
.pg-contact__k {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.pg-contact__v { font-size: 17px; font-weight: 700; }
.pg-ctaband .pg-btn--lime { margin-top: 4px; }

/* ============================================================= FOOTER */
/* House footer, matching the landing pattern. */
.pg-footer {
  background: var(--pg-green-dark);
  color: #D5E6DE;
  padding: clamp(44px, 6vw, 72px) 24px 28px;
}
.pg-footer__inner { max-width: 1240px; margin: 0 auto; }
.pg-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 4vw, 64px);
}
.pg-footer__brand { flex: 1 1 260px; min-width: 0; }
.pg-footer__brand .pg-logo__word { color: var(--pg-white); }
.pg-footer__blurb {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #A9C6B9;
  max-width: 26em;
}
.pg-footer__col { flex: 0 1 200px; min-width: 0; }
.pg-footer__col--wide { flex: 0 1 240px; }
.pg-footer__h {
  font-size: 14px;
  font-weight: 700;
  color: var(--pg-white);
}
.pg-footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}
.pg-footer__list--facts { gap: 8px; font-size: 14px; color: #A9C6B9; }
.pg-footer__list--facts strong { color: var(--pg-white); font-weight: 600; }
.pg-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #D5E6DE;
}
.pg-footer__link:hover { color: var(--pg-accent); }
.pg-footer__list--facts .pg-footer__link { color: #A9C6B9; }
.pg-footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  font-size: 13px;
  color: #A9C6B9;
}

/* ============================================================= FOCUS */
/* site.css gives every focusable a 3px #0B4433 outline. On these two dark
   surfaces that ring is ~1:1 against the ground and effectively invisible, so
   override it with the lime accent — mirroring site.css's #top/#kontaktai/footer
   override for the same reason. */
.pg-header a:focus-visible,
.pg-ctaband a:focus-visible {
  outline-color: var(--pg-accent);
}
/* site.css does not target <summary>, so the FAQ toggles fall back to the UA
   ring. Give them the house ring, pulled inward so details{overflow:hidden}
   does not clip it and it follows the 14px card corners. */
.pg-faq summary:focus-visible {
  outline: 3px solid var(--pg-green-dark);
  outline-offset: -3px;
  border-radius: 14px;
}

/* ============================================================= MOTION */
@media (prefers-reduced-motion: reduce) {
  .pg-faq details[open] summary::after,
  .pg-faq summary::after,
  * { transition: none !important; }
}
