:root {
  --shrink: 0;
  --paper: #f6f7f9;
  --paper-2: #ffffff;
  --sand: #eef2f6;
  --ink: #1c2430;
  --muted: #5d6672;
  --line: #e4e7ec;
  --teal: #1a6fad;
  --wa: #1a6fad;
  --wa-dark: #14588c;
  --shadow: 0 18px 40px rgba(28, 36, 48, 0.08);
  --sans: "Google Sans", "Noto Sans Georgian", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 108px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(1100px 980px at 100% 14%, rgba(64, 156, 216, calc(0.14 + var(--shrink) * 0.08)) 0%, transparent 82%),
    radial-gradient(1100px 980px at 0% 14%, rgba(86, 170, 224, calc(0.12 + var(--shrink) * 0.08)) 0%, transparent 82%),
    radial-gradient(1280px 520px at 50% 0%, rgba(176, 214, 242, calc(0.17 - var(--shrink) * 0.08)) 0%, transparent 86%);
}

body::after {
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.22;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.15s ease, transform 1.15s ease;
}

.js-reveal.from-up {
  transform: translateY(-32px);
}

.js-reveal.is-in {
  opacity: 1;
  transform: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.header {
  --shrink: 0;
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  opacity: calc(1 - var(--shrink) * 0.25);
  background: rgba(246, 247, 249, calc(0.72 + var(--shrink) * 0.22));
  backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20px - var(--shrink) * 8px);
  min-height: calc(var(--header) - var(--shrink) * 54px);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  height: calc(86px - var(--shrink) * 43px);
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: calc(0.98rem - var(--shrink) * 0.06rem);
  font-weight: 500;
}

.nav a:hover {
  color: var(--teal);
}

.nav-wa {
  display: inline-flex;
  align-items: center;
  min-height: calc(44px - var(--shrink) * 10px);
  padding: 0 calc(16px - var(--shrink) * 4px);
  border-radius: 999px;
  background: var(--wa);
  color: white !important;
}

.nav-wa:hover {
  background: var(--wa-dark);
  color: white !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  content: "";
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -5px;
}

.nav-toggle-lines::after {
  top: 5px;
}

.hero {
  padding: 28px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
  max-width: 14em;
}

.lead {
  margin-top: 18px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-wa {
  background: var(--wa);
  color: white;
}

.btn-wa:hover {
  background: var(--wa-dark);
}

.btn-ghost {
  background: transparent;
  border-color: #cfc6ba;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.95rem;
  align-self: flex-start;
}

.wa-icon {
  width: 18px;
  height: 18px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
}

.lead + .lead {
  margin-top: 14px;
}

.hero-photo {
  margin: 0;
}

.hero-photo img,
.cmp,
.card {
  border-radius: 22px;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 72px 0;
}

.section-sand {
  background: transparent;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 32px;
}

.section-head h2,
.contact h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
}

.service-icons {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
}

.service-icons li {
  display: grid;
  place-items: center;
  min-height: 92px;
  margin: 0;
  color: var(--ink);
}

.service-icons svg {
  width: 78px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-note {
  margin: 28px 0 0;
  max-width: 42rem;
  color: var(--muted);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.result-ask {
  margin-top: 64px;
}

.result-ask h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  max-width: 14em;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(28, 36, 48, 0.04);
}

.card-visual {
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-visual-plain {
  display: grid;
  place-items: center;
  color: var(--teal);
}

.glyph {
  width: 92px;
  height: 64px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 22px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.35rem;
}

.card-body p {
  color: var(--muted);
  flex: 1;
}

.gallery {
  display: grid;
  gap: 8px;
}

.project {
  position: relative;
  width: 90%;
  margin-inline: auto;
}

.project-head {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}

.project-head p {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.9);
}

.cmp {
  position: relative;
  overflow: hidden;
  background: #ddd6cc;
  user-select: none;
  touch-action: pan-y;
  box-shadow: var(--shadow);
}

.cmp-base,
.cmp-clean img {
  display: block;
  width: 100%;
  height: auto;
}

.cmp-clean {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pos, 25%);
  overflow: hidden;
  border-right: 2px solid white;
  transition: width 0.16s ease;
}

.cmp-clean img {
  width: var(--full, 100%);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.cmp input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  font-size: 16px;
  touch-action: pan-y;
}

