/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
    /* Color Scheme: Luxury Navy & Gold */
    --primary-navy: #0F1A2A;
    --primary-navy-light: #1A2942;
    --primary-navy-dark: #030A12;
    --gold-light: #F2E8CB;
    --gold-medium: #E0C989;
    --gold-dark: #D4B254;

    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #0F1A2A;
    --gray-dark: #0F1A2A;
    --gray-medium: #666666;
    --gray-light: #E8E8E8;

    /* Accent Colors */
    --accent-gold: #D4B254;
    --success: #3A7D44;
    --error: #C53030;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 26, 42, 0.1);
    --shadow-md: 0 4px 16px rgba(15, 26, 42, 0.15);
    --shadow-lg: 0 8px 32px rgba(15, 26, 42, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* ========================================
   Base Styles
   ======================================== */

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

body {
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
}

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

/* Section Headers */
.section-header {
    text-align: center;
}

.section-title {
    text-align: center;
}

.section-subtitle {
    text-align: center;
}

/* ========================================
   Buttons Base Styles
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-navy);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.consultation-btn,
button.consultation-btn,
.navbar-actions .consultation-btn {
    background-color: #0F1A2A !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(15, 26, 42, 0.3) !important;
    border: none !important;
}

.consultation-btn:hover,
button.consultation-btn:hover,
.navbar-actions .consultation-btn:hover {
    background-color: #030A12 !important;
    box-shadow: 0 6px 24px rgba(15, 26, 42, 0.4) !important;
    transform: translateY(-2px) !important;
}

.btn-hero {
    background-color: var(--white);
    color: var(--primary-navy);
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold-medium);
}

.btn-hero:hover {
    background-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    color: var(--white);
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
    border: 1px solid var(--gold-dark);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: var(--spacing-md);
}

.navbar-brand {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.navbar-brand > div {
    display: flex;
    flex-direction: column;
}

.logo-icon {
    font-size: 2rem;
    color: var(--gold-dark);
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.company-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-navy);
}

.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-dark);
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
}

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 1.75rem;
}

.social-link.whatsapp {
    color: #25D366;
}

.social-link.whatsapp:hover {
    color: #20BA5A;
    transform: scale(1.1);
}

.social-link.telegram {
    color: #0088cc;
}

.social-link.telegram:hover {
    color: #0077b5;
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
    left: 0;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 3px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 13px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 23px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
}

.phone-link i {
    font-size: 1.125rem;
}

.phone-link:hover {
    color: var(--gold-dark);
}

/* Brand descriptor under logo */
.brand-descriptor {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Messengers in header */
.messenger-link {
    color: var(--primary-navy);
    font-size: 1.25rem;
    margin-left: 12px;
    transition: var(--transition-normal);
}

.messenger-link:hover {
    color: var(--gold-dark);
}

/* Theme Switcher */
.theme-switcher {
    position: relative;
    margin-left: 15px;
}

.theme-switcher-toggle {
    background: none;
    border: none;
    color: var(--primary-navy);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.theme-switcher-toggle:hover {
    color: var(--gold-dark);
    transform: rotate(15deg);
}

.theme-switcher-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm);
    display: none;
    flex-direction: column;
    gap: var(--spacing-xs);
    z-index: 1001;
    width: 200px;
}

.theme-switcher-menu.active {
    display: flex;
}

.theme-option {
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    color: var(--primary-navy);
    font-weight: 500;
    transition: var(--transition-fast);
}

.theme-option:hover {
    background-color: var(--gold-light);
}

.theme-option.active {
    background-color: var(--primary-navy);
    color: var(--white);
}

/* AI Assistant section */
.ai-assistant {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.chatbot-container.embedded {
    position: static;
    margin-top: var(--spacing-md);
    bottom: auto;
    right: auto;
    z-index: 1;
}

.chatbot-container.embedded .chatbot-window {
    position: relative;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    bottom: auto;
    right: auto;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold-light);
    overflow: hidden;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
    color: var(--white);
    border-bottom: 2px solid var(--gold-medium);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.chatbot-header-info i {
    font-size: 1.5rem;
    color: var(--gold-medium);
}

.chatbot-header h4 {
    margin: 0;
    font-weight: 600;
}

.chatbot-status {
    font-size: 0.8rem;
    color: var(--gold-light);
}

.chatbot-messages {
    flex: 1;
    padding: var(--spacing-md);
    overflow-y: auto;
    background-color: #F5F7FA;
}

.message {
    display: flex;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-sm);
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background-color: var(--gold-dark);
}

.message-content {
    background-color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    max-width: 80%;
}

.user-message .message-content {
    background-color: var(--gold-light);
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
}

.quick-question {
    background-color: var(--primary-navy-light);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.quick-question:hover {
    background-color: var(--primary-navy);
    transform: translateY(-2px);
}

.chatbot-input {
    display: flex;
    padding: var(--spacing-sm);
    background-color: var(--white);
    border-top: 1px solid var(--gray-light);
}

.chatbot-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-full);
    outline: none;
    font-size: 1rem;
}

