/*--------------------------------------------------------------------
Шрифты
--------------------------------------------------------------------*/

@font-face {
    font-family: 'Bold';
    src: url('fonts/Medium.ttf');
}

@font-face {
    font-family: 'Medium';
    src: url('fonts/Medium.ttf');
}

@font-face {
    font-family: 'Regular';
    src: url('fonts/Regular.ttf');
}

@font-face {
    font-family: 'Light';
    src: url('fonts/Light.ttf');
}
:root {
    --accent: #f87a2e;
    --text-main: #6b6b6b;
    --text-muted: #2b2b2b;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --border: #e5e5e5;
    --radius: 8px;
    --section-pad: 80px;
    --section-pad-sm: 56px;
}


/*--------------------------------------------------------------------
Consent checkbox (нормальный вид)
--------------------------------------------------------------------*/
#mailbottom
 {
    text-decoration: underline!important;
}

.form-consent {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    line-height: 1.4;
    color: var(--text-main);

    margin: 16px 0;
}

/* Сам чекбокс */
.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;

    flex-shrink: 0;
    cursor: pointer;
}

/* Текст согласия */
.form-consent span,
.form-consent {
    cursor: pointer;
}


/*--------------------------------------------------------------------
Sticky footer (footer всегда внизу экрана)
--------------------------------------------------------------------*/

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.site-footer {
    margin-top: auto;
}

/*--------------------------------------------------------------------
Базовые стили
--------------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Regular', sans-serif;
    font-size: 16px;         /* БАЗА — НЕ НИЖЕ 16 */
    line-height: 1.5;
    padding-top: 90px;       /* компенсация фиксированного хедера */
}

/*--------------------------------------------------------------------
Header
--------------------------------------------------------------------*/

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #000;
    z-index: 1000;
}

.header-inner {
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.header-logo img {
    display: block;
    max-height: 60px;
    width: auto;
}

/*--------------------------------------------------------------------
Header content
--------------------------------------------------------------------*/

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

/* Мессенджеры */

.header-messengers {
    display: flex;
    gap: 10px;
}

.messenger-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px 20px;
}

#wahead{
   background-image: url(/wp-content/uploads/icons8-whatsapp-logo-20.png);
}

#tghead{
   background-image: url(/wp-content/uploads/icons8-telegram-logo-20.png);
}

#mailhead{
   background-image: url(/wp-content/uploads/icons8-email-20.png);
}

/* Телефоны */

.header-phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.header-phone {
    font-family: 'Medium';
    font-size: 16px;         /* НЕ НИЖЕ 16 */
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}

.header-phone--note span {
    font-size: 16px;         /* НЕ НИЖЕ 16 (по твоему требованию) */
    opacity: 0.7;
}

/* Кнопка */

#header-btn {
    height: 44px;
    padding: 0 18px;
    background: #fff;
    color: var(--text-main);
    font-family: 'Medium';
    font-size: 16px;         /* НЕ НИЖЕ 16 */
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/*--------------------------------------------------------------------
Modal overlay
--------------------------------------------------------------------*/

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background: #fff;
    width: 90%;
    max-width: 520px;
    padding: 30px;
    position: relative;
}

.modal-content {
    font-size: 16px;         /* НЕ НИЖЕ 16 */
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/*--------------------------------------------------------------------
Footer
--------------------------------------------------------------------*/

.site-footer {
    width: 100%;
    background: #000;
    color: #fff;
}

.footer-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 60px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Верх футера */

.footer-top {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70px;
}

/* Колонки */

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col--left {
    align-items: flex-start;
}

.footer-col--right {
    margin-left: auto;
    flex-direction: row;
    gap: 12px;
}

/* ЦЕНТР — ЖЁСТКИЙ ЦЕНТР */

.footer-col--center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-col--center img {
    max-height: 56px;
    width: auto;
}

/* Ссылки */

.footer-col--left a {
    font-family: 'Light';
    font-size: 16px;
    color: #8a8e91;
    text-decoration: none;
    opacity: 0.9;
}

.footer-col--left a:hover {
    opacity: 1;
}

/* Мессенджеры */

.footer-messenger {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px 20px;
}

a#footertg{  
	background-image: url(/wp-content/uploads/icons8-telegram-logo-20.png);
}

a#footerwa{ 
    background-image: url(/wp-content/uploads/icons8-whatsapp-logo-20.png);
}


