:root {
  --ink: #101217;
  --ink-soft: #171c24;
  --paper: #f4f6f8;
  --panel: #ffffff;
  --panel-dark: rgba(255, 255, 255, 0.08);
  --muted: #697382;
  --line: #dce3e8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --blue: #2f6df6;
  --cyan: #26c7d9;
  --green: #39c184;
  --gold: #c99625;
  --coral: #e96f55;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.13);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.035;
  background-image:
    repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 2px);
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  inset: 18px clamp(16px, 4vw, 48px) auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 66px;
  padding: 12px 14px 12px 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(16, 18, 23, 0.64);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(16, 18, 23, 0.9);
  transform: translateY(-6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  transition: color 0.2s ease;
}

nav a:hover {
  color: #ffffff;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-action,
.button.primary {
  color: var(--ink);
  background: #ffffff;
}

.button.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dark-button {
  color: #ffffff !important;
  background: var(--ink) !important;
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.mobile-menu {
  pointer-events: none;
  position: fixed;
  inset: 72px 12px auto;
  z-index: 999;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(11, 15, 23, 0.98);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.mobile-menu-nav {
  display: grid;
  gap: 4px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.mobile-menu-nav a {
  padding: 12px 4px;
}

.mobile-menu-whatsapp {
  min-height: 50px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #07111f;
  background: #22c55e;
  font-weight: 950;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(11, 15, 23, 0.68);
}

.language-switcher button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher button:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.language-switcher button.is-active {
  color: #07111f;
  background: #22c55e;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.24);
}

.mobile-menu .language-switcher {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.legal-page > .language-switcher {
  width: max-content;
  margin: 0 0 26px 18px;
  vertical-align: middle;
}

@media (min-width: 761px) {
  .mobile-menu .language-switcher {
    display: none;
  }
}

.translation-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 16px;
  color: #065f46;
  background: rgba(34, 197, 94, 0.08);
  font-weight: 850;
}

.menu-open {
  overflow: hidden;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 22%, rgba(47, 109, 246, 0.28), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(38, 199, 217, 0.18), transparent 30%),
    linear-gradient(135deg, #0c1018 0%, #111827 54%, #0d1219 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 82%, transparent);
  animation: gridDrift 18s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, var(--paper));
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  padding: 132px clamp(20px, 5vw, 72px) 92px;
}

.hero-copy {
  max-width: 980px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7.6vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  overflow-wrap: anywhere;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.automation-console {
  min-height: 560px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.32);
  transform-style: preserve-3d;
}

.console-head,
.message,
.pipeline div {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(16, 18, 23, 0.62);
}

.console-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  font-weight: 900;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(57, 193, 132, 0.15);
  animation: livePulse 1.8s ease-in-out infinite;
}

.chat-stream {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.message {
  max-width: 92%;
  padding: 14px;
  color: rgba(255, 255, 255, 0.82);
  animation: floatMessage 4.8s ease-in-out infinite;
}

.message.client {
  justify-self: start;
}

.message.bot {
  justify-self: end;
  background: rgba(47, 109, 246, 0.18);
  animation-delay: 0.4s;
}

.message.data {
  justify-self: center;
  color: #07130f;
  background: rgba(57, 193, 132, 0.82);
  animation-delay: 0.8s;
}

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

.pipeline div {
  padding: 14px;
  min-height: 122px;
}

.pipeline span {
  color: var(--cyan);
  font-weight: 950;
}

.pipeline strong {
  display: block;
  margin-top: 14px;
  font-size: 19px;
}

.pipeline p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.metrics-section {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.metric-card {
  min-height: 178px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 30px clamp(18px, 4vw, 42px);
  background: #ffffff;
}

.metric-card strong {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.95;
}

.metric-card p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 112px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.section-heading p:not(.section-kicker) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

h2 {
  margin: 0;
  max-width: 1120px;
  font-size: clamp(34px, 5.2vw, 74px);
  line-height: 1.02;
}

h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.14;
}

.value-grid,
.solution-grid,
.timeline {
  display: grid;
  gap: 14px;
}

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

.value-card,
.solution-card,
.timeline-card,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.value-card {
  min-height: 285px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
  border-color: rgba(47, 109, 246, 0.38);
  box-shadow: var(--shadow);
}

.value-card span,
.solution-card span,
.timeline-card span {
  color: var(--blue);
  font-weight: 950;
}

.value-card p,
.solution-card p,
.timeline-card p,
.faq-list p {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 78px);
  background: #ffffff;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: #2e3742;
  font-size: clamp(18px, 2vw, 29px);
  line-height: 1.34;
}

.about-copy p {
  margin: 0;
}

.solutions-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--ink);
}

