/* Local Roboto Flex (user-downloaded variable font) */
@font-face {
  font-family: 'Roboto Flex';
  src: url('../fonts/RobotoFlex.ttf')
    format('truetype');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
/* ===== CAPITAL LEGAL — палитра сайта (ТЗ §3.3) ===== */
:root {
  --bg:           #FFFFFF; /* основной фон */
  --bg-alt:       #F7F3F1; /* альтернативный фон секций */
  --card:         #FFFFFF; /* фон карточек */
  --card-soft:    #FBF8F7; /* почти белый фон карточек/полей */
  --text:         #111111; /* основной текст */
  --text-muted:   #4A4A4A; /* второстепенный текст */
  --text-faint:   #6B6B6B; /* плейсхолдеры */
  --accent:       #AA645A; /* кирпичный акцент */
  --accent-hover: #8F4F47; /* тёмный кирпичный (hover) */
  --divider:      #E8DEDB; /* разделители */
}

/* Base */

* {
  box-sizing: border-box;
  font-family: 'Roboto Flex', system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
html,
body {
  overflow-x: hidden;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  font-family: 'Roboto Flex', system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: #111111;
}


#team,#media{
    padding-bottom: 0px;
}

/* Scroll animations (AOS-like) */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: transform var(--aos-duration, 600ms) ease,
    opacity var(--aos-duration, 600ms) ease;
  will-change: opacity, transform;
}
[data-aos].aos-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transition: none !important;
  }
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: #f7f3f1;
  padding-top: var(--header-h, 50px);
}

.nal {
  color: #4a4a4a;
}

.nalog-cta-small-container {
  width: 100%;
  display: flex;
}

.nalog-cta-small {
  margin-left: auto;
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 11px 25px;
  font-size: 15px;
  line-height: 110%;
  font-weight: 600;
  color: #aa645a;
  background: transparent;
  border: 1px solid #aa645a;
}
.nalog-cta-small svg {
  min-width: 24px;
  height: 24px;
}
 .hero {
            position: relative;
        }
        .hero__bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: 58% center;
        }
        .hero__bg::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(
                100deg,
                rgba(247, 243, 241, 0.95) 0%,
                rgba(247, 243, 241, 0.85) 24%,
                rgba(247, 243, 241, 0.7) 44%,
                rgba(247, 243, 241, 0.5) 62%,
                rgba(247, 243, 241, 0.3) 80%
            );
        }
        .hero .cta-bg__container {
            position: relative;
            z-index: 2;
        }
        .hero-text-shadow {
            text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
        }
        .hero-card-bg {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

.partners__card img{
	width:100%;
	border-radius:12px;
}


/* Layout helpers */
.header,
.content {
  width: min(1360px, 100% - 64px);
  margin: 0 auto;
}

/* Offset anchor scroll for fixed header */
[id] {
  scroll-margin-top: var(--header-h, 96px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 0;
  background: transparent;
  transition: background 200ms ease, box-shadow 200ms ease,
    -webkit-backdrop-filter 200ms ease, backdrop-filter 200ms ease;
}
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* full-bleed background */
  height: 100%;
  background: transparent;
  pointer-events: none;
  transition: background 200ms ease, box-shadow 200ms ease,
    -webkit-backdrop-filter 200ms ease, backdrop-filter 200ms ease;
  z-index: -1;
}

.header--scrolled {
  background: transparent; /* use pseudo for full width */
  padding-bottom: 24px; /* nicer bottom spacing when stuck */
}
.header--scrolled::before {
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.header__left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.burger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.burger img {
  height: 42px;
}

.hero__container{
  padding-bottom: 40px !important;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111111;
  text-decoration: none;
}
.cl-foot__msgr img{
	width:60px;
}

.logo__icon {
  height: 48px;
}
.logo__text {
  display: flex;
  flex-direction: column;
}
.logo__meta {
  display: flex;
  flex-direction: column;
  color: #4a4a4a;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600; /* SemiBold spec */
  font-size: 12px;
  line-height: 120%;
  letter-spacing: -0.02em;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #aa645a1f;
  border: 1px solid rgba(170, 100, 90, 0.22);
  backdrop-filter: blur(24px);
  color: #111111;
  text-decoration: none;
  cursor: pointer;
}
.icon-btn img {
  width: 24px;
  height: 24px;
}

.cta-small {
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-weight: 800;
  justify-content: center;
  height: 48px;
  border-radius: 10px;
  background: #aa645a1f;
  backdrop-filter: blur(24px);
  border: 1px solid rgba(170, 100, 90, 0.22);
  color: #aa645a;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.phone {
  color: #aa645a;
  text-decoration: none;
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 800;
  font-style: medium;
  font-size: 18px;
  white-space: nowrap;
  border-bottom: 1.5px solid #aa645a;
}


.cases__text form{
	border-radius:12px;
	background:#fbf8f7;
	margin:20px;
	border:1px solid rgba(170, 100, 90, 0.22);
	padding:20px;
}

/* Hero content */
.content {
  position: relative;
  z-index: 1;
  padding: 76px 0 140px;
}

.title {
  margin: 48px 0 24px;
  max-width: 820px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600; /* per spec */
  font-size: 50px; /* per spec */
  line-height: 113%;
  letter-spacing: 0;
  color: #111111;
}

.subtitle {
  margin: 12px 0 36px;
  color: #4a4a4a;
  font-weight: 500; /* per spec */
  font-size: 35px; /* per spec */
  line-height: 113%;
  letter-spacing: -0.02em;
  max-width: 760px;
  color: #4a4a4a;
}

.cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #aa645a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 18px 28px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 6px 18px rgba(143, 79, 71, 0.35);
}

/* Features section */
.features {
  padding: 80px 0;
  background: #f7f3f1;
}
.features__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature-card {
  height: 290px;
  display: grid;
  grid-template-columns: 517px 1fr;
  align-items: center;
  padding: 0 32px;
  border-radius: 30px;
  background: #f7f3f1;
  border: 1px solid #e8dedb;
  border-radius: 30px;
  overflow: hidden;
}
.feature-card__image {
  width: 100%;
  max-width: 347px;
  height: 100%;
  object-fit: contain;
  margin-left: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}
.feature-card__text {
  padding-left: 24px;
}
.feature-title {
  margin: 0 0 14px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 120%;
  letter-spacing: -0.01em;
  color: #4a4a4a;
}
.feature-desc {
  margin: 0;
  color: #4a4a4a;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
}

/* Discussion section */
.discussion {
  padding-top: 195px;
  padding-bottom: 120px;
  background: #ffffff;
  color: #111111;
}

.photo_single_team{
width:100%;
max-width:500px;
	height:100%;
	margin:20px auto;
}

.discussion__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.discussion__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    'lead lead'
    'photo text';
  column-gap: 62px; /* requested gap between image and paragraph */
  row-gap: 24px;
  align-items: start;
  margin-bottom: 165px;
}
.discussion__lead {
  grid-area: lead;
  margin: 0 0 18px;
  color: #111111;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 35px;
  line-height: 113%;
  max-width: 688px;
  letter-spacing: -0.03em;
}
.discussion__photo {
  grid-area: photo;
  width: 407px;
  max-width: 100%;
  height: 301px;
  display: block;
  border-radius: 30px;
}
.discussion__text {
  grid-area: text;
  margin: 0;
  color: #111111;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 35px;
  letter-spacing: -0.03em;
  align-self: self-end;
  line-height: 113%;
}
.discussion__title {
  margin: 24px 0 8px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 120%;
  color: #111111;
  max-width: 743px;
}
.discussion__label {
  margin: 88px 0 26px;
  color: #4a4a4a;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 30px;
}
.discussion__roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  border-radius: 30px;
  background: #fbf8f7;
  border: 1px solid #e8dedb;
  color: #111111;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 800;
  font-size: 24px;
}
.discussion__note {
  margin: 46px 0 0;
  color: #111111;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 30px;
}

/* CTA background section */
.cta-bg {
  padding-top: 144px;
  padding-bottom: 120px;
  position: relative;
  background: #f7f3f1;
  color: #111111;
}

.cta-bg__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-bg__title {
  margin: 0 0 42px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 114%;
  letter-spacing: 0;
  max-width: 506px;
  color: #111111;
}
.cta-bg__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 0 42px;
}
.cta-bg__lead {
  margin: 0 0 42px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 35px;
  line-height: 114%;
  letter-spacing: -0.02em;
  max-width: 601px;
}
.cta-bg__sublead {
  margin: 0 0 42px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em;
  max-width: 555px !important;
}
.cta-bg__muted {
  margin: 0 0 42px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #111111;
  max-width: 583px;
}
.cta-bg .cta-main {
  margin-top: 0;
}

