:root {
  --avb-green-900: #113b29;
  --avb-green-700: #176c43;
  --avb-green-500: #2f9a59;
  --avb-mint: #e6f3ea;
  --avb-ink: #15231b;
  --avb-muted: #5d6f65;
  --avb-line: #dce7df;
  --avb-surface: #f6f8f4;
  --avb-white: #ffffff;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: var(--avb-ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--avb-white);
  padding-bottom: 0;
  overflow-x: hidden;
}

a {
  color: var(--avb-green-700);
}

.btn {
  border-radius: 6px;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  --bs-btn-bg: var(--avb-green-700);
  --bs-btn-border-color: var(--avb-green-700);
  --bs-btn-hover-bg: var(--avb-green-900);
  --bs-btn-hover-border-color: var(--avb-green-900);
}

.btn-outline-primary {
  --bs-btn-color: var(--avb-green-700);
  --bs-btn-border-color: var(--avb-green-700);
  --bs-btn-hover-bg: var(--avb-green-700);
  --bs-btn-hover-border-color: var(--avb-green-700);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 59, 41, 0.08);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease;
}

.site-header .container {
  gap: 22px;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(17, 59, 41, 0.1);
}

.navbar-brand img,
.custom-logo {
  width: auto;
    max-width: 260px;
  height: 56px;
  object-fit: contain;
  filter: invert(1);
}

.primary-nav {
  background: var(--avb-surface);
  border: 1px solid var(--avb-line);
  border-radius: 8px;
  padding: 4px;
  gap: 2px;
}

.navbar-nav .nav-link {
  color: var(--avb-ink);
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  padding: 10px 13px;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
  color: var(--avb-green-700);
  background: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.phone-link {
  color: var(--avb-ink);
  text-decoration: none;
  white-space: nowrap;
  display: grid;
  gap: 1px;
  padding: 7px 12px;
  border: 1px solid var(--avb-line);
  border-radius: 8px;
  background: #fff;
  min-width: 168px;
}

.phone-link span {
  color: var(--avb-muted);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
}

.phone-link strong {
  color: var(--avb-ink);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 900;
}

.messenger-actions {
  display: flex;
  gap: 8px;
}

.messenger-actions .btn {
  min-width: 54px;
}

.hero-section {
  min-height: calc(100vh - 74px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 31, 21, 0.88) 0%, rgba(8, 31, 21, 0.62) 43%, rgba(8, 31, 21, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 31, 21, 0.6) 0%, rgba(8, 31, 21, 0.05) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 96px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-section h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-phone {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
}

.hero-facts {
  display: grid;
  gap: 10px;
}

.hero-facts div {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.hero-facts strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 92px 0;
}

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

.section-heading h2,
.section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.section-heading p,
.section-lead {
  margin: 18px 0 0;
  color: var(--avb-muted);
  font-size: 18px;
  line-height: 1.6;
}

.intro-band {
  background: var(--avb-surface);
}

.compact-point {
  min-height: 86px;
  border-left: 4px solid var(--avb-green-700);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(17, 59, 41, 0.06);
}

.process-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(17, 59, 41, 0.18);
}

.quick-contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--avb-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 59, 41, 0.08);
}

.quick-contact-strip strong,
.quick-contact-strip span {
  display: block;
}

.quick-contact-strip strong {
  font-size: 20px;
  line-height: 1.25;
}

.quick-contact-strip span {
  margin-top: 4px;
  color: var(--avb-muted);
}

.quick-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.service-card {
  border: 1px solid var(--avb-line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(17, 59, 41, 0.1);
}

.card-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--avb-mint);
  color: var(--avb-green-700);
  font-weight: 900;
}

.service-card h3,
.timeline h3 {
  margin: 22px 0 12px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.service-card p,
.timeline p {
  color: var(--avb-muted);
  line-height: 1.6;
  margin: 0;
}

.muted-section {
  background: #eef5ef;
}

.expert-panel {
  background: var(--avb-green-900);
  color: #fff;
  border-radius: 8px;
  padding: 34px;
}

.expert-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 20px 0 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  height: 100%;
}

