:root {
  --green: #279c38;
  --orange: #ffa200;
  --primary: var(--green);
  --text: #5f685f;
  --accent: var(--orange);
  --light: #f4f8f1;
  --dark: #172018;
  --white: #ffffff;
  --border: rgba(39, 156, 56, 0.14);
  --container: 1440px;
  --shadow: 0 25px 55px rgba(20, 31, 44, 0.12);
  --transition: 0.3s ease;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: #111312;
  font-weight: 700;
  line-height: 1.15;
}

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

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    color var(--transition),
    box-shadow 0.3s ease,
    border-color var(--transition);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn--accent {
  color: var(--white);
  background: var(--accent);
}

.btn--accent::before {
  background: var(--dark);
}

.btn--accent:hover {
  color: var(--white);
  box-shadow: 0 14px 30px rgba(23, 32, 24, 0.28);
}

.btn--light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.btn--light::before {
  background: var(--accent);
}

.btn--light:hover {
  color: var(--white);
  box-shadow:
    inset 0 0 0 1px var(--accent),
    0 14px 30px rgba(255, 162, 0, 0.28);
}

.btn--dark {
  color: var(--white);
  background: var(--green);
}

.btn--dark::before {
  background: var(--accent);
}

.btn--dark:hover {
  color: var(--white);
  box-shadow: 0 14px 30px rgba(255, 162, 0, 0.28);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading--center {
  text-align: center;
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light .section-heading__sub {
  color: #aab3bb;
}

.hero__sub,
.section-heading__sub,
.project-card__content span,
.news-card__meta {
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-heading__sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.section-heading__sub span {
  color: var(--accent);
}

.section-heading h2 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
}

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: none;
}

.topbar {
  position: relative;
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
}

.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1000px;
  height: 45px;
  transform: skewX(25deg);
  background: var(--dark);
}

.topbar::before {
  left: -140px;
}

.topbar::after {
  right: -140px;
}

.topbar__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr auto auto;
  align-items: center;
  min-height: 45px;
}

.topbar__left,
.topbar__center,
.topbar__right {
  display: flex;
  align-items: center;
}

.topbar__left {
  gap: 22px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__center {
  gap: 16px;
  justify-self: end;
  color: #90a1bc;
}

.topbar__center a:hover {
  color: var(--white);
}

.topbar__quote {
  font-weight: 500;
}

.topbar__right {
  justify-self: end;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  transition: box-shadow var(--transition);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 35px;
  width: 1500px;
  height: 100px;
  background: var(--white);
  transform: skewX(25deg);
}

.header--scrolled {
  box-shadow: 0 10px 30px rgba(18, 28, 40, 0.12);
}

.header__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 160px 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 100px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.header__logo img {
  display: block;
  width: auto;
  height: 48px;
}

.header__nav {
  justify-self: center;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 38px;
}

.header__menu a {
  font-size: 16px;
  font-weight: 500;
  color: #111312;
}

.header__menu a:hover,
.header__menu a.active {
  color: var(--accent);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.header__cta-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
}

.header__cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header__cta-text small {
  font-size: 16px;
  color: var(--text);
}

.header__cta-text strong {
  font-size: 16px;
  color: var(--primary);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  justify-content: center;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
}

.header__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.open span:nth-child(2) {
  opacity: 0;
}

.header__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding-block: 120px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(10, 15, 20, 0.92) 0%,
      rgba(10, 15, 20, 0.82) 34%,
      rgba(10, 15, 20, 0.48) 66%,
      rgba(10, 15, 20, 0.26) 100%
    ),
    url("../images/hero-bg.webp") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: min(44vw, 620px);
  height: 9px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(255, 162, 0, 0) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  top: 130px;
  left: 0;
  width: min(42vw, 520px);
  height: 420px;
  background: radial-gradient(
    circle at left center,
    rgba(255, 162, 0, 0.22) 0%,
    rgba(255, 162, 0, 0) 72%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero__sub {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 48px;
  padding: 10px 18px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.hero__title {
  margin-bottom: 48px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--white);
  line-height: 1;
}

.hero__title-name,
.hero__title-main {
  display: block;
}

.hero__title-name {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero__title-main {
  max-width: 11ch;
}

.hero__desc {
  max-width: 660px;
  margin-bottom: 48px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero__services li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.hero__services li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 162, 0, 0.18);
}

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

.hero__actions .btn {
  min-width: 190px;
}

.hero__actions .btn--accent::before {
  background: var(--white);
}

.hero__actions .btn--accent:hover {
  color: var(--dark);
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.25);
}

.hero__actions .btn--light::before {
  background: var(--white);
}

.hero__actions .btn--light:hover {
  color: var(--dark);
  box-shadow:
    inset 0 0 0 1px var(--white),
    0 14px 30px rgba(255, 255, 255, 0.2);
}

.about {
  padding: 150px 0 120px;
  background: var(--white);
}

.about__grid,
.why__grid,
.promo__row,
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.about__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 56px 0 36px 58px;
  height: 100%;
  max-height: 780px;
}

.about__shape {
  position: absolute;
  left: -390px;
  top: -130px;
  width: calc(100% + 110px);
  height: calc(100% + 240px);
  background: linear-gradient(180deg, #f5f7fa 0%, #eef2f7 100%);
}

.about__frame {
  position: absolute;
  top: 14px;
  left: 140px;
  right: 20px;
  z-index: 1;
  height: 70%;
  border: 8px solid var(--accent);
}

.about__image {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  aspect-ratio: 570 / 641;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(16, 24, 40, 0.18);
}

.about__image--main {
  align-self: stretch;
}

.about__badge {
  position: absolute;
  left: 58px;
  bottom: 36px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(calc(100% - 58px), 490px);
  padding: 36px 42px;
  background: rgba(23, 23, 23, 0.98);
  border-right: 12px solid var(--accent);
  color: var(--white);
  box-shadow: 0 24px 50px rgba(12, 18, 26, 0.18);
}

.about__badge-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 20px 0;
}

.about__badge-item:first-child {
  padding-top: 0;
}

.about__badge-item:last-child {
  padding-bottom: 0;
}

.about__badge-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.about__badge-icon {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}

