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

:root {
    --primary-blue: #1976D2;
    --secondary-blue: #1565C0;
    --form-blue: #0D47A1;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-gray: #666666;
    --success-green: #28a745;
    --yellow-accent: #FFC107;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.4;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: 1fr auto;
    gap: 46px 51px;
    align-items: stretch;
    position: relative;
    width: 100%;
    transform-origin: top center;
}

/* Масштабирование для больших экранов */
@media (min-width: 1800px) {
    body {
        overflow: hidden;
    }
    
    .main-content {
        transform: scale(1.5) translateY(-16.67%);
    }
}

@media (min-width: 2200px) {
    .main-content {
        transform: scale(1.8) translateY(-22.22%);
    }
}

@media (min-width: 2500px) {
    .main-content {
        transform: scale(2.0) translateY(-25%);
    }
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 17px;
    width: 100%;
}

/* Main Section */
.main-section {
    flex: 1;
    background: var(--white);
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.left-content {
    color: var(--dark-gray);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.main-title {
    margin-bottom: 0;
    flex-shrink: 0;
    min-height: 153px;
    display: flex;
    align-items: flex-start;
}

.main-title h1 {
    font-size: clamp(1.45rem, 2.9vw, 2.2rem);
    font-weight: 800;
    line-height: 1.0;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 119px;
}

.title-black {
    color: var(--dark-gray);
}

.title-blue {
    color: var(--primary-blue);
    white-space: nowrap;
}

.info-bullets {
    margin: 0;
    display: grid;
    gap: clamp(5px, 0.85vh, 10px);
    flex: 1;
    align-content: start;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: clamp(7px, 1.3vh, 12px) clamp(14px, 1.7vw, 20px);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bullet-item:nth-child(odd) {
    background: linear-gradient(135deg, #E8F4FD, #D1E7F7);
    border-left: 3px solid #4A90C2;
}

.bullet-item:nth-child(even) {
    background: linear-gradient(135deg, #F0F8FF, #E0F0FF);
    border-left: 3px solid #5BA0D0;
}

.bullet {
    width: clamp(17px, 2.55vw, 24px);
    height: clamp(17px, 2.55vw, 24px);
    background: linear-gradient(135deg, var(--success-green), #20c997);
    color: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(9px, 1.7vw, 14px);
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 3px 7px rgba(40, 167, 69, 0.3);
}

.bullet-item span:last-child {
    font-size: clamp(0.72rem, 1.28vw, 0.94rem);
    color: var(--dark-gray);
    font-weight: 600;
    line-height: 1.3;
}

.right-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-guarantee {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8fbff, #f0f8ff);
    padding: clamp(17px, 2.55vh, 24px) clamp(17px, 2.55vh, 24px) clamp(12px, 1.8vh, 18px) clamp(17px, 2.55vh, 24px);
    border-radius: 14px;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 7px 20px rgba(25, 118, 210, 0.1);
    margin-top: 0;
    margin-bottom: 0;
}

.price-bullets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 14px;
}

.price-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 17px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border-left: 3px solid var(--primary-blue);
}

.price-bullet-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-blue), #1565C0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.price-bullet span {
    font-size: clamp(0.77rem, 1.19vw, 0.85rem);
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.3;
}

.price-bullet strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Form Container */
.form-container {
    background: var(--form-blue);
    border: 3px solid var(--primary-blue);
    border-radius: 17px;
    padding: clamp(20px, 3.4vh, 31px);
    box-shadow: 0 13px 34px rgba(13, 71, 161, 0.3);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-header {
    text-align: center;
    margin-bottom: clamp(16px, 2.4vh, 24px);
    flex-shrink: 0;
}

.form-header h3 {
    color: var(--white);
    font-size: clamp(1.11rem, 1.87vw, 1.36rem);
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2.1vh, 20px);
    margin-bottom: clamp(16px, 2.4vh, 24px);
    flex: 1;
    justify-content: center;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    padding: clamp(10px, 1.6vh, 15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9px;
    font-size: clamp(0.77rem, 1.28vw, 0.94rem);
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
    text-align: center;
}

.form-group input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.submit-btn {
    background: linear-gradient(135deg, var(--yellow-accent), #FFB300);
    color: var(--white);
    border: none;
    padding: clamp(12px, 1.9vh, 17px) clamp(17px, 2.55vw, 26px);
    border-radius: 9px;
    font-size: clamp(0.94rem, 1.7vw, 1.19rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #FFB300, #FF8F00);
    box-shadow: 0 10px 26px rgba(255, 193, 7, 0.4);
}

.submit-btn:active {
    transform: translateY(0) scale(1.02);
}

.form-footer-text {
    color: var(--white);
    font-size: clamp(0.68rem, 1.15vw, 0.85rem);
    text-align: center;
    line-height: 1.3;
    margin-top: clamp(10px, 1.5vh, 15px);
    opacity: 0.9;
}

/* Phone Contact */
.phone-contact {
    text-align: center;
    padding-top: clamp(14px, 2.1vh, 20px);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: auto;
    flex-shrink: 0;
}

.main-phone a {
    font-size: clamp(1rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: clamp(7px, 1.28vh, 10px);
    white-space: nowrap;
}

.guarantee-text {
    color: var(--white);
    font-size: clamp(0.55rem, 0.9vw, 0.7rem);
    font-weight: 600;
    white-space: nowrap;
}

/* Масштабирование для средних экранов */
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        overflow: hidden;
    }
    
    .main-content {
        transform: scale(0.85) translateY(8.82%);
    }
    
    /* Принудительно сохраняем структуру при масштабировании */
    .price-bullets {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

/* Мобильная перестройка для маленьких экранов */
@media (max-width: 767px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 25px !important;
        align-items: start;
    }
    
    .main-section {
        min-height: auto;
        padding: 30px 0;
    }
    
    .left-content {
        height: auto;
        min-height: auto;
        justify-content: flex-start;
    }
    
    .right-content {
        height: auto;
        min-height: auto;
        justify-content: flex-start;
    }
    
    .info-bullets {
        align-content: start;
    }
    
    .price-guarantee {
        grid-column: 1;
        margin-top: 0;
    }
    
    .price-bullets {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .main-section {
        padding: 30px 0;
    }
    
    .main-title h1 {
        gap: 0.3rem;
    }
    
    .main-title {
        min-height: 100px !important;
    }
    
    .main-title h1 {
        min-height: 80px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-title h1 {
        gap: 0.2rem;
    }
}

@media (max-width: 375px) {
    .main-title h1 {
        font-size: 1.2rem !important;
    }
    
    .title-blue {
        white-space: normal !important;
    }
}

@media (max-width: 376px) {
    .main-title h1 {
        font-size: 1.2rem !important;
    }
    
    .title-blue {
        white-space: normal !important;
    }
} 