.chatbot-input input:focus {
    border-color: var(--gold-medium);
}

.chatbot-input button {
    background-color: var(--primary-navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: var(--spacing-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chatbot-input button:hover {
    background-color: var(--gold-dark);
    transform: scale(1.05);
}

/* ========================================
   Chatbot Popup
   ======================================== */

.chatbot-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.chatbot-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.chatbot-popup-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-navy-dark);
    transition: var(--transition-fast);
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chatbot-popup-close:hover {
    background: var(--white);
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chatbot-popup-close i {
    color: var(--primary-navy-dark) !important;
}

.chatbot-popup-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
    color: var(--white);
}

.chatbot-popup-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.chatbot-popup-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.chatbot-popup .chatbot-container {
    height: 500px;
    border-radius: 0;
}

/* ========================================
   Fixed Bottom Button
   ======================================== */

.fixed-bottom-btn {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(15, 26, 42, 0.4), 0 0 30px rgba(198, 160, 85, 0.6), 0 0 50px rgba(198, 160, 85, 0.3);
    transition: var(--transition-normal);
    z-index: 1000;
    white-space: nowrap;
    opacity: 0;
    animation: buttonSlideUp 0.8s ease-out 1s forwards, buttonVibrateLoop 12s ease-in-out 2s infinite;
}

.fixed-bottom-btn:hover {
    transform: translateX(-50%) translateY(-3px);
    background: var(--primary-navy);
    color: var(--white);
    box-shadow: 0 6px 30px rgba(15, 26, 42, 0.5), 0 0 40px rgba(198, 160, 85, 0.8), 0 0 60px rgba(198, 160, 85, 0.4);
}

.fixed-bottom-btn i {
    font-size: 1.25rem;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
    padding: 170px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--gold-medium);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    animation-delay: 0s;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    animation: heroTitleAnimation 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gold-light);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    animation-delay: 0.4s;
}

.btn-hero {
    margin-bottom: var(--spacing-lg);
    animation-delay: 0.6s;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: var(--spacing-lg);
    animation-delay: 0.8s;
}

.stat-item {
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--gold-medium);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-wave path {
    fill: var(--gold-light);
}

/* ========================================
   Pain Points Section
   ======================================== */

.pain-points {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--gold-light) 0%, var(--white) 100%);
}

.pain-points .section-header {
    margin-bottom: var(--spacing-xl);
}

.pain-points .section-title {
    color: var(--primary-navy);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.pain-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid var(--gold-light);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-dark) 0%, var(--primary-navy) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

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

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

.pain-card-debtor {
    border-color: var(--gold-light);
}

.pain-card-debtor::before {
    background: linear-gradient(to bottom, var(--primary-navy) 0%, var(--gold-dark) 100%);
}

.pain-card-debtor:hover {
    border-color: var(--primary-navy);
}

