:root {
  --navy: #00152a;
  --navy-2: #002b55;
  --navy-3: #06335f;
  --green: #80b72d;
  --green-2: #91c93e;
  --text: #061f3e;
  --muted: #526173;
  --line: #e5ebf2;
  --white: #ffffff;
  --pearl: #f5f1e8;
  --ice: #f4f8fc;
  --shadow: 0 18px 42px rgba(0, 21, 42, 0.16);
  --shadow-soft: 0 10px 28px rgba(0, 21, 42, 0.1);
  --container: 1280px;
  --header-h: 86px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background: #fff;
  font-family: "Poppins", sans-serif;
  text-rendering: geometricPrecision;
}

body.modal-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 21, 42, 0.92), rgba(0, 43, 85, 0.82)),
    rgba(0, 21, 42, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  transition:
    height 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease;
}

.site-header.is-scrolled,
.site-header.solid {
  height: 72px;
  background: rgba(0, 31, 61, 0.74);
  border-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px) saturate(1.25);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  width: 218px;
  min-width: 188px;
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.brand img {
  width: auto;
  height: 100px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.site-header.is-scrolled .brand,
.site-header.solid .brand {
  transform: scale(0.84);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  isolation: isolate;
  padding: 11px 2px;
  opacity: 0.98;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-link::before,
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.nav-link::before {
  z-index: -1;
  top: 50%;
  width: 0;
  height: 32px;
  background: rgba(145, 201, 62, 0.13);
  transform: translate(-50%, -50%);
  transition: width 0.28s ease;
}

.nav-link::after {
  bottom: 3px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-2), transparent);
  box-shadow: 0 0 16px rgba(145, 201, 62, 0.55);
  transition: width 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-2);
  transform: translateY(-1px);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: calc(100% + 24px);
}

.nav-link.active::after {
  width: calc(100% + 14px);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #91c93e, #77aa28);
  font-size: 15px;
  font-weight: 800;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-phone svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-phone:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #fff;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

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

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--navy);
}

.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  z-index: -2;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  animation: heroBreath 16s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(
      circle at 18% 38%,
      rgba(145, 201, 62, 0.24),
      transparent 24%
    ),
    linear-gradient(
      90deg,
      rgba(0, 14, 29, 0.8) 0%,
      rgba(0, 21, 42, 0.55) 36%,
      rgba(0, 21, 42, 0.14) 68%,
      rgba(0, 21, 42, 0) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 90px 0 150px;
}

.hero-copy {
  width: min(620px, 100%);
  max-width: 100%;
  margin-top: 36px;
  text-align: left;
}

.hero h1 {
  max-width: 585px;
  color: #fff;
  font-size: clamp(34px, 5.1vw, 60px);
  line-height: 1.04;
  letter-spacing: -1.6px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
}

.hero h1 span,
.hero-type span span {
  color: var(--green-2);
}

.hero-type {
  min-height: 42px;
  margin: 20px 0 30px;
  color: #ffffff;
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}

.type-caret {
  display: inline-block;
  width: 3px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -0.16em;
  border-radius: 99px;
  background: var(--green-2);
  animation: caretBlink 0.78s steps(2, start) infinite;
}

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

.primary-btn,
.ghost-btn,
.modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(180deg, #91c93e, #76aa27);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.ghost-btn {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.86);
  background: rgba(0, 21, 42, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.primary-btn svg,
.ghost-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
}

.primary-btn:hover,
.ghost-btn:hover,
.modal-cta:hover {
  transform: translateY(-3px);
}

.primary-btn:hover,
.modal-cta:hover {
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--green-2);
}

.hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(86px, 10vw, 126px);
  z-index: 4;
  pointer-events: none;
}

.wave-blue {
  fill: #00182f;
}

.wave-green {
  fill: none;
  stroke: #8ac735;
  stroke-width: 4;
  stroke-dasharray: 15 18;
  animation: waveDash 12s linear infinite;
}

.wave-white {
  fill: #ffffff;
}

.trust-bar {
  position: relative;
  z-index: 5;
  padding: 28px 0 70px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.trust-marquee {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.trust-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 18px;
  animation: trustSlide 26s linear infinite;
}

.trust-track:hover {
  animation-play-state: paused;
}

.trust-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: max-content;
  padding: 14px 28px;
  white-space: nowrap;
  color: var(--navy-2);
  background: #fff;
  border: 1px solid #dfe8d8;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 43, 85, 0.08);
}

