/* Sportmed Elementor widgets: the only widget stylesheet. Loaded on every page. */

/* ===== base ===== */
/* Shared primitives, scoped to this plugin's Elementor widgets. */
:is([class*="elementor-widget-sport-"], [class*="elementor-widget-sportmed-"], .elementor-widget-clinic-description, .elementor-widget-clinic-services, .elementor-widget-clinic-management, .elementor-widget-clinic-stats) {
    --primary: #003366;
    --accent: #cd163f;
    --text-dark: #2c3e50;
    --text-muted: #576574;
    --white: #fff;
    --bg-soft: #f4f7f9;
    --transition: all 0.4s cubic-bezier(.165,.84,.44,1);
    font-family: Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}
:is([class*="elementor-widget-sport-"], [class*="elementor-widget-sportmed-"], .elementor-widget-clinic-description, .elementor-widget-clinic-services, .elementor-widget-clinic-management, .elementor-widget-clinic-stats) *,
:is([class*="elementor-widget-sport-"], [class*="elementor-widget-sportmed-"], .elementor-widget-clinic-description, .elementor-widget-clinic-services, .elementor-widget-clinic-management, .elementor-widget-clinic-stats) *::before,
:is([class*="elementor-widget-sport-"], [class*="elementor-widget-sportmed-"], .elementor-widget-clinic-description, .elementor-widget-clinic-services, .elementor-widget-clinic-management, .elementor-widget-clinic-stats) *::after { box-sizing: border-box; }
.sport-section-header { text-align: center; margin-bottom: 50px; }
.sport-section-header h2 { font-family: Montserrat, sans-serif; font-size: 2.5rem; color: #003366; margin-bottom: 15px; }
.sport-section-line { width: 80px; height: 4px; background: #cd163f; margin: 0 auto; }
.sport-section-header p { max-width: 700px; margin: 15px auto 0; color: #576574; font-size: 1.1rem; }
.sport-doctors-section .sport-dr-card[hidden] { display: none; }
.sportmed-gallery-item { display: block; width: 100%; min-width: 0; padding: 0; border: 0; color: inherit; font: inherit; text-align: inherit; }
.sportmed-gallery-item:focus-visible, .sm-gallery-modal button:focus-visible { outline: 3px solid #00a8cc; outline-offset: 3px; }
.sm-gallery-modal[hidden], .sm-gallery-modal button[hidden] { display: none !important; }
.sportmed-faq-answer-wrap[hidden] { display: none; }
.sportmed-faq-item.is-open .sportmed-faq-answer-wrap { max-height: none; }

/* ===== clinic-widgets ===== */
/* ============================================================================
   CLINIC ABOUT WIDGET - Minimalist about section with highlights
   ============================================================================ */
.clinic-about {
    padding: 60px 0;
    background-color: #ffffff;
}

.clinic-about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.clinic-about__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.15);
    transition: transform var(--transition, 0.3s ease), box-shadow var(--transition, 0.3s ease);
}

.clinic-about__image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 51, 102, 0.25);
}

.clinic-about__image img {
    display: block;
    width: 100%;
    height: auto;
}

.clinic-about__content {
    padding: 20px 0;
}

.clinic-about__title {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 15px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.clinic-about__accent-line {
    width: 60px;
    height: 4px;
    background-color: #cd163f;
    margin: 15px 0 30px 0;
    border-radius: 2px;
}

.clinic-about__description {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 40px;
    font-family: 'Roboto', sans-serif;
}

.clinic-about__highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.clinic-about__highlight {
    background-color: #e6f0fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #cd163f;
    transition: all var(--transition, 0.3s ease);
}

.clinic-about__highlight:hover {
    background-color: #d4e6f5;
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(205, 22, 63, 0.1);
}

.clinic-about__highlight-title {
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #cd163f;
    margin: 0 0 8px 0;
}

.clinic-about__highlight-text {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .clinic-about__title { font-size: 2rem; }
    .clinic-about__container { gap: 40px; }
}

@media (max-width: 768px) {
    .clinic-about {
        padding: 40px 0;
    }
    
    .clinic-about__container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .clinic-about__title { font-size: 1.8rem; }
    .clinic-about__description { font-size: 1rem; }
}

/* ============================================================================
   UTILITY & COMMON WIDGET STYLES
   ============================================================================ */
.elementor-widget-clinic-description,
.elementor-widget-clinic-info,
.elementor-widget-clinic-features,
.elementor-widget-clinic-management,
.elementor-widget-clinic-gallery {
    display: block;
}

/* Ensure consistent spacing in Elementor */
:is(.elementor-widget-clinic-description, .elementor-widget-clinic-info, .elementor-widget-clinic-features, .elementor-widget-clinic-management, .elementor-widget-clinic-gallery, .elementor-widget-clinic-stats) > .elementor-widget-container {
    margin: 0;
    padding: 0;
}

/* ============================================================================
   CLINIC INFO & HOURS WIDGET - Contact information and working hours
   ============================================================================ */
.clinic-info {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f8fb 0%, #ffffff 100%);
}

.clinic-info__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.clinic-info__header {
    text-align: center;
    margin-bottom: 60px;
}

.clinic-info__title {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.clinic-info__accent-line {
    width: 60px;
    height: 4px;
    background-color: #cd163f;
    margin: 15px auto 30px auto;
    border-radius: 2px;
}

.clinic-info__description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

.clinic-info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

.clinic-info__section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    transition: all var(--transition, 0.3s ease);
}

.clinic-info__section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
}

