/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Template: blocksy
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Tags: accessibility-ready,blog,block-patterns,e-commerce,wide-blocks,block-styles,grid-layout,one-column,two-columns,three-columns,four-columns,right-sidebar,left-sidebar,translation-ready,custom-colors,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments
Version: 2.1.27.1770430312
Updated: 2026-02-07 02:11:52

*/

/* Уменьшаем ширину выпадающего меню только для переключателя языков Polylang */
/* Находим контейнер переключателя языка и меняем его внутренние настройки */
[data-id="language-switcher"], 
.ct-language-switcher {
    /* Устанавливаем ширину выпадающего блока через переменную темы */
    --dropdown-width: 60px !important; 
}

/* Убираем минимальную ширину, которую Blocksy ставит всем подменю */
[data-id="language-switcher"] .sub-menu, 
.ct-language-switcher .sub-menu {
    min-width: 0 !important; /* Убираем стандартные 200px */
    width: 60px !important;   /* Задаем нашу ширину */
    overflow: hidden !important; /* Чтобы ничего не вылазило */
}

/* Центрируем флаги внутри каждой строки */
[data-id="language-switcher"] .sub-menu li a, 
.ct-language-switcher .sub-menu li a {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    justify-content: center !important;
    min-height: 40px !important; /* Высота строки меню */
}

/* Уменьшаем отступ между иконкой флага и границами, если нужно */
[data-id="language-switcher"] .sub-menu li img,
.ct-language-switcher .sub-menu li img {
    margin: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-block-end: 0;
}
:root :where(.is-layout-flow) > * {
  margin-block-start: 0;
  margin-block-end: 15px;
}

 /* ===================================
   Blocksy Theme Style Variables
   =================================== */
:root {
    --theme-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --theme-heading-font: inherit;
    --theme-body-color: #2d3748;
    --theme-heading-color: #1a202c;
    --theme-link-color: #B31119;
    --theme-link-hover-color: #970008;
    --theme-border-color: #e2e8f0;
    --theme-background: #ffffff;
    --theme-container-width: 1240px;
    --theme-container-padding: 15px;
    --theme-section-spacing: 60px;
    --theme-grid-gap: 30px;
}

/* Изменяем цвет ссылки в кастомном типе записей news */
.single-news .entry-content a, 
.archive-news .entry-content a {
    color: var(--theme-accent-color); /* Используем переменную цвета из Blocksy */
}

.single-news .entry-content a:hover,
.archive-news .entry-content a:hover {
    color: var(--theme-accent-color-hover);
}

/* ===================================
   Reset & Base Styles
   =================================== */


img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Blocksy Container System
   =================================== */
.ct-container {
    width: 100%;
    padding-left: var(--theme-container-padding);
    padding-right: var(--theme-container-padding);
}

.ct-container-inner {
    max-width: var(--theme-container-width);
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    width: 100%;
    margin-bottom: var(--theme-section-spacing);
}

.hero-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    width: 100%;
}

.hero-title {
    font-family: var(--theme-heading-font);
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 575px;
    
}

/* ===================================
   Services Grid Section
   =================================== */
.services-section {
    margin-bottom: var(--theme-section-spacing);
}

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

