/* ===== Švaros Impulsas — pagrindinis stilius ===== */
:root {
  --bg: #faf7f1;
  --bg-alt: #f1ebdf;
  --ink: #2b2419;
  --ink-soft: #5c5344;
  --accent: #8a6d4b;
  --accent-dark: #6e5537;
  --white: #ffffff;
  --line: #e3dbcb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(43, 36, 25, 0.08);
  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, .brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }

img { max-width: 100%; display: block; }

a { color: var(--accent-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

section { padding: 3.5rem 0; }

.section-alt { background: var(--bg-alt); }

.section-lead {
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 2rem;
}

/* ===== Antraštė / navigacija ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  font-size: 1.5rem;
  font-style: italic;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.1;
}

.brand small {
  display: block;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.main-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav a.active {
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--ink);
  cursor: pointer;
}

/* ===== Mygtukai ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, background 0.15s ease;
  border: 1.5px solid var(--accent-dark);
  cursor: pointer;
  font-family: inherit;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent-dark); color: var(--white); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--accent-dark); }
.btn-outline:hover { background: var(--accent-dark); color: var(--white); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--bg-alt) 0%, var(--bg) 70%);
  padding: 5rem 0 4.5rem;
}

.hero-inner { max-width: 720px; }

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero p.sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 1.2rem 0 2rem;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-badges span::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.45rem;
  font-weight: 700;
}

/* ===== Kortelės ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}


.card p { color: var(--ink-soft); font-size: 0.97rem; flex-grow: 1; }

.card .btn { margin-top: 1.2rem; align-self: flex-start; }

/* ===== Kainų lentelės ===== */
.price-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.price-block h3 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}

.price-row:last-child { border-bottom: none; }

.price-row .price { white-space: nowrap; font-weight: 500; color: var(--accent-dark); }

.price-notes {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
}

.price-notes li { margin-left: 1.1rem; }

/* ===== Sąrašai ===== */
.check-list { list-style: none; margin-top: 0.6rem; }

.check-list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.45rem; }

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Teritorija ===== */
.area-tags { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.area-tags span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.95rem;
}

/* ===== Forma ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--ink-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--ink);
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.form-consent input { margin-top: 0.25rem; }

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.form-success h3 {
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
}

.form-success p { color: var(--ink-soft); }

.form-error {
  margin-top: 1rem;
  color: #b3432b;
  font-size: 0.9rem;
}

.contact-info h2 { font-size: 1.5rem; margin-bottom: 1.1rem; }

.contact-logo {
  max-width: 260px;
  height: auto;
  margin-top: 1.8rem;
}

.contact-info h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info h3:first-of-type { margin-top: 0; }

.contact-info p { color: var(--ink-soft); line-height: 1.45; }

.contact-info .big {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}

/* ===== Teisiniai puslapiai ===== */
.legal { max-width: 800px; }
.legal h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.legal p { margin-bottom: 0.8rem; color: var(--ink-soft); font-size: 0.97rem; }

/* ===== Poraštė ===== */
.site-footer {
  background: #241d13;
  color: #cfc5b4;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.site-footer .brand { color: #f3ecdf; }
.site-footer .brand small { color: var(--accent); }
.site-footer a { color: #e0d6c3; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }

.social-icons {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e0d6c3;
  transition: background 0.15s ease, color 0.15s ease;
}

.social-icons a:hover {
  background: var(--accent);
  color: #241d13;
}

.social-icons svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid #3a3122;
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: #9c917c;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== Atsiliepimai ===== */
.testimonial-card {
  padding: 1.8rem 1.6rem;
}

.testimonial-card .stars {
  color: var(--accent);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.testimonial-card p:not(.stars):not(.testimonial-author) {
  font-style: italic;
  color: var(--ink-soft);
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--ink);
  font-style: normal !important;
}

/* ===== Prieš / po nuotraukos (slenkanti juosta) ===== */
.ba-marquee-wrap {
  overflow: hidden;
  margin-top: 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.ba-marquee-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: ba-scroll 70s linear infinite;
}

.ba-marquee-wrap:hover .ba-marquee-track,
.ba-marquee-wrap:focus-within .ba-marquee-track {
  animation-play-state: paused;
}

@keyframes ba-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ba-marquee-track { animation: none; }
  .ba-marquee-wrap { overflow-x: auto; }
}

.ba-card {
  flex: 0 0 auto;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.6rem;
}

.ba-images {
  display: flex;
  gap: 0.5rem;
}

.ba-img-wrap {
  position: relative;
  flex: 1;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-alt);
  cursor: zoom-in;
}

.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-img-wrap.ba-missing img {
  visibility: hidden;
}

.ba-img-wrap.ba-missing::before {
  content: attr(data-missing-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--accent-dark);
  padding: 0.5rem;
  background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 10px, #ece4d4 10px, #ece4d4 20px);
  border: 1px dashed var(--accent);
  border-radius: 8px;
}

.ba-label {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: rgba(43, 36, 25, 0.75);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  z-index: 1;
}

/* ===== Įrangos nuotraukos ===== */
.equip-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}

.equip-photo img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.equip-photo.equip-missing img {
  visibility: hidden;
}

.equip-photo.equip-missing::before {
  content: attr(data-missing-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent-dark);
  padding: 1rem;
  background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 12px, #ece4d4 12px, #ece4d4 24px);
  border: 1px dashed var(--accent);
}

/* ===== Lightbox (nuotraukos padidinimas) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 10, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(90vw, 700px);
  max-height: 88vh;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== Placeholder nuotraukoms ===== */
.photo-placeholder {
  background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 12px, #ece4d4 12px, #ece4d4 24px);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

/* ===== Vertikalūs video (Reels tipo) ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
  max-width: 760px;
}

.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 12px, #ece4d4 12px, #ece4d4 24px);
  border: 1px dashed var(--accent);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card .video-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--accent-dark);
  font-size: 0.85rem;
  pointer-events: none;
}

/* ===== Scroll animacijos ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Mobili versija ===== */
@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }

  .main-nav a { display: block; padding: 0.7rem 0; font-size: 1.05rem; }

  .contact-grid { grid-template-columns: 1fr; }

  section { padding: 2.5rem 0; }

  .hero { padding: 3.5rem 0 3rem; }
}