.clinic-info__section-title {
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.clinic-info__icon {
    font-size: 1.5rem;
}

.clinic-info__hours {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.clinic-info__hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e6f0fa;
}

.clinic-info__hour-item:last-child {
    border-bottom: none;
}

.clinic-info__day {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #003366;
    font-size: 0.95rem;
}

.clinic-info__time {
    color: #cd163f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
}

.clinic-info__contacts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.clinic-info__contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.clinic-info__label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #cd163f;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.clinic-info__contact-item a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition, 0.3s ease);
}

.clinic-info__contact-item a:hover {
    color: #cd163f;
    text-decoration: underline;
}

.clinic-info__contact-item span {
    color: #555555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .clinic-info {
        padding: 50px 0;
    }
    
    .clinic-info__title {
        font-size: 2rem;
    }
    
    .clinic-info__section {
        padding: 30px;
    }
    
    .clinic-info__grid {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .clinic-info__title {
        font-size: 1.5rem;
    }
    
    .clinic-info__section-title {
        font-size: 1.1rem;
    }
}

/* ============================================================================
   CLINIC FEATURES WIDGET - Clinic information and features
   ============================================================================ */
.clinic-features {
    padding: 80px 0;
    background-color: #ffffff;
}

.clinic-features__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
}

.clinic-features__title {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.clinic-features__accent-line {
    width: 60px;
    height: 4px;
    background-color: #cd163f;
    margin: 15px auto 30px auto;
    border-radius: 2px;
}

.clinic-features__description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

.clinic-features__grid {
    display: grid;
    grid-template-columns: repeat(var(--clinic-features-columns, 3), 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.clinic-features__card {
    background-color: #f9f9f9;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    transition: all var(--transition, 0.3s ease);
    border: 2px solid transparent;
    position: relative;
}

.clinic-features__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
    border-color: #cd163f;
}

.clinic-features__priority {
    font-size: 1rem;
    color: #cd163f;
    margin-bottom: 15px;
    letter-spacing: 2px;
    height: 20px;
}

.clinic-features__feature-title {
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.clinic-features__text {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1200px) {
    .clinic-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clinic-features {
        padding: 50px 0;
    }
    
    .clinic-features__header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .clinic-features__title {
        font-size: 2rem;
    }
    
    .clinic-features__grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .clinic-features__card {
        padding: 25px;
    }
    
    .clinic-features__feature-title {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .clinic-features__title {
        font-size: 1.5rem;
    }
}

/* ============================================================================
   CLINIC ABOUT WIDGET - Contact Information Section
   ============================================================================ */
.clinic-about__contacts-info {
    background-color: #e6f0fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #cd163f;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.clinic-about__contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clinic-about__contact-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.clinic-about__contact-value {
    color: #555555;
    line-height: 1.6;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.clinic-about__contact-item a {
    color: #cd163f;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition, 0.3s ease);
}

.clinic-about__contact-item a:hover {
    color: #003366;
    text-decoration: underline;
}

/* Medical placeholder image */
.clinic-about__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e6f0fa;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    font-size: 80px;
    color: #a8c5d8;
}

@media (max-width: 768px) {
    .clinic-about__contacts-info {
        margin-top: 25px;
        padding: 20px;
    }
    
    .clinic-about__contact-label {
        font-size: 0.85rem;
    }
}

/* ============================================================================
   CLINIC MANAGEMENT WIDGET - Руководство клиники
   ============================================================================ */
.clinic-management {
    padding: 80px 0;
}

.clinic-management__container {
    margin: 0 auto;
    padding: 0 30px;
}

.clinic-management__header {
    text-align: center;
    margin-bottom: 60px;
    overflow-wrap: anywhere;
}

.clinic-management__title {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.clinic-management__accent-line {
    width: 60px;
    height: 4px;
    background-color: #cd163f;
    margin: 15px auto 30px auto;
    border-radius: 2px;
}

.clinic-management__description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    margin: 0 0 50px 0;
}

.clinic-management__members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.clinic-management__member-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 51, 102, 0.08);
}

.clinic-management__member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.2);
}

.clinic-management__member-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: #e6f0fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.clinic-management__member-image--placeholder {
    color: #91afc4;
}

.clinic-management .clinic-management__member-image > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.clinic-management__member-content {
    padding: 35px;
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
}

/* Share the content rows within each visual row of cards. Text defines the
   track height, so long names, positions and schedules remain fully visible. */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 769px) {
        .clinic-management__members-grid { row-gap: 0; }
        .clinic-management__member-card {
            display: grid;
            grid-template-rows: subgrid;
            grid-row: span 5;
            row-gap: 0;
            margin-bottom: 30px;
        }
        .clinic-management__member-image { grid-row: 1; }
        .clinic-management__member-content {
            display: grid;
            grid-template-rows: subgrid;
            grid-row: 2 / span 4;
            row-gap: 0;
        }
        .clinic-management__member-position { grid-row: 1; }
        .clinic-management__member-name { grid-row: 2; }
        .clinic-management__meta { grid-row: 3; }
        .clinic-management__member-bio { grid-row: 4; }
    }
}