.service-card {
    background-color: #d1d5db;
    aspect-ratio: 3/2;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===================================
   Services Grid Section
   =================================== */
.services-section {
    margin-bottom: var(--theme-section-spacing);
}

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

.service-card {
    background-color: #ffffff;
    width:373px;
    height:184px;
    aspect-ratio: 3/2;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===================================
   About Section
   =================================== */
/* .about-section {
    padding: var(--theme-section-spacing) 0;
} */

.about-section {
    padding-bottom: 100px;
}

.section-title {
    font-family: var(--theme-heading-font);
    color: var(--theme-heading-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.3;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.about-image {
    
    aspect-ratio: 4/5;
    border-radius: 4px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-intro {
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-intro strong {
    color: var(--theme-heading-color);
    font-weight: 600;
}

.about-text p {
    margin: 0;
    line-height: 1.8;
    color: var(--theme-body-color);
}

.about-cta {
    margin-top: 10px;
}

/* ===================================
   Buttons (Blocksy Style)
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #B31119;
    color: #ffffff;
}

.btn-primary:hover {
    color: #ffffff;
    background-color: #970008;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ===================================
   News Section
   =================================== */
.news-section {
    padding: var(--theme-section-spacing) 0;
    background-color: #fafafa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all {
    color: var(--theme-link-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--theme-link-hover-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--theme-grid-gap);
}

.news-card {
    background-color: #d1d5db;
    aspect-ratio: 3/4;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-item {
    background: #ffffff;
    border: 1px solid var(--theme-border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 25px 20px;
}

.news-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    line-height: 1.2;
    padding-bottom: 15px;
}

.date-day {
    font-size: 16px;
    font-weight: 500;
    color: #7e7e7e;
}

.date-year {
    font-size: 1.25rem;
    font-weight: 600;
    color: #718096;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a202c;
    margin: 0;
}

.news-item:hover .news-title {
    color: #970008;
}

/* ===================================
   services page
   =================================== */

   .entry-header_services {
   margin-bottom: 10px;
   }
   .entry-header_services h1{
    font-size: 30px;
    font-weight: 700;
    color: var(--theme-heading-color);}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet (iPad) */
@media (max-width: 1024px) {
    :root {
        --theme-section-spacing: 50px;
        --theme-grid-gap: 25px;
    }
    
    .hero-image {
        min-height: 400px;
    }
    
    .hero-image img {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --theme-section-spacing: 40px;
        --theme-grid-gap: 20px;
    }
    
    .hero-image {
        min-height: 350px;
    }
    
    .hero-image img {
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        gap: 15px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --theme-container-padding: 20px;
    }
    
    .hero-image {
        min-height: 300px;
    }
    
    .hero-image img {
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        font-size: 1rem;
    }
}


/* teisas actas page */
.law-section {
        font-family: Arial, sans-serif;
    }

    .law-section .header {
        background-color: #e8e8e8;
        padding: 30px;
        margin-bottom: 20px;
    }

    .law-section .header h1 {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #000;
        margin: 0 0 10px 0;
    }

    .law-section .header p {
        font-size: 18px;
        color: #666;
        margin: 0;
    }

    .law-section .sections-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .law-section .section-card {
        background-color: #f0f0f0;
        padding: 30px;
        min-height: 180px;
    }

    .law-section .section-card h2 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 15px;
        color: #000;
    }

    .law-section .section-card p {
        font-size: 16px;
        color: #000;
        margin: 0;
    }

    @media (max-width: 768px) {
        .law-section .sections-container {
            grid-template-columns: 1fr;
        }
    }

   /*greed block*/
   .legal-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-columns-gap, 20px);
    margin-bottom: var(--content-spacing, 40px);
}

.category-card {
    background: var(--theme-palette-color-8, white);
    border: 1px solid var(--theme-border-color, #e0e0e0);
    padding: 16px 35px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    min-height: 200px;
}

.category-card:hover {
    box-shadow: var(--theme-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.1));
    transform: translateY(-2px);
    border-color: #c4c4c4;
}

.icon {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-title {
    font-size: 27px;
    font-weight: 400;
    color: var(--theme-text-color, #333);
}

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

@media (max-width: 768px) {
    .legal-categories {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 30px 20px;
        min-height: 150px;
    }
}

/*Contact page*/

.contact-section {
    padding: 60px 0;

}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: baseline;
    gap: 20px;
}

.info-label {
    font-size: 18px;
    color: #000;
    font-weight: 400;
}

.info-value {
    /*max-width: 180px;*/
    font-size: 18px;
    color: #c41e3a;
    font-weight: 500;
    text-decoration: none;
}

.info-value:hover {
    text-decoration: underline;
}

.info-note {
    margin-top: 20px;
}

.info-note p {
    margin: 5px 0;
    font-size: 14px;
    color: #000;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.form-row {
    margin-bottom: 15px;
}
.form-row textarea{
    min-width: 100% !important;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #c41e3a;
    background: white;
}

.form-textarea {
    resize: vertical;
}

.btn-submit {
    background: #c41e3a;
    color: white;
    border: none;
    padding: 15px 60px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #a01829;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
}

@media (max-width: 999px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .info-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .info-value {
        font-size: 16px;
    }
    
    .info-label {
        font-size: 16px;
    }
}

/* popup contact form*/

.ct-contact-form {
  width: 100%;
  max-width: 540px;
}

.ct-form-field {
  margin-bottom: 16px;
}

.ct-input,
.ct-textarea {
  display: block;
  width: 100%;
  background: #f3f4f6;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #111827;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
  resize: none;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: #9ca3af;
}

.ct-input:focus,
.ct-textarea:focus {
  border-color: #b91c1c;
  background: #fff;
}

.ct-contact-form.ct-contact-form textarea,
.ct-contact-form textarea.ct-textarea {
  --theme-form-field-height: 120px;
  min-height: 120px;
}

.ct-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: #b91c1c;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
  margin-top: 8px;
}

.ct-submit-btn:hover {
  background: #991b1b;
}

.ct-submit-btn:active {
  transform: scale(0.98);
}


/* ind-template-2*/

:root {
  --cons-red:       #c0392b;
  --cons-red-dark:  #a93226;
  --cons-text:      #1a1a1a;
  --cons-muted:     #555555;
  --cons-border:    #d0d0d0;
  --cons-bg:        #ffffff;
}

/* ── СЕКЦИЯ ── */
.consultation-section {
  padding: 60px 0;
  background: #fafbfc;
}

/* ── СЕТКА ── */
.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── ЛЕВАЯ КОЛОНКА ── */
.consultation-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cons-text);
  margin-bottom: 24px;
  text-align: left;
}

.consultation-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 32px;
  text-align: justify;
}

.consultation-contact-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cons-text);
  margin-bottom: 4px;
}

