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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.cookie-content p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-accept,
.btn-decline,
.btn-info {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.btn-accept {
    background: #2c5282;
    color: #fff;
}

.btn-accept:hover {
    background: #1e3a5f;
}

.btn-decline {
    background: #e53e3e;
    color: #fff;
}

.btn-decline:hover {
    background: #c53030;
}

.btn-info {
    background: #718096;
    color: #fff;
}

.btn-info:hover {
    background: #4a5568;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2d3748;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

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

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px;
    gap: 20px;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang {
    display: flex;
    gap: 15px;
    padding: 20px 0;
}


.top-bar {
    background: #2d3748;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.logo-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.logo-text {
    line-height: 1.2;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-link:hover {
    color: #cbd5e0;
}

.icon {
    font-size: 16px;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-flag {
    display: inline-block;
    transition: opacity 0.3;
}

.lang-flag.active img {
    border: 2px solid #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.lang-flag img {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.lang-flag:hover {
    opacity: 0.8;
}

.main-nav {
    background: #1a202c;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 18px 25px;
    display: block;
    transition: background 0.3s;
}

.nav-menu a:hover {
    background: #2d3748;
}

.btn-appointment {
    background: #2c5282;
    border-radius: 4px;
    margin-left: 15px;
}

.btn-appointment:hover {
    background: #2a4365 !important;
}

.hero {
    position: relative;
    background: #2d3748;
    color: #fff;
    padding: 80px 0;
    min-height: 500px;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-list {
    list-style: none;
    font-size: 18px;
    line-height: 2.2;
}

.service-item {
    margin-bottom: 25px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-item p {
    font-size: 14px;
    color: #e2e8f0;
}

.btn-cta {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s;
    text-align: center;
    line-height: 1.4;
}

.btn-cta:hover {
    background: #fff;
    color: #2d3748;
}


.expertise {
    padding: 80px 0;
    background: #f7fafc;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #2d3748;
    font-weight: 300;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.expertise-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.expertise-icon-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.expertise-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.expertise-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: none;
}

.expertise-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2d3748;
    letter-spacing: 0.5px;
}

.expertise-item p {
    font-size: 14px;
    line-height: 1.8;
    color: #4a5568;
}


.lawyer-bio {
    padding: 80px 0;
    background: #fff;
}

.bio-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.bio-text p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
}

.bio-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.philosophy {
    padding: 80px 0;
    background: #edf2f7;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

.signature {
    margin-top: 40px;
    font-style: italic;
    font-size: 18px;
}


.recommendations {
    padding: 80px 0;
    background: #fff;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.recommendation-item {
    padding: 30px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #2d3748;
}

.author {
    font-weight: bold;
    color: #2d3748;
}

.author span {
    font-weight: normal;
    color: #718096;
    font-size: 14px;
}


.contact-form-section {
    padding: 80px 0;
    background: #f7fafc;
}

.subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto 60px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5282;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2d3748;
    font-weight: 500;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input {
    width: auto;
    cursor: pointer;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label a {
    color: #2c5282;
}

.btn-submit {
    background: #2c5282;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #2a4365;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #c6f6d5;
    color: #22543d;
    display: block;
}

.form-message.error {
    background: #fed7d7;
    color: #742a2a;
    display: block;
}


.consultation-info {
    max-width: 900px;
    margin: 0 auto;
}

.consultation-info h3 {
    color: #2d3748;
    margin: 30px 0 15px;
    font-size: 22px;
}

.consultation-info p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #4a5568;
}

.consultation-info ul {
    margin: 20px 0 20px 30px;
    line-height: 1.8;
    color: #4a5568;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 18px;
}


.footer {
    background: #2d3748;
    color: #cbd5e0;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-columns ul {
    list-style: none;
}

.footer-columns li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-note {
    text-align: center;
    margin: 30px 0;
    font-style: italic;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 13px;
}

.footer-bottom a {
    color: #cbd5e0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

.credits {
    color: #a0aec0;
    font-size: 12px;
}


.privacy-content {
    padding: 60px 0;
    background: #fff;
}

.privacy-content h1 {
    color: #2d3748;
    margin-bottom: 30px;
    font-size: 36px;
}

.privacy-content h2 {
    color: #2d3748;
    margin: 35px 0 15px;
    font-size: 26px;
}

.privacy-content h3 {
    color: #2d3748;
    margin: 25px 0 12px;
    font-size: 20px;
}

.privacy-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4a5568;
}

.privacy-content ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
    color: #4a5568;
}

.privacy-content a {
    color: #2c5282;
}


@media (max-width: 1024px) {
    .hero-content,
    .bio-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .language-switcher {
        display: none;
    }

    .top-bar-content {
        font-size: 12px;
    }

    .logo {
        font-size: 14px;
    }

    .contact-link {
        font-size: 12px;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-list {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

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

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

    .contact-form {
        padding: 30px 20px;
    }

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

    .cookie-content {
        padding: 25px;
    }

    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .top-bar-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero-content {
        gap: 40px;
    }

    .btn-cta {
        padding: 12px 25px;
        font-size: 14px;
    }
}
