/* Custom Styling: Vadim Korchukov Portfolio */
:root {
    /* Warm Architectural & Premium Real Estate Palette */
    --bg-base: #fdfbf7;
    --bg-surface: #ffffff;
    --bg-warm-tint: #f5efe6;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-accent-soft: #fbf2e3;
    
    --brand-primary: #1e1b18; /* Warm Dark Graphite */
    --brand-terracotta: #c4552b; /* Architectural Terracotta */
    --brand-terracotta-hover: #ad441c;
    --brand-amber: #d97706;
    --brand-sand: #e6ddce;
    --brand-clay: #78350f;
    
    --text-heading: #1e1b18;
    --text-body: #44403c;
    --text-muted: #78716c;
    --text-light: #a8a29e;
    
    --border-subtle: #e8e4dc;
    --border-warm: #ebd5c1;
    
    --shadow-sm: 0 2px 8px rgba(30, 27, 24, 0.04);
    --shadow-md: 0 10px 30px -5px rgba(30, 27, 24, 0.07);
    --shadow-lg: 0 20px 40px -10px rgba(30, 27, 24, 0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-body);
    line-height: 1.6;
    padding-bottom: 90px;
    position: relative;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

/* Typography */
h1, h2, h3, .font-heading {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-heading);
    letter-spacing: -0.015em;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ambient Spheres - Strictly contained within overflow hidden */
.ambient-sphere-1 {
    position: absolute;
    top: -60px;
    right: 0;
    width: 320px;
    height: 320px;
    max-width: 100vw;
    background: radial-gradient(circle, rgba(235, 199, 163, 0.35) 0%, rgba(253, 251, 247, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(50px);
    overflow: hidden;
}
.ambient-sphere-2 {
    position: absolute;
    top: 40%;
    left: 0;
    width: 320px;
    height: 320px;
    max-width: 100vw;
    background: radial-gradient(circle, rgba(244, 219, 190, 0.3) 0%, rgba(253, 251, 247, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(60px);
    overflow: hidden;
}

@media (min-width: 992px) {
    .ambient-sphere-1 {
        width: 550px;
        height: 550px;
        top: -120px;
        right: -80px;
        filter: blur(60px);
    }
    .ambient-sphere-2 {
        width: 500px;
        height: 500px;
        left: -100px;
        filter: blur(70px);
    }
}

/* Header & Navbar - High Polish */
.navbar-custom {
    background: rgba(253, 251, 247, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    padding-top: 10px;
    padding-bottom: 10px;
}
.navbar-brand-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.navbar-brand-subtitle {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-terracotta);
    font-weight: 700;
}
@media (max-width: 400px) {
    .navbar-brand-title {
        font-size: 1.05rem;
    }
    .navbar-brand-subtitle {
        font-size: 0.62rem;
    }
}

/* Mobile Menu Smooth Transition */
.navbar-collapse {
    background: transparent;
}
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        border-radius: 20px;
        border: 1px solid var(--border-subtle);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
        padding: 0;
        margin-top: 10px;
    }
    .navbar-collapse .navbar-nav {
        padding: 12px 14px 16px;
    }
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 12px 14px !important;
        border-bottom: 1px solid #f6f3ee;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

.nav-link {
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 10px !important;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.nav-link:hover, .nav-link:focus {
    color: var(--brand-terracotta);
    background: rgba(196, 85, 43, 0.06);
}

.navbar-toggler {
    padding: 8px 12px;
    background: #faf6f0;
    border-radius: 12px;
    border: 1px solid var(--border-subtle) !important;
    transition: all 0.2s ease;
}
.navbar-toggler:active {
    transform: scale(0.95);
    background: #f0ebe1;
}

/* Range Slider Custom Styling */
.custom-range {
    height: 8px;
    background-color: #ede6dc;
    border-radius: 6px;
    outline: none;
    accent-color: var(--brand-terracotta);
}
.custom-range::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-terracotta);
    box-shadow: 0 2px 6px rgba(196, 85, 43, 0.4);
    cursor: pointer;
    border: 2px solid #ffffff;
    transition: transform 0.15s ease;
}
.custom-range::-webkit-slider-thumb:hover,
.custom-range::-webkit-slider-thumb:active {
    transform: scale(1.15);
}
.custom-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-terracotta);
    box-shadow: 0 2px 6px rgba(196, 85, 43, 0.4);
    cursor: pointer;
    border: 2px solid #ffffff;
}

/* Warm Card - Mobile-First Compact & Refined */
.warm-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    width: 100%;
    padding: 1rem 1.15rem !important; /* Компактные внутренние отступы */
}
.warm-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-warm);
}

