﻿@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

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

html {
    scroll-padding-top: clamp(80px, 10vw, 120px); 
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    padding-top: 80px; /* Отступ для фиксированного header */
    
}

/* Адаптивные заголовки */
h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.25rem, 3.5vw, 1.875rem);
}

h3 {
    font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.08); */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    column-gap: 0;
    height: clamp(80px, 9vw, 120px);
}


.logo {
    font-size: 24px;
    font-weight: 700;
    color: #d97706;
    text-decoration: none;
    display: block;
}

.logo img { 
    height: clamp(70px, 8vw, 110px); 
    display: block; 
}

/* Header */
.header-nav {
    align-items: center;
    display: grid;
    grid-column: span 5;
    grid-template-columns: repeat(5, 1fr);
    text-transform: uppercase;
}

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

.logo-slot { 
    justify-content: flex-start; 
}

.language-slot {
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 700;
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover { color: #d97706; }

/* Mobile burger menu */
.header-burger {
    display: none;
    width: 40px;
    height: 28px;
    position: relative;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.burger-line {
    display: block;
    width: 100%;
    padding-top: 4px;
    height: 2px;
    background-color: black;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.first {
    top: 0;
}

.second {
    top: 44%;
}

.third {
    bottom: 0;
}

/* Mobile menu close button */
.header-nav-close {
    display: none;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
}

.header-nav-close-line {
    width: 100%;
    display: block;
    height: 2px;
    background-color: white;
    position: absolute;
    transform: translateY(100%);
    top: 50%;
}

.header-nav-close-line:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.header-nav-close-line:last-child {
    transform: translateY(-50%) rotate(-45deg);
}

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.language-link {
    width: 45px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background:  #1d4ed8;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-link.active {
    background: transparent;
    color: #4a5568;
}

.language-link:hover.active {
    background: #80c0ff;
    border-color: #d1d5db;
}

.display-off {
    display: none;
}


/* Search Section */
.search-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: clamp(80px, 10vw, 120px) 0 2vh 0;
    border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
    min-height: 400px;
}

.search-content {
    width: 100%;
}


.search-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: clamp(20px, 4vw, 30px);
}

.search-field, .filter-field {
    margin-bottom: clamp(20px, 4vw, 25px);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.field-label {
    display: block;
    font-weight: 600;
    color: #374151;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: clamp(6px, 1.5vw, 8px);
}

.field-input {
    width: 100%;
    padding: clamp(12px, 2vw, 15px) clamp(15px, 3vw, 20px);
    border: 2px solid #9ca3af;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
            transition: all 0.3s ease;
    background: white;
    color: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.field-input::placeholder {
    color: #9ca3af;
    opacity: 0.7;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

/* Убираем стрелки прокрутки в полях number */
.field-input[type="number"]::-webkit-outer-spin-button,
.field-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.field-input[type="number"] {
    -moz-appearance: textfield;
}

.field-input:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.field-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group {
    flex: 1;
    width: 100%;
}

select.field-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23666" d="M6 8L0 2h12z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center; /* или right 10px center для еще большего смещения к центру */
    background-size: 12px;
}

.field-inputs .field-input  {
    flex: 1;
}

.field-separator {
    color: #6b7280;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.field-separator.modificator {
    visibility: hidden;
}

.buttons-row {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: clamp(20px, 4vw, 30px);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-btn, .reset-btn {
    flex: 1;
    padding: clamp(12px, 2vw, 15px) clamp(15px, 3vw, 20px);
    border: 2px solid;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 56px;
    margin-top: 28px;
}

.search-btn {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    border-color: #d97706;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.search-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.btn-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.reset-btn {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
}

.reset-btn:hover {
    background: #4b5563;
    border-color: #4b5563;
    transform: translateY(-1px);
}

.reset-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

/* Cars Section */
.cars-section {
    padding: clamp(30px, 8vw, 100px) clamp(15px, 3vw, 20px);
    background: #f8fafc;
    margin-top: 40px;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(15px, 3vw, 20px);
    color: #1a1a1a;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.car-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.car-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #cccccc;
    border-color: #999999;
}

.car-image {
    width: 100%;
    /* height: 250px; */
    aspect-ratio: 16/9; /* возможно не нужен */
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
}

.car-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.car-title {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: clamp(6px, 1.5vw, 8px);
    min-height: 3.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.car-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    margin-bottom: clamp(6px, 1.5vw, 8px);
}

.car-price {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #d97706;
    margin-bottom: clamp(12px, 2.5vw, 16px);
}

.car-button {
    width: 100%;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.car-button:hover {
    transform: scale(1.02);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px);
    padding-left: 20px;
    padding-right: 20px;
}

/* Home Section */
.home-section {
    padding: 50px 0;
}

.hero-banner {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 3rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-banner h1 {
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-banner p {
    font-size: 1.25rem;
    color: #bfdbfe;
}

.how-we-work, .why-choose-us {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.how-we-work h2, .why-choose-us h2 {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 0.75rem;
}

.step h3 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.875rem;
    color: #6b7280;
}

.benefits-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.benefits-grid-half {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
}

.benefit {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit h3 {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.benefit p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Contract Section */
.contract-section {
    padding: 2rem 0;
}

.contract-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contract-content section {
    margin-bottom: 1.5rem;
}

.contract-content h2 {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.contract-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.contract-content li {
    margin-bottom: 0.5rem;
}

.download-btn {
    background: #2563eb;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 2rem;
}

.download-btn:hover {
    background: #1d4ed8;
}

/* Contacts Section */
.contacts-section {
    padding: 2rem 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.company-info h3, .contact-info h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.info-item {
    margin-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.25rem;
}

.contact-btn {
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
}

.contact-btn:hover {
    background: #1d4ed8;
}

/* Active navigation */
.nav-link.active {
    color: #2563eb;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* блоки по центру */
    align-items: flex-start;
    gap: clamp(24px, 6vw, 80px); /* равномерные отступы между секциями */
}

.footer-section {
    flex: 0 1 320px; /* одинаковая визуальная ширина секций */
    min-width: 260px;
    max-width: 360px;
    text-align: center; /* возврат к предыдущему варианту */
}

.footer-section h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin-bottom: clamp(15px, 3vw, 20px);
    color: #fbbf24;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fbbf24;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    justify-content: center; /* возврат к предыдущему варианту */
    width: 100%;
}

.social-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cddc39; /* lime accent from logo */
    background: #0f172a; /* slate-900 */
    border: 1px solid #334155; /* slate-700 */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    will-change: transform, box-shadow, background, color, filter;
}

.social-icon:hover {
    transform: translateY(-1px) scale(1.01);
    background: #1b2540; /* lighter slate */
    color: #e6f28a; /* lighter lime */
    filter: brightness(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(205, 220, 57, 0.15);
}

.footer-bottom {
    margin-top: clamp(30px, 5vw, 40px);
    padding-top: clamp(20px, 4vw, 30px);
    border-top: 1px solid #374151;
    text-align: center;
    opacity: 0.7;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.contact-modal {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    padding: 40px;
}

.container-modal-search {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    100% { transform: rotate(360deg); }
}

.container-modal-search.width-modificator{
    max-width: 120px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: #e5e7eb;
}

.contact-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    padding: 20px 20px;
    margin-bottom: clamp(15px, 3vw, 20px);
    color: #1a1a1a;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input:focus {
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: clamp(30px, 5vw, 40px);
    padding: clamp(15px, 3vw, 20px);
}

.load-more-btn {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.htmx-indicator {
    display: none;
    color: #d97706;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

.htmx-indicator.htmx-request {
    display: block;
}

        /* Mobile Responsive */
@media (max-width: 768px) {   
    .search-btn, .reset-btn {
        width: 100%;
        max-width: 500px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .contact-modal {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .load-more-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 700px){
    .how-we-work{
        padding: 0.3rem;
    }
    
    .steps-grid{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        justify-items: center;
    }
    
    .step{
        width: 150px;
    }

    .benefits-grid{
        flex-direction: column;
        gap: 30px;
    }    

    .benefits-grid-half{
        width: 70%;
    }
    
}

@media (max-width: 550px) {
    .hero-banner{
        padding: 1rem;
    }
    .hero-banner h1{
        margin-bottom: 0;
    }

    .search-field, .filter-field, .buttons-row {
        margin-left: 10px;
        margin-right: 10px;
    }

    .benefits-grid-half{
        width: 100%;
    }
}

/* Contract Section New Styles */
.contract-new {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contract-new-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: bold;
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.contract-process {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid #2563eb;
    margin-bottom: 1.5rem;
}

.contract-process-title {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: bold;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.contract-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contract-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contract-step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.contract-step-content {
    padding-top: 0.25rem;
}

.contract-step-title {
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
}

.contract-step-desc {
    color: #6b7280;
}

.contract-pricing {
    background: linear-gradient(to right, #16a34a, #15803d);
    color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.contract-pricing-title {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: bold;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.contract-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.contract-pricing-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
}

.contract-pricing-label {
    font-size: 0.875rem;
    color: #bbf7d0;
    margin-bottom: 0.25rem;
}

.contract-pricing-value {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: bold;
    margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
}

.contract-pricing-desc {
    font-size: 0.875rem;
    color: #bbf7d0;
}

.contract-guarantees {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid #eab308;
    margin-bottom: 1.5rem;
}

.contract-guarantees-title {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: bold;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.contract-guarantees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contract-guarantee {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    background: #fefce8;
    border-radius: 0.5rem;
}

.contract-guarantee-icon {
    width: 2rem;
    height: 2rem;
    background: #eab308;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.contract-guarantee-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.contract-guarantee-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

.contract-download {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.contract-download-title {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    font-weight: bold;
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}

.contract-download-desc {
    color: #6b7280;
    margin-bottom: 1rem;
}

.contract-download-btn {
    background: #2563eb;
    color: white;
    padding: 0.75rem clamp(12px, 2vw, 15px);
    font-size: clamp(0.8rem, 2vw, 1rem);
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.contract-download-btn:hover {
    background: #1d4ed8;
}

.contract-download-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Contacts Section New Styles */
.contacts-new {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contacts-new-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: bold;
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.contacts-primary {
    background: linear-gradient(to right, #2563eb, #1e40af);
    color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.contacts-primary-title {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: bold;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.contacts-primary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contacts-primary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    color: white;
    transition: background-color 0.2s;
}

.contacts-primary-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contacts-primary-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacts-phone-icon, .contacts-mail-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.contacts-primary-label {
    font-size: 0.875rem;
    color: #bfdbfe;
}

.contacts-primary-value {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: bold;
}

.contacts-primary-btn {
    background: white;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-size: 1.125rem;
    transition: background-color 0.2s;
}

.contacts-primary-btn:hover {
    background: #f3f4f6;
}

.contacts-hours {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid #2563eb;
    margin-bottom: 1.5rem;
}

.contacts-hours-title {
    font-weight: bold;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.contacts-hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.contacts-hours-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.contacts-hours-label {
    font-weight: bold;
    color: #374151;
    margin-bottom: 0.25rem;
}

.contacts-hours-value {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: bold;
    color: #2563eb;
}

.contacts-company {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid #6b7280;
    margin-bottom: 1.5rem;
}

.contacts-company-title {
    font-weight: bold;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.contacts-company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    color: #374151;
}

.contacts-company-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.contacts-company-label {
    color: #6b7280;
}

.contacts-company-value {
    font-weight: 500;
}

.contacts-bank {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid #6b7280;
}

.contacts-bank-title {
    font-weight: bold;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.contacts-bank-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    color: #374151;
}

.contacts-bank-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.contacts-bank-item-full {
    grid-column: span 1;
}

.contacts-bank-label {
    color: #6b7280;
}

.contacts-bank-value {
    font-weight: 500;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .contract-pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contract-guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-primary-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-hours-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-company-grid,
    .contacts-bank-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-bank-item-full {
        grid-column: span 1;
    }
    
    .contract-new, .contacts-new{
        padding: 0;
    }
}

@media (max-width: 550px) {
    .contract-pricing-grid {
        gap: 0.75rem;
    }
    
    .contract-guarantees-grid {
        gap: 0.75rem;
    }
    
    .contacts-primary-grid {
        gap: 1rem;
    }
    
    .contacts-hours-grid {
        gap: 0.75rem;
    }
}

/* Mobile Responsive Menu */
@media (max-width: 800px) {
    .header-burger {
        display: block;
        position: fixed;
        z-index: 999;
        top: 30px;
        right: 25px;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0.3s;
    }

    .header-nav {
        margin: 0;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background: #0E1D28;
        backdrop-filter: blur(10px);
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transform: translateX(100%);
        transition: 0.3s transform ease;
    }

    .header-nav-active {
        transform: translateX(0%);
    }

    .nav-item, .language-slot {
        width: 100%;
        margin-right: 0;
        text-transform: uppercase;
    }

    .nav-link {
        font-size: 32px;
        line-height: 38px;
        color: white;
        transition: color 0.3s ease;
    }

    .nav-link:hover {
        color: #fbbf24;
    }

    .language-slot {
        margin-top: 30px;
        justify-content: center;
    }

    .language-link {
        text-align: center;
        opacity: 1;
        transition: color 0.3s ease;
        background: transparent;
        border: 2px solid white;
    }
    
    .language-link:hover {
        /* color: #fbbf24 !important; */
        background: rgba(251, 191, 36, 0.1);
    }

    .nav-item:last-child {
        margin-bottom: 0;
    }

    .header-nav-close {
        display: block;
        top: 25px;
        right: 25px;
    }
 
}

@media (max-width: 525px) {
    .nav-container{
        grid-template-columns: repeat(5, 1fr);
    }
    .logo img{
        height: 100%;
        width: 100%;
    }
    .how-we-work{
        padding: 0;
    }
}

@media (max-width: 390px) {
    .nav-container{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 300px) {
    .nav-container{
        grid-template-columns: repeat(3, 1fr);
    }
}