.solutions-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(47, 109, 246, 0.22), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
}

.solutions-section > * {
  position: relative;
  z-index: 1;
}

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

.solution-card {
  min-height: 235px;
  padding: 26px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.solution-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--cyan) 0 22%, transparent 23%),
    conic-gradient(from 0deg, var(--blue), var(--cyan), var(--green), var(--blue));
  animation: spinSlow 7s linear infinite;
}

.solution-card span {
  color: var(--green);
  font-size: 20px;
}

.solution-card p {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 22px;
  font-weight: 850;
}

.orbit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  background: #ffffff;
}

.orbit-copy p:not(.section-kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.orbit {
  position: relative;
  aspect-ratio: 1;
  min-height: 440px;
  border-radius: 50%;
}

.orbit-ring {
  position: absolute;
  inset: 11%;
  border: 1px dashed rgba(47, 109, 246, 0.35);
  border-radius: 50%;
  animation: spinSlow 18s linear infinite;
}

.ring-two {
  inset: 24%;
  border-color: rgba(57, 193, 132, 0.38);
  animation-duration: 13s;
  animation-direction: reverse;
}

.orbit-center,
.orbit-item {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.orbit-center {
  inset: 38%;
  color: #ffffff;
  background: var(--ink);
  font-size: 42px;
  font-weight: 950;
}

.orbit-item {
  min-width: 122px;
  min-height: 54px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-weight: 900;
  animation: floatMessage 5s ease-in-out infinite;
}

.item-wa {
  top: 6%;
  left: 12%;
}

.item-tg {
  top: 18%;
  right: 0;
  animation-delay: 0.4s;
}

.item-ig {
  bottom: 16%;
  left: 0;
  animation-delay: 0.8s;
}

.item-crm {
  right: 10%;
  bottom: 4%;
  animation-delay: 1.2s;
}

.process-section {
  background: var(--paper);
}

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

.timeline-card {
  min-height: 242px;
  padding: 26px;
}

.timeline-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 50%;
}

.gallery-section {
  padding: 0 clamp(20px, 5vw, 72px) 112px;
  background: var(--paper);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.gallery-head h2 {
  font-size: clamp(32px, 4.2vw, 62px);
}

.gallery-head p:not(.section-kicker) {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #ffffff;
  background: var(--ink);
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-controls button:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);
}

.gallery-controls span {
  min-width: 64px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.gallery-carousel {
  overflow: hidden;
  border-radius: 24px;
}

.gallery-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slide {
  min-width: min(86vw, 1040px);
  margin: 0 18px 0 0;
  border-radius: 24px;
  overflow: visible;
}

.gallery-image-button {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(16, 18, 23, 0.08);
  border-radius: 24px;
  background: #edf1f4;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.12);
  cursor: zoom-in;
}

.gallery-image-backdrop {
  position: absolute;
  inset: -28px;
  z-index: -1;
  background-position: center;
  background-size: cover;
  filter: blur(30px) saturate(1.04);
  opacity: 0.24;
  transform: scale(1.08);
}

.gallery-slide img {
  width: 100%;
  max-width: 100%;
  max-height: 680px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.16);
  filter: saturate(0.98) contrast(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-slide.is-portrait img {
  width: auto;
  max-width: min(420px, 100%);
}

.gallery-slide.is-landscape img {
  width: 100%;
  max-width: 100%;
}

.gallery-slide:hover img {
  transform: scale(1.01);
  filter: saturate(1.05) contrast(1.05);
}

.gallery-slide figcaption {
  margin: 14px 8px 0;
  color: #334155;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.gallery-carousel.is-single .gallery-track {
  justify-content: center;
}

.gallery-carousel.is-single .gallery-slide {
  margin-right: 0;
}

.gallery-error {
  display: none;
  padding: 18px 22px;
  border-radius: 16px;
  color: #7d1f13;
  background: #fff2ef;
  font-weight: 900;
}

.gallery-slide.is-broken img,
.gallery-slide.is-broken .gallery-image-backdrop {
  display: none;
}

.gallery-slide.is-broken .gallery-error {
  display: inline-grid;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-dots button.is-active {
  background: #22c55e;
  transform: scale(1.28);
}

.gallery-empty {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 36px;
  border: 1px dashed rgba(16, 18, 23, 0.18);
  border-radius: 24px;
  color: #334155;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
}

.gallery-empty h3 {
  margin: 0;
}

.gallery-empty p {
  max-width: 540px;
  margin: 10px 0 0;
  color: var(--muted);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
}

.gallery-lightbox-panel {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1120px, 96vw);
  max-height: 92vh;
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox p {
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(16, 18, 23, 0.86);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-lightbox-close {
  top: -12px;
  right: -12px;
  width: 48px;
  height: 48px;
  font-size: 30px;
}

.gallery-lightbox-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 24px;
  transform: translateY(-50%);
}

.gallery-lightbox-prev {
  left: -18px;
}

.gallery-lightbox-next {
  right: -18px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: #22c55e;
  color: #07111f;
}

body.is-lightbox-open {
  overflow: hidden;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.7fr);
  gap: 40px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 12%, rgba(34, 197, 94, 0.2), transparent 30%),
    #0f172a;
}

.calculator-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 70px clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.calculator-cta h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.calculator-cta p:not(.section-kicker) {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
}

.calculator-body {
  background:
    radial-gradient(circle at 15% 8%, rgba(47, 109, 246, 0.14), transparent 30%),
    radial-gradient(circle at 85% 4%, rgba(38, 199, 217, 0.12), transparent 28%),
    var(--paper);
}

.calculator-header {
  position: sticky;
  inset: 0 0 auto;
  border-radius: 0;
}

.calculator-hero {
  padding: 120px clamp(20px, 5vw, 72px) 54px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(16, 18, 23, 0.98), rgba(23, 28, 36, 0.94)),
    radial-gradient(circle at 75% 20%, rgba(38, 199, 217, 0.25), transparent 30%);
}

.calculator-hero-copy {
  max-width: 1050px;
}

.calculator-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 100px);
  line-height: 0.96;
}