.cta-bg__row .cta-bg__muted {
  margin: 0;
}

/* Showcase section */
.showcase {
  padding-top: 85px;
  padding-bottom: 124px;
  background: #ffffff;
}
.showcase__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.showcase__row {
  display: grid;
  grid-template-columns: 367px 1fr;
  gap: 60px;
  align-items: center;
}
.showcase__row + .showcase__row {
  margin-top: 210px; /* spacing between first and second rows */
}
.showcase__row--reverse {
  grid-template-columns: 1fr 367px;
}
.showcase__image {
  width: 367px;
  height: 684px;
  border-radius: 30px;
  object-fit: cover;
}
.showcase__content > * + * {
  margin-top: 40px; /* gap between texts */
}
.showcase__title {
  margin: 0;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 114%;
  letter-spacing: 0;
  color: #111111;
  margin-bottom: 40px;
}
.showcase__subtitle {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 35px;
  line-height: 114%;
  letter-spacing: -0.02em;
  color: #4a4a4a;
}

/* Contact section */
.contact {
  padding: 105px 0;
  background: #ffffff;
}
.contact__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  column-gap: 127px; /* gap between title block and form */
  align-items: start;
}
.contact__title {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 114%;
  letter-spacing: 0;
  max-width: 583px;
  color: #111111;
}
.contact__subtitle {
  margin: 0;
  color: #4a4a4a;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.03em;
}
.contact__nda {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  background-color: #fbf8f7;
  border: 1px solid #e8dedb;
  border-radius: 8px;
  max-width: 348px;
  margin-top: auto;
}
.contact__left {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.contact__nda span {
  max-width: 220px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #4a4a4a;
}
.contact__nda img {
  width: 112px;
  height: 112px;
}
.contact__form {
  display: grid;
  gap: 32px;
}
.contact__input {
  width: 100%;
  height: 55px;
  padding: 0 16px;
  text-align: center;
  border-radius: 10px;
  font-size: 20px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  background: #fbf8f7;
  color: #111111;
  outline: none;
}
.contact__input::placeholder {
  color: #6b6b6b;
}
.contact__submit {
  height: 75px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 100%;
}

.contact__methods-title {
  margin: 32px 0 24px;
  color: #6b6b6b;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: center;
}
.contact__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.contact__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border-radius: 10px;
  background: #aa645a1f;
  border: 1px solid rgba(170, 100, 90, 0.22);
  color: #8f4f47;
  text-decoration: none;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.contact__chip:hover {
  background: #aa645a33;
  border-width: 2px;
  border-color: #aa645a;
}
.contact__chip.is-active {
  background: #aa645a33;
  border-width: 2px;
  border-color: #aa645a;
}
.contact__chip img {
  width: 18px;
  height: 18px;
}
.contact__divider {
  margin: 24px 0 32px;
  height: 1px;
  background: rgba(17, 17, 17, 0.08);
}
.contact__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-bottom: 32px;
}
.contact__logo {
  width: 148px;
  height: auto;
}
.contact__rights {
  color: #4a4a4a;
  font-size: 16px;
}
.contact__agreements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  color: #4a4a4a;
  font-size: 12px;
}
.contact__agreement {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 14px;
}

.contact__agreement a{
	color:#4a4a4a;
}

.checkbox {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #aa645a;
}
.checkbox::before {
  content: '✓';
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
}

/* Успех */
.wpcf7 .sent .wpcf7-response-output {
  background: rgba(170, 100, 90, 0.1);
  border: 1px solid #aa645a;
  color: #aa645a;
}

/* Ошибка */
.wpcf7 .failed .wpcf7-response-output,
.wpcf7 .invalid .wpcf7-response-output {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.4);
  color: #ff6b6b;
}

/* Cases section */
.cases {
  padding: 170px 0 120px;
  background: #f7f3f1;
}
.cases__container {
  width: min(1240px, 100% - 128px - 106px);
  margin: 0 auto;
}
.cases__title {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0;
  color: #111111;
}
.cases__subtitle {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 35px;
  line-height: 114%;
  letter-spacing: -0.02em;
  color: #4a4a4a;
  max-width: 980px;
}
.cases__slider {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 16px;
}
.cases__viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.cases__viewport * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.cases__viewport.is-dragging {
  cursor: grabbing;
}
.cases__track {
  display: flex;
  align-items: center;
  width: 100%;
  transition: transform 500ms ease;
  will-change: transform;
  gap: 24px;
}
.cases__nav {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  border: 1px solid #e8dedb;
  background: #ffffff;
  color: #aa645a;
  font-size: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cases__card {
  padding: 40px;
  border-radius: 30px;
	height:auto;
  background: #ffffff;
  display: grid;
  gap: 40px;
  flex: 0 0 100%;
}
.cases__card-title {
  margin: 0;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 35px;
  line-height: 114%;
  letter-spacing: -0.02em;
  color: #111111;
  max-width: 701px;
}
.cases__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.cases__col-title {
  margin: 0 0 24px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #4a4a4a;
}
.cases__text {
  margin: 0;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 150%;
}
.cases__list {
  margin: 0;
  padding-left: 18px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 100%;
}

.cases__btn {
  width: 100%;
  height: 75px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em;
  margin-top: 24px;
}

/* Cookie bar */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  backdrop-filter: blur(24px);
  background: #aa645a1f;
  border: 1px solid #e8dedb;
  border-image-slice: 1;
  display: flex;
  justify-content: center;
}
.cookie__inner {
  max-width: 1240px;
  display: flex;
  width: 100%;
  padding-left: 69px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 32px;
  color: #8f4f47;
  width: 100%;
}
.cookie p {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.cookie__agree {
  padding: 0 20px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 0;
  background: #aa645a;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
}
.cookie--hidden {
  display: none;
}

/* Services section */
.services {
  padding: 120px 0; /* top/bottom per spec */
  background: #ffffff;
  color: #111111;
}
.services__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.services__title {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0;
  color: #111111;
}
.services__subtitle-description {
  margin: 0 0 30px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #4a4a4a;
}
.services__description {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #4a4a4a;
}
.services__column-title {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 120%;
  letter-spacing: 0;
  color: #111111;
}
.services__subtitle {
  margin: 0 0 30px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0;
  color: #111111;
}
.services__group + .services__group {
  margin-top: 40px; /* spacing between groups within a column */
}
.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services__item {
  margin: 0 0 30px; /* spacing inside sections */
}
.services__item a {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600; /* SemiBold */
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em; /* -2% */
  text-decoration: underline;
  color: #4a4a4a;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; /* spacing between columns */
  margin-top: 60px;
}

/* Guarantee section */
.guarantee {
  padding-top: 120px;
  background: #ffffff;
  color: #111111;
  margin-bottom: 120px; /* next block margin */
}
.guarantee__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.guarantee__grid {
  display: grid;
  grid-template-columns: 1fr 720px;
  align-items: start;
  gap: 48px; /* text and image gap */
}
.guarantee__title {
  margin: 0 0 40px; /* mb40 */
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0;
  color: #111111;
}
.guarantee__lead {
  margin: 0 0 24px;
  color: #4a4a4a;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 35px;
  line-height: 114%;
  letter-spacing: -0.02em;
}
.guarantee__image {
  width: 720px;
  height: 476px;
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
}
/* FAQ section */
.faq {
  padding: 120px 0; /* keep section rhythm */
  background: #ffffff;
}
.faq__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.faq__title {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  color: #111111;
  text-align: center; /* centered title */
}
.faq__list {
  display: grid;
  gap: 0; /* avoid gaps so only top borders are visible */
}
.faq__item {
  border-top: 1px solid #e8dedb; /* only top border per item */
  background: #ffffff;
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: flex-start; /* align top */
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0; /* no left/right padding */
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: #4a4a4a; /* question color (switched) */
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 30px; /* switched */
  line-height: 120%;
}
.faq__icon {
  flex: 0 0 auto;
  min-width: 40px; /* requested min width */
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  align-self: flex-start; /* pin to top */
}
.faq__answer {
  padding: 0 0 30px 0; /* no left/right padding */
  color: #4a4a4a; /* answer color (switched) */
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px; /* switched */
  line-height: 114%;
}

/* Blog section */
.blog {
  padding: 120px 0;
  background: #f7f3f1;
}
.blog__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.blog__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center; /* align arrows with subtitle */
  gap: 24px;
}
.blog__arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog__title {
  margin: 0 0 24px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  color: #111111;
}
.blog__subtitle {
  margin: 0; /* keep arrows aligned with subtitle */
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 35px;
  line-height: 114%;
  letter-spacing: -0.02em;
  color: #4a4a4a;
}
.blog__slider {
  position: relative;
}
.blog__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  width: calc(50vw + 50%);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}
.blog__viewport::-webkit-scrollbar {
  display: none;
}
.blog__track {
  display: flex;
  width: max-content; /* expand to fit all cards */
  gap: 20px;
}
.blog__card {
  flex: 0 0 400px; /* show multiple cards per viewport */
  color: #111111;
  scroll-snap-align: start;
}
.blog__image {
  width: 400px;
  height: 300px;
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}
.blog__card-title {
  margin: 0 0 30px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  height: 70px;
  color: #111111;
}
.blog__read {
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em;
  border-bottom: 1px solid #aa645a;
  color: #aa645a;
  text-decoration: none;
}

