/*
Theme Name: Shtatno
Description: Одностраничный лендинг по аутсорсингу линейного персонала. Шапка, главная страница и подвал на PHP, стили — чистый CSS, скрипты — чистый JavaScript без зависимостей.
Version: 2.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shtatno
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready
*/
/* inter-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v20-cyrillic_latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v20-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/inter-v20-cyrillic_latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Переменные */
:root {
  --primary: #0a305a;
  --primary-light: #0e4080;
  --primary-dark: #061e3a;
  --accent: #09abbc;
  --accent-light: #0dc4d8;
  --accent-dark: #078a98;
  --warm: #f8f6f3;
  --warm-dark: #f0ebe4;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --text: #1a1a2e;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 20px 40px rgba(10, 48, 90, 0.15);
  --shadow-accent: 0 10px 15px -3px rgba(9, 171, 188, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Сброс */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ol {
  list-style: none;
}

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

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

img {
  height: auto;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

/* Полоса прокрутки */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Контейнер и ограничители ширины */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}

.wrap-3xl,
.wrap-4xl,
.wrap-5xl,
.wrap-6xl {
  margin-inline: auto;
}

.wrap-3xl {
  max-width: 48rem;
}

.wrap-4xl {
  max-width: 56rem;
}

.wrap-5xl {
  max-width: 64rem;
}

.wrap-6xl {
  max-width: 72rem;
}

@media (min-width: 40rem) {
  .container {
    max-width: 40rem;
    padding-inline: 1.5rem;
  }
}

@media (min-width: 48rem) {
  .container {
    max-width: 48rem;
  }
}

@media (min-width: 64rem) {
  .container {
    max-width: 64rem;
    padding-inline: 2rem;
  }
}

@media (min-width: 80rem) {
  .container {
    max-width: 80rem;
  }
}

@media (min-width: 96rem) {
  .container {
    max-width: 96rem;
  }
}

/* Секции и заголовки */
.section {
  padding-block: 5rem;
}

.section--white {
  background-color: #fff;
  margin-top: 30px;
}

.section--warm {
  background-color: var(--warm);
	margin-top: 20px;
}

.section--navy,
.section--navy-deep {
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
}

.section--navy-deep {
  background-image: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.section--navy > .container,
.section--navy-deep > .container {
  position: relative;
  z-index: 10;
}

.section--pattern {
  background-image: radial-gradient(circle at 20% 80%, rgba(9, 171, 188, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(10, 48, 90, 0.03) 0%, transparent 50%);
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head--sm {
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label--light {
  color: var(--accent-light);
}

.section-title {
  color: var(--primary);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-title--light {
  color: #fff;
}

.section-text {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--gray-500);
}

.decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.section-bg {
  position: absolute;
  inset: 0;
}

/* Кнопки и ссылки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-2xl);
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn:hover,
.btn:focus {
  background-color: var(--accent-dark);
  box-shadow: var(--shadow-accent);
}

.btn--hero {
  padding: 1rem 2rem;
}

.btn--hero:hover,
.btn--hero:focus {
  transform: translateY(-0.25rem);
}

.btn--compact {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
}

.btn--compact:hover,
.btn--compact:focus {
  box-shadow: var(--shadow-accent);
}

.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  transition: color 0.15s ease;
}

.link-arrow:hover,
.link-arrow:focus {
  color: var(--accent-dark);
}

.link-arrow svg {
  width: 1rem;
  height: 1rem;
}

/* Шапка */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding-block: 1.25rem;
  background-color: var(--primary);
  transition: background-color var(--transition), box-shadow var(--transition), padding var(--transition);
}

.home .site-header{
  background-color: transparent;
}

.site-header.is-scrolled {
  padding-block: 0.75rem;
  background-color: #fff;
  box-shadow: var(--shadow-lg);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
	
}

.site-logo__mark {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-xl);
  background-color: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: background-color var(--transition);
}

.site-header.is-scrolled .site-logo__mark {
  background-color: var(--primary);
}

.site-logo__name {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  transition: color var(--transition);
  margin-left: 10px;
}

.site-header.is-scrolled .site-logo__name {
  color: var(--primary);
}

.custom-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .custom-logo{
	filter: none;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.site-nav__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.975rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link:focus {
  color: var(--accent);
}

.site-header.is-scrolled .site-nav__link {
  color: var(--gray-600);
}

.site-header.is-scrolled .site-nav__link:hover,
.site-header.is-scrolled .site-nav__link:focus {
  color: var(--accent);
}

@media (min-width: 48rem) {
  .site-nav {
    display: flex;
  }
}

/* Первый экран */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
  overflow: hidden;
  background-color: var(--primary);
}

.hero__blob--1 {
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background-color: rgba(9, 171, 188, 0.05);
  transform: translate(33.3333%, -50%);
}

.hero__blob--2 {
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background-color: rgba(9, 171, 188, 0.1);
  transform: translate(-33.3333%, 50%);
}

.hero__blob--3 {
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translate(-50%, -50%);
}

.hero__layout {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-block: 5rem;
}

.hero__content {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 56rem;
}

.hero__label {
  margin-bottom: 1rem;
  color: var(--accent-light);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero__slider {
  position: relative;
  height: 6rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero__slide-title {
  margin-bottom: 0.5rem;
  color: var(--accent-light);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
}

.hero__slide-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.hero__dots {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: width var(--transition), background-color var(--transition);
}

.hero__dot::after {
  content: '';
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 9999px;
}

.hero__dot.is-active {
  width: 2rem;
  background-color: var(--accent);
}

.hero__media {
  display: none;
  position: relative;
  flex: 0 0 25rem;
  aspect-ratio: 4 / 5;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
  border-radius: 100px 5px 5px 100px;
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

.hero__photo.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero__wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.hero__wave svg {
  width: 100%;
  height: auto;
}

@media (min-width: 40rem) {
  .hero__title {
    font-size: 3rem;
  }

  .hero__slider {
    height: 5rem;
  }

  .hero__slide-title {
    font-size: 1.875rem;
    line-height: 1.2;
  }
}

@media (min-width: 64rem) {
  .hero__title {
    font-size: 3.75rem;
  }
}

@media (min-width: 80rem) {
  .hero__media {
    display: block;
  }
}

/* О решении */
.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__text > * + * {
  margin-top: 1.5rem;
}

.about__text p {
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.625;
}

.about__panel {
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-3xl);
  background-image: linear-gradient(135deg, rgba(10, 48, 90, 0.05), rgba(9, 171, 188, 0.05));
}

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

@media(max-width: 450px){
	.about__facts {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
}

.fact {
  padding: 1.5rem;
  border-radius: var(--radius-2xl);
  background-color: #fff;
  box-shadow: var(--shadow-sm);
}

.fact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-xl);
  background-color: rgba(9, 171, 188, 0.1);
  color: var(--accent);
}

.fact__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.fact__title {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.fact__text {
  margin-top: 0.25rem;
  color: var(--gray-500);
  font-size: 0.75rem;
}

.about__note {
  margin-top: 1rem;
  color: var(--gray-400);
  font-size: 0.75rem;
  font-style: italic;
  text-align: center;
}

@media (min-width: 64rem) {
  .about__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Категории персонала */
.category-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin-inline: auto;
}

.category-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-3xl);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.category-card--blue {
  background-image: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.category-card--indigo {
  background-image: linear-gradient(135deg, #eef2ff, #eff6ff);
}

.category-card--slate {
  background-image: linear-gradient(135deg, #f8fafc, #f3f4f6);
}

.category-card--teal {
  background-image: linear-gradient(135deg, #f0fdfa, #ecfeff);
}

.category-card--green {
  background-image: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.category-card--amber {
  background-image: linear-gradient(135deg, #fffbeb, #fefce8);
}

.category-card__icon {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 1;
}

.category-card__title {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  transition: color 0.15s ease;
}

.category-card:hover .category-card__title {
  color: var(--accent);
}

.category-card__text {
  margin-bottom: 1rem;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.category-card__price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-card__price b {
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 700;
}

.category-card__price span {
  color: var(--gray-400);
  font-size: 0.875rem;
}

@media (min-width: 40rem) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Преимущества */
.benefit-grid {
  display: grid;
  gap: 1.5rem;
}

.benefit-card {
  padding: 2rem;
  border: 1px solid rgba(240, 235, 228, 0.5);
  border-radius: var(--radius-3xl);
  background-color: var(--warm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-2xl);
  background-color: rgba(9, 171, 188, 0.1);
  color: var(--accent);
}

.benefit-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.benefit-card__title {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.benefit-card__text {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.625;
}

@media (min-width: 40rem) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Цифры */
.stats__blob--1 {
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(9, 171, 188, 0.05);
}

.stats__blob--2 {
  right: 25%;
  bottom: 0;
  width: 16rem;
  height: 16rem;
  background-color: rgba(9, 171, 188, 0.1);
}

.stat-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin-inline: auto;
}

.stat {
  text-align: center;
}

.stat__value {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.stat__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

@media (min-width: 40rem) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat__value {
    font-size: 3.75rem;
  }
}

@media (min-width: 64rem) {
  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Калькулятор */
.calc__card {
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-3xl);
  background-color: #fff;
  box-shadow: var(--shadow-xl);
}

.calc__grid {
  display: grid;
  gap: 2.5rem;
}

.calc__form > * + * {
  margin-top: 1.5rem;
}

.calc__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.calc__label b {
  color: var(--accent);
  font-weight: 700;
}

.calc__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background-color: #fff;
  color: var(--gray-600);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.calc__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(9, 171, 188, 0.1);
  outline: none;
}

.calc__range {
  width: 100%;
  height: 0.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--gray-200);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.calc__range::-webkit-slider-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border: 0;
  border-radius: 50%;
  background-color: var(--accent);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.calc__range::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border: 0;
  border-radius: 50%;
  background-color: var(--accent);
  cursor: pointer;
}

.calc__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  color: var(--gray-400);
  font-size: 0.75rem;
}

.calc__radios {
  display: flex;
  gap: 1rem;
}

.calc__radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  cursor: pointer;
}

.calc__radio input {
  accent-color: var(--accent);
}

.calc__result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc__result-card {
  margin-bottom: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background-image: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.calc__result-label {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.calc__result-total {
  margin-bottom: 0.25rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.111;
}

.calc__result-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.calc__rows {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.calc__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.calc__row + .calc__row {
  margin-top: 0.5rem;
}

.calc__row span:first-child {
  color: rgba(255, 255, 255, 0.7);
}

.calc__row span:last-child {
  font-weight: 600;
}

.calc__disclaimer {
  margin-bottom: 1rem;
  color: var(--gray-400);
  font-size: 0.75rem;
  font-style: italic;
}

@media (min-width: 40rem) {
  .calc__card {
    padding: 2.5rem;
  }
}

@media (min-width: 64rem) {
  .calc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Этапы работы */
.step-grid {
  display: grid;
  gap: 1.5rem;
}

.step {
  position: relative;
}

.step__card {
  height: 100%;
  padding: 2rem;
  border: 1px solid rgba(240, 235, 228, 0.3);
  border-radius: var(--radius-3xl);
  background-color: var(--warm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover .step__card {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.step__number {
  margin-bottom: 1rem;
  color: rgba(9, 171, 188, 0.2);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.15s ease;
}

.step:hover .step__number {
  color: rgba(9, 171, 188, 0.4);
}

.step__title {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.step__text {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.625;
}

.step__arrow {
  display: none;
}

@media (min-width: 40rem) {
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step__arrow {
    display: block;
    position: absolute;
    top: 50%;
    right: -0.75rem;
    z-index: 10;
    color: rgba(9, 171, 188, 0.4);
    transform: translateY(-50%);
  }

  .step__arrow svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Форма заявки */
.lead__step-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.lead-step {
  text-align: center;
}

.lead-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-weight: 700;
}

.lead-step__title {
  margin-bottom: 0.25rem;
  color: #fff;
  font-weight: 600;
}

.lead-step__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.lead__form {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-3xl);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lead__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.lead__label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.lead__input {
  width: 100%;
	max-width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.lead__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.lead__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(9, 171, 188, 0.3);
  outline: none;
}

.lead__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.lead__consent-box {
  margin-bottom: 1.5rem;
}

.lead__blob--1 {
  top: 2.5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background-color: rgba(9, 171, 188, 0.05);
}

.lead__blob--2 {
  bottom: 2.5rem;
  left: 2.5rem;
  width: 12rem;
  height: 12rem;
  background-color: rgba(9, 171, 188, 0.1);
}

.lead__checkbox {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.lead__consent-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.625;
}

.lead__link {
  color: var(--accent-light);
  text-decoration: underline;
  transition: color 0.15s ease;
}

.lead__link:hover,
.lead__link:focus {
  color: #fff;
}

.lead__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-2xl);
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.lead__submit:hover:not(:disabled),
.lead__submit:focus:not(:disabled) {
  background-color: var(--accent-dark);
  box-shadow: var(--shadow-accent);
  transform: translateY(-0.125rem);
}

.lead__submit:disabled {
  background-color: var(--gray-400);
  cursor: not-allowed;
}

.form-status {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-2xl);
  font-size: 0.875rem;
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  border: 1px solid rgba(13, 196, 216, 0.5);
  background-color: rgba(9, 171, 188, 0.15);
  color: #fff;
}

.form-status--error {
  border: 1px solid rgba(248, 113, 113, 0.6);
  background-color: rgba(220, 38, 38, 0.2);
  color: #fff;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

@media (min-width: 40rem) {
  .lead__form {
    padding: 2.5rem;
  }

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

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

  .lead__submit {
    width: auto;
  }
}

/* Контакты */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-3xl);
  background-color: #fff;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius-2xl);
  background-color: rgba(9, 171, 188, 0.1);
  color: var(--accent);
}

.contact-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-card__eyebrow {
  margin-bottom: 0.25rem;
  color: var(--gray-400);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-card__title {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
}

.contact-card__text {
  margin-top: 0.5rem;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.contact-card__link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.contact-card__link:hover,
.contact-card__link:focus {
  color: var(--accent-dark);
}

@media (min-width: 40rem) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Подвал */
.site-footer {
  padding-block: 3rem;
  background-color: var(--primary-dark);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__brand-mark {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
  font-weight: 700;
}

.footer__brand-name {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}

.footer__text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.625;
}

.footer__title {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.footer-nav > li + li {
  margin-top: 0.5rem;
}

.footer-nav__link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-nav__link:hover,
.footer-nav__link:focus {
  color: var(--accent);
}

.footer-contacts > li {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-contacts > li + li {
  margin-top: 0.5rem;
}

.footer-contacts__link {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s ease;
}

.footer-contacts__link:hover,
.footer-contacts__link:focus {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer__link:hover,
.footer__link:focus {
  color: var(--accent);
}

@media (min-width: 40rem) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__bottom {
    flex-direction: row;
  }
}

@media (min-width: 64rem) {
  .footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Появление блоков при прокрутке */
.js .reveal {
  opacity: 0;
  translate: 0 2rem;
  transition: opacity 0.7s ease, translate 0.7s ease, transform var(--transition), box-shadow var(--transition);
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

.js .reveal-stagger > .reveal:nth-child(2) {
  transition-delay: 0.09s;
}

.js .reveal-stagger > .reveal:nth-child(3) {
  transition-delay: 0.18s;
}

.js .reveal-stagger > .reveal:nth-child(4) {
  transition-delay: 0.27s;
}

.js .reveal-stagger > .reveal:nth-child(5) {
  transition-delay: 0.36s;
}

.js .reveal-stagger > .reveal:nth-child(6) {
  transition-delay: 0.45s;
}

/* Доступность */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  display: block;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 1rem 1.25rem;
  clip-path: none;
  border-radius: var(--radius-lg);
  background-color: #fff;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: normal;
  z-index: 100000;
}

.skip-link {
  position: absolute;
}

/* Содержимое страниц и записей */
.entry-content > * + * {
  margin-top: 1.25rem;
}

.entry-content p {
  line-height: 1.75;
}

.entry-content h2 {
  margin-top: 2rem;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.entry-content h3 {
  margin-top: 1.75rem;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.entry-content h4 {
  margin-top: 1.5rem;
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
}

.entry-content a {
  color: var(--accent);
  text-decoration: underline;
}

.entry-content a:hover,
.entry-content a:focus {
  color: var(--accent-dark);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li + li {
  margin-top: 0.375rem;
}

.entry-content blockquote {
  padding-left: 1.25rem;
  border-left: 4px solid var(--accent);
  color: var(--gray-500);
  font-style: italic;
}

.entry-content code {
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background-color: var(--gray-100);
  font-size: 0.875em;
}

.entry-content pre {
  padding: 1.25rem;
  overflow-x: auto;
  border-radius: var(--radius-2xl);
  background-color: var(--primary);
  color: #fff;
}

.entry-content pre code {
  padding: 0;
  background-color: transparent;
  color: inherit;
}

.entry-content th,
.entry-content td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-200);
  text-align: left;
}

.entry-content th {
  background-color: var(--warm);
  color: var(--primary);
  font-weight: 600;
}

.entry-content iframe {
  max-width: 100%;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
  margin-top: 0.5rem;
  color: var(--gray-500);
  font-size: 0.875rem;
  text-align: center;
}

.entry-content .wp-block-image img {
  border-radius: var(--radius-2xl);
}

.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.entry-content::after,
.clearfix::after {
  display: table;
  clear: both;
  content: '';
}

/* Записи и архивы */
.post-list {
  display: grid;
  gap: 2rem;
}

.post-card {
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-3xl);
  background-color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.post-card__title {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.post-card__title a:hover,
.post-card__title a:focus {
  color: var(--accent);
}

.post-card__date {
  margin-bottom: 1rem;
  color: var(--gray-400);
  font-size: 0.75rem;
}

.post-card__excerpt {
  color: var(--gray-600);
}

.notice-box {
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-3xl);
  background-color: #fff;
  text-align: center;
}

.notice-box__title {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.notice-box__text {
  margin-bottom: 1.5rem;
  color: var(--gray-500);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background-color: #fff;
  color: var(--gray-600);
  font-size: 0.875rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination .current {
  border-color: var(--accent);
  background-color: var(--accent);
  color: #fff;
}

.page-title {
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 40rem) {
  .page-title,
  .section-title {
    font-size: 2.25rem;
    line-height: 1.111;
  }
}

/* Уменьшенное движение */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    translate: none;
  }
}

.cus_logo{
	display: flex;
	align-items: center;
}