.advantages-grid div {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--avb-line);
}

.advantages-grid strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.advantages-grid span {
  color: var(--avb-muted);
  line-height: 1.55;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--avb-surface);
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.portfolio-carousel {
  border-radius: 8px;
  overflow: hidden;
  background: var(--avb-green-900);
  box-shadow: 0 24px 64px rgba(17, 59, 41, 0.18);
}

.portfolio-carousel .carousel-item {
  min-height: 620px;
  background: var(--avb-green-900);
}

.portfolio-carousel .carousel-item img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.portfolio-carousel .carousel-caption {
  left: 24px;
  right: auto;
  bottom: 24px;
  width: min(520px, calc(100% - 48px));
  text-align: left;
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(17, 59, 41, 0.84);
  backdrop-filter: blur(10px);
}

.portfolio-carousel .carousel-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-carousel .carousel-caption strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
}

.portfolio-carousel .carousel-control-prev,
.portfolio-carousel .carousel-control-next {
  width: 72px;
}

.portfolio-carousel .carousel-control-prev-icon,
.portfolio-carousel .carousel-control-next-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-size: 48%;
  background-color: rgba(17, 59, 41, 0.72);
  backdrop-filter: blur(8px);
}

.portfolio-carousel .carousel-indicators {
  margin-bottom: 18px;
}

.portfolio-carousel .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.62);
}

.video-section {
  background:
    linear-gradient(0deg, rgba(17, 59, 41, 0.9), rgba(17, 59, 41, 0.9)),
    url("../images/work-ready-lawn-3.webp") center / cover;
}

.video-shell {
  background: #fff;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(17, 59, 41, 0.18);
}

.video-heading {
  margin-bottom: 28px;
}

.video-copy {
  background: var(--avb-surface);
  border: 1px solid var(--avb-line);
  border-radius: 8px;
  padding: 28px;
}

