* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111827;
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
textarea {
  outline: none;
}

:root {
  --primary: #f3b21a;
  --dark: #2d2d2d;
  --dark-2: #1a1a1a;
  --muted: #6b7280;
  --bg-soft: #f5f5f5;
  --border: #e5e7eb;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding: 76px 0;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-soft {
  background: #f7f7f7;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
}

.section-head p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-image {
  height: 80px;
  width: auto;
}

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

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.dropdown-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: 320px;
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: 0.2s;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .chevron,
.mobile-accordion[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s;
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.header-phone:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #111;
}

.btn-primary:hover {
  filter: brightness(0.96);
}

.btn-outline {
  background: #fff;
  color: #111;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: #f8f8f8;
}

.btn-block {
  width: 100%;
}

.mobile-toggle,
.mobile-menu {
  display: none;
}

.mobile-menu[hidden],
.mobile-submenu[hidden] {
  display: none !important;
}

.form-alert {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.form-alert--success {
  background: #e8f7ec;
  color: #166534;
  border: 1px solid #bfe3c7;
}

.form-alert--error {
  background: #fff0f0;
  color: #991b1b;
  border: 1px solid #f0c7c7;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img,
.page-hero-image img,
.service-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: rgba(26, 26, 26, 0.72);
}

.hero .container {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-content {
  max-width: 690px;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
}

.hero p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-list,
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card,
.feature-card,
.contact-card,
.faq-item,
.content-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.service-card {
  overflow: hidden;
}

.service-card-media {
  position: relative;
  height: 220px;
}

.service-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.56);
  transition: 0.2s;
  z-index: 1;
}

.service-card:hover .service-card-media::before {
  background: rgba(26, 26, 26, 0.36);
}

.service-card-media h3 {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: var(--primary);
  font-size: 22px;
  line-height: 1.2;
  z-index: 2;
}

.service-title-link:focus-visible,
.service-link:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
.btn:focus-visible,
.mobile-accordion:focus-visible,
.mobile-menu a:focus-visible,
.gallery-card:focus-visible,
.faq-question:focus-visible,
.modal-close:focus-visible,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.service-card-body {
  padding: 22px;
}

.service-card-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.service-link {
  font-weight: 700;
  color: #111;
}

.split-box {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.split-dark {
  background: var(--dark);
  color: #fff;
  padding: 56px;
}

.split-dark h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.split-dark p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.86);
}

.check-list svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

.split-form {
  background: #fff;
  padding: 56px;
}

.split-form h3 {
  margin: 0 0 22px;
  font-size: 30px;
}

.form-grid,
.callback-form {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 30px 20px;
  text-align: center;
}

.feature-icon {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: rgba(243, 178, 26, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--primary);
}

.feature-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.page-hero {
  padding: 54px 0;
  background: linear-gradient(180deg, #f7f7f7, #fff);
}

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

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

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs-item:not(:last-child)::after {
  content: "/";
  color: #9ca3af;
}

.breadcrumbs a:hover {
  color: #374151;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.page-hero-image {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

.content-card {
  padding: 34px;
}

.content-card h2 {
  margin: 0 0 18px;
  font-size: 32px;
}

.content-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

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

.faq-item {
  overflow: hidden;
}

.faq-question-wrap {
  margin: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transition: transform 0.2s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  position: relative;
  display: block;
  border: none;
  padding: 0;
  background: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.22));
  opacity: 0.8;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  max-width: min(1100px, 100%);
  text-align: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 18px;
}

.lightbox-caption {
  margin-top: 14px;
  color: #fff;
  font-weight: 600;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 32px;
  line-height: 1;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 34px;
}

.contact-card {
  padding: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  font-style: normal;
}