/* Connect section below the blog */
.connect {
  padding-bottom: 120px;
  background: #f7f3f1;
}
.connect__container {
  margin: 0 auto;
  text-align: center;
}
.connect__title {
  margin: 0 0 40px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 114%;
  color: #111111;
}
.connect__subtitle {
  margin: 0 0 40px;
  font-size: 20px;
  color: #4a4a4a;
}
.connect__options {
  display: grid;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-content: center;
  max-width: 696px;
  margin-bottom: 40px;
}
.connect__option {
  display: flex;
  align-items: center;
  min-height: 112px;
  border-radius: 8px;
  padding-left: 20px;
  background: transparent;
  border: 1px solid #e8dedb;
  color: #6b6b6b;
  text-decoration: none;
}
.connect__icon {
  width: 75px;
  height: 75px;
  margin-right: 20px;
}
.connect__hint {
  margin-bottom: 40px;
  margin-top: 0;
  font-size: 20px;
  color: #4a4a4a;
}
.connect__phone {
  display: inline-block;
  color: #aa645a;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none; /* no underline */
}

/* Location section (map) */
.location {
  padding: 0; /* no section padding; apply to text only */
  background: #ffffff;
  color: #111111;
}
.location--hidden {
  display: none;
}
.location__container {
  margin: 0 auto;
}
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 92px; /* per spec */
}
.location__left {
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
}
.location__title {
  margin: 0 0 40px; /* mb40 */
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 114%;
  letter-spacing: 0;
  max-width: 528px;
}
.location__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.location__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 14px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #4a4a4a;
}
.location__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.location__link {
  color: #4a4a4a;
  text-decoration: none;
}
.location__map {
  position: relative;
  height: 520px;
  border-radius: 0; /* flush edges */
  overflow: hidden;
  box-shadow: none;
  margin-right: 0; /* keep within container to avoid page scroll */
}
.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.location__maplink {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #ffffff;
  color: #111111;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
}

/* Bottom contact form (light theme) */
.contact-final {
  padding: 120px 0;
  background: #aa645a; /* main color per spec */
  color: #ffffff;
}
.contact-final__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-final__title {
  margin: 0 0 33px;
  max-width: 840px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 114%;
  text-align: center;
}
.contact-final__nda {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 33px;
  background: rgba(255, 255, 255, 0.14);
  max-width: 348px;
  border-radius: 8px;
  font-family: Roboto Flex;
  font-weight: 600;
  color: #ffffff;
  font-size: 20px;
  line-height: 120%;
  height: 112px;
  letter-spacing: -2%;
}

.contact-final .wpcf7 form.sent .wpcf7-response-output{
color:black !important;
}

.contact-final__nda img {
  width: 112px;
  height: 112px;
}
.contact-final__form {
  width: min(840px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 33px; /* standard small gap */
}
.contact-final__row {
  display: flex;
  gap: 22px;
  align-items: center;
}
.contact-final__row-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
}
.contact-final__row-item input {
  background: #ffffff;
  padding: 24px 20px;
  color: #111111;
  border-radius: 8px;
  border: none;
  font-size: 20px;
  font-weight: 600;
  height: 64px;
}
.contact-final__label {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 16px;
  white-space: nowrap;
  display: block;
}
.contact-final__input,
.contact-final__textarea {
  width: 100%;
  background: #ffffff;
  padding: 24px 20px;
  color: #111111;
  border-radius: 8px;
  border: none;
  font-size: 20px;
  font-weight: 600;
  outline: none;
}
.contact-final__textarea::placeholder {
  color: #6b6b6b;
}
.contact-final__input::placeholder {
  color: #6b6b6b;
}

/* Site footer (services + contacts) */
.site-footer {
  padding: 120px 0;
  background: #ffffff;
  color: #111111;
}
.site-footer__container {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #4a4a4a;
  font-size: 20px;
  font-weight: 600;
}
.site-footer__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
}