.video-copy h3 {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.video-copy p {
  color: var(--avb-muted);
  line-height: 1.65;
  margin: 0;
}

.vk-frame {
  min-height: 560px;
  border-radius: 8px;
  border: 1px solid var(--avb-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}

.video-file-frame {

}

.wp-video-file {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  max-height: 646px;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}

.video-empty {
  display: grid;
  gap: 8px;
  max-width: 360px;
  color: #fff;
  text-align: center;
  line-height: 1.45;
}

.video-empty span {
  color: rgba(255, 255, 255, 0.76);
}

.cta-inline,
.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-stack {
  justify-content: flex-lg-end;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline div {
  background: #fff;
  border: 1px solid var(--avb-line);
  border-radius: 8px;
  padding: 24px;
}

.timeline span {
  color: var(--avb-green-700);
  font-weight: 900;
}

.accordion-item {
  border-color: var(--avb-line);
}

.accordion-button {
  font-weight: 900;
  color: var(--avb-ink);
  font-size: 18px;
}

.accordion-button:not(.collapsed) {
  background: var(--avb-mint);
  color: var(--avb-green-900);
  box-shadow: none;
}

.accordion-body {
  color: var(--avb-muted);
  line-height: 1.65;
}

.final-cta {
  background:
    linear-gradient(90deg, rgba(17, 59, 41, 0.94) 0%, rgba(17, 59, 41, 0.86) 100%),
    url("../images/work-ready-lawn-1.webp") center / cover;
  color: #fff;
  padding: 72px 0;
}

.final-cta-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 38px;
  background: rgba(17, 59, 41, 0.54);
  box-shadow: 0 24px 70px rgba(8, 31, 21, 0.22);
  backdrop-filter: blur(10px);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.final-cta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.final-cta-points span {
  border-radius: 8px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.12);
}

.contacts-section {
  background: var(--avb-surface);
}

.contacts-panel {
  background: #fff;
  border: 1px solid var(--avb-line);
  border-radius: 8px;
  padding: 34px;
}

.contacts-panel p:not(.eyebrow) {
  color: var(--avb-muted);
  line-height: 1.65;
  margin: 18px 0 0;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-list a,
.contact-list div {
  display: grid;
  gap: 5px;
  color: var(--avb-ink);
  text-decoration: none;
  border: 1px solid var(--avb-line);
  border-radius: 8px;
  padding: 16px;
  background: var(--avb-surface);
}

.contact-list span {
  color: var(--avb-muted);
  font-weight: 800;
  font-size: 13px;
}

.contact-list strong {
  font-size: 17px;
  line-height: 1.3;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.map-frame {
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--avb-line);
  background: #fff;
}

.map-frame iframe,
.map-frame ymaps {
  max-width: 100%;
}

.site-footer {
  padding: 48px 0;
  background:
    linear-gradient(0deg, rgba(11, 36, 25, 0.96), rgba(11, 36, 25, 0.96)),
    url("../images/work-ready-lawn-4.webp") center / cover;
  color: rgba(255, 255, 255, 0.75);
}

.footer-logo {
  width: 178px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-text {
  max-width: 420px;
  margin: 18px 0 0;
}

.footer-label {
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
}

.site-footer a,
.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  margin-bottom: 8px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 74px;
  }

  .navbar-collapse {
    padding: 18px 0;
  }

  .header-actions {
    align-items: stretch;
  }

  .header-actions .btn,
  .phone-link {
    width: 100%;
  }

  .primary-nav {
    background: transparent;
    border: 0;
    padding: 0;
    gap: 6px;
  }

  .navbar-nav .nav-link {
    background: var(--avb-surface);
    border: 1px solid var(--avb-line);
    padding: 12px 14px;
  }

  .messenger-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-section {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(8, 31, 21, 0.9) 0%, rgba(8, 31, 21, 0.52) 100%);
  }

  .hero-content {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section {
    padding: 68px 0;
  }

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

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

  .portfolio-carousel .carousel-item,
  .portfolio-carousel .carousel-item img {
    height: 520px;
    min-height: 520px;
  }

  .final-cta-points {
    grid-template-columns: 1fr;
  }

  .quick-contact-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-contact-actions {
    justify-content: stretch;
  }

  .quick-contact-actions .btn {
    flex: 1 1 180px;
  }

  .video-shell {
    padding: 22px;
  }

  .map-frame {
    min-height: 420px;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--avb-line);
    padding: 10px;
    box-shadow: 0 -10px 28px rgba(17, 59, 41, 0.12);
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img,
  .custom-logo {
    max-width: 142px;
    height: 46px;
  }

  .hero-section {
    min-height: 720px;
  }

  .hero-section h1 {
    font-size: 38px;
  }

  .hero-lead,
  .section-heading p,
  .section-lead {
    font-size: 16px;
  }

  .hero-actions .btn,
  .hero-phone {
    width: 100%;
  }

  .hero-facts strong {
    font-size: 24px;
  }

  .section-heading h2,
  .section h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .advantages-grid,
  .timeline,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }

  .portfolio-carousel .carousel-item,
  .portfolio-carousel .carousel-item img {
    height: 430px;
    min-height: 430px;
  }

  .portfolio-carousel .carousel-caption {
    left: 14px;
    bottom: 54px;
    width: calc(100% - 28px);
    padding: 14px;
  }

  .portfolio-carousel .carousel-caption strong {
    font-size: 17px;
  }

  .portfolio-carousel .carousel-control-prev,
  .portfolio-carousel .carousel-control-next {
    width: 54px;
  }

  .vk-frame {
    min-height: 420px;
    padding: 10px;
  }

  .video-shell,
  .video-copy,
  .contacts-panel,
  .final-cta-card {
    padding: 20px;
  }

  .mobile-cta {

  }

  .final-cta {
    padding: 56px 0;
  }

  .cta-stack .btn,
  .cta-inline .btn,
  .quick-contact-actions .btn,
  .contact-buttons .btn {
    width: 100%;
  }
}