.warm-card h4, .warm-card .h5 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--brand-primary) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
}

.warm-card p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: #4a5568 !important;
    margin-bottom: 0.5rem !important;
}

.warm-card a {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
}

.icon-accent-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(194, 91, 59, 0.1);
    color: var(--brand-terracotta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fdf2e9;
    color: var(--brand-terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 12px;
    border: 1px solid #f9d8c0;
}

/* Badges */
.badge-warm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdf2e9;
    color: #b4431a;
    border: 1px solid #f9d8c0;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    max-width: 100%;
}

/* Round Circular Photo Frames */
.hero-avatar-box {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.avatar-round-frame {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(196, 85, 43, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 6px solid #ffffff;
    outline: 2.5px solid var(--border-warm);
    background: #f5efe6;
    margin: 0 auto;
}
@media (max-width: 576px) {
    .avatar-round-frame {
        width: 230px;
        height: 230px;
        border-width: 5px;
    }
}
.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}
.hero-avatar-box:hover .avatar-img {
    transform: scale(1.05);
}

/* About Section Circular Frame */
.about-avatar-round-frame {
    position: relative;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(196, 85, 43, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 6px solid #ffffff;
    outline: 2.5px solid var(--border-warm);
    background: #f5efe6;
    margin: 0 auto;
}
@media (max-width: 576px) {
    .about-avatar-round-frame {
        width: 230px;
        height: 230px;
        border-width: 5px;
    }
}

.status-pill {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Hero UI/UX Premium AIDA Enhancements */
.hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
    font-weight: 700;
}
.hero-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-body);
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.22;
    }
    .hero-desc {
        font-size: 1.05rem;
        line-height: 1.55;
    }
}
@media (min-width: 992px) {
    .hero-title {
        font-size: 2.65rem;
        line-height: 1.2;
    }
    .hero-desc {
        font-size: 1.12rem;
        line-height: 1.6;
    }
}

/* Стили для компактной модальной кнопки наград и отзывов */
.btn-cred-modal {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
    border: 1.5px solid #fde68a;
    color: #92400e !important;
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
    transition: all 0.25s ease;
}
.btn-cred-modal:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
    color: #78350f !important;
}

/* Компактные микро-карточки услуг */
.shadow-xs {
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}
.shadow-xs:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.07);
    border-color: #e2e8f0 !important;
}

/* Стили для секции Дипломов и Отзывов */
.cred-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.28s ease;
}

.cred-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Фото документов и оверлей при наведении */
.cred-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f1f5f9;
    cursor: pointer;
}

.cred-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.cred-img-wrapper:hover img {
    transform: scale(1.05);
}

.cred-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cred-img-wrapper:hover .cred-img-overlay {
    opacity: 1;
}
.cred-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.cred-icon-box--kfu {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}
.cred-icon-box--guild {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}
.cred-icon-box--tech {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}
.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #334155;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
}

/* Золотистый Trust-бейдж репутации (Hero) */
.hero-gold-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #fffdfa 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.12);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
    cursor: pointer;
}
.hero-gold-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22);
    border-color: #f59e0b;
}
.hero-gold-badge__stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.8rem;
}
.hero-gold-badge__score {
    font-size: 0.88rem;
    font-weight: 800;
    color: #92400e;
    line-height: 1;
}
.hero-gold-badge__sep {
    color: #d97706;
    font-size: 0.75rem;
    opacity: 0.6;
}
.hero-gold-badge__txt {
    font-size: 0.82rem;
    font-weight: 600;
    color: #78350f;
    line-height: 1;
}
.hero-gold-badge__pill {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 4px rgba(217, 119, 6, 0.3);
}
@media (max-width: 576px) {
    .hero-gold-badge {
        padding: 5px 10px;
        gap: 6px;
    }
    .hero-gold-badge__txt {
        font-size: 0.76rem;
    }
    .hero-gold-badge__pill {
        font-size: 0.68rem;
        padding: 2px 6px;
    }
}

.hero-benefit-item {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-heading);
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    white-space: nowrap;
    line-height: 1.2;
}
@media (min-width: 576px) {
    .hero-benefit-item {
        font-size: 0.84rem;
        padding: 6px 12px;
    }
}
}

/* Hero Action CTA Buttons Grid */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    position: relative !important;
    overflow: hidden !important;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
    z-index: 1;
}
.hero-cta-group .btn > * {
    position: relative;
    z-index: 4;
}
.hero-cta-group .btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 70% !important;
    height: 100% !important;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.95) 50%, rgba(210, 235, 255, 0.8) 65%, transparent 100%) !important;
    transform: translateX(-160%) skewX(-18deg) !important;
    pointer-events: none !important;
    z-index: 3 !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}
