.two-columns-container {
    background-color: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-main, transparent);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    padding: 25px;
    margin: 20px auto;
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    box-sizing: border-box;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

iframe {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.column {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.block {
    background-color: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-main, transparent);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.25s ease, border-color 0.25s ease;
}

.block:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.round-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-secondary, #eee);
    flex-shrink: 0;
    border: 3px solid #03b6cb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}        

.text-content {
    flex-grow: 1;
}

.text-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-muted, #333);
}

.text-line span a {
    color: var(--text-main, #333);
    text-decoration: none;
    transition: color 0.2s ease;
}

.text-line span a:hover {
    color: var(--accent-color, #03b6cb);
}

.name {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-main, #171b19);
}

.icon {
    width: 16px;
    text-align: center;
    color: #03b6cb;
}

.whatsapp-contact {
    display: inline-flex;
    margin-top: 16px;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-secondary, #f5f5f5);
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.whatsapp-contact:hover {
    background-color: #e9e9e9;
    transform: translateY(-2px);
}

.whatsapp-icon {
    color: #25D366;
    font-size: 20px;
}

.phone-number {
    font-weight: bold;
    color: var(--text-main, #333);
}

.messenger-row {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
    transition: all 0.25s ease;
}

.messenger-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

.messenger-btn.whatsapp i {
    color: #25D366;
    font-size: 22px;
}

.two-columns-container .telegram-icon {
    background: none;
    padding: 0;
    border-radius: 0;
    color: #229ED9;
    font-size: 22px;
}

.messenger-btn.max {
    background: transparent; 
    box-shadow: none; 
    padding: 0; 
}
.max-logo {
    width: 24px;
    height: 24px;
    display: block;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

/* Отзывы */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main, #333);
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-main, transparent);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.testimonial-slide {
    position: relative;
    width: 100%;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 20px 60px;
    text-align: center;
    transition: opacity 0.5s ease;
    opacity: 0;
    box-sizing: border-box;
}

.testimonial-slide.active {
    display: flex;
    opacity: 1;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-surface, #fff);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.client-name {
    font-size: 1.2rem;
    color: var(--text-main, #333);
    margin-bottom: 5px;
    font-weight: 700;
}

.client-position {
    color: var(--text-caption, #777);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.client-testimonial {
    color: var(--text-muted, #555);
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 0 10px;
}

.slider-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.slider-dot {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: var(--text-main, #555);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 1.2rem;
    color: #333;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    border: none;
}

.slider-arrow.prev { left: 5px; }
.slider-arrow.next { right: 5px; }

/* ==========================================================
   ПОДДЕРЖКА ТЁМНОЙ ТЕМЫ
========================================================== */
[data-theme="dark"] .two-columns-container,
[data-theme="dark"] .two-columns-container .block,
[data-theme="dark"] .testimonial-slider {
    background-color: var(--bg-surface, #151a1e) !important;
    border-color: var(--border-main, #232d36) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .round-photo {
    border-color: var(--accent-color, #0295a8);
}

[data-theme="dark"] .client-image {
    border-color: var(--border-main, #232d36);
}

[data-theme="dark"] .text-line span a {
    color: var(--text-muted, #cbd5e1) !important;
}

[data-theme="dark"] .text-line span a:hover {
    color: var(--accent-color, #38bdf8) !important;
}

[data-theme="dark"] .slider-arrow {
    background: rgba(30, 41, 59, 0.85);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

[data-theme="dark"] .slider-dot {
    background: #334155;
}
[data-theme="dark"] .slider-dot.active {
    background: var(--accent-color, #38bdf8);
}

@media (max-width: 768px) {
    .testimonials-title { font-size: 1.3rem; margin-bottom: 15px; }
    .testimonial-slider { border-radius: 8px; }
    .testimonial-slide { padding: 30px 10px 15px; justify-content: flex-start; }
    .client-image { width: 70px; height: 70px; margin-bottom: 10px; }
    .client-name { font-size: 1.1rem; }
    .client-position { font-size: 0.8rem; margin-bottom: 10px; }
    .client-testimonial { font-size: 0.9rem; line-height: 1.5; }
    .slider-arrow { width: 25px; height: 25px; font-size: 1rem; }
}     

@media (max-width: 600px) {
    .column { min-width: 100%; }
    .messenger-row { justify-content: flex-start; }
}

@media (max-width: 480px) {
    .block { display: block; text-align: center; }
    .testimonial-slide { padding-top: 40px; }
    .client-testimonial { font-size: 0.85rem; padding: 0 5px; }
    .slider-nav { bottom: 5px; }
}

@media (max-width: 360px) {
    .client-testimonial { font-size: 0.8rem; }
}