.clinic-management__member-name {
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 8px 0;
}

.clinic-management__member-position {
    font-size: 0.85rem;
    color: #cd163f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.clinic-management__meta {
    background-color: #f5f8fb;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.clinic-management__meta-label {
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.clinic-management__member-hours {
    font-size: 0.95rem;
    color: #003366;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.clinic-management__member-bio {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1024px) {
    .clinic-management__members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .clinic-management {
        padding: 50px 0;
    }
    
    .clinic-management__title {
        font-size: 2rem;
    }
    
    .clinic-management__container {
        padding: 0 15px;
    }

    .clinic-management__members-grid {
        grid-template-columns: 1fr;
    }
    
    .clinic-management__member-content {
        padding: 25px;
    }

    .clinic-management__member-image {
        height: 280px;
    }
}

/* ============================================================================
   CLINIC STATS WIDGET - Статистика клиники
   ============================================================================ */
.clinic-stats {
    padding: 80px 0;
    background-color: #ffffff;
}

.clinic-stats__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
}

.clinic-stats__title {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.clinic-stats__accent-line {
    width: 60px;
    height: 2px;
    background-color: #cd163f;
    margin: 15px auto 30px auto;
    border-radius: 1px;
}

.clinic-stats__description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

.clinic-stats__grid {
    display: grid;
    grid-template-columns: repeat(var(--clinic-stats-columns, 4), 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.clinic-stats__card {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    transition: all var(--transition, 0.3s ease);
    text-align: center;
    border: 2px solid transparent;
}

.clinic-stats__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
    border-color: #cd163f;
}

.clinic-stats__icon {
    font-size: 3.5rem;
    margin: 0 0 20px 0;
    line-height: 1;
}

.clinic-stats__value {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 15px 0;
    line-height: 1.1;
}

.clinic-stats__label {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 1200px) {
    .clinic-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clinic-stats {
        padding: 50px 0;
    }
    
    .clinic-stats__header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .clinic-stats__title {
        font-size: 2rem;
    }
    
    .clinic-stats__grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .clinic-stats__card {
        padding: 30px;
    }
    
    .clinic-stats__value {
        font-size: 2rem;
    }
    
    .clinic-stats__icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .clinic-stats__title {
        font-size: 1.5rem;
    }
    
    .clinic-stats__value {
        font-size: 1.8rem;
    }
}

/* ============================================================================
   CLINIC GALLERY WIDGET - Галерея клиники
   ============================================================================ */
.clinic-gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f8fb 0%, #ffffff 100%);
}

.clinic-gallery__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.clinic-gallery__header {
    text-align: center;
    margin-bottom: 60px;
}

.clinic-gallery__title {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #003366;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.clinic-gallery__accent-line {
    width: 60px;
    height: 4px;
    background-color: #cd163f;
    margin: 15px auto 30px auto;
    border-radius: 2px;
}

.clinic-gallery__description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

.clinic-gallery__grid {
    display: grid;
    grid-template-columns: repeat(var(--clinic-gallery-columns, 4), 1fr);
    gap: 30px;
}

.clinic-gallery__item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    transition: all var(--transition, 0.3s ease);
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.clinic-gallery__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.2);
}

.clinic-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition, 0.3s ease);
}

.clinic-gallery__item:hover .clinic-gallery__image {
    transform: scale(1.05);
}

.clinic-gallery__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background-color: #e6f0fa;
    width: 100%;
    height: 100%;
}

.clinic-gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(205, 22, 63, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition, 0.3s ease);
}

.clinic-gallery__item:hover .clinic-gallery__overlay {
    opacity: 1;
}

.clinic-gallery__overlay-title {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.clinic-gallery__overlay-description {
    font-size: 0.95rem;
    color: #e6f0fa;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1200px) {
    .clinic-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .clinic-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clinic-gallery {
        padding: 50px 0;
    }
    
    .clinic-gallery__header {
        margin-bottom: 40px;
    }
    
    .clinic-gallery__title {
        font-size: 2rem;
    }
    
    .clinic-gallery__container {
        padding: 0 15px;
    }
    
    .clinic-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .clinic-gallery__overlay-title {
        font-size: 1.2rem;
    }
    
    .clinic-gallery__overlay-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .clinic-gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .clinic-gallery__title {
        font-size: 1.5rem;
    }
}

/* ===== sm-widgets ===== */
/* ====================================================
   Sportmed Elementor Widgets
   ==================================================== */

/* ── FAQ ─────────────────────────────────────────────── */
.sportmed-faq-section {
    padding: 60px 0;
}

.sportmed-faq-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.sportmed-faq-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1b2d3e;
    text-align: center;
    margin-bottom: 40px;
}

.sportmed-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sportmed-faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
    overflow: hidden;
    transition: box-shadow .25s;
}

.sportmed-faq-item.is-open {
    box-shadow: 0 4px 20px rgba(0, 168, 200, .15);
}

