:root {
    --gold: #d4af37;
    --gold-dark: #b8960f;
    --dark-bg: #faf3e0;
    --light-bg: #f5ead0;
    --text-dark: #2a2418;
    --text-muted: #6b6455;
    --white-5: rgba(42, 36, 24, 0.05);
    --white-10: rgba(42, 36, 24, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
}

.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
}

.phone-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.phone-link:hover {
    color: var(--gold-dark);
}

.phone-link i {
    color: var(--gold-dark);
    margin-right: 8px;
}

.nav-link {
    color: rgba(26, 26, 26, 0.8) !important;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--gold-dark) !important;
}

.nav-link.active {
    color: var(--gold-dark) !important;
}

.hero-title {
    color: #1a1a1a !important;
}

.hero-subtitle {
    color: #6c757d !important;
}

.stat-number {
    color: var(--gold-dark) !important;
    line-height: 1.2;
}

.hero-stats .text-white-50 {
    color: #6c757d !important;
}

.hero-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-dark);
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, #f7dc6f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits {
    background: #ffffff;
}

.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.benefit-icon {
    width: 72px;
    height: 72px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-dark);
}

.calculator {
    background: #f8f9fa;
}

.calculator h2,
.calculator .fw-semibold {
    color: #1a1a1a !important;
}

.calculator .text-white-50 {
    color: #6c757d !important;
}