.trust-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 5px rgba(145, 201, 62, 0.15);
}

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

.section-heading h2 {
  color: var(--text);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.9px;
}

.decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.decor span {
  width: 62px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--green));
}

.decor span:last-child {
  background: linear-gradient(90deg, var(--green), transparent);
}

.services {
  padding: 92px 0 110px;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(145, 201, 62, 0.12),
      transparent 26%
    ),
    linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 405px;
  border: 1px solid #e2e7ed;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  text-align: center;
  box-shadow: 0 16px 28px rgba(0, 21, 42, 0.1);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--green-2), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -90%;
  width: 58%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.58),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.service-card figure {
  height: 225px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}

.service-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.58s ease,
    filter 0.58s ease;
}

.service-icon {
  display: none;
}

.service-card h3 {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  margin: 20px 0 8px;
  color: var(--text);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.18;
  font-weight: 800;
}

.service-card > p {
  display: none;
}

.service-more {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 24px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(128, 183, 45, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-more span {
  transition: transform 0.25s ease;
}

.service-details {
  display: none;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(128, 183, 45, 0.48);
  box-shadow: 0 24px 42px rgba(0, 21, 42, 0.18);
}

.service-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-card:hover::after {
  left: 130%;
}

.service-card:hover figure img {
  transform: scale(1.09);
  filter: saturate(1.08) contrast(1.05);
}

.service-card:hover .service-more {
  transform: translateY(-2px);
  box-shadow: 0 15px 24px rgba(128, 183, 45, 0.36);
}

.service-card:hover .service-more span {
  transform: translateX(4px);
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.service-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 12, 25, 0.66);
  backdrop-filter: blur(14px);
}

.service-modal__dialog {
  position: relative;
  width: min(940px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(300px, 1.08fr);
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(22px) scale(0.96);
  transition: transform 0.34s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.service-modal.is-open .service-modal__dialog {
  transform: translateY(0) scale(1);
}

.service-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 21, 42, 0.62);
  backdrop-filter: blur(8px);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.service-modal__close:hover {
  transform: rotate(90deg) scale(1.05);
  background: var(--green);
}

.service-modal__close svg {
  width: 20px;
  height: 20px;
}

.service-modal__image {
  min-height: 100%;
  background: var(--navy);
}

.service-modal__image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.service-modal__content {
  overflow-y: auto;
  padding: clamp(28px, 4vw, 46px);
}

.modal-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #6ca300;
  background: #eef8df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-modal h3 {
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.modal-details p {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  color: #263545;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.modal-details ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.modal-details li {
  position: relative;
  padding: 11px 13px 11px 38px;
  border-radius: 14px;
  color: #2c3e50;
  background: #f6f9fc;
  font-size: 14px;
  font-weight: 600;
}

.modal-details li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}

.modal-details strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #6ca300;
  background: #eef8df;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(128, 183, 45, 0.25);
}

.modal-cta {
  width: max-content;
  margin-top: 24px;
  color: #fff;
  background: linear-gradient(180deg, #082c54, #001b35);
  box-shadow: 0 12px 22px rgba(0, 21, 42, 0.2);
}

.equipment-banner {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
}

.equipment-banner img {
  width: 100%;
  height: clamp(300px, 34vw, 470px);
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.gallery {
  padding: 96px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(145, 201, 62, 0.18),
      transparent 24%
    ),
    linear-gradient(180deg, #f7f1e6 0%, #e9dfce 100%);
}

.gallery-container {
  width: min(1440px, calc(100% - 24px));
}

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

.compare-wrap {
  position: relative;
  padding-inline: clamp(24px, 4vw, 56px);
}

.compare-wrap::before,
.compare-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: clamp(52px, 10vw, 150px);
  pointer-events: none;
  opacity: 0.88;
}

.compare-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #efe5d5 0%, rgba(239, 229, 213, 0) 100%);
}

.compare-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #efe5d5 0%, rgba(239, 229, 213, 0) 100%);
}

.compare-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding: 10px 2px 18px;
}

.compare-track::-webkit-scrollbar {
  display: none;
}