.sportmed-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1b2d3e;
    text-align: left;
    line-height: 1.4;
    transition: color .2s;
}

.sportmed-faq-question:hover {
    color: #00a8cc;
}

.sportmed-faq-icon {
    flex-shrink: 0;
    margin-left: 16px;
    color: #00a8cc;
    transition: transform .3s ease;
}

.sportmed-faq-item.is-open .sportmed-faq-icon {
    transform: rotate(180deg);
}

.sportmed-faq-answer-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.sportmed-faq-answer {
    padding: 0 24px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: .95rem;
    color: #5a6a7a;
    line-height: 1.7;
    margin: 0;
}

/* ── Отзывы ──────────────────────────────────────────── */
.sportmed-reviews-section {
    padding: 60px 0;
    background: #f5f8fb;
}

.sportmed-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sportmed-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.sportmed-reviews-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1b2d3e;
    margin: 0;
    line-height: 1.3;
}

.sportmed-reviews-all-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #00a8cc;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .05em;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s;
}

.sportmed-reviews-all-btn:hover {
    background: #007fa0;
    color: #fff;
}

.sportmed-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .sportmed-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .sportmed-reviews-grid { grid-template-columns: 1fr; }
}

.sportmed-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, .07);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sportmed-review-quote-icon {
    font-size: 2.2rem;
    line-height: 1;
    color: #00a8cc;
    font-family: Georgia, serif;
}

.sportmed-review-text {
    font-family: 'Roboto', sans-serif;
    font-size: .95rem;
    color: #3a4a5a;
    line-height: 1.75;
    font-style: italic;
    margin: 0;
    flex: 1;
}

.sportmed-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.sportmed-review-photo-wrap {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: #e8f4f8;
}

.sportmed-review-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sportmed-review-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sportmed-review-photo-placeholder svg {
    width: 36px;
    height: 36px;
}

.sportmed-review-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sportmed-review-name {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    color: #1b2d3e;
}

.sportmed-review-doctor {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    color: #1b2d3e;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── Галерея ─────────────────────────────────────────── */
.sportmed-gallery-section {
    padding: 60px 0;
}

.sportmed-gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1b2d3e;
    text-align: center;
    margin-bottom: 32px;
}

.sportmed-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 900px) {
    .sportmed-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .sportmed-gallery-grid { grid-template-columns: 1fr; }
}

.sportmed-gallery-item {
    overflow: hidden;
    border-radius: 10px;
    background: #e8f0f5;
}

.sportmed-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.sportmed-gallery-item:hover img {
    transform: scale(1.05);
}

.sportmed-gallery-item {
    cursor: pointer;
}

/* ── Gallery Modal ───────────────────────────────────── */
.sm-gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .88);
    align-items: center;
    justify-content: center;
}

.sm-gallery-modal.is-open {
    display: flex;
}

.sm-gallery-modal-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-gallery-modal-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, .6);
    display: block;
}

.sm-gallery-modal-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 100000;
}

.sm-gallery-modal-close:hover {
    background: rgba(255, 255, 255, .25);
}

.sm-gallery-modal-prev,
.sm-gallery-modal-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 100000;
}

.sm-gallery-modal-prev { left: 20px; }
.sm-gallery-modal-next { right: 20px; }

.sm-gallery-modal-prev:hover,
.sm-gallery-modal-next:hover {
    background: rgba(0, 168, 200, .6);
}

@media (max-width: 600px) {
    .sm-gallery-modal-prev { left: 8px; }
    .sm-gallery-modal-next { right: 8px; }
    .sm-gallery-modal-close { top: 10px; right: 12px; }
}

/* ── MAP WIDGET (стили перенесены inline в виджет) ───── */

/* ── О нас + Видео ───────────────────────────────────── */
.sm-about-video {
    padding: 60px 0;
}

.sm-about-video__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.sm-about-video--media-left .sm-about-video__content {
    order: 2;
}

.sm-about-video--media-left .sm-about-video__media {
    order: 1;
}

.sm-about-video__eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #00a8cc;
    margin-bottom: 16px;
}

.sm-about-video__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1b2d3e;
    margin: 0 0 18px;
}

.sm-about-video__text {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #5a6a7a;
}

.sm-about-video__text p {
    margin: 0 0 14px;
}

.sm-about-video__text p:last-child {
    margin-bottom: 0;
}

.sm-about-video__media {
    position: relative;
}

.sm-about-video__player {
    position: relative;
    width: 100%;
    aspect-ratio: var(--smav-ratio, 16 / 9);
    border-radius: 16px;
    overflow: hidden;
    background: #0f1c26;
    box-shadow: 0 18px 45px rgba(15, 28, 38, .22);
    cursor: pointer;
}

.sm-about-video__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: var(--smav-fit, cover);
    object-position: center;
    background: #0f1c26;
}

.sm-about-video__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: var(--smav-fit, cover);
    display: block;
    transition: transform .4s ease, filter .3s ease;
}

.sm-about-video__poster--placeholder {
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 168, 200, .35), transparent 60%),
        linear-gradient(135deg, #16303f 0%, #0f1c26 100%);
}

