/* =========================
   GLOBAL BASE
   ========================= */

:root {
  --header-height: 56px;
  --container-width: 1200px;

  --bg-body: #f5f5f5;
  --bg-footer: #111111;

  --text-main: #111111;
  --text-muted: #666666;
  --accent: #ffc700;

  --footer-height: 50px; /* realistiškesnis footerio aukštis */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
}

/* Centered max-width container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: transparent; /* transparent over hero */
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

/* Solid header when scrolled below hero */
.site-header.is-solid {
  background-color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Solid header when mobile menu is open */
.site-header.menu-open {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */

.logo {
  cursor: default;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

/* When JS adds this class – logo becomes clickable */
.logo.is-clickable {
  cursor: pointer;
}

/* Desktop nav */

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  padding-block: 0.15rem;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

/* underline for active / hover links */
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.35rem;
  height: 2px;
  transform-origin: center;
  transform: scaleX(0);
  background-color: var(--accent);
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  opacity: 0.8;
}

/* =========================
   HAMBURGER TOGGLE
   ========================= */

.nav-toggle {
  display: none; /* shown only on mobile */
  width: 32px;
  height: 24px;
  padding: 0;
  margin-left: auto;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.nav-toggle-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background-color: #ffffff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.nav-toggle-line:nth-child(1) {
  top: 0;
}
.nav-toggle-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle-line:nth-child(3) {
  bottom: 0;
}

/* "X" icon when menu is open */
.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Accent color when menu is open */
.site-header.menu-open .nav-toggle-line {
  background-color: var(--accent);
}

/* =========================
   MOBILE NAV OVERLAY
   ========================= */

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset-inline: 0;
    top: var(--header-height);
    bottom: 0;
    background: rgba(0, 0, 0, 0.9); /* semi transparent black */
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* =========================
   MAIN LAYOUT / SECTIONS
   ========================= */

main {
  padding-top: 0;
}

.section {
  padding-block: 3rem;
  margin: 0;
}

/* VISI BLOKAI – pilnas ekranas (desktop) */
.section[data-fullscreen="true"] {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Mobiluose – be priverstinio aukščio */
@media (max-width: 900px) {
  .section[data-fullscreen="true"] {
    min-height: auto;
    display: block;
  }
}

/* =========================
   HERO (FULLSCREEN IMAGE)
   ========================= */

.section-hero {
  position: relative;
  overflow: hidden;
}

/* background hero image */
.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/header-image-1.png");
  background-size: cover;
  background-position: center 0%;
  background-repeat: no-repeat;
  z-index: -1;
}

/* hero content */

.hero-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 4rem;
}

.hero-content {
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
  color: #ffffff;
}

/* small text above main heading */
.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* main heading */
.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* subtitle text */
.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* tag chips under text */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-tags span {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(242, 182, 50, 0.9);
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(0, 0, 0, 0.4);
}

/* hero buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* =========================
   ABOUT
   ========================= */

.section-about {
  background-color: #ffffff;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Two-column layout */

.about-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  max-width: 960px;
  margin-inline: auto;
  transform: translateX(20px); /* slight shift to the right */
}

.about-text,
.about-highlights {
  flex: 1 1 280px;
}

.about-text h3,
.about-highlights h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Paragraph text */

.about-text p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}

/* “Why choose us” list */

.about-list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--text-main);
  line-height: 1.7;
}

.about-list li + li {
  margin-top: 0.4rem;
}

/* Smaller screens – single column */
@media (max-width: 768px) {
  .about-layout {
    gap: 1.75rem;
    transform: none;
  }
}

/* =========================
   SERVICES
   ========================= */

.section-services {
  background-color: #f7f7f7;
}

.services-layout {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Intro text */

.services-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.services-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.services-title {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-text {
  margin: 0;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Cards grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Single card */

.service-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.9rem;
  border-radius: 0.9rem;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  background-color: #111111; /* fallback color if image fails */
}

/* image layer */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}

/* dark overlay on top */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.2)
  );
}

/* text above layers */
.service-card-header,
.service-title,
.service-list {
  position: relative;
  z-index: 1;
}

/* images for specific cards */

.service-card--1::before {
  background-image: url("../img/service-1.jpg");
}

.service-card--2::before {
  background-image: url("../img/service-2.jpg");
}

.service-card--3::before {
  background-image: url("../img/service-3.jpg");
  opacity: 1;
}

.service-card--3::after {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.1)
  );
}

/* top row: icon + number */

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.55);
  font-size: 1.2rem;
}