.about__badge strong {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

.about__badge-meta {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.about__content {
  padding-left: 24px;
}

.about__lead {
  margin: -5px 0 28px;
  font-size: 18px;
  font-weight: 700;
}

.section-padding {
  padding: 120px 0;
}

.intro {
  padding: 112px 0;
  background: var(--white);
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.intro__head {
  position: sticky;
  top: 120px;
}

.intro__head .section-heading__sub {
  margin-bottom: 20px;
}

.intro__head h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
}

.intro__head::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 24px;
  background: var(--accent);
}

.intro__body p {
  margin-bottom: 20px;
  font-size: 16px;
}

.intro__body p:last-child {
  margin-bottom: 0;
}

.intro__body p.intro__lead {
  color: #111312;
  font-size: 20px;
  font-weight: 700;
}

.qualities {
  position: relative;
  padding: 120px 0;
  background: var(--white);
}

.qualities__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.qualities__content {
  padding-right: 48px;
}

.qualities__content .section-heading {
  margin-bottom: 32px;
}

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

.qualities__item p {
  margin: 0;
}

.qualities__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 620px;
}

.qualities__media::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  z-index: 0;
  width: 62%;
  height: 50%;
  background: var(--primary);
}

.qualities__image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(16, 24, 40, 0.18);
}

.qualities__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-tips {
  padding: 112px 0;
  background: var(--light);
}

.care-tips .section-heading {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.care-tips__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.care-tips__col {
  position: relative;
  padding: 40px 36px 32px;
  background: var(--white);
  border-bottom: 6px solid var(--accent);
  box-shadow: 0 18px 40px rgba(18, 28, 40, 0.08);
}

.care-tips__num {
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.care-tips__col p {
  margin: 0;
}

.service-area {
  position: relative;
  overflow: hidden;
  padding: 128px 0 120px;
  background: var(--white);
}

.service-area__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.service-area__content {
  order: 1;
  padding-right: 48px;
}

.service-area__media {
  position: relative;
  order: 2;
  min-height: 480px;
}

.service-area__media::before {
  content: "";
  position: absolute;
  top: -22px;
  right: -22px;
  z-index: 0;
  width: 62%;
  height: 70%;
  background: var(--primary);
}

.service-area__image-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 28px 60px rgba(16, 24, 40, 0.18);
}

.service-area__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-area__cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.service-area__cities li {
  position: relative;
  padding-left: 24px;
  color: var(--primary);
  font-weight: 700;
}

.service-area__cities li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 8px;
  height: 14px;
  border: 2px solid var(--accent);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.page-cta {
  padding: 96px 0;
  background: var(--dark);
  color: var(--white);
}

.page-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.page-cta .section-heading {
  margin-bottom: 0;
}

.page-cta .section-heading__sub {
  color: rgba(255, 255, 255, 0.72);
}

.page-cta h2 {
  max-width: 820px;
  color: var(--white);
}

.page-cta__text {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 48px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 10px;
  height: 18px;
  border: 3px solid var(--accent);
  transform: rotate(45deg);
  border-left: 0;
  border-top: 0;
}

.about__actions {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}

.about__stats {
  flex: 1 1 260px;
}

.stat-card {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 28px 30px 24px;
  background: var(--light);
  border-bottom: 6px solid var(--accent);
  box-shadow: var(--shadow);
}

.stat-card__icon {
  min-width: 88px;
  width: auto;
  height: auto;
  display: block;
  color: var(--accent);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.stat-card__text strong {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-card__text span {
  display: block;
  line-height: 1.5;
}

.services {
  position: relative;
  padding: 130px 0 270px;
  background: var(--dark);
}

.services__overlay {
  display: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.service-box {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.service-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(39, 156, 56, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.service-box:hover {
  border-color: rgba(255, 162, 0, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.service-box:hover::before {
  opacity: 1;
}

.service-box__thumb {
  position: relative;
  height: 230px;
  background-position: center;
  background-size: 105%;
  background-repeat: no-repeat;
  transition: background-size 0.7s ease;
}

.service-box:hover .service-box__thumb {
  background-size: 122%;
}

.service-box__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 13, 0) 35%,
    rgba(10, 20, 13, 0.95) 100%
  );
}

.service-box__thumb::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 1;
}

.service-box:hover .service-box__thumb::after {
  transform: scaleX(1);
}

.service-box__content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 32px 30px 34px;
  text-align: left;
  background: transparent;
  z-index: 1;
}

.service-box__icon {
  position: absolute;
  top: -30px;
  right: 28px;
  width: 62px;
  height: 62px;
  margin: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, #ff7a00 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(255, 122, 0, 0.45);
  transition: box-shadow 0.4s ease;
}

.service-box:hover .service-box__icon {
  box-shadow: 0 16px 34px rgba(255, 122, 0, 0.6);
}

.service-box h3 {
  margin: 6px 0 14px;
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.service-box:hover h3 {
  color: var(--accent);
}

.service-box p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.service-box__link {
  align-self: flex-end;
  margin-top: auto;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.service-box:hover .service-box__link {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.promo {
  position: relative;
  margin-top: -155px;
  z-index: 9;
}

.promo__row {
  gap: 24px;
}

.promo__cta {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 44px 50px;
  background: var(--accent);
  border-radius: 5px;
}

.promo__cta-icon {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  border-radius: 4px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.95);
}

.promo__cta-text {
  flex: 1;
  min-width: 0;
}

.promo__cta h2 {
  color: var(--white);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25;
  margin-bottom: 12px;
}

.promo__cta p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.promo__image {
  min-height: 345px;
  border-radius: 5px;
  background: url("https://sp-ao.shortpixel.ai/client/to_auto,q_lossless,ret_img,w_720,h_400/https://tplabs.co/congin/wp-content/uploads/2023/05/about-section-2.webp")
    center center / cover no-repeat;
}

@media (max-width: 767px) {
  .promo {
    margin-top: -120px;
  }

  .promo__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 32px 28px;
  }

  .promo__cta-icon {
    width: 90px;
    height: 90px;
    font-size: 22px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.95);
  }

  .promo__image {
    min-height: 240px;
  }
}

.team-block {
  position: relative;
  margin-top: -115px;
  padding: 230px 0 120px;
  background: url("https://tplabs.co/congin/wp-content/uploads/2023/05/bg-parallax2.webp")
    center center / cover no-repeat;
}

.team-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 255, 255, 0.94)
  );
}