/* Cookie текст */

.footer-cookie {
    font-family: 'Light';
    font-size: 16px;         /* НЕ НИЖЕ 16 */
    margin: 20px 0px 0px 0px;
    line-height: 1.6;
    opacity: 0.85;
}

/* Низ */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    font-family: 'Light';
    font-size: 15px;
    opacity: 0.9;
    text-align: center;
    line-height: 1.4;
}

/*--------------------------------------------------------------------
Адаптив (без уменьшения шрифтов <16)
--------------------------------------------------------------------*/

@media (max-width: 1024px) {
    .header-right {
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }

    .header-logo img {
        max-height: 52px;
    }

    .header-phones {
        display: none; /* чтобы ничего не сжимать в микрошрифт */
    }

    #header-btn {
        padding: 0 14px; /* уменьшаем паддинги, но шрифт оставляем 16 */
    }

   .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-col--center {
        position: static;
        transform: none;
    }

    .footer-col--left,
    .footer-col--right {
        align-items: center;
    }

    .footer-col--right {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .site-header {
        height: 80px;
    }

    body {
        padding-top: 80px;
    }

    .header-logo img {
        max-height: 46px;
    }

    .header-messengers {
        display: none; /* опять же: без попыток ужать шрифт */
    }

    .footer-inner {
        padding: 32px 16px 20px;
    }
}

/*--------------------------------------------------------------------
Floating call button
--------------------------------------------------------------------*/

.floating-call {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
}

/* Скрытый чекбокс */
#call-toggle {
    display: none;
}

/* Основная кнопка */

.call-main {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

/* Пульсация */

.call-main::before,
.call-main::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: pulse 2.5s infinite;
}

.call-main::after {
    animation-delay: 1.2s;
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Иконки в кнопке */

.call-icon {
    position: absolute;
    width: 35px;
    height: 35px;
    z-index: 100;
    background-image: url(/wp-content/uploads/icons8-phone-50.png);
    background-size: 100% 100%;
}

.call-icon.close {
    opacity: 0;
    transform: rotate(-90deg);
}

/* Активное состояние */

#call-toggle:checked + .call-main .phone {
    opacity: 0;
}

#call-toggle:checked + .call-main .close {
    opacity: 1;
    transform: rotate(0);
}

/* Кнопки действий */

.call-actions {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Показываем при клике */

#call-toggle:checked ~ .call-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Кнопки */

.call-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: block;
   
}

/* Цвета (чисто визуально, можно менять) */

.call-btn.whatsapp {
    background: #25d366;
     background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/wp-content/uploads/icons8-whatsapp-50.png);
     
}

.call-btn.telegram {
    background: #229ed9;
     background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/wp-content/uploads/icons8-telegram-50.png);
}

.call-btn.phone {
    background: #f87a2e;
    background-image: url(/wp-content/uploads/icons8-phone-50.png);
     background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center center;
}

.call-btn.email {
    background: #f87a2e;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center center;
background-image: url(/wp-content/uploads/icons8-mail-50.png);
    
    
}


/*--------------------------------------------------------------------
Hero section
--------------------------------------------------------------------*/

.hero {
    position: relative;
    width: 100%;
    padding: 140px 0px;

    background-image: url('/wp-content/uploads/ekran1.png'); /* твой фон */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

/* Затемнение фона */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(48 48 48 / 70%);
    z-index: 1;
}

/* Контент */
.hero-inner {
    position: relative;
    z-index: 2;

    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Ограничиваем ширину текста */
.hero-title,
.hero-subtitle,
.hero-actions {
    max-width: 70%;
}

/* Заголовок */

.hero-title {
    font-family: 'Bold';
    font-size: 42px;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #fff;
}

/* Подзаголовок */

.hero-subtitle {
    font-family: 'Regular';
    font-size: 19px;
    line-height: 1.6;
    color: #fff;
}

/* Кнопки */

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    height: 52px;
    padding: 0 28px;
    font-family: 'Medium';
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
}

/* Основная кнопка */

button#hero-btn\ hero-btn--primary {
    height: 52px;
    padding: 0 28px;
    font-family: 'Medium';
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    white-space: nowrap;
    border: 0px;
    background: #f87a2e;
    color: #fff;
}

button#hero-btn\ hero-btn--primary:hover {
background: #ff9f65;
}

