:root {
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --text: #0c151a;
  --muted: #606b72;
  --line: #d9e0e3;
  --accent: #ff392e;
  --accent-dark: #d92920;
  --teal: #004f50;
  --teal-2: #087074;
  --yellow: #f5c400;
  --shadow: 0 20px 60px rgba(16, 24, 28, 0.12);
  --max: 1376px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal {
  opacity: 1;
  transform: translateY(18px);
  transition:
    transform 520ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 86px;
  padding: 0 44px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 224, 227, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.brand strong {
  color: var(--accent);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  font-size: 16px;
  font-weight: 700;
}

.main-nav a,
.site-footer nav a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer nav a:hover {
  color: var(--accent);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.header-cta:hover,
.button-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button-secondary {
  background: #ffffff;
  color: var(--text);
  border-color: #101820;
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(650px, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  max-width: 100%;
  min-height: 780px;
  padding: 66px 0 34px 46px;
  overflow: hidden;
  background: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 650px;
  padding-bottom: 18px;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: 68px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-copy > p {
  max-width: 570px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 58px 0 0;
}

.proof-grid div {
  min-width: 0;
}

.proof-grid dt {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 850;
}

.proof-grid dt svg {
  color: var(--accent);
}

.proof-grid div:nth-child(2) svg {
  color: var(--teal-2);
}

.proof-grid div:nth-child(3) svg {
  color: var(--yellow);
}

.proof-grid dd {
  margin: 12px 0 0 38px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 650px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.02);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 100%);
}

.task-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 52px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.task-strip h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.task-icons {
  display: flex;
  gap: 80px;
}

.task-icons span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--teal-2);
}

.task-icons span:nth-child(1),
.task-icons span:nth-child(4) {
  color: var(--accent);
}

.section,
.proposal-section,
.comparison,
.case-section,
.process-section,
.trust-section,
.price-section,
.packages-section,
.faq-section,
.brief-section,
.contact-section,
.site-footer {
  width: min(calc(100% - 88px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

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

h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
}

p {
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
li,
dt,
dd,
a,
button {
  overflow-wrap: break-word;
}

.section-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.services-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  margin-top: 54px;
}

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

.service-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px 18px;
}

.service-item span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

.service-item h3 {
  align-self: center;
}

.service-item p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.workbench {
  position: relative;
  min-height: 500px;
}

.browser-preview,
.code-panel,
.metric-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.browser-preview {
  top: 4px;
  right: 0;
  width: 72%;
  overflow: hidden;
}

.browser-dots {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.browser-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8d0d3;
}

.preview-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  min-height: 230px;
  padding: 28px;
  background: linear-gradient(110deg, #ffffff 0%, #f1f5f6 100%);
}

.preview-content p {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.16;
}

.preview-content button {
  min-height: 36px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--teal);
  border: 0;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
}

.preview-product {
  height: 146px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(circle at 64% 28%, #d9dfdf 0 20%, transparent 21%),
    linear-gradient(90deg, #9b7a57 0 11%, transparent 12% 88%, #9b7a57 89%),
    linear-gradient(#c3c9ca, #f2f3f3);
  border-radius: 6px;
}

.code-panel {
  right: 22%;
  bottom: 24px;
  width: 54%;
  padding: 24px;
  background: #10191d;
  color: #d9f3ef;
}

.code-panel pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.55;
}

.note {
  position: absolute;
  z-index: 3;
  width: 116px;
  min-height: 104px;
  padding: 16px;
  background: #ffe168;
  color: #46390a;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
  box-shadow: 0 12px 24px rgba(54, 45, 5, 0.14);
  transform: rotate(5deg);
}

.note-goal {
  top: 46px;
  left: 10%;
}

.metric-card {
  right: 6%;
  bottom: 0;
  width: 190px;
  padding: 24px;
}

.metric-card strong {
  display: block;
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.proposal-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 62px;
  align-items: center;
  padding: 86px 0 58px;
  border-top: 1px solid var(--line);
}

.proposal-copy p {
  max-width: 530px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.proposal-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 0;
  margin: 72px 0 0;
  list-style: none;
}

.proposal-points li::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-bottom: 20px;
  background: var(--accent);
}

.proposal-points strong,
.proposal-points span {
  display: block;
}

.proposal-points strong {
  font-size: 16px;
  line-height: 1.25;
}

.proposal-points span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.proposal-image {
  margin: 0;
}

.proposal-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.comparison {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 60px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 66px;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.comparison-row span:first-child {
  border-right: 1px solid var(--line);
}

.comparison-head span {
  background: var(--teal);
  color: #ffffff;
  font-weight: 850;
}

.comparison-head span + span {
  background: var(--bg-soft);
  color: var(--text);
}

.comparison b {
  color: var(--teal-2);
  font-size: 18px;
}

.comparison span + span b {
  color: var(--accent);
}

.portfolio-section {
  padding-top: 72px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
  margin-top: 44px;
}

.portfolio-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.portfolio-card h3::after {
  content: "→";
  color: var(--accent);
  font-size: 24px;
  font-weight: 500;
}

.portfolio-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.case-section {
  padding: 78px 0 88px;
  border-top: 1px solid var(--line);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.case-card {
  display: grid;
  min-height: 520px;
  align-content: start;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 247, 248, 0.7), rgba(255, 255, 255, 0)),
    #ffffff;
}

.case-card-accent {
  background:
    linear-gradient(145deg, rgba(255, 57, 46, 0.08), rgba(8, 112, 116, 0.08)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(16, 24, 28, 0.08);
}

.case-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.case-topline strong {
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
}

.case-card h3 {
  max-width: 520px;
  font-size: 26px;
  line-height: 1.18;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.case-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--text);
  list-style: none;
}

.case-points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.case-points li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.case-meta span {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
}

.case-actions .button {
  min-height: 48px;
  padding: 0 18px;
  font-size: 14px;
}

.case-link {
  color: var(--accent);
  font-size: 15px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-link:hover {
  color: var(--accent-dark);
}

.site-shot {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 28, 0.08);
}

.site-shot span {
  font-size: 13px;
  font-weight: 800;
}

.site-shot strong {
  max-width: 230px;
  font-size: 22px;
  line-height: 1.2;
}

.shot-landing,
.shot-company {
  color: #ffffff;
  background:
    linear-gradient(rgba(0, 20, 22, 0.3), rgba(0, 37, 39, 0.75)),
    linear-gradient(130deg, #101820, #004f50 58%, #1b2b2e);
}

.shot-company {
  background:
    linear-gradient(rgba(0, 20, 22, 0.25), rgba(0, 37, 39, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 34px),
    linear-gradient(130deg, #0d181b, #004f50);
}

.shot-shop {
  color: var(--text);
  background:
    radial-gradient(circle at 72% 48%, #e3d6c7 0 18%, transparent 19%),
    linear-gradient(110deg, #ffffff, #f4f6f7);
}

.shot-service {
  color: var(--text);
  background:
    linear-gradient(90deg, #e8eef0 0 26%, transparent 26%),
    radial-gradient(circle at 76% 56%, rgba(8, 112, 116, 0.24), transparent 22%),
    linear-gradient(#ffffff, #f5f7f8);
}

.shot-redesign {
  color: #ffffff;
  background:
    linear-gradient(rgba(12, 21, 26, 0.22), rgba(12, 21, 26, 0.76)),
    linear-gradient(135deg, #d9e0e3 0 28%, #ff392e 29% 36%, #004f50 37% 100%);
}

.process-section {
  padding: 74px 0 86px;
  border-top: 1px solid var(--line);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px;
  margin-top: 54px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: #a9b5ba;
}

.timeline article {
  position: relative;
  z-index: 1;
}

.timeline-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 24px;
  background: var(--teal);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(0, 79, 80, 0.24);
}

.timeline article span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 850;
}

.timeline article p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.trust-section {
  padding: 78px 0 88px;
  border-top: 1px solid var(--line);
}

.trust-head {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 72px;
  align-items: end;
}

.trust-head p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  margin-top: 44px;
}

.trust-panel {
  display: grid;
  align-content: start;
  gap: 28px;
  min-height: 520px;
  padding: 34px;
  border: 1px solid #10191d;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 79, 80, 0.32), rgba(255, 57, 46, 0.12)),
    #10191d;
  color: #ffffff;
  box-shadow: 0 24px 64px rgba(16, 24, 28, 0.18);
}

.trust-panel span {
  color: #7ee0d6;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.trust-panel h3 {
  max-width: 520px;
  font-size: 34px;
  line-height: 1.12;
}

.trust-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: #e6eeee;
  list-style: none;
}

.trust-panel li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 16px;
  line-height: 1.45;
}

.trust-panel li::before {
  content: "✓";
  color: #7ee0d6;
  font-weight: 900;
}

.trust-panel .button {
  align-self: end;
  justify-self: start;
  margin-top: auto;
}

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

.trust-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 246px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 247, 248, 0.78), rgba(255, 255, 255, 0)),
    #ffffff;
}

.trust-card svg {
  width: 42px;
  height: 42px;
  color: var(--teal);
}

.trust-card h3 {
  font-size: 23px;
  line-height: 1.18;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.price-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-section ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  color: var(--muted);
  list-style: none;
}

.price-section li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--accent);
}