.team-block .container {
  position: relative;
  z-index: 1;
}

.team-block__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  box-shadow: var(--shadow);
}

.team-card__image {
  height: 391px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.team-card__content {
  padding: 24px 22px 26px;
}

.team-card__content h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

.team-card__content span {
  color: var(--text);
}

.why {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(180deg, var(--white) 0%, #f8faf6 100%);
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  top: 80px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(255, 162, 0, 0.1) 0%,
    rgba(255, 162, 0, 0) 70%
  );
  pointer-events: none;
}

.why .container {
  position: relative;
  z-index: 1;
}

.why__grid {
  align-items: stretch;
}

.why__media {
  position: relative;
  display: flex;
  height: 100%;
  max-height: 780px;
}

.why__media::before {
  content: "";
  position: absolute;
  left: -28px;
  top: -28px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(
    circle,
    rgba(255, 162, 0, 0.35) 1.5px,
    transparent 2px
  );
  background-size: 14px 14px;
  z-index: 0;
}

.why__image-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(23, 32, 24, 0.2);
}

.why__image {
  width: 100%;
  height: 100%;
  max-height: 780px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.why__image-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(23, 32, 24, 0.2);
}

.why__media:hover .why__image {
  transform: scale(1.05);
}

.why__badge {
  position: absolute;
  left: -30px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 30px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(255, 162, 0, 0.35);
}

.why__badge-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
}

.why__badge-text strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.why__badge-text span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.why__content {
  padding-left: 24px;
}

.why__lead {
  max-width: 540px;
  margin-top: -18px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.why__items {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.why-item {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--white);
  border-left: 4px solid var(--accent);
  box-shadow: 0 14px 30px rgba(23, 32, 24, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.why-item:hover {
  transform: translateX(6px);
  box-shadow: 0 22px 44px rgba(23, 32, 24, 0.12);
}

.why-item__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff7a00 100%);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(255, 122, 0, 0.32);
}

.why-item__num {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff7a00 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(255, 122, 0, 0.32);
}

.why-item h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.why-item p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.why__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding: 26px 28px;
  background: var(--dark);
  color: var(--white);
}

.why-stat {
  text-align: center;
  position: relative;
}

.why-stat + .why-stat::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56%;
  background: rgba(255, 255, 255, 0.14);
}

.why-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.why-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.78);
}

.projects {
  padding: 120px 0;
  background: var(--light);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--white);
}

.project-card__image {
  height: 467px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.project-card__content {
  padding: 22px 22px 28px;
}

.project-card__content span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.project-card__content h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.projects__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(20, 31, 44, 0.08);
  overflow: hidden;
}

.feature-card__media {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 32px;
  flex: 1;
}

.feature-card__tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-card__body h3 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--dark);
}

.feature-card__body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  flex: 1;
}

.feature-card__link {
  align-self: flex-end;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: 10px;
  border: 2px solid var(--accent);
  color: var(--accent);
  transition:
    background var(--transition),
    color var(--transition);
}

.feature-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.feature-card:hover .feature-card__link {
  background: var(--accent);
  color: var(--white);
}

.testimonials {
  position: relative;
  padding: 120px 0 215px;
  background: url("https://tplabs.co/congin/wp-content/uploads/2023/05/bg-parallax-3.webp")
    center center / cover no-repeat;
}

.testimonials__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 23, 23, 0.82),
    rgba(23, 23, 23, 0.88)
  );
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.testimonial-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.testimonial-card p {
  flex: 1;
}

.testimonial-card {
  padding-top: 20px;
  color: var(--white);
}

.testimonial-card__quote {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 42px;
}

.testimonial-card p {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 2;
}

.testimonial-card__author strong {
  display: block;
  color: var(--white);
  font-size: 20px;
}

.testimonial-card__author span {
  color: #c1c1c1;
  font-size: 16px;
  letter-spacing: 1.3px;
}

.testimonials__avatars {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.testimonials__avatars span {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 3px solid rgba(255, 255, 255, 0.18);
}

.contact {
  position: relative;
  z-index: 9;
  padding: 140px 0 130px;
  background: var(--white);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(39, 156, 56, 0) 0%,
    rgba(39, 156, 56, 0.14) 20%,
    rgba(39, 156, 56, 0.14) 80%,
    rgba(39, 156, 56, 0) 100%
  );
}

.contact__header {
  max-width: 840px;
  margin-bottom: 54px;
}

.contact__title {
  margin-bottom: 18px;
  color: #111312;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.contact__lead {
  max-width: 720px;
  color: #667266;
  font-size: 18px;
  line-height: 1.78;
}

.contact__layout {
  align-items: stretch;
  gap: 0;
}

.contact__media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #1b2320;
}

.contact__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(12, 16, 14, 0.08) 0%,
      rgba(12, 16, 14, 0.26) 100%
    ),
    linear-gradient(90deg, rgba(12, 16, 14, 0.18) 0%, rgba(12, 16, 14, 0) 42%);
}

.contact__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__badge {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(100% - 64px, 380px);
  padding: 22px 24px 24px;
  background: rgba(17, 19, 18, 0.88);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(12, 18, 14, 0.26);
}

.contact__badge span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.contact__badge strong {
  font-size: 20px;
  line-height: 1.35;
}

.contact__panel {
  position: relative;
  z-index: 1;
  margin-left: -24px;
  padding: 48px 54px 52px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 28px 60px rgba(23, 32, 24, 0.16);
}

.contact__panel::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 38px solid transparent;
  border-bottom: 38px solid transparent;
  border-right: 40px solid var(--green);
}

.contact__eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact__panel h3 {
  color: var(--white);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.contact__divider {
  width: 100%;
  height: 1px;
  margin: 34px 0 32px;
  background: rgba(255, 255, 255, 0.6);
}

.contact__details {
  display: grid;
  gap: 16px;
}

.contact__detail {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px 18px;
  align-items: baseline;
}

.contact__detail dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.contact__detail dd,
.contact__detail a {
  color: var(--white);
  font-size: 21px;
  line-height: 1.35;
}

.contact__detail--mail dd,
.contact__detail--mail a {
  word-break: break-word;
}

.contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 360px);
  min-height: 54px;
  margin-top: 38px;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 20px 34px rgba(255, 162, 0, 0.22);
}