/* Вторичная кнопка */

.hero-btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #25d366;
}

/*--------------------------------------------------------------------
Адаптив
--------------------------------------------------------------------*/

@media (max-width: 1024px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-title,
    .hero-subtitle,
    .hero-actions {
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
        padding-top: 120px;
    }

    

  

    .hero-title,
    .hero-subtitle,
    .hero-actions {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-btn, button#hero-btn\ hero-btn--primary, .final-cta-btn.secondary {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .hero-inner {
        padding: 0 16px;
    }


}

/*--------------------------------------------------------------------
Intro section (второй экран)
--------------------------------------------------------------------*/

.intro {
    width: 100%;
    background: var(--bg-light);
    padding: var(--section-pad) 0;
}

.intro-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

/* Заголовок */

.intro-title {
    font-family: 'Bold';
    font-size: 36px;
    line-height: 1.25;
    color: var(--text-main);
    max-width: 820px;
}

/* Текст */

.intro-text {
    font-family: 'Regular';
    font-size: 18px;      /* не меньше 16 */
    line-height: 1.7;
    color: var(--text-main);
    max-width: 860px;
}

/*--------------------------------------------------------------------
Адаптив
--------------------------------------------------------------------*/

@media (max-width: 1024px) {
    .intro-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .intro {
        padding: 80px 0;
    }

    .intro-title {
        font-size: 28px;
    }

    .intro-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .intro {
        padding: 64px 0;
    }

    .intro-inner {
        padding: 0 16px;
    }

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


/*--------------------------------------------------------------------
Audience section (Кому мы подходим)
--------------------------------------------------------------------*/

.audience {
    width: 100%;
    background: var(--bg-white);
    padding: var(--section-pad) 0;
}

.audience-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

/* Заголовок */

.audience-title {
    font-family: 'Bold';
    font-size: 36px;
    line-height: 1.25;
    color: var(--text-main);
}

/* Подзаголовок */

.audience-subtitle {
    font-family: 'Regular';
    font-size: 18px;
    line-height: 1.5;
    color: #444;
}

/* Сетка */

.audience-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

/* Карточка */

.audience-item {
    background: #fafafa;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 8px;
}

/* Иконка */

.audience-icon {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-icon img {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
}

/* Текст под иконкой */

.audience-text {
    font-family: 'Regular';
    font-size: 16px;     /* ниже нельзя */
    line-height: 1.5;
    color: var(--text-main);
}

/* Подпись внизу */

.audience-note {
   margin-top: 24px;
    font-family: 'Medium';
    font-size: 22px;
    color: #2b2b2b;
}

/*--------------------------------------------------------------------
Адаптив
--------------------------------------------------------------------*/

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

@media (max-width: 768px) {
    .audience {
        padding: 80px 0;
    }

    .audience-title {
        font-size: 30px;
    }

    .audience-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .audience {
        padding: 64px 0;
    }

    .audience-inner {
        padding: 0 16px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-title {
        font-size: 26px;
    }
}


/*--------------------------------------------------------------------
Services section
--------------------------------------------------------------------*/

.services {
    width: 100%;
    background: var(--bg-light);
    padding: var(--section-pad) 0;
}

.services-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-title {
    font-family: 'Bold';
    font-size: 36px;
    line-height: 1.25;
    color: var(--text-main);
    text-align: center;
}

/* Сетка */

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

/* Карточка */

.service-card {
    background: #fff;
    padding: 24px;

    display: flex;
    flex-direction: column;
    height: 100%;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Верх карточки */

.service-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Фото */

.service-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Название */

.service-name {
    font-family: 'Medium';
    font-size: 20px;
    line-height: 1.3;
    color: #2b2b2b;
}

/* Список */

.service-list {
    list-style: disc;
    padding-left: 18px;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-family: 'Regular';
    font-size: 16px;
    line-height: 1.5;
    color: #6b6b6b;
}

/* Низ карточки — ПРИЖАТ ВНИЗ */

.service-bottom {
    margin-top: auto;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Цена */

.service-price {
    font-family: 'Medium';
    font-size: 18px;
    margin: 10px 0px 0px 0px;
    color: #2e7d32;
}

/* Кнопка */

#service-btn {
    height: 48px;
    background: var(--accent);
    border: none;
    font-family: 'Medium';
    font-size: 16px;
    cursor: pointer;
}

/* Минимум */

.service-min {
    font-family: 'Regular';
    font-size: 14px;
    color: #666;
}

/*--------------------------------------------------------------------
Адаптив
--------------------------------------------------------------------*/

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

@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }

    .services-title {
        font-size: 30px;
    }
}

@media (max-width: 560px) {
    .services {
        padding: 64px 0;
    }

    .services-inner {
        padding: 0 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 26px;
    }
}

/*--------------------------------------------------------------------
Trust section (Почему нам доверяют)
--------------------------------------------------------------------*/

.trust {
    width: 100%;
    background: var(--bg-white);
    padding: var(--section-pad) 0;
}

.trust-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Заголовок */

.trust-title {
    font-family: 'Bold';
    font-size: 36px;
    line-height: 1.25;
    color: var(--text-main);
    text-align: center;
}

/* Сетка */

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

/* Карточка */

.trust-card {
    background: #f6f6f6;
    padding: 28px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    height: 100%;
}

/* Иконка */

.trust-icon {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon img {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
}

/* Название */

.trust-name {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.3;
    min-height: 47px;
    color: #2b2b2b;
}

/* Текст */

.trust-text {
    margin-top: 10px;
    font-family: 'Regular';
    font-size: 16px;
    line-height: 1.5;
    color: #6b6b6b;
}

/*--------------------------------------------------------------------
Адаптив
--------------------------------------------------------------------*/

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

}

@media (max-width: 768px) {
    .trust {
        padding: 80px 0;
    }

    .trust-title {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .trust {
        padding: 64px 0;
    }

    .trust-inner {
        padding: 0 16px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-title {
        font-size: 26px;
    }

.trust-name {
    min-height: 7px;
}
}

/*--------------------------------------------------------------------
Calculator
--------------------------------------------------------------------*/

.calc {
  background: var(--bg-light);
  padding: var(--section-pad) 0;
}

.calc-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.calc-title {
  font-family: 'Bold';
  font-size: 36px;
}

.calc-subtitle {
  margin-top: 16px;
  font-size: 18px;
}

.calc-form {
  margin-top: 40px;
  background: #fff;
  padding: 32px;
}

.calc-step {
  display: none;
}

.calc-step.active {
  display: block;
}

.calc-question {
  font-family: 'Medium';
  font-size: 20px;
  margin-bottom: 24px;
}

/* варианты */

.calc-options {
  display: grid;
  gap: 16px;
}

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

.calc-options button {
  padding: 20px 10px;
  font-size: 16px;
  border: 2px solid #f87a2e;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}

.calc-options button:hover {
  background: #f87a2e;
}

/* inputs */

.calc-form input {
  width: 100%;
  height: 52px;
  margin-bottom: 16px;
  padding: 0 16px;
  font-size: 16px;
}

/* submit */

.calc-submit {
  height: 52px;
  width: 100%;
  background: #f87a2e;
  border-radius: 8px;
  color: #fff;
  font-family: 'Medium';
  font-size: 16px;
  border: 0px;
  cursor: pointer;
}

.calc-submit:hover {
   background: #ff9f65;
}

/* adaptive */

@media (max-width: 768px) {
  .grid-4, .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------------
Process section — FINAL, NORMAL, HUMAN VERSION
--------------------------------------------------------------------*/

.process {
    width: 100%;
    background: var(--bg-white);
    padding: var(--section-pad) 0;
}

.process-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* Заголовок */

.process-title {
    font-family: 'Bold';
    font-size: 36px;
    line-height: 1.25;
    color: var(--text-main);
    text-align: center;
}

/* ===== СЕТКА ШАГОВ ===== */
/* Строго 5 в ряд */

.process-steps {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px; /* ВАЖНО: расстояние между шагами */
    align-items: start;
}

/* Один шаг */

.process-step {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

/* КРУГ */

.process-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f0f0f0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon img {
    max-width: 100px;
    max-height: 100px;
}

/* Текст */

.process-text {
    font-family: 'Regular';
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-main);
}

/* ===== СТРЕЛКА МЕЖДУ ШАГАМИ ===== */
/* Стрелка позиционируется ВНЕ круга */

.process-step:not(:last-child)::after {
    content: '';

    position: absolute;

    /* по центру круга */
    top: 50px;
    transform: translateY(-50%) rotate(45deg);

    /* В СЕРЕДИНЕ ПРОМЕЖУТКА МЕЖДУ ШАГАМИ */
    right: -36px;

    width: 20px;
    height: 20px;

    border-top: 2px solid #f87a2e;
    border-right: 2px solid #f87a2e;
}

/* Подпись */

.process-note {
        font-family: 'Medium';
    font-size: 22px;
    color: #2b2b2b;
    text-align: center;
}

/*--------------------------------------------------------------------
АДАПТИВ — ТОЛЬКО КОЛОНКА
--------------------------------------------------------------------*/

@media (max-width: 980px) {

    .process {
        padding: 80px 0;
    }

    .process-title {
        font-size: 30px;
    }

    .process-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .process-step {
        width: 100%;
        max-width: 520px;
        padding-bottom: 24px;
    }

    /* Стрелка вниз между шагами */

    .process-step:not(:last-child)::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -6px;

        transform: translateX(-50%) rotate(45deg);

        border: none;
        border-right: 2px solid #f87a2e;
        border-bottom: 2px solid #f87a2e;
    }
}

@media (max-width: 480px) {

    .process {
        padding: 64px 0;
    }

    .process-inner {
        padding: 0 16px;
    }

    .process-title {
        font-size: 26px;
    }
}

/*--------------------------------------------------------------------
Clients section
--------------------------------------------------------------------*/

.clients {
    width: 100%;
    background: var(--bg-light);
    padding: var(--section-pad) 0;
}

.clients-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;

    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.clients-title {
    font-family: 'Bold';
    font-size: 36px;
    text-align: center;
}

.clients-subtitle {
    font-size: 18px;
    text-align: center;
    color: #444;
    margin: 10px 0px 20px 0px;
}

/* Обёртка */



/*--------------------------------------------------------------------
Адаптив
--------------------------------------------------------------------*/

@media (max-width: 900px) {
    .client-item {
        flex: 0 0 200px;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .client-item {
        flex: 0 0 160px;
        height: 160px;
    }

    .clients-title {
        font-size: 26px;
    }
}

/*--------------------------------------------------------------------
Prices section
--------------------------------------------------------------------*/

.prices {
    width: 100%;
    background: var(--bg-white);
    padding: var(--section-pad) 0;
}

.prices-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Заголовок */

.prices-title {
    font-family: 'Bold';
    font-size: 36px;
    line-height: 1.25;
    color: var(--text-main);
    text-align: center;
}

/* Обёртка таблицы (для адаптива) */

.prices-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

/* Таблица */

.prices-table {
    width: 100%;
    border-collapse: collapse;
    background: #f6f6f6;
}

.prices-table th,
.prices-table td {
    padding: 18px 20px;
    text-align: left;
    font-size: 16px;
    color: var(--text-main);
}

.prices-table thead th {
    background: #f6f6f6;
   
}

.prices-table tbody tr {
    border-top: 1px solid #ddd;
}

.prices-table tbody tr {
    background: #ffffff;
}

tbody {
    border-bottom: 1px solid #ddd;
}

/* Вторая колонка чуть акцентнее */

.prices-table td:last-child {
    font-family: 'Medium';
    color: #2e7d32;
    white-space: nowrap;
}

/* Кнопка PDF */

.prices-download {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: #f87a2e;
    color: #fff;
    border-radius: 8px;
    font-family: 'Medium';
    font-size: 16px;
    text-decoration: none;
}

.prices-download:hover {
    background: #ff9f65;
}

/* PDF бейдж */

.pdf-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 26px;
    padding: 0 8px;

    background: #fff;
    color: #d32f2f;
    font-size: 16px;
    font-family: 'Bold';
}

/*--------------------------------------------------------------------
Адаптив
--------------------------------------------------------------------*/

@media (max-width: 768px) {

    .prices {
        padding: 80px 0;
    }

    .prices-title {
        font-size: 30px;
    }

    .prices-table th,
    .prices-table td {
        padding: 16px;
    }
}

@media (max-width: 480px) {

    .prices {
        padding: 64px 0;
    }

    .prices-inner {
        padding: 0 16px;
    }

    .prices-title {
        font-size: 26px;
    }
}

/*--------------------------------------------------------------------
Final CTA section
--------------------------------------------------------------------*/

.final-cta {
    position: relative;
    width: 100%;
    padding: var(--section-pad) 0;
    background-image: url('/wp-content/uploads/ekran1.png');
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Затемнение */

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgb(48 48 48 / 70%);
}

/* Контент */

.final-cta-inner {
    position: relative;
    z-index: 1;

    max-width: 1024px;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

/* Заголовок */

.final-cta-title {
    font-family: 'Bold';
    font-size: 40px;
    line-height: 1.25;
    color: #fff!important;
}

/* Текст */

.final-cta-text {
        font-family: 'Regular';
    font-size: 19px;
    line-height: 1.6;
    color: #f0f0f0;
    max-width: 720px;
}

/* Кнопки */

.final-cta-buttons {
    margin-top: 16px;

    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.final-cta-btn {
    height: 52px;
    padding: 0 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: 'Medium';
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

/* Основная кнопка */

.final-cta-btn.primary {
    background: #f87a2e;
    color: var(--text-main);
}

.final-cta-btn.primary:hover {
   background: #ff9f65;
}

/* Вторичная */

.final-cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.final-cta-btn.secondary:hover {
    background: #ff9f65;
    color: #fff;
    border: 2px solid #ff9f65;
}

/*--------------------------------------------------------------------
Адаптив
--------------------------------------------------------------------*/

@media (max-width: 768px) {

    .final-cta-title {
        font-size: 32px;
    }

    .final-cta-text {
        font-size: 16px;
    }

    .final-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .final-cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .final-cta-title {
        font-size: 26px;
    }

    .final-cta-inner {
        padding: 0 16px;
    }
}

/*--------------------------------------------------------------------
Contacts section
--------------------------------------------------------------------*/

.contacts {
    padding: var(--section-pad) 0;
}

.contacts-inner {
      margin: 0px auto;
    max-width: 1024px;
    padding: 0px 1%;
}

.contacts-title {
    font-family: 'Bold';
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* Левая часть */

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 12px;
    font-size: 16px;
}

.contact-icon {
    font-size: 18px;
    line-height: 1;
    width: 20px;
    height: 20px;
}

span#contactmap{
  background-image: url(/wp-content/uploads/icons8-location-20.png);
}

span#contacttime{
   background-image: url(/wp-content/uploads/icons8-clock-20.png);
}

span#contactphone{
   background-image: url(/wp-content/uploads/icons8-phone-20.png);
}

span#contactwa{
   background-image: url(/wp-content/uploads/icons8-whatsapp-20.png);
}

span#contacttg{
   background-image: url(/wp-content/uploads/icons8-telegram-app-20.png);
}

span#contactmail{
   background-image: url(/wp-content/uploads/icons8-email-20-1.png);
}

.contacts-inner a
 {
    color: #f87a2e;
}


/* Правая часть */

.contacts-form-wrapper {
    background: #fafafa;
    padding: 32px;
}

.contacts-form-title, p.formover {
    font-family: 'Medium';
    font-size: 20px;
    margin-bottom: 24px;
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacts-form input[type="text"],
.contacts-form input[type="tel"],
.contacts-form input[type="email"] {
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
}

.contacts-consent {
    font-size: 16px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.contacts-form button {
    height: 52px;
    background: #25d366;
    border: none;
    font-size: 16px;
    font-family: 'Medium';
    cursor: pointer;
}

/* Адаптив */

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts {
        padding: 80px 0;
    }

    .contacts-title {
        font-size: 28px;
    }
}

/*--------------------------------------------------------------------
Consent checkbox — универсально для всех форм
--------------------------------------------------------------------*/

/* Лейбл согласия */
.form-consent,
.contacts-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-main);
    margin: 14px 0;
    text-align: left;
}

/* Сам чекбокс */
.form-consent input[type="checkbox"],
.contacts-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;               /* убираем browser-margin */
    padding: 0;

    flex-shrink: 0;
    vertical-align: middle;  /* контроль baseline */
    cursor: pointer;
}

