/*
Theme Name: Astra Child
Template: astra
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

h1, h2, h3, h4, h5, h6, p, body {
	font-family: "Source Sans 3", sans-serif;
  	font-optical-sizing: auto;
}

/* Блок акций*/

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

.promo-header {
  text-align: center;
  margin-bottom: 20px;
}
 
.promo-label {
  display: inline-block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
 
.promo-title {
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.18;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
 
.promo-title em {
  font-style: italic;
  color: var(--gold);
}
 
.promo-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 28px auto 0;
  opacity: 0.6;
}
 
/* ── Grid ────────────────────────────────────────────────── */
 
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
 
/* ── Card ────────────────────────────────────────────────── */
 
.promo-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(30, 20, 10, 0.10);;
  display: flex;
  flex-direction: column;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
 
.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(30, 20, 10, 0.16);
}
 
/* Image */
 
.promo-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
 
.promo-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
 
.promo-card:hover .promo-card__image {
  transform: scale(1.05);
}
 
.promo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(20, 14, 8, 0.45) 100%
  );
}
 
/* Badge */
 
.promo-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #71979c;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  padding: 7px 12px 6px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}
 
/* Body */
 
.promo-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
 
.promo-card__title {
  font-weight: 600;
  font-size: 22px;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
 
.promo-card__desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--mid);
  flex: 1;
}
 
/* Button — preserve original class, add only styling */
 
.reg_button.zamer {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 24px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  align-self: flex-start;
}
 
.reg_button.zamer:hover {
  background: var(--gold);
  color: #fff;
}

.promo-span {
    color: #71979c;
}
 
/* ── Responsive ──────────────────────────────────────────── */
 
@media (max-width: 1100px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
 
@media (max-width: 680px) {
  .promo-section {
    padding: 56px 20px 64px;
  }
 
  .promo-header {
    margin-bottom: 10px;
  }
 
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
 
  .promo-card__image-wrap {
    aspect-ratio: 16 / 9;
  }
 
  .promo-card__body {
    padding: 20px 20px 24px;
  }
 
  .reg_button.zamer {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
}

/* Калькулятор*/

/* ============================================ */
/* КАЛЬКУЛЯТОР НАТЯЖНЫХ ПОТОЛКОВ — СТИЛИ       */
/* ============================================ */

.ceiling-calc-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 35px 30px;
    -webkit-box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
    box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
    border-radius: 0px 0px 20px 20px;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.ceiling-calc-wrapper *,
.ceiling-calc-wrapper *::before,
.ceiling-calc-wrapper *::after {
    box-sizing: border-box;
}

/* === СЕТКА === */
.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* === ПОЛЕ НА ВСЮ ШИРИНУ === */
.calc-field-full {
    grid-column: 1 / -1;
}

/* === СЕКЦИИ === */
.calc-section {
    margin-bottom: 25px;
}

.calc-extra-fields {
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
    margin-top: 10px;
}

/* === ПОЛЯ === */
.calc-field {
    display: flex;
    flex-direction: column;
}

.calc-field label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
    line-height: 1.4;
}

.calc-field input,
.calc-field select {
    width: 100%;
    border-radius: 50px;
    margin-bottom: 0;
    font-size: 15px;
    border: none;
    background: #f6f6f6;
    color: #666;
    padding: 12px 20px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.calc-field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
    padding-right: 36px;
}

.calc-field input:focus,
.calc-field select:focus {
    background: #eeeeee;
    box-shadow: 0 0 0 2px rgba(113, 151, 156, 0.2);
}

/* === ПОДСКАЗКА === */
.calc-field-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    padding-left: 10px;
    line-height: 1.4;
}

/* === ИКОНКА ПОДСКАЗКИ === */
.calc-hint-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #71979c;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 10px;
    font-weight: bold;
    cursor: help;
    font-style: normal;
    vertical-align: middle;
    margin-left: 4px;
}

/* === ЗАГОЛОВКИ ГРУПП === */
.calc-group-title {
    font-size: 16px;
    color: #71979c;
    margin: 24px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eaeaea;
}

/* === КНОПКИ === */
.calc-btn {
    display: inline-block;
    border-radius: 50px;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
}

.calc-btn-primary {
    background-color: #71979c;
    color: #fff;
}

.calc-btn-primary:hover {
    background-color: #5f8489;
    transform: translateY(-1px);
}