.sm-about-video__player:hover .sm-about-video__poster {
    transform: scale(1.04);
    filter: brightness(.9);
}

.sm-about-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border: none;
    border-radius: 50%;
    background: #00a8cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 168, 200, .45);
    transition: transform .2s ease, background .2s ease, opacity .3s ease;
}

.sm-about-video__play svg {
    margin-left: 3px;
}

.sm-about-video__player:hover .sm-about-video__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.sm-about-video__play[disabled] {
    opacity: .55;
    cursor: default;
}

.sm-about-video__player.is-playing {
    cursor: default;
}

.sm-about-video__player.is-playing .sm-about-video__play,
.sm-about-video__player.is-playing .sm-about-video__poster {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 900px) {
    .sm-about-video__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sm-about-video--media-left .sm-about-video__content,
    .sm-about-video--media-left .sm-about-video__media {
        order: initial;
    }

    .sm-about-video__title {
        font-size: 1.55rem;
    }
}

/* ── APPOINTMENT FORM — только кнопка submit ──────────── */
/* Основные стили вынесены inline в виджет для надёжного
   применения независимо от Elementor CSS-порядка.
   Здесь только hover-состояния, которые inline не реализовать */
.sm-appointment-submit:hover {
    background: #0090ad !important;
    transform: translateY(-1px);
}

.sm-appointment-submit:active {
    transform: translateY(0);
}