.site-footer__info span {
  max-width: 148px;
  color: #4a4a4a;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: -2%;
  color: #4a4a4a;
}
.site-footer__logo {
  width: 224px;
  height: 74px;
}
.site-footer__contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__email {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 100%;
  color: #111111;
  text-decoration: none;
}
/* Legal block inside footer */
.legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: start;
  color: #111111;
}
.legal__links {
  margin-right: auto;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.legal__links a {
  color: #111111;
  text-decoration: underline;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 120%;
}
.legal__disclaimer,
.legal__note {
  margin: 0;
  color: #4a4a4a;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 120%;
}
.legal__disclaimer {
  max-width: 358px;
  width: 100%;
  margin-top: 34px;
}
.legal__note {
  margin-top: 41px;
  max-width: 240px;
  width: 100%;
}
.legal__content {
  gap: 23px;
}
.cta-bg__btn {
  width: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-final__input {
  height: 55px;
}
.contact-final__textarea {
  padding-top: 12px;
  padding-bottom: 12px;
}
.contact-final__submit {
  height: 75px;
  background: white;
  border: none;
  box-shadow: none;
  font-size: 20px;
  width: 100%;
}
.contact-final__agreements {
  color: #ffffff;
  font-size: 12px;
}

.content .cta-main span:first-child {
  display: none;
}
.content .cta-main span:last-child {
  display: block;
}

@media (max-width: 1200px) {
  .feature-card {
    display: flex;
    justify-content: center;
    padding-left: 0;
  }

  .feature-card__image {
    margin-left: 0;
  }
  .cases__container {
    width: 100%;
    padding: 0 20px;
  }
  .guarantee {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 0;
  }
  .guarantee__container {
    width: 100%;
    padding: 0 20px;
  }
  .guarantee__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .guarantee__title {
    font-size: 50px;
    margin-bottom: 20px;
    color: #4a4a4a;
  }
  .guarantee__lead {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .guarantee__image {
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
    height: 568px;
  }

  .location__container {
    width: 100%;
    padding-top: 20px;
  }
  .location__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .location__left {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 0;
  }
  .location__title {
    max-width: unset;
    font-size: 32px;
    margin-bottom: 20px;
  }
  .location__list {
    gap: 20px;
  }
  .location__item {
    font-size: 14px;
    gap: 20px;
  }
}

.legal__content {
  display: flex;
  width: 100%;
}
.cases__dots {
  display: none;
}

@media (max-width: 1024px) {
  .discussion {
    padding-top: 60px;
  }
  .discussion__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'lead'
      'photo'
      'text';
    margin-bottom: 60px;
    gap: 30px;
  }
  .discussion__lead {
    max-width: unset;
    font-size: 30px;
    margin-bottom: 0;
  }
  .discussion__text {
    font-size: 30px;
  }
  .discussion__photo {
    width: 100%;
    height: 396px;
    object-fit: cover;
    border-radius: 30px;
  }
  .discussion__title {
    font-size: 32px;
    margin-top: 0;
  }
  .discussion__label {
    margin-top: 30px;
    font-size: 24px;
    margin-bottom: 30px;
  }
  .discussion__roles {
    gap: 2px;
    margin-bottom: 30px;
  }
  .pill {
    text-align: center;
    height: 80px;
    font-size: 14px;
  }
  .discussion__note {
    font-size: 24px;
  }

  .cta-bg {
    padding-top: 60px;
    padding-bottom: 227px;
    overflow: hidden;
  }
  .cta-bg::before {
    background-position: -265px 250px;
  }
  .cta-bg__title {
    font-size: 32px;
    margin-bottom: 30px;
    max-width: unset;
  }
  .cta-bg__lead {
    font-size: 30px;
    max-width: unset;
    margin-bottom: 30px;
  }
  .cta-bg__sublead {
    font-size: 30px;
    max-width: unset;
    margin-bottom: 30px;
  }
  .cta-bg__row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .cta-bg__btn {
    width: auto;
    font-size: 18px;
    padding: 0 30px;
    height: 56px;
  }

  .showcase {
    padding-top: 0;
    padding-bottom: 30px;
  }

  .showcase__container {
    width: 100%;
  }
  .showcase__row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .showcase__image {
    width: 100%;
    border-radius: 0 !important;
    height: 343px;
    object-position: 0 -400px;
  }
  .showcase__row--reverse {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 0 !important;
  }
  .showcase__title {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .showcase__subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .showcase__content {
    padding: 0 20px;
  }

  .contact {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    background: #f7f3f1;
  }

  .contact__container {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e8dedb;
    border-radius: 30px;
    width: 100%;
  }
  .contact__title {
    font-size: 32px;
    margin-bottom: 20px;
    max-width: unset;
  }
  .contact__subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .contact__nda {
    width: 100%;
    max-width: unset;
    margin-bottom: 20px;
  }
  .contact__right {
    width: 100%;
  }
  .contact__agreements {
    margin: 0 auto;
    max-width: 459px;
  }
  .cases {
    padding-top: 0;
    padding-bottom: 60px;
  }
  .cases__container {
    width: 100%;
    padding: 0 20px;
  }
  .cases__slider {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .cases__nav {
    display: none;
  }
  .cases__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
  }
  .cases__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fbf8f7;
    transition: background 200ms ease, transform 200ms ease;
  }
  .cases__dot--active {
    background: #aa645a;
  }
  .site-footer__brand {
    flex-wrap: wrap;
  }
}
button {
  cursor: pointer;
}
/* Callback modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1101;
  display: none;
}
.modal--visible {
  display: block;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 243, 241, 0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 300ms ease, backdrop-filter 300ms ease;
}
.modal__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 799px;
  width: 100%;
  background: #ffffff;
  color: #111111;
  border: 1px solid #e8dedb;
  border-radius: 16px;
  padding: 60px 40px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms ease;
}
.modal--open .modal__overlay {
  opacity: 1;
}
.modal--open .modal__dialog {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 31px;
  height: 31px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.modal__title {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 115%;
  color: #111111;
  margin: 0 0 20px;
}
.modal__subtitle {
  color: #4a4a4a;
  margin: 0 0 30px;
  font-size: 14px;
  font-weight: 600;
}
.callback-form {
  display: grid;
  gap: 32px;
}
.callback-input {
  width: 100%;
  height: 64px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e8dedb;
  color: #111111;
  font-size: 18px;
  font-weight: 600;
  padding: 0 16px;
  padding-left: 24px;
  outline: none;
}
.callback-input::placeholder {
  color: #4a4a4a;
}
.callback-time {
  margin: 4px 0;
}
.callback-time__label {
  color: #6b6b6b;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-align: center;
  width: 100%;
  margin-top: 0;
}
.callback-time__controls {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 0 auto;
  max-width: 528px;
  gap: 8px;
}
.callback-time__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 16px;
  height: 48px;
  width: 260px;
  border-radius: 8px;
  background: #aa645a1f;
  color: #aa645a;
  border: 1px solid #e8dedb;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.callback-time__btn .checkbox {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e8dedb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.callback-time__btn .checkbox::before {
  content: '✓';
  font-size: 14px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(-1px);
}
.callback-time__btn.is-active {
  background: #aa645a;
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(143, 79, 71, 0.35);
}
.callback-time__btn.is-active .checkbox {
  background: #aa645a;
  border-color: #aa645a;
}

/* ===== Отдельная секция «Принципы работы» ===== */
.principles{ background:#FFFFFF; padding:90px 0; padding-bottom: 0px; }
.principles__container{ max-width:1240px; margin:0 auto; padding:0 32px; }
.principles__lead{ font-size:18px; color:#4A4A4A; line-height:1.5; max-width:860px; margin:0 0 44px; }
.principles__grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(330px,1fr)); gap:24px; }

.principle-card{ background:#FBF8F7; border:1px solid #E8DEDB; border-radius:22px;
  padding:36px 32px; display:flex; flex-direction:column; align-items:flex-start;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.principle-card:hover{ transform:translateY(-4px); border-color:rgba(170,100,90,.4);
  box-shadow:0 22px 40px -18px rgba(17,17,17,.45); }
.principle-card h3{ font-size:22px; font-weight:600; line-height:1.2; margin:0 0 12px; color:#111; }
.principle-card p{ font-size:15px; line-height:1.55; color:#4A4A4A; margin:0; }

/* Тёмная плитка: чёрный фон иконок сливается с #111 (цвет текста сайта) */
.ic-tile{ width:140px; height:140px; border-radius:24px; background:#111;
  border:1px solid rgba(170,100,90,.35); display:flex; align-items:center; justify-content:center;
  overflow:hidden; margin-bottom:26px;
  box-shadow:0 14px 30px rgba(17,17,17,.22), inset 0 0 0 1px rgba(255,255,255,.04); }
.ic-tile img{ width:100%; height:100%; object-fit:cover; mix-blend-mode:lighten; }

@media (max-width:767px){
  .principles{ padding:60px 0; }
  .principles__grid{ grid-template-columns:1fr; }
  .ic-tile{ width:120px; height:120px; border-radius:20px; }
  .principle-card{ padding:28px 24px; }
}


.callback-time__btn.is-active .checkbox::before {
  opacity: 1;
}
.callback-submit {
  height: 75px;
  width: 100%;
  font-size: 20px;
  font-weight: 600;
}
.callback-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: #4a4a4a;
  font-size: 12px;
}
.callback-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
  position: absolute;
}
.callback-check__box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e8dedb;
  position: relative;
}
.callback-check input:checked + .callback-check__box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 10px;
  height: 16px;
  border: 3px solid #aa645a;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.callback-check__text {
  display: block;
}

/* Чекбоксы в формах — точь-в-точь как в оригинале */
.contact__agreements .wpcf7-list-item {
    margin: 0;
}

.contact__agreements .wpcf7-list-item input[type="checkbox"] {
    width: 32px;
    height: 32px;
    opacity: 0;
    position: absolute;
}

.contact__agreements .wpcf7-list-item .wpcf7-list-item-label {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: start;
    gap: 14px;
    color: #4a4a4a;
    font-size: 0px;
    font-family: 'Roboto Flex', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    cursor: pointer;
}

.contact__agreements .wpcf7-list-item .wpcf7-list-item-label::before {
    content: '';
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #aa645a;
}

.contact__agreements .wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    content: '✓';
    font-size: 16px;
    line-height: 1;
    color: black;
    font-weight: bold;
}

/* Светлая тема для финальной формы */
.contact-final__agreements .wpcf7-list-item .wpcf7-list-item-label {
    color: #111111;
}