.calc-btn-primary:active {
    transform: translateY(0);
}

.calc-btn-outline {
    background: #fff;
    color: #71979c;
    border: 2px solid #71979c;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.06);
    padding: 12px 30px;
    font-size: 14px;
}

.calc-btn-outline:hover {
    background: #f7fafa;
}

.toggle-icon {
    font-size: 12px;
    margin-right: 4px;
}

/* === КНОПКА РАССЧИТАТЬ === */
#calc-submit-btn {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    font-size: 18px;
}

/* === РЕЗУЛЬТАТ === */
.calc-result {
    margin-top: 30px;
    padding: 25px;
    background: #f9fbfb;
    border-radius: 20px;
    box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.06);
}

.calc-result h3 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #333;
}

.calc-breakdown ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.calc-breakdown li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px dotted #ddd;
}

.calc-breakdown li:last-child {
    border-bottom: none;
}

.calc-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    padding: 15px 0;
    border-top: 2px solid #71979c;
}

.calc-min-notice {
    font-size: 13px;
    color: #999;
    margin: 5px 0 0;
}

/* === ФОРМА ЗАХВАТА === */
.calc-lead-form {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.calc-lead-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px;
}

.calc-lead-subtitle {
    font-size: 14px;
    color: #777;
    margin: 0 0 18px;
}

.calc-lead-form .calc-field input {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.calc-lead-form .calc-field input:focus {
    box-shadow: 0 0 0 2px rgba(113, 151, 156, 0.2);
}

.calc-lead-form .calc-btn {
    width: 100%;
    margin-top: 8px;
}

.calc-lead-message {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
}

/* === АДАПТИВ === */

/* Планшет и мобилка: 1 колонка */
@media (max-width: 600px) {
    .ceiling-calc-wrapper {
        padding: 30px 15px 20px;
        border-radius: 0 0 15px 15px;
    }

    .calc-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .calc-field input,
    .calc-field select {
        font-size: 16px; /* чтобы не зумило на iOS */
        padding: 13px 18px;
    }

    .calc-btn {
        padding: 14px 25px;
        font-size: 15px;
    }

    #calc-submit-btn {
        font-size: 16px;
    }

    .calc-result {
        padding: 15px;
    }

    .calc-total {
        font-size: 18px;
    }

    .calc-group-title {
        font-size: 15px;
        margin: 20px 0 10px;
    }
}
/* Калькулятор*/

.page-template-page-main .hero .col-left {
    padding-bottom: 40px;
}

.section-header {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2a3f;
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 15px;
}

.shadow {
	-webkit-box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
    box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
}

.round {
	 border-radius: 20px;
}

.potolok_card {
    background: #fff;
    margin: 12px;
}

.card {
    background: #fff;
    margin: 12px;
    padding: 40px;
}

.pc_header {
	height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 20px 20px 0px 0px;
}

.pc_content {
	padding: 40px;
}

.pc_content h5 {
	font-size: 1.25rem;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #1a202c;
    line-height: 1.4;
    text-align: center;
}

a, .page-title {
    color: #71979c;
}

p {
    margin-bottom: 0;
}

.ast-desktop .main-header-menu.ast-menu-shadow .sub-menu {
    border: none;
    border-radius: 15px;
}

#cookie_note {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 100px;
    max-width: 90%;
       padding: 15px 25px;
    background-color: white;
    border-radius: 50px;
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

    #cookie_note.showed{
        display: flex;
			align-items: center;
    }

#cookie_note p
{
	margin-bottom: 0px;
	margin-right: 5px;
}

    .mob-reverse {
        padding-bottom: 40px;
    }

#cookie_note a
{
	margin-right: 15px;	
}

.cookie_accept.regular_button
{
margin-top: 0px;	
}

a:hover {
	color: #4f8389;
}

.wpcf7-list-item {
	    margin: 0;
}

/* CSS для виджета */
.floating-chat-widget {
    position: fixed;
    bottom: 98px;
    right: 30px;
    z-index: 9999;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.chat-main-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #71979c;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index: 20;
}

.chat-main-btn:hover {
    transform: scale(1.05);
    background: #4f8389;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.chat-main-btn:active {
    transform: scale(0.96);
}

.chat-main-btn svg {
    width: 25px;
    height: 25px;
    transition: transform 0.2s ease;
    fill: white;
    display: block;
}