/* ===== hero ===== */
.sport-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 110px 0;
    overflow: hidden;
}
.sport-hero-content {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}
.sport-hero-text { flex: 1 1 52%; min-width: 0; }
.sport-hero h1 { font-family: 'Montserrat', sans-serif; font-size: 3.5rem; font-weight: 800; margin-bottom: 25px; line-height: 1.1; }
.sport-hero p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.9; max-width: 700px; }
.sport-hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.sport-btn-accent { display: inline-block; padding: 14px 32px; background: #cd163f; color: #fff; font-weight: 700; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; transition: all 0.3s; text-decoration: none; }
.sport-btn-accent:hover { background: #a01232; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(205,22,63,0.3); }
.sport-btn-outline-white { display: inline-block; padding: 14px 32px; border: 2px solid #fff; color: #fff; background: transparent; font-weight: 700; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; transition: all 0.3s; text-decoration: none; }
.sport-btn-outline-white:hover { background: #fff; color: #003366; }

/* Video block */
.sport-hero-media {
    flex: 1 1 42%;
    min-width: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,10,30,0.45);
    aspect-ratio: var(--hero-media-ratio, 4 / 5);
    background: rgba(0,20,40,0.35);
    border: 1px solid rgba(255,255,255,0.15);
}
.sport-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    pointer-events: none;
}
.sport-hero-video {
    width: 100%;
    height: 100%;
    object-fit: var(--hero-media-fit, cover);
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.sport-hero-video.is-loaded { opacity: 1; }

@media (max-width: 991px) {
    .sport-hero { padding: 80px 0; }
    .sport-hero-content { flex-direction: column; gap: 40px; }
    .sport-hero-text, .sport-hero-media { flex: 1 1 100%; width: 100%; }
    .sport-hero h1 { font-size: 2.5rem; }
    .sport-hero p { font-size: 1.1rem; }
    .sport-hero-media { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 480px) {
    .sport-hero h1 { font-size: 2rem; }
    .sport-hero-media { border-radius: 14px; }
}

/* A poster is visible while the video waits for the page to finish loading. */
.sport-hero-video[poster] { opacity: 1; }

/* ===== stats ===== */
.sport-stats-wrapper { margin-top: -60px; position: relative; z-index: 10; }
.sport-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
}
.sport-stat-card {
    background: #ffffff;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    border-top: 5px solid #cd163f;
}
.sport-stat-card h3 { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; color: #003366; margin-bottom: 5px; }
.sport-stat-card p { font-size: 0.85rem; font-weight: 600; color: #576574; text-transform: uppercase; margin: 0; }
@media (max-width: 768px) { .sport-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sport-stat-card { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .sport-stats-grid { grid-template-columns: 1fr; } }

/* ===== services ===== */
.sport-services-section { background: #ffffff; padding: 80px 0; }
.sport-section-header { text-align: center; margin-bottom: 50px; }
.sport-section-header h2 { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; color: #003366; margin-bottom: 15px; }
.sport-section-line { width: 80px; height: 4px; background: #cd163f; margin: 0 auto; }
.sport-section-header p { max-width: 700px; margin: 15px auto 0; color: #576574; font-size: 1.1rem; }
.sport-service-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.sport-service-mini-card {
    background: #f4f7f9;
    padding: 40px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    text-align: left;
    text-decoration: none;
    display: block;
    color: inherit;
}
.sport-service-mini-card:hover { background: #fff; border-color: #cd163f; box-shadow: 0 15px 35px rgba(0,0,0,0.1); transform: translateY(-5px); }
.sport-service-mini-card .svc-icon { font-size: 2.5rem; color: #cd163f; margin-bottom: 20px; display: block; }
.sport-service-mini-card h4 { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; color: #003366; margin-bottom: 10px; }
.sport-service-mini-card p { color: #576574; font-size: 0.95rem; margin: 0; }
@media (max-width: 1024px) { .sport-service-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .sport-service-mini-grid { grid-template-columns: 1fr; } }

/* ===== doctors-preview ===== */
.sport-doctors-preview-section { background: #f4f7f9; padding: 80px 0; }
.sport-doctors-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sport-dr-preview-card { display: block; position: relative; border-radius: 15px; overflow: hidden; height: 400px; cursor: pointer; background: #c8d8e8; }
.sport-dr-preview-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); display: block; }
.sport-dr-preview-info {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px;
    background: linear-gradient(transparent, rgba(0,34,68,0.9));
    color: #fff; transition: all 0.4s;
}
.sport-dr-preview-card:hover .sport-dr-preview-img { transform: scale(1.1); }
.sport-dr-preview-card:hover .sport-dr-preview-info { padding-bottom: 35px; }
.sport-dr-preview-info h4 { font-family: 'Montserrat', sans-serif; margin-bottom: 5px; font-size: 1.1rem; }
.sport-dr-preview-info p { font-size: 0.9rem; opacity: 0.85; margin: 0; }
.sport-preview-btn-wrap { text-align: center; margin-top: 40px; }
.sport-btn-outline-dark { display: inline-block; padding: 12px 28px; border: 2px solid #003366; color: #003366; background: transparent; font-weight: 700; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; transition: all 0.3s; text-decoration: none; }
.sport-btn-outline-dark:hover { background: #003366; color: #fff; }
@media (max-width: 1024px) { .sport-doctors-preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .sport-doctors-preview-grid { grid-template-columns: 1fr; } }

/* ===== doctors ===== */
.sport-doctors-section { padding: 80px 0; background: #fff; }
.sport-doctors-container { max-width: 1400px; width: 95%; margin: 0 auto; }
.sport-filter-container { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.sport-filter-btn { padding: 10px 20px; border: 1px solid #003366; background: transparent; color: #003366; border-radius: 30px; cursor: pointer; font-weight: 600; transition: all 0.3s; font-size: 0.9rem; }
.sport-filter-btn.active { background: #003366; color: #fff; }
.sport-doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.sport-dr-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; border: 1px solid #eee; transition: all 0.4s; }
.sport-dr-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.15); transform: translateY(-5px); }
.sport-dr-thumb { height: 320px; overflow: hidden; }
.sport-dr-thumb img { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s; }
.sport-dr-card:hover .sport-dr-thumb img { transform: scale(1.05); }
.sport-dr-meta { padding: 20px; }
.sport-dr-name { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: #003366; display: block; }
.sport-dr-rank { display: block; color: #cd163f; font-size: 0.85rem; margin: 8px 0; font-weight: 600; }
.sport-dr-profile-btn { display: block; width: 100%; padding: 10px; margin-top: 10px; border: 2px solid #003366; color: #003366; background: transparent; font-weight: 700; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.8rem; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.sport-dr-profile-btn:hover { background: #003366; color: #fff; }
@media (max-width: 1024px) { .sport-doctors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .sport-doctors-grid { grid-template-columns: 1fr; } }

/* ===== steps ===== */
.sport-steps-section { padding: 80px 0; background: #ffffff; }
.sport-steps-container { max-width: 1400px; width: 95%; margin: 0 auto; }
.sport-steps-row { display: flex; justify-content: space-between; gap: 20px; position: relative; margin-top: 50px; }
.sport-step-item { flex: 1; text-align: center; position: relative; }
.sport-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: #dde3e9;
    z-index: 1;
}
.sport-step-number {
    width: 60px; height: 60px;
    background: #cd163f; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem; font-weight: 800;
    margin: 0 auto 20px;
    z-index: 2; position: relative;
    box-shadow: 0 0 0 10px #fff;
}
.sport-step-item h4 { font-family: 'Montserrat', sans-serif; margin-bottom: 10px; color: #003366; }
.sport-step-item p { color: #576574; font-size: 0.95rem; margin: 0; }
@media (max-width: 1024px) {
    .sport-steps-row { flex-direction: column; }
    .sport-step-item::after { display: none; }
}

/* ===== sportmed-contact-form ===== */
.sportmed-contact-map-section {
    font-family: Montserrat, sans-serif;
    background: var(--scm-section-bg);
    padding: 64px 24px;
}
/* Двухколоночная сетка; карта растягивается по высоте левой карточки */
.sportmed-contact-map-section .scm-inner {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* ════════════════════
   Левая карточка
════════════════════ */
.sportmed-contact-map-section .scm-form-card {
    background: var(--scm-form-bg);
    border-radius: 20px;
    padding: 40px 36px 44px;
    box-shadow: 0 8px 40px rgba(0,30,60,.09);
    display: flex;
    flex-direction: column;
}
.sportmed-contact-map-section .scm-badge {
    display: inline-block;
    background: var(--scm-accent)1a;
    color: var(--scm-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: fit-content;
}
.sportmed-contact-map-section .scm-form-title {
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: #1b2d3e;
    margin: 0 0 6px;
    line-height: 1.25;
}
.sportmed-contact-map-section .scm-form-sub {
    font-size: 13.5px;
    color: #6b7a8d;
    margin: 0 0 18px;
    line-height: 1.55;
}
/* Контактные чипсы под подзаголовком */
.sportmed-contact-map-section .scm-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 18px;
}
.sportmed-contact-map-section .scm-contact-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #3d5166;
    line-height: 1.4;
}
.sportmed-contact-map-section .scm-contact-chip .scm-chip-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--scm-accent)18;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.sportmed-contact-map-section .scm-contact-chip a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
.sportmed-contact-map-section .scm-contact-chip a:hover {
    color: var(--scm-accent);
}
/* Разделитель */
.sportmed-contact-map-section .scm-divider {
    height: 1px;
    background: #e8edf3;
    margin: 0 0 20px;
}

/* ════════════════════
   CF7 поля
════════════════════ */
.sportmed-contact-map-section .wpcf7 {
    margin: 0;
    flex: 1;
}
.sportmed-contact-map-section .wpcf7-form {
    margin: 0;
}
/* CF7-autop добавляет <br> внутри <p> — убиваем */
.sportmed-contact-map-section .wpcf7-form br {
    display: none;
}
/* <p> = группа поля */
.sportmed-contact-map-section .wpcf7-form > p {
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.sportmed-contact-map-section .wpcf7-form > p:last-of-type {
    margin-bottom: 0;
}
.sportmed-contact-map-section .wpcf7-form label {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #1b2d3e;
    margin-bottom: 5px;
    line-height: 1.4;
}
.sportmed-contact-map-section .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.sportmed-contact-map-section .wpcf7-form input[type="text"],
.sportmed-contact-map-section .wpcf7-form input[type="tel"],
.sportmed-contact-map-section .wpcf7-form input[type="email"],
.sportmed-contact-map-section .wpcf7-form input[type="date"],
.sportmed-contact-map-section .wpcf7-form select,
.sportmed-contact-map-section .wpcf7-form textarea {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1dae6;
    border-radius: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    color: #1b2d3e;
    background: #f7f9fb;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s, background .2s;
    margin: 0;
    -webkit-appearance: auto;
    appearance: auto;
}
.sportmed-contact-map-section .wpcf7-form input:focus,
.sportmed-contact-map-section .wpcf7-form select:focus,
.sportmed-contact-map-section .wpcf7-form textarea:focus {
    border-color: var(--scm-accent);
    background: #fff;
}
.sportmed-contact-map-section .wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 15px 24px;
    background: var(--scm-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s, transform .15s;
    margin-top: 4px;
}
.sportmed-contact-map-section .wpcf7-form input[type="submit"]:hover {
    background: #0090ad;
    transform: translateY(-1px);
}
.sportmed-contact-map-section .wpcf7-not-valid-tip {
    color: #e63946;
    font-family: Montserrat, sans-serif;
    font-size: 11.5px;
    margin-top: 4px;
    display: block;
}
.sportmed-contact-map-section .wpcf7-form input.wpcf7-not-valid,
.sportmed-contact-map-section .wpcf7-form select.wpcf7-not-valid,
.sportmed-contact-map-section .wpcf7-form textarea.wpcf7-not-valid {
    border-color: #e63946;
    background: #fff8f8;
}
.sportmed-contact-map-section .wpcf7-response-output {
    border-radius: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    margin-top: 14px;
    padding: 12px 16px;
    border-width: 1.5px;
    border-style: solid;
}
.sportmed-contact-map-section .wpcf7-mail-sent-ok {
    background: #e8f9f0;
    border-color: #34c77b !important;
    color: #1b7a47;
}
.sportmed-contact-map-section .wpcf7-mail-sent-ng,
.sportmed-contact-map-section .wpcf7-validation-errors,
.sportmed-contact-map-section .wpcf7-spam-blocked {
    background: #fff0f0;
    border-color: #e63946 !important;
    color: #c0392b;
}

/* ════════════════════
   Правый столбец — карта во всю высоту
════════════════════ */
.sportmed-contact-map-section .scm-map-col {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,30,60,.10);
    display: flex;
    flex-direction: column;
    min-height: 480px;
}
.sportmed-contact-map-section .scm-map-col iframe {
    display: block;
    width: 100%;
    flex: 1;
    border: 0;
    min-height: 480px;
}

/* ── Адаптив ── */
@media (max-width: 900px) {
    .sportmed-contact-map-section .scm-inner {
        grid-template-columns: 1fr;
    }
    .sportmed-contact-map-section .scm-map-col,
    .sportmed-contact-map-section .scm-map-col iframe {
        min-height: 320px;
    }
}
@media (max-width: 600px) {
    .sportmed-contact-map-section { padding: 48px 16px; }
    .sportmed-contact-map-section .scm-form-card { padding: 28px 20px 32px; }
    .sportmed-contact-map-section .scm-contact-strip { flex-direction: column; gap: 8px; }
}

/* ===== sportmed-contact-map ===== */
.sportmed-contact-map-legacy-section {
    font-family: Montserrat, sans-serif;
    background: var(--scm-section-bg);
    padding: 72px 24px;
}
.sportmed-contact-map-legacy-section .scm-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
/* ── Форма ── */
.sportmed-contact-map-legacy-section .scm-form-card {
    background: var(--scm-form-bg);
    border-radius: 20px;
    padding: 44px 40px 48px;
    box-shadow: 0 8px 40px rgba(0,30,60,.09);
}
.sportmed-contact-map-legacy-section .scm-badge {
    display: inline-block;
    background: var(--scm-accent)1a;
    color: var(--scm-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.sportmed-contact-map-legacy-section .scm-form-title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: #1b2d3e;
    margin: 0 0 8px;
    line-height: 1.25;
}
.sportmed-contact-map-legacy-section .scm-form-sub {
    font-size: 14px;
    color: #6b7a8d;
    margin: 0 0 28px;
    line-height: 1.6;
}
/* ── CF7 — сброс и базовые стили ── */
.sportmed-contact-map-legacy-section .wpcf7 {
    margin: 0;
}
.sportmed-contact-map-legacy-section .wpcf7-form {
    margin: 0;
}
/* CF7 оборачивает каждое поле в <p> — делаем из него поле-группу */
.sportmed-contact-map-legacy-section .wpcf7-form > p {
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sportmed-contact-map-legacy-section .wpcf7-form > p:last-of-type {
    margin-bottom: 0;
}
/* label */
.sportmed-contact-map-legacy-section .wpcf7-form label {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1b2d3e;
    margin-bottom: 6px;
    line-height: 1.4;
}
/* wpcf7-form-control-wrap занимает всю ширину */
.sportmed-contact-map-legacy-section .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
/* все поля ввода */
.sportmed-contact-map-legacy-section .wpcf7-form input[type="text"],
.sportmed-contact-map-legacy-section .wpcf7-form input[type="tel"],
.sportmed-contact-map-legacy-section .wpcf7-form input[type="email"],
.sportmed-contact-map-legacy-section .wpcf7-form input[type="date"],
.sportmed-contact-map-legacy-section .wpcf7-form select,
.sportmed-contact-map-legacy-section .wpcf7-form textarea {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #d1dae6;
    border-radius: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    color: #1b2d3e;
    background: #f7f9fb;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s, background .2s;
    margin: 0;
    appearance: auto;
}
.sportmed-contact-map-legacy-section .wpcf7-form input:focus,
.sportmed-contact-map-legacy-section .wpcf7-form select:focus,
.sportmed-contact-map-legacy-section .wpcf7-form textarea:focus {
    border-color: var(--scm-accent);
    background: #fff;
}
/* кнопка submit */
.sportmed-contact-map-legacy-section .wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 17px 24px;
    background: var(--scm-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s, transform .15s;
    margin-top: 4px;
}
.sportmed-contact-map-legacy-section .wpcf7-form input[type="submit"]:hover {
    background: #0090ad;
    transform: translateY(-1px);
}
/* ошибки валидации */
.sportmed-contact-map-legacy-section .wpcf7-not-valid-tip {
    color: #e63946;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}
.sportmed-contact-map-legacy-section .wpcf7-form input.wpcf7-not-valid,
.sportmed-contact-map-legacy-section .wpcf7-form select.wpcf7-not-valid,
.sportmed-contact-map-legacy-section .wpcf7-form textarea.wpcf7-not-valid {
    border-color: #e63946;
}
/* сообщение об отправке */
.sportmed-contact-map-legacy-section .wpcf7-response-output {
    border-radius: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    margin-top: 16px;
    padding: 13px 18px;
    border-width: 1.5px;
    border-style: solid;
}
.sportmed-contact-map-legacy-section .wpcf7-mail-sent-ok {
    background: #e8f9f0;
    border-color: #34c77b !important;
    color: #1b7a47;
}
.sportmed-contact-map-legacy-section .wpcf7-mail-sent-ng,
.sportmed-contact-map-legacy-section .wpcf7-validation-errors,
.sportmed-contact-map-legacy-section .wpcf7-spam-blocked {
    background: #fff0f0;
    border-color: #e63946 !important;
    color: #c0392b;
}
/* ── Карта ── */
.sportmed-contact-map-legacy-section .scm-map-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sportmed-contact-map-legacy-section .scm-map-info {
    background: var(--scm-form-bg);
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 4px 20px rgba(0,30,60,.07);
}
.sportmed-contact-map-legacy-section .scm-map-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1b2d3e;
    margin: 0 0 16px;
}
.sportmed-contact-map-legacy-section .scm-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #3d5166;
    line-height: 1.6;
    margin-bottom: 10px;
}
.sportmed-contact-map-legacy-section .scm-info-row:last-child {
    margin-bottom: 0;
}
.sportmed-contact-map-legacy-section .scm-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--scm-accent)1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.sportmed-contact-map-legacy-section .scm-map-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,30,60,.10);
    line-height: 0;
}
.sportmed-contact-map-legacy-section .scm-map-frame iframe {
    display: block;
    width: 100%;
    border: 0;
}
/* ── Адаптив ── */
@media (max-width: 900px) {
    .sportmed-contact-map-legacy-section .scm-inner {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .sportmed-contact-map-legacy-section .scm-form-card {
        padding: 28px 20px 32px;
    }
}
