
    :root {
      --primary: #7F222D;
      --primary-dark: #5f1720;
      --primary-light: #f8eef0;
      --text: #242124;
      --muted: #6f676b;
      --line: #eadde0;
      --bg: #fffaf7;
      --white: #ffffff;
      --gold: #c9a45c;
      --shadow: 0 18px 45px rgba(50, 24, 28, .12);
      --radius: 22px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(127, 34, 45, .1), transparent 34%),
        linear-gradient(180deg, #fffaf7 0%, #ffffff 52%, #fff8f3 100%);
      line-height: 1.55;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar {
      background: #7F222D;
      color: var(--white);
      font-size: 14px;
    }

    .topbar-inner {
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .topbar-phones {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      font-weight: 700;
    }

    .header {
      padding: 22px 0;
      background: rgba(255, 255, 255, .84);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(127, 34, 45, .1);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

/*
    .logo-mark {
      width: 68px;
      height: 68px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      background:
        linear-gradient(145deg, var(--primary), var(--primary-dark));
      color: var(--white);
      font-weight: 800;
      letter-spacing: .08em;
      box-shadow: 0 12px 28px rgba(127, 34, 45, .26);
      position: relative;
    }

*/  

.logo-mark {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
        url('/wp-content/uploads/logo6.png') center/90% no-repeat,
        linear-gradient(145deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 28px rgba(127, 34, 45, .26);
    position: relative;
}

/*
  .logo-mark::after {
      content: "";
      width: 34px;
      height: 34px;
      border: 1px solid rgba(255, 255, 255, .55);
      border-radius: 50%;
      position: absolute;
    }
*/
    .brand-title {
      margin: 0;
      font-size: 18px;
      line-height: 1.2;
      color: #7F222D;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .brand-subtitle {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 12px 20px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 700;
      transition: .2s ease;
      cursor: pointer;
      white-space: nowrap;
    }

    .btn-primary {
      background: #7F222D;
      color: var(--white);
      box-shadow: 0 14px 28px rgba(127, 34, 45, .22);
    }

    .btn-primary:hover {
      background: #5f1720;
      transform: translateY(-1px);
    }

    .btn-outline {
      background: var(--white);
      border-color: var(--line);
      color: #7F222D;
    }

    .btn-outline:hover {
      border-color: #7F222D;
      transform: translateY(-1px);
    }

    .hero {
      padding: 74px 0 64px;
      position: relative;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: 1.08fr .92fr;
      gap: 42px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border-radius: 999px;
      background: #f8eef0;
     color: #7F222D;
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 20px;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold);
    }

    h1 {
      margin: 0 0 20px;
      font-size: clamp(34px, 5vw, 62px);
      line-height: .98;
      letter-spacing: -.04em;
      color: #21191b;
    }

    .lead {
      max-width: 700px;
      margin: 0 0 28px;
      color: var(--muted);
      font-size: 19px;
    }

    .hero-buttons {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .hero-note {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      max-width: 720px;
    }

    .note-card {
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, .78);
      border: 1px solid var(--line);
    }

    .note-card strong {
      display: block;
      color: #7F222D;
      font-size: 18px;
      margin-bottom: 2px;
    }

    .note-card span {
      color: var(--muted);
      font-size: 14px;
    }








.video-container {
    width: 100%;              /* совпадает с шириной hero-card */
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(127, 34, 45, .1);
    margin-bottom: 28px;      /* отступ вниз, чтобы card не прилипал */
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;             /* высота по видео */
}








    .hero-card {
      background: var(--white);
      border-radius: 32px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(127, 34, 45, .1);
      padding: 28px;

      position: relative;
    }



/* Десктоп — как у тебя */
.hero-card::before {
    content: "";
    position: absolute;
    inset: 10px 30px auto auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;

    background:
        url('/wp-content/uploads/logo6.png') center 10% / 85% no-repeat,
        rgba(127, 34, 45, .09);

    z-index: 0;
}

/* Мобильные — центр логотипа ровно 50% */
@media (max-width: 680px) {
    .hero-card::before {
        background:
            url('/wp-content/uploads/logo6.png') center 50% / 85% no-repeat,
            rgba(127, 34, 45, .1);
    }
}



    .card-title {
      margin: 0 0 18px;
      font-size: 25px;
      color: #7F222D;
      position: relative;
    }

    .contact-list {
      display: grid;
      gap: 14px;
      position: relative;
    }

    .contact-item {
      padding: 18px;
      border-radius: 18px;
      background: #fff8f3;
      border: 1px solid var(--line);
    }

    .contact-item small {
      display: block;
      color: var(--muted);
      margin-bottom: 4px;
    }

    .contact-item a {
      color: #7F222D;
      font-size: 24px;
      font-weight: 800;
    }

    .section {
      padding: 64px 0;
    }

    .section-head {
      max-width: 760px;
      margin-bottom: 32px;
    }

    .section-kicker {
      margin: 0 0 8px;
      color: #7F222D;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .08em;
      font-size: 13px;
    }

    h2 {
      margin: 0;
      font-size: clamp(30px, 4vw, 46px);
      line-height: 1.08;
      letter-spacing: -.03em;
    }

    .services {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .service-card {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: 0 12px 32px rgba(50, 24, 28, .07);
    }

    .service-icon {
      width: 46px;
      height: 46px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: #f8eef0;
      color: #7F222D;
      font-weight: 900;
      margin-bottom: 16px;
    }

    .service-card h3 {
      margin: 0 0 8px;
      font-size: 19px;
    }

    .service-card p {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
    }

/*
    .steps-section {
      background:
        linear-gradient(135deg, rgba(127, 34, 45, .96), rgba(95, 23, 32, .98)),
        radial-gradient(circle at top right, rgba(201, 164, 92, .25), transparent 35%);
      color: var(--white);
      border-radius: 38px;
      padding: 46px;
      box-shadow: var(--shadow);
    }
*/


.steps-section {
    background:
        linear-gradient(135deg, rgba(127, 34, 45, .96), rgba(95, 23, 32, .98)),
        radial-gradient(circle at top right, rgba(201, 164, 92, .25), transparent 35%);
    color: var(--white);
    border-radius: 38px;
    padding: 46px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.steps-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    /* Размер логотипа */
    width: 610px;
    height: 610px;

    /* Центрируем */
    transform: translate(-50%, -52%);

    /* Сам логотип */
    background: url('/wp-content/uploads/logo6.png') center/contain no-repeat;

    /* Прозрачность */
    opacity: 0.1;

    /* Логотип ниже контента */
    z-index: 0;
}

.steps-section > * {
    position: relative;
    z-index: 1;
}


/*  Адаптация под планшеты */
@media (max-width: 980px) {
    .steps-section::before {
        width: 720px;
        height: 720px;
        transform: translate(-50%, -50%);
    }
}

/*  Адаптация под телефоны */
@media (max-width: 680px) {
    .steps-section {
        padding: 28px;
        border-radius: 28px;
    }

    .steps-section::before {
        width: 360px;
        height: 360px;
        transform: translate(-50%, -50%);
        opacity: 0.15; /* чуть ярче на маленьком экране */
    }
}







    .steps-section .section-kicker,
    .steps-section h2 {
      color: var(--white);
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 30px;
    }

    .step {
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 24px;
      padding: 24px;
      backdrop-filter: blur(3px);
    }

    .step-number {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--white);
      color: #7F222D;
      font-weight: 900;
      margin-bottom: 18px;
    }

    .step h3 {
      margin: 0 0 10px;
      font-size: 21px;
    }

    .step p {
      margin: 0;
      color: rgba(255, 255, 255, .86);
    }

    .info-band {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 28px;
      padding: 30px;
      box-shadow: 0 12px 32px rgba(50, 24, 28, .08);
    }

    .info-band h2 {
      font-size: clamp(25px, 3vw, 36px);
      margin-bottom: 8px;
    }

    .info-band p {
      margin: 0;
      color: var(--muted);
      max-width: 760px;
    }

    .footer {
      padding: 38px 0;
      background: #21191b;
      color: rgba(255, 255, 255, .72);
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .footer strong {
      color: var(--white);
    }

    @media (max-width: 980px) {
      .hero-inner,
      .info-band {
        grid-template-columns: 1fr;
      }

      .services,
      .steps {
        grid-template-columns: repeat(2, 1fr);
      }

      .hero-note {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 680px) {
      .topbar-inner,
      .header-inner {
        align-items: flex-start;
        flex-direction: column;
      }

      .header-actions {
        justify-content: flex-start;
      }

      .hero {
        padding-top: 42px;
      }

      .services,
      .steps {
        grid-template-columns: 1fr;
      }

      .steps-section {
        padding: 28px;
        border-radius: 28px;
      }

      .btn {
        width: 100%;
      }

      .contact-item a {
        font-size: 21px;
      }
    }

main {
    display: block;
    width: 100%;
    height: auto;
/* min-height: 100vh;  УБИРАЕМ ЭТО ГОВНО */
/*   min-height: auto; */
    overflow: visible;
}

/*Левая колонка, иконки макса и 2gis */

/* Убираем оформление contact-item у блока иконок */
.contact-icons {
    display: flex;
    justify-content: center;   /* центрируем */
    align-items: center;
    gap: 66px;                  /* большой отступ между иконками */
    
    /* убиваем оформление contact-item */
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* сами иконки */
.contact-icons img {
    width: auto;                /* нормальный размер */
    height: 60px;
    display: block;
}




.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgb(127, 34, 45); /* фирменный бордовый */
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: rgb(95, 23, 32); /* тёмный бордовый */
}