.calculator-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 21px;
}

.website-hero-mount > *,
.website-result-mount {
  opacity: 0;
  transform: translateY(24px);
  animation: mountFadeUp 0.68s ease-out forwards;
}

.website-hero-mount > *:nth-child(1) {
  animation-delay: 0.06s;
}

.website-hero-mount > *:nth-child(2) {
  animation-delay: 0.16s;
}

.website-hero-mount > *:nth-child(3) {
  animation-delay: 0.26s;
}

.website-hero-mount > *:nth-child(4) {
  animation-delay: 0.34s;
}

.website-result-mount {
  animation-delay: 0.22s;
}

.website-form-mount .calc-block {
  opacity: 0;
  transform: translateY(28px);
  animation: mountFadeUp 0.72s ease-out forwards;
}

.website-form-mount .calc-block:nth-child(1) {
  animation-delay: 0.2s;
}

.website-form-mount .calc-block:nth-child(2) {
  animation-delay: 0.28s;
}

.website-form-mount .calc-block:nth-child(3) {
  animation-delay: 0.36s;
}

.website-form-mount .calc-block:nth-child(4) {
  animation-delay: 0.44s;
}

@keyframes mountFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px) 96px;
}

.calculator-form,
.calculator-result {
  display: grid;
  gap: 18px;
}

.calc-block,
.calculator-result {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
}

.calculator-result {
  position: sticky;
  top: 24px;
  align-self: start;
}

.calculator-result h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.calc-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.calc-block-head span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.calc-block-head h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

.calc-block > p {
  color: var(--muted);
}

.option-grid,
.module-grid {
  display: grid;
  gap: 12px;
}

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

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