/* Текст внутри */
.form-consent span,
.contacts-consent span {
    display: inline-block;
    line-height: 1.4;
    cursor: pointer;
    font-size: 14px;
}

/*--------------------------------------------------------------------
THEME OVERRIDES (под стиль со скриншотов)
--------------------------------------------------------------------*/

/* Единый ритм секций */
.intro, .audience, .services, .trust, .process, .clients, .prices, .final-cta, .contacts {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}
@media (max-width: 768px) {
    .hero, .intro, .audience, .services, .trust, .calc, .process, .clients, .prices, .final-cta, .contacts {
        padding-top: var(--section-pad-sm);
        padding-bottom: var(--section-pad-sm);
    }
}

section#raschet {
    padding: 0px;
}

/* Заголовки как в примерах: серые, "легкие", по центру */
.intro-title,
.audience-title,
.services-title,
.trust-title,
.calc-title,
.process-title,
.clients-title,
.prices-title,
.contacts-title,
.final-cta-title {
    font-size: 40px;
    line-height: 1.25;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .intro-title,
    .audience-title,
    .services-title,
    .trust-title,
    .calc-title,
    .process-title,
    .clients-title,
    .prices-title,
    .contacts-title,
    .final-cta-title {
        font-size: 30px;
    }
}

/* Подзаголовки */