.contact-final__agreements .wpcf7-list-item .wpcf7-list-item-label::before {
    background: #aa645a;
}
@media (max-width: 767px) {
  .modal__dialog {
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: auto;
    max-height: 100vh;
    padding: 40px 32px;
    border-radius: 0;
    transform: translateY(4%) scale(0.98);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .callback-time__controls {
    display: grid;
    max-width: unset;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .callback-time__btn {
    width: 100%;
    font-size: 12px;
  }
  .modal--open .modal__dialog {
    transform: translateY(0) scale(1);
  }
  .modal__title {
    font-size: 26px;
  }
  .callback-submit {
    height: 64px;
    font-size: 16px;
  }
  .callback-input {
    height: 56px;
    font-size: 16px;
    text-align: center;
    padding-left: 0;
  }
  .callback-time__label {
    font-size: 14px;
    margin-bottom: 12px;
  }
}

@media (max-width: 960px) {

  .content .cta-main span:first-child {
    display: block;
  }
  .content .cta-main span:last-child {
    display: none;
  }

  .content .cta-main {
    width: 296px !important;
  }

  .header__actions {
    display: none;
  }

  .header__left {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .content {
    padding-top: 20px;
  }

  .title {
    margin-top: 0;
    font-size: 40px;
    margin-bottom: 20px;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cookie {
    margin: 0 40px 20px;
    border-radius: 8px;
  }

  .feature-title {
    font-size: 24px;
  }
  .feature-desc {
    font-size: 14px;
  }
  .feature-card__text {
    max-width: unset !important;
  }
  .feature-card__image {
    width: 200px;
    height: 200px;
  }
  .feature-card {
    min-height: 200px;
    height: auto;
  }
  .features {
    padding-top: 16px;
    padding-bottom: 60px;
  }
  .services__container {
    width: 100%;
    padding: 0 20px;
  }

  .services {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .services__title {
    text-align: left;
    font-size: 50px;
    margin-bottom: 20px;
    color: #111111;
  }

  .services__description {
    font-size: 30px;
    margin-bottom: 30px;
    text-align: left;
    color: #111111;
  }

  .services__column-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111111;
  }

  .services__subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    color: #111111;
  }

  .services__item {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 120%;
  }
  .services__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .services__group + .services__group {
    margin-top: 40px;
  }
  .faq {
    padding-top: 0;
    margin-bottom: 30px;
    padding-bottom: 0;
  }
  .faq__container {
    width: 100%;
    padding: 0 20px;
  }
  .faq__title {
    font-size: 50px;
    margin-bottom: 20px;
    color: #4a4a4a;
    text-align: left;
  }
  .faq__question {
    font-size: 18px;
    line-height: 120%;
  }
  .faq__item {
    border-bottom: 1px solid #e8dedb;
    border-top: none;
  }
  .faq__answer {
    font-size: 14px;
    line-height: 120%;
  }

  .blog {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .blog__container {
    width: 100%;
    padding: 0 20px;
  }
  .blog__title {
    font-size: 50px;
    margin-bottom: 20px;
    color: #111111;
    text-align: left;
  }
  .blog__head-left > div {
    margin-bottom: 20px !important;
  }
  .blog__subtitle {
    font-size: 14px;
    margin-bottom: 0;
  }
  .blog__image {
    width: 280px;
    height: 280px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .blog__card-title {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .blog__read {
    font-size: 16px;
  }
  .blog__card {
    flex: 0 0 280px;
  }
  .connect {
    padding-bottom: 60px;
  }

  .connect__title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111111;
  }
  .connect__subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .connect__options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
  }
  .connect__option {
    padding-right: 40px;
    min-height: 112px;
  }
  .connect__icon {
    width: 70px;
    height: 70px;
  }
  .connect__hint {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .connect__phone {
    font-size: 50px;
  }
  .contact-final {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .contact-final__container {
    width: 100%;
    padding: 0 20px;
  }
  .contact-final__title {
    font-size: 32px;
    margin-bottom: 33px;
  }
  .contact-final__nda {
    font-size: 14px;
    margin-bottom: 33px;
  }
  .contact-final__submit {
    font-size: 18px;
  }
  .site-footer__services .services__container {
    padding: 0;
    margin-bottom: 50px !important;
  }
  .site-footer__top {
    margin-bottom: 20px;
  }
  .site-footer__email {
    font-size: 40px;
  }
  .site-footer__info {
    margin-bottom: 50px;
  }
  .legal__content {
    flex-wrap: wrap;
  }
  .legal__disclaimer {
    margin-top: 0;
  }
  .legal__note {
    margin-top: 0;
  }
  .legal {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 50px;
  }
  .cases__card-title {
    font-size: 24px;
  }
  .cases__card {
    gap: 20px;
  }
  .cases__cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cases__col-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .cases__card {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .title {
    font-size: 30px;
  }
  .cookie__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px;
  }
  .cookie__agree {
    width: 100%;
  }
  .feature-card {
    flex-wrap: wrap;
    padding-right: 0;
    padding-bottom: 30px;
  }
  .feature-card__image {
    width: 262px;
    height: 262px;
  }
  .feature-card__text {
    padding-right: 20px;
  }
  .feature-title {
    font-size: 20px;
  }
  .feature-desc {
    font-size: 14px;
  }
  .discussion {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .discussion__lead {
    font-size: 20px;
  }
  .discussion__text {
    font-size: 20px;
  }
  .discussion__grid {
    margin-bottom: 40px;
  }
  .discussion__title {
    font-size: 26px;
    margin-bottom: 0;
  }
  .discussion__label {
    font-size: 18px;
  }
  .discussion__roles {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .discussion__note {
    display: none;
  }
  .cta-bg__title {
    font-size: 26px;
  }
  .cta-bg__lead {
    font-size: 20px;
    margin-bottom: 0;
  }
  .cta-bg__sublead {
    font-size: 20px;
  }
  .cta-bg__muted {
    color: #111111;
  }
  .cta-bg::before {
    background-position: -350px 250px;
  }
  .showcase__title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .showcase__subtitle {
    font-size: 20px;
    color: #111111;
    font-weight: 500;
  }
  .contact__title {
    font-size: 26px;
  }
  .contact__nda span {
    font-size: 14px;
  }
  .contact__input {
    font-size: 18px;
  }
  .cta-main {
    font-size: 15px;
  }
  .contact__chips {
    grid-template-columns: 1fr;
  }
  .cases__title {
    font-size: 40px;
  }
  .cases__subtitle {
    font-size: 14px;
  }
  .cases__card-title {
    font-size: 20px;
  }
  .cases__card {
    gap: 20px;
  }
  .cases__cols {
    grid-template-columns: 1fr;
  }
  .services {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .services__title {
    font-size: 40px;
    color: #111111;
  }
  .services__description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #111111;
  }
  .services__subtitle-description {
    font-size: 14px;
  }
  .services__column-title {
    font-size: 26px;
    margin-bottom: 20px;
    color: #111111;
  }
  .services__subtitle {
    font-size: 20px;
    color: #111111;
  }
  .services__item {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 120%;
  }
  .guarantee__title {
    font-size: 40px;
  }
  .guarantee__lead {
    font-size: 20px;
  }
  .guarantee__image {
    height: 270px;
  }
  .faq__title {
    font-size: 40px;
    margin-bottom: 0;
  }
  .faq__question {
    font-size: 20px;
  }
  .faq__answer {
    font-size: 14px;
  }
  .blog__title {
    font-size: 40px;
  }
  .blog__subtitle {
    font-size: 14px;
  }
  .blog__card-title {
    font-size: 14px;
  }
  .blog__read {
    font-size: 16px;
  }
  .connect__title {
    font-size: 26px;
  }
  .connect__subtitle {
    font-size: 14px;
  }
  .connect__option {
    font-size: 14px;
  }
  .connect__hint {
    font-size: 14px;
  }
  .connect__phone {
    font-size: 40px;
  }
  .location__title {
    font-size: 26px;
  }
  .location__list {
    gap: 20px;
  }
  .location__item {
    font-size: 20px;
  }
  .contact-final__title {
    font-size: 26px;
    text-align: left;
  }
  .contact-final__nda {
    font-size: 14px;
    padding-right: 10px;
  }
  .contact-final__input {
    font-size: 18px !important;
  }
  .contact-final__row-item span,
  .contact-final__label {
    display: none;
  }
  .contact-final__row-item,
  .contact-final__input {
    width: 100%;
  }
  .contact-final__row {
    flex-direction: column;
  }
  .contact-final__input {
    width: 100% !important;
  }
  .contact-final__hint {
    width: 100%;
    margin: 0 !important;
    margin-bottom: 33px !important;
    font-size: 14px !important;
    text-align: center !important;
    max-width: unset !important;
  }
  .contact-final__hint2 {
    font-size: 18px !important;
    text-align: center !important;
    max-width: unset !important;
  }
  .site-footer__info {
    flex-wrap: wrap;
    gap: 20px;
    font-size: 40px;
  }
  .site-footer__brand {
    font-size: 16px;
  }
  .site-footer {
    padding-bottom: 60px;
  }
  .cases__container .aos-in,.blog__track,.ul_team{
    grid-template-columns: 1fr !important;
  }
  .cta-bg__container{
    padding-top: 0px !important;
  }
  .cases{
    padding: 30px 0px !important;
  }
}

.cookie__inner p {
  margin: 0;
}

/* Offcanvas (burger) menu */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.offcanvas--visible {
  display: block;
}
.offcanvas__overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 243, 241, 0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 300ms ease, backdrop-filter 300ms ease;
}
.offcanvas--open .offcanvas__overlay {
  opacity: 1;
}
.offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(482px, 100%);
  background: #f7f3f1;
  color: #111111;
  padding: 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transform: translateX(110%);
  will-change: transform;
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.offcanvas--open .offcanvas__panel {
  transform: translateX(0);
}
.offcanvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.offcanvas__logo {
  width: 148px;
  height: 48px;
}
.offcanvas__close {
  width: 44px;
  height: 44px;
  transform: translateX(20px);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.offcanvas__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.offcanvas__nav a {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
}
.offcanvas__nav a:hover {
  color: #aa645a;
}
.offcanvas__footer {
  display: grid;
}
.offcanvas__phone {
  color: #aa645a;
  text-decoration: none;
  font-weight: 800;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 25px;
}
.offcanvas__tg {
  display: inline-flex;
  align-items: center;
  padding-right: 40px;
  height: 91px;
  border-radius: 8px;
  background: #ffffff;
  color: #4a4a4a;
  padding-left: 4px;
  gap: 16px;
  font-size: 20px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #e8dedb;
  overflow: hidden;
}
.offcanvas__tg img {
  width: 91px;
  height: 91px;
}
.offcanvas__callback {
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #aa645a;
  margin-bottom: 34px;
  border-bottom: 1px solid #aa645a;
  width: fit-content;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 767px) {
	.cont_max {
		width:100% !important;
	}
  .offcanvas__panel {
    padding: 16px 20px;
  }
  .offcanvas__close {
    transform: translateX(10px);
  }
  .showcase__image {
    object-position: 0 20%;
  }
  .site-footer__email {
    font-weight: 600;
    font-size: 40px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .services__item a {
    font-size: 14px;
  }
  .contact__nda {
    padding-right: 10px;
  }
}

@media screen and (max-width: 550px) {
  .cta-bg {
    padding-bottom: 338px;
  }
	.mobile_grid{
		grid-template-columns:1fr !important;
	}
  .cta-bg::before {
    background-position: -787px 322px;
    width: 100%;
    height: 1026px;
  }
  .site-footer__brand {
    white-space: inherit;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .site-footer__brand span {
    text-align: right;
  }
  .site-footer__logo {
    width: 170px;
    height: 56px;
  }
}

/* Full-screen preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f3f1; /* match hero bg */
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}
.preloader--visible {
  opacity: 1;
  pointer-events: all;
}
.preloader--hidden {
  display: none;
}
.preloader__logo {
  width: clamp(200px, 36vw, 480px);
  height: auto;
  transform-origin: center;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
  animation: preloaderPulse 1200ms ease-in-out infinite alternate;
}
@keyframes preloaderPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.85;
  }
}
/* no appear animation — only fade out on hide */
@media (prefers-reduced-motion: reduce) {
  .preloader {
    transition: none;
  }
  .preloader__logo {
    animation: none;
  }
}

/* Disable scroll while preloader is visible */
body.is-preloading {
  overflow: hidden;
}

.modal2 .modal__dialog {
  max-width: 1066px;
  padding: 60px 40px;
}

.service-modal__lead {
  color: #111111;
  margin-bottom: 40px;
  font-size: 44px;
  font-weight: 600;
  line-height: 113%;
  margin-top: 0;
}

.service-modal__description {
  color: #4a4a4a;
  font-size: 20px;
  line-height: 120%;
  margin-bottom: 40px;
  font-weight: 600;
}

.nal_p1 {
  line-height: 120% !important;
  margin-bottom: 24px !important;
}
.nal_p2 {
  line-height: 120% !important;
  margin-bottom: 60px !important;
}

.service-modal__item,
.result {
  display: flex;
  gap: 24px;
  flex-direction: column;
  margin-bottom: 60px;
}

.result {
  background: #aa645a;
  border-radius: 30px;
}

.result p {
  color: #111111 !important;
}

.result ul li {
  color: #4a4a4a !important;
}

.service-modal__wrapper {
  margin-bottom: 60px;
}
.service-modal__item p:first-child,
.result p:first-child,
.nal_p1 {
  color: #111111;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 113%;
  margin-top: 0;
  margin-bottom: 0;
}

.service-modal__item p:last-child .service-modal__list li,
.nal_p2,
.result ul li {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 100%;
  margin: 0;
}

.modal2 .contact {
  border-radius: 30px;
  padding: 30px;
  width: 100%;
}

.modal2 .modal__dialog {
  background-color: #f7f3f1;
}
.modal2 .contact__container {
  margin: 0;
  width: 100%;
  grid-template-columns: 1fr 443px;
  gap: 40px;
}

.modal2 .contact__subtitle:first-of-type {
  margin-bottom: 40px;
}

.modal2 .connect__subtitle {
  margin: 0 auto;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  max-width: 571px;
  font-size: 30px;
  font-weight: 600;
}

.modal2 .connect__options span {
  font-size: 20px;
}

.connect__option span {
  font-weight: 600;
}

.service-modal__wrapper {
  display: flex;
  column-gap: 40px;
  row-gap: 60px;
  flex-direction: row;
}

.service-modal__wrapper > div {
  flex: 1;
}

.service-modal__list,
.service-modal__list_result {
  margin: 0;
  padding-left: 20px;
}

.service-modal__list li {
  line-height: 100%;
}
.service-modal__wrapper > div {
  margin: 0;
}

.result {
  padding: 30px;
}

.table_container {
  margin-bottom: 60px;
  width: 100%;
  overflow-x: auto;
}
.table {
  min-width: 900px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e8dedb;
  border-top: 0;
  display: flex;
  color: #4a4a4a;
  flex-direction: column;
}
.table > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.table > div > div {
  padding: 20px;
  font-size: 16px;
  line-height: 120%;
  color: #4a4a4a;
  border-style: solid;
  border-color: #e8dedb;
  border-width: 0;
}
.table_header {
  background: #ffffff;
  border-radius: 10px 10px 0 0;
  height: 50px;
}
.table_header div {
  height: 50px;
  display: flex;
  line-height: 1 !important;
  align-items: center;
}
.table_row div {
  min-height: 150px;
}

@media (max-width: 834px) {
	.contact__form {
		display:flex;
		flex-direction:column;
	}
  .nalog-cta-small {
    margin-left: 0;
  }
  .modal2 .modal__dialog {
    padding: 40px;
  }
  .service-modal__lead {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .service-modal__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .service-modal__wrapper {
    margin-bottom: 30px;
    gap: 30px;
  }
  .nal_p1 {
    margin-bottom: 16px !important;
  }
  .nal_p2 {
    margin-bottom: 30px !important;
  }
  .table_container {
    margin-bottom: 30px;
  }
  .service-modal__item,
  .result {
    margin-bottom: 30px;
    gap: 16px;
  }
  .service-modal__item p:first-child,
  .result p:first-child,
  .nal_p1 {
    font-size: 24px;
  }
  .service-modal__item p:last-child,
  .service-modal__list li,
  .result ul li,
  .nal_p2 {
    font-size: 14px;
  }
  .result {
    padding: 16px;
  }
  .modal2 .contact__subtitle:first-of-type {
    margin-bottom: 20px;
  }
  .modal2 .contact {
    padding: 0;
  }
  .modal2 .connect__subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 30px;
  }
  .modal2 .connect__options span {
    font-size: 14px;
  }
  .service-modal__wrapper {
    flex-direction: column;
  }
  .service-modal__wrapper > div {
    flex: unset;
  }
}

@media (max-width: 550px) {
	.cards_service{
		grid-template-columns:1fr !important;
	}
  .modal2 .modal__dialog {
    padding: 40px 32px;
  }
  .service-modal__item p:first-child,
  .result p:first-child,
  .nal_p1 {
    font-size: 18px;
  }
  .service-modal__item p:last-child,
  .service-modal__list li,
  .result ul li,
  .nal_p2 {
    font-size: 14px;
  }
  .modal2 .connect__subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 30px;
  }
  .modal2 .connect__options span {
    font-size: 14px;
  }
}

.success-container {
  padding-top: 80px;
  padding-bottom: 104px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
  background: #f7f3f1;
}

.success-container img {
  width: 148px;
  height: 148px;
}

.success-container h3 {
  font-size: 44px;
  font-weight: 600;
  line-height: 113%;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 774px;
}

.success-container p {
  font-size: 20px;
  font-weight: 400;
  line-height: 113%;
  margin-top: 0;
  color: #4a4a4a;
  margin-bottom: 8px;
  max-width: 434px;
}

.success-container a {
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .success-container {
    padding-top: 127px;
  }
  .success-container h3 {
    font-size: 32px;
  }
  .success-container p {
    font-size: 18px;
    margin-bottom: 4px;
  }
}

@media (max-width: 767px) {
  .success-container {
    gap: 20px;
  }
  .success-container h3 {
    font-size: 26px;
  }
  .success-container p {
    font-size: 14px;
    margin-bottom: 0;
  }
  .blog__card-title {
    height: 48px;
  }
}

.cases__text--result {
  max-height: 77px;
  line-height: 120%;
  overflow: hidden;
  position: relative;
}
.cases__text--result::after {
  content: '';
  position: absolute;
  top: 0;
  display: block;
  width: 100%;
  height: 93px;
  background: linear-gradient(to bottom, transparent, #ffffff);
}

#case-situation,
#case-situation-description-text,
#case-output-text,
#case-steps,
#case-task-text {
  margin: 0;
  color: #4a4a4a;
}
#case-result {
  color: #4a4a4a;
  font-size: 16px;
}


/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fab-button {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f7f3f1 0%, #f7f3f1 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(247, 243, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(17, 17, 17, 0.1);
}

.fab-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(247, 243, 241, 0.2);
}

.fab-icon {
    color: #111111;
    transition: transform 0.3s ease;
}

.fab-icon-main,
.fab-icon-close {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fab-icon-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.fab-container.open .fab-icon-main {
    opacity: 0;
    transform: rotate(90deg);
}

.fab-container.open .fab-icon-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.fab-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom left;
}

.fab-container.open .fab-menu {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    margin-bottom: 16px;
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 18px 10px 14px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.fab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17,0.1) 0%, rgba(17, 17, 17,0) 100%);
    opacity: 0;
    transition: opacity 0.2s;
}

.fab-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fab-item:hover::before {
    opacity: 1;
}

.fab-item svg {
    transition: transform 0.2s ease;
}

.fab-item:hover svg {
    transform: scale(1.1);
}

.fab-label {
    font-family: inherit;
    letter-spacing: 0.3px;
}

/* Цвета для каждого мессенджера */
.fab-telegram {
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.2);
}
.fab-telegram:hover {
    background: #0088cc;
    color: #111111;
}

.fab-whatsapp {
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}
.fab-whatsapp:hover {
    background: #25D366;
    color: #111111;
}

.fab-phone {
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}
.fab-phone:hover {
    background: #4CAF50;
    color: #111111;
}

/* Добавляем подсказки (tooltip) при наведении на кнопки до выезда */
.fab-item[data-tooltip] {
    position: relative;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        left: 20px;
		max-width:135px;
    }
    
    .fab-button {
        width: 48px;
        height: 48px;
    }
    
    .fab-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .fab-item {
        padding: 8px 14px 8px 12px;
        font-size: 12px;
    }
    
    .fab-label {
        display: inline;
    }
}