.comparison-card {
  flex: 0 0 clamp(320px, 31vw, 440px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(0, 21, 42, 0.18);
  background: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.half {
  position: relative;
  overflow: hidden;
}

.half + .half {
  border-left: 3px solid #fff;
}

.half img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition:
    transform 0.65s ease,
    filter 0.65s ease;
}

.half span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-width: 84px;
  padding: 9px 12px 8px;
  color: #fff;
  background: rgba(0, 43, 85, 0.88);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.08em;
  transition:
    min-width 0.28s ease,
    background 0.28s ease;
}

.half span.after {
  background: rgba(128, 183, 45, 0.92);
}

.comparison-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 42px rgba(0, 21, 42, 0.22);
}

.comparison-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.comparison-card:hover span {
  min-width: 102px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--navy-2);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(0, 21, 42, 0.18);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

.gallery-arrow.left {
  left: 6px;
}

.gallery-arrow.right {
  right: 6px;
}

.gallery-arrow:hover {
  color: #fff;
  background: var(--green);
  transform: translateY(-50%) scale(1.08);
}

.contact-section {
  padding: 108px 0;
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(145, 201, 62, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #f6f3ee 100%);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(260px, 0.82fr) minmax(
      420px,
      1.35fr
    );
  gap: 24px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(0, 43, 85, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 70px rgba(0, 21, 42, 0.1);
  backdrop-filter: blur(8px);
}

.whatsapp-card {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(145, 201, 62, 0.28),
      transparent 30%
    ),
    linear-gradient(135deg, #002b55, #00182f);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-card::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 52%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.17),
    transparent
  );
  transform: skewX(-18deg);
  animation: cardShine 5.8s ease-in-out infinite;
}

.whatsapp-card h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.whatsapp-qr {
  position: relative;
  z-index: 1;
}

.whatsapp-qr img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #fff;
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.whatsapp-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--green-2);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.whatsapp-number svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
}

.whatsapp-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 42px rgba(0, 21, 42, 0.22);
}

.promise-card {
  position: relative;
  min-height: 285px;
  display: flex;
  align-items: center;
  padding: 26px 108px 26px 24px;
  border: 1px solid #e7edf4;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.promise-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green-2), var(--navy-2));
}

.promise-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.promise-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4d5966;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.promise-card li span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 11px;
  font-weight: 900;
  margin-top: 1px;
}

.badge {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(
    circle,
    #0c3767 0 52%,
    #082343 53% 61%,
    #f5bc3c 62% 66%,
    #0a2e58 67% 100%
  );
  box-shadow: 0 10px 20px rgba(0, 21, 42, 0.26);
  transform: translateY(-50%);
  text-align: center;
  animation: badgePulse 3.8s ease-in-out infinite;
}

.badge::before,
.badge::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.8);
}

.badge i {
  position: relative;
  z-index: 1;
  color: #f5bc3c;
  font-style: normal;
  font-size: 8px;
  letter-spacing: 1px;
}

.badge b {
  position: relative;
  z-index: 1;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
}

.badge small {
  position: relative;
  z-index: 1;
  font-size: 6.6px;
  line-height: 1.05;
  font-weight: 900;
}

.offer-form {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid #e7edf4;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.offer-form:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 21, 42, 0.16);
}

.offer-form h3 {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(90deg, #8cc739, #79ad29);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-form h3::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 28%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    transparent
  );
  animation: titleShine 4.4s ease-in-out infinite;
}

.form-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
}

.offer-form input,
.offer-form select,
.file-field {
  min-height: 44px;
  width: 100%;
  border: 1px solid #e3e8ee;
  border-radius: 13px;
  background: #fff;
  color: #596879;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.offer-form input,
.offer-form select {
  padding: 0 14px;
}

.offer-form input:hover,
.offer-form select:hover,
.file-field:hover {
  transform: translateY(-1px);
  background: #fbfdff;
}

.offer-form input:focus,
.offer-form select:focus,
.file-field:focus-within,
.offer-form input.is-filled,
.offer-form select.is-filled {
  border-color: rgba(128, 183, 45, 0.68);
  box-shadow: 0 0 0 4px rgba(128, 183, 45, 0.13);
}

.file-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  cursor: pointer;
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-field svg {
  width: 17px;
  height: 17px;
  color: #7b8794;
  flex: 0 0 17px;
}

.offer-form button {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(180deg, #082c54, #001b35);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.offer-form button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 34%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.26),
    transparent
  );
  transition: left 0.5s ease;
}

.offer-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 21, 42, 0.24);
}