.hero-cta-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Поочередная анимация пробегающего светового блика */
.hero-cta-group .btn:nth-child(1)::before {
    animation: btnSheen 3.2s 0.2s infinite !important;
}
.hero-cta-group .btn:nth-child(2)::before {
    animation: btnSheen 3.2s 1.0s infinite !important;
}
.hero-cta-group .btn:nth-child(3)::before {
    animation: btnSheen 3.2s 1.8s infinite !important;
}
.hero-cta-group .btn:nth-child(4)::before {
    animation: btnSheen 3.2s 2.6s infinite !important;
}

@keyframes btnSheen {
    0% {
        transform: translateX(-160%) skewX(-18deg);
    }
    45%, 100% {
        transform: translateX(320%) skewX(-18deg);
    }
}
@media (min-width: 576px) {
    .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        width: auto;
    }
    .hero-cta-group .btn {
        width: auto;
    }
}
.hero-floating-card {
    position: absolute;
    bottom: 5px;
    left: -15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    border-radius: 16px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    animation: floatBadge 4s ease-in-out infinite alternate;
}
@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-7px); }
}
@media (max-width: 991px) {
    .hero-floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 18px auto 0 auto;
        display: inline-flex;
        animation: none;
    }
}
.status-pill .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.85); opacity: 0.6; }
}

/* Buttons */
.btn-warm-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #c4552b 0%, #ad441c 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(196, 85, 43, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.btn-warm-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(196, 85, 43, 0.45);
    background: linear-gradient(135deg, #d45c2f 0%, #b84a1e 100%);
    color: #ffffff !important;
}
.btn-warm-primary::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 4.5s ease-in-out infinite;
}
.btn-telegram-direct {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3BB9F0 0%, #1E7FD4 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(42, 171, 238, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.btn-telegram-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(42, 171, 238, 0.48);
    color: #ffffff !important;
}
.btn-telegram-direct::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 4.5s ease-in-out infinite;
}
.btn-whatsapp-direct {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.btn-whatsapp-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}
.btn-whatsapp-direct::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 4.5s ease-in-out infinite;
}
.btn-warm-outline {
    background: #ffffff;
    color: var(--text-heading) !important;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    padding: 12px 20px;
    border-radius: 14px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.btn-warm-outline:hover {
    border-color: var(--brand-terracotta);
    color: var(--brand-terracotta) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Social Cards */
.social-chip {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    width: 100%;
}
.social-chip-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.social-chip:hover {
    border-color: var(--brand-terracotta);
    color: var(--brand-terracotta);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.social-chip img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Icon box */
.icon-accent-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #fdf2e9;
    color: var(--brand-terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
    border: 1px solid #f9d8c0;
}

/* Stat Item */
.stat-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 6px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: transform 0.2s ease;
}
.stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--brand-terracotta);
    font-family: 'Playfair Display', Georgia, serif;
    white-space: nowrap;
}
.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 4px;
    line-height: 1.25;
    text-align: center;
}
@media (min-width: 576px) {
    .stat-item {
        border-radius: 18px;
        padding: 14px 16px;
    }
    .stat-value {
        font-size: 1.85rem;
    }
    .stat-label {
        font-size: 0.72rem;
    }
}
@media (min-width: 992px) {
    .stat-value {
        font-size: 2.1rem;
    }
    .stat-item {
        padding: 16px 18px;
    }
}

/* Calculator */
.calc-panel {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: 24px 20px;
}
@media (min-width: 768px) {
    .calc-panel {
        padding: 32px;
    }
}
.calc-result-box {
    background: #fdfbf7;
    border: 1px solid #ebd5c1;
    border-radius: 20px;
    padding: 20px;
}
@media (min-width: 768px) {
    .calc-result-box {
        padding: 28px;
    }
}
.form-control-warm, .form-select-warm {
    background-color: #faf8f5;
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-heading);
    transition: all 0.2s ease;
    max-width: 100%;
}
.form-control-warm:focus, .form-select-warm:focus {
    background-color: #ffffff;
    border-color: var(--brand-terracotta);
    box-shadow: 0 0 0 4px rgba(196, 85, 43, 0.12);
    outline: none;
}