.service-number {
  font-size: 1.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* card title */

.service-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* bullet list */

.service-list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.service-list li + li {
  margin-top: 0.25rem;
}

/* hover effect */

.service-card:hover {
  transform: translateY(-4px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* responsive: stack on smaller screens */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   WORKS (GALLERY + VIDEO + CURRENT)
   ========================= */

.section-work {
  background-color: #ffffff;
  padding-block: 2rem;
}

.section-work .section-inner {
  max-width: 1200px;
}

/* smaller gap under WORKS title */
.section-work .section-header {
  margin-bottom: 2rem;
}

.works-layout {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* tabs */

.works-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.works-tab {
  padding: 0.4rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: #f5f5f5;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.works-tab.is-active {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-1px);
}

/* panels */

.works-panel {
  display: none;
}

.works-panel.is-active {
  display: flex;
}

/* ===== GALLERY ===== */

.works-title {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.gallery-slider {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
}

.gallery-main {
  border-radius: 0.9rem;
  overflow: hidden;
  background-color: #000000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 7;
}

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

/* nav arrows */

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

.gallery-nav--prev {
  left: -1.25rem;
}

.gallery-nav--next {
  right: -1.25rem;
}

.gallery-nav:hover {
  background-color: #000000;
  transform: translateY(-50%) scale(1.05);
}

/* meta under gallery */

.gallery-meta {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-counter {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gallery-progress {
  position: relative;
  width: 220px;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.gallery-progress-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ff9f00);
  transition: width 0.25s ease;
}

/* ===== HOW WE WORK – VIDEO ===== */

.works-how {
  text-align: center;
}

.works-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.works-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.video-item {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

.video-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 52%;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background-color: #000;
}

.video-thumb {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: filter 0.2s ease, transform 0.2s ease;
  z-index: 0;
}

.video-thumb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 4px solid var(--accent);
  background-color: transparent;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.video-thumb-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--accent);
}

.video-thumb:hover img {
  filter: brightness(0.9);
  transform: scale(1.02);
}

.video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background-color: #000;
  object-fit: cover;
}

.video-label {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

.video-label:hover {
  color: var(--accent);
}

/* ===== CURRENT PROJECT GRID ===== */

.works-current {
  text-align: center;
}

.current-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.current-item {
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  background-color: #000;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.current-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.current-item:hover img {
  transform: scale(1.03);
}

/* Lightbox */

.project-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 95;
}

.project-lightbox.is-open {
  display: flex;
}

.project-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow: visible;
}

.project-lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 0.9rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  background-color: #000;
}

.project-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Works responsive tweaks */

@media (max-width: 900px) {
  .gallery-nav--prev {
    left: 0.25rem;
  }

  .gallery-nav--next {
    right: 0.25rem;
  }

  .works-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .works-video-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-progress {
    width: 160px;
  }
}

/* =========================
   BUTTONS (GENERAL)
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #111111;
}

.btn-primary:hover {
  background-color: #ffd95a;
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  width: 100%;
  background-color: var(--bg-footer);
  color: #ffffff;
}

.footer-inner {
  min-height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-text {
  margin: 0;
  font-size: 1rem;
}

.footer-link {
  margin-left: 0.25rem;
  color: #ffffff;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent);
}

/* =========================
   BACK TO TOP BUTTON
   ========================= */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 3.3rem; /* above footer */
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease;
}

.back-to-top:hover {
  background-color: var(--accent);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
   SCROLL ANIMATIONS
   ========================= */

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   GENERAL RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .container {
    padding-inline: 1.25rem;
  }

  .section {
    padding-block: 2.5rem;
  }

  .hero-inner {
    padding-block: 3rem;
  }

  .hero-content {
    text-align: center;
  }
}

/* =========================
   CONTACT FORM STATUS (AJAX)
   ========================= */

.contact-status {
  margin-top: 0;
  font-size: 0.9rem;
  min-height: 0;
}

.contact-status:not(:empty) {
  margin-top: 0.75rem;
}

.contact-status--pending {
  color: #666666;
}

.contact-status--success {
  color: #2e7d32;
}

.contact-status--error {
  color: #c0392b;
}

/* =========================
   CONTACTS
   ========================= */

.section-contact {
  background-color: #ffffff;
}

/* truputį mažesnis padding tik kontaktų sekcijai */
.section-contact .container {
  padding-inline: 0.75rem;
}

/* MOBILE-FIRST: viena kolona */
.contact-layout {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* žemėlapis po info bloku (arba apačioje, jei HTML taip sudėtas) */
.contact-map {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.contact-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

/* mobile: abu blokai per visą plotį */
.contact-form-wrapper,
.contact-info {
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 0;
}

/* "Susisiekite" heading */
.contact-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* form layout */

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* inputs & textarea – bazė */

.contact-field input,
.contact-field textarea {
  display: block;
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background-color: #fdfdfd;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

/* pilnas plotis visiems laukams, išskyrus captcha inline */
.contact-field:not(.contact-field--inline) input,
.contact-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 199, 0, 0.5);
  background-color: #ffffff;
}

/* math captcha – inline */

.contact-field--inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  max-width: 260px;
}

