/* =========================================================
   Nauji stiliai: viršutinė dalis su nuotrauka, ramesnės spalvos, forma.
   Papildo css/style.css (spalvos ir šriftai: iš ten).
   ========================================================= */

/* ---------- Viršutinė dalis: tekstas + forma kairėje, nuotrauka dešinėje ---------- */
.hero--v2 { text-align: left; }
.hero--v2 .deco { display: none; }
.hero--v2 .hero-inner {
  width: 100%; max-width: 1240px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  column-gap: 60px; row-gap: 24px; align-items: center;
}
.hero--v2 .hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
.hero--v2 .pr-form--hero { grid-column: 1; grid-row: 2; align-self: start; }
.hero--v2 .hero-side { grid-column: 2; grid-row: 1 / span 2; }

.hero--v2 .hero-eyebrow { margin: 0 0 14px; max-width: none; font-size: 16px; font-weight: 800; color: var(--dark); }
.hero--v2 h1 { margin: 0 0 16px; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.05; }
.hero--v2 .hero-lead { margin: 0; max-width: 600px; font-size: 19px; line-height: 1.6; }

.hero-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero-points li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 9px; border-radius: 999px; background: #fff;
  color: var(--dark); font-size: 15px; font-weight: 800; line-height: 1.3;
}
.hero-points li::before {
  content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%;
  background: #18b957 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Nuotrauka */
.hero-side { position: relative; }
.hero-photo {
  margin: 0 auto; height: min(62vh, 600px); min-height: 380px; aspect-ratio: 4 / 5; max-width: 100%;
  overflow: hidden; border-radius: 34px; border: 7px solid #fff; background: var(--cream);
  box-shadow: 0 22px 50px rgba(7, 7, 24, .16); transform: rotate(1.5deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

/* Atsiliepimas prie nuotraukos */
.hero-quote {
  position: relative; z-index: 2; display: block; width: fit-content; max-width: 360px;
  margin: -54px auto 0 0; padding: 14px 18px; border-radius: 20px; background: #fff;
  box-shadow: 0 12px 30px rgba(7, 7, 24, .14);
}
.hero-quote-text { display: block; color: var(--dark); font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.hero-quote-by { display: block; margin-top: 6px; color: var(--text); font-size: 13px; font-weight: 700; }

/* ---------- Forma viršuje (kompaktiška) ---------- */
.pr-form--hero { max-width: 640px; padding: 22px 24px 20px; border-radius: 28px; box-shadow: 0 16px 40px rgba(7, 7, 24, .08); }
.pr-form .pr-form-title { margin: 0 0 14px; max-width: none; color: var(--dark); font-size: 21px; font-weight: 800; line-height: 1.2; }
.pr-form--hero .pr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pr-form--hero label { margin-bottom: 14px; font-size: 14px; }
.pr-form--hero input { margin-top: 6px; padding: 14px 20px; }
.pr-form--hero button { padding: 17px 24px; }
.pr-form--hero .pr-form-message { margin-top: 16px; }
/* „Kas bus toliau“ eilutė po mygtuku (abiejose formose) */
.pr-form .pr-form-note { margin: 16px 0 0; max-width: none; color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.5; text-align: center; }

/* Kompiuteris: žemesni ekranai */
@media (min-width: 1025px) {
  .hero.hero--v2 { padding-bottom: 36px; }
}
@media (min-width: 1025px) and (max-height: 860px) {
  .hero--v2 .hero-inner { row-gap: 18px; }
  .hero--v2 .hero-eyebrow { margin-bottom: 8px; }
  .hero--v2 h1 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 10px; }
  .hero--v2 .hero-lead { font-size: 17px; line-height: 1.5; }
  .hero-points { margin-top: 12px; }
  .hero-points li { padding: 5px 13px 5px 7px; font-size: 14px; }
  .pr-form--hero { padding: 16px 20px 16px; }
  .pr-form .pr-form-title { font-size: 19px; margin-bottom: 10px; }
  .pr-form--hero label { margin-bottom: 10px; }
  .pr-form--hero input { padding: 12px 18px; }
  .pr-form--hero button { padding: 15px 24px; }
  .pr-form--hero .pr-form-note { margin-top: 13px; font-size: 13.5px; }
  .hero-photo { min-height: 320px; }
}

/* ---------- Planšetė ir telefonas: viena skiltis: tekstas, nuotrauka, forma, atsiliepimas ---------- */
@media (max-width: 1024px) {
  .hero.hero--v2 { min-height: 0; display: block; padding: 124px 24px 56px; }
  .hero--v2 .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; }
  .hero--v2 .hero-side { display: contents; }
  .hero--v2 .hero-copy { order: 1; }
  .hero--v2 .hero-photo { order: 2; }
  .hero--v2 .pr-form--hero { order: 3; }
  .hero--v2 .hero-quote { order: 4; }
  .hero-photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; margin: 20px 0 0; border-width: 5px; border-radius: 26px; transform: none; box-shadow: 0 14px 34px rgba(7, 7, 24, .12); }
  .hero-photo img { object-position: 50% 36%; }
  .pr-form--hero { max-width: none; margin-top: -26px; position: relative; z-index: 2; margin-left: 12px; margin-right: 12px; }
  .hero-quote { max-width: none; width: auto; margin: 16px 12px 0; box-shadow: 0 6px 18px rgba(7, 7, 24, .08); }
}
@media (max-width: 640px) {
  .hero.hero--v2 { padding: 92px 16px 44px; }
  .hero--v2 .hero-eyebrow { font-size: 14.5px; margin-bottom: 10px; }
  .hero--v2 h1 { font-size: 31px; margin-bottom: 0; }
  .hero--v2 .hero-lead { display: none; }           /* telefone užtenka antraštės ir trijų punktų */
  .hero-points { margin-top: 14px; gap: 6px 8px; }
  .hero-points li { padding: 5px 12px 5px 7px; font-size: 13.5px; }
  .hero-points li::before { flex-basis: 18px; height: 18px; }
  .hero-photo { margin-top: 16px; aspect-ratio: 16 / 9; }
  .pr-form--hero { padding: 18px 18px 16px; border-radius: 24px; margin-left: 8px; margin-right: 8px; }
  .pr-form--hero .pr-form-row { grid-template-columns: 1fr; }
  .pr-form--hero label { margin-bottom: 12px; }
  .pr-form .pr-form-title { font-size: 19px; margin-bottom: 12px; }
  .hero-quote { margin-left: 8px; margin-right: 8px; }
}
@media (max-width: 360px) { .hero--v2 h1 { font-size: 28px; } }

/* DEMO ženkliukas */
.demo-tag { position: fixed; left: 0; top: 0; z-index: 10001; padding: 2px 9px; border-radius: 0 0 9px 0; background: var(--dark); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }

/* Telefonas: kompaktiškiau, kad mygtukas „Registruotis“ būtų kuo aukščiau */
@media (max-width: 640px) {
  .hero.hero--v2 { padding-top: 88px; }
  .hero-points { margin-top: 12px; gap: 5px 8px; }
  .hero-points li { padding: 4px 12px 4px 6px; }
  .hero-photo { margin-top: 14px; aspect-ratio: 2 / 1; }
  .pr-form--hero { margin-top: -34px; padding-top: 16px; }
  .pr-form .pr-form-title { margin-bottom: 10px; }
  .pr-form--hero label { margin-bottom: 10px; }
  .pr-form--hero input { padding: 13px 20px; }
}

/* Telefono numerio tikrintuvo užuomina po laukeliu */
.pr-form .pr-phone-hint { display: block; margin: 8px 6px 0; color: #c2410c; font-size: 14px; font-weight: 700; line-height: 1.45; }
.pr-form .pr-phone-hint[hidden] { display: none; }
.pr-form .pr-phone-hint.is-ok { color: #168341; }
.pr-form input.is-bad { border-color: #ff9d6c; background: #fff8f3; }

/* ---------- Viršuje: tik mygtukas (forma lieka apačioje, po viso turinio) ---------- */
.hero--v2 .hero-copy { grid-row: 1 / span 2; align-self: center; }
.hero--v2 .hero-cta { margin-top: 28px; }
@media (min-width: 1025px) {
  .hero--v2 h1 { font-size: clamp(38px, 4.3vw, 62px); }
  .hero--v2 .hero-lead { font-size: 20px; }
}
@media (max-width: 1024px) {
  .hero--v2 .hero-photo { margin-top: 28px; }
  .hero--v2 .hero-quote { margin-top: -22px; margin-left: 14px; margin-right: 14px; }
}
@media (max-width: 640px) {
  .hero--v2 .hero-lead { display: block; margin-top: 12px; font-size: 16.5px; line-height: 1.5; }
  .hero--v2 .hero-cta { width: 100%; margin-top: 18px; }
  .hero--v2 .hero-photo { margin-top: 22px; aspect-ratio: 16 / 10; }
}

/* =========================================================
   RAMESNIS TONAS (tėvų akimis): mažiau raudonos ir spaudimo,
   įskaitomi mygtukai, švelnesnės kortelės, mažesnės antraštės.
   ========================================================= */
:root { --calm-label: #b45309; --btn-edge: #e09400; }

/* Mygtukai: tamsus tekstas ant geltonos (baltas buvo sunkiai įskaitomas), be raudono šešėlio */
.btn, .btn:hover, .pr-sticky-btn { color: var(--dark); }
.btn { box-shadow: 0 4px 0 var(--btn-edge); }
.btn:hover { box-shadow: 0 7px 0 var(--btn-edge); }
.btn:active { box-shadow: 0 2px 0 var(--btn-edge); }
.pr-sticky-btn { box-shadow: 0 4px 0 var(--btn-edge); }
.pr-sticky-btn:active { box-shadow: 0 2px 0 var(--btn-edge); }
.pr-sticky-btn::after { display: none; }                      /* be blyksinčios šviesos */
.pr-mobile-menu .pr-mobile-btn { background: var(--yellow); color: var(--dark); }
.pr-form button { background: var(--yellow); color: var(--dark); box-shadow: 0 5px 0 var(--btn-edge); }
.pr-form button:hover { box-shadow: 0 7px 0 var(--btn-edge); }

/* Raudona nebe „signalinė“: skyrių užrašai, kalbos mygtukas, skaičiai, linijos */
.section-title span, .fb-reviews-heading span, .gallery-heading span, .process-heading span,
.locations-heading span, .pr-cta-content span, .problem-label,
.duk-section .duk-heading span, .pr-game-heading span { color: var(--calm-label); }
.pr-lang a[aria-current] { background: var(--dark); }
.pr-lang a:hover, .pr-nav a:hover { color: var(--calm-label); }
.pr-lang a[aria-current]:hover { color: #fff; }
.location-line { background: var(--yellow); }
.location-link { color: var(--calm-label); }
.duk-section .duk-item[open] summary::after { background: var(--dark); }
.process-card:nth-child(1) .process-number { background: #2f6bff; }
.process-card:nth-child(2) .process-number { background: #18b957; }
.process-card:nth-child(3) .process-number { background: #ffb000; color: var(--dark); }
.process-card:nth-child(4) .process-number { background: #9b5de5; }
.pr-form label b { color: var(--calm-label); }
.pr-form-message.error, .pr-form .pr-phone-hint { color: #b45309; }
.pr-form-message.error { background: #fff6e8; }

/* „Kodėl mus renkasi“ kortelės: be storų juodų rėmų ir pasvirimo */
.why-card, .why-card:nth-child(even) { border: 0; border-radius: 24px; overflow: hidden; transform: none; box-shadow: 0 10px 30px rgba(7, 7, 24, .07); min-height: 0; padding-bottom: 30px; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(7, 7, 24, .1); }
.why-card .card-strip { height: 12px; margin-bottom: 26px; border-bottom: 0; border-radius: 0; }
.why-card h3 { color: var(--dark); margin-bottom: 14px; }
.why-card p { color: var(--text); font-size: 16px; }
@media (max-width: 700px) { .why-card .card-strip { height: 10px; margin-bottom: 20px; } }

/* Ramesnės antraštės (buvo iki 82 px) */
@media (min-width: 1025px) {
  .section-title h2, .fb-reviews-heading h2, .problem-wrap h2, .gallery-heading h2, .process-heading h2,
  .locations-heading h2, .duk-section .duk-heading h2, .pr-game-heading h2 { font-size: clamp(36px, 3.5vw, 50px); line-height: 1.12; letter-spacing: -0.02em; }
  .signup .pr-cta-content h2 { font-size: min(54px, 8.5vh); line-height: 1.1; letter-spacing: -0.02em; }
}
@media (max-width: 640px) {
  .section-title h2, .fb-reviews-heading h2, .problem-wrap h2, .gallery-heading h2, .process-heading h2,
  .locations-heading h2, .duk-section .duk-heading h2, .pr-game-heading h2, .signup .pr-cta-content h2 { font-size: 33px; line-height: 1.15; letter-spacing: -0.02em; }
}
.spin { animation: none; }                                    /* be nuolat besisukančių žvaigždžių */

/* „Apie mus“: tikra pamokėlės nuotrauka */
.about-visual img.about-photo { max-width: 480px; aspect-ratio: 1; object-fit: cover; border-radius: 36px; border: 7px solid #fff; box-shadow: 0 20px 46px rgba(7, 7, 24, .13); transform: rotate(-1.5deg); }
@media (max-width: 900px) { .about-visual img.about-photo { transform: none; border-radius: 26px; border-width: 5px; } }

/* Po formos mygtuku: kas bus toliau ir kad tai neįpareigoja */
.pr-form .pr-form-assure { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.pr-form .pr-form-assure li { position: relative; padding-left: 28px; color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.45; text-align: left; }
.pr-form .pr-form-assure li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  background: #18b957 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* DUK: „Rodyti visus klausimus“ */
.duk-all > summary { list-style: none; cursor: pointer; width: fit-content; margin: 8px auto 0; padding: 13px 26px; border: 2px solid #f0e6df; border-radius: 999px; background: #fff; color: var(--dark); font-weight: 800; font-size: 16px; }
.duk-all > summary::-webkit-details-marker { display: none; }
.duk-all > summary:hover { border-color: var(--yellow); }
.duk-all[open] > summary { display: none; }

/* Viršutinė nuotrauka apkarpyta (be neryškios vietos už vaiko galvos): gulsčias kadras */
.hero-photo { height: auto; min-height: 0; width: 100%; aspect-ratio: 3 / 2; }
.hero-photo img { object-position: 50% 50%; }
@media (min-width: 1025px) { .hero--v2 .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 52px; } .hero-quote { margin-top: -30px; margin-left: 18px; } }
@media (max-width: 1024px) { .hero-photo img { object-position: 50% 50%; } }
@media (max-width: 640px) { .hero--v2 .hero-photo { aspect-ratio: 3 / 2; } }

/* Po registracijos: aiškus patvirtinimas su numeriu */
.pr-form-message.success { padding: 16px 18px; font-size: 16px; line-height: 1.5; }

/* „Kada patogiau skambinti?“ (nebūtinas pasirinkimas) */
.pr-form .pr-calltime { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-form .pr-calltime legend { padding: 0; margin-bottom: 10px; color: var(--dark); font-size: 15px; font-weight: 700; }
.pr-form .pr-calltime legend span { color: var(--text); font-weight: 600; }
.pr-form .pr-calltime label { display: block; margin: 0; flex: 1 1 0; cursor: pointer; }
.pr-form .pr-calltime input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; }
.pr-form .pr-calltime label span { display: block; padding: 12px 8px; border: 2px solid #f0e6df; border-radius: 999px; background: #fffdfb; color: var(--dark); font-size: 15px; font-weight: 700; text-align: center; transition: background .15s ease, border-color .15s ease; }
.pr-form .pr-calltime input:checked + span { background: #fff1cc; border-color: var(--yellow); }
.pr-form .pr-calltime input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
/* Formos viduje esantys užrašai nėra skyriaus antraštė (be didžiųjų raidžių ir tarpų) */
.pr-form span { text-transform: none; letter-spacing: 0; }
.pr-form .pr-calltime span { margin-bottom: 0; }
.pr-form .pr-calltime legend span { display: inline; font-size: 14px; }

/* ---------- Viršutinė nuotrauka lėtai keičiasi (dvi tikros pamokėlių nuotraukos) ----------
   Greitis: 14s = visas ratas (apie 7 sekundes kiekviena). Norint išjungti: ištrinkite antrą <img> iš index.html. */
.hero-photo { position: relative; }
.hero-photo .hero-photo-b { position: absolute; inset: 0; opacity: 0; animation: heroSwap 14s ease-in-out 5s infinite; }
@keyframes heroSwap { 0%, 100% { opacity: 0; } 8%, 50% { opacity: 1; } 58% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-photo .hero-photo-b { animation: none; } }

/* ---------- Rusiškas puslapis: viršutinė dalis ---------- */
html[lang="ru"] .hero--v2 .hero-inner { max-width: 1240px; }
html[lang="ru"] .hero--v2 h1 { font-size: clamp(34px, 3.6vw, 52px); }
.hero--v2 .hero-badge { display: inline-block; margin: 0 0 14px; padding: 7px 16px; font-size: 15px; color: var(--calm-label); box-shadow: none; }
@media (min-width: 1025px) and (max-height: 860px) { html[lang="ru"] .hero--v2 h1 { font-size: clamp(30px, 3.1vw, 42px); } }
@media (max-width: 640px) {
  html[lang="ru"] .hero--v2 h1 { font-size: 27px; }
  .hero--v2 .hero-badge { font-size: 13.5px; padding: 6px 13px; margin-bottom: 10px; }
}
@media (max-width: 360px) { html[lang="ru"] .hero--v2 h1 { font-size: 25px; } }

/* =========================================================
   KO IŠMOKS VAIKAS: keturios kortelės po viršutine dalimi
   (naudoja tas pačias korteles kaip „Kodėl mus renkasi“)
   ========================================================= */
.gain { padding: var(--section-y) 0; background: var(--cream-2); }
.gain .section-title.center p { max-width: 640px; margin-left: auto; margin-right: auto; }
.why-cards.gain-cards { grid-template-columns: repeat(4, 1fr); }
.gain-cards .why-card h3 { line-height: 1.2; }
.gain-note { max-width: 900px; margin: 16px auto 0; padding: 30px 34px; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(7, 7, 24, .07); text-align: center; }
.gain-note h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; }
.gain-note p { margin: 0 0 12px; font-size: 17.5px; }
.gain-note p:last-child { margin-bottom: 0; color: var(--dark); font-size: 18.5px; line-height: 1.5; }
@media (max-width: 1100px) { .why-cards.gain-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .why-cards.gain-cards { grid-template-columns: 1fr; }
  .gain .section-title.center { text-align: left; margin-bottom: 24px; }
  .gain-note { margin-top: 20px; padding: 22px 20px; text-align: left; }
  .gain-note h3 { font-size: 21px; }
  .gain-note p, .gain-note p:last-child { font-size: 17px; }
}

/* „Apie mus“ apačioje: kvietimas vaikams, kurių šeimoje kalbama ne lietuviškai */
.invite-box { margin-top: 48px; padding: 28px 34px; border-radius: 24px; background: #fff6dd; border-left: 8px solid var(--yellow); }
.invite-box h3 { margin: 0 0 10px; font-size: 26px; line-height: 1.25; }
.invite-box p { margin: 0; max-width: 900px; font-size: 18px; }
@media (max-width: 700px) {
  .invite-box { margin-top: 32px; padding: 22px 20px; border-left-width: 6px; }
  .invite-box h3 { font-size: 22px; }
  .invite-box p { font-size: 17px; }
}