.contact-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(243, 178, 26, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.contact-card p,
.contact-card a,
.contact-card-value {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-card-value {
  font-style: normal;
}

.map-box {
  min-height: 320px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.map-box--lazy {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.map-placeholder {
  max-width: 520px;
  text-align: center;
}

.map-title {
  margin: 0 0 10px;
  font-size: 28px;
}

.map-placeholder p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.72);
}

.map-noscript {
  margin: 16px 0 0;
}

.site-footer {
  background: var(--dark-2);
  color: #fff;
  padding: 56px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr;
  gap: 34px;
  padding-bottom: 28px;
}

.footer-brand {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand span {
  color: var(--primary);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-text,
.footer-list {
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

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

.footer-list a:hover {
  color: var(--primary);
}

.footer-address {
  font-style: normal;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.modal-backdrop,
.callback-modal {
  position: fixed;
}

.modal-backdrop {
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.56);
}

.callback-modal {
  left: 50%;
  top: 50%;
  z-index: 81;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 32px));
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.callback-modal[hidden],
.modal-backdrop[hidden] {
  display: none;
}

.callback-modal:focus {
  outline: none;
}

.callback-modal h2 {
  margin: 0 0 10px;
  font-size: 32px;
}

.callback-modal p {
  margin: 0 0 18px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: none;
  background: none;
  font-size: 34px;
  line-height: 1;
  color: #7b7b7b;
}

.mobile-menu {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-inner {
  display: grid;
  gap: 16px;
  padding: 18px 0 22px;
}

.mobile-menu a,
.mobile-accordion {
  color: #fff;
  padding: 8px 0;
  font-size: 18px;
  border: none;
  background: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-submenu {
  padding: 0 0 0 12px;
}

.mobile-submenu a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.mobile-phone {
  font-weight: 700;
  color: var(--primary) !important;
}

.marking-tabs {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.marking-tabs-nav {
  display: grid;
  background: #262320;
}

.marking-tab {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border: none;
  border-right: 4px solid transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #2d2925, #24211f);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.marking-tab:first-child {
  border-top: none;
}

.marking-tab:hover {
  background: linear-gradient(135deg, #37322d, #2a2622);
}

.marking-tab.is-active {
  border-right-color: var(--primary);
  background: linear-gradient(135deg, #3b3631, #312c28);
}

.marking-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.marking-tab-num {
  font-size: 118px;
  line-height: 0.8;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
}

.marking-tab-text {
  display: grid;
  gap: 10px;
}

.marking-tab-title {
  font-size: 28px;
  line-height: 1.12;
  font-weight: 800;
}

.marking-tab-subtitle {
  font-size: 18px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.marking-tabs-panels {
  background: linear-gradient(180deg, #fff, #fbfbfb);
  padding: 40px 42px;
}

.marking-panel h3 {
  margin: 0 0 22px;
  font-size: 44px;
  line-height: 1.08;
}

.marking-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.marking-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .cards-4,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid,
  .content-grid,
  .page-hero-grid,
  .split-box,
  .marking-tabs {
    grid-template-columns: 1fr;
  }

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

  .dropdown-panel {
    width: 420px;
  }

  .marking-tabs-panels {
    padding: 32px 34px;
  }

  .marking-panel h3 {
    font-size: 36px;
  }

  .marking-panel p {
    font-size: 18px;
  }
}

@media (max-width: 820px) {
  .main-nav,
  .header-phone,
  .header-right > .open-modal {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    padding: 0;
  }

  .mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
  }

  .mobile-menu {
    display: block;
  }

  .header-left {
    gap: 18px;
  }

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

  .split-dark,
  .split-form,
  .content-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

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

  .cards-4,
  .features-grid,
  .contacts-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card-media h3 {
    font-size: 20px;
  }

  .contact-card,
  .feature-card {
    padding: 24px 18px;
  }

  .faq-question {
    font-size: 17px;
    padding: 18px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .callback-modal {
    padding: 24px;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .marking-tab {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 20px 18px;
    border-right: none;
    border-bottom: 4px solid transparent;
  }

  .marking-tab.is-active {
    border-bottom-color: var(--primary);
  }

  .marking-tab-num {
    font-size: 68px;
  }

  .marking-tab-title {
    font-size: 24px;
  }

  .marking-tab-subtitle {
    font-size: 16px;
  }

  .marking-tabs-panels {
    padding: 24px 20px;
  }

  .marking-panel h3 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .marking-panel p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .map-box--lazy {
    padding: 24px;
  }

  .map-title {
    font-size: 24px;
  }
}
