/* =========================================================
   1. ОБЩИЕ НАСТРОЙКИ
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --black: #090b0e;
  --graphite: #121820;
  --graphite-2: #1b232d;
  --steel: #27313d;

  --gold: #c59b53;
  --gold-hover: #d8b36d;
  --gold-soft: rgba(197, 155, 83, 0.14);

  --orange: #c59b53;
  --orange-dark: #a77d3a;
  --yellow: #d8b36d;

  --white: #ffffff;
  --light: #f6f3ee;
  --gray: #747c87;
  --gray-light: #c8ced6;

  --text: #1f2a24;

  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: rgba(9, 11, 14, 0.12);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --shadow-light: 0 18px 50px rgba(9, 11, 14, 0.08);
  --shadow-light-hover: 0 26px 70px rgba(9, 11, 14, 0.14);

  --radius: 18px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--light);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

#contacts,
#about,
#consultation,
#foundation-types,
#service-request {
  scroll-margin-top: 140px;
}


/* =========================================================
   2. ШАПКА САЙТА
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
}

.top-header {
  color: var(--white);
  background: var(--black);
  border-bottom: 1px solid var(--border-dark);
}

.top-header-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.company-name {
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.company-name span {
  color: var(--gold);
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.top-mail {
  color: var(--gray-light);
}

.top-phone {
  color: var(--white);
  font-weight: 900;
}

.top-callback {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--white);
  background: var(--gold);
  font-weight: 900;
  transition: 0.2s ease;
}

.top-callback:hover {
  color: var(--white);
  background: var(--gold-hover);
}

.nav-header {
  color: var(--white);
  background: rgba(18, 24, 32, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-header-inner {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.nav-logo {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 42, 36, 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-logo img {
  width: auto;
  height: auto;
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
}

.nav-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 168, 91, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.nav-logo:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.nav-logo:focus-visible {
  outline: 3px solid rgba(215, 168, 91, 0.65);
  outline-offset: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.main-nav>a,
.dropdown-link {
  min-height: 64px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  color: #e6ebf2;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.main-nav>a:hover,
.main-nav>a.active,
.dropdown-link:hover,
.dropdown-link.active {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown {
  position: relative;
  z-index: 10001;
}

.nav-dropdown .dropdown-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown .dropdown-link::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  background: transparent !important;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-dropdown:hover .dropdown-link::after {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown-link::before {
  background: transparent !important;
}

.dropdown-menu {
  position: absolute;
  z-index: 10002;
  top: 100%;
  left: 0;
  width: 270px;
  padding: 10px;
  display: none;
  border-radius: 0 0 16px 16px;
  background: var(--graphite);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.nav-dropdown:hover .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  display: block;
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  border-radius: 10px;
  color: #dce2eb;
  font-size: 14px;
  transition: 0.2s ease;
  pointer-events: auto;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   3. КНОПКИ
   ========================================================= */

.btn {
  min-height: 56px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  transition: 0.2s ease;
}

.btn-accent {
  color: var(--white);
  background: var(--gold);
  box-shadow: 0 14px 34px rgba(197, 155, 83, 0.26);
}

.btn-accent:hover {
  color: var(--white);
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(197, 155, 83, 0.34);
}

.btn-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light:hover {
  color: var(--gold-hover);
  border-color: var(--gold);
  transform: translateY(-2px);
}


/* =========================================================
   4. ГЛАВНАЯ СТРАНИЦА
   ========================================================= */

.hero {
  position: relative;
  min-height: 760px;
  padding: 170px 0 80px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 0.97) 0%, rgba(9, 11, 14, 0.86) 48%, rgba(9, 11, 14, 0.54) 100%),
    url("/images/hero-foundation-industrial.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 44px;
  align-items: center;
}