.social-icons-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: visibility 0.2s, opacity 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    pointer-events: none;
    z-index: 15;
}

.social-icons-container.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

.social-icon svg {
    width: 26px;
    height: 26px;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.social-icon:hover svg {
    transform: scale(1.05);
}

.social-icon .tooltip-text {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1f2937;
    color: #f9fafb;
    padding: 6px 12px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
    pointer-events: none;
    background: rgba(31, 41, 55, 0.92);
    border: 0.5px solid rgba(255,255,255,0.2);
}

.social-icon .tooltip-text::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(31, 41, 55, 0.92);
}

.social-icon:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

.max_gradient {
    background: linear-gradient(67deg, #43d6ff 10.32%, #3838ff 45.25%, #8f3fff 79.24%);
}

#telegramIcon {
	background: linear-gradient(135deg, #1e88e5, #0b5e9e);
}

@media (max-width: 580px) {
    .floating-chat-widget {
        bottom: 16px;
        right: 16px;
    }
    .social-icon .tooltip-text {
        right: 55px;
        font-size: 12px;
        padding: 4px 10px;
    }
    .chat-main-btn {
        width: 52px;
        height: 52px;
    }
    .social-icon {
        width: 44px;
        height: 44px;
    }
    .social-icon svg {
        width: 24px;
        height: 24px;
    }
    .social-icons-container {
        bottom: 64px;
        gap: 12px;
    }
}

.beauty_table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.beauty_table td,
.beauty_table th {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.beauty_table th {
    background-color: #71979C;
    color: white;
    font-weight: bold;
}

.beauty_table tr.table_header {
    background-color: #71979C;
    color: white;
}

.beauty_table tr.table_header td,
.beauty_table tr.table_header th {
    background-color: #71979C;
    color: white;
}

.beauty_table tr:nth-child(even) {
    background-color: #ffffff;
}

.beauty_table tr:nth-child(odd) {
    background-color: #e8f0f1;
}

/* При наведении на любую строку таблицы */
.beauty_table tr:hover {
    background-color: #d0e2e4; 
}

.beauty_table tr:nth-child(even):hover {
    background-color: #d0e2e4;
}

.beauty_table tr:nth-child(odd):hover {
    background-color: #c5d9db;
}

.beauty_table tr.table_header:hover {
    background-color: #71979C;
}

.beauty_table tr.table_header:hover td,
.beauty_table tr.table_header:hover th {
    background-color: #71979C;
}

.padding_block {
    padding: 40px;
}

.review-block {
	padding: 30px;
    background: #fff;
    border-radius: 0px 0px 20px 20px;
}

.view-text {
    font-style: italic;
    font-size: 14px;
}

.background {
background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.view-name {
font-weight: bold;
}

/* Service Cards Block Styles */
.service-cards-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.service-cards-row {
    margin-bottom: 30px;
}

.service-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-card__inner {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card__image {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__img {
    transform: scale(1.05);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #1a202c;
    line-height: 1.4;
}

.service-card__description {
    padding: 0 20px;
    flex-grow: 1;
}

.service-card__description p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
    margin: 0 0 15px;
}

.service-card__button {
    padding: 0 20px 25px;
    margin-top: auto;
}

.service-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #3182ce;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: gap 0.2s ease;
}

.service-card__btn:hover {
    gap: 12px;
    color: #2c5282;
}

.service-card__btn-icon {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.service-card__btn:hover .service-card__btn-icon {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-cards-container {
        gap: 20px;
    }
    
    .service-card__title {
        font-size: 1.1rem;
        margin: 15px 15px 8px;
    }
    
    .service-card__description {
        padding: 0 15px;
    }
    
    .service-card__button {
        padding: 0 15px 20px;
    }
}

@media (max-width: 768px) {
    .service-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-cards-wrapper {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .service-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Обертка секции */
.modern-workflow-wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.modern-workflow-container {
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2a3f;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 15px;
}

.workflow-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2b7a62;
    border-radius: 2px;
}

/* Грид сетка для карточек */
.steps-grid-hww {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

/* Карточка шага */
.step-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 20px 25px;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
    border-color: rgba(43, 122, 98, 0.2);
}

/* Номер шага (стильный минимализм) */
.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #2b7a62;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 40px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(43, 122, 98, 0.2);
}

/* Иконка */
.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.05);
}

/* Заголовок */
.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 15px 0 8px;
}

/* Описание */
.step-description {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #5a6e7c;
    margin: 0;
}

/* Декоративная линия между карточками (только для десктопа) */
@media (min-width: 992px) {
    .step-connector {
        position: absolute;
        top: 45px;
        right: -30px;
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, #cbd5e0, transparent);
    }
    
    /* Убираем линию у последней карточки, но селектор уже ограничен PHP */
    .step-card:last-child .step-connector {
        display: none;
    }
}

/* Адаптивность (планшеты и телефоны) */
@media (max-width: 991px) {
    .steps-grid {
        gap: 20px;
    }
    
    .step-card {
        min-width: 140px;
        padding: 25px 15px 20px;
    }
    
    .step-connector {
        display: none;
    }
    
    .workflow-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .modern-workflow-wrapper {
        padding: 40px 15px;
    }
    
    .steps-grid {
        gap: 15px;
    }
    
    .step-card {
        min-width: calc(50% - 15px);
        max-width: none;
    }
    
    .step-icon {
        font-size: 40px;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .step-card {
        min-width: 100%;
    }
}

            .modern-faq-block {
                max-width: 800px;
                margin: 2rem auto;
                font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
            }
            .faq-item {
                border-bottom: 1px solid #e2e8f0;
                margin-bottom: 0;
            }
            .faq-question {
                margin: 0;
            }
            .faq-toggle {
                background: none;
                border: none;
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 1.25rem 0;
                font-size: 1.125rem;
                font-weight: 500;
                color: #1a202c;
                cursor: pointer;
                transition: all 0.2s ease;
                text-align: left;
            }
            .faq-toggle:hover {
                color: #3182ce;
            }
            .faq-toggle:focus {
                outline: none;
                color: #3182ce;
            }
            .faq-question-text {
                flex: 1;
                padding-right: 1rem;
            }
            .faq-icon svg {
                transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                flex-shrink: 0;
            }
            .faq-toggle[aria-expanded="true"] .faq-icon svg {
                transform: rotate(45deg);
            }
            .faq-answer {
                overflow: hidden;
                transition: all 0.3s ease-out;
            }
            .faq-answer-content {
                padding: 0 0 1.5rem 0;
                color: #4a5568;
                line-height: 1.6;
            }
            .faq-answer-content p:first-child {
                margin-top: 0;
            }
            .faq-answer-content p:last-child {
                margin-bottom: 0;
            }

	.color_name {
    text-align: center;
    font-weight: bold;
    }
    
    .color_plashka {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin: 0 auto;
    }

	.grid5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    }
    
	.grid6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    }
    
    .colors {
    margin: 60px 0px;
    }

	.wpcf7 .wpcf7-form-control-wrap {
    	display: contents;
    }

    .matoviy-about {
    	padding: 50px 50px 0px 0px;
    }

        /* КОНТЕЙНЕР СЛАЙДЕРА */
        .slider-wrapper {
            max-width: 1100px;
            width: 100%;
            background: #ffffff;
            border-radius: 28px;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            padding: 24px 20px 28px 20px;
        }

        /* ОСНОВНОЙ КОНТЕЙНЕР SWIPER */
        .swiper {
            width: 100%;
            height: auto;
            border-radius: 20px;
            overflow: hidden;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fafcff;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .swiper-slide img {
            width: 100%;
            max-height: 520px;
            object-fit: cover;
            border-radius: 20px;
            display: block;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s;
        }
        
        .swiper-button-next, .swiper-button-prev {
        	color: #71979c !important;
        }
        
        .swiper-pagination-bullet-active {
        	background-color: #71979c !important;
        }

/* Основной контейнер для списка раскрывающихся пунктов */
        .custom-toggle {
            max-width: 800px;
            width: 100%;
            margin: 0 auto;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }

        /* Каждый пункт */
        .toggle-item {
            border-bottom: 1px solid #e5e7eb;
            transition: background 0.2s;
        }

        .toggle-item:last-child {
            border-bottom: none;
        }

        /* Заголовок — кликабельная область */
        .toggle-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 18px 24px;
            cursor: pointer;
            user-select: none;
            transition: background 0.2s;
            background: #fff;
        }

        .toggle-header:hover {
            background: #faf9fc;
        }

        /* Левая часть: текст заголовка */
        .toggle-title {
            font-size: 1rem;
            font-weight: 500;
            color: #1f2937;
            letter-spacing: -0.01em;
            transition: color 0.2s;
            flex: 1;
        }

        /* Правая часть: треугольник (индикатор) */
        .toggle-icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #6b7280;
            transition: transform 0.25s ease, color 0.2s;
            /* Начальное состояние — треугольник вправо (закрыт) */
            transform: rotate(0deg);
        }

        /* Когда пункт открыт — поворачиваем иконку на 90 градусов (вниз/вверх стилизовано) */
        /* По дизайну: закрыт → ▸ (треугольник вправо), открыт → ▾ (треугольник вниз) */
        /* Но мы сделаем поворот на 90deg для красоты: из ">" в "v" через трансформ */
        .toggle-item.open .toggle-icon {
            transform: rotate(90deg);
            color: #3b82f6;
        }

        /* Контентная область (скрыта по умолчанию) */
        .toggle-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.33, 1, 0.68, 1);
            background: #ffffff;
            border-top: 0px solid #eef2ff;
        }

        /* Когда открыт — показываем содержимое */
        .toggle-item.open .toggle-content {
            max-height: 300px;      /* достаточно для вашего небольшого контента */
            border-top-width: 1px;
        }

        /* Внутренний отступ для контента */
        .toggle-content-inner {
            padding: 20px 24px 24px 48px;
            background: #fefefe;
        }

        /* Сохраняем стили ссылок из вашего исходного кода */
        .toggle-content-inner a {
            color: #71979c;
            text-decoration: none;
            font-weight: 500;
            border-bottom: 1px dashed #cbd5e1;
            transition: color 0.2s, border-color 0.2s;
        }

        .toggle-content-inner a:hover {
            color: #4f8389;
            border-bottom-color: #4f8389;
        }