@media (max-width: 480px) {
    .fab-container {
        bottom: 15px;
        left: 15px;
    }
    
    .fab-button {
        width: 44px;
        height: 44px;
    }
    
    .fab-item {
        padding: 6px 12px 6px 10px;
    }
}

/* Анимация пульсации при первом появлении */
.fab-button {
    animation: fabPulse 1.5s ease-in-out 3;
}

@keyframes fabPulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(247, 243, 241, 0.6);
    }
    70% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 12px rgba(247, 243, 241, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(247, 243, 241, 0);
    }
}

/* Десктопная навигация в шапке */
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  color: #111111;
  text-decoration: none;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 120%;
  letter-spacing: -0.01em;
  transition: color 200ms ease;
  white-space: nowrap;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #aa645a;
  transition: width 250ms ease;
}

.header__nav-link:hover {
  color: #aa645a;
}

.header__nav-link:hover::after {
  width: 100%;
}

/* Скрываем десктопную навигацию на мобильных */
@media (max-width: 960px) {
  .header__nav {
    display: none;
  }
}
/* ========== Десктопное выпадающее меню ========== */
.header__dropdown {
  position: relative;
}

.header__nav-link--dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__dropdown-arrow {
  transition: transform 250ms ease;
}

.header__dropdown:hover .header__dropdown-arrow {
  transform: rotate(180deg);
}

