:root {
  --ink: #142047;
  --muted: #66708a;
  --line: #dfe5ef;
  --blue: #263f96;
  --violet: #755abd;
  --cyan: #16a6c8;
  --green: #1b8f70;
  --paper: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(20, 32, 71, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(223, 229, 239, 0.85);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 178px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

nav a:hover {
  color: var(--blue);
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lang-switch a {
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.lang-switch .active {
  color: var(--white);
  background: var(--blue);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  padding: clamp(46px, 7vw, 100px) clamp(18px, 6vw, 86px) 64px;
  background:
    linear-gradient(115deg, rgba(38, 63, 150, 0.08), rgba(22, 166, 200, 0.09)),
    radial-gradient(circle at 86% 28%, rgba(27, 143, 112, 0.13), transparent 28%),
    var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(38, 63, 150, 0.18);
}

.button.primary,
button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.button.ghost {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(223, 229, 239, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    url("../uploads/logo.png") center / 72% no-repeat;
  box-shadow: var(--shadow);
}

.signal-card {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(223, 229, 239, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.signal-card span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(38, 63, 150, 0.09);
  color: var(--blue);
  font-weight: 900;
}

.signal-card strong {
  font-size: 24px;
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(18px, 6vw, 86px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head p,
.why p {
  color: var(--muted);
  font-size: 18px;
}

.split {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.why p {
  color: rgba(255, 255, 255, 0.72);
}

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

.metrics div {
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.metrics strong {
  display: block;
  margin-bottom: 22px;
  font-size: 32px;
}

.metrics span {
  color: rgba(255, 255, 255, 0.74);
}

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

.service-card,
.product-card,
.calc-form,
.contact-form,
.install-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(20, 32, 71, 0.08);
}

.service-card {
  min-height: 265px;
  padding: 22px;
}

.service-card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 950;
}

.service-card p,
.product-card p {
  color: var(--muted);
}

.service-card span {
  color: var(--green);
  font-weight: 900;
}

.products {
  background: #eef3f8;
}

.partners {
  overflow: hidden;
  background: var(--white);
}

.partner-carousel {
  position: relative;
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-carousel::before,
.partner-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(120px, 18vw);
  height: 100%;
  pointer-events: none;
}

.partner-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.partner-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.partner-track {
  width: max-content;
  display: flex;
  gap: 16px;
  align-items: center;
  animation: partner-scroll 28s linear infinite;
}

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

.partner-logo {
  width: 210px;
  height: 96px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfd;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.partner-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 63, 150, 0.28);
  box-shadow: 0 14px 28px rgba(20, 32, 71, 0.08);
}

.partner-logo img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 180ms ease, opacity 180ms ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo strong {
  text-align: center;
  color: var(--blue);
  font-size: 16px;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  padding: 22px;
  background: #f9fbfd;
}

.product-card div {
  padding: 20px;
}

.product-card a {
  color: var(--blue);
  font-weight: 900;
}

.calculator {
  background: var(--white);
}

.calc-form {
  padding: clamp(18px, 3vw, 30px);
}

.mode-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.mode-toggle label,
.calc-services label {
  cursor: pointer;
}

.mode-toggle label {
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 850;
}

.calc-services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.calc-services label {
  min-height: 82px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.range-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.form-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}

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

label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

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

.estimate-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.estimate-box span {
  color: rgba(255, 255, 255, 0.72);
}

.estimate-box strong {
  font-size: clamp(24px, 4vw, 38px);
}

.calc-form button {
  margin-top: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 30px;
  background: #f9fbfd;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: clamp(18px, 3vw, 30px);
}

.contact-form textarea,
.contact-form .notice,
.contact-form button {
  grid-column: 1 / -1;
}

footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(18px, 6vw, 86px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

footer img {
  width: 150px;
}

.notice {
  padding: 13px 15px;
  margin-bottom: 16px;
  border-radius: 8px;
  font-weight: 800;
}

.notice.success {
  color: #0f5f4a;
  background: #e8f7f0;
}

.notice.error {
  color: #8f1b1b;
  background: #ffeaea;
}

.install-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #eef3f8, #ffffff);
}

.install-card {
  width: min(560px, 100%);
  padding: 28px;
}

.install-logo {
  width: 220px;
  margin-bottom: 22px;
}

.install-card form {
  display: grid;
  gap: 14px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 1050px) {
  .service-grid,
  .product-grid,
  .calc-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .why,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .brand img {
    width: 104px;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .metrics,
  .service-grid,
  .product-grid,
  .calc-services,
  .range-grid,
  .form-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .split,
  .estimate-box,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Modern UI pass */
:root {
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --blue: #2947a9;
  --violet: #6d5bd0;
  --cyan: #0891b2;
  --green: #0f8b6d;
  --paper: #f7f9fc;
  --white: #ffffff;
  --soft-blue: #eef4ff;
  --shadow: 0 22px 55px rgba(17, 24, 39, 0.10);
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.07);
}

body {
  background:
    linear-gradient(180deg, rgba(238, 244, 255, 0.72), rgba(247, 249, 252, 0) 460px),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 3px solid rgba(8, 145, 178, 0.24);
  outline-offset: 3px;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  top: 14px;
  margin: 14px auto 0;
  padding: 7px 14px;
  border: 1px solid rgba(229, 231, 235, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 110px;
}

nav {
  gap: 8px;
}

nav a {
  padding: 9px 11px;
  border-radius: 8px;
  transition: color 160ms ease, background 160ms ease;
}

nav a:hover {
  color: var(--blue);
  background: var(--soft-blue);
}

nav a.active {
  color: var(--blue);
  background: var(--soft-blue);
}

.lang-switch {
  border-color: rgba(229, 231, 235, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.lang-switch .active {
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.hero {
  position: relative;
  min-height: calc(100vh - 28px);
  padding-top: clamp(54px, 8vw, 112px);
  background:
    linear-gradient(120deg, rgba(41, 71, 169, 0.08), rgba(8, 145, 178, 0.10)),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(41, 71, 169, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 71, 169, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 78%);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--cyan);
  box-shadow: var(--shadow-soft);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(15, 139, 109, 0.13);
}

h1 {
  color: #0f172a;
  font-size: clamp(44px, 6.7vw, 76px);
  line-height: 1.02;
}

h2 {
  color: #111827;
}

.hero-copy > p:not(.eyebrow) {
  color: #536072;
}

body.lang-ka h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.08;
}

body.lang-ka h2 {
  font-size: clamp(25px, 3.1vw, 38px);
  line-height: 1.12;
}

body.lang-ka .hero-copy > p:not(.eyebrow) {
  font-size: clamp(16px, 1.7vw, 20px);
}

.button,
button {
  min-height: 48px;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(41, 71, 169, 0.18);
}

.button.primary,
button.primary {
  background: linear-gradient(135deg, #2947a9 0%, #0ea5c6 100%);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.78);
}

.hero-panel {
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    url("../uploads/logo.png") center / 68% no-repeat;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.16);
}

.hero-panel-title {
  position: absolute;
  left: 18px;
  top: -18px;
  padding: 8px 12px;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.signal-card {
  min-height: 150px;
  border-color: rgba(229, 231, 235, 0.78);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, background 180ms ease;
}

.signal-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.94);
}

.signal-card strong {
  color: #111827;
}

.section {
  padding-inline: max(clamp(18px, 6vw, 86px), calc((100vw - 1180px) / 2));
}

.section-head {
  margin-bottom: 32px;
}

.why {
  background:
    linear-gradient(135deg, rgba(41, 71, 169, 0.92), rgba(17, 24, 39, 0.98)),
    #111827;
}

.why h2 {
  color: #ffffff;
}

.metrics div {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-grid,
.product-grid {
  gap: 20px;
}

.service-card,
.product-card,
.calc-form,
.contact-form,
.install-card {
  border-color: rgba(229, 231, 235, 0.86);
  box-shadow: var(--shadow-soft);
}

.service-card,
.product-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(41, 71, 169, 0.22);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 145px;
  height: 145px;
  background: url("../uploads/logo-mark.png") center / contain no-repeat;
  opacity: 0.12;
  transform: rotate(0deg) scale(1);
  transform-origin: center;
  pointer-events: none;
}

.service-card .icon {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(41, 71, 169, 0.18);
}

.products {
  background:
    linear-gradient(180deg, #f3f7fb, #edf3f8);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.carousel-btn {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.carousel-btn:hover {
  background: #ffffff;
}

.carousel-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.product-carousel {
  position: relative;
  overflow: hidden;
}

.product-carousel::before,
.product-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(70px, 10vw);
  height: 100%;
  pointer-events: none;
}

.product-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #edf3f8, rgba(237, 243, 248, 0));
}

.product-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #edf3f8, rgba(237, 243, 248, 0));
}

.product-carousel .product-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 2px;
  padding: 4px 2px 18px;
  scrollbar-width: none;
}

.product-carousel .product-grid::-webkit-scrollbar {
  display: none;
}

.product-carousel .product-card {
  flex: 0 0 clamp(280px, 31vw, 380px);
  scroll-snap-align: start;
}

.product-card img {
  background:
    linear-gradient(135deg, rgba(238, 244, 255, 0.82), rgba(255, 255, 255, 0.96));
}

.partners {
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.partner-carousel {
  padding: 20px 0;
  border-color: rgba(229, 231, 235, 0.72);
}

.partner-logo {
  width: 230px;
  height: 132px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.partner-logo img {
  max-height: 104px;
}

.calculator {
  background:
    linear-gradient(135deg, rgba(41, 71, 169, 0.05), rgba(8, 145, 178, 0.07)),
    #ffffff;
}

.calc-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
}

.mode-toggle {
  width: fit-content;
  margin-bottom: 0;
  background: #eef2f7;
}

.mode-toggle label:has(input:checked) {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.mode-toggle input {
  width: auto;
  min-height: auto;
  margin-right: 6px;
  accent-color: var(--blue);
}

.calc-services label {
  background: #ffffff;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.calc-services label:has(input:checked) {
  border-color: rgba(41, 71, 169, 0.34);
  background: var(--soft-blue);
  box-shadow: 0 10px 22px rgba(41, 71, 169, 0.08);
}

.calc-services input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
  accent-color: var(--blue);
}

input,
textarea {
  border-color: #d9e0ea;
  background: #fbfdff;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(41, 71, 169, 0.52);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(41, 71, 169, 0.10);
  outline: none;
}

.estimate-box {
  background:
    linear-gradient(135deg, rgba(41, 71, 169, 0.96), rgba(17, 24, 39, 0.98));
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.15);
}

.contact {
  background:
    linear-gradient(135deg, #f9fbfd, #eef4ff);
}

.contact > div {
  padding: clamp(8px, 2vw, 20px) 0;
}

footer {
  background: #ffffff;
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 8px 12px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-panel::before {
    display: none;
  }

  .partner-logo {
    width: 180px;
    height: 112px;
    padding: 10px;
  }

  .partner-logo img {
    max-height: 88px;
  }

  .product-actions {
    justify-content: flex-start;
  }

  .product-carousel::before,
  .product-carousel::after {
    width: 28px;
  }

  .product-carousel .product-card {
    flex-basis: min(86vw, 340px);
  }
}

/* Motion layer */
.site-header {
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.86);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.13);
  transform: translateY(-4px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0) 34%, rgba(8, 145, 178, 0.13) 50%, rgba(255, 255, 255, 0) 66%, transparent 100%);
  transform: translateX(-120%);
  animation: hero-scan 7s ease-in-out infinite;
}

.hero-panel {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.signal-card {
  animation: signal-float 5.6s ease-in-out infinite;
}

.signal-card:hover {
  transform: translateY(-4px) translateZ(14px);
}

.signal-card:nth-of-type(2) {
  animation-delay: 420ms;
}

.signal-card:nth-of-type(3) {
  animation-delay: 840ms;
}

.signal-card:nth-of-type(4) {
  animation-delay: 1260ms;
}

.service-card,
.product-card {
  transition-duration: 220ms;
}

.service-card::after {
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 260ms ease;
}

.service-card:hover::after {
  opacity: 0.26;
  transform: rotate(135deg) scale(1.16);
}

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

.estimate-box {
  position: relative;
  overflow: hidden;
}

.estimate-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(255, 255, 255, 0.13), transparent 58%);
  transform: translateX(-120%);
  animation: estimate-shine 5.5s ease-in-out infinite;
}

.estimate-box > * {
  position: relative;
  z-index: 1;
}

.reveal-prep {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms ease var(--reveal-delay, 0ms);
}

.reveal-prep.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-scan {
  0%,
  38% {
    transform: translateX(-120%);
  }

  62%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes signal-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes estimate-shine {
  0%,
  42% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

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

  .reveal-prep {
    opacity: 1;
    transform: none;
  }
}

/* SEO FAQ section */
.faq {
  background: #ffffff;
}

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

.faq-item {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 8px;
  background: #f9fbff;
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  color: #111827;
}

.faq-item p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Catalog and blog */
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

.catalog-hero {
  padding-top: clamp(58px, 9vw, 118px);
  background:
    linear-gradient(135deg, rgba(41, 71, 169, 0.08), rgba(8, 145, 178, 0.08)),
    #ffffff;
}

.catalog-hero > p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.catalog-hero h1,
.article-page h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.catalog-filters a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-weight: 850;
}

.catalog-filters a.active,
.catalog-filters a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.catalog-list {
  display: grid;
  gap: 18px;
  background: #f7f9fc;
}

.catalog-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.catalog-media {
  display: grid;
  place-items: center;
  min-height: 170px;
  border-radius: 8px;
  background: #f9fbff;
}

.catalog-media img {
  max-height: 150px;
  object-fit: contain;
  padding: 12px;
}

.catalog-category {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.catalog-info h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.catalog-info p {
  color: var(--muted);
}

.attribute-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
}

.attribute-list div {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f3f7fb;
}

.attribute-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.attribute-list dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.catalog-side {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 16px;
  border-radius: 8px;
  background: #f8fbff;
}

.catalog-side strong {
  font-size: 22px;
}

.catalog-side span {
  color: var(--green);
  font-weight: 850;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.product-page__media {
  position: sticky;
  top: 110px;
  display: grid;
  place-items: center;
  min-height: min(620px, 70vh);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-page__media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.product-page__content h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 64px);
}

.product-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.product-page__meta strong,
.product-page__meta span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 900;
}

.product-page__meta strong {
  color: var(--blue);
}

.product-page__attributes {
  margin-bottom: 24px;
}

.product-page__form {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-page__form h2 {
  margin-bottom: 4px;
  font-size: clamp(24px, 3vw, 34px);
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.58);
  backdrop-filter: blur(10px);
}

.quote-modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.28);
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

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

.quote-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #f4f7fb;
  color: var(--ink);
  box-shadow: none;
  font-size: 28px;
  line-height: 1;
}

