* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #0f172a;
}

.brand i {
    color: #2563eb;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

nav a {
    color: #475569;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #2563eb;
}

.wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 24px 90px;
    flex: 1;
}

.hero {
    display: flex;
    justify-content: center;
}

.hero-text {
    width: 100%;
    max-width: 980px;
    background: linear-gradient(135deg, #ffffff, #eef4ff);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    max-width: 820px;
    margin: 0 auto 20px;
    font-size: 42px;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.hero p {
    max-width: 780px;
    margin: 0 auto 16px;
    font-size: 17px;
    color: #475569;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover {
    background: #1d4ed8;
}

.btn.secondary {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #dbe3ef;
}

.btn.secondary:hover {
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.clients-section {
    margin-top: 48px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 30px;
}

.section-title span {
    color: #2563eb;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title h2 {
    margin-top: 8px;
    color: #0f172a;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title p {
    color: #64748b;
    margin-top: 10px;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollLogos 18s linear infinite;
}

.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    width: 220px;
    height: 110px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(10%);
}

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    padding: 18px 24px;
    color: #64748b;
    font-size: 14px;
}

footer a {
    color: #2563eb;
    font-weight: 600;
}

@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 520px) {
    .wrapper {
        padding: 34px 16px 70px;
    }

    .hero-text,
    .clients-section {
        padding: 24px;
        border-radius: 18px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .logo-item {
        width: 180px;
        height: 96px;
    }
}

.contact-page {
    max-width: 880px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 30px;
}

.contact-intro h1 {
    font-size: 40px;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.contact-intro p {
    max-width: 680px;
    margin: 0 auto;
    color: #475569;
    font-size: 17px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.submit-btn {
    border: none;
    cursor: pointer;
    justify-content: center;
    margin-top: 8px;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 22px;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.hidden-field {
    display: none;
}

@media (max-width: 520px) {
    .contact-intro h1 {
        font-size: 30px;
    }

    .contact-card {
        padding: 24px;
        border-radius: 18px;
    }
}


.legal-page {
    max-width: 940px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 30px;
}

.legal-header h1 {
    font-size: 42px;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.legal-header p {
    max-width: 760px;
    margin: 0 auto 12px;
    color: #475569;
    font-size: 17px;
}

.legal-header small {
    display: inline-block;
    color: #64748b;
    font-size: 14px;
    margin-top: 8px;
}

.legal-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.legal-card h2 {
    color: #0f172a;
    font-size: 23px;
    line-height: 1.25;
    margin-top: 30px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p {
    color: #475569;
    font-size: 16px;
    margin-bottom: 14px;
}

.legal-card ul {
    margin: 8px 0 18px 22px;
    color: #475569;
}

.legal-card li {
    margin-bottom: 8px;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 700;
}

.inline-link:hover {
    color: #1d4ed8;
}

@media (max-width: 520px) {
    .legal-header h1 {
        font-size: 31px;
    }

    .legal-card {
        padding: 24px;
        border-radius: 18px;
    }

    .legal-card h2 {
        font-size: 20px;
    }
}