.cmp-handle {
  position: absolute;
  top: 50%;
  left: var(--pos, 25%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 18px rgba(28, 36, 48, 0.2);
  z-index: 2;
  pointer-events: none;
  transition: left 0.16s ease, transform 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.cmp.is-hot .cmp-handle {
  transform: translate(-50%, -50%) scale(1.1);
  background: radial-gradient(circle at center, #ffffff 10%, #7f9db6 100%);
  box-shadow:
    inset 0 0 14px rgba(36, 62, 86, 0.55),
    0 10px 20px rgba(20, 36, 52, 0.34);
}

.cmp.is-hot.is-right .cmp-handle {
  background: linear-gradient(90deg, #ffffff 34%, #b7c9da 100%);
}

.cmp.is-hot.is-left .cmp-handle {
  background: linear-gradient(270deg, #ffffff 34%, #b7c9da 100%);
}

.cmp-handle::before,
.cmp-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

.cmp-handle::before {
  left: 13px;
  transform: translateY(-50%) rotate(-135deg);
}

.cmp-handle::after {
  right: 13px;
  transform: translateY(-50%) rotate(45deg);
}

.cmp input:focus-visible + .cmp-handle {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.cmp-tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.9);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  pointer-events: none;
}

.cmp-tag-dirty {
  left: 14px;
}

.cmp-tag-clean {
  right: 14px;
}

.cmp-static .cmp-clean {
  position: relative;
  width: 100%;
  border-right: 0;
  border-top: 2px solid white;
}

.cmp-static .cmp-clean img {
  width: 100%;
  height: auto;
}

.cmp-static .cmp-handle,
.cmp-static input {
  display: none;
}

.cmp-static .cmp-tag-dirty {
  top: 14px;
  right: auto;
  left: 14px;
}

.cmp-static .cmp-tag-clean {
  top: auto;
  left: auto;
  right: 14px;
  bottom: 14px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: 4px;
}

.reasons {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  position: relative;
  background: var(--paper-2);
  border-radius: 18px;
  padding: 22px 20px 20px;
  box-shadow: inset 0 0 0 1px #e3e8ee;
  transition: box-shadow 0.55s ease;
}

.reasons li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0) 34%, rgba(118, 146, 168, 0.22) 100%);
  transition: opacity 0.55s ease;
}

.reasons li:hover {
  box-shadow: inset 0 0 0 3px #7d97ad;
}

.reasons li:hover::before {
  opacity: 1;
}

.reasons li > * {
  position: relative;
  z-index: 1;
}

.reason-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e4f0f8;
  color: var(--teal);
  margin-bottom: 14px;
}

.reason-mark svg {
  width: 22px;
  height: 22px;
}

.reasons h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.reasons p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  background: var(--paper-2);
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid var(--line);
}

.steps span {
  display: block;
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 8px;
}

.steps h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
}

.steps-cta {
  margin-top: 22px;
}

.contact {
  padding-top: 24px;
}

.contact-box {
  background: var(--ink);
  color: #f6f3ee;
  border-radius: 28px;
  padding: 48px 28px;
  text-align: center;
}

.contact-box .eyebrow {
  color: #b9d6f0;
}

.contact-box .lead {
  margin-inline: auto;
  color: #d5dbe2;
}

.contact-actions {
  justify-content: center;
}

.phone-link {
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-decoration: none;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.phone-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.contact-box .phone-link,
.contact-box .phone-link:hover {
  color: white;
}

.phone-link:hover {
  color: var(--teal);
}

.contact-box .phone-link:hover {
  color: #b9d6f0;
}

.place {
  margin-top: 18px;
  color: #c5ced6;
}

.footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.logo-footer img {
  height: 92px;
}

.footer p,
.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer a:hover {
  color: var(--ink);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}

.footer-contact a {
  color: var(--ink);
}

.footer-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(14, 122, 98, 0.35);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float:hover {
  background: var(--wa-dark);
}

.reveal {
  opacity: 1;
  transform: none;
}

section[id] {
  scroll-margin-top: 120px;
}

@media (min-width: 760px) {
  .hero-grid,
  .steps,
  .reasons,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reasons {
    grid-template-columns: 1fr 1fr;
  }


  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }

  .contact-box {
    padding: 72px 48px;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 36px 0 96px;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
  }

  .cards {
    grid-template-columns: repeat(6, 1fr);
  }

  .card:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .card:nth-child(4),
  .card:nth-child(5) {
    grid-column: span 3;
  }

  .section {
    padding: 96px 0;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 20px 18px;
    background: rgba(246, 247, 249, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
    background: #f6f7f9;
    box-shadow: 0 18px 32px rgba(28, 36, 48, 0.08);
  }

  .nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-wa {
    justify-content: center;
    margin-top: 6px;
  }

  :root {
    --header: 84px;
  }

  .logo img {
    height: calc(68px - var(--shrink) * 34px);
  }

  .project-head {
    top: 10px;
  }
}

@media (max-width: 700px) {
  .project {
    width: 100%;
  }

  .project-head p,
  .cmp-tag {
    font-size: 0.74rem;
    padding: 3px 8px;
  }

  .cmp-tag {
    top: auto;
    bottom: 10px;
  }

  .service-icons li {
    min-height: 72px;
  }

  .service-icons svg {
    width: 100%;
    height: auto;
    max-width: 56px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 18px 0 48px;
  }

  .footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cmp-clean,
  .cmp-handle,
  .reasons li,
  .reasons li::before,
  .js-reveal {
    transition: none;
  }
}