.audience-subtitle,
.calc-subtitle,
.clients-subtitle {
    color: var(--text-muted);
}

/* Кнопки в стиле (скругление/без "жести") */
#header-btn,
.hero-btn,
#service-btn,
.final-cta-btn,
.contacts-form button,
.calc-submit button {
    border-radius: 8px;
}

button#service-btn {
    border: 0px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff !important;
    padding: 0 18px;
    font-family: 'Medium';
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
}

button#service-btn:hover {
    background: #ff9f65;
}

/* Primary кнопки всегда белый текст */
#header-btn,
#hero-btn--primary,
#service-btn,
.final-cta-btn,
.contacts-form button,
.calc-submit button {
    background: var(--accent);
    color: #fff !important;
}

#header-btn:hover,
#hero-btn--primary:hover,
#service-btn:hover,
.final-cta-btn:hover,
.contacts-form button:hover,
.calc-submit button:hover {
 background: #ff9f65;
}

/* Outline кнопки */
.hero-btn--secondary {
    border-color: #fff;
    color: #fff;
}
.hero-btn--secondary:hover {
    background: #ff9f65;
    border-color: #ff9f65;
}

/* Карточки/плашки */
.service-card,
.trust-card,
.audience-item
.process-step,
.clients-card,
.prices-table,
.contacts-form-wrapper {
    
    border-radius: var(--radius);
}

