/* ===== Spalvos ir pagrindai (pagal Liepos plakatą) ===== */
:root {
  --purple-900: #2e1065;
  --purple-800: #3b0f7a;
  --purple-700: #4c1d95;
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;
  --lavender-300: #d8c7f7;
  --lavender-200: #e9ddfb;
  --lavender-100: #f5effe;
  --ink: #1f1235;
  --muted: #5b5170;
  --line: #e4dbf3;
  --white: #ffffff;
  --sky-1: #2f7de1;
  --sky-2: #8cc4ff;
  --hot: #c2410c;
  --hot-bg: #fff1e8;
  --ok: #15803d;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(46, 16, 101, .28);
  --font-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-600); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 .8em; }

.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.2em;
}
.ico--lg { width: 1.6em; height: 1.6em; }

/* ===== Viršutinė juosta ===== */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__name {
  font-family: var(--font-hand); font-size: 28px; font-weight: 700;
  color: var(--purple-700); text-decoration: none; line-height: 1;
}
.topbar__nav { display: none; gap: 18px; margin-left: auto; }
.topbar__nav a { color: var(--ink); font-weight: 800; text-decoration: none; font-size: 15px; }
.topbar__nav a:hover { color: var(--purple-600); }
.lang {
  margin-left: auto; display: flex;
  border: 2px solid var(--purple-700); border-radius: 999px; overflow: hidden;
}
.lang button {
  font: 800 14px/1 var(--font-body);
  padding: 7px 12px; border: 0; cursor: pointer;
  background: transparent; color: var(--purple-700);
}
.lang button[aria-pressed="true"] { background: var(--purple-700); color: var(--white); }
@media (min-width: 640px) {
  .topbar__nav { display: flex; }
  .topbar__nav + .lang { margin-left: 0; }
}

/* ===== Teptuko efektas ===== */
.brush {
  position: relative; display: inline-block;
  padding: 0 .28em; z-index: 0;
}
.brush::before {
  content: ""; position: absolute; z-index: -1;
  inset: 12% -2% 6% -2%;
  border-radius: 8px 30px 10px 24px / 24px 10px 26px 12px;
  transform: rotate(-1.5deg);
}
.brush--white::before    { background: var(--white); }
.brush--lavender::before { background: var(--lavender-200); transform: rotate(1deg); }
.brush--dark { color: var(--white); }
.brush--dark::before     { background: var(--purple-700); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 16px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 40% at 15% 12%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(ellipse 50% 35% at 90% 25%, rgba(255,255,255,.45), transparent 70%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 62%, var(--lavender-100) 100%);
}
.hero__eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple-800); background: rgba(255,255,255,.85);
  padding: 6px 12px; border-radius: 999px;
}
.hero__name {
  font-family: var(--font-hand); font-weight: 700;
  color: var(--purple-700);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hero__name .brush:first-child { font-size: clamp(72px, 20vw, 120px); line-height: .95; }
.hero__name .brush:last-child  { font-size: clamp(42px, 12vw, 76px); line-height: 1.05; }
.hero__lead {
  max-width: 560px; margin: 22px auto 24px;
  font-size: 19px; color: var(--purple-900);
  background: rgba(255,255,255,.88); padding: 14px 18px; border-radius: var(--radius);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust {
  list-style: none; padding: 0; margin: 24px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  font-weight: 800; font-size: 14px; color: var(--purple-800);
}
.trust li { display: inline-flex; align-items: center; gap: 6px; }

.doodle {
  position: absolute; fill: none; stroke: var(--white); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; opacity: .95;
}
.doodle--crown  { width: 44px; height: 44px; top: 10px; left: 50%; transform: translateX(-50%) rotate(-6deg); }
.doodle--heart1 { width: 34px; height: 34px; top: 70px; right: 8%; stroke: var(--purple-600); transform: rotate(12deg); }
.doodle--heart2 { width: 26px; height: 26px; bottom: 90px; left: 6%; stroke: var(--purple-600); transform: rotate(-14deg); }
.doodle--star1  { width: 30px; height: 30px; top: 110px; left: 9%; transform: rotate(-10deg); }
.doodle--star2  { width: 24px; height: 24px; bottom: 120px; right: 7%; stroke: var(--purple-600); }

/* ===== Mygtukai ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 900 17px/1 var(--font-body);
  padding: 15px 22px; border-radius: 999px;
  border: 2.5px solid var(--purple-700);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn--primary { background: var(--purple-700); color: var(--white); box-shadow: 0 6px 0 var(--purple-900); }
.btn--primary:hover { background: var(--purple-600); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--purple-900); }
.btn--secondary { background: var(--white); color: var(--purple-700); box-shadow: 0 6px 0 var(--purple-700); }
.btn--secondary:hover { background: var(--lavender-100); }
.btn--secondary:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--purple-700); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn:focus-visible, .chip input:focus-visible + span, .scale input:focus-visible + span,
select:focus-visible, textarea:focus-visible, .lang button:focus-visible {
  outline: 3px solid var(--purple-500); outline-offset: 3px;
}

/* ===== Skiltys ===== */
.section { padding: 56px 16px; }
.section--tint { background: var(--lavender-100); }
.section > * { max-width: 720px; margin-left: auto; margin-right: auto; }
#programa > .grid, #programa > .about, #programa > .steps, #programa > .subhead { max-width: 900px; }
.section__head { text-align: center; margin-bottom: 24px; }
.section__title {
  font-family: var(--font-hand); font-weight: 700;
  font-size: clamp(42px, 10vw, 58px); color: var(--purple-700);
  margin: 10px 0 8px;
}
.section__intro { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: var(--lavender-200); color: var(--purple-800);
}
.tag--hot  { background: var(--hot-bg); color: var(--hot); }
.tag--idea { background: var(--white); }

/* ===== Formos ===== */
.card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
}
@media (min-width: 640px) { .card { padding: 30px 32px; } }

.field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.field__label {
  display: block; padding: 0; margin-bottom: 10px;
  font-weight: 900; font-size: 16px; color: var(--purple-900);
}
.field__hint { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.req { color: var(--purple-500); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input, .scale input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; cursor: pointer; user-select: none;
  padding: 9px 15px; border-radius: 999px;
  border: 2px solid var(--lavender-300); background: var(--white);
  font-weight: 800; font-size: 15px; color: var(--purple-800);
  transition: background .12s, border-color .12s, color .12s;
}
.chip span:hover { border-color: var(--purple-500); }
.chip input:checked + span { background: var(--purple-700); border-color: var(--purple-700); color: var(--white); }

textarea, select {
  width: 100%; font: 400 17px/1.5 var(--font-body); color: var(--ink);
  border: 2px solid var(--lavender-300); border-radius: 14px;
  padding: 12px 14px; background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }
textarea:focus, select:focus { border-color: var(--purple-500); outline: none; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c1d95' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
  padding-right: 44px;
}
.counter { text-align: right; font-size: 13px; color: var(--muted); margin-top: 4px; }

.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale label { position: relative; }
.scale span {
  display: flex; align-items: center; justify-content: center;
  height: 48px; border-radius: 14px; cursor: pointer;
  border: 2px solid var(--lavender-300); background: var(--white);
  font-weight: 900; font-size: 18px; color: var(--purple-800);
  transition: background .12s, border-color .12s, color .12s;
}
.scale span:hover { border-color: var(--purple-500); }
.scale input:checked + span { background: var(--purple-700); border-color: var(--purple-700); color: var(--white); }
.scale__ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__error { min-height: 0; margin: 0 0 12px; color: #b91c1c; font-weight: 800; }
.form__error:empty { display: none; }

/* ===== Padėka ===== */
.thanks { text-align: center; padding: 18px 4px; outline: none; }
.thanks__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lavender-200); color: var(--purple-700); margin-bottom: 10px;
}
.thanks__title { font-family: var(--font-hand); font-size: 44px; color: var(--purple-700); margin-bottom: 8px; }
.thanks p { color: var(--muted); max-width: 420px; margin: 0 auto 18px; }

/* ===== Pastaba apie rimtas problemas ===== */
.note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 22px; padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--lavender-100); border: 2px dashed var(--lavender-300);
  color: var(--purple-900); font-size: 15.5px;
}
.note .ico { color: var(--purple-600); margin-top: 2px; }
.note p:last-child { margin-bottom: 0; }
.note__title { font-weight: 900; margin-bottom: 4px; }

