:root {
    --primary-blue: #0b1a30;    
    --dark-blue: #06101d;       
    --accent-gold: #c5a059;     
    --accent-hover: #e0b86e;    
    --bg-light: #f8f9fa;        
    --text-main: #1f2329; 
    --white-text:#fff;	
	--orange:#F44336;

}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Manrope', Arial, sans-serif;
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* ================= HEADER ================= */
.header {
    background: var(--dark-blue);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-btn {
    display: none; 
}
.mobile-menu-panel {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    z-index: 102;
}

.logo-mark {
    font-size: 28px;
    color: var(--accent-gold);
}

.logo-text b {
    display: block;
    font-size: 16px;
    letter-spacing: .08em;
}

.logo-text small {
    display: block;
    color: #8c9bb0;
    font-size: 10px;
    letter-spacing: .2em;
    margin-top: 4px;
}

.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a {
    color: #c4cdd8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.desktop-nav a:hover { color: var(--accent-gold); }

.header-phone {
    font-weight: 800;
    color: var(--white-text);
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.1);
    padding: 10px 18px;
    border-radius: 8px;
    transition: background 0.3s ease;
    z-index: 102;
}
.header-phone:hover { background: rgba(197, 160, 89, 0.2); }
.phone-text { display: inline; }

/* ================= ТИПОГРАФІКА ТА КНОПКИ ================= */
.eyebrow {
    font-size: 12px;
    letter-spacing: .18em;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
}
h1, h2, h3, h4 { color: var(--primary-blue); }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 0 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}
.btn-primary {
     background: linear-gradient(135deg, #e44514 0%, #f1744c 100%);
    color: #fff;
}
.btn-primary2 {
      background: linear-gradient(135deg, #e44514 0%, #f1744c 100%);
    color: #fff;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #000 0%, #000 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}
.btn-large { font-size: 18px; padding: 0 45px; min-height: 64px; }

/* ================= ПРЕМІАЛЬНИЙ HERO З ФОНОМ ================= */
.hero-premium-dark {
    background-color: var(--dark-blue); 
    background-image: linear-gradient(90deg, rgba(6, 16, 29, 0.95) 0%, rgba(6, 16, 29, 0.8) 45%, rgba(6, 16, 29, 0.1) 100%), url('https://www.xn--d1awi.top/wp-content/uploads/2026/08/back.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0 0 0;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    height: 650px;
}

.hero-dark-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: end;
}

.hero-dark-content {
    padding-bottom: 150px;
    padding-top: 20px;
    position: relative;
    z-index: 2;
}

.eyebrow-gold {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c5a059;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-premium-dark h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1.05;
    color: #ffffff;
    margin: 0 0 25px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-premium-dark h1 span.block-word {
    display: block;
}

.text-gold { color: #c7c7c7; }

.hero-dark-lead {
    font-size: 18px;
    color: #cbd5e0;
    max-width: 550px;
    line-height: 1.5;
}

.hero-dark-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.btn-gold {
    background-color: #e44514;
    color: #000000;
    padding: 0 35px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-gold2 {
    background-color: #212d3e;
    color: #ffffff;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-gold:hover { background-color: #e0b86e; }
.btn-gold2:hover { background-color: #314258; }

.btn-outline-dark {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 30px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: border 0.3s, background 0.3s;
}
.btn-outline-dark:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-dark-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
}
.lawyer-img {
    max-width: 100%;
    height: auto;
    max-height: 750px;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}
.lawyer-nameplate {
    position: absolute;
    bottom: 150px;
    right: -10px;
    background: rgba(6, 16, 29, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.nameplate-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}
.nameplate-subtitle {
    font-size: 15px;
    color: #a0aec0;
    line-height: 1.4;
}

/* ================= ЗАГАЛЬНІ НАЛАШТУВАННЯ СЕКЦІЙ ================= */
.section-heading { margin-bottom: 50px; }
.section-heading.center { text-align: center; }
.section-heading h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0 0 16px;
    font-family: 'Montserrat', sans-serif;
}
.section-heading p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 18px;
}

/* ================= БЛОК ПОСЛУГ (Світлий) ================= */
.services-light {
    background: #ffffff17;
    padding: 100px 0;
    position: relative;
}
.services-light .section-heading h2 { color: var(--primary-blue); }
.services-light .section-heading p { color: #4a5568; }

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.service-card-light {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(11, 26, 48, 0.03);
    z-index: 1;

}
.service-card-light:hover {
    border-color: rgba(197, 160, 89, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 26, 48, 0.08);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-gold);
    transition: all 0.4s ease;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card-light:hover .service-icon {
    background: var(--accent-gold);
    color: #fff;
    transform: scale(1.1);
}
.service-bg-number {
    position: absolute;
    top: -15px;
    right: 15px;
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: rgba(11, 26, 48, 0.03);
    z-index: -1;
    transition: color 0.4s ease;
    font-family: 'Playfair Display', serif;
}
.service-card-light:hover .service-bg-number { color: rgba(197, 160, 89, 0.08); }
.service-card-light h3 { font-size: 25px; margin: 0 0 15px; color: var(--primary-blue); line-height: 1.3; }
.service-card-light p { color: #4a5568; font-size: 15px; line-height: 1.6; margin: 0; }

/* ================= ФІНАЛЬНИЙ ЗАКЛИК (Темний CTA) ================= */
.final-cta {
    background: var(--primary-blue);
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
}
.final-cta h2 {
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.2;
    margin: 0 auto 20px;
    max-width: 800px;
    letter-spacing: -.02em;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.final-cta p { color: #cbd5e0; margin-bottom: 40px; font-size: 18px; }

/* ================= ЩО РОБИТИ (Єдиний наратив) ================= */
.help-section { padding: 100px 0; background: var(--bg-light); border-top: 1px solid #edf2f7; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(11, 26, 48, 0.05);
    border: 1px solid #f1f3f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 26, 48, 0.08);
}
.step-num {
    position: absolute;
    right: 25px;
    top: 25px;
    color: rgba(197, 160, 89, 0.3);
    font-size: 24px;
    font-weight: 800;
}
.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--primary-blue);
    color: var(--accent-gold);
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 20px;
}
.step h3 { font-size: 20px; line-height: 1.3; margin: 0 0 15px; color: var(--primary-blue); }
.step p { font-size: 15px; color: #718096; margin: 0; }

/* ================= НАСЛІДКИ ДТП БЕЗ АДВОКАТА ================= */
.consequences-section {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 100px 0;
}
.consequences-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.consequences-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 42px);
    text-transform: uppercase;
    margin: 0 0 40px 0;
    line-height: 1.2;
}
.consequences-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.consequences-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    margin-bottom: 25px;
    color: #e2e8f0;
    font-weight: 500;
}
.consequences-list .cross-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #e53e3e;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}
.consequences-box {
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 40px;
    background: rgba(255,255,255,0.03);
    text-align: center;
}
.consequences-box h3 {
    color: var(--accent-gold);
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}
.consequences-box p {
    color: #cbd5e0;
    margin-bottom: 30px;
    font-size: 16px;
}

/* ================= ФАТАЛЬНІ ПОМИЛКИ ================= */
.mistakes-section { padding: 100px 0; background: var(--dark-blue); color: #fff; }
.mistakes-section .section-heading h2 { color: #fff; }
.mistakes-section .section-heading p { color: #cbd5e0; }

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.mistake-card {
    background: rgba(255,255,255,0.05);
    border-left: 4px solid #e53e3e;
    padding: 40px 30px;
    border-radius: 0 16px 16px 0;
}
.mistake-icon {
    font-size: 32px;
    margin-bottom: 20px;
}
.mistake-card h3 {
    color: #fff;
    font-size: 22px;
    margin: 0 0 15px 0;
}
.mistake-card p {
    color: #a0aec0;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* ================= КОНСУЛЬТАЦІЯ ТА ВАРТІСТЬ ================= */
.price-section { padding: 100px 0; background: var(--bg-light); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.price-grid article {
    background: #fff;
    padding: 35px 30px;
    border-radius: 24px;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.price-grid article:hover { transform: translateY(-8px); }
.price-grid .featured {
    background: #fff;
    border: 2px solid var(--orange);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15);
    transform: scale(1.03);
}
.price-grid .featured:hover { transform: scale(1.03) translateY(-8px); }
.price-grid h3 { margin: 0 0 15px; font-size: 22px; color: var(--primary-blue); }
.price-grid strong {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
    color: var(--primary-blue);
}
.price-grid p { color: #718096; margin: 0; flex-grow: 1; }

.price-cta-container { margin-top: 50px; text-align: center; }

/* ================= ПІДВАЛ (Footer) ================= */
.footer {
    background: var(--dark-blue);
    color: #718096;
    padding: 40px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.mobile-call { display: none; }

/* ================= АДАПТАЦІЯ ================= */
@media(max-width: 1024px) {
    .services-modern-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .consequences-grid { grid-template-columns: 1fr; }
    .mistakes-grid { grid-template-columns: 1fr; }
}

@media(max-width: 900px) {
    .desktop-nav { display: none !important; }
    .header-inner { position: relative; justify-content: space-between; }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 105;
    }
    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-menu-panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        border-top: 1px solid rgba(255,255,255,0.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        z-index: 104;
    }
    .mobile-menu-panel.active { display: block; }
    .mobile-menu-panel a {
        display: block;
        padding: 15px 20px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-weight: 600;
    }
    
    .header-phone .phone-text { display: none; }
    .header-phone { padding: 10px; }
    
    .hero-premium-dark { 
        background-image: linear-gradient(180deg, rgba(6, 16, 29, 0.95) 0%, rgba(6, 16, 29, 0.9) 50%, rgba(6, 16, 29, 0.3) 100%), url('https://www.xn--d1awi.top/wp-content/uploads/2026/08/back.jpg');
        /* ВИПРАВЛЕННЯ ВИСОТИ ДЛЯ МОБІЛЬНИХ (фото більше не ховається) */
        height: auto; 
    }
    .hero-dark-grid { grid-template-columns: 1fr; gap: 0; }
    
    .hero-dark-content { padding-bottom: 0; padding-top: 20px; }
    .hero-dark-image-wrapper { 
        order: 2; 
        margin-top: 20px;
    }
    .lawyer-img { max-height: 480px; width: auto; }
    .lawyer-nameplate { 
        right: auto;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
        width: max-content;
    }
    
    .steps { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; }
    .price-grid .featured { transform: none; }
    .price-grid .featured:hover { transform: translateY(-5px); }
    
    .mobile-call {
        display: flex;
        position: fixed;
        z-index: 100;
        bottom: 1px;
        min-height: 54px;
        background: linear-gradient(135deg, #06101d 0%, #06101d 100%);
        color: #fff;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: 600;
        font-size: 18px;
        gap: 10px;
        width: 100%;
    }
    .footer { padding-bottom: 110px; }
    
    .callback-widget-container {
        display: none !important;
    }
}

@media(max-width: 560px) {
    .container { width: calc(100% - 40px); }
    .header-inner { min-height: 70px; }
    
    .logo-mark { font-size: 22px; }
    .logo-text b { font-size: 13px; }
    .logo-text small { font-size: 8px; }
    
    .hero-premium-dark h1 { font-size: 42px; }
    .btn-gold, .btn-outline-dark, .btn-gold2 { width: 100%; justify-content: center; }
    
    .lawyer-nameplate {
        width: calc(100% - 40px);
        text-align: center;
        padding: 15px;
    }

    .services-light, .help-section, .mistakes-section, .price-section, .consequences-section { padding: 70px 0; }
    .services-modern-grid { grid-template-columns: 1fr; }
    .service-card-light { padding: 35px 25px; }
    .service-bg-number { font-size: 90px; top: 0; }
    
    .steps { grid-template-columns: 1fr; }
    .section-heading { margin-bottom: 40px; }
    
    .final-cta { padding: 80px 0; }
    .footer .container { flex-direction: column; gap: 15px; text-align: center; }
}

/* ================= МОДАЛЬНЕ ВІКНО ================= */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(6, 16, 29, 0.8); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-content { background: #fff; padding: 40px 30px; border-radius: 16px; width: 90%; max-width: 400px; position: relative; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 28px; cursor: pointer; color: #a0aec0; transition: color 0.3s; line-height: 1; }
.close-modal:hover { color: var(--primary-blue); }
.modal-content h3 { margin: 0 0 10px; font-size: 24px; color: var(--primary-blue); }
.modal-content p { color: #718096; margin-bottom: 25px; font-size: 15px; }
.tg-form input { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #edf2f7; border-radius: 8px; font-family: inherit; font-size: 16px; }
.tg-form input:focus { outline: none; border-color: var(--accent-gold); }
.tg-form button { width: 100%; }
.form-status { margin-top: 15px; font-weight: 600; display: none; }
.status-success { color: #38a169; }
.status-error { color: #e53e3e; }

/* ================= ВІДЖЕТ ДЗВІНКА (Тільки Desktop) ================= */
.callback-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.callback-widget-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e44514 0%, #e44514 100%);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.callback-widget-btn:hover {
    transform: scale(1.05);
}

.pulse-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    animation: pulse-animation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.callback-widget-form {
    background: var(--dark-blue);
    border: 1px solid var(--accent-gold);
    border-radius: 40px;
    padding: 10px 10px 10px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateX(50px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.callback-widget-form.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.callback-widget-text {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.callback-widget-text span {
    color: var(--accent-gold);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 18px;
}

.callback-widget-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.callback-widget-input-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0 20px;
    height: 44px;
    border-radius: 22px;
    font-family: inherit;
    font-size: 14px;
    width: 180px;
    transition: border 0.3s;
}

.callback-widget-input-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.callback-widget-input-group .btn-gold {
    min-height: 44px;
    height: 44px;
    padding: 0 25px;
    border-radius: 22px;
    margin: 0;
}

.callback-widget-close {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 28px;
    height: 28px;
    background: #e53e3e;
    color: #fff;
    border-radius: 50%;
    border: 2px solid var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    line-height: 1;
    transition: transform 0.2s;
}

.callback-widget-close:hover {
    transform: scale(1.1);
}

/* ================= НАЛАШТУВАННЯ ЛОГОТИПУ ================= */
.header-logo-img {
    max-height: 55px; 
    width: auto;      
    display: block;
}

@media(max-width: 560px) {
    .header-logo-img {
        max-height: 40px; 
    }
}

/* ================= КОНТАКТИ ТА КАРТА ================= */
.contacts-section {
    padding: 100px 0;
    background: #ffffff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

a.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 10px 25px rgba(11, 26, 48, 0.05);
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

a.contact-item:hover .contact-icon {
    background: #c9c9c9;
    color: #fff;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 14px;
    color: #718096;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.contact-text strong {
    font-size: 18px;
    color: var(--primary-blue);
    line-height: 1.4;
}

.contact-map {
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(11, 26, 48, 0.05);
    border: 1px solid #edf2f7;
    display: flex;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

@media(max-width: 900px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    .contact-map, .contact-map iframe {
        min-height: 350px;
    }
}
@media(max-width: 560px) {
    .contact-item {
        padding: 20px;
        gap: 15px;
        flex-direction: column;
        text-align: center;
    }
    .contact-map, .contact-map iframe {
        min-height: 300px;
    }
}
/* ================= ЛЕГКЕ ОФОРМЛЕННЯ СОЦМЕРЕЖ В ОДИН РЯДОК ================= */
.social-inline-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 5px;
}

.social-inline-title {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 600;
}

.social-inline-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #0066cc; /* Приємний класичний синій колір для посилань */
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link-item:hover {
    color: var(--accent-gold); /* При наведенні стає фірмовим золотим */
    text-decoration: underline;
}
/* ================= СТИЛІ ДЛЯ РЕЙТИНГУ GOOGLE ================= */
.contact-sub-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.route-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.route-btn:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.google-rating-badge:hover {
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}

.rating-score {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 14px;
}

.rating-stars {
    font-size: 12px;
    letter-spacing: -1px;
}

.rating-reviews {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}



/* Ще компактніше для маленьких телефонів */
@media (max-width: 480px) {

    .services-modern-grid {
        gap: 12px;
    }

    .service-card-light {
        padding: 18px 16px 18px 72px;
        min-height: 135px;
        border-radius: 14px;
    }

    .service-card-light .service-icon {
        left: 16px;
        top: 18px;

        width: 42px;
        height: 42px;

        border-radius: 10px;
    }

    .service-card-light .service-icon svg {
        width: 22px;
        height: 22px;
    }

    .service-card-light h3 {
        font-size: 16px;
        margin-bottom: 7px;
    }

    .service-card-light p {
        font-size: 13px;
        line-height: 1.5;
    }

    .service-card-light .service-bg-number {
        font-size: 45px;
    }
}
ul li{color: #cbd5e0;}
/* =========================================
   НАСЛІДКИ ДТП — МОБІЛЬНА ВЕРСІЯ
   ========================================= */

@media (max-width: 768px) {

    .steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .step {
        position: relative;
        padding: 22px 18px 20px 78px;
        min-height: 145px;
        border-radius: 16px;
    }

    /* Іконка зліва */
    .step .step-icon {
        position: absolute;
        left: 18px;
        top: 22px;

        width: 42px;
        height: 42px;

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

        border-radius: 11px;

        background: #f5f1e8;
        color: #b78b3c;

        font-size: 22px;
        line-height: 1;
        font-weight: 600;

        z-index: 2;
    }

    /* Номер 01 / 02 / 03 / 04 */
    .step .step-num {
        position: absolute;
        right: 14px;
        bottom: 5px;

        font-size: 52px;
        line-height: 1;
        font-weight: 800;

        opacity: 0.045;
        pointer-events: none;
    }

    /* Заголовок */
    .step h3 {
        position: relative;
        z-index: 2;

        margin: 0 0 8px;

        font-size: 17px;
        line-height: 1.3;
    }

    /* Текст */
    .step p {
        position: relative;
        z-index: 2;

        margin: 0;

        font-size: 13.5px;
        line-height: 1.55;
    }
}


/* =========================================
   МАЛЕНЬКІ ТЕЛЕФОНИ
   ========================================= */

@media (max-width: 480px) {

    .steps {
        gap: 12px;
    }

    .step {
        padding: 18px 15px 18px 68px;
        min-height: 135px;
        border-radius: 14px;
    }

    .step .step-icon {
        left: 15px;
        top: 18px;

        width: 38px;
        height: 38px;

        border-radius: 10px;

        font-size: 20px;
    }

    .step .step-num {
        right: 10px;
        bottom: 4px;

        font-size: 44px;
    }

    .step h3 {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 7px;
    }

    .step p {
        font-size: 13px;
        line-height: 1.5;
    }
}
/* =========================================
   МОБІЛЬНИЙ ВИГЛЯД КОНТАКТІВ
   ІКОНКА ЗЛІВА — ТЕКСТ СПРАВА
   ========================================= */

@media (max-width: 768px) {

  .contact-info-box .contact-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 100% !important;
    box-sizing: border-box !important;

    gap: 14px !important;
    padding: 16px !important;
  }

  /* ІКОНКА — ФІКСОВАНО ЗЛІВА */
  .contact-info-box .contact-item .contact-icon {
    display: flex !important;
    flex: 0 0 44px !important;

    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    position: relative !important;
    float: none !important;

    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .contact-info-box .contact-item .contact-icon svg {
    display: block !important;

    width: 21px !important;
    height: 21px !important;

    max-width: none !important;
    margin: 0 !important;
  }

  /* ТЕКСТ — СПРАВА ВІД ІКОНКИ */
  .contact-info-box .contact-item .contact-text {
    display: block !important;

    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
    box-sizing: border-box !important;
  }

  .contact-info-box .contact-item .contact-text span {
    display: block !important;

    margin: 0 0 5px 0 !important;
    padding: 0 !important;

    text-align: left !important;
  }

  .contact-info-box .contact-item .contact-text strong {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
    line-height: 1.45 !important;
  }


  /* =========================================
     АДРЕСА
     ========================================= */

  .contact-info-box .address-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
  }

  .contact-info-box .address-item .contact-icon {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
  }

  .contact-info-box .address-item .contact-text {
    flex: 1 1 auto !important;
    width: auto !important;
  }


  /* =========================================
     КНОПКА МАРШРУТУ
     ========================================= */

  .contact-info-box .contact-sub-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    gap: 8px !important;

    width: 100% !important;
    margin-top: 12px !important;
  }

  .contact-info-box .route-btn {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
  }

  .contact-info-box .google-rating-badge {
    display: inline-flex !important;
    width: auto !important;

    margin: 0 !important;
  }


  /* =========================================
     СОЦМЕРЕЖІ
     ========================================= */

  .social-inline-box {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .social-inline-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    gap: 8px !important;
  }


  /* =========================================
     КАРТА
     ========================================= */

  .contact-map {
    width: 100% !important;
    min-height: 320px !important;
  }
}


/* =========================================
   ДУЖЕ МАЛЕНЬКІ ТЕЛЕФОНИ
   ========================================= */

@media (max-width: 480px) {

  .contact-info-box .contact-item {
    gap: 12px !important;
    padding: 14px 12px !important;
  }

  .contact-info-box .contact-item .contact-icon {
    flex: 0 0 40px !important;

    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;

    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;

    border-radius: 10px !important;
  }

  .contact-info-box .contact-item .contact-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .contact-info-box .contact-item .contact-text span {
    font-size: 11px !important;
  }

  .contact-info-box .contact-item .contact-text strong {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}
.footer-docs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-docs a {
  color: #64748b; /* колір посилань */
  font-size: 14px;
  text-decoration: underline;
}
.footer-docs a:hover {
  color: #cda434; /* золотий акцент при наведенні */
}
.block-extra{     display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    height: 45px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 4vw, 14px);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0 0 16px;
    font-family: 'Montserrat', sans-serif;
    background-color: #0c1623;}
	span.color-link a{color:#e44514;}
	/* ================= СТОРІНКА "ПРО АДВОКАТА" (ABOUT) ================= */
.about-page-section {
    padding: 100px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 110px; /* При скролі фото залишатиметься на місці */
}

.about-main-img-box {
    position: relative;
    background: var(--dark-blue);
    background-image: linear-gradient(180deg, rgba(6, 16, 29, 0.9) 0%, rgba(6, 16, 29, 0.4) 100%), url('https://www.xn--d1awi.top/wp-content/uploads/2026/08/back.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 30px 30px 0 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(11, 26, 48, 0.1);
}

.about-photo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* Оформлення Медалі */
.medal-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background: rgba(6, 16, 29, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 15px;
    border-radius: 16px;
    width: 170px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 10;
}

.medal-badge img {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}

.medal-badge p {
    color: #cbd5e0;
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
}

.medal-badge strong {
    color: var(--accent-gold);
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.about-erau-btn {
    width: 100%;
    background: #fff;
    color: var(--primary-blue);
    border-color: #edf2f7;
    box-shadow: 0 5px 15px rgba(11, 26, 48, 0.05);
}

.about-erau-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* Оформлення тексту */
.about-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.1;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.about-subtitle {
    font-size: 22px;
    color: var(--accent-gold);
    margin: 0 0 40px 0;
    font-weight: 700;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
    font-size: 17px;
    color: var(--text-main);
    line-height: 1.6;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    font-weight: 900;
    font-size: 20px;
}

.about-list li strong {
    color: var(--primary-blue);
    font-weight: 800;
}

.about-divider {
    border: none;
    height: 1px;
    background: #edf2f7;
    margin: 50px 0;
}

/* Оформлення блоку відео */
.about-video-section h4 {
    font-size: 24px;
    margin: 0 0 20px 0;
    font-family: 'Montserrat', sans-serif;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.video-preview {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15);
    background: #000;
}
/* Адаптація для сторінки ПРО АДВОКАТА */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visuals { position: relative; top: 0; }
    .medal-badge { right: 10px; width: 140px; padding: 10px; }
    .medal-badge img { width: 50px; }
    .about-list li { font-size: 16px; }
	.link2{color: #e44514; text-decoration: underline; font-weight: bold;}
	/* =========================================================
   ІКОНКА + НАЗВА — ТОЧНО В ОДИН РЯДОК
   ========================================================= */

.consultation-card {
    position: relative !important;
}

/* Іконка зліва */
.consultation-card .consultation-icon {
    position: absolute !important;

    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50%;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #f1f4fa;
    color: #071a33;

    float: none !important;
}

/* Розмір самої іконки */
.consultation-card .consultation-icon svg {
    width: 27px !important;
    height: 27px !important;

    display: block !important;
}


/* Назва СПРАВА від іконки */
.consultation-card .consultation-icon + h3 {
    display: flex !important;
    align-items: center !important;

    min-height: 50px !important;

    margin: 0 0 22px 62px !important;
    padding: 0 !important;

    line-height: 1.25 !important;

    clear: none !important;
    float: none !important;
}


/* Щоб ціна починалась вже під іконкою */
.consultation-card .consultation-icon + h3 + strong {
    display: block !important;
    clear: both !important;

    margin-top: 0 !important;
}


/* Перша картка */
.consultation-card.featured .consultation-icon {
    background: #fff0ec;
    color: #f04420;
}


/* =========================================================
   ПОСИЛАННЯ
   ========================================================= */

.consultation-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 10px;

    color: #173967;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.consultation-link span {
    font-size: 21px;
    line-height: 1;
}

.consultation-link:hover {
    color: #b88b3e;
}

.consultation-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   КНОПКА
   ========================================================= */

.consultation-action {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 20px !important;
}

.consultation-arrow {
    font-size: 21px;
    line-height: 1;
}


/* =========================================================
   МОБІЛЬНИЙ
   ========================================================= */

@media (max-width: 767px) {

    .consultation-card .consultation-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;


    }

    .consultation-card .consultation-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    .consultation-card .consultation-icon + h3 {
        min-height: 46px !important;

        margin-left: 58px !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
}
/* ================= БАНЕР "ЯКЩО ДТП СТАЛОСЬ" ================= */
.emergency-banner-wrapper {
    margin-top: -70px; 
    position: relative;
    z-index: 10;
    padding-bottom: 60px; 
}

.emergency-banner-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    background: #081324;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 7px;
    padding: 20px 35px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 5px 15px rgba(6, 16, 29, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 72px;
}

.emergency-banner-box:hover {
       transform: translateY(5px);
    /* box-shadow: 0 25px 50px rgba(6, 16, 29, 0.7); */
    border-color: rgba(255, 255, 255, 0.1);
}

/* Обгортка для іконки і тексту */
.emergency-left-side {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
}

.emergency-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    /* Використовуємо вашу змінну --orange (з fallback-ом для страховки) */
    border: 2px solid #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    background: transparent;
    transition: all 0.3s ease;
}

.emergency-icon svg {
    width: 32px;
    height: 32px;
}

.emergency-banner-box:hover .emergency-icon {
    color: #fff;
}

.emergency-text h3 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.emergency-text p {
    color: #a0aec0;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.emergency-link {
color: #e44514;
    border: 1px dashed #a0aec0;
    padding: 3px;
    border-radius: 8px;
    padding: 10px !important;
    display: flex;
    font-weight: 600;
}
}

.emergency-link .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.emergency-banner-box:hover .emergency-link .arrow {
    transform: translateX(5px);
}
/* ================= АДАПТАЦІЯ БАНЕРА ДТП (БЕЗПЕЧНИЙ БЛОК) ================= */
@media(max-width: 900px) {
    .emergency-banner-box { 
        flex-direction: column; 
        align-items: flex-start;
        gap: 25px;
    }
    .emergency-left-side {
        align-items: flex-start;
        gap: 20px;
    }
}

@media(max-width: 560px) {
    .emergency-banner-wrapper { 
        margin-top: -40px; 
        padding-bottom: 40px; 
    }
    .emergency-banner-box { 
        align-items: center;
        text-align: center;
        padding: 30px 20px; 
    }
    .emergency-left-side {
        flex-direction: column; 
        align-items: center;
        gap: 15px;
    }
}
/* ================= СТОРІНКА "ПРО АДВОКАТА" (ABOUT) ================= */
.about-page-section { padding: 100px 0; background: #ffffff; }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.about-visuals { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.about-main-img-box { position: relative; background: var(--dark-blue); background-image: linear-gradient(180deg, rgba(6, 16, 29, 0.9) 0%, rgba(6, 16, 29, 0.4) 100%), url('https://www.xn--d1awi.top/wp-content/uploads/2026/08/back.jpg'); background-size: cover; background-position: center; border-radius: 24px; padding: 30px 30px 0 30px; text-align: center; box-shadow: 0 20px 40px rgba(11, 26, 48, 0.1); }
.about-photo { max-width: 100%; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }

/* Оформлення Медалі */
.medal-badge { position: absolute; top: 20px; right: -20px; background: rgba(6, 16, 29, 0.85); backdrop-filter: blur(8px); border: 1px solid rgba(197, 160, 89, 0.3); padding: 15px; border-radius: 16px; width: 170px; text-align: center; box-shadow: 0 15px 35px rgba(0,0,0,0.3); z-index: 10; }
.medal-badge img { width: 70px; height: auto; margin-bottom: 10px; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); }
.medal-badge p { color: #cbd5e0; font-size: 11px; line-height: 1.4; margin: 0; }
.medal-badge strong { color: var(--accent-gold); font-size: 12px; display: block; margin-bottom: 4px; letter-spacing: 0.05em; }

.about-erau-btn { width: 100%; background: #fff; color: var(--primary-blue); border-color: #edf2f7; box-shadow: 0 5px 15px rgba(11, 26, 48, 0.05); }
.about-erau-btn:hover { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }

/* Оформлення тексту */
.about-content h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(32px, 4vw, 45px); line-height: 1.1; margin: 0 0 10px 0; letter-spacing: -0.02em; }
.about-subtitle { font-size: 22px; color: var(--accent-gold); margin: 0 0 40px 0; font-weight: 700; }
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li { position: relative; padding-left: 35px; margin-bottom: 25px; font-size: 17px; color: var(--text-main); line-height: 1.6; }
.about-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent-gold); font-weight: 900; font-size: 20px; }
.about-list li strong { color: var(--primary-blue); font-weight: 800; }
.about-divider { border: none; height: 1px; background: #edf2f7; margin: 50px 0; }

/* Оформлення блоку відео */
.about-video-section h4 { font-size: 24px; margin: 0 0 20px 0; font-family: 'Montserrat', sans-serif; }
.video-grid { display: grid; grid-template-columns: 1fr; }
.video-preview { width: 100%; max-width: 500px; border-radius: 16px; border: 3px solid var(--accent-gold); box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15); background: #000; }

/* Адаптація для сторінки ПРО АДВОКАТА (вставляти всередині вашого @media(max-width: 900px)) */
@media(max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visuals { position: relative; top: 0; }
    .medal-badge { right: 10px; width: 140px; padding: 10px; }
    .medal-badge img { width: 50px; }
    .about-list li { font-size: 16px; }
}
/* ================= БЛОК ПОСЛУГ (ОНОВЛЕНИЙ ДИЗАЙН #e44514) ================= */
.services-light {
    padding: 80px 0;
    background: #f8fafc;
}

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card-light {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-bg-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 50px;
    font-weight: 800;
    color: #f1f5f9; 
    line-height: 1;
    z-index: 1;
}

/* Обгортка, що керує розташуванням іконки і тексту */
.service-card-inner {
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    position: relative !important; /* Блокуємо старе абсолютне позиціонування */
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px;
    background: rgba(228, 69, 20, 0.08) !important; 
    color: #e44514 !important; 
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    float: none !important; /* Захист від старого коду */
    transform: none !important;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1;
    width: 100%;
}

.service-content h3 {
    font-size: 18px;
    color: #0d1a2d;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Кольорова смужка */
.sc-divider {
    width: 40px;
    height: 2px;
    background: #e44514; 
    margin-bottom: 15px;
}

.service-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* ================= АДАПТАЦІЯ ================= */
@media(max-width: 1100px) {
    .services-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .services-modern-grid {
        grid-template-columns: 1fr;
    }
    .service-card-light {
        padding: 25px 20px;
    }
    
    /* НА МОБІЛЬНОМУ: іконка зліва, текст обтікає справа */
    .service-card-inner {
        flex-direction: row !important; 
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .service-icon {
        margin-bottom: 0 !important;
        flex-shrink: 0 !important; /* Забороняємо іконці стискатися */
        width: 45px !important;
        height: 45px !important;
    }
    
    .service-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .service-bg-number {
        display: none !important; 
    }
}
/* ================= CSS ДЛЯ БЛОКУ "ЧОМУ АДВОКАТ БАРАНОВСЬКИЙ" ================= */
  .why-advocate-section {
    padding: 80px 0;
    background-color: #fcfcfc; /* Легкий світлий фон для контрасту з темними блоками */
    position: relative;
    overflow: hidden;
  }

  .why-advocate-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: center;
  }

  .why-image-wrapper {
    position: relative;
    z-index: 2;
  }

  .why-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    display: block;
    object-fit: cover;
    /* Легкий золотий акцент-рамка знизу та збоку */
    border-bottom: 4px solid #c5a059;
    border-left: 4px solid #c5a059;
  }

  /* Бедж довіри поверх фото */
  .trust-badge {
    position: absolute;
    bottom: -25px;
    right: -20px;
    background: #1a1c20;
    border: 1px solid #c5a059;
    padding: 20px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 3;
  }

  .trust-badge .badge-num {
    display: block;
    color: #c5a059;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
  }

  .trust-badge .badge-text {
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
  }

  .why-content {
    padding-right: 20px;
  }

  .why-content .section-heading {
    text-align: left;
    margin-bottom: 35px;
  }

  .why-content .eyebrow {
    color: #c5a059;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
  }

  .why-content h2 {
    font-size: 36px;
    line-height: 1.2;
    color: #1a1c20;
    margin-bottom: 20px;
    font-weight: 800;
  }

  .benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
  }

  .benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgb(241 244 250);
    border: 1px solid rgb(158 177 255 / 30%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #071a33;
  }

  .benefit-text h4 {
    font-size: 20px;
    color: #1a1c20;
    margin: 0 0 8px 0;
    font-weight: 700;
  }

  .benefit-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin: 0;
  }

  /* Мобільна адаптація */
  @media (max-width: 991px) {
    .why-advocate-grid {
      grid-template-columns: 1fr;
      gap: 50px;
    }
    .why-image-wrapper {
      max-width: 400px;
      margin: 0 auto;
    }
    .trust-badge {
      right: 10px;
      bottom: -20px;
    }
    .why-content .section-heading {
      text-align: center;
    }
    .why-content h2 {
      font-size: 28px;
    }
  }

  /* ================= CSS ДЛЯ ВІДГУКІВ (НОВИЙ ДИЗАЙН) ================= */
  .reviews-google-section {
    padding: 100px 0;
    background-color: #f7fbff; /* Дуже світлий синюватий фон як на макеті */
  }

  .reviews-heading-block {
    text-align: center;
    margin-bottom: 40px;
  }

  .reviews-heading-block .eyebrow {
    color: #4285F4; /* Синій колір Google */
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
  }

  .reviews-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
  }

  .reviews-title-wrapper h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1a1c20;
    margin: 0;
  }

  /* SVG гілочки лавра */
  .laurel-icon {
    width: 45px;
    height: auto;
    color: #a4c2f4; /* Світло-синій */
  }
  .laurel-right {
    transform: scaleX(-1); /* Дзеркальне відображення правої гілочки */
  }

  .reviews-subtitle {
    color: #5f6368;
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
  }

  .google-rating-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    gap: 30px;
  }

  .google-rating-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .g-score-box {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .g-score-num {
    font-size: 46px;
    font-weight: 800;
    color: #202124;
    line-height: 1;
  }

  .g-stars-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .g-stars {
    color: #fbbc04;
    font-size: 20px;
    letter-spacing: 2px;
  }

  .g-reviews-text {
    font-size: 13px;
    color: #4285F4;
    text-decoration: underline;
  }

  .g-reviews-text:hover {
    text-decoration: none;
  }

  /* Праві беджі в шапці */
  .trust-badges-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  .trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 170px;
  }

  .trust-badge-icon {
    width: 28px;
    height: 28px;
    color: #4285F4; /* Сині іконки */
    flex-shrink: 0;
  }

  .trust-badge-item span {
    font-size: 13px;
    color: #3c4043;
    line-height: 1.4;
    font-weight: 500;
  }

  /* Стилі для оновленої кнопки виклику */
  .btn-call-why {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #e44514 0%, #e44514 100%);
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
    border: none;
    transition: all 0.3s ease;
  }
  
  .btn-call-why:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.5);
  }

  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
  }

  .review-g-card {
    background: #fff;
    padding: 35px 30px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
  }

  /* Маленький логотип Google в правому верхньому куті */
  .g-logo-small {
    position: absolute;
    top: 35px;
    right: 30px;
    width: 20px;
    height: 20px;
  }

  .r-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .r-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
  }

  .r-avatar.bg-1 { background: #4285f4; }
  .r-avatar.bg-2 { background: #34a853; }
  .r-avatar.bg-3 { background: #fbbc04; }

  .r-name-block {
    display: flex;
    flex-direction: column;
  }

  .r-name {
    font-weight: 600;
    color: #202124;
    font-size: 16px;
  }

  .r-date {
    font-size: 13px;
    color: #70757a;
    margin-top: 2px;
  }

  .r-stars {
    color: #fbbc04;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 1px;
  }

  .r-text {
    font-size: 15px;
    color: #3c4043;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 25px;
  }

  /* Нижні беджі статусу */
  .review-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
  }

  .review-status-badge svg {
    width: 16px;
    height: 16px;
  }

  .status-blue {
    background-color: #edf3ff;
    color: #1a73e8;
  }

  .status-green {
    background-color: #e6f4ea;
    color: #137333;
  }

  .status-yellow {
    background-color: #fef7e0;
    color: #b06000;
  }

  /* ================= CSS ДЛЯ КОНТАКТІВ У КАРТЦІ (МЕСЕНДЖЕРИ) ================= */
  .online-contact-block {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
  }
  .oc-title {
     display: block;
     font-size: 11px;
     color: #888;
     margin-bottom: 12px;
     text-transform: uppercase;
     font-weight: 700;
     letter-spacing: 0.5px;
  }
  .messenger-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  .messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
  }
  .messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }
  .m-tg { background: #2AABEE; }
  .m-vb { background: #7360F2; }
  .m-wa { background: #25D366; }
  
  .messenger-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .oc-phone {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     font-weight: 700;
     color: #1a1c20;
     font-size: 17px;
     text-decoration: none;
     transition: color 0.3s;
  }
  .oc-phone:hover {
     color: #c5a059;
  }
  .oc-phone svg {
      width: 18px;
      height: 18px;
      color: #c5a059;
  }

  /* ================= CSS ДЛЯ КНОПКИ ПРАЙСУ ================= */
  .btn-price-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: #ffffff;
    color: #1a1c20;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  }
  .btn-price-outline:hover {
    border-color: #c5a059;
    color: #c5a059;
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.1);
    transform: translateY(-2px);
  }

  /* Спеціальний дизайн для картки "Усі ціни" */
  .price-summary-card {
    background-color: #ffffff; 
    border: 1.5px dashed rgb(33 33 33) !important;
    display: flex;
    flex-direction: column;
  }
  .price-summary-card:hover {
    border: 1.5px dashed #c5a059 !important;
  }
  .ps-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  .price-summary-card .consultation-icon {
    margin: 0;
    background: #f1f4fa;
    color: #071a33;
  }
  .ps-header h3 {
    margin: 0;
    font-size: 20px;
  }
  .ps-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .ps-body p {
    color: #70757a;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
  }
  .price-summary-card .consultation-link {
    justify-content: center;
    margin-top: auto;
    width: 100%;
  }

  @media (max-width: 991px) {
    .google-rating-header {
      flex-direction: column;
      align-items: flex-start;
    }
    .trust-badges-wrapper {
      flex-direction: row; /* Вишиковуємо в лінію на мобільному */
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 15px;
      width: 100%;
      margin-top: 10px;
    }
    .trust-badge-item {
      max-width: 45%; /* По два беджі в ряд */
    }
    .reviews-title-wrapper h2 {
      font-size: 28px;
      text-align: center;
    }
    .laurel-icon {
      width: 30px;
    }
  }

  /* Стилі FAQ */
  .faq-section {
    padding: 80px 0;
    background-color: #1a1c20; /* Темний фон під стилістику сайту */
    color: #fff;
  }

  .faq-section .section-heading h2 {
    color: #ffffff;
  }
  
  .faq-section .section-heading p {
    color: #a0a0a0;
  }

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

  .faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
  }

  .faq-question {
    padding: 22px 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f1f1f1;
    transition: all 0.3s ease;
  }

  .faq-question::-webkit-details-marker {
    display: none;
  }

  .faq-question::after {
    content: '+';
    font-size: 26px;
    color: #c5a059; /* Золотий акцент */
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
  }

  .faq-item[open] .faq-question::after {
    transform: rotate(45deg);
  }

  .faq-item[open] .faq-question {
    background: rgba(197, 160, 89, 0.08);
    color: #c5a059;
  }

  .faq-answer {
    padding: 0 25px 22px 25px;
    color: #b5b5b5;
    line-height: 1.7;
    font-size: 16px;
  }

  @media (max-width: 767px) {
    .google-rating-header {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px;
    }
    .btn-call-why {
      width: 100%; /* Кнопка на всю ширину в мобільному */
    }
  }