/*
Theme Name: Griovimo Darbai Vilnius
Theme URI: https://example.com/
Author: Lovable
Author URI: https://lovable.dev/
Description: Modern one-page WordPress theme for a demolition services company in Vilnius, Lithuania.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: griovimo-darbai-vilnius
*/

:root {
  --background: 0 0% 100%;
  --foreground: 145 18% 10%;
  --card: 0 0% 100%;
  --card-foreground: 145 18% 10%;
  --primary: 145 48% 27%;
  --primary-foreground: 0 0% 100%;
  --secondary: 70 88% 60%;
  --secondary-foreground: 145 18% 10%;
  --muted: 90 20% 96%;
  --muted-foreground: 145 12% 34%;
  --border: 100 12% 85%;
  --accent: 48 98% 56%;
  --accent-foreground: 145 18% 10%;
  --section-alt: 90 22% 97%;
  --shadow: 145 30% 20% / 0.10;
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  overflow: clip;
}

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

.section-padding {
  padding-left: 0;
  padding-right: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsla(var(--background), 0.94);
  border-bottom: 1px solid hsl(var(--border));
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand__title img {
  height: 80px !important;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__subtitle {
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
}

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

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  transition: color 220ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: hsl(var(--foreground));
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 800;
  box-shadow: 0 16px 36px hsla(var(--shadow));
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, hsla(var(--foreground), 0.84) 0%, hsla(var(--foreground), 0.68) 44%, hsla(var(--foreground), 0.46) 100%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, hsl(var(--background)));
  z-index: -1;
}

.hero__content {
  max-width: 720px;
  color: hsl(var(--primary-foreground));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: hsla(var(--accent), 0.18);
  color: hsl(var(--primary-foreground));
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  text-wrap: balance;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero__lead,
.hero__support {
  max-width: 62ch;
  overflow-wrap: break-word;
}

.hero__lead {
  margin: 0 0 16px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: hsla(var(--primary-foreground), 0.94);
}

.hero__support {
  margin: 0;
  color: hsla(var(--primary-foreground), 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.button:hover,
.wp-block-button__link:hover,
.button:focus-visible,
.wp-block-button__link:focus-visible {
  transform: translateY(-1px);
}

.button:active,
.wp-block-button__link:active {
  transform: scale(0.97);
}

.button--primary {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: 0 18px 40px hsla(48, 98%, 36%, 0.28);
}

.button--ghost {
  background: hsla(var(--primary-foreground), 0.08);
  color: hsl(var(--primary-foreground));
  border: 1px solid hsla(var(--primary-foreground), 0.26);
}

.section {
  padding: 88px 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px hsla(var(--shadow));
}

.card__image {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.card__body {
  padding: 28px;
}

.card__body h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.card__body p {
  margin: 0;
  color: hsl(var(--muted-foreground));
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.about__visual {
  min-height: 520px;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: 0 24px 50px hsla(var(--shadow));
}

.about__visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.about__content p {
  color: hsl(var(--muted-foreground));
  margin: 0 0 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat {
  padding: 20px;
  border-radius: 20px;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: hsl(var(--primary));
}

.stat span {
  display: block;
  margin-top: 8px;
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
}

.reason-card {
  padding: 28px;
}

.reason-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: hsl(var(--muted));
  color: hsl(var(--primary));
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.process {
  display: grid;
  gap: 18px;
  max-width: 900px;
}

.process-step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 18px 40px hsla(var(--shadow));
}

.process-step__number {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.process-step p {
  margin: 0;
  color: hsl(var(--muted-foreground));
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-panel {
  background: linear-gradient(180deg, hsl(var(--primary)), hsl(145 44% 22%));
  color: hsl(var(--primary-foreground));
}

.contact-panel p,
.contact-panel a {
  color: hsla(var(--primary-foreground), 0.88);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.contact-item {
  display: grid;
  gap: 4px;
}

.contact-item strong {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form {
  background: hsl(var(--card));
}

.form-grid {
  display: grid;
  gap: 18px;
}

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

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border-radius: 16px;
  padding: 14px 16px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  padding: 32px 0 40px;
  background: hsl(var(--foreground));
  color: hsla(var(--primary-foreground), 0.80);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
  color: hsl(var(--primary-foreground));
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: hsla(var(--primary-foreground), 0.78);
}

.site-footer__bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid hsla(var(--primary-foreground), 0.12);
  font-size: 0.92rem;
}

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

.site-footer {
  padding: 48px 0 32px;
  background: #071a14;
  color: #ffffff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 24px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.site-footer__bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .grid--services,
  .grid--reasons,
  .about,
  .contact,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .about__visual {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 44px 0 56px;
  }

  .site-header__inner {
    min-height: 68px;
    gap: 16px;
  }

  .header-contact {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .section {
    padding: 68px 0;
  }

  .stats,
  .form-grid--two,
  .process-step {
    grid-template-columns: 1fr;
  }

  .process-step__number {
    width: 54px;
    height: 54px;
  }
  
}