.col50 {
	    width: 50%;
}

.section_padding {
		padding: 70px 0px;
}

.section_col_text {
		padding: 30px;
        margin-left: 30px;
}

.sliv-about {
	    padding: 30px;
        margin-top: 70px;
        margin-right: 70px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(178, 178, 178, 0.15);
    -moz-box-shadow: 0px 0px 8px 0px rgba(178, 178, 178, 0.15);
    box-shadow: 0px 0px 8px 0px rgba(178, 178, 178, 0.15);
}

.step_number {
    font-size: 12px;
    opacity: 0.5;
}

.step h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.steps-before-grid
{
	display: flex;
    margin-bottom: 20px;
}

.step-before
{
	padding: 15px;
	border-radius: 10px;
	display: block;
	line-height: 1;
	margin-left: 10px;
	margin-right: 10px;
}

.color1
{
	background: #3865e4;
}

.color2
{
	background: #9050c0;
}

.color3
{
	background: #de4071;
}

.color4
{
	background: #49a164;
}

.step-before svg
{
	width: 20px;
	height: 20px;
	line-height: 1;
    fill: #fff;
}

.step-between
{
	display: flex;
	align-items: center;
}

.step-circle 
{
	display: block;
	width: 10px;
	height: 10px;
	border: 1px #c2c2c2 solid;
	border-radius: 50px;
	opacity: 0.5;
	margin-left: 5px;
	margin-right: 5px;
}

