:root {
  --ink: #121a22;
  --ink-soft: #24313c;
  --paper: #f4f7f7;
  --white: #ffffff;
  --line: #dce4e5;
  --muted: #61707a;
  --teal: #00aaa6;
  --teal-dark: #087b79;
  --lime: #b7e51f;
  --blue: #2878c8;
  --amber: #e9a720;
  --red: #d64a4a;
  --container: min(1180px, calc(100vw - 32px));
  --shadow: 0 18px 48px rgba(18, 26, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 228, 229, 0.85);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a,
.nav-more summary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 6px;
  color: #41505b;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 8px;
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-more summary:hover {
  background: #eaf5f4;
  color: var(--teal-dark);
}

.nav-more {
  position: relative;
}

.nav-more summary {
  list-style: none;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 250px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-contact-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 213, 197, 0.45);
  border-radius: 50%;
  background: var(--teal);
  color: #071414;
  box-shadow: 0 10px 24px rgba(31, 213, 197, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-contact-icon:hover,
.header-contact-icon:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 213, 197, 0.3);
}

.header-contact-icon svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button--primary {
  background: var(--teal);
  color: #071c1c;
  box-shadow: 0 12px 26px rgba(0, 170, 166, 0.25);
}

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

.button--light {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button--small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 13px;
}

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

.home-hero {
  position: relative;
  display: flex;
  min-height: min(790px, calc(100vh - 72px));
  align-items: center;
  overflow: hidden;
  background: var(--ink) url("../images/hero-expert-opencart.webp") center/cover no-repeat;
 color: var(--ink);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 20, 0.58);
  content: "";
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 96px;
}

.home-hero h1 {
  max-width: 770px;
}

.home-hero .eyebrow {
  color: var(--lime);
}

.home-hero .lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-hero .button--light {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
color: var(--ink);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}

.hero-facts div {
  min-width: 130px;
  border-left: 3px solid var(--teal);
  padding-left: 12px;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 23px;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 48px;
  align-items: center;
  padding: 64px 0;
}

.page-hero h1 {
  font-size: clamp(40px, 5.2vw, 66px);
}

.page-hero__image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

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

.price-note {
  display: inline-flex;
  margin-top: 18px;
  border-left: 3px solid var(--lime);
  background: #f4f8e8;
  color: #314014;
  font-weight: 800;
  padding: 10px 13px;
}

.section {
  padding: 80px 0;
}