.quote-modal__product {
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.quote-form {
  padding: 0;
  box-shadow: none;
  border: 0;
}

body.modal-open {
  overflow: hidden;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.blog-embed {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(18px, 3vw, 34px);
  background: #ffffff;
}

.blog-embed:empty {
  display: none;
}

.blog-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 340px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card span {
  color: var(--cyan);
  font-weight: 900;
}

.blog-card h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.16;
}

.blog-card .button {
  align-self: end;
  justify-self: start;
  margin-top: auto;
}

.blog-card p,
.article-lead,
.article-content {
  color: var(--muted);
}

.article-page {
  width: auto;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "meta"
    "title"
    "lead"
    "image"
    "content"
    "aside";
  row-gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.article-page > img {
  grid-area: image;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.article-content {
  grid-area: content;
  max-width: none;
  width: 100%;
  font-size: 19px;
  line-height: 1.82;
}

.article-lead {
  grid-area: lead;
  max-width: 980px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.65;
}

.article-page .eyebrow {
  grid-area: meta;
  width: fit-content;
}

.article-page h1 {
  grid-area: title;
  max-width: 1120px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
}

.article-content p {
  margin-bottom: 22px;
}

.article-content figure {
  margin: 30px 0;
}

.article-content figure img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.article-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.article-content::after {
  content: "Tech Space";
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(41, 71, 169, 0.10), rgba(8, 145, 178, 0.12)),
    url("../uploads/logo-mark.png") right -34px center / 150px no-repeat,
    #f8fbff;
  color: var(--blue);
  font-size: 24px;
  font-weight: 950;
}

.article-aside {
  grid-area: aside;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.article-aside h2 {
  font-size: 26px;
  margin: 0;
}

.article-aside p {
  margin: 0;
  color: var(--muted);
}

body.lang-ka .catalog-hero h1,
body.lang-ka .article-page h1,
body.lang-ka .product-page__content h1 {
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.08;
}

body.lang-ka .blog-card h2 {
  font-size: clamp(23px, 2.25vw, 31px);
}

@media (max-width: 980px) {
  .catalog-item {
    grid-template-columns: 1fr;
  }

  .product-page {
    grid-template-columns: 1fr;
  }

  .product-page__media {
    position: static;
    min-height: 280px;
  }

  .catalog-side {
    justify-items: stretch;
  }

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

  .article-aside {
    grid-template-columns: 1fr;
  }

  .attribute-list {
    grid-template-columns: 1fr;
  }
}
