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

:root {
    --primary: #1a3a5c;
    --secondary: #e8b44a;
    --accent: #c4513a;
    --light: #f7f4ef;
    --dark: #1d1d1d;
    --gray: #6b7280;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

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

header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-desktop a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
}

.nav-desktop a:hover {
    color: var(--primary);
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a6c 100%);
    color: var(--white);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    transform: rotate(15deg);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 450px;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-primary:hover {
    background: #d4a03f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232,180,74,0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #a8432f;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--white);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.section-header {
    margin-bottom: 50px;
}

.section-header-center {
    text-align: center;
}

.section-header-center .section-subtitle {
    margin: 0 auto;
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.magazine-main {
    flex: 2;
    min-width: 300px;
}

.magazine-sidebar {
    flex: 1;
    min-width: 280px;
}

.intro-block {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.intro-block h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.intro-block p {
    margin-bottom: 15px;
    color: var(--gray);
}

.sidebar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--gray);
    font-size: 0.95rem;
}

.sidebar-card li:last-child {
    border-bottom: none;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.service-card {
    flex: 1;
    min-width: 280px;
    max-width: calc(33.333% - 17px);
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), #3a5a7c);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.service-image svg {
    width: 80px;
    height: 80px;
    fill: var(--white);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 20px;
}

.price-from {
    font-size: 0.9rem;
    color: var(--gray);
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.price-unit {
    font-size: 0.9rem;
    color: var(--gray);
}

.features-wrap {
    display: flex;
    gap: 60px;
    align-items: center;
}

.features-image {
    flex: 1;
    min-width: 300px;
}

.features-image svg {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.features-list {
    flex: 1;
    min-width: 300px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), #d4a03f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--dark);
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary), #0d2840);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.testimonial-section {
    background: var(--light);
    position: relative;
}

.testimonial-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--dark);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

.cta-section {
    background: var(--secondary);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-section {
    background: var(--white);
}

.form-wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.form-info {
    flex: 1;
    min-width: 280px;
}

.form-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.form-info p {
    color: var(--gray);
    margin-bottom: 30px;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-list svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
}

.form-container {
    flex: 1.2;
    min-width: 320px;
    background: var(--light);
    padding: 50px;
    border-radius: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.cookie-text a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.cookie-accept {
    background: var(--secondary);
    color: var(--dark);
}

.cookie-reject {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.page-header {
    background: linear-gradient(135deg, var(--primary), #2a4a6c);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.breadcrumb a {
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.content-page {
    padding: 60px 0;
}

.content-page h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin: 35px 0 15px;
}

.content-page h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 25px 0 12px;
}

.content-page p {
    margin-bottom: 15px;
    color: var(--gray);
}

.content-page ul {
    margin: 15px 0;
    padding-left: 25px;
}

.content-page li {
    margin-bottom: 8px;
    color: var(--gray);
}

.about-hero {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image svg {
    width: 100%;
    max-width: 500px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.team-card {
    flex: 1;
    min-width: 250px;
    max-width: calc(33.333% - 20px);
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
}

.team-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo svg {
    width: 80px;
    height: 80px;
    fill: var(--white);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-info span {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info-box {
    flex: 1;
    min-width: 300px;
}

.contact-card {
    background: var(--white);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--dark);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-map {
    flex: 1.2;
    min-width: 300px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map svg {
    width: 80%;
    max-width: 400px;
    opacity: 0.8;
}

.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--light), var(--white));
}

.thanks-content svg {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.thanks-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta .btn {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.value-card {
    flex: 1;
    min-width: 250px;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.value-card svg {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    fill: var(--secondary);
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.process-step p {
    color: var(--gray);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .features-wrap {
        flex-direction: column;
    }

    .form-wrap {
        flex-direction: column;
    }

    .about-hero {
        flex-direction: column;
    }

    .service-card {
        max-width: calc(50% - 13px);
    }

    .team-card {
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        max-width: 100%;
    }

    .team-card {
        max-width: 100%;
    }

    .stats-grid {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-col {
        min-width: 150px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .intro-block {
        padding: 30px;
    }

    .form-container {
        padding: 30px;
    }

    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

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