.price-values {
  display: grid;
  gap: 26px;
  padding-left: 48px;
  border-left: 1px solid var(--line);
}

.price-values p {
  margin: 0;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.15;
}

.price-values p:first-child {
  color: var(--accent);
}

.price-values span {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 15px;
  text-transform: uppercase;
}

.packages-section {
  padding: 88px 0 70px;
}

.packages-head {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 72px;
  align-items: end;
}

.packages-head p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.package-card {
  display: grid;
  gap: 28px;
  align-content: space-between;
  min-height: 560px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.package-card-featured {
  background: #10191d;
  color: #ffffff;
  border-color: #10191d;
  box-shadow: 0 24px 64px rgba(16, 24, 28, 0.18);
}

.package-type {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.package-card-featured .package-type {
  color: #7ee0d6;
}

.package-card h3 {
  max-width: 330px;
  font-size: 28px;
  line-height: 1.15;
}

.package-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.package-card-featured p {
  color: #bdc9cc;
}

.package-card > strong {
  display: block;
  color: var(--accent);
  font-size: 34px;
  line-height: 1.1;
}

.package-card ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
}

.package-card-featured ul {
  color: #e6eeee;
}

.package-card li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.package-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

.faq-section {
  display: grid;
  gap: 44px;
  padding: 72px 0 84px;
  border-top: 1px solid var(--line);
}

.faq-head {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 72px;
  align-items: end;
}

.faq-head p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 28px;
  align-items: start;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 247, 248, 0.76), rgba(255, 255, 255, 0)),
    #ffffff;
}

.faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 20px 24px;
  color: var(--text);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.faq-list details p {
  max-width: 760px;
  margin: -4px 24px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.faq-cta {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 24px;
  padding: 30px;
  border: 1px solid #10191d;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 79, 80, 0.34), rgba(255, 57, 46, 0.12)),
    #10191d;
  color: #ffffff;
  box-shadow: 0 20px 54px rgba(16, 24, 28, 0.16);
}

.faq-cta span {
  color: #7ee0d6;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.faq-cta h3 {
  max-width: 380px;
  font-size: 30px;
  line-height: 1.14;
}

.faq-cta p {
  margin: 0;
  color: #d8e2e5;
  font-size: 16px;
  line-height: 1.55;
}

.faq-cta .button {
  justify-self: start;
}

.brief-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: start;
  padding: 76px 0 92px;
  border-top: 1px solid var(--line);
}

.brief-copy p {
  max-width: 440px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.brief-tool {
  display: grid;
  gap: 18px;
}

.quiz-form {
  align-self: start;
}

.quiz-progress {
  display: flex;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.brief-step,
.brief-result {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.brief-step h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.brief-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brief-options button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.brief-options button.is-selected {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.brief-options button:focus-visible {
  outline: 3px solid rgba(8, 112, 116, 0.18);
  outline-offset: 2px;
}

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

.quiz-contact-grid label:last-child {
  grid-column: 1 / -1;
}

.brief-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(8, 112, 116, 0.08), rgba(255, 57, 46, 0.06)),
    #ffffff;
}

.brief-result p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.brief-result .form-status {
  grid-column: 1 / -1;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
  padding: 90px 0;
}

.contact-copy {
  position: relative;
}

.contact-copy::before {
  content: "";
  display: block;
  width: 190px;
  height: 250px;
  margin: 0 0 38px;
  background:
    linear-gradient(110deg, transparent 0 40%, rgba(0, 79, 80, 0.12) 41%),
    radial-gradient(circle at 28% 18%, #427b4d 0 12%, transparent 13%),
    radial-gradient(circle at 44% 36%, #659c69 0 13%, transparent 14%),
    radial-gradient(circle at 26% 56%, #386f45 0 15%, transparent 16%),
    linear-gradient(#e7ecee, #ffffff);
  border-bottom: 1px solid var(--line);
}

.contact-copy p {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.contact-list {
  display: grid;
  gap: 22px;
  padding: 0;
  margin: 42px 0 0;
  color: var(--muted);
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-list svg {
  color: var(--teal);
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--teal);
}

.lead-form {
  align-self: end;
  display: grid;
  gap: 22px;
}

.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lead-form label {
  display: grid;
  gap: 10px;
  color: #3c474d;
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cdd6da;
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.lead-form input {
  min-height: 56px;
  padding: 0 18px;
}

.lead-form textarea {
  resize: vertical;
  min-height: 126px;
  padding: 16px 18px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--teal-2);
  box-shadow: 0 0 0 3px rgba(8, 112, 116, 0.12);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 6px;
}

.form-actions p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 15px;
  font-weight: 800;
}

.form-status[data-state="error"] {
  color: var(--accent);
}

.lead-form button[disabled] {
  cursor: progress;
  opacity: 0.72;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 72px;
  align-items: start;
  padding: 44px 0 54px;
  border-top: 1px solid var(--line);
}

.site-footer .brand {
  font-size: 28px;
}

.site-footer p,
.site-footer small {
  display: block;
  margin: 18px 0 0;
  color: var(--muted);
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 12px;
  font-style: normal;
  color: var(--muted);
  font-size: 15px;
}

.quick-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.quick-contact__panel {
  display: grid;
  width: min(300px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(217, 224, 227, 0.96);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(16, 24, 28, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  backdrop-filter: blur(16px);
}

.quick-contact.is-open .quick-contact__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.quick-contact__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
  transition:
    background 160ms ease,
    color 160ms ease;
}

.quick-contact__item:last-child {
  border-bottom: 0;
}

.quick-contact__item:hover {
  background: var(--bg-soft);
  color: var(--teal);
}

.quick-contact__item svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.quick-contact__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid #0c151a;
  background: #0c151a;
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(16, 24, 28, 0.22);
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  pointer-events: auto;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.quick-contact__toggle:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.legal-page {
  width: min(calc(100% - 88px), 900px);
  margin: 0 auto;
  padding: 86px 0 110px;
}

.legal-page h1 {
  margin: 0 0 28px;
  font-size: 54px;
  line-height: 1.1;
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 28px;
}

.legal-page p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-page a:not(.button),
.form-actions a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page .button {
  margin-top: 28px;
}

.thanks-page {
  min-height: calc(100vh - 86px);
  background:
    linear-gradient(145deg, rgba(8, 112, 116, 0.06), transparent 34%),
    #ffffff;
}

.thanks-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: center;
  width: min(calc(100% - 88px), var(--max));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 88px 0;
}

.thanks-mark {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 850;
}

.thanks-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: 68px;
  line-height: 1.08;
  letter-spacing: 0;
}

.thanks-hero p:not(.thanks-mark) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.5;
}

.thanks-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(8, 112, 116, 0.08), rgba(255, 57, 46, 0.05)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(16, 24, 28, 0.08);
}

.thanks-panel h2 {
  margin: 0 0 24px;
  font-size: 28px;
}

.thanks-panel ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.offer-page {
  width: min(calc(100% - 88px), var(--max));
  margin: 0 auto;
  padding: 76px 0 104px;
}

.offer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: stretch;
  padding: 34px 0 78px;
  border-bottom: 1px solid var(--line);
}

.offer-mark {
  margin: 0 0 24px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

.offer-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: 72px;
  line-height: 1.05;
}

.offer-hero p {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}

.offer-actions {
  margin-top: 38px;
}

.offer-panel {
  display: grid;
  gap: 22px;
  align-content: center;
  padding: 34px;
  border: 1px solid #10191d;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 79, 80, 0.34), rgba(255, 57, 46, 0.12)),
    #10191d;
  color: #ffffff;
  box-shadow: 0 24px 64px rgba(16, 24, 28, 0.18);
}

.offer-panel div {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.offer-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.offer-panel span {
  display: block;
  margin-bottom: 10px;
  color: #7ee0d6;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.offer-panel strong {
  display: block;
  font-size: 34px;
  line-height: 1.08;
}

.offer-section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.offer-section-head {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 42px;
}

.offer-section-head p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

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

.offer-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 247, 248, 0.78), rgba(255, 255, 255, 0)),
    #ffffff;
}