.contact__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    color var(--transition),
    box-shadow 0.3s ease;
}

.contact__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--dark);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.contact__cta:hover {
  box-shadow: 0 24px 40px rgba(23, 32, 24, 0.3);
}

.contact__cta:hover::before {
  transform: translateX(0);
}

.contact__cta svg {
  transition: transform 0.3s ease;
}

.contact__cta:hover svg {
  transform: translateX(4px);
}

.contact__cta span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact__cta svg {
  flex-shrink: 0;
}

.contact-form-section {
  padding: 0 0 120px;
  background: var(--white);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 38px;
  align-items: start;
}

.contact-form-copy {
  padding-top: 24px;
}

.contact-form-copy__eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-form-copy h2 {
  margin-bottom: 20px;
  color: #111312;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.contact-form-copy p {
  max-width: 580px;
  color: #667266;
  font-size: 18px;
  line-height: 1.8;
}

.contact-form-card {
  padding: 24px;
  box-shadow: 0 28px 60px rgba(18, 28, 40, 0.08);
  border: 1px solid rgba(17, 19, 18, 0.08);
}

.contact-form-card textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-map-section {
  height: 480px;
  background: #f0f0f0;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  background: #f8faf6;
  color: #111312;
  font-weight: 700;
}

.blog-pagination a.active {
  background: var(--accent);
  color: var(--white);
}

.blog-pagination .current {
  background: var(--accent);
  color: var(--white);
}

.news {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
  background: linear-gradient(180deg, #eef4ea 0%, #f8faf6 100%);
}

.news::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46px;
  width: min(92vw, 1380px);
  height: 1px;
  background: rgba(39, 156, 56, 0.12);
  transform: translateX(-50%);
}

.news::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(
    circle,
    rgba(255, 162, 0, 0.18) 0%,
    rgba(255, 162, 0, 0) 72%
  );
  pointer-events: none;
}

.news .container {
  position: relative;
  z-index: 1;
}

.news__intro {
  max-width: 780px;
  margin: 0 auto 56px;
}

.news__lead {
  max-width: 720px;
  margin: -8px auto 0;
  text-align: center;
  color: #647064;
  font-size: 18px;
  line-height: 1.8;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(39, 156, 56, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 60px rgba(23, 32, 24, 0.08);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(255, 162, 0, 0) 100%
  );
  z-index: 2;
}

.news-card:hover {
  border-color: rgba(255, 162, 0, 0.22);
  box-shadow: 0 30px 70px rgba(23, 32, 24, 0.12);
}

.news-card__image-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.news-card__image-link:focus-visible,
.news-card__title-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.news-card__image {
  position: relative;
  isolation: isolate;
  height: 250px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #d8dfd3;
  transform: scale(1);
  transition: transform 0.7s ease;
}

.news-card:nth-child(2) .news-card__image {
  background-color: #d6ddd2;
}

.news-card:nth-child(3) .news-card__image {
  background-color: #d9ddd0;
}

.news-card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(12, 18, 14, 0.06) 0%,
      rgba(12, 18, 14, 0.34) 100%
    ),
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0) 46%
    );
  z-index: 0;
}

.news-card__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 92px;
  background: linear-gradient(
    180deg,
    rgba(17, 19, 18, 0) 0%,
    rgba(17, 19, 18, 0.78) 100%
  );
  z-index: 0;
}

.news-card:hover .news-card__image,
.news-card:focus-within .news-card__image {
  transform: scale(1.08);
}

.news-card__date {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(14, 20, 16, 0.14);
  color: #111312;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 28px 30px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text);
}

.news-card__meta span,
.news-card__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 0;
  background: #eef4ea;
  box-shadow: inset 0 0 0 1px rgba(39, 156, 56, 0.1);
  color: #566351;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.news-card__meta a:hover,
.news-card__meta a:focus-visible {
  background: var(--accent);
  color: #fff;
}

.news-card h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.18;
  color: #111312;
}

.news-card__title-link {
  color: #111312;
}

.news-card__title-link:hover,
.news-card__title-link:focus-visible {
  color: var(--primary);
}

.news-card p {
  color: #5b655c;
  font-size: 17px;
  line-height: 1.75;
}

.news-card__body::after {
  content: "";
  width: 78px;
  height: 3px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(255, 162, 0, 0) 100%
  );
}

