/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #17181E;
    line-height: 1.5;
    background-color: #FFFFFF;
}
.first-section-block-breadcrumbs,
.first-section-block-breadcrumbs a,
.first-section-block-breadcrumbs span{
	color:#8B8B8E;
}
.first-section-block-breadcrumbs{
    margin-bottom:30px;
    padding: 0 15px;
}
.contactsblock {
    width: 100%;
    padding: 0 0 40px 0;
}
.contactsblock_ppp .contactsblock__directions{
	background:#F5F5F5;
}
.contactsblock_ppp .contactsblock__container{
    
gap: 40px;
}
.contactsblock__container {
    max-width: 1190px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 104px;
    padding: 0 15px;
}
.contactsblock__map-placeholder iframe{
    width: 100%;
    height: 380px;
	border: 0;
}
/* Заголовок */
.contactsblock__title {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #17181E;
    margin-bottom: 64px;
}

/* Контактные карточки */
.contactsblock__contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.contactsblock__card {
    border: 1px solid rgba(185, 186, 188, 0.5);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    background-color: #FFFFFF;
    overflow: hidden;
}

.contactsblock__card--phone,
.contactsblock__card--whatsapp,
.contactsblock__card--email {
    min-height: 112px;
}

.contactsblock__card--social {
    min-height: 112px;
}

.contactsblock__card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
}

.contactsblock__card-content--social {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.contactsblock__card-text {
    display: flex;
    flex-direction: column;
    gap: 9px;
    /* flex: 1; */
    /* align-items: start; */
    /* justify-content: center; */
}

.contactsblock__card-label {
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #88888B;
}

.contactsblock__card-value {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #17181E;
}

.contactsblock__card-icon {
    position: absolute;
    /* top: 24px;
    right: -20px; */
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    top: 50%;
    transform: translateY(-50%);
    right: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactsblock__card-icon-img {
    width: 100%;
    height: 100%;
    display: block;
}

.contactsblock__card-icon--switch {
    /* position: static; */
    /* width: 56px; */
    /* height: 57px; */
    /* margin-bottom: auto; */
    /* top: 27px; */
    /* top: 50%;
    transform: translateY(-50%);
    right: 5px; */
}

.contactsblock__social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.contactsblock__social-icon {
    width: 40px;
    height: 40px;
    display: block;
    flex-shrink: 0;
}

.contactsblock__social-icon svg,
.contactsblock__social-icon-img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Адресные карточки */
.contactsblock__address-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.contactsblock__card--address {
    background-color: rgba(23, 24, 30, 0.03);
    padding: 20px 45px 20px 20px;
    border: 0;
}
.site-content{
    padding-left:0;
    padding-right:0;
}
.contactsblock__card--hours {
    background-color: rgba(23, 24, 30, 0.03);
    grid-column: span 2;
    border: 0;
}

/* Детали компании */
.contactsblock__details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contactsblock__details-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: #17181E;
}

.contactsblock__details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.contactsblock__details-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactsblock__details-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(23, 24, 30, 0.1);
}

.contactsblock__details-label {
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: #17181E;
    min-width: 140px;
    flex-shrink: 0;
}

.contactsblock__details-value {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: rgba(23, 24, 30, 0.8);
    text-align: right;
    flex: 1;
}

.contactsblock__details-column--bank .contactsblock__details-label {
    min-width: 209px;
}

/* Схема проезда */
.contactsblock__directions {
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
}

.contactsblock__directions-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #17181E;
    align-self: flex-start;
    margin-bottom: 0;
}

.contactsblock__directions-content {
    width: 100%;
    max-width: 1160px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contactsblock__directions-city {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #17181E;
}

.contactsblock__directions-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.contactsblock__direction-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contactsblock__direction-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contactsblock__direction-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: #17181E;
}

.contactsblock__direction-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(23, 24, 30, 0.8);
}

.contactsblock__map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.contactsblock__map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Форма обратной связи */
.contactsblock__form {
    background-color: #FFEDD5;
    border-radius: 10px;
    padding: 48px 48px 0 48px;
    display: grid;
    grid-template-columns: 1fr 508px;
    gap: 48px;
    align-items: start;
    margin: 80px 0;
}

.contactsblock__form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
}

.contactsblock__form-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactsblock__form-title,
h2.contactsblock__form-title{
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: #17181E;
    margin-bottom: 0;
}

.contactsblock__form-subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #17181E;
    margin-bottom: 20px;
}