.pain-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, rgba(212, 178, 84, 0.15) 0%, rgba(212, 178, 84, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.75rem;
    border: 2px solid var(--gold-dark);
    transition: var(--transition-normal);
}

.pain-card:hover .pain-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(212, 178, 84, 0.4);
}

.pain-icon-debtor {
    background: linear-gradient(135deg, rgba(15, 26, 42, 0.15) 0%, rgba(15, 26, 42, 0.05) 100%);
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.pain-card-debtor:hover .pain-icon-debtor {
    box-shadow: 0 4px 16px rgba(15, 26, 42, 0.3);
}

.pain-title {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-navy);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.pain-text {
    color: var(--gray-medium);
    line-height: 1.8;
    text-align: center;
    font-size: 0.95rem;
}

.pain-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold-dark);
}

.pain-cta-text {
    color: var(--gold-light);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.pain-cta .btn {
    background-color: var(--white);
    color: var(--primary-navy);
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pain-cta .btn:hover {
    background-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ========================================
   Advantages Section - 3D Carousel
   ======================================== */

.advantages {
    background-color: var(--gold-light);
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.advantages-carousel-3d {
    position: relative;
    margin-top: var(--spacing-xl);
}

.carousel-3d-container {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-y;
}

.carousel-3d-container:active {
    cursor: grabbing;
}

.advantage-card-3d {
    position: absolute;
    width: 350px;
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold-medium);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.advantage-card-3d.active {
    z-index: 10;
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
    opacity: 1;
}

.advantage-card-3d.left {
    z-index: 5;
    transform: translateX(-380px) translateZ(-200px) rotateY(35deg) scale(0.85);
    opacity: 0.6;
}

.advantage-card-3d.right {
    z-index: 5;
    transform: translateX(380px) translateZ(-200px) rotateY(-35deg) scale(0.85);
    opacity: 0.6;
}

.advantage-card-3d.hidden {
    z-index: 1;
    transform: translateX(0) translateZ(-400px) scale(0.5);
    opacity: 0;
    pointer-events: none;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-medium);
    font-size: 1.75rem;
    border: 2px solid var(--gold-dark);
    box-shadow: 0 4px 15px rgba(15, 26, 42, 0.3);
}

.advantage-content {
    width: 100%;
}

.advantage-title {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: 700;
}

.advantage-text {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 1rem;
}

.carousel-3d-nav {
    display: none;
}

.carousel-3d-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
}

.advantages-carousel-3d::after {
    content: '← Перетащите →';
    display: block;
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    opacity: 0.7;
    font-style: italic;
}

@media (max-width: 767px) {
    .advantages-carousel-3d::after {
        content: '← Свайп →';
    }
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 178, 84, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.services .section-title {
    color: var(--white);
}

.services .section-subtitle {
    color: var(--gold-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-align: left;
    border: 1px solid rgba(212, 178, 84, 0.2);
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-medium);
    transform: translateX(8px);
}

.service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: var(--gold-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(212, 178, 84, 0.3);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(212, 178, 84, 0.5);
}

.service-content {
    flex: 1;
}

.service-title {
    margin-bottom: var(--spacing-xs);
    color: var(--white);
    font-size: 1.125rem;
}

.service-text {
    color: var(--gold-light);
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   Process Section
   ======================================== */

.process {
    background: linear-gradient(to bottom, var(--white) 0%, var(--gold-light) 100%);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: var(--spacing-md);
    align-items: center;
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--gold-light);
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 40px;
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--gold-dark) 0%, transparent 100%);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    color: var(--gold-medium);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    border: 2px solid var(--gold-dark);
}

.step-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-navy);
}

.step-text {
    color: var(--gray-medium);
    line-height: 1.7;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.5rem;
    border: 1px solid var(--gold-medium);
}

/* ========================================
   Why Us Section
   ======================================== */

.why-us {
    background-color: var(--gold-light);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.why-us-text .section-title {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-navy);
}

.why-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gold-medium);
}

