/* Sėkmės planas – svetainės stiliai */
:root {
  --navy: #303d60;
  --navy-dark: #222c47;
  --red: #dc3343;
  --red-dark: #b8283a;
  --ink: #1d2433;
  --muted: #5a6275;
  --line: #e2e5ec;
  --bg-soft: #f4f6f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(34, 44, 71, .08);
  --wrap: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 120px; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3 { line-height: 1.2; color: var(--navy-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 10px; top: 10px; }

/* Antraštė */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px;
}
.logo img { width: 150px; height: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); background: var(--bg-soft); }
.header-phone { white-space: nowrap; }

/* Mygtukai */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; transition: background .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }

/* Pagrindinis blokas */
.hero {
  position: relative; color: var(--white);
  padding: clamp(72px, 12vw, 140px) 0;
  overflow: hidden; background: var(--navy-dark);
}
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(34, 44, 71, .93) 0%, rgba(34, 44, 71, .75) 55%, rgba(34, 44, 71, .35) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 15em; }
.hero .lead { font-size: 1.2rem; max-width: 36em; color: #e6e9f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-hero { padding: clamp(56px, 8vw, 96px) 0; }

.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.hero .eyebrow { color: #ff9aa4; }

/* Sekcijos */
section { padding: clamp(56px, 8vw, 96px) 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

.grid-2 { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card-body .more::after { content: " →"; }

.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 24px 22px;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 700;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; gap: 40px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.note {
  border-left: 4px solid var(--red); background: var(--bg-soft);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted);
}

/* DUK */
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 18px 28px 18px 0; position: relative;
  list-style: none; color: var(--navy-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Kontaktai */
.cta { background: var(--navy); color: var(--white); }
.cta h2 { color: var(--white); }
.cta p { color: #d6dbe8; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; fill: var(--red); }
.contact-list a { color: inherit; font-weight: 600; }
.cta .contact-list a:hover { color: #ff9aa4; }
.contact-box { background: rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 28px; }

.breadcrumbs { font-size: .9rem; margin-bottom: 18px; color: #c9cfdd; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: #fff; }

/* Poraštė */
.site-footer { background: var(--navy-dark); color: #c9cfdd; padding: 48px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ff9aa4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; }

@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; padding: 10px 0; gap: 8px; }
  .logo img { width: 120px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .nav ul { gap: 2px; }
  .nav a { padding: 6px 10px; font-size: .95rem; white-space: nowrap; }
  .header-phone { padding: 9px 16px; font-size: .95rem; }
  .hero::after { background: rgba(34, 44, 71, .86); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
