/* ============================================
   FONTS
   ============================================ */

@font-face {
    font-family: 'SF Pro Expanded';
    src: url('../fonts/SF-Pro-Expanded.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: expanded;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-synthesis: none;
}

body {
    font-family: 'SF Pro Expanded', 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #0F172A;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-feature-settings: 'ss01' on;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500; /* Medium для всех заголовков */
    letter-spacing: 0.02em;
}

/* ============================================
   CONTAINER
   ============================================ */

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    width: 100%;
    padding: 0 16px; /* минимальные боковые отступы для логотипа/меню */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.85;
}

.logo-img {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: #FFFFFF;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2463EB;
    transition: width 0.3s ease;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.main {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero {
    display: grid;
    grid-template-columns: 600px 600px;
    gap: 24px;
    align-items: center;
    padding: 40px 0;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 78px;
    font-weight: 500; /* Medium */
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
    font-variant-numeric: lining-nums;
    background: linear-gradient(135deg, #FFFFFF 0%, #C7D2FE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    font-weight: 400; /* Regular */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

/* ============================================
   STORE BUTTONS
   ============================================ */

.store-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 24px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 0 28px;
    height: 100px;
    width: 100%;
    max-width: 600px;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.store-btn:hover {
    transform: translateY(-2px) scale(1.03);
    opacity: 1;
}

.store-icon {
    width: auto;
    max-height: 80%;
    filter: brightness(1);
}

.store-btn:hover .store-icon {
    filter: brightness(1.15);
}

.compatibility-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
    line-height: 1.5;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    padding: 18px 48px;
    background: #2463EB;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(36, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(36, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-fines {
    display: inline-block;
    margin-bottom: 16px;
}

.legal-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ============================================
   HERO IMAGE
   ============================================ */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.hero-image--mobile {
    display: none;
}
.phone-mockup {
    max-width: 600px;
    width: 100%;
    filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.5));
    animation: float 3s ease-in-out infinite;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #2463EB;
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo a:hover {
    opacity: 0.85;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 1);
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* ============================================
   SECTION: SERVICES / ABOUT
   ============================================ */

.section {
    padding: 80px 0;
}
.section .container {
    padding: 0 16px; /* аккуратные боковые отступы только для секции */
}
.section-header {
    margin-bottom: 32px;
    max-width: 900px;
}
.section-title {
    font-size: 44px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #FFFFFF 0%, #C7D2FE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}
.card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 12px;
}
.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 8px 0 20px;
}
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}
.stat-value {
    font-size: 28px;
    font-weight: 700;
}
.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
}
.step-num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #2463EB;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}
.step h4 {
    font-size: 18px;
    margin-bottom: 6px;
}
.step p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, rgba(36, 99, 235, 0.12), rgba(36, 99, 235, 0.06));
    border: 1px solid rgba(36, 99, 235, 0.25);
    border-radius: 16px;
    padding: 16px 20px;
}
.cta-bar h4 {
    font-size: 20px;
    font-weight: 600;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-section {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.about-title {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.about-intro {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
}

.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: rgba(255, 255, 255, 0.7);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #FFFFFF;
    letter-spacing: 0.01em;
}

.feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
}

.about-footer {
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-note {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    letter-spacing: 0.01em;
}

/* ============================================
   CONTACTS PAGE
   ============================================ */

.contacts-section {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.contacts-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

.contacts-title {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.contacts-intro {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-block-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.requisites-note {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: -24px;
    margin-bottom: 8px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 17px;
    line-height: 1.6;
    color: #FFFFFF;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: #2463EB;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #25D366;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 16px;
}

.whatsapp-btn:hover {
    background: #20BD5A;
    transform: translateY(-2px);
}

.whatsapp-btn svg {
    flex-shrink: 0;
}

.requisites-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.requisite-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.requisite-item:last-child {
    border-bottom: none;
}

.requisite-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    min-width: 180px;
    flex-shrink: 0;
}

.requisite-value {
    font-size: 15px;
    line-height: 1.6;
    color: #FFFFFF;
    font-weight: 400;
    text-align: right;
    word-break: break-word;
}

.contacts-footer {
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contacts-note {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    letter-spacing: 0.01em;
}

/* ============================================
   FINES PAGE
   ============================================ */

.fines-section {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.fines-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.fines-title {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.fines-intro {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.fines-form {
    max-width: 700px;
    margin: 0 auto 48px;
}

.form-section {
    margin-bottom: 32px;
}

.form-section-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #FFFFFF;
    letter-spacing: 0.01em;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #FFFFFF;
    display: block;
}

.form-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: #2463EB;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: #2463EB;
}

.phone-prefix {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
}

.form-input-phone {
    border: none;
    background: transparent;
    padding: 16px 0;
}

.form-input-phone:focus {
    border: none;
    background: transparent;
}

.price-info {
    background: rgba(36, 99, 235, 0.1);
    border: 1px solid rgba(36, 99, 235, 0.3);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.price-value {
    font-size: 28px;
    font-weight: 500;
    color: #FFFFFF;
}

.btn-fines-submit {
    width: 100%;
    margin-bottom: 16px;
}

.form-note {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.form-note a {
    color: #2463EB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-note a:hover {
    color: #60A5FA;
}

/* Info Blocks - Horizontal Grid */
.fines-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.info-block:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.info-icon svg {
    width: 28px;
    height: 28px;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #FFFFFF;
}

.info-text {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   PAYMENT & SUCCESS PAGES
   ============================================ */

.payment-section,
.success-section {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.payment-content,
.success-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.payment-title {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    text-align: center;
}

.payment-info-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.payment-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-detail:last-child {
    border-bottom: none;
}

.payment-detail-total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.payment-detail-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.payment-detail-value {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
}

.payment-detail-total .payment-detail-value {
    font-size: 24px;
    color: #4ADE80;
}

#payment-form {
    margin: 32px 0;
}

.payment-note {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

/* Success Page */
.success-content {
    text-align: center;
}

.success-icon {
    margin: 0 auto 32px;
    width: 80px;
    height: 80px;
}

.success-title {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.success-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.success-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    text-align: left;
}

.success-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.success-detail-item:last-child {
    border-bottom: none;
}

.success-detail-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.success-detail-value {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
        justify-items: start;
        align-items: start;
    }

    .hero-title { font-size: 48px; }
    .hero-description { font-size: 18px; }

    .store-buttons {
        margin: 0 0 24px 0;
        padding: 0 24px;
        justify-content: flex-start;
    }

    .hero-content { order: 1; }
    .hero-image { order: 2; }

    .phone-mockup { max-width: 350px; }
}

@media (max-width: 768px) {
    .header {
        height: 80px;
    }

    .logo-img {
        height: 60px;
    }

    .nav-menu {
        gap: 16px;
        font-size: 13px;
    }

    .main {
        padding-top: 100px;
    }

    .hero {
        padding: 40px 0;
        justify-items: start;
        align-items: start;
        text-align: left;
    }

    .hero-title { font-size: 52px; line-height: 1.06; }

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

    .store-buttons {
        height: auto;
        padding: 16px 20px;
        gap: 8px;
        border-radius: 20px;
        grid-template-columns: repeat(3, 1fr);
    }

    .store-btn {
        height: 72px;
    }

    /* icon heights inherit natural size */

    .store-icon { max-height: 60%; }
    .phone-mockup { max-width: 300px; }

    .btn-primary {
        width: 100%;
        padding: 16px 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo .logo-img {
        height: 45px;
    }

    /* Мобильное меню — плавное раскрытие */
    .nav {
        position: static;
    }
    .nav-menu {
        position: fixed;
        top: 80px;            /* высота шапки на планшете */
        left: 0;
        right: 0;
        width: 100vw;         /* во всю ширину экрана */
        background: #0F172A;
        z-index: 1100;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 20px 24px;
        gap: 12px;
        display: flex;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.3s ease;
        pointer-events: none;
    }
    .nav-menu a {
        padding: 14px 4px;
        font-size: 22px;
    }
    .header.open .nav-menu {
        max-height: calc(100vh - 80px);
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .mobile-menu-toggle {
        width: 36px;
        height: 28px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
        background: transparent;
        border: none;
        outline: none;
        -webkit-appearance: none;
        appearance: none;
    }
    .mobile-menu-toggle::before,
    .mobile-menu-toggle::after {
        content: '';
        position: absolute;
        width: 26px;
        height: 2px;
        background: #fff;
        transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
    }
    .mobile-menu-toggle::before {
        top: 9px;
        box-shadow: 0 8px 0 0 #fff; /* средняя полоса */
    }
    .mobile-menu-toggle::after {
        top: 19px;
    }
    .mobile-menu-toggle.open::before {
        top: 14px;
        box-shadow: none;
        transform: rotate(45deg);
    }
    .mobile-menu-toggle.open::after {
        top: 14px;
        transform: rotate(-45deg);
    }
    /* Services section responsive */
    .card-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .cta-bar { flex-direction: column; align-items: flex-start; }

    /* About page responsive */
    .about-section {
        padding: 100px 0 60px;
    }
    .about-title {
        font-size: 42px;
    }
    .about-intro {
        font-size: 16px;
        margin-bottom: 48px;
        padding-bottom: 36px;
    }
    .about-features {
        gap: 40px;
    }
    .feature-item {
        gap: 20px;
    }
    .feature-icon {
        width: 44px;
        height: 44px;
    }
    .feature-icon svg {
        width: 28px;
        height: 28px;
    }
    .feature-title {
        font-size: 20px;
    }
    .feature-description {
        font-size: 15px;
    }

    /* Contacts page responsive */
    .contacts-section {
        padding: 100px 0 60px;
    }
    .contacts-title {
        font-size: 42px;
    }
    .contacts-intro {
        font-size: 16px;
        margin-bottom: 48px;
        padding-bottom: 36px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-block-title {
        font-size: 24px;
    }
    .contact-item {
        padding: 20px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    .contact-icon svg {
        width: 28px;
        height: 28px;
    }
    .contact-value {
        font-size: 16px;
    }
    .requisite-label {
        min-width: 150px;
        font-size: 13px;
    }
    .requisite-value {
        font-size: 14px;
    }

    /* Fines page responsive */
    .fines-section {
        padding: 100px 0 60px;
    }
    .fines-title {
        font-size: 42px;
    }
    .fines-intro {
        font-size: 15px;
        margin-bottom: 48px;
        padding-bottom: 36px;
    }
    .fines-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .info-block {
        padding: 18px 14px;
    }
    .price-info {
        padding: 18px 20px;
    }
    .price-label {
        font-size: 15px;
    }
    .price-value {
        font-size: 26px;
    }

    /* Показать телефон сразу под заголовком на мобильных */
    .hero-image--mobile { display: flex; margin: 10px 0 12px; order: 2; }
    /* Скрыть десктопный блок телефона */
    .hero > .hero-image { display: none; }
}

@media (max-width: 480px) {
    .header {
        height: 70px;
    }

    .logo-img {
        height: 50px;
    }

    /* Меню на мобильных — фиксированное, на всю ширину, с анимацией */
    .nav-menu {
        position: fixed;
        top: 70px;         /* высота мобильной шапки */
        left: 0;
        right: 0;
        width: 100vw;
        background: #0F172A;
        z-index: 1100;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 16px 18px;
        gap: 8px;
        display: flex;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.3s ease;
        pointer-events: none;
    }
    .nav-menu a { font-size: 20px; padding: 12px 2px; }
    .header.open .nav-menu {
        max-height: calc(100vh - 70px);
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .main {
        padding-top: 90px;
    }

    .hero {
        padding: 30px 0;
        justify-items: start;
        align-items: start;
        text-align: left;
    }

    .hero-title { font-size: 48px; line-height: 1.04; }

    .hero-description {
        font-size: 14px;
    }

    .store-buttons {
        width: 100%;
        padding: 12px 14px;
        grid-template-columns: repeat(3, 1fr);
    }

    .store-btn {
        height: 64px;
    }

    /* icon heights inherit natural size */

    .store-icon { max-height: 55%; }
    .phone-mockup { max-width: 280px; }

    .btn-primary {
        font-size: 16px;
        padding: 14px 28px;
    }

    .container {
        padding: 0 15px;
    }

    /* Services section extra small tweaks */
    .section-title { font-size: 36px; }
    .section-subtitle { font-size: 16px; }
    .stat-value { font-size: 24px; }

    /* About page extra small */
    .about-section {
        padding: 90px 0 50px;
    }
    .about-title {
        font-size: 36px;
        margin-bottom: 24px;
    }
    .about-intro {
        font-size: 15px;
        margin-bottom: 40px;
        padding-bottom: 32px;
    }
    .about-features {
        gap: 36px;
        margin-bottom: 48px;
    }
    .feature-item {
        flex-direction: column;
        gap: 16px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    .feature-icon svg {
        width: 26px;
        height: 26px;
    }
    .feature-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .feature-description {
        font-size: 14px;
        line-height: 1.65;
    }
    .about-footer {
        padding-top: 40px;
    }
    .about-note {
        font-size: 14px;
    }

    /* Contacts page extra small */
    .contacts-section {
        padding: 90px 0 50px;
    }
    .contacts-title {
        font-size: 36px;
        margin-bottom: 24px;
    }
    .contacts-intro {
        font-size: 15px;
        margin-bottom: 40px;
        padding-bottom: 32px;
    }
    .contacts-grid {
        gap: 36px;
    }
    .contact-block {
        gap: 28px;
    }
    .contact-block-title {
        font-size: 22px;
    }
    .requisites-note {
        font-size: 14px;
    }
    .contact-item {
        flex-direction: column;
        gap: 16px;
        padding: 18px;
    }
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
    .contact-label {
        font-size: 12px;
    }
    .contact-value {
        font-size: 15px;
    }
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }
    .requisites-list {
        gap: 16px;
    }
    .requisite-item {
        flex-direction: column;
        gap: 8px;
        padding: 14px 0;
        align-items: flex-start;
    }
    .requisite-label {
        min-width: auto;
        font-size: 12px;
    }
    .requisite-value {
        font-size: 14px;
        text-align: left;
    }
    .contacts-footer {
        padding-top: 40px;
    }
    .contacts-note {
        font-size: 14px;
    }

    /* Fines page extra small */
    .fines-section {
        padding: 90px 0 50px;
    }
    .fines-title {
        font-size: 36px;
        margin-bottom: 24px;
    }
    .fines-intro {
        font-size: 14px;
        margin-bottom: 40px;
        padding-bottom: 32px;
    }
    .form-section {
        margin-bottom: 28px;
    }
    .form-label {
        font-size: 15px;
    }
    .form-hint {
        font-size: 13px;
    }
    .form-input {
        padding: 14px 16px;
        font-size: 15px;
    }
    .phone-input-wrapper {
        padding: 0 16px;
    }
    .phone-prefix {
        font-size: 15px;
    }
    .form-input-phone {
        padding: 14px 0;
        font-size: 15px;
    }
    .price-info {
        padding: 14px 18px;
    }
    .price-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .price-label {
        font-size: 13px;
    }
    .price-value {
        font-size: 32px;
    }
    .fines-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .info-block {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        padding: 16px;
    }
    .info-icon {
        width: 32px;
        height: 32px;
    }
    .info-icon svg {
        width: 24px;
        height: 24px;
    }
    .info-title {
        font-size: 13px;
    }
    .info-text {
        font-size: 11px;
    }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