.step-line
{
    height: 1px; /* Высота линии */
    background: linear-gradient(to right, transparent 50%, #c2c2c2 50%);
    background-size: 10px 100%; /* Размеры паттерна */
    background-repeat: repeat-x; /* Повтор по горизонтали */
    margin: 20px 0; /* Отступы сверху и снизу */
	width: 193px;
	opacity: 0.5;
}

.fist-step-before
{
	margin-left: 121px;
}

 /* Основной контейнер для сравнения */
        .compare-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            cursor: ew-resize;
        }

        .compare-container img {
            display: block;
            width: 100%;
            height: auto;
            pointer-events: none;
        }

        .img-after {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .img-after img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Ползунок */
        .slider {
            position: absolute;
            top: 0;
            left: 50%;
            width: 4px;
            height: 100%;
            background: white;
            cursor: ew-resize;
            transform: translateX(-50%);
            z-index: 10;
            box-shadow: 0 0 5px rgba(0,0,0,0.3);
        }

        .slider::before {
            content: "◀";
            position: absolute;
            top: 50%;
            left: -25px;
            transform: translateY(-50%);
            font-size: 20px;
            color: white;
            background: rgba(0,0,0,0.6);
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            pointer-events: none;
        }

        .slider::after {
            content: "▶";
            position: absolute;
            top: 50%;
            right: -25px;
            transform: translateY(-50%);
            font-size: 20px;
            color: white;
            background: rgba(0,0,0,0.6);
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            pointer-events: none;
        }

        /* Подписи */
        .label {
            position: absolute;
            bottom: 20px;
            padding: 6px 12px;
            background: rgba(0,0,0,0.7);
            color: white;
            font-size: 14px;
            border-radius: 4px;
            font-weight: bold;
            z-index: 5;
            pointer-events: none;
        }

        .label-before {
            left: 20px;
        }

        .label-after {
            right: 20px;
        }

        /* Информация */
        .info {
            margin-top: 20px;
            text-align: center;
            color: #666;
            font-size: 14px;
        }

/* ===== Кнопка "Наверх" ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #71979c;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn:hover {
    background-color: #5d8287;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn:active {
    transform: translateY(0);
}

/* Для SVG-иконки, если используете */
.scroll-top-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    #cookie_note {
        right: unset;
        left: 5%;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    #cookie_note a {
    margin-right: 0px;
}
    #cookie_note p {
    font-size: 14px;
    }
        .cookie_accept {
        padding: 4px 10px !important;
        margin-top: 10px;
    }
                .faq-toggle {
                    padding: 1rem 0;
                    font-size: 1rem;
                }
                .faq-answer-content {
                    font-size: 0.95rem;
                }

	.grid5, .grid6 {
    grid-template-columns: repeat(1, 1fr);
    }

            .slider::before,
            .slider::after {
                width: 25px;
                height: 25px;
                font-size: 16px;
            }
            
            .slider::before {
                left: -20px;
            }
            
            .slider::after {
                right: -20px;
            }
            
            .label {
                font-size: 12px;
                padding: 4px 8px;
            }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .scroll-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