.calc-option,
.module-grid label,
.complexity-list label {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.calc-option input,
.module-grid input,
.complexity-list input {
  width: auto;
}

.calc-option:has(input:checked),
.module-grid label:has(input:checked),
.complexity-list label:has(input:checked) {
  border-color: rgba(47, 109, 246, 0.55);
  background: #eef4ff;
  box-shadow: 0 14px 34px rgba(47, 109, 246, 0.12);
}

.calc-option span,
.module-grid label,
.complexity-list label {
  font-weight: 850;
}

.calc-option small,
.module-grid small,
.complexity-list small {
  color: var(--muted);
  font-weight: 700;
}

.complexity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-group {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.result-group h3 {
  margin-top: 0;
}

.result-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Calculator redesign */
.calculator-body {
  --calc-accent: #22c55e;
  --calc-accent-2: #14b8a6;
  --calc-bg: #f3f6f9;
  background: var(--calc-bg);
}

.calculator-header {
  min-height: 72px;
  background: rgba(16, 18, 23, 0.92);
}

.calculator-hero {
  padding: 118px clamp(20px, 5vw, 72px) 72px;
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 22%, rgba(20, 184, 166, 0.32), transparent 32%),
    radial-gradient(circle at 18% 20%, rgba(34, 197, 94, 0.18), transparent 28%),
    linear-gradient(135deg, #0c1018, #111827 56%, #0c1018);
}

.calculator-hero h1 {
  max-width: 1120px;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.96;
}

.calculator-hero p:not(.eyebrow) {
  max-width: 820px;
}

.hero-small-note {
  margin-top: 14px !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 16px !important;
  font-weight: 800;
}

.website-calculator-body .option-grid:first-of-type {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calculator-result > .calc-warning {
  margin: 12px 0 0;
  color: #064e3b;
  font-weight: 850;
}

.website-calculator-body .calc-block {
  padding: 32px;
}

.website-calculator-body .calc-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.website-calculator-body .calc-block-head span {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.website-calculator-body .calc-block-head h2 {
  margin: 0;
  line-height: 1.05;
}

.website-calculator-body .option-grid,
.website-calculator-body .module-grid,
.website-calculator-body .complexity-list {
  gap: 18px;
}

.website-calculator-body .calc-warning {
  margin: 0 0 24px;
}

.calculator-body .calc-block {
  padding: 32px;
}

.calculator-body .calc-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.calculator-body .calc-block-head span {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #07111f;
}

.calculator-body .calc-block-head h2 {
  margin: 0;
  line-height: 1.05;
}

.calculator-body .option-grid,
.calculator-body .module-grid,
.calculator-body .complexity-list {
  gap: 18px;
}

.calculator-layout {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.42fr);
  background: var(--calc-bg);
}

.calc-block,
.calculator-result {
  border-radius: 20px;
  border-color: rgba(16, 18, 23, 0.08);
}

.calc-block {
  padding: 28px;
}

.calc-block-head span {
  background: linear-gradient(135deg, var(--calc-accent), var(--calc-accent-2));
  color: #07111f;
}

.calculator-body .calc-block-head span,
.website-calculator-body .calc-block-head span {
  background: #22c55e;
  color: #07111f;
  border-radius: 999px;
}

.calc-block-head h2 {
  font-size: clamp(36px, 4vw, 48px);
}

.calc-warning {
  padding: 16px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.08);
}

.option-grid,
.module-grid,
.complexity-list {
  gap: 16px;
}

.calc-option,
.module-grid label,
.complexity-list label {
  position: relative;
  min-height: 118px;
  padding: 24px;
  border: 1.5px solid rgba(16, 18, 23, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.module-grid label {
  align-content: start;
}

.calc-option:hover,
.module-grid label:hover,
.complexity-list label:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.09);
}

.calc-option input,
.module-grid input,
.complexity-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-option::after,
.module-grid label::after,
.complexity-list label::after {
  content: "✓";
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #07111f;
  background: var(--calc-accent);
  border-radius: 50%;
  font-weight: 950;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.calc-option:has(input:checked),
.module-grid label:has(input:checked),
.complexity-list label:has(input:checked) {
  border: 1.5px solid var(--calc-accent);
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.12);
  transform: scale(1.01);
}

.calc-option:has(input:checked)::after,
.module-grid label:has(input:checked)::after,
.complexity-list label:has(input:checked)::after {
  opacity: 1;
  transform: scale(1);
}

.calc-option span,
.module-grid label span,
.complexity-list label span {
  max-width: calc(100% - 34px);
  font-size: 18px;
  font-weight: 900;
}

.calc-option small,
.module-grid small,
.complexity-list small {
  max-width: calc(100% - 34px);
  color: #64748b;
  font-size: 14px;
}

.calculator-result {
  top: 92px;
  padding: 28px;
  border-radius: 20px;
}

.calculator-result .section-kicker {
  color: var(--calc-accent-2);
}

.calculator-result h2 {
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.calculator-result h2.price-updated {
  animation: pricePulse 0.34s ease;
}

.calculator-result [data-total-note] {
  color: #64748b;
}

.result-group h3 {
  font-size: 20px;
}

.result-group li::marker {
  color: var(--calc-accent);
}

.result-actions {
  display: grid;
  gap: 10px;
}

.cta-button {
  min-height: 56px;
  border-radius: 14px;
  background: var(--calc-accent) !important;
  color: #07111f !important;
  font-size: 16px;
  font-weight: 900;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(34, 197, 94, 0.25);
}

.reset-button {
  min-height: 52px;
  border: 1px solid rgba(16, 18, 23, 0.12);
  border-radius: 14px;
  color: #111827;
  background: #eef2f6;
}

.mobile-result-bar {
  display: none;
}

.calculator-faq-section {
  padding: 40px clamp(20px, 5vw, 72px) 112px;
  background: #ffffff;
}

.calculator-faq-head {
  max-width: 1080px;
  margin-bottom: 34px;
}

.calculator-faq-head h2 {
  color: #111827;
  font-size: clamp(38px, 5vw, 68px);
}

.calculator-faq-head p:not(.section-kicker) {
  max-width: 860px;
  color: #64748b;
  font-size: 20px;
}

.calculator-faq-list {
  display: grid;
  gap: 14px;
}

.calc-faq-item {
  overflow: hidden;
  border: 1px solid rgba(16, 18, 23, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.1);
}

.calc-faq-item[open] {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 18px 44px rgba(34, 197, 94, 0.12);
}

.calc-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 22px 70px 22px 24px;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.calc-faq-item summary::-webkit-details-marker {
  display: none;
}

.calc-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #07111f;
  background: #eef2f6;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.calc-faq-item[open] summary::after {
  content: "–";
  background: #22c55e;
  transform: translateY(-50%) rotate(180deg);
}

.calc-faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.65;
  animation: faqOpen 0.24s ease;
}

.calculator-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 78px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 16%, rgba(34, 197, 94, 0.22), transparent 32%),
    #0f172a;
}