.consultation-phone {
  display: inline-block;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--cons-red);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.consultation-phone:hover {
  color: var(--cons-red-dark);
}

/* ── ПРАВАЯ КОЛОНКА ── */
.consultation-right {
  background: var(--cons-bg);
  border: 1px solid #e0e0e0;
  padding: 28px 28px 30px;
  
}

.consultation-notice {
  font-size: 0.78rem;
  color: var(--cons-red);
  font-weight: 600;
  text-align: center;
}

.consultation-form-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: var(--cons-text);
  margin-bottom: 5px;
}

/* ── ПРАЙС ── */
.consultation-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.consultation-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  text-align: center;
}

.consultation-plan:last-child {
  border-right: none;
}

.plan-duration {
  font-size: 0.75rem;
  color: var(--cons-muted);
  line-height: 1.4;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cons-text);
  margin-bottom: 10px;
}

.plan-btn {
  display: block;
  width: 100%;
  background: var(--cons-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 9px 6px;
  text-decoration: none;
  line-height: 1.3;
  transition: background 0.2s;
}

.plan-btn:hover {
  background: var(--cons-red-dark);
  color: #fff;
}

/* ── ПОЛЯ ФОРМЫ ── */
.consultation-form * {
  box-sizing: border-box;
}
.consultation-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 25px;
}

.consultation-form .form-field {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cons-border);
  font-size: 0.9rem;
  color: var(--cons-text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.consultation-form .form-field:focus {
  border-color: var(--cons-red);
}

.consultation-form .form-field::placeholder {
  color: #868686;
}

.consultation-form .form-field--full {
  display: block;
  margin-bottom: 25px;
}

.consultation-form .form-field--textarea {
  resize: vertical;
  min-height: 90px;
  width: 100% !important;
  box-sizing: border-box;
}
.consultation-form .form-field--textarea {
  max-width: 100% !important;
}

/* ── РАДИО ── */
.form-radio-group {
    margin-top: 40px;
  margin-bottom: 14px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--cons-text);
  cursor: pointer;
}