.offer-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 850;
}

.offer-grid h3 {
  font-size: 23px;
  line-height: 1.16;
}

.offer-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.offer-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.offer-table div {
  display: grid;
  grid-template-columns: 1fr 220px 160px;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 0 26px;
  border-top: 1px solid var(--line);
}

.offer-table div:first-child {
  border-top: 0;
}

.offer-table span {
  color: var(--text);
  font-size: 19px;
  font-weight: 850;
}

.offer-table strong {
  color: var(--accent);
  font-size: 22px;
}

.offer-table em {
  color: var(--muted);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.offer-split {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 64px;
  align-items: start;
}

.offer-steps {
  display: grid;
  gap: 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: offer-step;
}

.offer-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  counter-increment: offer-step;
}

.offer-steps li::before {
  content: counter(offer-step, decimal-leading-zero);
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: var(--teal);
  color: #ffffff;
  font-weight: 850;
}

.offer-steps strong,
.offer-steps span {
  display: block;
}

.offer-steps strong {
  font-size: 21px;
}

.offer-steps span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.offer-note {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(8, 112, 116, 0.08), rgba(255, 57, 46, 0.05)),
    #ffffff;
}

.offer-note h3 {
  font-size: 28px;
}

.offer-note ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.offer-note li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 16px;
  line-height: 1.45;
}

