/* ==========================================================
   Evelina Jakubovič – svetainės stiliai
   Spalvas ir šriftus galima keisti pačiame viršuje (:root).
   ========================================================== */
:root {
  --bg: #fffaf3;          /* šilta kreminė */
  --bg-alt: #f8efe2;      /* šiek tiek tamsesnė sekcijoms */
  --surface: #ffffff;
  --ink: #2c3e3a;         /* pagrindinis tekstas */
  --ink-soft: #55655f;    /* antrinis tekstas */
  --brand: #3f7a6c;       /* ramus žalsvai mėlynas */
  --brand-dark: #2d5d51;
  --accent: #d9825b;      /* šiltas persikinis */
  --accent-dark: #b4603b;
  --sun: #f6e3b4;         /* švelni geltona */
  --line: #eadfce;
  --ph-bg: #fff1a8;       /* vietos, kurias reikia užpildyti */
  --radius: 18px;
  --shadow: 0 8px 28px rgba(80, 60, 30, .08);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--brand-dark); font-weight: 600; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__intro { max-width: 46rem; color: var(--ink-soft); margin-bottom: 2rem; font-size: 1.1rem; }
.eyebrow { display: inline-block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--accent-dark); margin-bottom: .8rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand-dark); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 0; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Vietos užpildymui – po užpildymo ištrinkite <span class="ph"> žymą */
.ph { background: var(--ph-bg); color: #5a4a00; padding: .05em .35em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Mygtukai ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand-dark); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }

/* ---------- Antraštė ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 243, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; color: var(--brand-dark); }
.brand strong { font-family: var(--font-head); font-size: 1.2rem; }
.brand span { font-size: .8rem; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav__list { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav__list a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.lang { display: flex; gap: .25rem; background: var(--bg-alt); padding: .2rem; border-radius: 999px; }
.lang a { text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .04em; padding: .3rem .65rem; border-radius: 999px; color: var(--ink-soft); }
.lang a[aria-current="true"] { background: var(--brand); color: #fff; }
.lang a:not([aria-current="true"]):hover { color: var(--brand-dark); background: #fff; }
.menu-btn { display: none; background: none; border: 2px solid var(--brand); color: var(--brand-dark); border-radius: 12px; padding: .45rem .7rem; font: inherit; font-weight: 600; cursor: pointer; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.4rem; gap: 1rem; display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: .2rem; }
  .nav__list a { display: block; padding: .6rem 0; font-size: 1.05rem; }
  .lang { align-self: flex-start; }
  /* be JS meniu rodomas visada */
  html:not(.js) .nav { position: static; display: flex; box-shadow: none; padding: 0; border: 0; }
  html:not(.js) .header__row { flex-wrap: wrap; padding: .6rem 0; }
  html:not(.js) .menu-btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem); background: linear-gradient(160deg, #fff6e6 0%, var(--bg) 60%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.hero::before { width: 420px; height: 420px; background: var(--sun); opacity: .55; right: -120px; top: -140px; }
.hero::after { width: 260px; height: 260px; background: #cfe5da; opacity: .6; left: -110px; bottom: -110px; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; color: var(--ink-soft); }
.hero__photo { justify-self: center; width: min(92%, 420px); margin: 0; }
.hero__photo picture { display: block; }
.hero__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
@media (min-width: 860px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .hero__photo { width: min(100%, 460px); }
}

/* ---------- Apie ---------- */
.about { display: grid; gap: 2rem; }
@media (min-width: 860px) { .about { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; } }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); align-self: start; }
.facts h3 { margin-bottom: 1rem; }
.facts dl { margin: 0; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); font-weight: 700; margin-top: 1rem; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: .15rem 0 0; }
.quote { border-left: 4px solid var(--accent); background: #fff; padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-size: 1.1rem; margin: 1.5rem 0 0; }

/* ---------- Kortelės ---------- */
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--sun); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(3n+2) .card__icon { background: #d8ebe2; color: var(--brand-dark); }
.card:nth-child(3n) .card__icon { background: #fadfd1; }
.note { margin-top: 1.8rem; font-size: .95rem; color: var(--ink-soft); max-width: 46rem; }

/* ---------- Žingsniai ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: .9rem; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--ink-soft); }
.infobar { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: var(--sun); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.infobar strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); }

/* ---------- Kainos ---------- */
.price { display: flex; flex-direction: column; }
.price__meta { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; font-weight: 600; }
.price__meta + .price__meta { margin-top: 0; border-top: 0; padding-top: .4rem; }
.price__meta span:first-child { color: var(--ink-soft); font-weight: 500; }

/* ---------- Kalbos ---------- */
.langs { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.langs .card { text-align: center; }
.langs .big { font-family: var(--font-head); font-size: 1.7rem; color: var(--brand-dark); display: block; margin-bottom: .2rem; }
.langs .code { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; background: var(--sun); color: var(--accent-dark); padding: .1rem .6rem; border-radius: 999px; margin-bottom: .6rem; }

/* ---------- DUK ---------- */
.faq { max-width: 50rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; }
.faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent-dark); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Kontaktai ---------- */
.contact > * { max-width: 46rem; }
.contact__list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .contact__list { grid-template-columns: 1fr 1fr; } }
.contact__list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); }
.crisis { margin-top: 1.5rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; font-size: .95rem; }

/* ---------- Poraštė ---------- */
.footer { background: #26413b; color: #dbe8e3; padding: 2.5rem 0 2rem; font-size: .95rem; }
.footer a { color: #fff; }
.footer a:hover { color: var(--sun); }
.footer__row { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.footer .ph { color: #5a4a00; }
.footer small { display: block; margin-top: 1.5rem; opacity: .8; }

/* ---------- Teisinis puslapis ---------- */
.legal { max-width: 46rem; padding: 3rem 0 4rem; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal ul { padding-left: 1.2rem; }
.legal .draft { background: var(--ph-bg); border-radius: 12px; padding: .9rem 1.1rem; font-size: .95rem; color: #5a4a00; margin-bottom: 1.5rem; }
.back { display: inline-block; margin-bottom: 1.5rem; }

.nf { text-align: center; padding: 6rem 0; }
