/* CSS Design System for LLC Consulting Bureau */

:root {
    --primary-green: #2D5A27;
    --primary-green-hover: #3B7533;
    --primary-green-light: #EBF2EC;
    --accent-red: #A64444;
    --accent-red-hover: #BF5252;
    --accent-red-light: #F9ECEC;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --bg-light: #FFFFFF;
    --bg-alt: #F8FAF8;
    --border-color: #E2E8F0;
    --max-width: 1200px;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 600px;
}

.section-padding {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-alt);
}

/* Typography & Titles */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.section-header.center-align {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.section-subtitle.red-color {
    color: var(--accent-red);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: #FFFFFF;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.header-logo-svg {
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phones-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-phone {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone:hover {
    color: var(--primary-green);
}

.icon-phone {
    stroke: var(--primary-green);
}

.phones-dropdown-container {
    position: relative;
}

.phones-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 16px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    margin-top: 12px;
}

.phones-dropdown-container:hover .phones-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-item {
    margin-bottom: 12px;
}

.tooltip-item:last-child {
    margin-bottom: 0;
}

.tooltip-name {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.tooltip-phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.tooltip-phone:hover {
    color: var(--primary-green);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF5F5 50%, #F5FAF5 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.badge-green {
    background-color: var(--primary-green-light);
    color: var(--primary-green);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.feat-icon {
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon.fill-green {
    background-color: var(--primary-green-light);
    color: var(--primary-green);
}

/* Hero Visual Graphics instead of simple photos */
.hero-image-container {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-decor {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    position: absolute;
    width: 320px;
    transition: var(--transition);
}

.hero-card-decor:hover {
    transform: translateY(-5px);
}

.card-red-accent {
    top: 10%;
    left: 0;
    border-left: 5px solid var(--accent-red);
}

.card-green-accent {
    bottom: 10%;
    right: 0;
    border-left: 5px solid var(--primary-green);
}

.decor-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.hero-card-decor p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.hero-badge-consult {
    background-color: var(--primary-green);
    color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 10;
}

.badge-num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.badge-lbl {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* Trust Strip */
.trust-strip {
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    flex: 1 1 200px;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.trust-item:last-child {
    border-right: none;
}

.trust-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 4px;
}

.trust-item:nth-child(2n) .trust-num {
    color: var(--accent-red);
}

.trust-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card:hover::before {
    background-color: var(--primary-green);
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.green-bg {
    background-color: var(--primary-green-light);
    color: var(--primary-green);
}

.red-bg {
    background-color: var(--accent-red-light);
    color: var(--accent-red);
}

.service-icon {
    stroke: currentColor;
}

.service-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.service-card-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-list {
    list-style: none;
}

.service-card-list li {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 16px;
}

.service-card:nth-child(3n) .service-card-list li::before,
.service-card:nth-child(4n) .service-card-list li::before {
    color: var(--accent-red);
}

/* Legal Section */
.legal-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.legal-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.legal-feat-card {
    display: flex;
    gap: 20px;
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.legal-feat-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1.2;
}

.legal-feat-text-block h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.legal-feat-text-block p {
    font-size: 14px;
    color: var(--text-muted);
}

.legal-card-main {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.legal-card-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    z-index: -1;
}

.legal-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-card-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.legal-shield-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--accent-red-light);
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    color: var(--accent-red);
}

.shield-icon {
    font-size: 28px;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.advantage-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.adv-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-green);
    background-color: var(--primary-green-light);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.adv-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.adv-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Comparison VS Container */
.vs-container {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.vs-title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-weight: 700;
    color: var(--text-dark);
}

.comparison-table td {
    color: var(--text-muted);
}

.comparison-table .highlight-column {
    background-color: var(--primary-green-light);
    color: var(--primary-green);
}

.comparison-table th.highlight-column {
    background-color: var(--primary-green);
    color: #FFFFFF;
    border-radius: 8px 8px 0 0;
}

.table-criteria {
    font-weight: 600;
    color: var(--text-dark);
}

.font-medium {
    font-weight: 500;
}

/* Steps Process Section */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--border-color);
    position: relative;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.step-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-color);
    margin-left: 15px;
}

.step-card:last-child .step-line {
    display: none;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Consultation Form Section */
.consultation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.consultation-contact-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.c-info-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: var(--primary-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-info-text span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.c-info-text strong {
    font-size: 16px;
    color: var(--text-dark);
}

.consultation-form-wrapper {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-title-under {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #FFFFFF;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.4;
}

.form-checkbox label a {
    color: var(--primary-green);
    text-decoration: underline;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: var(--text-dark);
}

.faq-icon-state {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-icon-state::before, .faq-icon-state::after {
    content: '';
    position: absolute;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.faq-icon-state::before {
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-icon-state::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-icon-state::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-question {
    color: var(--primary-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Callback Section */
.callback-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1c3d18 100%);
    color: #FFFFFF;
    text-align: center;
}

.callback-card {
    max-width: 500px;
    margin: 0 auto;
}

.callback-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.callback-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.callback-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.callback-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.callback-form .form-control:focus {
    background-color: #FFFFFF;
    color: var(--text-dark);
}

.callback-form .btn-primary {
    background-color: var(--accent-red);
}

.callback-form .btn-primary:hover {
    background-color: var(--accent-red-hover);
    box-shadow: 0 4px 12px rgba(166, 68, 68, 0.3);
}

.callback-form .form-checkbox {
    text-align: left;
}

.callback-form .form-checkbox label {
    color: rgba(255, 255, 255, 0.8);
}

.callback-form .form-checkbox label a {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacts-intro {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item-row {
    display: flex;
    gap: 20px;
}

.contact-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.phone-link, .email-link {
    color: inherit;
}

.phone-link:hover, .email-link:hover {
    color: var(--primary-green);
}

/* Yandex Map Styled Placeholder */
.contacts-map-block {
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #E2E8F0;
    /* Soft vector pattern to emulate a map */
    background-image: radial-gradient(circle, #CBD5E1 10%, transparent 11%), radial-gradient(circle, #CBD5E1 10%, transparent 11%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.map-overlay {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 320px;
}

.map-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.map-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.map-working-hours {
    font-weight: 600;
    color: var(--primary-green) !important;
}

/* Footer */
.site-footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-description-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 400px;
}

.footer-links h4, .footer-contacts-brief h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(5px);
}

.footer-contacts-brief p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-privacy-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Cookie Banner styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 16px 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

.cookie-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-btn {
    flex-shrink: 0;
}

/* Responsive CSS */
@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-container {
        height: auto;
        order: -1;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        padding: 20px 0;
    }

    .hero-card-decor {
        position: relative;
        width: 100%;
        max-width: 340px;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
    }

    .hero-badge-consult {
        position: relative;
        width: 100%;
        max-width: 340px;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        margin: 10px 0;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-flow {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        gap: 24px;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-contacts {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-visual {
        order: -1;
        max-width: 450px;
        margin: 0 auto;
    }

    .consultation-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-flow {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-line {
        display: none;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
}