/* Micro Social Buttons under avatar */
.social-icon-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    padding: 0;
    transition: all 0.2s ease;
}
.social-icon-circle:hover {
    transform: translateY(-2px);
    border-color: var(--brand-terracotta);
    box-shadow: var(--shadow-sm);
}
.social-icon-circle img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
}
/* Bottom Mobile Floating Dock (Плавающая панель на мобильных) */
.mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 1050;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
}
@media (max-width: 991px) {
    .mobile-dock {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 8px;
    }
}
.dock-btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 4px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    border: 1px solid transparent;
}
.dock-btn:active {
    transform: scale(0.95);
}
.dock-btn i {
    font-size: 1.1rem;
    margin-bottom: 3px;
}
.dock-btn-phone {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #e2e8f0;
}
.dock-btn-phone i {
    color: #059669;
}
.dock-btn-tg {
    background: linear-gradient(135deg, #229ED9 0%, #1783b7 100%);
    color: #ffffff !important;
    border-color: #229ED9;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.28);
}
.dock-btn-tg i {
    color: #ffffff !important;
}
.dock-btn-wa {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    position: relative;
    border-color: #15803d;
}
.dock-btn-wa i {
    color: #ffffff;
}
.dock-btn-wa::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: #fef08a;
    border-radius: 50%;
    box-shadow: 0 0 6px #fef08a;
    animation: dockPulse 2s infinite;
}
@keyframes dockPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}
.dock-btn-save {
    background: #fdf4ff;
    color: #86198f;
    border-color: #f5d0fe;
}
.dock-btn-save i {
    color: #a21caf;
}
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.dock-btn:active {
    transform: scale(0.95);
}
.dock-btn i {
    font-size: 1.1rem;
    margin-bottom: 2px;
    display: block;
}
.dock-btn span {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dock-btn-phone {
    background: #fbf2e3;
    color: var(--brand-terracotta);
    border: 1px solid #f9d8c0;
}
.dock-btn-tg {
    background: linear-gradient(135deg, #229ED9 0%, #1783b7 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.35);
    flex: 1.15 1 0;
    position: relative;
    overflow: hidden;
}
.dock-btn-tg i {
    color: #ffffff !important;
    background: transparent !important;
    -webkit-text-fill-color: initial !important;
}
.dock-btn-tg::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-150%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 3.8s ease-in-out infinite;
}
.dock-btn-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    flex: 1.1 1 0;
    position: relative;
    overflow: hidden;
}
.dock-btn-wa i {
    color: #ffffff !important;
}
.dock-btn-wa::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-150%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 3.8s ease-in-out infinite 0.6s;
}
.dock-btn-wa:hover, .dock-btn-wa:focus {
    color: #ffffff;
}
.dock-btn-max {
    background: linear-gradient(135deg, #2a54ff 0%, #5c38ec 50%, #8c25f5 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(92, 56, 236, 0.35);
    flex: 1.05 1 0;
}
.dock-btn-max:hover, .dock-btn-max:focus {
    color: #ffffff;
}
.dock-btn-save {
    background: #ffffff;
    color: var(--text-body);
    border: 1px solid var(--border-subtle);
}

/* Текстовый переливающийся градиент для акцентов (Sheen text effect) */
.text-sheen-highlight {
    display: inline-block;
    position: relative;
    font-weight: 800;
    background: linear-gradient(
        110deg,
        #c4552b 0%,
        #ea580c 25%,
        #fef08a 48%,
        #ffffff 50%,
        #fef08a 52%,
        #ea580c 75%,
        #c4552b 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textSheenShine 4s linear infinite;
}

@keyframes textSheenShine {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}
   ========================================================================== */
@media (min-width: 601px) {
    .rc-btns {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .rc-btn {
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
        flex: 0 0 220px !important;
    }
}

.rc-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.rc-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    box-sizing: border-box;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.rc-btn span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.rc-btn__i {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    flex: 0 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rc-btn__i svg, .rc-btn__i img, .rc-btn__i i {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    display: block !important;
    object-fit: contain !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}
.rc-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
}
.rc-btn::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
}
.rc-btn--tg {
    background: linear-gradient(135deg, #3BB9F0, #1E7FD4);
    box-shadow: 0 12px 30px rgba(42, 171, 238, .35);
}
.rc-btn--tg:hover {
    box-shadow: 0 18px 40px rgba(42, 171, 238, .48);
}
.rc-btn--tg::before {
    animation: rcSheen 5s 1.2s infinite;
}

.rc-btn--wa {
    background: linear-gradient(135deg, #10B981 0%, #059669 45%, #047857 100%);
    box-shadow: 0 12px 30px rgba(16, 185, 129, .38);
}
.rc-btn--wa:hover {
    box-shadow: 0 18px 40px rgba(16, 185, 129, .52);
}
.rc-btn--wa::before {
    animation: rcSheen 5s 2.4s infinite;
}

.rc-btn--max {
    background: linear-gradient(120deg, #28C1FF, #4247E9 52%, #A62BE0);
    box-shadow: 0 12px 30px rgba(110, 60, 230, .35);
}
.rc-btn--max:hover {
    box-shadow: 0 18px 40px rgba(110, 60, 230, .48);
}
.rc-btn--max::before {
    animation: rcSheen 5s 2.4s infinite;
}

.rc-btn--phone-blue {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%);
    box-shadow: 0 12px 30px rgba(37, 99, 235, .35);
}
.rc-btn--phone-blue:hover {
    box-shadow: 0 18px 40px rgba(37, 99, 235, .48);
}
.rc-btn--phone-blue::before {
    animation: rcSheen 5s 3.6s infinite;
}

.rc-btn--phone-gray {
    background: linear-gradient(135deg, #64748B 0%, #475569 50%, #334155 100%);
    box-shadow: 0 12px 30px rgba(71, 85, 105, .35);
}
.rc-btn--phone-gray:hover {
    box-shadow: 0 18px 40px rgba(71, 85, 105, .48);
}
.rc-btn--phone-gray::before {
    animation: rcSheen 5s 4.8s infinite;
}

/* Кнопка взыскания неустойки: мощный огненно-рубиновый градиент с постоянным переливом */
.rc-btn-ddu-claim {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #B91C1C 100%) !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, .35) !important;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.rc-btn-ddu-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(220, 38, 38, .48) !important;
    color: #fff !important;
}
@media (max-width: 600px) {
    .rc-btn-ddu-claim {
        padding: 10px 14px !important;
        font-size: 0.88rem !important;
        min-height: 40px !important;
        border-radius: 10px !important;
    }
    .rc-btn-ddu-claim i {
        font-size: 1.05rem !important;
    }
}
.rc-btn-ddu-claim::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 4.5s ease-in-out infinite;
}

/* Кнопка "Проверить перед авансом" с переливом sheen */
.btn-check-advance {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #c4552b 0%, #ad441c 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    min-height: 44px !important;
    box-shadow: 0 8px 24px rgba(196, 85, 43, 0.35) !important;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-check-advance:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(196, 85, 43, 0.48) !important;
    color: #ffffff !important;
}
.btn-check-advance::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 4.5s 1.2s ease-in-out infinite;
}

/* Кнопка "Проверить бесплатно" (Кредистория) с переливом sheen */
.btn-credistory-check {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    border: 1px solid #6d28d9 !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    min-height: 42px !important;
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35) !important;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
    text-decoration: none !important;
}
.btn-credistory-check:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(109, 40, 217, 0.5) !important;
    color: #ffffff !important;
}
.btn-credistory-check::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 4.5s 0.8s ease-in-out infinite;
}