.zamer_background {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 10;
}

#close_zamer
{
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #fff;
    line-height: 1;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.zamer_window
{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 999;
    border-radius: 10px;
    padding: 30px;
}

input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    width: 100%;
    border-radius: 50px;
    margin-bottom: 10px;
    font-size: 15px;
    border: none;
    background: #f6f6f6;
}

.hero {
	background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero::after {
	content: "";
	display: block;    
	width: 100%;
	height: 100%;    
	position: absolute;
	top: 0;      
	left: 0;  
    background-color: #1f273a;
    opacity: 0.75;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.hero .container {
	padding-top: 310px;
    z-index: 1;
    position: relative;
}

.page-template-page-main .hero_contacts {
    margin-top: 140px;    
}

.hero_contacts {
	background-color: #71979c;
    padding: 35px 35px 35px 35px;
    color: #fff;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
    border-radius: 20px 20px 0px 0px;
    -webkit-box-shadow: 0px -4px 12px 0px rgba(0, 0, 0, 0.33);
	-moz-box-shadow: 0px -4px 12px 0px rgba(0, 0, 0, 0.33);
	box-shadow: 0px -4px 12px 0px rgba(0, 0, 0, 0.33);
}

.hero h1 {
    color: #fff;
    font-size: 54px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero_contacts h5, .hero_contacts a {
	color: #fff;
}

.line_before:before {
	content: '';
    background: #71979c80;
    width: 50px;
    height: 4px;
    display: block;
    margin-bottom: 30px;
}

.hero_contacts a {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
	display: flex;
    flex-wrap: wrap;
}

.col-left {
	width: 66.666%;
}

.col-right {
	width: 33.333%;
}

.main {
	background: #f9f9f9;
}

.back_white {
	background: #fff;
}

.back_grey {
	background: #F5F5F5;
}

.back_blue {
	background: #71979C;
}

.back_blue h2 {
	color: #fff;
}

.kontakty-form {
	    padding: 60px 35px 30px;
            -webkit-box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
    box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.11);
    border-radius: 0px 0px 20px 20px;
}

.contact-block {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-item {
	display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon, .single_sochial {
	display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    background: #71979c;
    border-radius: 50px;
}

.contact-item-text, .contact-item-text a {
    font-weight: bold;
    font-size: 15px;
    color: #404e5c;
}

.contact-icon svg, .single_sochial svg {
    height: 23px;
    width: 23px;
    fill: #fff;
}

.contact-block-title {
    margin-top: 100px;
    margin-bottom: 27px;
}

.mb20 {
	margin-bottom: 20px;
}

.site-footer {
	background: #162029;
    color: #fff;
    position: relative;
    border-radius: 30px 30px 0px 0px;
}

.col-25 {
	width: 25%;
}

.col-footer {
	width: 50%;
}

.footer-top {
	 padding: 40px 0px;
}

.footer-phone {
	display: flex;
    flex-direction: column;
}

.footer-phone a {
	font-size: 24px;
    font-weight: 700;
}

.site-footer ul li a, .footer-bottom a {
    color: #767b7f;
    font-size: 14px;
    border-bottom: 1px #767b7f3b solid;
    text-transform: none;
}

.footer-details {
	font-size: 14px;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://mydomcompany.ru/wp-content/uploads/2026/05/10-optimized.webp);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
    border-radius: 30px 30px 0px 0px;
}

.fb-row {
    display: flex;
    justify-content: space-between;
    color: #767b7f;
    font-size: 13px;
    padding: 15px 0px;
}

.footer-title {
	text-transform: uppercase;
    font-weight: 800;
    border-left: 3px #fff solid;
    padding-left: 15px;
    line-height: 1;
    color: #fff;
    margin-bottom: 15px;
}

.footer-logo {
	margin-bottom: 15px;
}

.footer-logo img {
	    width: 150px;
}

.footer-button .outline_button {
	border: 1px #767b7f3b solid;
    padding: 11px 20px;
}

.footer-button {
	display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-single_sochial {
	width: 40px;
    height: 40px;
    display: inline-flex;
    color: #fff;
    border: 1px #767b7f3b solid;
    border-radius: 500px;
    padding: 10px;
}

.footer-single_sochial svg {
	fill: #fff;
}

.right {
	text-align: right;
}

.reg_button, .wpcf7-submit {
    cursor: pointer;
    display: inline-block !important;
    padding: 14px 40px !important;
    border-radius: 50px !important;
    border: 2px #71979c solid !important;
    background-color: #71979c !important;
    line-height: 1 !important;
    color: #fff !important;
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.15);
}

.reg_button:hover {
	color: #fff;
}

.outline_button {
    cursor: pointer;
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    border: 2px #fff solid;
    line-height: 1;
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.15);
}

.outline_blue {
    cursor: pointer;
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    border: 2px #71979c solid;
    color: #71979c;
    line-height: 1;
}

.buttons_holder {
	display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 30px;
}

@media (max-width: 767px) {
    .footer-top .row {
        gap: 35px;
    }
    .footer-bottom .fb-row {
            flex-direction: column;
    }
    .hero h1 {
        color: #fff;
        font-size: 24px;
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: 1px;
    }
    .buttons_holder {
        flex-direction: column;
        gap: 15px;
    }
    .col-25 {
       width: 100%; 
    }
    .hero .container {
		padding-top: 70px;
    }
    .container {
    	margin-left: 30px;
        margin-right: 30px;
    }
    .contact-block {
    	grid-template-columns: repeat(1, 1fr);
    }
    .hero_contacts {
    	margin-top: 30px;
    }
    .col-left, .col-right, .col-footer {
        width: 100%;
        text-align: center;
    }
    .kontakty-form {
    	text-align: left;
    }
    .steps-grid {
    grid-template-columns: repeat(1, 1fr);
    }
    .steps-before-grid {
    display: none;
    }
    .col50 {
    	width: 100%;
    }
    .mob-reverse {
    	flex-direction: column-reverse;
        padding-bottom: 0px;
    }
    .sliv-about {
    margin-top: 0px;
    margin-right: 0px;
    }
    .section_col_text {
    margin-left: 0px;
    }
                .toggle-header {
                padding: 14px 18px;
            }
            .toggle-content-inner {
                padding: 16px 18px 18px 32px;
            }
            .toggle-title {
                font-size: 0.95rem;
            }
                        .slider-wrapper {
                padding: 16px 12px 20px;
            }
            .swiper-slide img {
                max-height: 380px;
            }
            .swiper-button-next,
            .swiper-button-prev {
                width: 38px;
                height: 38px;
            }
            .swiper-button-next:after,
            .swiper-button-prev:after {
                font-size: 18px;
            }
}