.offer-form button:hover::before {
  left: 120%;
}

.footer {
  position: relative;
  color: #fff;
  background: #001d39;
  background-image:
    radial-gradient(
      circle at 88% 0%,
      rgba(145, 201, 62, 0.13),
      transparent 24%
    ),
    linear-gradient(180deg, #00284e 0%, #001a33 100%);
}

.footer-content {
  min-height: 152px;
  display: grid;
  grid-template-columns: 1.25fr 1.3fr 0.72fr 0.82fr 1.05fr;
  gap: 30px;
  align-items: center;
  padding: 34px 0 24px;
}

.footer-brand img {
  width: 190px;
  height: 86px;
  object-fit: contain;
  object-position: left center;
}

.footer-col h4,
.footer-social h4 {
  margin-bottom: 11px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-col p,
.footer-col a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.footer-col svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--green);
  fill: currentColor;
  stroke: currentColor;
}

.footer-col a:hover {
  color: var(--green-2);
}

.footer-social {
  min-height: 72px;
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.social-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.social-row a:first-child {
  background: var(--green);
}

.social-row svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
}

.social-row a:hover {
  transform: translateY(-4px) rotate(-3deg);
  background: var(--green);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.copy {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 1200;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  box-shadow: 0 16px 34px rgba(0, 21, 42, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.84);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top svg {
  width: 25px;
  height: 25px;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 40px rgba(0, 21, 42, 0.32);
}

[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.82s ease var(--delay, 0s),
    transform 0.82s cubic-bezier(0.2, 0.72, 0.22, 1) var(--delay, 0s),
    filter 0.82s ease var(--delay, 0s);
  will-change: opacity, transform;
}

[data-reveal="up"] {
  transform: translateY(38px);
}

[data-reveal="left"] {
  transform: translateX(-46px);
}

[data-reveal="right"] {
  transform: translateX(46px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
  filter: none;
}

@keyframes heroBreath {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.075);
  }
}

@keyframes caretBlink {
  0%,
  44% {
    opacity: 1;
  }
  45%,
  100% {
    opacity: 0;
  }
}

@keyframes waveDash {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes trustSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes cardShine {
  0%,
  55% {
    left: -70%;
  }
  100% {
    left: 140%;
  }
}

@keyframes badgePulse {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.045);
  }
}

@keyframes titleShine {
  0%,
  50% {
    left: -30%;
  }
  100% {
    left: 120%;
  }
}

