/*
 Theme Name:   Maxcare Child
 Description:  Дочерняя тема для темы Maxcare
 Author:       Ваше имя
 Template:     maxcare
 Version:      1.1.0 (объединённая, скобки исправлены)
*/

/* ===== Принудительная загрузка стилей ===== */
html body .hero,
html body .stats-bar,
html body .section,
html body .services-nav,
html body .comparison-card,
html body .process-step,
html body .pricing-table,
html body .content-block,
html body .faq-item,
html body .cta-section,
html body .related-link {
    box-sizing: border-box;
}

/* ===== CSS Variables ===== */
:root {
    --primary-blue: #1565c0;
    --primary-dark: #0d47a1;
    --primary-light: #1e88e5;
    --accent-blue: #42a5f5;
    --sky-blue: #90caf9;
    --pale-blue: #e3f2fd;
    --ice-blue: #f5f9ff;
    --white: #ffffff;
    --green-accent: #43a047;
    --green-dark: #2e7d32;
    --green-light: #66bb6a;
    --green-pale: #e8f5e9;
    --red-accent: #e53935;
    --red-pale: #ffebee;
    --orange-accent: #ff9800;
    --orange-pale: #fff3e0;
    --text-dark: #1a1a2e;
    --text-gray: #546e7a;
    --text-light: #78909c;
    --border-color: #e0e0e0;
    --shadow-soft: 0 4px 20px rgba(21, 101, 192, 0.1);
    --shadow-medium: 0 8px 30px rgba(21, 101, 192, 0.15);
    --shadow-strong: 0 12px 40px rgba(21, 101, 192, 0.2);
    --gradient-main: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--primary-light) 100%);
    --gradient-green: linear-gradient(135deg, var(--green-dark) 0%, var(--green-accent) 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ===== Hero Section ===== */
body .hero {
    background: var(--gradient-hero);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}
body .hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
body .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
body .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.15);
}
body .hero-badge .pulse {
    width: 10px;
    height: 10px;
    background: var(--green-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}
body .hero h1,
body .hero h2 {
    font-size: clamp(32px, 5vw, 50px);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}
body .hero h1 span,
body .hero h2 span {
    color: var(--green-light);
}
body .hero-subtitle {
    font-size: clamp(17px, 2.2vw, 20px);
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 650px;
    line-height: 1.7;
}
body .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}
body .hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}
body .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}
body .btn-primary {
    background: var(--green-accent);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.35);
}
body .btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 160, 71, 0.4);
    color: var(--white);
}
body .btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-soft);
}
body .btn-secondary:hover {
    background: var(--ice-blue);
    transform: translateY(-2px);
    color: var(--primary-blue);
}

/* ===== Container ===== */
body .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Stats Bar ===== */
body .stats-bar {
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
body .stat-item {
    text-align: center;
    padding: 15px;
}
body .stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}
body .stat-number span {
    color: var(--green-accent);
}
body .stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ===== Section Styles ===== */
body .section {
    padding: 50px 0;
}
body .section.section-alt {
    padding: 40px 0;
}
body .section-alt {
    background: var(--ice-blue);
}
body .stats-bar + .section {
    padding-top: 30px;
}
body .section + .section {
    padding-top: 40px;
}
body .section-header {
    text-align: center;
    margin-bottom: 50px;
}
body .section-label {
    display: inline-block;
    background: var(--pale-blue);
    color: var(--primary-blue);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
body .section-label.green {
    background: var(--green-pale);
    color: var(--green-dark);
}
body .section-label.red {
    background: var(--red-pale);
    color: var(--red-accent);
}
body .section-title {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
body .section-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Danger Alert ===== */
body .danger-alert {
    background: linear-gradient(135deg, var(--red-accent) 0%, #c62828 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}
body .danger-alert::before {
    content: '⚠️';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px;
    opacity: 0.1;
}
body .danger-content {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--white);
    position: relative;
    z-index: 2;
}
body .danger-icon {
    font-size: 60px;
    flex-shrink: 0;
}
body .danger-text h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .danger-text p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===== Services Navigation ===== */
body .services-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
}
body .services-nav-header {
    background: var(--gradient-main);
    padding: 25px 30px;
    color: var(--white);
}
body .services-nav-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .services-nav-header p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.7;
}
body .services-nav-body {
    padding: 25px;
}
body .services-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
body .service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--ice-blue);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}
body .service-link:hover {
    background: var(--pale-blue);
    border-color: var(--accent-blue);
    color: var(--primary-blue);
    transform: translateX(5px);
}
body .service-link .icon {
    font-size: 24px;
    flex-shrink: 0;
}
body .service-link .arrow {
    margin-left: auto;
    color: var(--accent-blue);
    font-size: 18px;
    transition: transform 0.3s ease;
}
body .service-link:hover .arrow {
    transform: translateX(3px);
}
body .service-link.popular {
    background: linear-gradient(135deg, rgba(67, 160, 71, 0.1) 0%, rgba(67, 160, 71, 0.03) 100%);
    border-color: rgba(67, 160, 71, 0.3);
}
body .service-link.popular:hover {
    border-color: var(--green-accent);
}
body .service-badge {
    background: var(--green-accent);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 5px;
}