.header__dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -24px;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border: 1px solid rgba(170, 100, 90, 0.15);
  border-radius: 16px;
  padding: 8px;
  min-width: 620px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 250ms ease, transform 250ms ease, visibility 250ms ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.header__dropdown-menu--small {
  min-width: 220px;
  left: -16px;
}

.header__dropdown:hover .header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
	max-height: 500px;
    overflow-y: scroll;
}

.header__dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.header__dropdown-item {
  display: block;
  padding: 12px 16px;
  color: #111111;
  text-decoration: none;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  border-radius: 10px;
  transition: all 200ms ease;
  white-space: normal;
  letter-spacing: -0.01em;
}

.header__dropdown-item:hover {
  background: rgba(170, 100, 90, 0.1);
  color: #aa645a;
}

.header__dropdown-menu--small .header__dropdown-item {
  font-size: 15px;
  padding: 14px 20px;
}

/* ========== Мобильное меню (offcanvas) ========== */
.offcanvas__dropdown {
  display: flex;
  flex-direction: column;
}

.offcanvas__dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  color: #111111;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  text-align: left;
}

.offcanvas__dropdown-toggle svg {
  transition: transform 250ms ease;
  flex-shrink: 0;
}

.offcanvas__dropdown-toggle.is-open svg {
  transform: rotate(180deg);
}

.offcanvas__dropdown-menu {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  padding-top: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding-top 350ms ease;
}

.offcanvas__dropdown-menu.is-open {
  max-height: 800px;
  padding-top: 12px;
}

.offcanvas__dropdown-item {
  display: block;
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  transition: color 200ms ease;
}

.offcanvas__dropdown-item:hover {
  color: #aa645a;
}

.offcanvas__dropdown-item--all {
  color: #aa645a;
  font-weight: 600;
  border-bottom: 1px solid rgba(170, 100, 90, 0.15);
  padding-bottom: 12px;
  margin-bottom: 4px;
}

/* ========== Мобильное меню (offcanvas) ========== */
.offcanvas__dropdown {
  display: flex;
  flex-direction: column;
}

.offcanvas__dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  color: #111111;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  text-align: left;
  transition: color 200ms ease;
  line-height: 130%;
}

.offcanvas__dropdown-toggle:hover {
  color: #aa645a;
}

.offcanvas__dropdown-toggle svg {
  transition: transform 250ms ease;
  flex-shrink: 0;
  color: currentColor;
  margin-left: 12px;
}

.offcanvas__dropdown-toggle.is-open {
  color: #aa645a;
}

.offcanvas__dropdown-toggle.is-open svg {
  transform: rotate(180deg);
}

.offcanvas__dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 16px;
  padding-top: 0;
  max-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1), 
              padding-top 400ms cubic-bezier(0.4, 0, 0.2, 1),
              margin-top 400ms cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(170, 100, 90, 0.3) transparent;
}

.offcanvas__dropdown-menu::-webkit-scrollbar {
  width: 3px;
}

.offcanvas__dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.offcanvas__dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(170, 100, 90, 0.3);
  border-radius: 3px;
}

.offcanvas__dropdown-menu.is-open {
  max-height: 340px;
  padding-top: 14px;
  margin-top: 2px;
}

.offcanvas__dropdown-item {
  display: block;
  color: #4a4a4a;
  text-decoration: none;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  padding: 7px 0;
  transition: color 200ms ease;
  letter-spacing: -0.01em;
}

.offcanvas__dropdown-item:hover {
  color: #aa645a;
}

.offcanvas__dropdown-item--all {
  color: #aa645a;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(170, 100, 90, 0.12);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

/* Обычная ссылка в мобильном меню */
.offcanvas__nav-link {
  display: block;
  color: #111111;
  text-decoration: none;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 20px;
  transition: color 200ms ease;
}

.offcanvas__nav-link:hover {
  color: #aa645a;
}

/* ===== Тёмная тема для блока УСЛУГИ ===== */
.services--dark {
    background: #f7f3f1;
    padding: 80px 0 100px;
    color: #111111;
}

.services--dark .services__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.services--dark .services__title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #111111;
    letter-spacing: -0.02em;
}

.services--dark .services__description {
    font-size: 20px;
    line-height: 1.5;
    color: #4a4a4a;
    max-width: 900px;
    margin-bottom: 64px;
    font-weight: 500;
}

.services--dark .services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}

.services--dark .services__col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.services--dark .services__column-title {
    font-size: 28px;
    font-weight: 700;
    color: #aa645a;
    margin: 0 0 8px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(170, 100, 90, 0.3);
    display: inline-block;
}