.news__actions {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.footer {
  background: #111312;
  color: rgba(255, 255, 255, 0.72);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.9fr 0.9fr;
  gap: 40px;
  padding: 100px 20px 60px;
}

.footer__brand p {
  max-width: 360px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  line-height: 0;
}

.footer__logo img {
  display: block;
  width: auto;
  height: 64px;
  filter: grayscale(100%) brightness(0) invert(1);
}

.footer h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 24px;
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.footer__copyright {
  font-size: 14px;
}

.footer__credit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.footer__credit:hover {
  color: var(--white);
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-call {
  display: none;
}

@media (max-width: 767px) {
  .scroll-top {
    display: none !important;
  }

  .mobile-call {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    transition: transform var(--transition), background-color var(--transition);
  }

  .mobile-call:hover,
  .mobile-call:focus-visible {
    transform: translateY(-2px);
    color: var(--white);
  }
}

@media (max-width: 1366px) {
  .services__grid,
  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects__features {
    gap: 20px;
  }

  .promo__cta {
    padding-left: 30px;
  }

  .why__badge {
    left: 30px;
  }
}

@media (max-width: 1024px) {
  .topbar__inner,
  .header__inner,
  .about__grid,
  .promo__row,
  .why__grid,
  .contact__layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .qualities__content {
    padding-right: 0;
  }

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

  .header__inner {
    grid-template-columns: 160px 1fr auto;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    padding: 120px 24px 24px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .header__nav.open {
    transform: translateX(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .header__burger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .services__grid,
  .projects__grid,
  .projects__features,
  .news__grid,
  .team-block__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .qualities,
  .care-tips,
  .service-area,
  .section-padding {
    padding: 80px 0;
  }

  .intro__grid,
  .qualities__layout,
  .service-area__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro__head {
    position: static;
  }

  .qualities__media {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .qualities__media::before {
    top: -14px;
    left: -14px;
    width: 45%;
    height: 40%;
  }

  .care-tips__grid {
    grid-template-columns: 1fr;
  }

  .service-area__media {
    order: 1;
    min-height: 0;
  }

  .service-area__content {
    order: 2;
    padding-right: 0;
  }

  .service-area__media::before {
    top: -14px;
    right: -14px;
    width: 45%;
    height: 55%;
  }

  .news__intro {
    margin-bottom: 44px;
  }

  .news__lead {
    font-size: 17px;
  }

  .about__content,
  .why__content {
    padding-left: 0;
  }

  .why__media {
    max-width: 700px;
    margin: 0 auto;
    height: auto;
    max-height: none;
  }

  .why__image-wrap {
    aspect-ratio: 16 / 11;
    width: 100%;
  }

  .why__image {
    height: 100%;
    max-height: none;
  }

  .why__content {
    margin-top: 50px;
  }

  .why__badge {
    left: 20px;
  }

  .why__media::after {
    right: 0;
  }

  .about__media {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
  }

  .about__frame {
    left: 100px;
  }

  .hero__title {
    font-size: clamp(40px, 6vw, 64px);
  }

  .hero__content {
    max-width: 680px;
    padding-top: 142px;
    padding-bottom: 108px;
  }

  .contact {
    padding-top: 128px;
  }

  .contact__header {
    margin-bottom: 40px;
  }

  .contact__media {
    min-height: 460px;
  }

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

  .contact__panel {
    margin-left: 0;
    padding: 40px 34px 42px;
  }

  .contact__panel::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .topbar__inner {
    gap: 10px;
  }

  .topbar__left {
    display: none;
  }

  .topbar__inner {
    grid-template-columns: 1fr auto;
  }

  .topbar__center {
    justify-self: start;
  }

  .header::before {
    left: -20px;
    height: 80px;
  }

  .header__inner {
    min-height: 80px;
  }

  .header__logo img {
    height: 40px;
  }

  .footer__logo img {
    height: 52px;
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    min-height: 620px;
    padding-block: 0;
  }

  .hero__sub {
    margin-bottom: 18px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero__title {
    font-size: 40px;
    line-height: 1.02;
  }

  .hero__title-name {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .hero__title-main {
    max-width: 9ch;
  }

  .hero__desc {
    font-size: 18px;
    line-height: 1.7;
  }

  .hero__services {
    gap: 10px;
    margin-bottom: 30px;
  }

  .hero__services li {
    width: 100%;
    justify-content: flex-start;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .about,
  .projects,
  .why,
  .news,
  .contact {
    padding: 90px 0;
  }

  .intro,
  .qualities,
  .care-tips,
  .service-area,
  .section-padding {
    padding: 64px 0;
  }

  .intro__body p.intro__lead {
    font-size: 18px;
  }

  .qualities__media::before,
  .service-area__media::before {
    display: none;
  }

  .care-tips__col {
    padding: 32px 24px 28px;
  }

  .care-tips__num {
    margin-bottom: 14px;
    font-size: 40px;
  }

  .service-area__cities {
    grid-template-columns: 1fr;
  }

  .page-cta {
    padding: 72px 0;
  }

  .page-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-cta__text {
    font-size: 16px;
  }

  .page-cta__actions {
    justify-content: flex-start;
  }

  .page-cta__actions .btn {
    width: 100%;
  }

  .services {
    padding-top: 90px;
    padding-bottom: 200px;
  }

  .team-block {
    padding-top: 180px;
    padding-bottom: 80px;
  }

  .testimonials {
    padding: 80px 0 160px;
  }

  .news__lead {
    font-size: 16px;
  }

  .news-card__image {
    height: 220px;
  }

  .news-card__body {
    padding: 24px 22px 26px;
  }

  .about__media,
  .why__media {
    min-height: auto;
    padding: 0;
  }

  .about__media {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    max-height: none;
  }

  .about__shape,
  .about__image {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
  }

  .about__image {
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .why__media {
    min-height: auto;
  }

  .why__image-wrap {
    aspect-ratio: 4 / 3;
  }

  .why__image {
    height: 100%;
  }

  .why__media::after {
    display: none;
  }

  .why__media::before {
    left: -14px;
    top: -14px;
    width: 100px;
    height: 100px;
  }

  .why__badge {
    position: static;
    margin-top: 20px;
    width: 100%;
    justify-content: flex-start;
  }

  .why__content {
    padding-left: 0;
    margin-top: 40px;
  }

  .why__lead {
    margin-top: 0;
  }

  .why-item {
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 20px 22px;
  }

  .why-item__icon {
    width: 56px;
    height: 56px;
  }

  .why__stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 22px;
  }

  .why-stat + .why-stat::before {
    display: none;
  }

  .about__shape,
  .about__frame {
    display: none;
  }

  .why__badge {
    margin-top: 20px;
  }

  .about__badge {
    position: static;
    width: 100%;
    padding: 28px 24px;
  }

  .about__actions {
    align-items: stretch;
  }

  .about__actions .btn,
  .about__stats,
  .stat-card {
    width: 100%;
  }

  .contact {
    margin-top: -82px;
    padding-top: 120px;
  }

  .contact__header {
    margin-bottom: 32px;
  }

  .contact__title {
    font-size: 36px;
  }

  .contact__lead {
    font-size: 16px;
  }

  .contact-form-copy h2 {
    font-size: 34px;
  }

  .contact__media {
    min-height: 320px;
  }

  .contact__badge {
    left: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
    padding: 18px 18px 20px;
  }

  .contact__badge strong {
    font-size: 18px;
  }

  .contact__panel {
    padding: 30px 22px 30px;
  }

  .contact__panel h3 {
    font-size: 34px;
  }

  .contact__divider {
    margin: 24px 0 22px;
  }

  .contact__detail {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact__detail dd,
  .contact__detail a {
    font-size: 19px;
  }

  .contact__cta {
    width: 100%;
    min-height: 54px;
    margin-top: 28px;
    padding: 14px 22px;
  }

  .contact__cta span {
    font-size: 15px;
  }

  .contact-form-section {
    padding-bottom: 90px;
  }

  .contact-map-section {
    height: 360px;
  }

  .services__grid,
  .projects__grid,
  .projects__features,
  .news__grid,
  .team-block__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .team-card__image {
    height: 300px;
  }

  .feature-card__media {
    height: 200px;
  }

  .service-box__thumb {
    height: 210px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    text-align: center;
  }
}

.page-header {
  position: relative;
  padding: 140px 0 120px;
  background:
    linear-gradient(180deg, rgba(10, 15, 20, 0.8), rgba(10, 15, 20, 0.6)),
    url("https://images.unsplash.com/photo-1581094288338-2314dddb7ece?w=1600&q=80")
      center center / cover;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  margin-top: 16px;
  max-width: 900px;
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.breadcrumbs a {
  color: var(--white);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span {
  color: var(--accent);
}

.gallery-feature {
  padding: 120px 0 90px;
  background: var(--white);
}

.gallery-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.gallery-feature__content {
  padding-right: 20px;
}

.gallery-feature__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.gallery-feature__eyebrow span {
  color: var(--accent);
}

.gallery-feature__content .section-heading {
  margin-bottom: 30px;
}

.gallery-feature__content .about__lead {
  margin-bottom: 22px;
}

.gallery-feature__content p + p {
  margin-top: 20px;
}

.gallery-feature__media {
  position: relative;
  padding: 40px 0 28px 48px;
}

.gallery-feature__shape {
  display: none;
}

.gallery-feature__frame {
  position: absolute;
  top: 18px;
  left: 112px;
  right: 20px;
  z-index: 1;
  height: calc(100% - 36px);
  border: 8px solid var(--accent);
}

.gallery-feature__image {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(16, 24, 40, 0.18);
}

.gallery-banner {
  padding: 0 0 120px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf6 100%);
}

.gallery-banner__lead {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}

.gallery-banner__box {
  padding: 34px 40px;
  background: var(--dark);
  color: var(--white);
  border-left: 8px solid var(--accent);
  box-shadow: var(--shadow);
}

.gallery-banner__box p {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.gallery-grid-section {
  padding: 120px 0 160px;
  background: linear-gradient(180deg, #f8faf6 0%, #eef4ea 100%);
}

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

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111312;
  box-shadow: 0 18px 40px rgba(20, 31, 44, 0.08);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 1;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 52px rgba(20, 31, 44, 0.14);
}

.gallery-card:hover::after {
  transform: scaleX(1);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card--wide,
.gallery-card--full {
  grid-column: span 1;
}

@media (max-width: 1024px) {
  .gallery-feature {
    padding: 100px 0 80px;
  }

  .gallery-feature__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .gallery-feature__content {
    padding-right: 0;
  }

  .gallery-feature__media {
    padding-left: 24px;
  }

  .gallery-feature__frame {
    left: 84px;
  }

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

  .gallery-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .gallery-feature {
    padding: 90px 0 70px;
  }

  .gallery-feature__media {
    padding: 0;
  }

  .gallery-feature__shape,
  .gallery-feature__frame {
    display: none;
  }

  .gallery-feature__image {
    width: 100%;
  }

  .gallery-banner {
    padding-bottom: 90px;
  }

  .gallery-banner__lead {
    font-size: 16px;
  }

  .gallery-banner__box {
    padding: 28px 22px;
  }

  .gallery-banner__box p {
    font-size: 22px;
  }

  .gallery-grid-section {
    padding-bottom: 100px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-card--wide,
  .gallery-card--full {
    grid-column: auto;
  }
}

.blog-area {
  padding: 120px 0;
  background: var(--white);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: start;
}

.post-list {
  display: grid;
  gap: 50px;
}

.post-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.post-item__image {
  position: relative;
  height: 480px;
  background-size: cover;
  background-position: center;
}

.post-item__category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--white);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-item__content {
  padding: 40px;
}

.post-item__meta {
  display: flex;
  gap: 20px;
  color: #667266;
  font-size: 14px;
  margin-bottom: 15px;
}

.post-item__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-item h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.post-item p {
  color: #667266;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-header__lead {
  margin-top: 18px;
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
}

.blog-list__empty {
  background: #f8faf6;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px;
  color: #667266;
  font-size: 16px;
}

.search-empty {
  background: #f8faf6;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 60px 40px;
  text-align: center;
}

.search-empty h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.search-empty > p {
  color: #667266;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
  margin-inline: auto;
}

.search-empty__form {
  display: flex;
  max-width: 520px;
  margin: 0 auto 20px;
}

.search-empty__form input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  font-family: inherit;
  outline: none;
}

.search-empty__form button {
  padding: 0 28px;
  border: 0;
  cursor: pointer;
}

.search-empty__hint {
  color: #667266;
  font-size: 14px;
}

.search-empty__hint a {
  color: var(--accent);
  font-weight: 600;
}

.sidebar {
  display: grid;
  gap: 40px;
}

.widget {
  background: #f8faf6;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.widget h3 {
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.widget h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.widget p {
  margin-bottom: 24px;
}

.widget-search {
  display: flex;
}

.widget-search input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  font-family: inherit;
  outline: none;
}

.widget-search button {
  background: var(--accent);
  color: var(--white);
  padding: 0 20px;
  font-weight: bold;
}

.widget-cats ul {
  display: grid;
  gap: 12px;
}

.widget-cats a {
  display: flex;
  justify-content: space-between;
  color: #667266;
  font-weight: 500;
}

.widget-cats a:hover {
  color: var(--accent);
}

.widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.widget-tags a {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: #667266;
}

.widget-tags a:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.widget-news ul {
  display: grid;
  gap: 20px;
}

.widget-news li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
}

.widget-news .img {
  height: 80px;
  background-size: cover;
  background-position: center;
}

.widget-news .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.widget-news .meta {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 5px;
  text-transform: uppercase;
  font-weight: 700;
}

.widget-news h4 {
  font-size: 14px;
  line-height: 1.4;
}

.single-post .post-item {
  border: none;
  box-shadow: none;
}

.single-post .post-item__content {
  padding: 40px 0;
}

.single-post h2 {
  font-size: 42px;
  margin-bottom: 24px;
}

.post-tags-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.post-tags span,
.post-share span {
  font-weight: 700;
  margin-right: 10px;
  color: var(--dark);
}

.post-tags a {
  margin-right: 5px;
  color: #667266;
}

.post-tags a:hover {
  color: var(--accent);
}

.post-share a {
  margin-left: 10px;
  color: #667266;
}

.post-share a:hover {
  color: var(--accent);
}

.comments-area {
  margin-top: 60px;
}

.comments-area h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.comment-form {
  display: grid;
  gap: 20px;
  background: #f8faf6;
  padding: 40px;
}

.comment-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  outline: none;
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .post-item__image {
    height: 280px;
  }
  .post-item__content {
    padding: 20px;
  }
  .post-item h2 {
    font-size: 24px;
  }
  .single-post h2 {
    font-size: 28px;
  }
  .comment-form .row {
    grid-template-columns: 1fr;
  }
  .post-tags-share {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* WordPress theme additions */

/* Inline styles from galeria.html */
/* --- Submenu (desktop >1024px) --- */
.header__menu .has-submenu {
  position: relative;
}
.header__menu .submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: #111312;
  cursor: pointer;
  padding: 0;
}
.header__menu .submenu-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--transition);
}
.header__menu .has-submenu.open > .submenu-toggle::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.header__submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 260px;
  padding: 12px 0;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(18, 28, 40, 0.14);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
  z-index: 40;
}
.header__menu .has-submenu:hover > .header__submenu,
.header__menu .has-submenu:focus-within > .header__submenu,
.header__menu .has-submenu.open > .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__submenu li {
  list-style: none;
}
.header__submenu a {
  display: block;
  padding: 10px 22px;
  font-size: 15px;
  color: #111312;
  white-space: nowrap;
}
.header__submenu a:hover {
  color: var(--accent);
  background: var(--light);
}

/* --- Nav overlay backdrop --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 20, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
  z-index: 28;
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* --- Mobile menu (<=1024px) --- */
@media (max-width: 1024px) {
  .topbar {
    display: none;
  }
  .header::before {
    display: none;
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 80px;
    padding-block: 12px;
  }
  .header__logo {
    flex-shrink: 0;
  }
  .header__logo img {
    height: 44px;
  }
  .header__cta {
    display: none;
  }
  .header__burger {
    display: flex;
    position: relative;
    z-index: 35;
    margin-left: auto;
  }
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 88vw;
    padding: 96px 0 28px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    box-shadow: -18px 0 40px rgba(18, 28, 40, 0.15);
    z-index: 30;
  }
  .header__nav.open {
    transform: translateX(0);
  }
  .header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
  }
  .header__menu > li {
    list-style: none;
    border-bottom: 1px solid var(--border);
  }
  .header__menu > li:last-child {
    border-bottom: 0;
  }
  .header__menu > li > a,
  .header__menu .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 500;
    color: #111312;
  }
  .header__menu .submenu-toggle::after {
    width: 8px;
    height: 8px;
  }

  /* Submenu as accordion on mobile */
  .header__submenu {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0 0 0 16px;
    margin: 0;
    background: var(--light);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: hidden;
    transition: max-height var(--transition);
    z-index: auto;
  }
  .header__menu .has-submenu.open > .header__submenu {
    max-height: 600px;
  }
  .header__submenu a {
    padding: 12px 18px;
    font-size: 15px;
  }
  .header__submenu a:hover {
    background: transparent;
  }

  /* Mobile CTA inside drawer */
  .header__nav .nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 18px 0;
    padding: 14px 16px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
  }
  .header__nav .nav-cta svg {
    flex-shrink: 0;
  }
}
@media (min-width: 1025px) {
  .header__nav .nav-cta {
    display: none;
  }
}

/* Inline styles from home.html */
/* --- Submenu (desktop >1024px) --- */
.header__menu .has-submenu {
  position: relative;
}
.header__menu .submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: inherit;
  color: #111312;
  cursor: pointer;
  padding: 0;
}
.header__menu .submenu-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--transition);
}
.header__menu .has-submenu.open > .submenu-toggle::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.header__submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: -18px;
  min-width: 300px;
  max-height: min(70vh, 760px);
  padding: 12px 0;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(18, 28, 40, 0.14);
  list-style: none;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
  z-index: 40;
}
.header__menu .has-submenu:hover > .header__submenu,
.header__menu .has-submenu:focus-within > .header__submenu,
.header__menu .has-submenu.open > .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__submenu li {
  list-style: none;
}
.header__submenu a {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  color: #111312;
  white-space: nowrap;
}
.header__submenu a:hover {
  color: var(--accent);
  background: var(--light);
}