.why-item i {
    color: var(--primary-navy);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.why-item h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
    color: var(--primary-navy);
}

.why-item p {
    color: var(--gray-medium);
    margin-bottom: 0;
}

.why-us-image {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-medium);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold-dark);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gold-dark);
}

.image-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    font-family: var(--font-display);
    color: var(--gold-light);
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    background: linear-gradient(to bottom, var(--white) 0%, var(--gold-light) 100%);
    padding: var(--spacing-xxl) 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
    border: 1px solid var(--gold-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-medium);
}

.testimonial-content {
    flex: 1;
    margin-bottom: var(--spacing-md);
}

.quote-icon {
    color: var(--gold-medium);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--gray-dark);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.testimonial-rating {
    color: var(--gold-dark);
    font-size: 1.125rem;
    margin-top: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gold-light);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-navy-light);
    color: var(--gold-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 2px solid var(--gold-medium);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-info h4 {
    margin: 0;
    color: var(--primary-navy);
    font-size: 1.125rem;
}

.author-info p {
    margin: 0;
    color: var(--gray-medium);
    font-size: 0.875rem;
}

.testimonials-dots {
    display: none;
}

/* ========================================
   Contact Section
   ======================================== */

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

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--gold-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-medium);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gold-light);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(26, 41, 66, 0.1);
}

.form-notice {
    font-size: 0.875rem;
    color: var(--gray-medium);
    text-align: center;
    margin-top: var(--spacing-md);
}

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

.info-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--gold-light);
    border-radius: var(--radius-md);
    align-items: flex-start;
    border: 1px solid var(--gold-medium);
}

.info-item i {
    color: var(--primary-navy);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
    color: var(--primary-navy);
}

.info-item p,
.info-item a {
    color: var(--gray-medium);
    margin-bottom: 0;
}

.info-item a:hover {
    color: var(--gold-dark);
}

/* ========================================
   Contacts Section
   ======================================== */

.contacts {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid .info-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: var(--gold-light);
    border-radius: var(--radius-md);
    align-items: flex-start;
    border: 1px solid var(--gold-medium);
    transition: var(--transition-base);
}

.contact-info-grid .info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(15, 26, 42, 0.1);
    border-color: var(--gold-dark);
}

.contact-info-grid .info-item i {
    color: var(--primary-navy);
    font-size: 1.75rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-info-grid .info-item h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    color: var(--primary-navy);
    font-weight: 600;
}

.contact-info-grid .info-item p,
.contact-info-grid .info-item a {
    color: var(--gray-medium);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-info-grid .info-item a {
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-info-grid .info-item a:hover {
    color: var(--gold-dark);
}

.info-item-combined {
    flex-direction: column;
    gap: 0;
    grid-row: span 1;
}

.combined-info-section {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-md);
    align-items: center;
    text-align: left;
    flex: 1;
    padding: var(--spacing-md);
}

.combined-info-section:not(:last-child) {
    padding-right: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-right: none;
    border-bottom: 1px solid var(--gold-medium);
}

.combined-info-section i {
    color: var(--primary-navy);
    font-size: 2rem;
    flex-shrink: 0;
    margin-bottom: 0;
    width: 2.5rem;
    min-width: 2.5rem;
    text-align: center;
}

.combined-info-section h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
    color: var(--primary-navy);
    font-weight: 600;
}

.combined-info-section p,
.combined-info-section a {
    color: var(--gray-medium);
    margin-bottom: 0;
    line-height: 1.6;
}

.combined-info-section a {
    text-decoration: none;
    transition: var(--transition-fast);
}

.combined-info-section a:hover {
    color: var(--gold-dark);
}

.combined-info-address {
    align-items: flex-start;
}

.combined-info-address .btn-navigate {
    margin-top: var(--spacing-sm);
}

.map-mobile {
    display: none;
}

.map-desktop {
    display: block;
}

.info-item-map-only {
    padding: 0 !important;
    overflow: hidden;
}

