/* ============================================================
   GUDMODA UAB — statybos ir žemės darbų svetainė
   Design: dark slate + safety orange, Oswald/Inter
   ============================================================ */

:root {
  --bg-dark: #0e1216;
  --bg-darker: #0a0d10;
  --bg-light: #f5f6f8;
  --card-bg: #ffffff;
  --ink: #1b1f24;
  --ink-soft: #5a636d;
  --orange: #f59e0b;
  --orange-2: #f97316;
  --orange-grad: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
  --line: #e4e7eb;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(14, 18, 22, .10);
  --shadow-lg: 0 24px 60px rgba(14, 18, 22, .18);
  --radius: 16px;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 72px;
  --scroll-pad: 90px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--scroll-pad); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  font-family: var(--font-body);
}
.btn-orange {
  background: var(--orange-grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(245, 158, 11, .35);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245, 158, 11, .45); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--bg-darker); color: rgba(255,255,255,.85); font-size: .82rem; padding: 7px 0; }
.topbar-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--orange); }
.topbar-mail { margin-right: auto; }
@media (max-width: 640px) { .topbar-fb { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 18, 22, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--orange-grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, .4);
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; color: #fff; }
.logo-text span { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.88); font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--orange-grad);
  transition: width .25s ease;
}
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn):hover::after { width: 100%; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -8% 0 0 0;
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,13,16,.85) 0%, rgba(10,13,16,.58) 45%, rgba(10,13,16,.28) 72%, rgba(10,13,16,.38) 100%),
    linear-gradient(180deg, rgba(10,13,16,.62) 0%, rgba(10,13,16,.45) 45%, rgba(10,13,16,.88) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 0 150px; max-width: 820px; }
.hero-kicker {
  display: inline-block;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .22em;
  color: var(--orange);
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.4);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  line-height: 1.06;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title span { color: var(--orange); }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(10,13,16,.72);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat { padding: 22px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,.09); }
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--orange);
  line-height: 1;
}
.stat-label { display: block; margin-top: 6px; font-size: .8rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--orange-grad);
  color: #fff;
  overflow: hidden;
  padding: 13px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 32s linear infinite; }
.marquee-track span { padding-right: 2em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-kicker {
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .24em;
  color: var(--orange-2);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-lead { color: var(--ink-soft); max-width: 640px; margin-bottom: 48px; font-size: 1.02rem; }

/* ---------- Services ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { overflow: hidden; aspect-ratio: 3/2; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(245,158,11,.12);
  color: var(--orange-2);
  border-radius: 12px;
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; text-transform: uppercase; margin-bottom: 8px; letter-spacing: .02em; }
.card p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute;
  right: -18px; bottom: -22px;
  background: var(--orange-grad);
  color: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(245, 158, 11, .45);
}
.about-badge strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.about-badge span { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.25; }
.about-text p:not(.section-kicker) { color: var(--ink-soft); margin-bottom: 22px; }
.about-list { margin: 0 0 30px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .98rem; }
.check {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: rgba(245,158,11,.14);
  color: var(--orange-2);
  border-radius: 50%;
  font-weight: 700;
  font-size: .85rem;
  margin-top: 2px;
}

/* ---------- Works / gallery ---------- */
.works { background: var(--bg-light); }
.grid-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow);
}
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work:hover img { transform: scale(1.06); }
.work figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 12px;
  font-size: .84rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(10,13,16,.82));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.work:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-note { margin-top: 26px; color: var(--ink-soft); font-size: .92rem; }
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { background: var(--card-bg); border: 1px solid rgba(10, 13, 16, .07); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial blockquote { margin: 0; font-size: .97rem; line-height: 1.68; color: var(--ink-soft); flex: 1; }
.testimonial figcaption { font-weight: 600; color: var(--ink); font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.testimonial figcaption::before { content: ""; width: 22px; height: 2px; background: var(--orange-grad); border-radius: 2px; }
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.gallery-note a { color: var(--orange-2); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-dark); color: #fff; }
.contact .section-kicker { color: var(--orange); }
.contact .section-lead { color: rgba(255,255,255,.75); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact-info p:not(.section-kicker) { color: rgba(255,255,255,.78); margin-bottom: 30px; }
.contact-list { display: grid; gap: 20px; margin-bottom: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-ico {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(245,158,11,.14);
  border-radius: 12px;
  font-size: 1.25rem;
}
.contact-list a { font-weight: 600; font-size: 1.05rem; transition: color .2s; }
.contact-list a:hover { color: var(--orange); }
.contact-phone { font-family: var(--font-head); font-size: 1.5rem !important; letter-spacing: .02em; }
.contact-list small { color: rgba(255,255,255,.55); }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-form {
  background: #141a20;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.35rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 7px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  background: #0e1318;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f59e0b' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-field select option { background: #0e1318; }
.form-note { margin-top: 14px; font-size: .8rem; color: rgba(255,255,255,.5); }
.form-note.ok { color: #4ade80; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-darker); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-desc { margin-top: 16px; max-width: 340px; font-size: .92rem; color: rgba(255,255,255,.6); }
.footer h4 { color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.45); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 8, 10, .94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--orange); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 150;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-bg { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-badge { right: 10px; bottom: -20px; }
}
@media (max-width: 768px) {
  .grid-works { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    width: min(320px, 84vw);
    height: calc(100vh - var(--nav-h));
    background: rgba(10, 13, 16, .98);
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 30px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .burger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { padding-bottom: 220px; }
}
@media (max-width: 480px) {
  .grid-services, .grid-works { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .contact-form { padding: 26px 20px; }
}