.section--white {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

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

.section--dark .lead,
.section--dark .muted {
  color: rgba(255, 255, 255, 0.68);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading--row > div {
  max-width: 760px;
}

.market-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.market-strip article {
  flex: 1 1 calc(25% - 1px);
  min-width: 0;
  background: var(--white);
  padding: 24px;
}

.market-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 26px;
}

.market-strip span {
  color: var(--muted);
  font-size: 13px;
}

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

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(18, 26, 34, 0.06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--ink);
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.service-card__body p {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.service-card__footer strong {
  font-size: 15px;
}

.text-link {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--ink);
}

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

.offer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.offer-card--accent {
  border-top: 4px solid var(--teal);
}

.offer-card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.offer-card ul,
.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.offer-card li,
.check-list li {
  position: relative;
  margin: 9px 0;
  color: var(--muted);
  padding-left: 18px;
}

.offer-card li::before,
.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

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

.price-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.price-card__label {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card__price {
  margin: 18px 0 16px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.price-card p {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.pricing-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pricing-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

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

.pricing-table th {
  background: #edf4f3;
  font-size: 12px;
  text-transform: uppercase;
}

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

.pricing-table td:last-child {
  font-weight: 900;
  white-space: nowrap;
}

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

.steps li {
  border-top: 3px solid var(--teal);
  background: var(--white);
  padding: 22px;
}

.steps span {
  display: block;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 8px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  padding: 18px 28px 18px 0;
}

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

.cta-band {
  background: var(--ink);
  color: var(--ink);
  padding: 58px 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band__inner > div:first-child {
  max-width: 700px;
}

.cta-band h2 {
  margin-bottom: 10px;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.contact-panel,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-list a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px;
}

.contact-list a:hover {
  border-color: var(--teal);
  background: #effafa;
}

.contact-list small {
  color: var(--muted);
}

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

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-form label span {
  display: block;
  margin-bottom: 6px;
  color: #45545e;
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid #cdd8da;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
}

.lead-form textarea {
  min-height: 140px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 170, 166, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.floating-contacts {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
  width: 52px;
}

.floating-contacts__items {
  position: absolute;
  right: 0;
  bottom: 124px;
  display: grid;
  gap: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-contacts:hover .floating-contacts__items,
.floating-contacts:focus-within .floating-contacts__items,
.floating-contacts.is-open .floating-contacts__items {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--white);
}

.floating-contact > span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: #11191e;
  color: #f4f8f8;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  font-size: 12px;
  font-weight: 800;
  padding: 9px 12px;
  white-space: nowrap;
}

.floating-contact b,
.floating-to-top,
.floating-contacts__toggle {
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid #405059;
  border-radius: 50%;
  background: #151d22;
  color: #f4f8f8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.floating-to-top {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.floating-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-to-top:hover,
.floating-to-top:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}

.floating-contact b {
  border: 0;
}

.floating-contact--whatsapp b {
  background: #168b5a;
}

.floating-contact--telegram b {
  background: #2878c8;
}

.floating-contact--email b {
  background: #58666f;
}

.floating-contact svg,
.floating-to-top svg,
.floating-contacts__toggle svg {
  width: 21px;
  height: 21px;
}

.floating-contacts__toggle {
  border-color: rgba(31, 213, 197, 0.44);
  background: var(--teal);
  color: #071414;
  cursor: pointer;
}

.floating-contacts__toggle:hover,
.floating-contacts__toggle:focus-visible {
  transform: scale(1.04);
}

.floating-contacts__close-icon {
  display: none;
}

.floating-contacts.is-open .floating-contacts__open-icon {
  display: none;
}

.floating-contacts.is-open .floating-contacts__close-icon {
  display: block;
}

.site-footer {
  border-top: 1px solid #26343e;
  background: #05080a;
  color: #f4f8f8;
  padding: 46px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.site-footer h3 {
  color: #f4f8f8;
  font-size: 14px;
}

.footer-brand strong {
  color: #f4f8f8;
}

.site-footer p,
.site-footer a {
  color: #b7cbd1;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.footer-legal button {
  border: 0;
  background: transparent;
  color: #b7cbd1;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 0;
}

.footer-legal button:hover,
.footer-legal button:focus-visible {
  color: var(--lime);
}

.legal-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(82vh, 820px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  padding: 0;
}

.legal-dialog::backdrop {
  background: rgba(2, 7, 9, 0.78);
  backdrop-filter: blur(6px);
}

.legal-dialog__panel {
  display: flex;
  max-height: min(82vh, 820px);
  flex-direction: column;
}

.legal-dialog__panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 26px 28px 22px;
}

.legal-dialog__panel > header p {
  margin: 0 0 5px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-dialog__panel > header h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.legal-dialog__panel > header small {
  color: var(--muted);
}

.legal-dialog__panel > header button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.legal-dialog__panel > header button svg {
  width: 19px;
  height: 19px;
}

.legal-dialog__content {
  overflow-y: auto;
  padding: 8px 28px 30px;
}

.legal-dialog__content section {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.legal-dialog__content section:last-child {
  border-bottom: 0;
}

.legal-dialog__content h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.legal-dialog__content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-dialog__content a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.has-open-dialog {
  overflow: hidden;
}

.seo-links {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 30px 0;
}

.seo-links__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  align-items: start;
  gap: 28px;
}

.seo-links h2 {
  margin: 2px 0 0;
  font-size: 20px;
}

.seo-links__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.seo-links__nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.seo-links__nav a:hover {
  color: var(--teal-dark);
}

.portfolio-disclaimer,
.portfolio-tag,
.module-placeholder__status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

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

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portfolio-card__media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.015);
}

.portfolio-card__body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.portfolio-card__body h3 {
  margin: 10px 0 0;
  font-size: 24px;
}

.portfolio-card__body > p {
  margin: 0;
  color: var(--muted);
}

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

.portfolio-meta li {
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 8px;
}

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

.module-placeholder {
  min-height: 260px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}

.module-placeholder__status {
  border-color: rgba(29, 116, 112, 0.24);
  background: rgba(29, 116, 112, 0.08);
  color: var(--teal-dark);
}

.module-placeholder__number {
  margin: 34px 0 12px;
  color: var(--lime-dark);
  font-size: 13px;
  font-weight: 900;
}

.module-placeholder h3 {
  font-size: 20px;
}

.module-placeholder > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.module-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--lime);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.module-showcase__media {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  aspect-ratio: 3 / 2;
  background: #071014;
}

.module-showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.module-showcase__content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 18px 16px 18px 0;
}

.module-showcase__content h3 {
  margin: 12px 0;
  font-size: 30px;
}

.module-showcase__content > p {
  color: var(--muted);
}

.module-showcase__status {
  width: fit-content;
  border: 1px solid rgba(185, 238, 43, 0.3);
  border-radius: 999px;
  background: rgba(185, 238, 43, 0.08);
  color: var(--lime-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}

.module-showcase__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.module-showcase__features li {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}

.module-showcase__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.module-showcase__content .button {
  align-self: flex-start;
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    inset: 73px 12px auto;
    display: none;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .nav-more summary {
    min-height: 46px;
    padding: 11px 13px;
  }

  .nav-more {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    border: 0;
    box-shadow: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .button {
    display: none;
  }

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

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

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

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

  .module-showcase {
    grid-template-columns: 1fr;
  }

  .module-showcase__media {
    min-height: auto;
    aspect-ratio: 3 / 2;
  }

  .module-showcase__content {
    padding: 8px 10px 12px;
  }
}

@media (max-width: 780px) {
  .seo-links__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  h1 {
    font-size: 40px;
    line-height: 1.04;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 17px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .home-hero {
    min-height: 680px;
    background-position: 65% center;
  }

  .home-hero::before {
    background: rgba(7, 14, 20, 0.7);
  }

  .page-hero__inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-hero__image {
    max-width: 520px;
  }

  .market-strip {
    flex-wrap: wrap;
  }

  .market-strip article {
    flex: 1 1 calc(50% - 1px);
    min-width: 250px;
  }

  .section-heading--row,
  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 540px) {
  :root {
    --container: min(calc(100vw - 20px), 1180px);
  }

  h1 {
    font-size: 34px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    top: 67px;
  }

  .home-hero__inner {
    padding: 70px 0;
  }

  .hero-actions,
  .cta-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    gap: 16px;
  }

  .hero-facts div {
    width: calc(50% - 8px);
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .offer-grid,
  .price-grid,
  .module-placeholder-grid,
  .steps,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .market-strip {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .market-strip article {
    flex-basis: auto;
    min-width: 0;
  }

  .service-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-contacts {
    right: 10px;
    bottom: 10px;
  }

  .floating-contact > span {
    max-width: calc(100vw - 86px);
    white-space: normal;
  }

  .floating-contact b,
  .floating-to-top,
  .floating-contacts__toggle {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .legal-dialog__panel > header,
  .legal-dialog__content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .legal-dialog__panel > header h2 {
    font-size: 24px;
  }

  .module-showcase__content {
    padding: 24px;
  }

  .module-showcase__content h3 {
    font-size: 26px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .floating-contacts__items,
  .header-contact-icon,
  .floating-to-top,
  .floating-contacts__toggle {
    transition: none;
  }
}