/* ===== Programa ===== */
.about { display: grid; gap: 24px; align-items: center; margin-bottom: 36px; }
.about__text { font-size: 18px; }
.about__text p:first-child { font-family: var(--font-hand); font-size: 34px; line-height: 1.1; color: var(--purple-700); }
.about__poster { margin: 0; }
.about__poster img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  transform: rotate(1.5deg); max-width: 360px; margin: 0 auto;
}
@media (min-width: 760px) { .about { grid-template-columns: 1.2fr 1fr; } }

.subhead {
  font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple-800); margin-bottom: 14px; margin-top: 8px;
}
.grid { display: grid; gap: 14px; margin-bottom: 36px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.pcard {
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px; background: var(--white);
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start;
}
.pcard__ico {
  grid-row: span 2; width: 48px; height: 48px; padding: 10px;
  border-radius: 14px; background: var(--lavender-200); color: var(--purple-700);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.pcard h4 { font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; color: var(--purple-900); margin-bottom: 4px; }
.pcard p { margin: 0; color: var(--muted); font-size: 15.5px; }

.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; position: relative;
  padding: 18px 16px 16px; border-radius: var(--radius);
  background: var(--lavender-100);
}
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--purple-700); color: var(--white);
  font-weight: 900; margin-bottom: 8px;
}
.steps h4 { font-family: var(--font-hand); font-size: 28px; color: var(--purple-700); margin-bottom: 4px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }

/* ===== Poraštė ===== */
.footer { padding: 48px 16px 40px; text-align: center; background: var(--lavender-200); }
.footer__slogan {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 5.5vw, 30px);
  letter-spacing: .02em; margin-bottom: 20px;
}
.footer__small { font-size: 14px; color: var(--purple-900); max-width: 560px; margin: 0 auto 6px; }