/* --- Nav overlay backdrop --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 20, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
  z-index: 28;
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* --- Mobile menu (<=1024px) --- */
@media (max-width: 1024px) {
  .topbar {
    display: none;
  }
  .header::before {
    display: none;
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 80px;
    padding-block: 12px;
  }
  .header__logo {
    flex-shrink: 0;
  }
  .header__logo img {
    height: 44px;
  }
  .header__cta {
    display: none;
  }
  .header__burger {
    display: flex;
    position: relative;
    z-index: 35;
    margin-left: auto;
  }
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 88vw;
    padding: 96px 0 32px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    box-shadow: -18px 0 40px rgba(18, 28, 40, 0.15);
    z-index: 30;
  }
  .header__nav.open {
    transform: translateX(0);
  }
  .header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 12px;
  }
  .header__menu > li {
    list-style: none;
    border-bottom: 1px solid var(--border);
  }
  .header__menu > li:last-child {
    border-bottom: 0;
  }
  .header__menu > li > a,
  .header__menu .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #111312;
  }
  .header__menu .submenu-toggle::after {
    width: 8px;
    height: 8px;
  }

  /* Submenu as accordion on mobile */
  .header__submenu {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0 0 0 16px;
    margin: 0;
    background: var(--light);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: hidden;
    transition: max-height var(--transition);
    z-index: auto;
  }
  .header__menu .has-submenu.open > .header__submenu {
    max-height: 1200px;
  }
  .header__submenu a {
    padding: 12px 20px;
    font-size: 16px;
  }
  .header__submenu a:hover {
    background: transparent;
  }

  /* Mobile CTA inside drawer */
  .header__nav .nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 20px 0;
    padding: 16px 16px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
  }
  .header__nav .nav-cta svg {
    flex-shrink: 0;
  }
}
@media (min-width: 1025px) {
  .header__nav .nav-cta {
    display: none;
  }
}