.contact-field--inline label {
  margin: 0;
  white-space: nowrap;
}

.contact-field--inline input {
  width: auto;
}

.contact-input-captcha {
  width: 60px;
  max-width: 100%;
}

/* submit button */

.contact-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  border: none;
  background-color: var(--accent);
  color: #111;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.contact-submit:hover {
  background-color: #ffd95a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* right column info list */

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #111;
}

.contact-info-list a {
  color: inherit;
  text-decoration: none;
}

.contact-info-list a:hover {
  color: var(--accent);
}

.contact-icon {
  width: 1.4rem;
  flex-shrink: 0;
}

/* ---- DESKTOP ≥900px: forma dešinėje, info kairėje + footer fix ---- */

@media (min-width: 900px) {
  .section-contact {
    min-height: calc(100vh - var(--footer-height));
    display: flex;
    align-items: center;
  }

  .contact-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  /* info kairėje */
  .contact-info {
    flex: 1 1 0;
    max-width: 420px;
    order: 1;
  }

  /* forma dešinėje */
  .contact-form-wrapper {
    flex: 0 0 60%;
    max-width: 650px;
    order: 2;
  }
}

/* labai mažuose ekranuose priartinam prie kraštų */

@media (max-width: 600px) {
  .section-contact .container {
    padding-inline: 0.5rem;
  }

  .contact-layout {
    align-items: stretch;
    justify-content: flex-start;
  }
}
/* =========================
   CONTACT FORM STATUS (AJAX)
   ========================= */

.contact-status {
  margin-top: 0;
  font-size: 0.9rem;
  min-height: 0;
}

.contact-status:not(:empty) {
  margin-top: 0.75rem;
}

.contact-status--pending {
  color: #666666;
}

.contact-status--success {
  color: #2e7d32;
}

.contact-status--error {
  color: #c0392b;
}

/* =========================
   CONTACTS
   ========================= */

.section-contact {
  background-color: #ffffff;
}

/* truputį mažesnis padding tik kontaktų sekcijai */
.section-contact .container {
  padding-inline: 0.75rem;
}

/* MOBILE-FIRST: viena kolona, forma viršuje, info apačioje */
.contact-layout {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* žemėlapis po info bloku (arba apačioje, jei HTML taip sudėtas) */
.contact-map {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.contact-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

/* mobile: abu blokai per visą plotį */
.contact-form-wrapper,
.contact-info {
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 0;
}

/* "Susisiekite" heading */
.contact-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* form layout */

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* inputs & textarea – bazė */

.contact-field input,
.contact-field textarea {
  display: block;
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background-color: #fdfdfd;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

/* pilnas plotis visiems laukams, išskyrus captcha inline */
.contact-field:not(.contact-field--inline) input,
.contact-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 199, 0, 0.5);
  background-color: #ffffff;
}

/* math captcha – inline */

.contact-field--inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  max-width: 260px;
}

.contact-field--inline label {
  margin: 0;
  white-space: nowrap;
}

.contact-field--inline input {
  width: auto;
}

.contact-input-captcha {
  width: 60px;
  max-width: 100%;
}

/* submit button */

.contact-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  border: none;
  background-color: var(--accent);
  color: #111;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.contact-submit:hover {
  background-color: #ffd95a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* right column info list */

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #111;
}

.contact-info-list a {
  color: inherit;
  text-decoration: none;
}

.contact-info-list a:hover {
  color: var(--accent);
}

.contact-icon {
  width: 1.4rem;
  flex-shrink: 0;
}

/* ---- DESKTOP ≥900px: forma dešinėje, info kairėje + footer fix ---- */

@media (min-width: 900px) {
  .section-contact {
    min-height: calc(100vh - var(--footer-height));
    display: flex;
    align-items: center;
  }

  /* čia triukas – apsukam kolonų kryptį */
  .contact-layout {
    flex-direction: row-reverse; /* forma eis į dešinę, info į kairę */
    align-items: flex-start;
    justify-content: center;
  }

  .contact-form-wrapper {
    flex: 0 0 60%;
    max-width: 650px;
  }

  .contact-info {
    flex: 1 1 0;
    max-width: 420px;
    margin-top: 2rem;
  }
}

/* labai mažuose ekranuose priartinam prie kraštų */

@media (max-width: 600px) {
  .section-contact .container {
    padding-inline: 0.5rem;
  }

  .contact-layout {
    align-items: stretch;
    justify-content: flex-start;
  }
}
/* HERO visada pilnas ekranas, ir telefone */
.section-hero[data-fullscreen="true"] {
  min-height: 100vh;
}

/* ant mobilių negesinam hero fullscreen */
@media (max-width: 900px) {
  .section-hero[data-fullscreen="true"] {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}