/* ===== Comparison Cards ===== */
body .comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
body .comparison-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}
body .comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}
body .comparison-card-header {
    padding: 25px 30px;
    color: var(--white);
}
body .comparison-card-header.home {
    background: var(--gradient-main);
}
body .comparison-card-header.clinic {
    background: var(--gradient-green);
}
body .comparison-card-header h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .comparison-card-header p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.7;
}
body .comparison-card-body {
    padding: 25px 30px;
}
body .comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
body .comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pale-blue);
    font-size: 15px;
    line-height: 1.7;
}
body .comparison-list li:last-child {
    border-bottom: none;
}
body .comparison-list .icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
body .comparison-price {
    text-align: center;
    padding: 20px;
    background: var(--ice-blue);
    margin: 20px -30px -25px;
}
body .comparison-price .from {
    font-size: 14px;
    color: var(--text-gray);
}
body .comparison-price .amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
}

/* ===== Process Steps (grid вариант) ===== */
body .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
body .process-grid .process-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 0;
}
body .process-grid .process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}
body .process-step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
}
body .process-step-icon {
    font-size: 48px;
    margin-bottom: 15px;
    margin-top: 10px;
}
body .process-grid .process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .process-grid .process-step p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.7;
}
body .process-step .time {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

/* ===== Content Section ===== */
body .content-block {
    max-width: 900px;
    margin: 0 auto;
}
body .content-block h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    margin-bottom: 20px;
    margin-top: 50px;
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
body .content-block h2:first-child {
    margin-top: 0;
}
body .content-block h3 {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: 15px;
    margin-top: 35px;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
body .content-block p {
    margin-bottom: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}
body .content-block strong {
    color: var(--text-dark);
}
body .content-block ul {
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}
body .content-block ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-gray);
    line-height: 1.7;
}
body .content-block ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green-accent);
    font-weight: bold;
}
body .content-block a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}
body .content-block a:hover {
    color: var(--primary-light);
}

/* ===== Highlight Box ===== */
body .highlight-box {
    background: var(--ice-blue);
    border-left: 4px solid var(--primary-blue);
    padding: 25px 30px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 30px 0;
}
body .highlight-box.green,
body .highlight-box.success {
    background: var(--green-pale);
    border-color: var(--green-accent);
}
body .highlight-box.warning {
    background: var(--orange-pale);
    border-color: var(--orange-accent);
}
body .highlight-box.danger {
    background: var(--red-pale);
    border-color: var(--red-accent);
}
body .highlight-box p {
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.7;
}
body .highlight-box strong {
    color: var(--text-dark);
}

/* ===== Symptoms Grid ===== */
body .symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
body .symptom-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--red-accent);
}
body .symptom-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .symptom-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===== Pricing Table ===== */
body .pricing-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}
body .pricing-table-header {
    background: var(--gradient-main);
    padding: 25px 30px;
}
body .pricing-table-header h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .pricing-table-header p {
    color: #ffffff;
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.7;
}
body .pricing-table-body {
    padding: 0;
}
body .pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    border-bottom: 1px solid var(--pale-blue);
    transition: background 0.2s ease;
}
body .pricing-row:last-child {
    border-bottom: none;
}
body .pricing-row:hover {
    background: var(--ice-blue);
}
body .pricing-row.highlight {
    background: rgba(67, 160, 71, 0.08);
}
body .pricing-service {
    font-size: 15px;
    font-weight: 500;
}
body .pricing-service small {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 3px;
}
body .pricing-cost {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    white-space: nowrap;
}
body .pricing-badge {
    display: inline-block;
    background: var(--green-accent);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
}