/* --- Intro (Opróżnianie i wywóz szamba) section --- */
.intro {
  padding: 112px 0;
  background: var(--white);
}
.intro__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.intro__head {
  position: sticky;
  top: 120px;
}
.intro__head .section-heading__sub {
  margin-bottom: 20px;
}
.intro__head h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
}
.intro__head::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin-top: 24px;
}
.intro__body p {
  margin-bottom: 20px;
  font-size: 16px;
}
.intro__body p:last-child {
  margin-bottom: 0;
}
.intro__body p.intro__lead {
  font-weight: 700;
  font-size: 20px;
  color: #111312;
}
@media (max-width: 900px) {
  .intro {
    padding: 80px 0;
  }
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intro__head {
    position: static;
  }
}
@media (max-width: 600px) {
  .intro {
    padding: 64px 0;
  }
  .intro__body p.intro__lead {
    font-size: 18px;
  }
}

/* --- Qualities (Wybieranie nieczystości...) section --- */
.qualities {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}
.qualities__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.qualities__content .section-heading {
  margin-bottom: 32px;
}
.qualities__items {
  display: grid;
  gap: 24px;
}
.qualities__item p {
  margin: 0;
}
.qualities__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 620px;
}
.qualities__media::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 62%;
  height: 50%;
  background: var(--primary);
  z-index: 0;
}
.qualities__image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(16, 24, 40, 0.18);
}
.qualities__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .qualities {
    padding: 80px 0;
  }
  .qualities__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .qualities__media {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .qualities__media::before {
    top: -14px;
    left: -14px;
    width: 45%;
    height: 40%;
  }
}
@media (max-width: 600px) {
  .qualities {
    padding: 64px 0;
  }
  .qualities__media::before {
    display: none;
  }
}