.hero-kicker {
  width: fit-content;
  margin-bottom: 20px;
  padding: 9px 14px;
  border-left: 4px solid var(--gold);
  color: var(--gold-hover);
  background: rgba(197, 155, 83, 0.12);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -2.7px;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d7dde6;
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-benefits {
  max-width: 880px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hero-benefit {
  position: relative;
  overflow: hidden;
  min-height: 136px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border-radius: 20px;
  border: 1px solid rgba(197, 155, 83, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-benefit::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(197, 155, 83, 0.14);
  pointer-events: none;
}

.hero-benefit:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 155, 83, 0.55);
  background: linear-gradient(145deg, rgba(197, 155, 83, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(197, 155, 83, 0.38);
  background: radial-gradient(circle at 30% 20%, rgba(197, 155, 83, 0.22), rgba(197, 155, 83, 0.08));
}

.benefit-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.benefit-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.benefit-text span {
  color: var(--white);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
}

.benefit-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.25;
}

.hero-form-card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(197, 155, 83, 0.22);
  background:
    radial-gradient(circle at top left, rgba(197, 155, 83, 0.14), transparent 34%),
    rgba(18, 24, 32, 0.96);
  box-shadow: var(--shadow);
}

.form-card-label {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-form-card h2 {
  margin: 0;
  color: var(--white);
  font-size: 31px;
  line-height: 1.12;
}

.hero-form-card p {
  margin: 14px 0 22px;
  color: #bac3cf;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form input {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.lead-form input::placeholder {
  color: #8c95a2;
}

.lead-form input:focus {
  border-color: var(--gold);
}

.lead-form button {
  height: 56px;
  border: none;
  border-radius: 999px;
  color: var(--white);
  background: var(--gold);
  font-weight: 900;
}

.lead-form button:hover {
  background: var(--gold-hover);
}

.form-note {
  margin-top: 14px;
  color: #8f98a6;
  font-size: 12px;
}


/* =========================================================
   5. ОБЩИЕ СЕКЦИИ ГЛАВНОЙ
   ========================================================= */

.section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-head h2,
.consultation-content h2,
.contacts-info h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.section-head p {
  max-width: 500px;
  margin: 0;
  color: var(--gray);
  font-size: 17px;
}

.section-head-dark h2,
.section-head-dark p {
  color: var(--white);
}


/* =========================================================
   6. ТИПЫ ФУНДАМЕНТОВ / ПРЕИМУЩЕСТВА / КОНСУЛЬТАЦИЯ / КОНТАКТЫ
   ========================================================= */

.foundation-section,
.contacts-section {
  background: var(--light);
}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.foundation-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
  transition: 0.2s ease;
}

.foundation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light-hover);
}

.foundation-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.foundation-card-content {
  padding: 22px;
}

.foundation-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.15;
}

.foundation-card p {
  margin: 0 0 18px;
  color: var(--gray);
  font-size: 15px;
}

.foundation-card a {
  color: var(--gold);
  font-weight: 900;
}

.foundation-card a:hover {
  color: var(--gold-hover);
}

.why-section {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(9, 11, 14, 0.97), rgba(9, 11, 14, 0.97)),
    url("/images/industrial-concrete-bg.jpg") center / cover no-repeat;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--border-dark);
  background: rgba(18, 24, 32, 0.82);
  transition: 0.2s ease;
}

.why-card:hover {
  border-color: rgba(197, 155, 83, 0.62);
  transform: translateY(-4px);
}

.why-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--gold);
  font-weight: 900;
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.why-card p {
  margin: 0;
  color: #c6ced9;
}

.consultation-section {
  padding: 88px 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #c59b53 0%, #b68a43 52%, #8f672f 100%);
}

.consultation-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: center;
}

.consultation-section .section-label {
  color: var(--white);
  background: rgba(31, 42, 36, 0.22);
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.consultation-content p {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(9, 11, 14, 0.82);
  font-size: 18px;
}

.consultation-points {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.consultation-points span {
  position: relative;
  padding-left: 26px;
  font-weight: 900;
}

.consultation-points span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
}

.consultation-form {
  padding: 28px;
  display: grid;
  gap: 12px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(197, 155, 83, 0.18), transparent 32%),
    #111827;
  box-shadow: var(--shadow);
}