/* ===== FAQ Section ===== */
body .faq-list {
    max-width: 800px;
    margin: 0 auto;
}
body .faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--pale-blue);
}
body .faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}
body .faq-question:hover {
    color: var(--primary-blue);
}
body .faq-question .icon {
    font-size: 20px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}
body .faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}
body .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
body .faq-item.active .faq-answer {
    max-height: 500px;
}
body .faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== CTA Section ===== */
body .cta-section {
    background: var(--gradient-hero);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
body .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}
body .cta-content h2 {
    font-size: clamp(26px, 4vw, 36px);
    color: var(--white);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .cta-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
body .cta-phones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
body .cta-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    text-decoration: none;
}
body .cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    color: var(--primary-blue);
}
body .cta-phone .icon {
    color: var(--green-accent);
    font-size: 24px;
}
body .cta-address {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Related Services ===== */
body .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}
body .related-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--ice-blue);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--pale-blue);
    text-decoration: none;
}
body .related-link:hover {
    background: var(--pale-blue);
    border-color: var(--accent-blue);
    color: var(--primary-blue);
}
body .related-link .arrow {
    margin-left: auto;
    color: var(--accent-blue);
}

/* ===== Intro Section (2 columns) ===== */
body .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
body .intro-content h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
body .intro-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 15px;
}
body .intro-contacts {
    background: var(--ice-blue);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-blue);
    margin-top: 20px;
}
body .intro-contacts p {
    margin-bottom: 8px;
    font-size: 14px;
}
body .intro-contacts p:last-child {
    margin-bottom: 0;
}
body .intro-contacts a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
body .intro-contacts a:hover {
    color: var(--primary-light);
}

/* ===== Intro Image ===== */
body .intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}
body .intro-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== Intro Warning (старый, не используется на новых страницах) ===== */
body .intro-warning {
    background: linear-gradient(135deg, var(--red-accent) 0%, #c62828 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}
body .intro-warning .warning-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}
body .intro-warning h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 15px;
    margin-top: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
body .intro-warning p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
}

/* ===== Full Width Warning Block (с фиксом белого текста) ===== */
body .intro-warning-full {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--red-accent) 0%, #c62828 100%);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    box-shadow: var(--shadow-medium);
    margin-top: 30px;
}
body .intro-warning-full,
body .intro-warning-full .warning-content,
body .intro-warning-full .warning-content h3,
body .intro-warning-full .warning-content p {
    color: #ffffff;
}
body .intro-warning-full .warning-icon {
    font-size: 48px;
    flex-shrink: 0;
}
body .intro-warning-full .warning-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
body .intro-warning-full .warning-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
}

/* ===== Sidebar Navigation ===== */
body .sidebar-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    position: sticky;
    top: 20px;
}
body .sidebar-cta-top {
    background: var(--gradient-hero);
    padding: 25px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
body .sidebar-cta-top::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
body .sidebar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
}
body .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
body .sidebar-cta-top h3 {
    font-size: 20px;
    color: var(--white);
    margin: 0 0 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .sidebar-cta-top > p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.95;
    color: var(--white);
}
body .sidebar-btn-primary {
    display: block;
    background: var(--green-accent);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
    animation: pulse-button 2s infinite;
}
@keyframes pulse-button {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
body .sidebar-btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 160, 71, 0.5);
    color: var(--white);
}
body .sidebar-features {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    opacity: 0.9;
    text-align: left;
    color: var(--white);
}
body .sidebar-nav-header {
    background: var(--ice-blue);
    padding: 15px 20px;
    border-top: 2px solid var(--pale-blue);
}
body .sidebar-nav-header h3 {
    font-size: 16px;
    margin: 0;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .sidebar-nav-body {
    padding: 15px;
}
body .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--ice-blue);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 8px;
    border-left: 3px solid transparent;
}
body .sidebar-link:last-child {
    margin-bottom: 0;
}
body .sidebar-link:hover {
    background: var(--pale-blue);
    border-left-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateX(3px);
}
body .sidebar-link.active {
    background: var(--pale-blue);
    border-left-color: var(--green-accent);
    color: var(--primary-blue);
    font-weight: 600;
}
body .sidebar-link .icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* ===== Main Services Grid ===== */
body .main-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
body .main-service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}
body .main-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-blue);
}
body .main-service-card.popular {
    border-color: var(--green-accent);
}
body .main-service-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-green);
}
body .main-service-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}
body .main-service-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .main-service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
body .main-service-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--green-accent);
    display: block;
    margin-bottom: 10px;
}
body .main-service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--green-accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===== Services Accordion Grid ===== */
body .services-accordion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
body .services-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
body .service-accordion {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
}
body .service-accordion:hover {
    box-shadow: var(--shadow-medium);
}
body .service-accordion-header {
    width: 100%;
    background: var(--gradient-main);
    color: var(--white);
    padding: 18px 20px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}