/* --- Care tips section --- */
.care-tips {
  padding: 112px 0;
  background: var(--light);
}
.care-tips .section-heading {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.care-tips__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.care-tips__col {
  position: relative;
  padding: 40px 36px 32px;
  background: var(--white);
  border-bottom: 6px solid var(--accent);
  box-shadow: 0 18px 40px rgba(18, 28, 40, 0.08);
}
.care-tips__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 20px;
}
.care-tips__col p {
  margin: 0;
}
@media (max-width: 900px) {
  .care-tips {
    padding: 80px 0;
  }
  .care-tips__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .care-tips {
    padding: 64px 0;
  }
  .care-tips__col {
    padding: 32px 24px 28px;
  }
  .care-tips__num {
    font-size: 40px;
    margin-bottom: 14px;
  }
}

/* --- Service area section --- */
.service-area {
  padding: 128px 0 120px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.service-area__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.service-area__content {
  order: 1;
}
.service-area__media {
  order: 2;
  position: relative;
  min-height: 480px;
}
.service-area__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(16, 24, 40, 0.18);
}
.service-area__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-area__media::before {
  content: "";
  position: absolute;
  top: -22px;
  right: -22px;
  width: 62%;
  height: 70%;
  background: var(--primary);
  z-index: 0;
}
.service-area__image-wrap {
  position: relative;
  z-index: 1;
}
.service-area__cities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin: 24px 0 32px;
  padding: 0;
}
.service-area__cities li {
  position: relative;
  padding-left: 24px;
  color: var(--primary);
  font-weight: 700;
}
.service-area__cities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 14px;
  border: 2px solid var(--accent);
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .service-area {
    padding: 80px 0;
  }
  .service-area__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-area__media {
    order: 1;
    min-height: 0;
  }
  .service-area__content {
    order: 2;
  }
  .service-area__cities {
    grid-template-columns: 1fr 1fr;
  }
  .service-area__media::before {
    top: -14px;
    right: -14px;
    width: 45%;
    height: 55%;
  }
}
@media (max-width: 600px) {
  .service-area {
    padding: 64px 0;
  }
  .service-area__media::before {
    display: none;
  }
  .service-area__cities {
    grid-template-columns: 1fr;
  }
}

/* Inline styles from polityka-cookies.html */
.legal-page {
  padding: 32px 0 96px;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px);
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(19, 33, 21, 0.08);
}

.legal-card > :first-child {
  margin-top: 0;
}

.legal-card h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-card p,
.legal-card li {
  line-height: 1.75;
}

.legal-card ul {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.legal-card li + li {
  margin-top: 0.35rem;
}

.legal-card a {
  word-break: break-word;
}

/* Inline styles from polityka-prywatnosci.html */
.legal-page {
  padding: 32px 0 96px;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px);
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(19, 33, 21, 0.08);
}

.legal-card > :first-child {
  margin-top: 0;
}

.legal-card h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-card p,
.legal-card li {
  line-height: 1.75;
}

.legal-card ul {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.legal-card li + li {
  margin-top: 0.35rem;
}

.legal-card .legal-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

/* Inline styles from tabela-cookies.html */
.legal-page {
  padding: 32px 0 96px;
}

.legal-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px);
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(19, 33, 21, 0.08);
}

.legal-card > :first-child {
  margin-top: 0;
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #d8dfd2;
  line-height: 1.65;
}

.legal-table th {
  background: #f3f6ee;
  font-weight: 700;
}

html {
  scroll-padding-top: 112px;
}

body.admin-bar .header {
  top: 32px;
}

.site-main {
  min-height: 60vh;
}

[id] {
  scroll-margin-top: 112px;
}

.btn-primary,
.btn--primary {
  color: var(--white);
  background: var(--accent);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.btn-outline,
.btn--outline {
  color: var(--accent);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.wp-caption,
.wp-caption-text,
.gallery-caption,
.bypostauthor {
  max-width: 100%;
}

.alignwide {
  width: min(100%, var(--container));
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100%;
}

.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;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  [id] {
    scroll-margin-top: 88px;
  }
}

/* Extra styles for plugins */
.fluentform input,
.fluentform textarea {
  border-radius: 0 !important;
}
.fluentform button[type="submit"] {
  border-radius: 0 !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  font-family: var(--font-display) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  padding: 16px 48px !important;
  border: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}