/* Инпуты/textarea */
input, textarea {
    border: 1px solid var(--border);
    border-radius: 8px;
}
input:focus, textarea:focus {
    border-color: var(--accent);
    outline: none;
}

/* =========================================================
   INFO PAGES (wrapper)
   Для текстовых страниц: политика, соглашение и т.п.
========================================================= */

.wrapper {
    max-width: 1024px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%; 
    background: #ffffff;
    color: var(--text-main);
    font-family: 'Regular';
    font-size: 16px;
    line-height: 1.7;
}

/* -------------------------
   Заголовки
------------------------- */

.wrapper h1 {
    font-family: 'Bold';
    font-size: 34px;
    line-height: 1.25;
    margin: 32px 0px;
}

.wrapper h2 {
    font-family: 'Bold';
    font-size: 26px;
    line-height: 1.3;
    margin: 48px 0 20px;
}

.wrapper h3 {
    font-family: 'Medium';
    font-size: 20px;
    line-height: 1.4;
    margin: 36px 0 16px;
}

/* -------------------------
   Текст
------------------------- */

.wrapper p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main);
}

/* -------------------------
   Списки
------------------------- */

.wrapper ul,
.wrapper ol {
    margin: 20px 0 20px 24px;
}

.wrapper li {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16px;
}

/* -------------------------
   Ссылки
------------------------- */

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

.wrapper a:hover {
    text-decoration: none;
}

/* -------------------------
   Выделение текста
------------------------- */

.wrapper strong {
    font-family: 'Medium';
}

.wrapper em {
    font-style: italic;
}

/* -------------------------
   Хлебные крошки (breadcrumbs)
------------------------- */

.wrapper .breadcrumbs {
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.wrapper .breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.wrapper .breadcrumbs a:hover {
    color: var(--accent);
}

.wrapper .breadcrumbs span {
    margin: 0 6px;
}

/* -------------------------
   Адаптив
------------------------- */

@media (max-width: 768px) {
    .wrapper {
        padding: 40px 16px;
    }

    .wrapper h1 {
        font-size: 28px;
    }

    .wrapper h2 {
        font-size: 22px;
    }

    .wrapper h3 {
        font-size: 18px;
    }
}