body .service-accordion-header:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
}
body .service-accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}
body .service-accordion-title .icon {
    font-size: 22px;
}
body .service-accordion-header .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}
body .service-accordion.active .service-accordion-header .arrow {
    transform: rotate(180deg);
}
body .service-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
body .service-accordion.active .service-accordion-content {
    max-height: 1000px;
}
body .service-accordion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--pale-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}
body .service-accordion-item:last-child {
    border-bottom: none;
}
body .service-accordion-item:hover {
    background: var(--ice-blue);
    padding-left: 25px;
}
body .service-accordion-item .name {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}
body .service-accordion-item:hover .name {
    color: var(--primary-blue);
}
body .service-accordion-item .price {
    font-size: 14px;
    color: var(--green-accent);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 15px;
}

/* ===== Contact Form Wrapper (бело-голубая форма) ===== */
body .contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    max-width: 800px;
    margin: 0 auto;
}
body .contact-form-header {
    text-align: center;
    margin-bottom: 30px;
}
body .contact-form-header h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .contact-form-header p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
}
body .contact-form-wrapper .wpcf7-form {
    display: grid;
    gap: 20px;
}
body .contact-form-wrapper .wpcf7-form-control-wrap {
    display: block;
}
body .contact-form-wrapper input[type="text"],
body .contact-form-wrapper input[type="email"],
body .contact-form-wrapper input[type="tel"],
body .contact-form-wrapper textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}
body .contact-form-wrapper input[type="text"]:focus,
body .contact-form-wrapper input[type="email"]:focus,
body .contact-form-wrapper input[type="tel"]:focus,
body .contact-form-wrapper textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}
body .contact-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}
body .contact-form-wrapper input[type="submit"] {
    background: var(--gradient-main);
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}
body .contact-form-wrapper input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
body .contact-form-wrapper .wpcf7-spinner {
    display: none;
}
body .contact-form-wrapper .wpcf7-response-output {
    border: 2px solid var(--green-accent);
    background: var(--green-pale);
    color: var(--green-dark);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    font-size: 14px;
}
body .contact-form-wrapper .wpcf7-not-valid-tip {
    color: var(--red-accent);
    font-size: 13px;
    margin-top: 5px;
}

/* ===== When to Call Section ===== */
body .when-call-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
body .when-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
body .when-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}
body .when-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}
body .when-card:hover::before {
    opacity: 1;
}
body .when-card-icon {
    width: 60px;
    height: 60px;
    background: var(--pale-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}
body .when-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}
body .when-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ===== Services Grid (карточки услуг) ===== */
body .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
body .service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
body .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-blue);
}
body .service-card-header {
    background: var(--gradient-main);
    padding: 25px 30px;
    position: relative;
}
body .service-card-header h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body .service-card-header p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}
body .service-card .service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--green-accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
body .service-card-body {
    padding: 25px 30px;
}
body .service-list {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}
body .service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pale-blue);
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}
body .service-list li:last-child {
    border-bottom: none;
}
body .service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--pale-blue);
}
body .service-price .label {
    font-size: 14px;
    color: var(--text-gray);
}
body .service-price .amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
}

/* ===== Process Timeline (нумерованная вертикальная) ===== */
body .process-timeline {
    position: relative;
    padding-left: 50px;
}
body .process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--green-accent) 100%);
    border-radius: 3px;
}
body .process-timeline .process-step {
    position: relative;
    padding: 25px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--pale-blue);
    text-align: left;
}
body .process-timeline .process-step:last-child {
    margin-bottom: 0;
}
body .process-timeline .process-step::before {
    content: attr(data-step);
    position: absolute;
    left: -50px;
    top: 25px;
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
}
body .process-timeline .process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}
body .process-timeline .process-step h3 .time {
    font-size: 13px;
    font-weight: 600;
    color: var(--green-accent);
    background: rgba(67, 160, 71, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
}
body .process-timeline .process-step p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ===== Benefits Section ===== */
body .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
body .benefit-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--pale-blue);
}
body .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}
body .benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--pale-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    transition: all 0.3s ease;
}
body .benefit-card:hover .benefit-icon {
    background: var(--gradient-main);
    transform: scale(1.1);
}
body .benefit-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}
body .benefit-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* ===== Content Section ===== */
body .content-section {
    padding: 60px 0;
}