.consultation-form input {
  height: 54px;
  padding: 0 15px;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.consultation-form input:focus {
  border-color: var(--gold-hover);
}

.consultation-form button {
  height: 56px;
  border: none;
  border-radius: 999px;
  color: var(--white);
  background: var(--gold);
  font-weight: 900;
}

.consultation-form button:hover {
  background: var(--gold-hover);
}

.consultation-form p {
  margin: 0;
  color: #8f98a6;
  font-size: 12px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.contacts-info p {
  max-width: 460px;
  color: var(--gray);
  font-size: 17px;
}

.contacts-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-card {
  min-height: 150px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(9, 11, 14, 0.12);
}

.contact-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 14px;
}

.contact-card a,
.contact-card strong {
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
}

.contact-card a:hover {
  color: var(--gold);
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.messenger-links a {
  padding: 9px 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 14px;
  transition: 0.2s ease;
}

.messenger-links a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(197, 155, 83, 0.1);
}


/* =========================================================
   7. СТРАНИЦА УСЛУГ services.html
   ========================================================= */

.services-page {
  padding: 150px 0 80px;
  background: #f6f3ee;
  color: #1f2a24;
}

.services-page .container {
  max-width: 1180px;
  margin: 0 auto;
}

.services-hero {
  width: 100%;
  max-width: none;
  margin: 0 0 48px;
  padding: 42px 64px;
  text-align: left;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(197, 155, 83, 0.22), transparent 34%),
    linear-gradient(135deg, #242424 0%, #171717 58%, #2a241c 100%);
  box-shadow: 0 22px 60px rgba(18, 18, 18, 0.12);
}

.services-label {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.services-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.65;
}

.services-overview {
  padding: 0 0 70px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(31, 42, 36, 0.14);
}

.service-card-image {
  height: 260px;
  overflow: hidden;
  background: #f0ede6;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.service-card-content h2 {
  margin: 0 0 14px;
  color: #1f2a24;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 900;
}

.service-card-content p {
  flex: 1;
  margin: 0 0 24px;
  color: rgba(31, 42, 36, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 42, 36, 0.08);
}

.service-card-footer span {
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.service-card-footer a,
.services-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.2s ease;
}

.service-card-footer a {
  min-height: 44px;
  padding: 0 20px;
  background: #1f2a24;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.service-card-footer a:hover {
  background: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.services-cta {
  padding: 0 0 20px;
}

.services-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(197, 155, 83, 0.22), transparent 34%),
    linear-gradient(135deg, #242424 0%, #171717 58%, #2a241c 100%);
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(18, 18, 18, 0.12);
}

.services-cta-box h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
}