.calculator-form {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.bg-white-5 {
    background: #ffffff;
}

.border-white-10 {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.result-item {
    transition: all 0.3s;
    background: #ffffff;
}

.result-item:hover {
    background: #f8f9fa;
}

.result-label {
    color: #6c757d !important;
}

.result-value {
    color: #1a1a1a !important;
	white-space: nowrap;
}

.form-range {
    height: 6px;
    background: rgba(42, 36, 24, 0.1);
    border-radius: 3px;
    outline: none;
}

.form-range::-webkit-slider-runnable-track {
    height: 6px;
    background: rgba(42, 36, 24, 0.1);
    border-radius: 3px;
    border: none;
}

.form-range::-moz-range-track {
    height: 6px;
    background: rgba(42, 36, 24, 0.1);
    border-radius: 3px;
    border: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--text-dark);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    margin-top: -7px;
    transition: all 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
    background: var(--gold-dark);
    transform: scale(1.1);
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--text-dark);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-range::-moz-range-thumb:hover {
    background: var(--gold-dark);
    transform: scale(1.1);
}

.form-range:focus {
    outline: none;
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.form-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.conditions {
    background: #ffffff;
}

.condition-card {
    transition: all 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contacts {
    background: #ffffff;
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(6px);
}

.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.footer.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.footer .text-white-50 {
    color: #6c757d !important;
}

.footer img {
    filter: invert(1) brightness(0.2);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    background: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
}

.page-header {
    border-bottom: 3px solid var(--gold-dark);
}

.page-header h1,
.page-header .display-3,
.page-header .display-4 {
    color: #1a1a1a !important;
}

.page-header .text-white-50 {
    color: #6c757d !important;
}

.page-header .breadcrumb-item a {
    color: #6c757d !important;
}

.page-header .breadcrumb-item.active {
    color: var(--gold-dark) !important;
}

.news-card {
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

.nav-tabs .nav-link {
    color: #6c757d;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--gold-dark);
    background: rgba(212, 175, 55, 0.05);
}

.nav-tabs .nav-link.active {
    color: var(--gold-dark);
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) transparent;
}

@media (max-width: 991px) {
    .navbar-brand .logo-text {
        display: none;
    }

    .phone-link {
        font-size: 15px;
    }

    .phone-link span {
        display: none;
    }

    .phone-link i {
        font-size: 20px;
        margin-right: 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 16px;
        border-radius: 12px;
        margin-top: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav {
        gap: 4px !important;
    }

    .nav-link {
        padding: 10px 12px !important;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: rgba(212, 175, 55, 0.1);
    }

    .header-phone {
        margin: 12px 0 0 0 !important;
        padding-top: 12px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .phone-link span {
        display: inline;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-stats {
        gap: 1.5rem !important;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 6px 12px !important;
    }

    .page-header h1 {
        font-size: 2rem !important;
    }

    .calculator-results .result-item {
        padding: 12px !important;
    }

    .result-value {
        font-size: 1.1rem !important;
    }

    .result-label {
        font-size: 0.75rem;
    }

    .calculator-form {
        padding: 24px !important;
    }

    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .nav-tabs .nav-link {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 10px 14px !important;
    }

    .investors-content .display-5 {
        font-size: 1.5rem !important;
    }

    .investors-content .p-4 {
        padding: 16px !important;
    }

    .news-card img,
    .news-card .bg-light {
        height: 180px !important;
    }

    .news-card .p-4 {
        padding: 16px !important;
    }

    .news-card h3 {
        font-size: 1.1rem !important;
    }

    .contacts-page .bg-light,
    .contacts-page .bg-white {
        padding: 20px !important;
    }

    .contacts-page iframe {
        height: 280px !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-stats {
        gap: 1rem !important;
    }

    .stat-number {
        font-size: 1.25rem !important;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-top {
        width: 44px !important;
        height: 44px !important;
        bottom: 20px !important;
        right: 20px !important;
    }

    .scroll-top i {
        font-size: 1rem !important;
    }
}

html {
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #ffffff;
    color: #1a1a1a;
}

main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
    margin-top: 0;
}

.navbar-brand img {
    height: 65px;
    width: auto;
}

@media (max-width: 991px) {
    .navbar-brand img {
        height: 65px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 55px;
    }
}

:root {
    --header-height: 88px;
}

main {
    padding-top: var(--header-height);
}

@media (max-width: 991px) {
    :root {
        --header-height: 90px;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 80px;
    }
}

.calc-input {
    width: 120px;
    min-width: 100px;
    max-width: 140px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    padding: 6px 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.calc-input:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    outline: none;
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

@media (max-width: 576px) {
    .calc-input {
        width: 90px;
        min-width: 80px;
        font-size: 14px;
    }
    
    .calculator-form .d-flex.gap-2 {
        flex-wrap: wrap;
    }
}

.editable-value {
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px dashed transparent;
    user-select: none;
    white-space: nowrap;
}

.editable-value:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-dark);
}

.editable-value.editing {
    background: #ffffff;
    border: 1px solid var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.editable-input {
    font-weight: 700;
    font-size: inherit;
    font-family: inherit;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
    width: 100%;
    padding: 0;
}

.messages-container {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.messages-container .alert {
    border: none;
    border-radius: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.messages-container .alert-success {
    background: rgba(25, 135, 84, 0.95);
    color: #ffffff;
}

.messages-container .alert-danger {
    background: rgba(220, 53, 69, 0.95);
    color: #ffffff;
}

.messages-container .alert-info {
    background: rgba(13, 202, 240, 0.95);
    color: #000000;
}

/*
.hero {
    min-height: 38vh;
    padding: 100px 0 60px;
}
 */
 
.hero {
    background-image: url('/assets/images/home-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
	height: 35vh;
    padding: 100px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }
}

.about-content p {
    text-align: justify;
}

.privacy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.privacy-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2a2418;
    margin-bottom: 16px;
}

.privacy-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-content ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

.privacy-content li {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.privacy-content a {
    color: var(--gold-dark);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}



.investors-content .card {
    display: flex;
    flex-direction: column;
}

.investors-content .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.investors-content .card-body > .btn,
.investors-content .card-body > .btn-download,
.investors-content .card-body > a[class*="btn"] {
    margin-top: auto !important;
}

.news-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    -webkit-text-decoration: none;
}

.news-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.news-card-link h3 {
    color: #1a1a1a !important;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}

.news-card-link:hover h3 {
    color: var(--gold-dark) !important;
}

.news-card-link p,
.news-card-link span,
.news-card-link div {
    text-decoration: none;
}

.news-card-link * {
    -webkit-tap-highlight-color: transparent;
}