/* ============================================================
   АДАПТИВ (медиазапросы) — все корректно закрыты
   ============================================================ */

@media (max-width: 992px) {
    body .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    body .danger-content {
        flex-direction: column;
        text-align: center;
    }
    body .sidebar-nav {
        position: static;
        margin-bottom: 40px;
    }
    body .services-accordion-grid {
        grid-template-columns: 1fr;
    }
    body .main-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    body .process-timeline {
        padding-left: 40px;
    }
    body .process-timeline::before {
        left: 15px;
    }
    body .process-timeline .process-step::before {
        left: -40px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    body .section {
        padding: 40px 0;
    }
    body .hero {
        padding: 40px 0 80px;
    }
    body .hero-features {
        flex-direction: column;
    }
    body .hero-cta {
        flex-direction: column;
    }
    body .hero-cta .btn {
        width: 100%;
    }
    body .stats-bar {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }
    body .comparison-grid {
        grid-template-columns: 1fr;
    }
    body .process-grid {
        grid-template-columns: 1fr;
    }
    body .pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    body .pricing-cost {
        align-self: flex-end;
    }
    body .cta-phone {
        width: 100%;
        justify-content: center;
    }
    body .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    body .intro-warning-full {
        flex-direction: column;
        text-align: center;
    }
    body .services-links {
        grid-template-columns: 1fr;
    }
    body .services-grid {
        grid-template-columns: 1fr;
    }
    body .main-services-grid {
        grid-template-columns: 1fr;
    }
    body .contact-form-wrapper {
        padding: 30px 20px;
    }
    body .main-service-card {
        padding: 25px;
    }
    body .process-timeline {
        padding-left: 35px;
    }
    body .process-timeline::before {
        left: 12px;
        width: 2px;
    }
    body .process-timeline .process-step::before {
        left: -35px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    body .process-timeline .process-step {
        padding: 20px;
    }
    body .process-timeline .process-step h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    body .container {
        padding: 0 15px;
    }
    body .services-nav-header,
    body .services-nav-body {
        padding: 20px;
    }
    body .service-link {
        padding: 14px 16px;
        font-size: 14px;
    }
    body .comparison-card-header,
    body .comparison-card-body {
        padding: 20px;
    }
    body .comparison-price {
        margin: 20px -20px -20px;
    }
    body .contact-form-header h2 {
        font-size: 22px;
    }
    body .main-service-icon {
        font-size: 40px;
    }
    body .when-card,
    body .service-card-body {
        padding: 25px 20px;
    }
    body .service-card-header {
        padding: 20px;
    }
    body .benefit-card {
        padding: 25px 20px;
    }
    body .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

/* ============================================================
   СЕТКА УСЛУГ 3 КОЛОНКИ (services-links-grid)
   Альтернативный grid — используется отдельно от services-links
   ============================================================ */
body .services-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
body .services-links-grid .service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--ice-blue);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
}
body .services-links-grid .service-link:hover {
    background: var(--pale-blue);
    transform: translateY(-2px);
}
body .services-links-grid .service-link .icon {
    font-size: 24px;
    min-width: 32px;
}
body .services-links-grid .service-link .arrow {
    margin-left: auto;
    opacity: 0.5;
}
body .services-links-grid .service-link .service-badge {
    background: var(--green-accent);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    white-space: nowrap;
}
@media (max-width: 768px) {
    body .services-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    body .services-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ШАПКА ГАЛЕРЕИ
   ============================================================ */
body .gallery-header-section {
    padding: 60px 0 40px;
    background: #f8faff;
    border-bottom: 2px solid #e8edf5;
}
body .gallery-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
body .gallery-header-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
body .gallery-header-title {
    font-size: 32px;
    font-weight: 700;
    color: #0a1a3a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}
body .gallery-header-text {
    font-size: 16px;
    line-height: 1.7;
    color: #3d4a5c;
    margin: 0;
}
body .gallery-header-text:last-of-type {
    margin-bottom: 6px;
}
body .gallery-header-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 30px;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 2px solid #e0e7f2;
}
body .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #1a2a4a;
    line-height: 1.5;
}
body .contact-icon {
    font-size: 20px;
    min-width: 28px;
    margin-top: 2px;
}
body .contact-item strong {
    color: #0a1a3a;
    font-weight: 600;
}
body .contact-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
body .contact-link:hover {
    color: #004499;
    text-decoration: underline;
}

/* ============================================================
   ФОРМА СВЯЗИ — ТЁМНО-СИНИЙ ФОН (contact3 / #contact-form-evo)
   Отдельный тип формы, не конфликтует с contact-form-wrapper
   ============================================================ */
body #contact-form-evo {
    background: linear-gradient(135deg, #1a3a5a 0%, #1e4d7a 50%, #2a6a9a 100%);
    border-radius: 16px;
    padding: 2rem 2rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.15);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(0,0,0,0.20);
}
body .contact3-logo {
    text-align: center;
    margin-bottom: 1.2rem;
}
body .contact3-logo img {
    max-width: 160px;
    height: auto;
    display: inline-block;
}
body .contact3-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 0.2rem 0;
}
body .contact3-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 1.2rem 0;
}
body .contact3-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
body .contact3-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
body .contact3-col {
    width: 100%;
}
body .contact3-col select,
body .contact3-col input,
body .contact3-col-full select,
body .contact3-col-full input {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    box-sizing: border-box;
    font-family: inherit;
    color: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
body .contact3-col select option {
    background: #1a3a5a;
    color: #fff;
}
body .contact3-col select:focus,
body .contact3-col input:focus,
body .contact3-col-full select:focus,
body .contact3-col-full input:focus {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79,195,247,0.12);
    outline: none;
    background: rgba(255,255,255,0.15);
}
body .contact3-col input::placeholder,
body .contact3-col-full input::placeholder {
    color: rgba(255,255,255,0.5);
}
body .contact3-col select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
    cursor: pointer;
    color: #ffffff;
}
body .contact3-col input[type="date"],
body .contact3-col-full input[type="date"] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.9rem center !important;
    background-size: 18px !important;
    padding-right: 2.8rem !important;
    cursor: pointer;
    color: #ffffff;
}
body .contact3-col input[type="date"]::-webkit-calendar-picker-indicator,
body .contact3-col-full input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
body .contact3-submit {
    text-align: center;
    margin-top: 6px !important;
}
body .contact3-submit .btn-style1-full {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 140px !important;
    max-width: 200px !important;
    width: auto !important;
    padding: 0.4rem 1.5rem !important;
    background: linear-gradient(135deg, #4fc3f7 0%, #0288d1 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(79,195,247,0.30) !important;
    line-height: 1.2 !important;
    height: auto !important;
}
body .contact3-submit .btn-style1-full:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(79,195,247,0.40) !important;
    background: linear-gradient(135deg, #4fc3f7 0%, #0277bd 100%) !important;
}
body .contact3-submit .btn-style1-full:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(79,195,247,0.20) !important;
}
body .contact3-agreement {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    margin: 1rem 0 0 0;
}
body .contact3-agreement a {
    color: #4fc3f7;
    text-decoration: none;
}
body .contact3-agreement a:hover {
    text-decoration: underline;
}

/* ===== Адаптив для шапки галереи и формы contact3 ===== */
@media (max-width: 992px) {
    body .gallery-header-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    body .gallery-header-title {
        font-size: 28px;
    }
}
@media (max-width: 768px) {
    body #contact-form-evo {
        padding: 1.2rem 1rem;
        border-radius: 12px;
    }
    body .gallery-header-section {
        padding: 30px 0 24px;
    }
    body .gallery-header-title {
        font-size: 22px;
    }
    body .gallery-header-text {
        font-size: 15px;
    }
    body .gallery-header-contacts {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    body .contact3-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    body .contact3-col select,
    body .contact3-col input,
    body .contact3-col-full select,
    body .contact3-col-full input {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    body .contact3-col input[type="date"] {
        background-position: right 0.8rem center !important;
    }
    body .contact3-submit .btn-style1-full {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
        font-size: 0.85rem !important;
        padding: 0.6rem 1.2rem !important;
    }
    body .contact3-logo img {
        max-width: 120px;
    }
    body .contact3-title {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    body #contact-form-evo {
        padding: 1rem 0.7rem;
        border-radius: 10px;
    }
    body .gallery-header-section {
        padding: 20px 0 16px;
    }
    body .gallery-header-title {
        font-size: 20px;
    }
}