:root {
  --red: #e30613;
  --red-dark: #b8000a;
  --red-soft: #fff0f1;
  --ink: #111214;
  --ink-soft: #2c2f34;
  --muted: #656970;
  --surface: #f6f6f3;
  --surface-strong: #ecece7;
  --white: #ffffff;
  --line: #dedfd9;
  --success: #18794e;
  --shadow-sm: 0 8px 28px rgba(17, 18, 20, 0.07);
  --shadow-md: 0 20px 60px rgba(17, 18, 20, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 88px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.45rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

::selection {
  color: var(--white);
  background: var(--red);
}

[hidden] {
  display: none !important;
}

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

.section {
  padding-block: clamp(76px, 9vw, 132px);
}

.section--tight {
  padding-block: clamp(58px, 7vw, 94px);
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  color: var(--white);
  background: var(--ink);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(42px, 6vw, 74px);
  text-align: center;
}

.section-heading--left {
  max-width: 690px;
  margin-inline: 0;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 20px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.section--dark .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 9px 24px rgba(227, 6, 19, 0.18);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  box-shadow: 0 12px 30px rgba(184, 0, 10, 0.24);
  transform: translateY(-2px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.28);
  outline-offset: 3px;
}

.button--secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.button--secondary:hover {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: transparent;
  box-shadow: none;
}

.button--ghost:hover {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.button--small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.button--wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  font-weight: 750;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(17, 18, 20, 0.08);
}

.topbar {
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
}

.topbar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  margin: 0;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar a {
  text-decoration: none;
}

.topbar a:hover {
  color: var(--white);
}

.nav-shell {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

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

.primary-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav ul a {
  position: relative;
  display: block;
  padding: 12px 10px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 760;
  text-decoration: none;
}

.primary-nav ul a::after {
  position: absolute;
  right: 10px;
  bottom: 7px;
  left: 10px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav ul a:hover::after,
.primary-nav ul a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav ul a.active {
  color: var(--red);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 8vw, 118px) clamp(84px, 10vw, 140px);
  background:
    radial-gradient(circle at 80% 12%, rgba(227, 6, 19, 0.1), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fafaf8 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(17, 18, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 20, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
}

.hero__copy {
  min-width: 0;
  max-width: 730px;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 26px;
}

.hero h1 .accent {
  color: var(--red);
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-list li::before {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  content: "✓";
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-card {
  position: relative;
  min-width: 0;
  min-height: 520px;
  padding: 28px;
  border: 1px solid rgba(17, 18, 20, 0.08);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
}

.hero-card::before {
  top: -70px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: var(--red);
  opacity: 0.86;
}

.hero-card::after {
  bottom: -90px;
  left: -80px;
  width: 220px;
  height: 220px;
  border: 45px solid rgba(255, 255, 255, 0.09);
}

.hero-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
  color: var(--white);
}

.hero-card__header strong {
  font-size: 1.05rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pill::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: #6ee7a8;
  box-shadow: 0 0 0 4px rgba(110, 231, 168, 0.14);
}

.hero-card__main {
  display: grid;
  gap: 14px;
}

.dashboard-item {
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  grid-template-columns: 46px 1fr auto;
}

.dashboard-item__icon {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--red);
}

.dashboard-item span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-item strong {
  display: block;
  margin-top: 2px;
  font-size: 0.98rem;
}

.dashboard-item__check {
  color: #6ee7a8;
  font-size: 1.25rem;
  font-weight: 900;
}

.hero-card__quote {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 20px;
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
}

.hero-card__quote p {
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 820;
  line-height: 1.3;
}

.hero-card__quote span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Page hero and breadcrumbs */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--surface);
}

.page-hero::after {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(227, 6, 19, 0.08);
  border-radius: 50%;
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs span[aria-hidden="true"] {
  color: #a4a6aa;
}

/* Cards and grids */
.services-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.service-card::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border: 26px solid var(--red-soft);
  border-radius: 50%;
  content: "";
  transition: transform 220ms ease;
}

.service-card:hover {
  border-color: rgba(227, 6, 19, 0.26);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.service-card:hover::after {
  transform: scale(1.16);
}

.service-card__number {
  margin-bottom: 52px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-card h3 {
  max-width: 270px;
  margin-bottom: 14px;
}

.service-card p {
  margin-bottom: 28px;
  color: var(--muted);
}

.service-card .text-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

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

.value-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.value-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: var(--red);
  font-size: 1.15rem;
  font-weight: 900;
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.audience-strip {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.audience-strip span {
  display: grid;
  min-height: 100px;
  place-items: center;
  padding: 18px;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

/* Process */
.process-grid {
  display: grid;
  gap: 28px;
  counter-reset: steps;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
  position: relative;
  padding-top: 88px;
  counter-increment: steps;
}

.process-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  content: counter(steps, decimal-leading-zero);
  background: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 30px;
  left: 82px;
  width: calc(100% - 62px);
  height: 1px;
  content: "";
  background: var(--line);
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Split content */
.split-grid {
  display: grid;
  align-items: start;
  gap: clamp(46px, 8vw, 104px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split-grid--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-copy h2 {
  margin-bottom: 22px;
}

.split-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list,
.feature-list,
.plain-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 15px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 720;
}

.check-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  content: "✓";
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.info-panel {
  padding: clamp(28px, 5vw, 50px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.info-panel h2,
.info-panel h3 {
  color: var(--white);
}

.info-panel p {
  color: rgba(255, 255, 255, 0.67);
}

.info-panel .check-list li::before {
  color: var(--red);
  background: var(--white);
}

.feature-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: var(--white);
}

.feature-list li::before {
  color: var(--red);
  content: "✓";
  font-weight: 900;
}

/* Service detail */
.service-detail-grid {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: minmax(0, 1fr) 340px;
}

.service-detail-copy > p:first-of-type {
  color: var(--muted);
  font-size: 1.15rem;
}

.service-detail-copy h2 {
  margin-top: 54px;
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.service-sidebar {
  position: sticky;
  top: 146px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.service-sidebar h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.service-sidebar p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-sidebar .button {
  width: 100%;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 750;
}

/* Pricing table */
.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.pricing-table thead th {
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table tbody tr:hover {
  background: var(--red-soft);
}

.pricing-table td:last-child,
.pricing-table th:last-child {
  font-weight: 850;
  text-align: right;
}

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

.addon-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.addon-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.addon-card strong {
  display: block;
  color: var(--red);
  font-size: 1.4rem;
}

/* Calculator */
.calculator {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 86px);
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
}

.calculator__intro {
  position: sticky;
  top: 146px;
}

.calculator__intro h2 {
  margin-bottom: 20px;
}

.calculator__intro > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 17px;
  border-radius: 16px;
}

.notice--soft {
  color: var(--ink-soft);
  background: var(--red-soft);
}

.notice__icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.notice p {
  margin: 0;
  font-size: 0.9rem;
}

.calculator__panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
}

.calculator-form {
  display: grid;
  align-content: start;
  gap: 22px 18px;
  padding: clamp(25px, 4vw, 38px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  min-width: 0;
}

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

.field label,
.field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.87rem;
  font-weight: 800;
}

.field small,
.check-option small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input,
select {
  min-height: 50px;
  padding: 11px 13px;
}

textarea {
  min-height: 120px;
  padding: 13px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b8bab4;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.08);
  outline: none;
}

input[readonly],
textarea[readonly] {
  color: var(--muted);
  background: var(--surface);
}

.input-suffix {
  position: relative;
}

.input-suffix input {
  padding-right: 84px;
}

.input-suffix span {
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateY(-50%);
  pointer-events: none;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.check-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.check-option__box {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.check-option input:checked + .check-option__box {
  border-color: var(--red);
  background: var(--red);
}

.check-option input:checked + .check-option__box::after {
  color: var(--white);
  content: "✓";
  font-size: 0.76rem;
  font-weight: 900;
}

.check-option input:focus-visible + .check-option__box {
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.14);
}

.check-option strong {
  display: block;
  font-size: 0.9rem;
}

.calculator-result {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(25px, 4vw, 36px);
  color: var(--white);
  background: var(--ink);
}

.calculator-result__label {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-result__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 25px;
}

.calculator-result__price strong {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.calculator-result__price span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
}

.price-breakdown {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.price-breakdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.83rem;
}

.price-breakdown span {
  color: rgba(255, 255, 255, 0.62);
}

.price-breakdown strong {
  color: var(--white);
}

.one-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
}

.one-time span {
  color: rgba(255, 255, 255, 0.65);
}

.calculator-result .button {
  margin-top: auto;
}

.calculator-result__note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

/* FAQ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 54px 24px 0;
  font-weight: 820;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  content: "+";
  font-size: 1.2rem;
  transform: translateY(-50%);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.faq-list details[open] summary::after {
  color: var(--white);
  background: var(--red);
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  padding: 0 56px 24px 0;
  color: var(--muted);
}

/* CTA */
.cta-panel {
  position: relative;
  display: grid;
  align-items: center;
  gap: 30px;
  padding: clamp(34px, 7vw, 70px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--red);
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-panel::after {
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border: 64px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.cta-panel__copy,
.cta-panel__actions {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--white);
}

.cta-panel p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cta-panel .button--secondary {
  border-color: var(--white);
}

/* Contact */
.contact-layout {
  display: grid;
  align-items: start;
  gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

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

.contact-card,
.profile-card,
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.contact-card,
.profile-card {
  padding: 28px;
}

.contact-card h2,
.profile-card h2 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  display: grid;
  gap: 2px;
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-weight: 750;
}

.contact-list a {
  color: var(--red);
  text-decoration: none;
}

.profile-placeholder {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 24px;
  color: var(--white);
  background: var(--ink);
  font-size: 1.4rem;
  font-weight: 900;
}

.profile-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-details div {
  display: grid;
  gap: 3px;
}

.profile-details dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.contact-form-card {
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-sm);
}

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

.check-option--consent {
  color: var(--muted);
  font-size: 0.84rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Useful links */
.resource-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover {
  border-color: rgba(227, 6, 19, 0.28);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.resource-card__domain {
  margin-bottom: 34px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.resource-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-card .text-link {
  margin-top: auto;
}

/* Footer */
.site-footer {
  padding-top: clamp(64px, 8vw, 98px);
  color: rgba(255, 255, 255, 0.65);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  gap: 42px;
  padding-bottom: clamp(48px, 7vw, 76px);
  grid-template-columns: 1.45fr 1fr 0.85fr 1fr;
}

.footer-logo {
  display: inline-flex;
  max-width: 220px;
  margin-bottom: 23px;
  padding: 14px;
  border-radius: 15px;
  background: var(--white);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-brand p {
  max-width: 310px;
  margin-bottom: 0;
}

.footer-heading {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.94rem;
  letter-spacing: 0.03em;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.footer-contact a:first-child {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 820;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

/* Error page */
.error-page {
  display: grid;
  min-height: 62vh;
  place-items: center;
  padding-block: 80px;
  text-align: center;
}

.error-page__code {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.error-page h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.error-page p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1080px) {
  :root {
    --header-height: 76px;
  }

  .topbar {
    display: none;
  }

  .brand img {
    width: 188px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 26px;
    padding: 32px 20px;
    overflow-y: auto;
    background: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .primary-nav ul {
    display: grid;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav ul a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .primary-nav ul a::after {
    display: none;
  }

  .primary-nav .button {
    width: 100%;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

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

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

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

  .calculator__intro {
    position: static;
  }

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

  .footer-grid > div:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 860px) {
  .hero__grid,
  .split-grid,
  .split-grid--reverse,
  .contact-layout,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: min(100%, 560px);
    min-height: 470px;
  }

  .service-sidebar {
    position: static;
  }

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

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

  .calculator-result {
    min-height: auto;
  }

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

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

  .cta-panel__actions {
    justify-content: flex-start;
  }
}

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

  .section {
    padding-block: 70px;
  }

  .nav-shell {
    min-height: 72px;
  }

  .brand img {
    width: 154px;
  }

  .primary-nav {
    top: 72px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10.6vw, 3.2rem);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
    max-width: 100%;
  }

  .hero__actions .button {
    white-space: normal;
  }

  .trust-list {
    display: grid;
  }

  .hero-card {
    min-height: 460px;
    padding: 20px;
    border-radius: 24px;
  }

  .dashboard-item {
    padding: 14px;
    grid-template-columns: 40px 1fr;
  }

  .dashboard-item__icon {
    width: 40px;
    height: 40px;
  }

  .dashboard-item__check {
    display: none;
  }

  .hero-card__quote {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .services-grid,
  .values-grid,
  .resource-grid,
  .addon-grid,
  .process-grid,
  .audience-strip {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 285px;
  }

  .process-step {
    padding-top: 0;
    padding-left: 72px;
  }

  .process-step::before {
    width: 52px;
    height: 52px;
  }

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

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

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

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

  .cta-panel__actions,
  .cta-panel__actions .button {
    width: 100%;
  }

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

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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


/* Contact form delivery */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status.is-success {
  color: var(--success);
  font-weight: 750;
}

.form-status.is-error {
  color: var(--red-dark);
  font-weight: 750;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}


/* Privacy page */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.legal-content {
  max-width: 820px;
}

.legal-content > :last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  margin: 54px 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

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

.legal-content h3 {
  margin: 30px 0 12px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--red-dark);
  font-weight: 700;
}

.legal-note {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.legal-meta {
  position: sticky;
  top: 118px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-meta h2 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.legal-meta dl {
  margin: 0;
}

.legal-meta div + div {
  margin-top: 16px;
}

.legal-meta dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-meta dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.legal-meta a {
  color: var(--red-dark);
}

.check-option--consent a {
  color: var(--red-dark);
  font-weight: 800;
}

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-meta {
    position: static;
    order: -1;
  }
}

/* Pricing cards: package prices below the description */
.pricing-card {
  min-height: 330px;
}

.pricing-card h3 {
  margin-top: 4px;
}

.pricing-card p {
  margin-bottom: 22px;
}

.pricing-card__price {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.pricing-card__price strong {
  color: var(--red);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.pricing-card__price span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .pricing-card {
    min-height: 270px;
  }

  .pricing-card__price {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

/* Hinnakirja selgitavad märkused */
.text-small,
.pricing-table-note {
  color: var(--color-muted, #62666f);
  font-size: 0.92rem;
  line-height: 1.65;
}

.pricing-table-note {
  margin: 0.85rem 0 0;
}
