/* ==========================================================================
   Herojų pasakos — atskira prekės ženklo sistema (LT)
   Vakaro pasakos nuotaika: gili eglės žaluma, šiltas popierius, žvakės auksas.
   ========================================================================== */

:root {
  --paper: #FAF2E0;
  --paper-warm: #F4E7CE;
  --pine: #1F3B2D;
  --pine-soft: #3A5546;
  --pine-mute: #6E7F74;
  --candle: #E9B44C;
  --candle-deep: #C98F2B;
  --coral: #D96C5F;
  --night: #16261E;
  --line: rgba(31, 59, 45, 0.16);

  --font-display: 'Literata', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;

  --max-width: 1200px;
  --pad-side: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--pine);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-side);
  padding-right: var(--pad-side);
}

section { padding: 100px 0; }
.section-warm { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-night { background: var(--night); color: var(--paper); }

/* ---------- šriftai ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
h3 { font-size: 21px; }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--candle-deep);
  margin-bottom: 16px;
}

.lead { font-size: 18px; color: var(--pine-soft); max-width: 640px; }
.accent { font-style: italic; color: var(--coral); }

/* ---------- mygtukai ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 17px 30px;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  cursor: pointer;
  border: none;
}

.btn-pine { background: var(--pine); color: var(--paper); }
.btn-pine:hover { background: var(--coral); color: #fff; }

.btn-candle { background: var(--candle); color: var(--night); }
.btn-candle:hover { background: var(--candle-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--pine); border: 1.5px solid var(--pine); padding: 16px 29px; }
.btn-ghost:hover { background: var(--pine); color: var(--paper); }

.btn-small { padding: 12px 20px; font-size: 14px; }

.spotify-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: #1DB954;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  box-shadow: 0 2px 6px rgba(29, 185, 84, 0.35);
}
.spotify-dot svg { width: 19px; height: 19px; }

/* ---------- navigacija ---------- */

.nav { position: sticky; top: 0; z-index: 40; background: var(--paper); }
.nav.scrolled { border-bottom: 1px solid var(--line); }

.nav-inner { display: flex; align-items: center; gap: 26px; height: 84px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-style: italic; font-size: 22px; font-weight: 600;
  text-decoration: none; color: var(--pine);
  margin-right: auto;
}
.logo svg { flex: none; }
.logo .logo-img { height: 44px; width: auto; flex: none; }
footer .logo .logo-img { height: 40px; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 700; color: var(--pine-soft); }
.nav-links a:hover { color: var(--pine); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

.lang-switch {
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
  text-decoration: none; color: var(--pine-mute);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px;
}
.lang-switch:hover { color: var(--pine); border-color: var(--pine); }

/* ---------- herojinė sekcija ---------- */

.hero { padding: 80px 0 110px; position: relative; overflow: hidden; }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 860px;
  margin-bottom: 28px;
}

.hero .underline-word { position: relative; white-space: nowrap; }
.hero .underline-word svg {
  position: absolute; left: 0; bottom: -0.1em;
  width: 100%; height: 0.22em;
}

.hero .sub { font-size: 19px; color: var(--pine-soft); max-width: 620px; margin-bottom: 36px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-proof { margin-top: 24px; font-family: var(--font-hand); font-size: 20px; color: var(--pine-soft); }

.hero-stars { position: absolute; top: 36px; right: 4%; pointer-events: none; }

/* ---------- asmeninė žinutė ---------- */

.mission-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 72px; align-items: center; }

.mission-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(23px, 2.5vw, 29px);
  line-height: 1.4;
  margin-bottom: 14px;
}

.mission-attr { font-family: var(--font-hand); font-size: 22px; color: var(--pine-soft); margin-bottom: 24px; }
.mission-attr::before { content: "— "; }

.mission-body p { color: var(--pine-soft); margin-bottom: 15px; }
.mission-body p:last-child { margin-bottom: 0; }

.creators { margin: 72px auto 0; }

.creators-title {
  font-size: clamp(24px, 3vw, 32px);
  text-align: center;
  margin-bottom: 8px;
}

.cw-hint {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--pine-mute);
  margin-bottom: 18px;
}

.cw-wall { display: flex; justify-content: center; align-items: flex-end; margin-bottom: 28px; }

.cw-shot { cursor: pointer; border: none; background: none; padding: 0; position: relative; transition: transform 0.18s; }
.cw-shot:not(:first-child) { margin-left: -18px; }
.cw-shot:hover { transform: translateY(-6px); z-index: 5; }
.cw-shot.active { transform: translateY(-10px) scale(1.08); z-index: 6; }
.cw-shot.active .cw-frame { border-color: var(--candle-deep); box-shadow: 0 10px 22px rgba(31, 59, 45, 0.2); }

