/* ==========================================================================
   lp6 — „Nakties siluetas“ — pilno ekrano hero nuotrauka + tamsi kortelė
   ========================================================================== */

:root {
  --lp6-bg-dark: #0F0F14;
  --lp6-bg-gradient-end: #1E1B4B;
  --lp6-card-bg: #18181B;
  --lp6-card-border: rgba(250, 250, 249, 0.10);
  --lp6-accent: #FBBF24;
  --lp6-accent-ink: #1A1206;
  --lp6-text: #FAFAF9;
  --lp6-text-muted: rgba(250, 250, 249, 0.68);
  --lp6-text-faint: rgba(250, 250, 249, 0.58);
  --lp6-danger: #FCA5A5;
  --lp6-font-brand: "Cormorant", Georgia, "Times New Roman", serif;
  --lp6-font-body: "Mulish", "Segoe UI", Arial, sans-serif;
  --lp6-radius: 18px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--lp6-bg-dark);
  color: var(--lp6-text);
  font-family: var(--lp6-font-body);
  height: 100%;
}

.lp6-body {
  min-height: 100dvh;
  overflow: hidden;
}

img, svg { display: block; }

a { color: inherit; }

.lp6-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Puslapio karkasas ---------- */

.lp6-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.lp6-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(15, 15, 20, 0.15) 0%, rgba(15, 15, 20, 0.55) 100%),
    url("hero-portrait.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 8% 30%;
  background-color: var(--lp6-bg-dark);
}

.lp6-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 78% 40%, rgba(30, 27, 75, 0.35) 0%, rgba(15, 15, 20, 0) 55%),
    linear-gradient(115deg, rgba(6, 6, 10, 0.55) 0%, rgba(6, 6, 10, 0.12) 42%, rgba(6, 6, 10, 0.05) 60%),
    linear-gradient(0deg, rgba(6, 6, 10, 0.6) 0%, rgba(6, 6, 10, 0) 22%);
  pointer-events: none;
}

/* ---------- Pagrindinis stage: kortelė dešinėje (desktop) ---------- */

.lp6-stage {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4vh clamp(16px, 6vw, 72px);
  min-height: 0;
}

.lp6-card {
  width: min(400px, 92vw);
  background: var(--lp6-card-bg);
  border: 1px solid var(--lp6-card-border);
  border-radius: var(--lp6-radius);
  padding: 26px 26px 22px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 4px 18px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  max-height: 90dvh;
  overflow-y: auto;
}

/* ---------- Prekės ženklas ---------- */

.lp6-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.lp6-brand-name {
  font-family: var(--lp6-font-brand);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--lp6-text);
}

.lp6-brand-tag {
  font-size: 12px;
  color: var(--lp6-text-faint);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.lp6-headline {
  font-family: var(--lp6-font-brand);
  font-weight: 600;
  font-size: clamp(20px, 3.4vw, 25px);
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--lp6-text);
}

.lp6-sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lp6-text-muted);
}

/* ---------- Forma ---------- */

.lp6-form[hidden] { display: none; }

.lp6-fieldset {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
}

.lp6-legend {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp6-text-faint);
  margin-bottom: 8px;
  padding: 0;
}

.lp6-radio-row {
  display: flex;
  gap: 10px;
}

.lp6-radio {
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  border: 1px solid rgba(250, 250, 249, 0.18);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp6-text);
  cursor: pointer;
  background: rgba(250, 250, 249, 0.03);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lp6-radio input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}

.lp6-radio:has(input:checked) {
  border-color: var(--lp6-accent);
  background: rgba(251, 191, 36, 0.12);
}

.lp6-radio:has(input:focus-visible) {
  outline: 2px solid var(--lp6-accent);
  outline-offset: 2px;
}

.lp6-date-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 8px;
}

.lp6-select-wrap select {
  width: 100%;
  padding: 11px 10px;
  border-radius: 10px;
  border: 1px solid rgba(250, 250, 249, 0.18);
  background-color: rgba(250, 250, 249, 0.03);
  color: var(--lp6-text);
  font-family: var(--lp6-font-body);
  font-size: 14px;
  font-weight: 500;
  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='%23FAFAF9' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 28px;
}

.lp6-select-wrap select:focus-visible,
.lp6-cta:focus-visible,
.lp6-legal-nav a:focus-visible {
  outline: 2px solid var(--lp6-accent);
  outline-offset: 2px;
}

.lp6-select-wrap select option { color: #111; }

.lp6-cta {
  width: 100%;
  margin-top: 4px;
  padding: 14px 16px;
  border: none;
  border-radius: 11px;
  background: var(--lp6-accent);
  color: var(--lp6-accent-ink);
  font-family: var(--lp6-font-body);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.05s ease;
}

.lp6-cta:hover { filter: brightness(1.06); }
.lp6-cta:active { transform: translateY(1px); }

.lp6-consent {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--lp6-text-faint);
}

.lp6-consent a { text-decoration: underline; color: var(--lp6-text-muted); }

.lp6-error {
  margin: 10px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lp6-danger);
}

/* ---------- Sėkmės būsena ---------- */

.lp6-success[hidden] { display: none; }

.lp6-success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.35);
  margin-bottom: 4px;
}

.lp6-success-icon {
  width: 20px; height: 20px;
  flex: none;
  color: var(--lp6-accent);
  margin-top: 1px;
}

.lp6-success p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lp6-text);
}

/* ---------- Pasitikėjimo ženkliukai ---------- */

.lp6-badges {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 18px 0 10px;
  padding: 0;
}

.lp6-badge {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--lp6-text-muted);
  font-weight: 600;
}

.lp6-badge svg {
  width: 20px; height: 20px;
  color: var(--lp6-accent);
}

.lp6-social-proof {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--lp6-text-faint);
}

.lp6-social-proof::before {
  content: "● ";
  color: #4ADE80;
}

/* ---------- Teisinė juosta ---------- */

.lp6-legal {
  position: relative;
  z-index: 2;
  flex: none;
  padding: 10px clamp(16px, 4vw, 40px);
  background: linear-gradient(0deg, rgba(6, 6, 10, 0.85) 0%, rgba(6, 6, 10, 0.55) 100%);
}

.lp6-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  font-size: 11.5px;
}

.lp6-legal-nav a {
  text-decoration: none;
  color: var(--lp6-text-faint);
}

.lp6-legal-nav a:hover { color: var(--lp6-text-muted); }

.lp6-legal-age {
  color: var(--lp6-text-faint);
  font-weight: 700;
  border: 1px solid rgba(250, 250, 249, 0.25);
  border-radius: 4px;
  padding: 0 5px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .lp6-hero { background-size: auto 165%; background-position: 22% 60%; }
  .lp6-stage {
    align-items: flex-end;
    justify-content: center;
    padding: 3vh 4vw 2vh;
  }
  .lp6-card { width: min(420px, 94vw); }
}

@media (max-width: 640px) {
  .lp6-hero { background-size: auto 165%; background-position: 22% 60%; }
  .lp6-scrim {
    background:
      linear-gradient(0deg, rgba(6, 6, 10, 0.75) 0%, rgba(6, 6, 10, 0.15) 46%, rgba(6, 6, 10, 0.05) 62%);
  }
  .lp6-card {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
}

@media (max-width: 399px) {
  .lp6-body { overflow-y: auto; height: auto; }
  .lp6-page { min-height: 100dvh; }
  .lp6-card { max-height: none; }
  .lp6-hero { position: fixed; }
  .lp6-scrim { position: fixed; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
