/* ===================================================
   Contacts Page Styles
   =================================================== */

.ct-page {
    padding: 0 0 80px 0;
}

/* ===== HERO ===== */
.ct-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    min-height: 280px;
    background: linear-gradient(135deg, #111 0%, #222 50%, #2a2a2a 100%);
}

.ct-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(133,198,53,0.12) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(133,198,53,0.06) 0%, transparent 50%);
}

.ct-hero__body {
    position: relative;
    z-index: 2;
    padding: 60px 70px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ct-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(133,198,53,0.15);
    border: 1px solid rgba(133,198,53,0.4);
    color: #85c635;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    width: fit-content;
}

.ct-hero__title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.1;
}

.ct-hero__sub {
    font-size: 20px;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

/* ===== MAIN GRID ===== */
.ct-main {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

/* ===== CONTACT CARDS ===== */
.ct-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 24px 22px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.ct-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.ct-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(133,198,53,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: #85c635;
}

.ct-card__body {
    flex: 1;
    min-width: 0;
}

.ct-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #999;
    margin-bottom: 4px;
}

.ct-card__value {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    display: block;
}

.ct-card__link {
    text-decoration: none;
    transition: color 0.2s;
}

.ct-card__link:hover {
    color: #85c635;
}

.ct-card__note {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

/* ===== YANDEX RATING BADGE ===== */
.ct-rating-card {
    text-decoration: none;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fff 0%, #fdf9f0 100%);
    border-color: #f0e8c8;
    cursor: pointer;
    position: relative;
}

.ct-rating-card:hover {
    border-color: #f5c518;
    box-shadow: 0 6px 24px rgba(245,197,24,0.15);
}

.ct-rating__score {
    font-size: 52px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -1px;
}

.ct-rating__info {
    flex: 1;
}

.ct-rating__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
}

.ct-rating__stars i {
    font-size: 18px;
    color: #f5c518;
}

.ct-rating__count {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.ct-rating__source {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
}

.ct-rating__arrow {
    font-size: 13px;
    color: #ccc;
    flex-shrink: 0;
    transition: color 0.2s;
}

.ct-rating-card:hover .ct-rating__arrow {
    color: #f5c518;
}

/* ===== MAP ===== */
.ct-map-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.ct-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ct-map-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.ct-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #85c635;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ct-map-link:hover {
    opacity: 0.8;
}

.ct-map {
    flex: 1;
    min-height: 280px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

/* ===== WORKING HOURS ===== */
.ct-hours {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 40px 50px;
    margin-bottom: 40px;
}

.ct-hours__inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.ct-hours__text {
    flex-shrink: 0;
    max-width: 280px;
}

.ct-hours__text h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.ct-hours__text p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.ct-hours__grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ct-hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.ct-hour-row:last-child {
    border-bottom: none;
}

.ct-hour-day {
    font-size: 15px;
    color: #444;
    font-weight: 500;
}

.ct-hour-time {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ===== CTA ===== */
.ct-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 16px;
    padding: 45px 55px;
}

.ct-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ct-cta h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.ct-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 440px;
}

.ct-cta__btns {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.ct-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.ct-btn--primary {
    background: #85c635;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(133,198,53,0.35);
}

.ct-btn--primary:hover {
    background: #77b52c;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(133,198,53,0.4);
}

.ct-btn--outline {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff !important;
}

.ct-btn--outline:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .ct-main {
        grid-template-columns: 1fr;
    }
    .ct-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .ct-card {
        flex: 1 1 calc(50% - 8px);
    }
    .ct-map {
        height: 320px;
    }
    .ct-hours__inner {
        flex-direction: column;
        gap: 25px;
    }
    .ct-hours__text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .ct-hero__body {
        padding: 40px 30px;
    }
    .ct-hero__title {
        font-size: 38px;
    }
    .ct-card {
        flex: 1 1 100%;
    }
    .ct-hours {
        padding: 30px 24px;
    }
    .ct-cta {
        padding: 30px 24px;
    }
    .ct-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .ct-cta__btns {
        flex-direction: column;
        width: 100%;
    }
    .ct-btn {
        width: 100%;
        justify-content: center;
    }
}