/* Кнопка "Задать вопрос лично" с переливом sheen */
.btn-personal-ask {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3BB9F0 0%, #1E7FD4 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    border: none !important;
    padding: 14px 28px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(42, 171, 238, .35) !important;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
    text-decoration: none !important;
}
.btn-personal-ask:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(42, 171, 238, .48) !important;
    color: #ffffff !important;
}
.btn-personal-ask::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
    animation: rcSheen 4.5s 1.5s ease-in-out infinite;
}

.rc-btn__i {
    width: 18px;
    height: 18px;
    flex: none;
    display: grid;
    place-items: center;
    font-size: 1rem;
}
.rc-btn__i svg, .rc-btn__i img, .rc-btn__i i {
    display: block;
}

@keyframes rcSheen {
    0% { transform: translateX(-130%) skewX(-14deg); }
    55%, 100% { transform: translateX(280%) skewX(-14deg); }
}

@media (max-width: 600px) {
    .rc-btns {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .rc-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        font-size: 13px !important;
        padding: 0 6px !important;
    }
    .rc-btn__i {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        flex: 0 0 16px !important;
    }
    .rc-btn__i svg, .rc-btn__i img, .rc-btn__i i {
        width: 15px !important;
        height: 15px !important;
        max-width: 15px !important;
        max-height: 15px !important;
    }
}
    .rc-btn__i {
        width: 15px;
        height: 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .dock-btn i {
        font-size: 0.95rem;
    }
}

/* Mobile Typography Harmony & Balanced Headings */
@media (max-width: 767.98px) {
    .display-6, h2.display-6 {
        font-size: 1.45rem !important;
        line-height: 1.3 !important;
    }
    .display-5 {
        font-size: 1.75rem !important;
    }
    .hero-title {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
    }
    .lead, p.lead {
        font-size: 0.95rem !important;
    }
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}