.offer-note li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

.offer-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  margin-top: 76px;
  padding: 36px;
  border: 1px solid #10191d;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 79, 80, 0.28), rgba(255, 57, 46, 0.12)),
    #10191d;
  color: #ffffff;
}

.offer-final h2 {
  color: #ffffff;
}

.offer-final p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #d8e2e5;
  font-size: 18px;
  line-height: 1.5;
}

.pdf-document {
  display: none;
}

.service-page {
  background: #ffffff;
}

.service-hero,
.service-section,
.service-band,
.service-cta {
  width: min(calc(100% - 88px), var(--max));
  margin: 0 auto;
}

.service-hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: end;
  padding: 92px 0 82px;
  border-bottom: 1px solid var(--line);
}

.service-hero h1 {
  max-width: 880px;
  margin: 20px 0 0;
  font-size: 68px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.service-hero p {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.back-link {
  color: var(--teal);
  font-size: 15px;
  font-weight: 850;
}

.service-facts {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(8, 112, 116, 0.08), rgba(255, 57, 46, 0.05)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(16, 24, 28, 0.08);
}

.service-facts p {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-facts span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.service-section {
  padding: 84px 0;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 38px;
}

.service-columns article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-columns p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.service-band {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-band ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
  font-size: 18px;
  line-height: 1.45;
}

.service-band li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--accent);
  font-weight: 900;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 76px 0 96px;
}

.service-cta h2 {
  max-width: 720px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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

@media (max-width: 1180px) {
  .site-header {
    gap: 22px;
    padding: 0 28px;
  }

  .main-nav {
    gap: 24px;
  }

  .header-cta {
    padding: 0 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 54px 34px 0;
  }

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

  .hero h1 {
    font-size: 58px;
  }

  .hero-media {
    min-height: 420px;
    margin: 10px -34px 0;
  }

  .hero-media img {
    mask-image: none;
  }

  .services-layout,
  .proposal-section,
  .packages-head,
  .trust-head,
  .trust-layout,
  .faq-head,
  .faq-layout,
  .offer-hero,
  .offer-section-head,
  .offer-split,
  .offer-final,
  .brief-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .trust-panel {
    min-height: 0;
  }

  .faq-cta {
    position: static;
  }

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

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

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

  .task-icons {
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 72px;
    padding: 0 18px;
  }

  .brand {
    font-size: 28px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .main-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .main-nav a {
    padding: 14px 0;
  }

  .hero {
    padding: 42px 20px 0;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.14;
  }

  .hero-copy > p,
  .section-copy p,
  .proposal-copy p,
  .contact-copy p {
    font-size: 18px;
  }

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

  .button {
    width: 100%;
  }

  .quiz-progress {
    justify-content: flex-start;
  }

  .quiz-contact-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .services-list,
  .proposal-points,
  .case-grid,
  .trust-grid,
  .packages-head,
  .packages-grid,
  .brief-section,
  .brief-result,
  .timeline,
  .price-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    gap: 22px;
    margin-top: 42px;
  }

  .hero-media {
    min-height: 320px;
    margin: 12px -20px 0;
  }

  .task-strip {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 20px;
  }

  .task-icons {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .section,
  .proposal-section,
  .comparison,
  .case-section,
  .process-section,
  .price-section,
  .packages-section,
  .trust-section,
  .faq-section,
  .offer-page,
  .contact-section,
  .site-footer {
    width: min(calc(100% - 40px), var(--max));
  }

  .section,
  .proposal-section,
  .case-section,
  .process-section,
  .price-section,
  .packages-section,
  .trust-section,
  .faq-section,
  .brief-section,
  .contact-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  h2 {
    font-size: 34px;
  }

  .offer-hero h1 {
    font-size: 46px;
  }

  .offer-grid,
  .offer-table div {
    grid-template-columns: 1fr;
  }

  .offer-table div {
    gap: 8px;
    padding: 22px;
  }

  .services-layout {
    gap: 42px;
  }

  .service-item {
    grid-template-columns: 42px 1fr;
  }

  .workbench {
    min-height: 620px;
  }

  .browser-preview {
    width: 100%;
  }

  .code-panel {
    left: 0;
    right: auto;
    bottom: 80px;
    width: 86%;
  }

  .metric-card {
    right: 0;
    width: 170px;
  }

  .note-goal {
    top: 262px;
    left: auto;
    right: 8px;
  }

  .proposal-points {
    margin-top: 42px;
  }

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

  .comparison-row span:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .timeline {
    gap: 34px;
  }

  .timeline::before {
    display: none;
  }

  .price-values {
    padding-left: 0;
    border-left: 0;
  }

  .site-footer {
    gap: 32px;
  }

  .quick-contact {
    right: 16px;
    bottom: 16px;
  }

  .quick-contact__toggle {
    min-height: 52px;
    padding: 0 16px;
  }

  .quick-contact__panel {
    width: min(300px, calc(100vw - 32px));
  }

  .legal-page {
    width: min(calc(100% - 40px), 900px);
    padding: 58px 0 78px;
  }

  .legal-page h1 {
    font-size: 38px;
  }

  .thanks-hero {
    grid-template-columns: 1fr;
    width: min(calc(100% - 40px), var(--max));
    min-height: 0;
    gap: 40px;
    padding: 58px 0 78px;
  }

  .thanks-hero h1 {
    font-size: 42px;
  }

  .thanks-hero p:not(.thanks-mark) {
    font-size: 18px;
  }

  .service-hero,
  .service-section,
  .service-band,
  .service-cta {
    width: min(calc(100% - 40px), var(--max));
  }

  .service-hero,
  .service-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-hero {
    padding: 58px 0 62px;
  }

  .service-hero > * {
    min-width: 0;
  }

  .service-hero h1 {
    font-size: 40px;
  }

  .service-hero p {
    font-size: 18px;
  }

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

  .service-cta {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .button {
    min-height: 54px;
    padding: 0 18px;
    font-size: 15px;
  }

  .quick-contact {
    right: 14px;
    bottom: 14px;
  }

  .quick-contact__toggle {
    width: 52px;
    min-height: 52px;
    padding: 0;
  }

  .quick-contact__toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .quick-contact__panel {
    width: min(286px, calc(100vw - 28px));
  }

  .hero-media {
    min-height: 250px;
  }

  .task-strip h2 {
    font-size: 22px;
  }

  h2 {
    font-size: 30px;
  }

  .workbench {
    min-height: 570px;
  }

  .preview-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .preview-product {
    height: 110px;
  }

  .code-panel {
    width: 100%;
    padding: 18px;
  }

  .code-panel pre {
    font-size: 12px;
  }

  .note {
    width: 104px;
    min-height: 92px;
    font-size: 14px;
  }

  .price-values p {
    font-size: 28px;
  }

  .thanks-hero {
    width: min(calc(100% - 64px), 326px);
    margin-right: auto;
    margin-left: 32px;
  }

  .thanks-hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .thanks-panel {
    padding: 24px;
  }

  .thanks-panel ol {
    font-size: 16px;
  }

  .offer-page {
    width: min(calc(100% - 64px), 326px);
    margin-right: auto;
    margin-left: 32px;
    padding: 50px 0 70px;
  }

  .offer-hero {
    gap: 34px;
    padding: 28px 0 54px;
  }

  .offer-hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .offer-hero p,
  .offer-section-head p {
    font-size: 17px;
  }

  .offer-panel,
  .offer-note,
  .offer-final {
    padding: 24px;
  }

  .offer-panel strong {
    font-size: 28px;
  }

  .offer-section {
    padding: 54px 0;
  }

  .offer-grid article {
    min-height: 0;
    padding: 22px;
  }

  .offer-steps li {
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }

  .offer-steps li::before {
    width: 46px;
    height: 46px;
    font-size: 14px;
  }

  .service-hero,
  .service-section,
  .service-band,
  .service-cta {
    width: min(calc(100% - 64px), 326px);
    margin-right: auto;
    margin-left: 32px;
  }

  .service-hero {
    padding: 50px 0 56px;
  }

  .service-hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .service-hero p {
    font-size: 17px;
  }

  .service-facts {
    padding: 24px;
  }

  .service-facts p {
    font-size: 19px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html {
    scroll-padding-top: 0;
  }

  body {
    background: #ffffff;
    color: #0c151a;
    font-size: 12pt;
  }

  .site-header,
  .quick-contact,
  .offer-page,
  .offer-actions,
  .offer-final .hero-actions,
  noscript {
    display: none !important;
  }

  .pdf-document {
    display: block;
    width: 100%;
  }

  .pdf-page {
    box-sizing: border-box;
    display: flex;
    height: 269mm;
    flex-direction: column;
    padding: 14mm;
    break-after: page;
    page-break-after: always;
  }

  .pdf-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .pdf-header,
  .pdf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #606b72;
    font-size: 10pt;
    font-weight: 800;
  }

  .pdf-header {
    padding-bottom: 10mm;
    border-bottom: 1px solid #d9e0e3;
  }

  .pdf-footer {
    margin-top: auto;
    padding-top: 8mm;
    border-top: 1px solid #d9e0e3;
  }

  .pdf-brand {
    color: #0c151a;
    font-size: 19pt;
    font-weight: 850;
  }

  .pdf-brand strong {
    color: #ff392e;
  }

  .pdf-header p,
  .pdf-footer span {
    margin: 0;
  }

  .pdf-cover-body {
    padding-top: 18mm;
  }

  .pdf-page h1 {
    max-width: 166mm;
    margin: 0;
    color: #0c151a;
    font-size: 34pt;
    line-height: 1.08;
  }

  .pdf-page h2 {
    margin: 14mm 0 8mm;
    color: #0c151a;
    font-size: 25pt;
    line-height: 1.14;
  }

  .pdf-page h3 {
    margin: 0;
    color: #0c151a;
    font-size: 15pt;
    line-height: 1.2;
  }

  .pdf-cover-body > p,
  .pdf-final p {
    max-width: 170mm;
    margin: 8mm 0 0;
    color: #606b72;
    font-size: 14pt;
    line-height: 1.45;
  }

  .pdf-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6mm;
    margin-top: 18mm;
  }

  .pdf-metrics div,
  .pdf-final {
    padding: 10mm;
    border-radius: 3mm;
    background:
      linear-gradient(145deg, rgba(0, 79, 80, 0.34), rgba(255, 57, 46, 0.12)),
      #10191d;
    color: #ffffff;
  }

  .pdf-metrics span {
    display: block;
    margin-bottom: 5mm;
    color: #7ee0d6;
    font-size: 9pt;
    font-weight: 850;
    text-transform: uppercase;
  }

  .pdf-metrics strong {
    display: block;
    color: #ffffff;
    font-size: 18pt;
    line-height: 1.08;
    white-space: nowrap;
  }

  .pdf-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6mm;
  }

  .pdf-card-grid article {
    min-height: 44mm;
    padding: 7mm;
    border: 1px solid #d9e0e3;
    border-radius: 3mm;
    background: #f5f7f8;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .pdf-card-grid span {
    display: block;
    margin-bottom: 10mm;
    color: #ff392e;
    font-size: 10pt;
    font-weight: 850;
  }

  .pdf-card-grid p {
    margin: 4mm 0 0;
    color: #606b72;
    font-size: 10.5pt;
    line-height: 1.38;
  }

  .pdf-price-list {
    display: grid;
    border: 1px solid #d9e0e3;
    border-radius: 3mm;
    overflow: hidden;
  }

  .pdf-price-list div {
    display: grid;
    grid-template-columns: 1fr 42mm 30mm;
    gap: 6mm;
    align-items: center;
    min-height: 15mm;
    padding: 0 6mm;
    border-top: 1px solid #d9e0e3;
  }

  .pdf-price-list div:first-child {
    border-top: 0;
  }

  .pdf-price-list span {
    font-size: 12pt;
    font-weight: 850;
  }

  .pdf-price-list strong {
    color: #ff392e;
    font-size: 13pt;
  }

  .pdf-price-list em {
    color: #606b72;
    font-size: 10.5pt;
    font-style: normal;
    font-weight: 800;
  }

  .pdf-note {
    margin-top: 10mm;
    padding: 8mm;
    border: 1px solid #d9e0e3;
    border-radius: 3mm;
    background: #f5f7f8;
  }

  .pdf-note h3 {
    margin-bottom: 5mm;
  }

  .pdf-note ol,
  .pdf-final ul {
    display: grid;
    gap: 3mm;
    margin: 0;
    padding-left: 6mm;
    color: #606b72;
    font-size: 10.5pt;
    line-height: 1.38;
  }

  .pdf-final-page {
    justify-content: stretch;
  }

  .pdf-final {
    margin-top: 24mm;
  }

  .pdf-final h2,
  .pdf-final p,
  .pdf-final ul {
    color: #ffffff;
  }

  .pdf-final p {
    max-width: 150mm;
  }

  .pdf-final ul {
    margin-top: 10mm;
    padding-left: 5mm;
    font-size: 14pt;
  }

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