.cw-frame {
  display: block;
  width: 118px; aspect-ratio: 1 / 1;
  background: #fff;
  border: 1.5px solid rgba(31, 59, 45, 0.4);
  border-radius: 185px 10px 205px 10px / 10px 205px 10px 185px;
  padding: 7px 7px 20px;
  box-shadow: 0 6px 16px rgba(31, 59, 45, 0.14);
  position: relative;
}
.cw-shot:nth-child(1) .cw-frame { transform: rotate(-5deg); }
.cw-shot:nth-child(2) .cw-frame { transform: rotate(3deg); }
.cw-shot:nth-child(3) .cw-frame { transform: rotate(-2.5deg); }
.cw-shot:nth-child(4) .cw-frame { transform: rotate(4deg); }
.cw-shot:nth-child(5) .cw-frame { transform: rotate(-3.5deg); }
.cw-frame::before {
  content: "";
  position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 52px; height: 16px;
  background: rgba(233, 180, 76, 0.45);
  border-left: 1px dashed rgba(31, 59, 45, 0.2);
  border-right: 1px dashed rgba(31, 59, 45, 0.2);
}
.cw-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

.cw-panel { max-width: 560px; margin: 0 auto; text-align: center; min-height: 110px; }
.cw-name { font-family: var(--font-hand); font-size: 26px; color: var(--pine); margin-bottom: 6px; }
.cw-panel p { font-size: 15px; color: var(--pine-soft); }

@media (max-width: 560px) {
  .cw-frame { width: 86px; padding: 5px 5px 15px; }
  .cw-shot:not(:first-child) { margin-left: -14px; }
}

/* ---------- kortelės ---------- */

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }

.sketch {
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
}

.step-card {
  background: var(--paper);
  border: 1.5px solid rgba(31, 59, 45, 0.35);
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
  padding: 34px;
}
.step-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 38px; color: var(--candle-deep);
  display: block; margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 15.5px; color: var(--pine-soft); }

/* ---------- herojai ---------- */

.heroes-intro { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; align-items: end; margin-bottom: 52px; }

.hero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.hero-card {
  background: var(--paper);
  border: 1.5px solid rgba(31, 59, 45, 0.35);
  border-radius: 255px 16px 225px 16px / 16px 225px 16px 255px;
  padding: 24px;
  text-decoration: none;
  display: block;
  transition: transform 0.16s, border-color 0.16s;
}
.hero-card:hover { transform: translateY(-4px); border-color: var(--candle); }

.hero-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--paper-warm);
  box-shadow: 0 0 0 1.5px var(--line);
  margin-bottom: 14px;
}
.hero-card h3 { font-size: 18px; margin-bottom: 4px; }
.hero-card p { font-size: 13.5px; color: var(--pine-soft); }
.hero-card .more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--candle-deep); }

/* ---------- situacijos ---------- */

.sit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }

.sit-card {
  background: var(--paper);
  border: 1.5px solid rgba(31, 59, 45, 0.35);
  border-radius: 225px 18px 255px 18px / 18px 255px 18px 225px;
  padding: 30px;
}
.sit-emoji { font-size: 32px; display: block; margin-bottom: 14px; }
.sit-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.sit-card p { font-size: 15px; color: var(--pine-soft); }

/* ---------- prenumerata ---------- */

.sub-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: rgba(248, 243, 231, 0.06);
  border: 1px solid rgba(248, 243, 231, 0.18);
  border-radius: 20px;
  padding: 48px 40px;
}
.sub-price {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  color: var(--candle);
  margin: 10px 0 4px;
}
.sub-price small { font-size: 0.4em; color: rgba(248, 243, 231, 0.7); font-family: var(--font-body); font-weight: 700; }
.sub-card p { color: rgba(248, 243, 231, 0.8); font-size: 15.5px; }
.sub-card .lead-line { font-size: 17px; margin-bottom: 6px; }
.sub-perks { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 24px 0 30px; }
.sub-perks span { font-size: 14px; font-weight: 700; color: rgba(248, 243, 231, 0.85); }
.section-night .eyebrow { color: var(--candle); }
.section-night h2 .accent { color: var(--candle); }

/* ---------- pieštuko brūkšnys ---------- */

.squiggle { display: block; margin: 0 auto 26px; }

/* ---------- DUK ---------- */

.faq-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 60px; align-items: start; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  font-family: var(--font-display);
  font-size: 19px; padding: 22px 36px 22px 0;
  cursor: pointer; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body); font-size: 22px; color: var(--candle-deep);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: 15px; color: var(--pine-soft); max-width: 660px; padding-bottom: 22px; }

/* ---------- poraštė ---------- */

footer { padding: 60px 0 40px; }

.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 30px; border-bottom: 1px solid var(--line);
}

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; font-size: 14px; color: var(--pine-mute);
}
.footer-bottom a { color: var(--pine-mute); }
.footer-bottom a:hover { color: var(--pine); }
.footer-links { display: flex; gap: 20px; }

/* ---------- responsyvumas ---------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .sit-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid, .faq-grid, .heroes-intro { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  :root { --pad-side: 22px; }
  section { padding: 76px 0; }
  .nav-inner { height: 70px; }
  .nav-links {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start;
    padding: 20px var(--pad-side) 26px; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0 84px; }
  .cards-3, .sit-grid, .hero-grid { grid-template-columns: 1fr; }
}