.form-radio input[type="radio"] {
  accent-color: var(--cons-red);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}

/* ── ФАЙЛ ── */
.form-file-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--cons-border);
  margin-bottom: 14px;
  overflow: hidden;
}

.form-file-btn {
  background: #e8e8e8;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: #444;
  cursor: pointer;
  border-right: 1px solid var(--cons-border);
  white-space: nowrap;
  user-select: none;
}

.form-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-file-name {
  padding: 9px 12px;
  font-size: 0.85rem;
  color: #999;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ── ЧЕКБОКСЫ ── */
.form-checkbox-group {
  margin-bottom: 12px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.8rem;
  color: var(--cons-text);
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox span {
  flex: 1;
  min-width: 0;
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--cons-red);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--cons-red);
  text-decoration: none;
}

.form-checkbox a:hover {
  text-decoration: underline;
}

/* ── УСЛОВИЯ ── */
.form-terms {
  font-size: 15px;
  color: var(--cons-text);
  margin-bottom: 16px;
  line-height: 1.5;
}

.form-terms a {
  color: var(--cons-red);
  text-decoration: none;
}

.form-terms a:hover {
  text-decoration: underline;
}

/* ── КНОПКА ОТПРАВКИ ── */
.form-submit {
  display: block;
  width: 100%;
  background: var(--cons-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--cons-red-dark);
}

/* ── CF7 OVERRIDE (если используется Contact Form 7) ── */
.consultation-right .wpcf7-form .wpcf7-text,
.consultation-right .wpcf7-form .wpcf7-email,
.consultation-right .wpcf7-form .wpcf7-tel,
.consultation-right .wpcf7-form .wpcf7-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cons-border);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.consultation-right .wpcf7-form .wpcf7-submit {
  display: block;
  width: 100%;
  background: var(--cons-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.consultation-right .wpcf7-form .wpcf7-submit:hover {
  background: var(--cons-red-dark);
}

/* ── АДАПТИВ ── */
@media (max-width: 900px) {
  .consultation-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .consultation-section {
    padding: 40px 0;
  }

  .consultation-form .form-row {
    grid-template-columns: 1fr;
  }

  .plan-price {
    font-size: 0.95rem;
  }

  .plan-btn {
    font-size: 0.7rem;
  }
}


/* === ФИКС ОБЁРТОК CF7 === */

/* form-row: делаем span внутри flex-элементами */
.form-row {
    display: flex;
    gap: 16px;
}

.form-row .wpcf7-form-control-wrap {
    flex: 1;
    min-width: 0;
}

.form-row .wpcf7-form-control-wrap .form-field {
    width: 100%;
    box-sizing: border-box;
}

/* Полноширинные поля */
.form-field--full {
    width: 100%;
    box-sizing: border-box;
    display: block;
}

/* Убираем лишний margin CF7 вокруг обёрток */
.wpcf7-form-control-wrap {
    display: block;
    margin: 0;
}

/* === РАДИОКНОПКИ === */
/* CF7 генерирует: span.wpcf7-radio > span.wpcf7-list-item > label > input + span.wpcf7-list-item-label */

.form-radio-group .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.form-radio-group .wpcf7-list-item {
    display: flex;
    align-items: center;
    margin: 0;
}

.form-radio-group .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* === ЧЕКБОКСЫ === */
/* CF7: span.wpcf7-checkbox > span.wpcf7-list-item > label > input + span.wpcf7-list-item-label */

.form-checkbox-group .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    margin: 0 0 12px 0;
}

.form-checkbox-group .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox-group .wpcf7-list-item input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

/* === ФАЙЛОВОЕ ПОЛЕ === */
.form-file-row .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* === УБИРАЕМ КРАСНЫЕ ГРАНИЦЫ ОШИБОК CF7 (опционально) === */
.wpcf7-not-valid {
    border-color: #c0392b !important;
}

.wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}