.info-item-map-only .map-container {
    border: none;
    border-radius: var(--radius-md);
    height: 100%;
}

.info-item-map-only .map-container iframe {
    height: 100%;
    min-height: 400px;
}

.info-item-map {
    flex-direction: column;
}

.map-info-header {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.map-info-header i {
    color: var(--primary-navy);
    font-size: 1.75rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.map-info-header h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
    color: var(--primary-navy);
    font-weight: 600;
}

.map-info-header p {
    color: var(--gray-medium);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.6;
}

.btn-navigate {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gold-light);
    color: var(--primary-navy);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
    border: 2px solid var(--gold-medium);
}

.btn-navigate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 26, 42, 0.15);
    border-color: var(--gold-dark);
    background: var(--gold-medium);
}

.btn-navigate i {
    font-size: 1rem;
}

.map-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--gold-medium);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 300px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--primary-navy-dark);
    color: var(--white);
    padding: var(--spacing-sm) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-icon {
    color: var(--gold-dark);
    font-size: 1.75rem;
}

.footer-brand .company-name {
    color: var(--white);
}

.footer-description {
    color: var(--gray-light);
    line-height: 1.7;
}

.footer-section h4 {
    color: var(--gold-medium);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-links,
.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a,
.footer-contacts a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: var(--gold-dark);
}
.footer-links-bottom {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links-bottom a {
    color: var(--gray-light);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links-bottom a:hover {
    color: var(--gold-dark);
}

/* ========================================
   Chatbot
   ======================================== */

.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    color: var(--gold-medium);
    border: 2px solid var(--gold-dark);
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gold-medium);
}

.chatbot-window.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
    color: var(--white);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gold-medium);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.chatbot-header-info i {
    font-size: 1.5rem;
    color: var(--gold-medium);
}

.chatbot-header-info h4 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--white);
}

.chatbot-status {
    font-size: 0.875rem;
    opacity: 0.9;
    color: var(--gold-light);
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--primary-navy);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chatbot-close:hover {
    opacity: 0.8;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
    background-color: var(--gold-light);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.message {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    animation: slideUp 0.3s ease;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-navy);
    color: var(--gold-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--gold-dark);
}

.message-content {
    flex: 1;
}

.message-content p {
    background-color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    border: 1px solid var(--gold-light);
}

.bot-message .message-content p {
    background-color: var(--white);
    color: var(--gray-dark);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background-color: var(--gold-dark);
    color: var(--white);
}

.user-message .message-content p {
    background-color: var(--primary-navy-light);
    color: var(--white);
    border: none;
}

.quick-questions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.quick-question {
    background-color: var(--white);
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    padding: 0.75rem var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    text-align: left;
}

.quick-question:hover {
    background-color: var(--primary-navy);
    color: var(--white);
}

.chatbot-input {
    display: flex;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background-color: var(--white);
    border-top: 1px solid var(--gold-medium);
}

.chatbot-input input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--gold-light);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-navy);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    background-color: var(--primary-navy);
    color: var(--gold-medium);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chatbot-input button:hover {
    background-color: var(--primary-navy-dark);
}

/* ========================================
   Modal
   ======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 26, 42, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    animation: slideUp 0.3s ease;
    border: 1px solid var(--gold-medium);
}

.modal-icon {
    font-size: 4rem;
    color: var(--gold-dark);
    margin-bottom: var(--spacing-md);
}

.modal-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-navy);
}

.modal-content p {
    color: var(--gray-medium);
    margin-bottom: var(--spacing-lg);
}

.modal-content .btn {
    width: 100%;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gold-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-navy);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gold-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy-dark);
}

/* ========================================
   Cases Section
   ======================================== */

.cases {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--gold-light) 0%, var(--white) 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gold-light);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

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

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--gold-light);
}

.case-category {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.95rem;
}

.case-category i {
    font-size: 1.25rem;
    color: var(--gold-dark);
}

.case-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.case-status.success {
    background-color: rgba(58, 125, 68, 0.1);
    color: var(--success);
}