.calculator-final-cta h2 {
  color: #ffffff;
  font-size: clamp(36px, 5vw, 68px);
}

.calculator-final-cta p:not(.section-kicker) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
}

.final-cta-actions {
  display: grid;
  gap: 12px;
  min-width: min(100%, 360px);
}

.cta-secondary {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pricePulse {
  0% {
    transform: translateY(4px);
    opacity: 0.55;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.contact-info p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.contact-info h2 {
  color: #ffffff;
}

.after-request {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.after-request div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.after-request span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #07111f;
  background: #22c55e;
  font-size: 13px;
  font-weight: 950;
}

.contact-info dl {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.contact-info dt {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info dd {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 900;
}

.policy-note {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 15px !important;
}

.lead-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 28px;
  color: var(--ink);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.field {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.field span,
.task-type-field legend {
  color: #111827;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 15px 14px;
  border: 1px solid #cfd7d6;
  border-radius: 14px;
  color: var(--ink);
  background: #fbfcfb;
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

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

.field small,
.task-type-field small,
.contact-lead-form > small {
  min-height: 18px;
  color: #dc2626;
  font-size: 13px;
}

.task-type-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.task-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.task-card-grid button {
  position: relative;
  min-height: 58px;
  padding: 13px 42px 13px 14px;
  border: 1.5px solid #d8e0e4;
  border-radius: 16px;
  color: #111827;
  background: #f8fafc;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.task-card-grid button:hover {
  transform: translateY(-2px);
}

.task-card-grid button::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #07111f;
  background: #22c55e;
  opacity: 0;
  transform: translateY(-50%) scale(0.75);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.task-card-grid button.is-selected {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.12);
}

.task-card-grid button.is-selected::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.calculator-summary-card {
  padding: 18px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 18px;
  background: rgba(34, 197, 94, 0.08);
}

.calculator-summary-card h3 {
  margin-top: 0;
}

.calculator-summary-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.calculator-summary-card div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

.calculator-summary-card dt {
  color: #64748b;
  font-weight: 900;
}

.calculator-summary-card dd {
  margin: 0;
  font-weight: 850;
}

.privacy-check {
  display: flex;
  align-items: start;
  gap: 10px;
  color: #334155;
  font-weight: 800;
}

.privacy-check input {
  width: 20px;
  min-height: 20px;
  accent-color: #22c55e;
}

.privacy-check a {
  color: #0f766e;
  text-decoration: underline;
}

.contact-lead-form .cta-button {
  width: 100%;
  min-height: 58px;
  height: 58px;
  margin-top: 10px;
  border-radius: 16px;
  color: #07111f;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.28);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.contact-lead-form .cta-button:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(34, 197, 94, 0.38);
}

.contact-lead-form .cta-button:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.24);
}

.contact-lead-form .cta-button:disabled {
  color: #9ca3af;
  background: #e5e7eb;
  box-shadow: none;
  cursor: not-allowed;
  transform: none !important;
}

.contact-lead-form .cta-button:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.34);
  outline-offset: 3px;
}

.form-note {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.success {
  padding: 12px 14px;
  border-radius: 16px;
  color: #113d2e;
  background: #dcf6ec;
  font-weight: 900;
}

.contact-success {
  display: grid;
  gap: 12px;
}

.contact-success h3,
.contact-success p {
  margin: 0;
}

.contact-success > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #101217;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.admin-body {
  background: #eef1f2;
}

.admin-shell {
  padding: 40px clamp(16px, 4vw, 52px);
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-top h1 {
  margin: 0;
  font-size: 42px;
}

.admin-top .button.secondary {
  color: var(--ink);
  background: #ffffff;
}

.admin-panel {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.admin-panel-head h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.upload-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.upload-form input {
  max-width: 320px;
}

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

.admin-gallery-grid article {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.admin-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.admin-gallery-grid strong,
.admin-gallery-grid span {
  display: block;
}

.admin-gallery-grid span,
.admin-note {
  color: var(--muted);
}

.admin-gallery-grid button {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6ada5;
  border-radius: var(--radius);
  color: #7d1f13;
  background: #fff2ef;
  font-weight: 850;
  cursor: pointer;
}

.lead-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.lead-row {
  min-width: 1020px;
  display: grid;
  grid-template-columns: 150px 150px 170px 210px minmax(240px, 1fr) 150px;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.lead-row:last-child {
  border-bottom: 0;
}

.lead-head {
  color: var(--muted);
  background: #f6f7f4;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-actions {
  display: grid;
  gap: 10px;
}

.delete-lead-button {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d6ada5;
  border-radius: 12px;
  color: #7d1f13;
  background: #fff2ef;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.delete-lead-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(125, 31, 19, 0.12);
}

.empty-state {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.product-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.product-form label {
  display: grid;
  gap: 8px;
  color: #111827;
  font-weight: 900;
}

.product-form label span {
  font-size: 13px;
}

.product-form-wide {
  grid-column: span 2;
}

.product-form textarea {
  min-height: 96px;
}

.admin-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.08);
}

.admin-check input {
  width: 20px;
  min-height: 20px;
  accent-color: #22c55e;
}

.product-submit {
  align-self: end;
}

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

.product-admin-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.07);
}

.product-admin-card span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #064e3b;
  background: rgba(34, 197, 94, 0.14);
  font-size: 12px;
  font-weight: 950;
}

.product-admin-card h3,
.product-admin-card p {
  margin: 8px 0 0;
}

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

.product-admin-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.product-admin-card dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
}

.product-admin-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-admin-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.product-admin-card button {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d6ada5;
  border-radius: 12px;
  color: #7d1f13;
  background: #fff2ef;
  font-weight: 900;
  cursor: pointer;
}

.legal-body {
  background: #f3f6f9;
}

.legal-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 44px) 80px;
}