/*FAQ-page-template*/



        /* ── FAQ Section ── */
        .faq-section {
            padding: 80px 0;
        }

        .faq-section__inner {
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 0 80px;
            align-items: start;
        }

        /* ── Section title (left column) ── */
        .faq-section__heading {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--theme-text-color);
            letter-spacing: -0.02em;
            /* padding-top: 24px; */
            position: sticky;
            top: 40px;
        }

        /* ── FAQ list (right column) ── */
        .faq-list {
            list-style: none;
        }

        .faq-list__item {
            border-top: 1px solid var(--theme-border-color);
            padding: 24px 0;
        }

        .faq-list__item:last-of-type {
            border-bottom: 1px solid var(--theme-border-color);
        }

        .faq-list__row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0 40px;
            align-items: start;
        }

        /* Question */
        .faq-list__question {
            font-size: 1rem;
            font-weight: 700;
            color: var(--theme-text-color);
            line-height: 1.5;
        }

        /* Answer */
        .faq-list__answer {
            font-size: 0.9375rem;
            color: var(--theme-muted-color);
            line-height: 1.7;
        }

        /* ── "Show more" button ── */
        .faq-section__footer {
            margin-top: 48px;
            display: flex;
            justify-content: center;
        }

        .faq-btn-more {
            display: inline-block;
            padding: 16px 80px;
            background-color: var(--theme-palette-color-1);
            color: #ffffff;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s ease;
            font-family: var(--theme-font);
        }

        .faq-btn-more:hover {
            background-color: var(--theme-palette-color-2);
        }

        /* ── Responsive ── */
        @media (max-width: 900px) {
            .faq-section__inner {
                grid-template-columns: 1fr;
                gap: 32px 0;
            }
            .faq-section__heading {
                position: static;
            }
            .faq-list__row {
                grid-template-columns: 1fr;
                gap: 10px 0;
            }
        }

        @media (max-width: 600px) {
            .ct-container { padding: 0 20px; }
            .faq-section { padding: 48px 0; }
            .faq-btn-more { padding: 14px 40px; width: 100%; text-align: center; }
        }

        /* ── Секция FAQ ── */
.faq-section {
    padding: 60px 0;
}

/* ── Заголовок FAQ (сверху, на всю ширину) ── */
.faq-section__heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text-color);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

/* ── Список FAQ (верхняя граница общая) ── */
.faq-list {
    list-style: none;
    border-top: 1px solid var(--theme-border-color);
    padding: 0px;
}

/* ── Элемент списка ── */
.faq-list__item {
    border-bottom: 1px solid var(--theme-border-color);
    padding: 28px 0;
}

/* ── Строка: вопрос + ответ в двух колонках ── */
.faq-list__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
    align-items: start;
}

/* ── Вопрос ── */
.faq-list__question {
    font-size: 1rem;
    font-weight: 700;
    color: var(--theme-text-color);
    line-height: 1.5;
}

/* ── Ответ ── */
.faq-list__answer {
    font-size: 0.9375rem;
    color: var(--theme-muted-color);
    line-height: 1.7;
}

/* ── Футер с кнопкой ── */
.faq-section__footer {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

/* ── Кнопка "показать ещё" ── */
.faq-btn-more {
    display: inline-block;
    padding: 16px 80px;
    background-color: var(--theme-palette-color-1);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: var(--theme-font);
}

.faq-btn-more:hover {
    color: #ffffff;
    background-color: var(--theme-palette-color-2);
}

/* ── Адаптив: одна колонка на планшете ── */
@media (max-width: 900px) {
    .faq-list__row {
        grid-template-columns: 1fr;
        gap: 10px 0;
    }
}

/* ── Адаптив: мобильный ── */
@media (max-width: 600px) {
    .faq-section { padding: 40px 0; }
    .faq-section__heading { font-size: 1.5rem; }
    .faq-btn-more { padding: 14px 40px; width: 100%; text-align: center; }
}