.services-cta-box p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.services-cta-button {
  min-height: 52px;
  padding: 0 28px;
  background: var(--gold);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.services-cta-button:hover {
  background: var(--gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
}


/* =========================================================
   8. СТРАНИЦЫ ОТДЕЛЬНЫХ УСЛУГ
   ========================================================= */

.service-detail {
  padding: 150px 0 80px;
  background: #f6f3ee;
  color: #1f2a24;
}

.service-detail>.container {
  max-width: 1180px;
  margin: 0 auto;
}

.service-detail-hero {
  width: 100%;
  max-width: none;
  margin: 0 0 56px;
  padding: 76px 64px;
  text-align: left;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(197, 155, 83, 0.22), transparent 34%),
    linear-gradient(135deg, #242424 0%, #171717 58%, #2a241c 100%);
  box-shadow: 0 22px 60px rgba(18, 18, 18, 0.12);
}

.service-detail-label {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-detail-title {
  max-width: 900px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.service-detail-price {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.service-detail-price strong {
  color: var(--gold);
  font-size: 36px;
  font-weight: 900;
}

.service-detail-description {
  max-width: 780px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.service-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--gold);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.service-detail-button:hover {
  background: var(--gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.service-scheme {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin: 0 0 64px;
  padding: 36px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.08);
}

.service-scheme-content h2 {
  margin: 0 0 18px;
  color: #171717;
  font-size: 32px;
  line-height: 1.2;
}

.service-scheme-content p {
  margin: 0 0 22px;
  color: #555555;
  font-size: 16px;
  line-height: 1.7;
}

.service-scheme-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-scheme-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
  color: #333333;
  line-height: 1.5;
}

.service-scheme-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.service-scheme-image {
  overflow: hidden;
  border-radius: 22px;
  background: #f0ede6;
}

.service-scheme-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.service-section-head,
.service-request-head {
  max-width: 840px;
  margin-bottom: 30px;
}

.service-section-head h2,
.service-request-head h2,
.service-text-block h2 {
  margin: 0;
  color: #1f2a24;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 900;
}

.service-section-head p,
.service-request-head p {
  margin: 16px 0 0;
  color: rgba(31, 42, 36, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.service-price-block,
.service-included,
.service-text-block {
  margin-bottom: 70px;
}

.service-table-wrap,
.excel-price-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: 0 18px 50px rgba(31, 42, 36, 0.08);
}

.excel-price-head {
  padding: 24px 28px;
  background:
    radial-gradient(circle at top left, rgba(197, 155, 83, 0.22), transparent 34%),
    linear-gradient(135deg, #242424 0%, #171717 58%, #2a241c 100%);
  color: #ffffff;
}

.excel-price-head span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.excel-price-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.excel-table-scroll,
.service-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.service-price-table,
.excel-price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
}

.service-price-table th,
.service-price-table td,
.excel-price-table th,
.excel-price-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(31, 42, 36, 0.08);
  text-align: left;
  font-size: 15px;
  line-height: 1.4;
}

.service-price-table th,
.excel-price-table th {
  background: #1f2a24;
  color: #ffffff;
  font-weight: 900;
}

.service-price-table td,
.excel-price-table td {
  color: #1f2a24;
  background: #ffffff;
}

.service-price-table td:last-child,
.excel-price-table td:last-child {
  color: var(--gold);
  font-weight: 900;
  white-space: nowrap;
}

.service-price-note {
  margin: 18px 0 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(197, 155, 83, 0.13);
  color: #5f4a25;
  font-size: 15px;
  line-height: 1.6;
}

.service-included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-included-card,
.service-included-item {
  min-height: 170px;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: 0 16px 44px rgba(31, 42, 36, 0.07);
}

.service-included-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f0ede6;
  color: var(--gold);
  font-weight: 900;
}

.service-included-card p,
.service-included-item p {
  margin: 0;
  color: #1f2a24;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.service-included-item h3 {
  margin: 0 0 10px;
  color: #1f2a24;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.service-included-card--accent {
  background: #1f2a24;
}

.service-included-card--accent p {
  color: #ffffff;
}

.service-included-card--accent span {
  background: var(--gold);
  color: #1f2a24;
}

.service-text-block {
  padding: 38px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: 0 22px 60px rgba(31, 42, 36, 0.08);
}

.service-text-block h3 {
  margin: 34px 0 16px;
  color: #1f2a24;
  font-size: 26px;
  line-height: 1.25;
}

.service-text-block p,
.service-text-block li {
  color: rgba(31, 42, 36, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.service-request {
  scroll-margin-top: 150px;
}

.service-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: stretch;
}

.service-request-form,
.service-request-contacts {
  padding: 30px;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(31, 42, 36, 0.1);
}

.service-request-form {
  background: #1f2a24;
  color: #ffffff;
}

.service-request-contacts {
  background: #ffffff;
  color: #1f2a24;
}

.service-request-form h3,
.service-request-contacts h3 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.25;
}

.service-request-form label {
  display: block;
  margin-bottom: 16px;
}

.service-request-form label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.service-request-form input,
.service-request-form textarea {
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.service-request-form input::placeholder,
.service-request-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.service-request-form input:focus,
.service-request-form textarea:focus {
  border-color: var(--gold);
}

.service-request-form textarea {
  min-height: 120px;
  resize: vertical;
}

.service-request-form button {
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.service-request-form button:hover {
  background: var(--gold-hover);
}

.service-request-form p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.service-contact-item {
  margin-bottom: 18px;
}

.service-contact-item span {
  display: block;
  margin-bottom: 6px;
  color: rgba(31, 42, 36, 0.58);
  font-size: 14px;
}

.service-contact-item a {
  color: #1f2a24;
  font-size: 17px;
  font-weight: 900;
}

.service-contact-item a:hover {
  color: var(--gold);
}

.service-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f0ede6;
  color: #1f2a24;
  font-size: 14px;
  font-weight: 800;
}

.service-contact-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: #f6f3ee;
  color: rgba(31, 42, 36, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

.service-conditions {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 36, 0.08);
}

.service-conditions p {
  margin: 0 0 10px;
  color: rgba(31, 42, 36, 0.76);
  font-size: 15px;
  line-height: 1.6;
}

.service-conditions p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   9. СТРАНИЦА КАЛЬКУЛЯТОРА
   ========================================================= */

.calculator-page {
  background: #f5f3ee;
  color: #1f2a24;
}

.calculator-hero {
  padding: 170px 0 42px;
  background: #1f2a24;
  color: #ffffff;
}

.calculator-label {
  margin: 0 0 34px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7a85b;
  text-align: center;
}

.calculator-title {
  max-width: 760px;
  margin: 0 auto;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 700;
  text-align: center;
}

.calculator-description {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.calculator-section {
  padding: 56px 0 80px;
}

.calculator-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: 0 22px 60px rgba(31, 42, 36, 0.12);
}

.calculator-tabs {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px;
  background: #f0ede6;
  border-bottom: 1px solid rgba(31, 42, 36, 0.08);
  pointer-events: auto;
}

.calculator-tab {
  position: relative;
  z-index: 3;
  appearance: none;
  border: 1px solid rgba(31, 42, 36, 0.12);
  background: #ffffff;
  color: #1f2a24;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.calculator-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 168, 91, 0.8);
}

.calculator-tab--active,
.calculator-tab.calculator-tab--active {
  background: #1f2a24;
  color: #ffffff;
  border-color: #1f2a24;
}

.calculator-card [data-calculator-content] {
  display: none !important;
}

.calculator-card [data-calculator-content].calculator-content--active {
  display: block !important;
}

.calculator-content {
  padding: 34px;
}

.calculator-content-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.calculator-subtitle {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2a24;
}

.calculator-text {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(31, 42, 36, 0.72);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.calculator-field {
  display: block;
}

.calculator-field-name {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2a24;
}

.calculator-input,
.calculator-select {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(31, 42, 36, 0.16);
  border-radius: 14px;
  background: #ffffff;
  padding: 0 16px;
  font-size: 16px;
  color: #1f2a24;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calculator-input::placeholder {
  color: rgba(31, 42, 36, 0.45);
}

.calculator-input:focus,
.calculator-select:focus {
  border-color: #d7a85b;
  box-shadow: 0 0 0 4px rgba(215, 168, 91, 0.18);
}

.calculator-select {
  cursor: pointer;
}

.calculator-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(31, 42, 36, 0.1);
}

.calculator-button {
  position: relative;
  z-index: 3;
  appearance: none;
  border: none;
  background: #d7a85b;
  color: #1f2a24;
  border-radius: 999px;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.calculator-button:hover {
  background: #e3b767;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(215, 168, 91, 0.28);
}

.calculator-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.calculator-result {
  min-width: 260px;
  padding: 16px 20px;
  background: #f5f3ee;
  border-radius: 18px;
  border: 1px solid rgba(31, 42, 36, 0.08);
}

.calculator-result-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: rgba(31, 42, 36, 0.62);
}

.calculator-result-value {
  display: block;
  font-size: 18px;
  line-height: 1.3;
  color: #1f2a24;
}


/* =========================================================
   10. ФУТЕР
   ========================================================= */

.site-footer {
  padding: 58px 0 0;
  background: #1f2a24;
  color: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 42px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.986);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.527);
  border-color: rgba(215, 168, 91, 0.55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.footer-logo:active {
  transform: translateY(0);
  box-shadow: none;
}

.footer-logo:focus-visible {
  outline: 3px solid rgba(215, 168, 91, 0.75);
  outline-offset: 5px;
}

.footer-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.65;
}

.footer-column {
  min-width: 0;
}

.footer-title {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.footer-links,
.footer-contacts {
  display: flex;
  flex-direction: column;
}

.footer-links {
  gap: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #d7a85b;
}

.footer-contact-item {
  margin-bottom: 17px;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-item span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.3;
}

.footer-contact-item a,
.footer-contact-item strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: #d7a85b;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-requisites {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.45;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
}


/* =========================================================
   11. TOAST
   ========================================================= */

.form-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  max-width: 380px;
  padding: 16px 20px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.form-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.form-toast.is-success {
  background: linear-gradient(135deg, #1f8f4d, #16703b);
}

.form-toast.is-error {
  background: linear-gradient(135deg, #b83232, #8f2323);
}


/* =========================================================
   12. АДАПТАЦИЯ
   ========================================================= */

@media (max-width: 1100px) {

  .main-nav>a,
  .dropdown-link {
    padding: 0 10px;
    font-size: 14px;
  }

  .hero-benefits {
    max-width: 620px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foundation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .nav-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .nav-logo img {
    max-width: 38px;
    max-height: 38px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-scheme,
  .service-request-grid {
    grid-template-columns: 1fr;
  }

  .service-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-scheme-image img {
    min-height: 280px;
  }

  .calculator-title {
    font-size: 40px;
  }

  .calculator-content {
    padding: 28px;
  }

  .footer-logo {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    padding: 11px;
    margin-bottom: 20px;
  }

  .footer-logo--clean {
    width: 96px;
    height: 96px;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .top-header-inner {
    min-height: auto;
    padding: 10px 0;
    display: grid;
    gap: 8px;
  }

  .top-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
  }

  .top-mail {
    max-width: 100%;
    word-break: break-word;
  }

  .top-callback {
    display: none;
  }

  .burger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--graphite);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow);
  }

  .main-nav.active-menu {
    display: flex;
  }

  .main-nav>a,
  .dropdown-link {
    min-height: 52px;
    padding: 0 16px;
    justify-content: flex-start;
  }

  .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu {
    position: static;
    z-index: 1;
    display: grid;
    width: auto;
    padding: 0 10px 10px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .hero {
    min-height: auto;
    padding: 190px 0 62px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-form-card {
    max-width: 520px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .consultation-box,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .services-page {
    padding: 140px 0 56px;
  }

  .services-hero {
    margin-bottom: 38px;
    padding: 42px 28px;
    border-radius: 0 0 24px 24px;
  }

  .services-hero p {
    font-size: 16px;
  }

  .services-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .services-cta-button {
    width: 100%;
  }

  .service-detail {
    padding: 150px 0 56px;
  }

  .service-detail-hero {
    margin-bottom: 38px;
    padding: 52px 28px;
    border-radius: 0 0 24px 24px;
  }

  .service-detail-price {
    font-size: 20px;
  }

  .service-detail-price strong {
    font-size: 30px;
  }

  .service-detail-description {
    font-size: 16px;
  }

  .service-scheme,
  .service-text-block,
  .service-request-form,
  .service-request-contacts {
    padding: 24px;
    border-radius: 22px;
  }
}

@media (max-width: 768px) {
  .nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .nav-logo img {
    max-width: 34px;
    max-height: 34px;
  }

  .calculator-hero {
    padding: 150px 0 34px;
  }

  .calculator-title {
    font-size: 32px;
  }

  .calculator-description {
    font-size: 16px;
  }

  .calculator-section {
    padding: 36px 0 56px;
  }

  .calculator-tabs {
    padding: 16px;
    gap: 8px;
  }

  .calculator-tab {
    padding: 11px 15px;
    font-size: 14px;
  }

  .calculator-content {
    padding: 22px;
  }

  .calculator-subtitle {
    font-size: 26px;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .calculator-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .calculator-button {
    width: 100%;
  }

  .calculator-result {
    min-width: 0;
  }

  .footer-logo {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    padding: 10px;
    margin-bottom: 18px;
  }

  .footer-logo--clean {
    width: 86px;
    height: 86px;
    padding: 0;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding-top: 42px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-requisites {
    flex-direction: column;
    gap: 6px;
  }

  .footer-copy {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .company-name {
    font-size: 20px;
  }

  .top-contacts {
    font-size: 13px;
  }

  .hero {
    padding: 185px 0 54px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.8px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-benefits {
    max-width: 100%;
    margin-top: 26px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-benefit {
    min-height: auto;
    padding: 14px 15px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    border-radius: 16px;
  }

  .hero-benefit::before {
    width: 100px;
    height: 100px;
    top: -60px;
    right: -40px;
  }

  .benefit-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .benefit-icon img {
    width: 27px;
    height: 27px;
  }

  .benefit-text span {
    font-size: 15px;
  }

  .benefit-text small {
    font-size: 13px;
  }

  .hero-form-card {
    padding: 20px;
    border-radius: 20px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head h2,
  .consultation-content h2,
  .contacts-info h2 {
    font-size: 30px;
  }

  .foundation-grid,
  .why-grid,
  .contacts-cards {
    grid-template-columns: 1fr;
  }

  .consultation-form {
    padding: 22px;
  }

  .services-page {
    padding: 136px 0 48px;
  }

  .services-hero {
    margin-bottom: 34px;
    padding: 34px 18px;
    border-radius: 0 0 22px 22px;
  }

  .services-hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .services-hero p {
    font-size: 15px;
    line-height: 1.6;
  }

  .service-card-image {
    height: 210px;
  }

  .service-card-content {
    padding: 22px;
  }

  .service-card-content h2 {
    font-size: 24px;
  }

  .service-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card-footer a {
    width: 100%;
  }

  .services-cta-box h2 {
    font-size: 28px;
  }

  .service-detail {
    padding: 145px 0 48px;
  }

  .service-detail-hero {
    padding: 34px 18px;
    border-radius: 0 0 22px 22px;
  }

  .service-detail-title {
    font-size: 30px;
    line-height: 1.12;
  }

  .service-detail-price {
    font-size: 18px;
  }

  .service-detail-price strong {
    font-size: 28px;
  }

  .service-detail-description {
    font-size: 15px;
    line-height: 1.6;
  }

  .service-detail-button {
    width: 100%;
  }

  .service-scheme {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-scheme,
  .service-text-block,
  .service-request-form,
  .service-request-contacts,
  .service-conditions {
    padding: 20px;
    border-radius: 20px;
  }

  .service-scheme-content h2 {
    font-size: 25px;
  }

  .service-scheme-image img {
    min-height: 220px;
  }

  .service-included-grid,
  .service-request-grid {
    grid-template-columns: 1fr;
  }

  .excel-price-table,
  .service-price-table {
    min-width: 680px;
  }

  .service-section-head h2,
  .service-request-head h2,
  .service-text-block h2 {
    font-size: 28px;
  }

  .service-text-block h3 {
    font-size: 22px;
  }

  .service-text-block p,
  .service-text-block li {
    font-size: 15px;
    line-height: 1.65;
  }

  .calculator-hero {
    padding-top: 150px;
  }

  .calculator-title {
    font-size: 28px;
    line-height: 1.15;
  }

  .calculator-description {
    font-size: 15px;
  }

  .calculator-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .calculator-tab {
    width: 100%;
    text-align: center;
  }

  .calculator-content {
    padding: 18px;
  }

  .form-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .nav-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .nav-logo img {
    max-width: 31px;
    max-height: 31px;
  }

  .hero {
    padding: 170px 0 44px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-form-card,
  .consultation-form,
  .contact-card,
  .foundation-card-content,
  .why-card {
    padding: 18px;
    border-radius: 18px;
  }

  .foundation-card img {
    height: 190px;
  }

  .calculator-card {
    border-radius: 22px;
  }

  .calculator-input,
  .calculator-select {
    height: 50px;
    border-radius: 12px;
  }

  .footer-logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    padding: 9px;
    margin-bottom: 16px;
  }

  .footer-logo--clean {
    width: 78px;
    height: 78px;
    padding: 0;
  }
}

/* =========================================================
   МОБИЛЬНОЕ ВЫПАДАЮЩЕЕ МЕНЮ "УСЛУГИ"
   ========================================================= */

@media (max-width: 900px) {
  .main-nav {
    z-index: 10003;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .dropdown-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .main-nav .dropdown-menu,
  .main-nav .nav-dropdown:hover .dropdown-menu {
    display: none;
    position: static;
    width: auto;
    padding: 0 10px 10px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .main-nav .nav-dropdown.is-open .dropdown-menu {
    display: grid;
  }

  .main-nav .nav-dropdown.is-open .dropdown-link::after {
    transform: rotate(225deg) translateY(-1px);
  }

  .dropdown-menu a {
    padding: 12px 14px;
  }
}
/* =========================================================
   МОБИЛЬНЫЙ ОТСТУП СТРАНИЦ УСЛУГ ОТ ФИКСИРОВАННОЙ ШАПКИ
   ========================================================= */

@media (max-width: 900px) {
  .service-detail {
    padding-top: 165px;
  }
}

@media (max-width: 620px) {
  .service-detail {
    padding-top: 155px;
  }
}

@media (max-width: 480px) {
  .service-detail {
    padding-top: 150px;
  }
}