.services--dark .services__column-title--mt {
    margin-top: 16px;
}

.services--dark .services__card {
    background: #f7f3f1;
    border: 1px solid rgba(170, 100, 90, 0.1);
    border-radius: 28px;
    padding: 24px;
    transition: all 0.3s ease;
}

.services--dark .services__card:hover {
    transform: translateY(-4px);
    border-color: rgba(170, 100, 90, 0.4);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
}

.services--dark .services__card--compact {
    padding: 20px;
}

.services--dark .services__card-header {
    margin-bottom: 20px;
}

.services--dark .services__card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.services--dark .services__card-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s;
}

.services--dark .services__card-title a:hover {
    color: #aa645a;
}

.services--dark .services__card-excerpt {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.4;
    margin: 0;
}

.services--dark .services__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services--dark .services__list--grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.services--dark .services__list-item {
    margin: 0;
}

.services--dark .services__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(170, 100, 90, 0.05);
    border-radius: 16px;
    text-decoration: none;
    color: #111111;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid rgba(170, 100, 90, 0.1);
    font-size: 15px;
}

.services--dark .services__link--block {
    background: rgba(170, 100, 90, 0.02);
}

.services--dark .services__link:hover {
    background: rgba(170, 100, 90, 0.12);
    border-color: rgba(170, 100, 90, 0.3);
    transform: translateX(6px);
}

.services--dark .services__link-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
    transition: transform 0.2s;
}

.services--dark .services__link:hover .services__link-icon {
    transform: translateX(3px);
}

.services--dark .services__info-note {
    background: rgba(170, 100, 90, 0.05);
    padding: 18px 20px;
    border-radius: 20px;
    margin-bottom: 8px;
    border-left: 3px solid #aa645a;
}

.services--dark .services__info-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #111111;
}

.services--dark .services__button-wrapper {
    text-align: center;
    margin-top: 20px;
}

.services--dark .services__all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #aa645a;
    padding: 14px 36px;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 12px;
    border: 1px solid rgba(170, 100, 90, 0.4);
}

.services--dark .services__all-link:hover {
    background: rgba(170, 100, 90, 0.1);
    transform: scale(1.02);
    border-color: #aa645a;
    color: #111111;
}

/* Адаптив */
@media (max-width: 960px) {
    .services--dark .services__container {
        padding: 0 24px;
    }
    .services--dark .services__title {
        font-size: 42px;
    }
    .services--dark .services__grid {
        gap: 32px;
    }
    .services--dark .services__column-title {
        font-size: 26px;
    }
    .services--dark .services__card-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .services--dark {
        padding: 60px 0;
    }
    .services--dark .services__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services--dark .services__title {
        font-size: 32px;
    }
    .services--dark .services__description {
        font-size: 18px;
    }
    .services--dark .services__card {
        padding: 20px;
    }
    .services--dark .services__link {
        font-size: 14px;
        padding: 8px 12px;
    }
    .services--dark .services__all-link {
        padding: 12px 28px;
        font-size: 16px;
    }
}
/* ============================================================
   CAPITAL LEGAL — стили форм Contact Form 7 (светлая тема)
   Обёртка форм на светлых секциях: .contact__form
   ============================================================ */
.contact__form {
  display: grid;
  gap: 18px;
}
.contact__form > label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
}

/* Поля ввода */
.contact__form .wpcf7-form-control.wpcf7-text,
.contact__form .wpcf7-form-control.wpcf7-tel,
.contact__form .wpcf7-form-control.wpcf7-email,
.contact__form .wpcf7-form-control.wpcf7-number,
.contact__form .wpcf7-form-control.wpcf7-date,
.contact__form .wpcf7-form-control.wpcf7-select,
.contact__form .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: #111111;
  background: #FBF8F7;
  border: 1px solid #E8DEDB;
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.contact__form .wpcf7-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}
.contact__form .wpcf7-form-control::placeholder { color: #6B6B6B; }
.contact__form .wpcf7-form-control:focus {
  border-color: #AA645A;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(170, 100, 90, 0.12);
}
.contact__form .wpcf7-form-control[readonly] {
  background: rgba(170, 100, 90, 0.06);
  color: #4A4A4A;
  cursor: not-allowed;
}

/* Выпадающий список */
.contact__form select.wpcf7-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23AA645A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

/* Загрузка файла */
.contact__form .wpcf7-form-control.wpcf7-file {
  width: 100%;
  font-size: 14px;
  color: #4A4A4A;
  background: #FBF8F7;
  border: 1px dashed #C9B7B2;
  border-radius: 10px;
  padding: 13px 16px;
  cursor: pointer;
}
.contact__form .wpcf7-file::file-selector-button {
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  color: #FFFFFF;
  background: #AA645A;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
  transition: background .18s ease;
}
.contact__form .wpcf7-file::file-selector-button:hover { background: #8F4F47; }

/* Чекбокс согласия */
.contact__form .wpcf7-acceptance { font-size: 13px; color: #4A4A4A; }
.contact__form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.contact__form .wpcf7-acceptance label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-weight: 400;
}
.contact__form .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1.5px solid #C9B7B2;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
  position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.contact__form .wpcf7-acceptance input[type="checkbox"]:checked {
  background: #AA645A;
  border-color: #AA645A;
}
.contact__form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.contact__form .wpcf7-acceptance .wpcf7-list-item-label { line-height: 1.45; }
.contact__form .wpcf7-acceptance a { color: #AA645A; text-decoration: underline; }

/* Кнопка отправки */
.contact__form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  background: #AA645A;
  border: none;
  border-radius: 10px;
  padding: 16px 28px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(143, 79, 71, 0.25);
  transition: background .18s ease, transform .05s ease;
}
.contact__form .wpcf7-submit:hover { background: #8F4F47; }
.contact__form .wpcf7-submit:active { transform: translateY(1px); }
.contact__form .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* Спиннер */
.contact__form .wpcf7-spinner {
  margin: 12px auto 0;
  background-color: #AA645A;
}

/* Валидация */
.contact__form .wpcf7-not-valid { border-color: #D23B3B !important; }
.contact__form .wpcf7-not-valid-tip {
  color: #D23B3B;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
}

/* Итоговые сообщения формы (отступы; цвета заданы выше для .sent/.failed/.invalid) */
.wpcf7-response-output {
  margin: 6px 0 0 !important;
  border-radius: 10px;
  padding: 14px 16px !important;
  font-size: 14px;
  line-height: 1.45;
}

/* Мобильные */
@media (max-width: 560px) {
  .contact__form { gap: 16px; }
  .contact__form .wpcf7-form-control.wpcf7-text,
  .contact__form .wpcf7-form-control.wpcf7-tel,
  .contact__form .wpcf7-form-control.wpcf7-email,
  .contact__form .wpcf7-form-control.wpcf7-textarea,
  .contact__form .wpcf7-form-control.wpcf7-select { font-size: 16px; padding: 13px 14px; }
  .contact__form .wpcf7-submit { padding: 15px 22px; }
}

.contact__form .wpcf7-form-control.wpcf7-textarea {
  height: 130px ;
}

/* Modal styles - ИСПРАВЛЕННЫЕ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}
.modal.modal--visible {
    visibility: visible;
    opacity: 1;
}

.modal.modal--visible .modal__overlay,.modal.modal--visible .modal__dialog{
  opacity: 1 !important;
}
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}


/* ===== HERO — читаемость на мобильных ===== */
@media (max-width: 960px) {
  /* фон уводим вправо/вниз, чтобы лица не лезли под текст */
  .hero__bg {
    background-position: 70% 20%;
  }

  /* вертикальный оверлей: плотный сверху (под текстом) → мягче снизу */
  .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(247, 243, 241, 0.92) 0%,
      rgba(247, 243, 241, 0.85) 40%,
      rgba(247, 243, 241, 0.65) 62%,
      rgba(247, 243, 241, 0.35) 80%,
      rgba(247, 243, 241, 0.15) 100%
    );
  }

  /* тень для контраста, т.к. фото теперь виднее */
  .hero__container .title,
  .hero__container p {
    text-shadow: 0 1px 8px rgba(247, 243, 241, 0.95);
  }
}

@media (max-width: 767px) {
  /* на узких экранах оверлей чуть плотнее сверху, но фото снизу видно */
  .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(247, 243, 241, 0.94) 0%,
      rgba(247, 243, 241, 0.88) 55%,
      rgba(247, 243, 241, 0.6) 78%,
      rgba(247, 243, 241, 0.3) 100%
    );
  }
}