.contactsblock__form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactsblock__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contactsblock__form-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contactsblock__form-field--full {
    grid-column: 1 / -1;
}

.contactsblock__form-label {
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #333333;
}

.contactsblock__form-input ,
input[type=tel].contactsblock__form-input, 
input[type=text].contactsblock__form-input{
    background-color: #FFFFFF;
    border: none;
    border-radius: 5px;
    padding: 22px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #17181E;
    font-family: inherit;
}

.contactsblock__form-input::placeholder {
    color: #B9BABC;
}

.contactsblock__form-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #FFFFFF;
    border-radius: 5px;
    padding: 22px 20px;
}

.contactsblock__form-phone-flag {
    font-size: 18px;
    flex-shrink: 0;
}

.contactsblock__form-phone .contactsblock__form-input {
    padding: 0;
    flex: 1;
}

.contactsblock__form-textarea-wrapper {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 5px;
    padding: 20px;
    min-height: 120px;
}

.contactsblock__form-textarea {
    width: 100%;
    min-height: 80px;
    border: none;
    background: transparent;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #17181E;
    font-family: inherit;
    resize: vertical;
}

.contactsblock__form-textarea::placeholder {
    color: #B9BABC;
}

.contactsblock__form-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #B9BABC;
}

.contactsblock__form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contactsblock__form-button {
    background-color: #CD3131;
    border: none;
    border-radius: 5px;
    padding: 20px 32px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: #FFFFFF;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    transition: background-color 0.3s ease;
}

.contactsblock__form-button:hover {
    background-color: #B02A2A;
}

.contactsblock__form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contactsblock__form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contactsblock__form-checkbox-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.contactsblock__form-checkbox-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #B19870;
}

.contactsblock__form-image {
    width: 100%;
    height: 100%;
    min-height: 625px;
}

.contactsblock__form-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .contactsblock__container {
        gap: 80px;
    }
    
    .contactsblock__form {
        grid-template-columns: 1fr;
    }
    
    .contactsblock__form-image {
        min-height: 400px;
    }
}

@media (max-width: 992px) {
    .contactsblock__title {
        font-size: 36px;
    }
    
    .contactsblock__details-title,
    .contactsblock__form-title {
        font-size: 32px;
    }
    
    .contactsblock__directions {
        padding: 60px 30px;
    }
    
    .contactsblock__form {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
	.contactsblock__direction-title{
		font-size: 18px;
	}
    .contactsblock {
        padding: 30px 15px;
    }
    
    .contactsblock__container {
        gap: 60px;
    }
    
    .contactsblock__title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .contactsblock__contact-cards,
    .contactsblock__address-cards {
        grid-template-columns: 1fr;
    }
    
    .contactsblock__card--hours {
        grid-column: span 1;
    }
    
    .contactsblock__details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contactsblock__details-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .contactsblock__details-label {
        min-width: auto;
    }
    
    .contactsblock__details-value {
        text-align: left;
    }
    
    .contactsblock__details-column--bank .contactsblock__details-label {
        min-width: auto;
    }
    
    .contactsblock__directions {
        padding: 40px 20px;
        gap: 40px;
    }
    
    .contactsblock__directions-title {
        font-size: 24px;
    }
    
    .contactsblock__directions-city {
        font-size: 24px;
    }
    
    .contactsblock__directions-cards {
        grid-template-columns: 1fr;
    }
    
    .contactsblock__direction-card {
        padding: 30px 20px;
    }
    
    .contactsblock__form {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .contactsblock__form-content {
        gap: 30px;
    }
    
    .contactsblock__form-title {
        font-size: 24px;
    }
    
    .contactsblock__form-subtitle {
        font-size: 16px;
    }
    
    .contactsblock__form-row {
        grid-template-columns: 1fr;
    }
    
    .contactsblock__form-fields {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .contactsblock {
        padding: 20px 10px;
    }
    
    .contactsblock__container {
        gap: 40px;
    }
    
    .contactsblock__title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .contactsblock__card {
        padding: 15px;
    }
    
    .contactsblock__card-icon {
        width: 56px;
        height: 56px;
        /* top: 15px;
        right: 15px; */
    }
    
    .contactsblock__card-value {
        font-size: 16px;
    }
    
    .contactsblock__details-title,
    .contactsblock__form-title {
        font-size: 20px;
    }
    
    .contactsblock__directions {
        padding: 30px 15px;
    }
    
    .contactsblock__form {
        padding: 20px 15px;
    }
    
    .contactsblock__form-image {
        min-height: 300px;
    }
}