.case-status i {
    font-size: 1rem;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
    border-radius: var(--radius-md);
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-medium);
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--gold-light);
    opacity: 0.9;
}

.case-description {
    flex: 1;
}

.case-description p {
    color: var(--gray-medium);
    line-height: 1.7;
    margin: 0;
}

.case-links {
    display: flex;
    justify-content: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--gold-light);
}

.case-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-fast);
    border: 2px solid;
    background-color: var(--gold-light);
    color: var(--primary-navy);
    border-color: var(--gold-medium);
}

.case-link i {
    font-size: 1.1rem;
}

.case-link:hover {
    background-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(198, 160, 85, 0.4);
}

/* ========================================
   Partners Section
   ======================================== */

.partners {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--gold-light) 50%, var(--white) 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.partner-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold-medium);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(198, 160, 85, 0.3);
    border-color: var(--gold-dark);
}

.partner-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.partner-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(15, 26, 42, 0.7) 0%, transparent 100%);
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-normal);
}

.partner-card:hover .partner-image img {
    transform: scale(1.05);
}

.partner-card:first-child .partner-image img {
    object-position: center 50%;
}

.partner-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
}

.partner-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-display);
}

.partner-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin-bottom: var(--spacing-sm);
}

.partner-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-medium);
    flex-grow: 1;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-medium) 100%);
    border-radius: var(--radius-md);
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
    align-self: flex-start;
    margin-top: var(--spacing-sm);
}

.partner-badge i {
    color: var(--gold-dark);
    font-size: 1.1rem;
}

/* ========================================
   Awards Section
   ======================================== */

.awards {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--gold-light) 100%);
}

.awards-carousel {
    position: relative;
    margin-top: var(--spacing-xl);
}

.awards-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.awards-slider::-webkit-scrollbar {
    display: none;
}

.award-item {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.award-image {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold-medium);
    transition: var(--transition-normal);
}

.award-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(198, 160, 85, 0.4);
}

.award-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.award-info {
    text-align: center;
    max-width: 600px;
}

.award-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-display);
}

.award-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

.awards-carousel-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.awards-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
}

/* ========================================
   Team Section
   ======================================== */

.team {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.team-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.team-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gold-light);
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: center;
}

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

.team-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: var(--gold-light);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-xs);
}

.team-position {
    font-size: 0.95rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-medium);
}

.team-carousel-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--primary-navy);
    color: var(--white);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.team-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
}

.team-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gold-medium);
    cursor: pointer;
    transition: var(--transition-fast);
    opacity: 0.5;
}

.team-dots .dot.active {
    background-color: var(--primary-navy);
    opacity: 1;
    transform: scale(1.3);
}

.team-dots .dot:hover {
    opacity: 0.8;
}

/* ========================================
   Animations
   ======================================== */

@keyframes heroTitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes buttonSlideUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes buttonVibrateLoop {
    0% {
        transform: translateX(-50%);
    }
    /* Начало вибрации через 10 секунд (83.33% от 12 секунд) */
    83.33% {
        transform: translateX(-50%);
    }
    84.17% {
        transform: translateX(calc(-50% - 3px));
    }
    85% {
        transform: translateX(calc(-50% + 3px));
    }
    85.83% {
        transform: translateX(calc(-50% - 3px));
    }
    86.67% {
        transform: translateX(calc(-50% + 3px));
    }
    87.5% {
        transform: translateX(calc(-50% - 3px));
    }
    88.33% {
        transform: translateX(calc(-50% + 3px));
    }
    89.17% {
        transform: translateX(calc(-50% - 2px));
    }
    90% {
        transform: translateX(calc(-50% + 2px));
    }
    90.83% {
        transform: translateX(calc(-50% - 1px));
    }
    91.67% {
        transform: translateX(calc(-50% + 1px));
    }
    /* Конец вибрации (2 секунды вибрации) */
    100% {
        transform: translateX(-50%);
    }
}
