
:root {
    --primary: #0066cc;
    --primary-dark: #004c99;
    --secondary: #00a651;
    --accent: #ff6600;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

main {
    display: block;
    padding-top: 88px;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-fade-in:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.4s; }

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.logo img,
img.logo {
    height: 65px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.3);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 520px);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text {
    max-width: 560px;
}
.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-video-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.hero-widget {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 560px;
    margin-left: auto;
}

.market-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.market-title {
    font-weight: 600;
    color: var(--text-dark);
}

.market-status {
    color: var(--secondary);
    font-weight: 600;
}

.chart-placeholder {
    position: relative;
    height: 220px;
    padding: 12px;
    background: linear-gradient(135deg, #dbeafe, #dcfce7);
    border-radius: 12px;
    margin-bottom: 16px;
}

.chart-placeholder canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.video-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-box video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.market-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.stat-box {
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-box .stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.stat-box .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.stat-change {
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #16a34a;
}

.stat-change.negative {
    color: #dc2626;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 280px));
    justify-content: left;
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.services {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2,
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p,
.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: var(--bg-white);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.service-link:hover {
    gap: 10px;
}

.login-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.login-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.login-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-gradient);
    opacity: 0;
    transition: var(--transition);
}

.login-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--card-border);
}

.login-card:hover::before {
    opacity: 1;
}

.login-card.admin {
    --card-gradient: linear-gradient(90deg, #7c3aed, #db2777);
    --card-border: #7c3aed;
}

.login-card.buyer {
    --card-gradient: linear-gradient(90deg, var(--secondary), #10b981);
    --card-border: var(--secondary);
}

.login-card.seller {
    --card-gradient: linear-gradient(90deg, var(--accent), #ea580c);
    --card-border: var(--accent);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
    background: var(--card-gradient);
}

.login-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.login-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 24px;
    min-height: 48px;
}

.card-features {
    list-style: none;
    margin-bottom: 24px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.card-features i {
    color: var(--card-border);
    font-size: 0.875rem;
}

.login-card .btn {
    width: 100%;
}

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

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

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-brand .logo img,
.footer-brand img.logo {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 3000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-white);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: var(--transition);
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.service-modal {
    background: #fff;
    width: 100%;
    max-width: 640px;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    transform: translateY(20px);
    transition: 0.25s ease;
}

.modal-overlay.active .service-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 24px;
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header .card-icon {
    margin: 0 auto 16px;
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-header p,
.modal-footer,
.service-modal-content p,
.service-steps ol {
    color: var(--text-gray);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
    font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.9rem;
    gap: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-gray);
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.modal .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.modal-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.service-modal-content {
    text-align: left;
}

.service-modal-content h4 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.service-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.service-features li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-features i {
    color: var(--secondary);
    font-style: normal;
}

.service-steps {
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px 20px;
}

.service-steps h5 {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-dark);
}

body.modal-open {
    overflow: hidden;
}

.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

.service-icon-img,
.card-icon-img,
.hero-btn-icon {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.hero-btn-icon {
    width: 18px;
    height: 18px;
}

.card-icon-img {
    width: 30px;
    height: 30px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.content-section {
    padding: 70px 0 80px;
    background: var(--bg-white);
}

.contact-grid,
.doc-list,
.contact-methods {
    display: grid;
    gap: 20px;
}

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

.doc-list {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
}

.contact-card,
.doc-card,
.contact-method,
.requisites-box,
.support-form,
.faq-section {
    background: var(--bg-light);
    border-radius: 18px;
    padding: 28px;
    border: 1px solid var(--border);
}

.contact-card h3,
.form-title,
.faq-title {
    margin-bottom: 18px;
    font-size: 1.2rem;
    color: var(--text-dark);
}

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

.contact-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.contact-item span,
.doc-card p,
.contact-method p {
    color: var(--text-gray);
}

.requisites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
}

.req-item {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--border);
}

.req-item label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.req-item span {
    color: var(--text-dark);
    font-weight: 600;
}

.contract-container {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contract-header,
.contract-footer {
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.contract-header {
    border-bottom: 1px solid var(--border);
}

.contract-title {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.contract-actions,
.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contract-body {
    padding: 32px;
}

.contract-text h3 {
    font-size: 1.1rem;
    margin: 28px 0 12px;
    color: var(--text-dark);
}

.contract-text p,
.contract-text ul,
.contract-info {
    color: var(--text-gray);
}

.contract-text ul {
    margin: 0 0 16px 20px;
}

.contract-text li {
    margin-bottom: 8px;
}

.contract-footer {
    padding-top: 24px;
    padding-bottom: 32px;
    border-top: 1px solid var(--border);
}

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

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

.file-upload {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    background: var(--bg-white);
    cursor: pointer;
}

.file-upload input {
    display: none;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-answer {
    display: none;
    margin-top: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.contact-method h4,
.doc-card h4 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

a,
button,
input,
textarea,
select,
.service-card,
.login-card,
.faq-item,
.service-card * {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 992px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text,
    .hero-video-wrap {
        max-width: 100%;
        flex: none;
    }

    .hero-text p,
    .hero-buttons {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

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

    .footer-grid,
    .contact-grid,
    .doc-list,
    .contact-methods,
    .content-grid,
    .requisites-grid {
        grid-template-columns: 1fr;
    }

    .contract-header,
    .contract-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul {
        display: none;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        padding: 120px 0 70px;
    }

    .hero-text h1,
    .page-hero h1 {
        font-size: 2.25rem;
    }

    .hero-stats,
    .market-stats,
    .login-cards,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        text-align: center;
    }

    .social-links,
    .hero-buttons {
        justify-content: center;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero {
        padding: 120px 0 50px;
    }

    .content-section {
        padding: 50px 0 60px;
    }

    .contract-header,
    .contract-body,
    .contract-footer,
    .support-form,
    .faq-section,
    .requisites-box,
    .contact-card,
    .doc-card,
    .service-modal,
    .modal {
        padding: 22px;
    }
}