@media (max-width: 1240px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .offer-form {
    grid-column: 1 / -1;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr 0.8fr;
  }

  .footer-social {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-h: 76px;
  }

  .container,
  .copy {
    width: min(100% - 36px, var(--container));
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.solid {
    height: var(--header-h);
  }

  .brand {
    width: 176px;
    min-width: 150px;
  }

  .brand img {
    height: 72px;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(0, 31, 61, 0.98);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.3);
    transform: translateY(-14px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .nav-link::before,
  .nav-link::after {
    display: none;
  }

  .nav-link.active,
  .nav-link:hover {
    color: #fff;
    background: rgba(128, 183, 45, 0.18);
    transform: none;
  }

  .nav-phone {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content {
    padding-top: 74px;
  }

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

  .service-card figure {
    height: 240px;
  }

  .service-modal__dialog {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .service-modal__image img {
    min-height: 260px;
    max-height: 310px;
  }

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

  .promise-card,
  .whatsapp-card {
    min-height: 230px;
  }
}

@media (max-width: 720px) {
  .container,
  .copy,
  .gallery-container {
    width: calc(100% - 28px);
  }

  .site-header {
    background: rgba(0, 31, 61, 0.86);
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    min-height: calc(720px - var(--header-h));
    align-items: center;
    padding: 70px 0 130px;
  }

  .hero-copy {
    width: 100%;
    margin-top: 0;
  }

  .hero h1 {
    max-width: 92%;
    font-size: clamp(34px, 10vw, 50px);
  }

  .hero-type {
    max-width: 92%;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .trust-bar {
    padding-bottom: 56px;
  }

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

  .service-card {
    max-width: 420px;
    margin-inline: auto;
  }

  .compare-wrap {
    padding-inline: 18px;
  }

  .comparison-card {
    flex-basis: min(82vw, 360px);
  }

  .gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 32px;
  }

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

  .promise-card {
    display: grid;
    gap: 20px;
    padding: 28px;
  }

  .badge {
    position: relative;
    right: auto;
    top: 50%;
    transform: none;
    justify-self: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-brand img {
    height: 74px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 460px) {
  .brand img {
    height: 64px;
  }

  .brand {
    min-width: 132px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-type {
    max-width: 100%;
  }

  .trust-track {
    animation-duration: 22s;
  }

  .trust-item {
    padding: 12px 20px;
    font-size: 13px;
  }

  .services,
  .gallery,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .contact-shell {
    padding: 14px;
    border-radius: 24px;
  }

  .whatsapp-card,
  .promise-card,
  .offer-form {
    border-radius: 20px;
  }

  .service-modal {
    padding: 14px;
  }

  .service-modal__dialog {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final interaction polish: exact anchor offset, auto services carousel, scrollable modal */
html {
  scroll-padding-top: calc(var(--header-h) - 2px);
}

[id] {
  scroll-margin-top: calc(var(--header-h) - 2px);
}

.services .container {
  overflow: hidden;
}

.service-grid {
  display: flex;
  grid-template-columns: none;
  justify-content: flex-start;
  align-items: stretch;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding: 12px 4px 42px;
  margin-inline: -4px;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.service-grid::-webkit-scrollbar {
  display: none;
}

.service-grid .service-card {
  flex: 0 0 calc((100% - 84px) / 4);
  width: auto;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  scroll-snap-align: start;
}

.service-grid .service-card[aria-hidden="true"] {
  pointer-events: auto;
}

.service-modal__dialog {
  height: min(760px, calc(100dvh - 48px));
  max-height: calc(100dvh - 48px);
}

.service-modal__image,
.service-modal__content {
  min-height: 0;
}

.service-modal__image img {
  min-height: 0;
}

.service-modal__content {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-bottom: clamp(36px, 5vw, 60px);
}

.service-modal__content::-webkit-scrollbar {
  width: 9px;
}

.service-modal__content::-webkit-scrollbar-track {
  background: #edf3f8;
  border-radius: 999px;
}

.service-modal__content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-2), var(--green));
  border-radius: 999px;
}

.footer .footer-col a[href^="#"] {
  position: relative;
  width: max-content;
}

.footer .footer-col a[href^="#"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: var(--green-2);
  transition: right 0.25s ease;
}

.footer .footer-col a[href^="#"]:hover::after {
  right: 0;
}

@media (max-width: 1100px) {
  .service-grid .service-card {
    flex-basis: calc((100% - 56px) / 3);
  }
}

@media (max-width: 1040px) {
  .service-modal__dialog {
    height: min(820px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 0.42fr) minmax(0, 1fr);
  }

  .service-modal__image img {
    height: 100%;
    max-height: none;
  }
}

@media (max-width: 820px) {
  .service-grid .service-card {
    flex-basis: calc((100% - 28px) / 2);
  }
}

@media (max-width: 720px) {
  .service-grid {
    gap: 20px;
    padding-bottom: 36px;
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 7%,
      #000 93%,
      transparent 100%
    );
  }

  .service-grid .service-card {
    flex-basis: min(88vw, 390px);
  }

  .service-modal__dialog {
    height: calc(100dvh - 28px);
    max-height: calc(100dvh - 28px);
    grid-template-rows: minmax(180px, 0.34fr) minmax(0, 1fr);
  }

  .service-modal__content {
    padding: 24px 22px 34px;
  }
}

/* Final fixes v3: full services grid, auto-only before/after carousel, stronger scroll modal */
html {
  scroll-padding-top: calc(var(--header-h) + 8px);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.services .container {
  overflow: visible;
}

.service-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
  justify-content: initial !important;
  overflow: visible !important;
  padding: 0 !important;
  margin-inline: 0 !important;
  mask-image: none !important;
  scrollbar-width: auto !important;
}

.service-grid .service-card,
.service-card {
  flex: initial !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
}

.service-grid .service-card[aria-hidden="true"] {
  display: none !important;
}

.service-modal {
  padding: clamp(14px, 3vw, 28px);
}

.service-modal__dialog {
  height: min(760px, calc(100dvh - 48px)) !important;
  max-height: calc(100dvh - 48px) !important;
  overflow: hidden !important;
}

.service-modal__image,
.service-modal__content {
  min-height: 0 !important;
}

.service-modal__image img {
  min-height: 0 !important;
}

.service-modal__content {
  max-height: 100% !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
  padding-bottom: clamp(40px, 6vw, 72px) !important;
}

.service-modal__content::-webkit-scrollbar {
  width: 9px;
}

.service-modal__content::-webkit-scrollbar-track {
  background: #edf3f8;
  border-radius: 999px;
}

.service-modal__content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-2), var(--green));
  border-radius: 999px;
}

.gallery-arrow {
  display: none !important;
}

.compare-wrap {
  padding-inline: clamp(10px, 2vw, 26px) !important;
}

.compare-track {
  display: flex !important;
  gap: 20px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: auto !important;
  scrollbar-width: none !important;
  overscroll-behavior-inline: contain !important;
  padding: 12px 0 20px !important;
}

.compare-track::-webkit-scrollbar {
  display: none !important;
}

.comparison-card {
  flex: 0 0 calc((100% - 60px) / 4) !important;
  min-width: 0 !important;
  min-height: 205px !important;
}

.half img {
  min-height: 205px !important;
}

.compare-wrap::before,
.compare-wrap::after {
  opacity: 0.92 !important;
}

@media (max-width: 1240px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .comparison-card {
    flex-basis: calc((100% - 40px) / 3) !important;
  }
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .service-modal__dialog {
    height: min(820px, calc(100dvh - 32px)) !important;
    max-height: calc(100dvh - 32px) !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(220px, 0.42fr) minmax(0, 1fr) !important;
  }

  .service-modal__image img {
    height: 100% !important;
    max-height: none !important;
  }
}

@media (max-width: 820px) {
  .comparison-card {
    flex-basis: calc((100% - 20px) / 2) !important;
  }
}

@media (max-width: 720px) {
  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .service-grid .service-card,
  .service-card {
    width: min(100%, 420px) !important;
    margin-inline: auto !important;
  }

  .service-modal {
    padding: 14px !important;
  }

  .service-modal__dialog {
    height: calc(100dvh - 28px) !important;
    max-height: calc(100dvh - 28px) !important;
    grid-template-rows: minmax(180px, 0.34fr) minmax(0, 1fr) !important;
  }

  .service-modal__content {
    padding: 24px 22px 38px !important;
  }
}

@media (max-width: 560px) {
  .compare-wrap {
    padding-inline: 18px !important;
  }

  .comparison-card {
    flex-basis: min(82vw, 360px) !important;
  }
}

/* Final safe additions: SEO form feedback, footer social colors, laptop viewport polish */
.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    padding 0.25s ease,
    min-height 0.25s ease;
}

.form-status.is-visible {
  min-height: 44px;
  padding: 12px 14px;
  opacity: 1;
  transform: translateY(0);
}

.form-status.success {
  color: #376300;
  background: #eef8df;
  box-shadow: inset 0 0 0 1px rgba(128, 183, 45, 0.25);
}

.form-status.error {
  color: #8a1f1f;
  background: #fff0f0;
  box-shadow: inset 0 0 0 1px rgba(196, 44, 44, 0.18);
}

.offer-form button:disabled,
.offer-form button.is-loading {
  cursor: wait;
  opacity: 0.84;
  transform: none;
}

.footer-social .social-row a[aria-label="Instagram"] {
  background: radial-gradient(
    circle at 30% 108%,
    #fdf497 0 17%,
    #fd5949 42%,
    #d6249f 68%,
    #285aeb 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 22px rgba(214, 36, 159, 0.2);
}

.footer-social .social-row a[aria-label="Facebook"] {
  background: #1877f2;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 22px rgba(24, 119, 242, 0.22);
}

.footer-social .social-row a[aria-label="Instagram"]:hover {
  background: radial-gradient(
    circle at 30% 108%,
    #fdf497 0 17%,
    #fd5949 42%,
    #d6249f 68%,
    #285aeb 100%
  );
  box-shadow: 0 16px 28px rgba(214, 36, 159, 0.28);
}

.footer-social .social-row a[aria-label="Facebook"]:hover {
  background: #1877f2;
  box-shadow: 0 16px 28px rgba(24, 119, 242, 0.3);
}

@media (min-width: 1041px) and (max-width: 1366px) {
  .container,
  .copy {
    width: min(1180px, calc(100% - 40px));
  }

  .nav-wrap {
    gap: 16px;
  }

  .brand {
    width: 192px;
    min-width: 158px;
  }

  .brand img {
    height: 86px;
  }

  .nav-menu {
    gap: clamp(14px, 1.7vw, 26px);
    font-size: 14px;
  }

  .nav-phone {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(38px, 4.3vw, 58px);
  }

  .service-grid {
    gap: 22px !important;
  }

  .service-card h3 {
    font-size: clamp(17px, 1.35vw, 20px);
  }

  .contact-shell {
    gap: 18px;
  }

  .footer-content {
    gap: 22px;
    grid-template-columns: 1fr 1.22fr 0.68fr 0.78fr 0.82fr;
  }
}

@media (min-width: 1041px) and (max-width: 1180px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 0.8fr;
  }

  .footer-social {
    padding-left: 0;
    border-left: 0;
  }
}

/* Final polish: larger contact message field, footer payments, legal pages and favicon-ready layout */
.offer-form textarea {
  min-height: 92px;
  width: 100%;
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid #e3e8ee;
  border-radius: 13px;
  background: #fff;
  color: #596879;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  outline: none;
  resize: vertical;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.offer-form textarea:hover {
  transform: translateY(-1px);
  background: #fbfdff;
}

.offer-form textarea:focus,
.offer-form textarea.is-filled {
  border-color: rgba(128, 183, 45, 0.68);
  box-shadow: 0 0 0 4px rgba(128, 183, 45, 0.13);
}

.offer-form textarea::placeholder {
  color: #7a8795;
}

.footer-payments {
  padding: 18px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-payments p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.payment-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.payment-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 13px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.payment-row li:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(145, 201, 62, 0.38);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.payment-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 25px;
  padding: 0 7px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #91c93e, #77aa28);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.2px;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.18);
}

.payment-cash {
  background: linear-gradient(180deg, #91c93e, #5e961b);
}

.payment-ec {
  background: linear-gradient(180deg, #0b5a9f, #073b70);
}

.payment-visa {
  background: linear-gradient(180deg, #2656d8, #102d86);
  font-size: 10px;
  letter-spacing: 0.2px;
}

.payment-mastercard {
  min-width: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.payment-mastercard i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  opacity: 0.92;
}

.payment-mastercard i:first-child {
  left: 7px;
  background: #eb001b;
}

.payment-mastercard i:last-child {
  right: 7px;
  background: #f79e1b;
  mix-blend-mode: screen;
}

.payment-paypal {
  background: linear-gradient(180deg, #009cde, #003087);
}

.payment-klarna {
  color: #111;
  background: linear-gradient(180deg, #ffb3c7, #ff8fb3);
}

.payment-bank {
  background: linear-gradient(180deg, #475569, #1e293b);
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(145, 201, 62, 0.16), transparent 28%),
    linear-gradient(180deg, #f4f8fc 0%, #ffffff 100%);
}

.legal-page .legal-shell {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-topbar {
  padding: 26px 0;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-weight: 900;
}

.legal-logo img {
  width: 112px;
  height: 62px;
  object-fit: contain;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #91c93e, #77aa28);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(0, 21, 42, 0.14);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.legal-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 21, 42, 0.2);
}

.legal-card {
  margin: 18px auto 70px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #e5ebf2;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -1.2px;
  font-weight: 900;
}

.legal-card .legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-card .legal-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 6px rgba(145, 201, 62, 0.14);
}

.legal-card h2 {
  margin: 34px 0 12px;
  color: var(--navy-2);
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.15;
  font-weight: 900;
}

.legal-card p,
.legal-card li {
  color: #415064;
  font-size: 15px;
  line-height: 1.8;
}

.legal-card p + p {
  margin-top: 10px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-card a {
  color: var(--navy-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(128, 183, 45, 0.5);
  text-underline-offset: 3px;
}

.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 10px;
}

.legal-info-box {
  padding: 18px;
  border: 1px solid #e5ebf2;
  border-radius: 18px;
  background: #fbfdff;
}

.legal-info-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
}

.legal-note {
  margin-top: 34px;
  padding: 16px 18px;
  border-radius: 18px;
  color: #315500 !important;
  background: #eef8df;
  box-shadow: inset 0 0 0 1px rgba(128, 183, 45, 0.2);
  font-weight: 700;
}

.legal-footer-simple {
  padding: 24px 0 34px;
  color: #617186;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 720px) {
  .footer-payments {
    padding-inline: 0;
  }

  .payment-row {
    justify-content: flex-start;
  }

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

  .legal-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Secure final polish: real SVG payment badges */
.payment-icons-row {
  gap: 12px;
}

.payment-icons-row li {
  min-height: 54px;
  min-width: 118px;
  padding: 8px 10px;
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.055)
    ),
    rgba(255, 255, 255, 0.075);
}

.payment-icons-row li img {
  width: 102px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.18));
}

.payment-icons-row li:hover img {
  transform: translateY(-1px) scale(1.035);
}

@media (max-width: 560px) {
  .payment-icons-row {
    gap: 9px;
  }

  .payment-icons-row li {
    min-width: 96px;
    min-height: 48px;
    padding: 7px 8px;
    border-radius: 15px;
  }

  .payment-icons-row li img {
    width: 86px;
    height: 30px;
  }
}

/* Secure payment SVG icons - replaces text-only payment badges */
.payment-icons-row {
  gap: 12px;
}

.payment-icons-row li {
  flex-direction: column;
  justify-content: center;
  min-width: 122px;
  min-height: 98px;
  padding: 12px 14px 11px;
  border-radius: 22px;
  gap: 8px;
}

.payment-icons-row li span {
  display: block;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
}

.payment-logo {
  width: 74px;
  height: 50px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.18));
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.payment-icons-row li:hover .payment-logo {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.24));
}

@media (max-width: 680px) {
  .payment-icons-row {
    gap: 9px;
  }

  .payment-icons-row li {
    min-width: calc(50% - 8px);
    min-height: 92px;
    padding: 10px 8px;
  }

  .payment-logo {
    width: 68px;
    height: 46px;
  }
}

.payment-icons-row .payment-logo {
  width: 74px;
  height: 50px;
}

@media (max-width: 680px) {
  .payment-icons-row .payment-logo {
    width: 68px;
    height: 46px;
  }
}

/* Final override: payment methods as image/SVG cards, not text-only chips */
.payment-icons-row {
  gap: 12px;
}

.payment-icons-row li {
  min-width: 148px;
  min-height: 72px;
  padding: 10px;
  border-radius: 20px;
}

.payment-icons-row li span {
  color: black;
  font-size: 15px;
  display: block;
  background: white;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
}

.payment-icons-row .payment-logo,
.payment-icons-row li img.payment-logo {
  width: 132px;
  height: 45px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.2));
}

@media (max-width: 680px) {
  .payment-icons-row li {
    min-width: calc(50% - 8px);
    min-height: 66px;
  }

  .payment-icons-row .payment-logo,
  .payment-icons-row li img.payment-logo {
    width: 126px;
    height: 43px;
  }
}

/* Final correction: clean brand-style payment SVG logos and one protected mail config location */
.payment-icons-row {
  gap: 14px;
}

.payment-icons-row li {
  min-width: 154px;
  min-height: 76px;
  padding: 9px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.payment-icons-row .payment-logo,
.payment-icons-row li img.payment-logo {
  width: 138px;
  height: 44px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.22));
}

.payment-icons-row li:hover {
  border-color: rgba(145, 201, 62, 0.45);
  background: rgba(255, 255, 255, 0.13);
}

.payment-icons-row li:hover .payment-logo {
  transform: translateY(-2px) scale(1.035);
}

@media (max-width: 680px) {
  .payment-icons-row li {
    min-width: calc(50% - 8px);
    min-height: 70px;
  }

  .payment-icons-row .payment-logo,
  .payment-icons-row li img.payment-logo {
    width: 132px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .payment-icons-row .payment-logo,
  .payment-icons-row li img.payment-logo {
    width: 122px;
    height: 40px;
  }
}

@media (min-width: 992px) {
  .service-grid > .service-card:nth-last-child(2) {
    grid-column: 2;
  }

  .service-grid > .service-card:last-child {
    grid-column: 3;
  }
}
