:root {
  --bg: #f7f8f7;
  --surface: #ffffff;
  --surface-soft: #f3f5f4;
  --line: #e1e6e3;
  --line-strong: #d5ded9;
  --text: #111827;
  --muted: #6a6a6a;
  --brand: #104a39;
  --brand-rgb: 16, 74, 57;
  --header-height: 76px;
  --container: 1340px;
  --radius: 8px;
  --shadow-soft: 0 20px 58px rgba(17, 24, 39, 0.08);
  --shadow-product: 0 30px 80px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  cursor: pointer;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.page-shell {
  overflow-x: clip;
}

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@keyframes product-phone-float {
  0%,
  100% {
    transform: translateY(0) rotateY(-22deg) rotateZ(1.4deg);
  }

  50% {
    transform: translateY(-12px) rotateY(-22deg) rotateZ(1.4deg);
  }
}

.section-reveal .reveal-card,
.section-reveal .section-heading,
.section-reveal .section-copy,
.section-reveal .hero-copy,
.section-reveal .hero-product,
.section-reveal .trust-strip {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.section-reveal.is-visible .reveal-card,
.section-reveal.is-visible .section-heading,
.section-reveal.is-visible .section-copy,
.section-reveal.is-visible .hero-copy,
.section-reveal.is-visible .hero-product,
.section-reveal.is-visible .trust-strip {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(225, 230, 227, 0.9);
  backdrop-filter: blur(18px);
}

.nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 800;
}

.brand span {
  color: inherit;
}

.brand-icon {
  width: 34px;
  height: 34px;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  justify-self: center;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  color: inherit;
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.nav-cta {
  justify-self: end;
  min-height: 44px;
  padding-inline: 20px;
  font-size: 0.82rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 700;
  background: transparent;
  color: var(--text);
  transition:
    transform 170ms ease,
    background-color 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.main-nav a:focus-visible {
  outline: 2px solid rgba(var(--brand-rgb), 0.26);
  outline-offset: 3px;
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-ghost {
  color: var(--text);
}

.button svg,
.hero-benefits svg,
.check-list svg,
.module-card svg,
.process-icon svg,
.cta-points svg,
.recaptcha-note svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  padding: 78px 0 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 46%, rgba(255, 255, 255, 0.4) 100%),
    radial-gradient(circle at 78% 26%, rgba(var(--brand-rgb), 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f8f7 100%);
  overflow: hidden;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(540px, 0.8fr) minmax(620px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: calc(100svh - var(--header-height) - 174px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.hero h1,
.section-copy h2,
.section-heading h2,
.cta-copy h2 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 660px;
  font-size: 3.28rem;
  line-height: 1.1;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  max-width: 520px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.68;
}

.hero-lead strong {
  font-size: 1.08rem;
  line-height: 1.4;
}

.hero-lead span {
  color: var(--muted);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.hero-benefits svg {
  color: var(--brand);
  width: 22px;
  height: 22px;
}

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

.hero-button {
  min-width: 220px;
}

.hero-product {
  position: relative;
  min-height: 620px;
  perspective: 1400px;
}

.product-laptop {
  position: absolute;
  right: -105px;
  top: 18px;
  width: min(790px, 66vw);
  padding: 14px;
  border-radius: 18px;
  background: #161616;
  box-shadow: var(--shadow-product);
}

.product-laptop::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -18px;
  height: 18px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #d8dde0, #bfc6cb);
}

.product-laptop img {
  border-radius: 8px;
  border: 1px solid #0f1714;
}

.product-phone {
  position: absolute;
  left: 585px;
  top: 10px;
  width: 252px;
  padding: 10px;
  border-radius: 32px;
  background: #111111;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.22);
  transform: rotateY(-22deg) rotateZ(1.4deg);
  transform-origin: 78% 50%;
  transform-style: preserve-3d;
  z-index: 2;
  animation: product-phone-float 5.2s ease-in-out infinite;
}

.product-phone img {
  border-radius: 24px;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  padding-top: 34px;
  color: var(--muted);
  text-align: center;
}

.trust-strip > span {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.municipality-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  opacity: 0.9;
}

.trust-strip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  font-size: 0.82rem;
}

.section {
  padding: 86px 0;
}

.overview-section {
  background: #ffffff;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.55fr) minmax(620px, 1fr);
  gap: 72px;
  align-items: center;
}

.section-copy {
  max-width: 520px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-copy h2,
.section-heading h2,
.cta-copy h2 {
  font-size: 2.2rem;
  line-height: 1.15;
}

.section-copy p,
.section-heading p,
.cta-copy p {
  margin: 22px 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
}

.check-list,
.cta-points {
  display: grid;
  gap: 18px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.95rem;
}

.check-list li,
.cta-points li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list svg,
.cta-points svg {
  flex: 0 0 auto;
  color: var(--brand);
}

.cms-showcase {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.modules-section {
  background: var(--bg);
}

.section-heading.centered {
  margin: 0 auto 36px;
  text-align: center;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.module-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon text";
  gap: 6px 14px;
  min-height: 126px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.module-card:nth-child(5n) {
  border-right: 0;
}

.module-card:nth-last-child(-n + 5) {
  border-bottom: 0;
}

.module-card svg {
  grid-area: icon;
  margin-top: 2px;
  color: var(--brand);
}

.module-card strong {
  grid-area: title;
  font-size: 0.95rem;
}

.module-card span {
  grid-area: text;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.process-section {
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
  margin-top: 34px;
}

.process-card {
  position: relative;
  display: grid;
  grid-template-rows: 68px 20px 40px auto;
  align-content: start;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  left: calc(50% + 44px);
  width: calc(100% - 36px);
  border-top: 1px dashed #b9c4be;
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.process-card h3 {
  margin: 0;
  align-self: center;
  font-size: 0.98rem;
}

.process-card p {
  margin: 0;
  align-self: start;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.cta-section {
  background: #ffffff;
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 58px 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.94)),
    var(--surface-soft);
  box-shadow: 0 18px 54px rgba(17, 24, 39, 0.06);
}

.cta-form-card {
  padding: 0;
}

.contact-form-inline {
  display: grid;
  gap: 18px;
}

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

.cta-form-grid label {
  display: grid;
  gap: 8px;
}

.cta-form-grid label > span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.cta-form-grid input,
.cta-form-grid textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
}

.cta-form-grid input::placeholder,
.cta-form-grid textarea::placeholder {
  color: #9aa3aa;
}

.cta-form-grid input:focus,
.cta-form-grid textarea:focus {
  outline: none;
  border-color: rgba(var(--brand-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.12);
}

.cta-form-grid textarea {
  min-height: 118px;
  resize: none;
}

.field-span-full {
  grid-column: 1 / -1;
}

.form-footer {
  display: grid;
  gap: 12px;
}

.cta-submit {
  width: 100%;
  min-height: 54px;
}

.recaptcha-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-status-inline {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.form-status-inline[hidden] {
  display: none !important;
}

.form-status-inline h3,
.form-status-inline p {
  margin: 0;
}

.form-status-inline[data-state="success"] {
  border-color: rgba(var(--brand-rgb), 0.22);
  background: #f2faf6;
}

.form-status-inline[data-state="error"] {
  border-color: rgba(185, 65, 65, 0.2);
  background: #fff6f6;
}

.site-footer {
  padding: 26px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.grecaptcha-badge {
  visibility: hidden;
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 20px;
  }

  .hero-layout,
  .split-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-product {
    min-height: 560px;
  }

  .product-laptop {
    right: -70px;
    top: 18px;
    width: min(760px, 88vw);
  }

  .product-phone {
    left: 470px;
    top: 12px;
    width: 232px;
  }

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

  .module-card:nth-child(n) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .module-card:nth-child(2n) {
    border-right: 0;
  }

  .module-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .process-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

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

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

  .brand {
    font-size: 1.05rem;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .main-nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-layout {
    gap: 34px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .hero-product {
    min-height: 470px;
  }

  .product-laptop {
    right: -240px;
    top: 18px;
    width: 680px;
  }

  .product-phone {
    left: 355px;
    top: 20px;
    width: 204px;
  }

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

  .section {
    padding: 64px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .cta-copy h2 {
    font-size: 1.9rem;
  }

  .cta-layout {
    padding: 34px 24px;
  }

}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-product {
    min-height: 390px;
  }

  .product-laptop {
    right: -270px;
    width: 610px;
  }

  .product-phone {
    width: 166px;
    left: 225px;
    top: 30px;
  }

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

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

  .module-card:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .module-card:last-child {
    border-bottom: 0;
  }

  .field-span-full {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
