:root {
    --color-bg: #FAFAF8;
    --color-primary: #2D4A3E;
    --color-primary-light: #3d6352;
    --color-secondary: #8B9E8B;
    --color-text: #1A1A1A;
    --color-text-muted: #666660;
    --color-border: #E5E5E0;
    --color-white: #FFFFFF;

    --font-logo: 'JetBrains Mono', monospace;
    --font-heading: 'Instrument Serif', serif;
    --font-body: 'DM Sans', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);

    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.25rem;
}

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

a:hover {
    color: var(--color-primary-light);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease,
                background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(45, 74, 62, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 74, 62, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 74, 62, 0.2);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover svg {
    transform: translateX(4px);
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(250, 250, 248, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--space-md);
}

.logo {
    font-family: var(--font-logo);
    /* font-size: 1.125rem; */
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--color-secondary);
}

.nav-links {
    display: none;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9375rem;
    color: var(--color-text);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.telegram-link {
    display: none;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-logo);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

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

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    padding: var(--space-2xl) 0 var(--space-3xl);
    overflow: hidden;
}

.hero-content {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.hero-subhead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

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

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover {
    transform: scale(1.02);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, transparent 60%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-image-wrapper:hover::before {
    opacity: 0.5;
    transform: scale(1.05);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    object-fit: cover;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

.verification-badge {
    position: absolute;
    bottom: 60px;
    left: -10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    background: linear-gradient(135deg, var(--color-white) 0%, #f8f8f6 100%);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 50px;
    box-shadow:
        0 4px 20px rgba(45, 74, 62, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 10;
    opacity: 0;
    transform: translateX(-20px) scale(0.9);
    animation: badgeSlideIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

@keyframes badgeSlideIn {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.verification-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(45, 74, 62, 0.2) 0%, transparent 50%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.verification-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(145deg, var(--color-primary) 0%, #1f352c 100%);
    border-radius: 50%;
    color: var(--color-primary);
    box-shadow:
        0 2px 8px rgba(45, 74, 62, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: iconPulse 2s ease-in-out 1.2s;
}

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

.verification-badge-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.verification-badge-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    line-height: 1;
}

.verification-badge:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(45, 74, 62, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.verification-badge:hover .verification-badge-icon {
    animation: none;
    transform: scale(1.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 767px) {
    .verification-badge {
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        animation: badgeSlideInMobile 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
    }

    @keyframes badgeSlideInMobile {
        to {
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }
    }

    .verification-badge:hover {
        transform: translateX(-50%) translateY(-2px);
    }
}

.trust-bar {
    background: linear-gradient(135deg, #f0f2ed 0%, #e8ebe4 50%, #f2f4ef 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(45, 74, 62, 0.08);
    border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

.trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(139, 158, 139, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(45, 74, 62, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.trust-bar-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.trust-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-md);
    position: relative;
    cursor: default;
    transition: background-color 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.trust-item:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.trust-item-number {
    font-family: var(--font-logo);
    font-size: 0.625rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    opacity: 0.35;
    position: absolute;
    top: 12px;
    left: 16px;
    transition: opacity 0.5s ease;
    display: none;
}

.trust-item:hover .trust-item-number {
    opacity: 0.6;
}

.trust-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.trust-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(45, 74, 62, 0.08);
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 10px;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                background-color 0.5s ease,
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

.trust-item:hover .trust-item-icon {
    transform: scale(1.08) rotate(-3deg);
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(45, 74, 62, 0.2);
}

.trust-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.trust-item-detail {
    font-family: var(--font-logo);
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.trust-divider {
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(45, 74, 62, 0.15) 30%,
        rgba(45, 74, 62, 0.15) 70%,
        transparent 100%
    );
    align-self: stretch;
}

@media (max-width: 900px) {
    .trust-bar-inner {
        flex-wrap: wrap;
    }

    .trust-item {
        flex: 1 1 50%;
        min-width: 200px;
        justify-content: flex-start;
        padding: var(--space-md);
    }

    .trust-item-content {
        justify-content: flex-start;
    }

    .trust-divider {
        display: none;
    }

    .trust-item-number {
        top: 8px;
        left: 12px;
    }
}

@media (max-width: 500px) {
    .trust-item {
        flex: 1 1 100%;
    }
}

.trust-item:nth-child(1) { animation-delay: 0s; }
.trust-item:nth-child(3) { animation-delay: 0.1s; }
.trust-item:nth-child(5) { animation-delay: 0.2s; }
.trust-item:nth-child(7) { animation-delay: 0.3s; }

.services,
.how-it-works,
.faq,
.about,
.contact {
    padding: var(--space-3xl) 0;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: var(--space-xl);
}

.services-grid {
    display: grid;
    gap: var(--space-md);
}

.service-card {
    padding: var(--space-lg);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.5s ease-out,
                background-color 0.5s ease-out;
    will-change: transform, box-shadow;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow:
        0 30px 60px rgba(45, 74, 62, 0.15),
        0 15px 30px rgba(45, 74, 62, 0.1),
        0 5px 10px rgba(45, 74, 62, 0.05);
}

.service-card h3 {
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
    transition: color 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover h3 {
    color: var(--color-primary-light);
    transform: translateX(4px);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    transition: color 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.05s,
                opacity 0.5s ease-out;
}

.service-card:hover p {
    color: var(--color-text);
}

.bookkeeping {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a332b 100%);
}

.bookkeeping-card {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.bookkeeping-content {
    color: var(--color-white);
}

.bookkeeping-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.bookkeeping h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.bookkeeping p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin-bottom: var(--space-lg);
}

.bookkeeping-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    list-style: none;
    margin-bottom: var(--space-lg);
}

.bookkeeping-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.bookkeeping-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

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

.bookkeeping .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
}

.bookkeeping-icon {
    display: none;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
    .bookkeeping-card {
        grid-template-columns: 1fr auto;
    }

    .bookkeeping-icon {
        display: flex;
    }
}

@media (min-width: 640px) {
    .bookkeeping-features {
        grid-template-columns: repeat(2, auto);
        justify-content: start;
        gap: var(--space-sm) var(--space-xl);
    }
}

.how-it-works {
    background-color: var(--color-white);
}

.steps {
    display: grid;
    gap: var(--space-lg);
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    align-items: start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    background-color: var(--color-bg);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.3s ease,
                color 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    background-color: var(--color-primary);
    color: var(--color-white);
}

.step h3 {
    margin-bottom: var(--space-xs);
}

.step p {
    color: var(--color-text-muted);
    grid-column: 2;
}

.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    cursor: pointer;
    list-style: none;
    transition: color 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                padding-left 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item summary:hover {
    color: var(--color-primary);
    padding-left: 8px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                background-color 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(45, 74, 62, 0.08);
    flex-shrink: 0;
}

.faq-item summary:hover::after {
    background-color: rgba(45, 74, 62, 0.15);
}

.faq-item[open] summary::after {
    transform: rotate(135deg);
}

.faq-item[open] summary {
    color: var(--color-primary);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                padding 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    padding-bottom: 0;
}

.faq-item[open] .faq-answer {
    grid-template-rows: 1fr;
    padding-bottom: var(--space-lg);
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer p {
    line-height: 1.7;
    color: var(--color-text-muted);
    transform: translateY(-15px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.15s,
                opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.15s;
}

.faq-item[open] .faq-answer p {
    transform: translateY(0);
    opacity: 1;
}

.about-content {
    display: grid;
    gap: var(--space-xl);
    align-items: start;
}

.about-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-lg);
}

.about-text p {
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
}

.about-text p:last-child {
    margin-bottom: 0;
}

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

.contact-content {
    display: grid;
    gap: var(--space-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-method h3 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.contact-method a,
.contact-method p {
    font-size: 1.125rem;
    color: var(--color-text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #c44;
}

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

.form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-form.submitted .form-fields {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.form-error {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    color: #b91c1c;
    font-size: 0.875rem;
    animation: shake 0.4s ease;
}

.form-error[hidden] {
    display: none;
}

.form-error svg {
    flex-shrink: 0;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    animation: fadeInUp 0.5s ease;
}

.form-success[hidden] {
    display: none;
}

.form-success-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    animation: scaleIn 0.4s ease 0.1s both;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.form-success p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .form-fields,
    .form-error,
    .form-success,
    .form-success-icon {
        animation: none;
        transition: none;
    }
}

.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-disclaimer {
    padding-top: 58px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.footer-disclaimer p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.nav-links.active a {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-links.active a:last-child {
    border-bottom: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger:nth-child(2) { transition-delay: 0.12s; }
.fade-in-stagger:nth-child(3) { transition-delay: 0.24s; }
.fade-in-stagger:nth-child(4) { transition-delay: 0.36s; }
.fade-in-stagger:nth-child(5) { transition-delay: 0.48s; }
.fade-in-stagger:nth-child(6) { transition-delay: 0.60s; }

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

@media (min-width: 640px) {
    .trust-items {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .telegram-link {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

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

    .hero-image {
        justify-content: flex-end;
    }

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

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number {
        margin: 0 auto var(--space-md);
    }

    .step p {
        grid-column: 1;
    }

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

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-image-wrapper {
        max-width: 400px;
    }
}
