/*
Theme Name: MVdarbai Plytelių Klijavimas
Theme URI: https://mvdarbai.lt
Author: ChatGPT
Description: Vieno puslapio WordPress tema MVdarbai įmonei - plytelių klijavimas ir apdailos darbai.
Version: 1.0.0
License: GPLv2 or later
Text Domain: mvdarbai
*/

:root {
  --bg: #f6faf5;
  --paper: #ffffff;
  --dark: #111111;
  --muted: #5e665f;
  --green: #39b54a;
  --green-dark: #1d7a31;
  --green-soft: #e8f7eb;
  --green-pale: #f1fbf3;
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 18px 45px rgba(17, 17, 17, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}
.logo-img {
  width: 220px;
  max-width: 34vw;
  height: auto;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
}
.nav a:hover { color: var(--green-dark); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(17, 17, 17, 0.18); }
.btn-light { background: #fff; color: var(--dark); border: 1px solid var(--line); }
.btn-accent { background: var(--green); color: #fff; }
.btn-accent:hover { background: var(--green-dark); }

.hero {
  padding: 86px 0 58px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(57, 181, 74, 0.16);
  top: -200px;
  right: -130px;
  filter: blur(8px);
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(57, 181, 74, 0.12);
  bottom: -170px;
  left: -120px;
  filter: blur(10px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.82);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 900;
  color: var(--green-dark);
  font-size: 14px;
}
.kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}
h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  margin: 22px 0 22px;
}
.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}
.trust-row span {
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
}
.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 18px;
  transform: rotate(1.2deg);
}
.photo-placeholder {
  min-height: 410px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(17,17,17,0.72), rgba(29,122,49,0.55)),
    repeating-linear-gradient(45deg, #dff2e2 0 14px, #bfe8c6 14px 28px);
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 24px;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.photo-placeholder small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
  opacity: 0.9;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.stat {
  background: var(--green-pale);
  border: 1px solid rgba(57, 181, 74, 0.22);
  border-radius: 18px;
  padding: 16px;
}
.stat strong { display: block; font-size: 28px; line-height: 1; color: var(--green-dark); }
.stat span { color: var(--muted); font-weight: 800; font-size: 13px; }

.section { padding: 72px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0;
}
.section p.sub {
  color: var(--muted);
  max-width: 600px;
  margin: 12px 0 0;
  font-size: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.06);
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); }

.band {
  background: var(--dark);
  color: #fff;
  border-radius: 34px;
  padding: 42px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 4px solid var(--green);
}
.band p { color: rgba(255,255,255,0.78); margin: 12px 0 0; }
.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.check {
  background: rgba(57,181,74,0.16);
  border: 1px solid rgba(57,181,74,0.36);
  border-radius: 16px;
  padding: 14px;
  font-weight: 900;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.06);
}
.project-img {
  height: 210px;
  background:
    linear-gradient(135deg, rgba(17,17,17,0.42), rgba(57,181,74,0.24)),
    repeating-linear-gradient(-45deg, #dff2e2 0 16px, #b6e0bd 16px 32px);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.project-body { padding: 20px; }
.project-body h3 { margin: 0 0 6px; }
.project-body p { margin: 0; color: var(--muted); }

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}
.contact-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  background: var(--green-pale);
  border: 1px solid rgba(57, 181, 74, 0.22);
}
.form-grid { display: grid; gap: 12px; }
.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  background: #fff;
}
textarea.input { min-height: 128px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 10px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-weight: 700;
  background: #fff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .logo-img { width: 190px; max-width: 56vw; }
  .hero-grid, .band, .contact-wrap { grid-template-columns: 1fr; }
  .cards, .projects { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .photo-placeholder { min-height: 300px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 68px; }
  .logo-img { width: 160px; }
  .hero { padding-top: 52px; }
  .cards, .projects, .steps, .stats, .checks { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .band { padding: 28px; border-radius: 26px; }
  .section-head { display: block; }
  .hero-actions .btn { width: 100%; }
}

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

.contact-wrap.contact-only .contact-box {
  max-width: 760px;
  margin: 0 auto;
}