.legal-brand {
  width: fit-content;
  margin-bottom: 26px;
  color: #101217;
  vertical-align: middle;
}

.legal-brand .brand-mark {
  color: #ffffff;
  background: #101217;
}

.legal-hero {
  padding: clamp(34px, 7vw, 72px);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 18%, rgba(34, 197, 94, 0.24), transparent 34%),
    #0f172a;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.legal-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.98;
}

.legal-hero p:not(.section-kicker) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.legal-card {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(16, 18, 23, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.07);
}

.legal-card h2 {
  margin: 30px 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

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

.legal-card p,
.legal-card li {
  color: #334155;
  font-size: 18px;
}

.legal-card a {
  color: #0f766e;
  font-weight: 900;
  text-decoration: underline;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 24px;
  padding: 22px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.legal-footer a {
  color: #0f766e;
  text-decoration: underline;
}

@keyframes gridDrift {
  to {
    background-position: 68px 68px;
  }
}

@keyframes livePulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(57, 193, 132, 0.1);
  }
  50% {
    box-shadow: 0 0 0 13px rgba(57, 193, 132, 0.22);
  }
}

@keyframes floatMessage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 1080px) {
  .hero-shell,
  .about-section,
  .orbit-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .automation-console,
  .orbit {
    max-width: 680px;
  }

  .metrics-section,
  .value-grid,
  .solution-grid,
  .timeline,
  .admin-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

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

  .calculator-result {
    position: static;
  }

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

  .website-calculator-body .option-grid:first-of-type {
    grid-template-columns: 1fr;
  }

  .website-calculator-body .calc-block {
    padding: 24px;
  }

  .website-calculator-body .calc-block-head {
    margin-bottom: 24px;
  }

  .calculator-body .calc-block {
    padding: 24px;
  }

  .calculator-body .calc-block-head {
    margin-bottom: 24px;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 72px;
    height: 72px;
    padding: 10px 12px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    background: #0b0f17;
    transform: none !important;
  }

  .calculator-header {
    position: fixed;
    inset: 0 0 auto;
  }

  .brand {
    min-width: 0;
    font-size: 18px;
  }

  .brand span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }

  nav {
    display: none;
  }

  .mobile-menu-nav {
    display: grid;
  }

  .header-action {
    width: auto;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .site-header > .language-switcher {
    display: none;
  }

  .mobile-menu .language-switcher {
    display: inline-flex;
  }

  .mobile-menu-toggle {
    display: block;
    flex: 0 0 44px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    min-height: auto;
    padding: 118px 18px 64px;
  }

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

  .hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 11vw, 52px);
    line-height: 1;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .hero h1 span {
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .automation-console {
    min-height: auto;
  }

  .pipeline,
  .metrics-section,
  .value-grid,
  .solution-grid,
  .timeline,
  .gallery-section {
    grid-template-columns: 1fr;
  }

  .orbit {
    min-height: 360px;
  }

  .orbit-item {
    min-width: 104px;
    min-height: 48px;
    font-size: 13px;
  }

  .section {
    padding-block: 76px;
  }

  .gallery-section {
    padding-bottom: 76px;
  }

  .gallery-head,
  .admin-panel-head,
  .calculator-cta {
    align-items: start;
    flex-direction: column;
  }

  .contact-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
  }

  .contact-info {
    display: contents;
  }

  .contact-info > .section-kicker,
  .contact-info > h2,
  .contact-info > p:first-of-type,
  .after-request {
    order: 1;
  }

  .contact-lead-form {
    order: 2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-info dl,
  .policy-note {
    order: 3;
  }

  .after-request,
  .task-card-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px 24px;
    border-radius: 24px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .lead-form *,
  .lead-form *::before,
  .lead-form *::after {
    box-sizing: border-box;
  }

  .lead-form .field,
  .lead-form fieldset,
  .lead-form input,
  .lead-form textarea,
  .lead-form button,
  .task-card-grid,
  .task-card-grid button,
  .privacy-check,
  .calculator-summary-card {
    width: 100%;
    max-width: 100%;
  }

  .field,
  .task-type-field {
    gap: 7px;
    font-size: 15px;
  }

  input,
  select,
  textarea {
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  textarea {
    min-height: 140px;
  }

  .task-card-grid button {
    padding: 14px 42px 14px 14px;
  }

  .calculator-summary-card {
    padding: 16px;
    border-radius: 18px;
    font-size: 14px;
  }

  .calculator-summary-card div {
    grid-template-columns: 1fr;
  }

  .contact-lead-form .cta-button {
    width: 100%;
    max-width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 0 16px;
    border: 0;
    border-radius: 16px;
    font-size: 0;
    white-space: nowrap;
  }

  .contact-lead-form .cta-button::before {
    content: "Получить точный расчет";
    font-size: 16px;
  }

  .form-note {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .gallery-slide {
    min-width: 86vw;
  }

  .gallery-image-button {
    min-height: 300px;
    padding: 14px;
    border-radius: 18px;
  }

  .gallery-slide img {
    max-height: 72vh;
    border-radius: 16px;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .gallery-lightbox-prev {
    left: 6px;
  }

  .gallery-lightbox-next {
    right: 6px;
  }

  .admin-gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .product-form-wide {
    grid-column: auto;
  }

  .legal-page {
    padding-inline: 16px;
  }

  .legal-hero,
  .legal-card {
    border-radius: 18px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 16px;
  }

  .option-grid,
  .module-grid,
  .complexity-list {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .website-calculator-body .calc-block {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 22px;
    overflow: hidden;
  }

  .website-calculator-body .calc-block-head {
    gap: 12px;
    margin-bottom: 20px;
  }

  .website-calculator-body .calc-block-head span {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .website-calculator-body .option-grid,
  .website-calculator-body .module-grid,
  .website-calculator-body .complexity-list {
    gap: 16px;
  }

  .calculator-body .calc-block {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 22px;
    overflow: hidden;
  }

  .calculator-body .calc-block-head {
    gap: 12px;
    margin-bottom: 20px;
  }

  .calculator-body .calc-block-head span {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .calculator-body .option-grid,
  .calculator-body .module-grid,
  .calculator-body .complexity-list {
    gap: 16px;
  }

  .calculator-body {
    padding-bottom: 130px;
  }

  .calculator-hero {
    padding: 118px 18px 54px;
  }

  .calculator-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 11.6vw, 54px);
    line-height: 1;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .calculator-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .calculator-layout {
    width: 100%;
    max-width: 100%;
    padding: 24px 12px 120px;
    overflow-x: hidden;
  }

  .calc-block-head h2 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.05;
  }

  .calc-option,
  .module-grid label,
  .complexity-list label {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 110px;
    padding: 20px 54px 20px 20px;
    border-radius: 18px;
    overflow: hidden;
    transform: none;
  }

  .calc-option:hover,
  .module-grid label:hover,
  .complexity-list label:hover {
    transform: none;
  }

  .calc-option:has(input:checked),
  .module-grid label:has(input:checked),
  .complexity-list label:has(input:checked) {
    transform: none;
  }

  .calc-option::after,
  .module-grid label::after,
  .complexity-list label::after {
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
  }

  .calculator-result {
    display: none;
  }

  .mobile-result-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 999;
    display: flex;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: 18px;
    color: #ffffff;
    background: #0b0f17;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
  }

  .mobile-result-bar strong {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.15;
  }

  .mobile-result-bar a {
    min-height: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 14px;
    color: #07111f;
    background: #22c55e;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
  }

  .calculator-faq-section {
    padding: 28px 16px 76px;
  }

  .calc-faq-item summary {
    min-height: 68px;
    padding: 18px 60px 18px 18px;
    font-size: 17px;
  }

  .calc-faq-item p {
    padding: 0 18px 20px;
    font-size: 16px;
  }

  .calculator-final-cta {
    padding: 64px 16px 96px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding-inline: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 17px;
  }

  .header-action {
    padding-inline: 12px;
    font-size: 13px;
  }

  .mobile-menu {
    inset: 72px 10px auto;
  }

  .hero-shell {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 48px);
  }

  .calculator-hero h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .calculator-layout {
    padding-inline: 10px;
  }

  .mobile-result-bar {
    left: 10px;
    right: 10px;
    max-width: calc(100vw - 20px);
    gap: 8px;
  }

  .mobile-result-bar strong {
    font-size: 14px;
  }

  .mobile-result-bar a {
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (max-width: 370px) {
  .brand span:last-child {
    max-width: 138px;
  }

  .header-action {
    padding-inline: 10px;
  }
}
