/* ==========================================================================
   OrtoER Hero Section
   ========================================================================== */

/* ---- Hero ---- */
.ortoer-hero {
    background-color: var(--ortoer-bg-header, #E1EEFF);
    padding-top: var(--ortoer-header-height, 80px);
    position: relative;
    overflow: visible;
}

.ortoer-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 0;
    display: flex;
    align-items: flex-end;
    gap: 40px;
    position: relative;
}

/* ---- Left column ---- */
.ortoer-hero__content {
    flex: 1;
    min-width: 520px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.ortoer-hero__title {
    font-family: var(--ortoer-font, 'IBM Plex Sans', sans-serif);
    font-weight: 700;
    font-size: 64px;
    line-height: 1.2;
    color: #0d1b2e;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 16px;
}

.ortoer-hero__title-accent {
    color: #0360D9;
}

.ortoer-hero__title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 282px;
    height: 16px;
}

.ortoer-hero__subtitle {
    font-family: var(--ortoer-font, 'IBM Plex Sans', sans-serif);
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    letter-spacing: 0%;
    color: #163048;
    margin: 0 0 32px;
    max-width: 480px;
}
/* ---- Search bar (two fields + button) ---- */
.ortoer-hero__search {
    max-width: 590px;
}

.ortoer-hero__search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    width: 500px;
    max-width: 500px;
    height: 56px;
    margin-top: 40px;
    padding: 0 4px 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    gap: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.ortoer-hero__search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    flex-shrink: 0;
}

.ortoer-hero__search-field:last-of-type {
    margin-left: auto;
    margin-right: 27px;
}

.ortoer-hero__search-field-icon {
    flex-shrink: 0;
}

.ortoer-hero__search-field-text {
    font-family: var(--ortoer-font, 'IBM Plex Sans', sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #163048;
    white-space: nowrap;
}

.ortoer-hero__search-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 9px;
    margin-right: 4px;
    transition: opacity 0.2s ease;
}

.ortoer-hero__search-btn:hover {
    opacity: 0.9;
}

/* ---- Right column: doctor image with circle ---- */
.ortoer-hero__image {
    flex-shrink: 0;
    width: 1220px;
    position: relative;
    z-index: 1;
    align-self: flex-end;
    margin-bottom: -142px;
    margin-left: -190px;
}

.ortoer-hero__image-circle {
    position: absolute;
    width: 800px;
    height: 800px;
    bottom: -133px;
    left: 50%;
    transform: translateX(-65%);
    z-index: 0;
    opacity: 1;
}

.ortoer-hero__doctor-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.ortoer-stats {
    background: #0360D9;
    height: 134px;
    position: relative;
    z-index: 0;
}

.ortoer-stats__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
}

.ortoer-stats__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ortoer-stats__number {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 64px;
    color: #ffffff;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 6px;
}

.ortoer-stats__label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 100%;
    letter-spacing: 0%;
    margin-top: 2px;
}

.ortoer-stats__divider {
    width: 0px;
    height: 79px;
    opacity: 1;
    border: 1px solid #FFFFFF;
    background-color: transparent;
}

/* ==========================================================================
   Responsive — Tablet (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    .ortoer-hero {
        padding-top: 64px;
        overflow: hidden;
    }

    .ortoer-hero__container {
        display: grid;
        grid-template-columns: 2fr 3fr;
        padding: 32px 20px 0;
        gap: 0;
        align-items: end;
        overflow: hidden;
    }

    .ortoer-hero__content {
        display: contents;
    }

    .ortoer-hero__title {
        grid-column: 1 / -1;
        font-size: 50px;
        line-height: 100%;
        min-width: 0;
        position: relative;
        z-index: 2;
        overflow: hidden;
        margin-bottom: 0;
        padding-bottom: 8px;
    }

    .ortoer-hero__title-underline {
        width: 180px;
        height: 10px;
    }

    .ortoer-hero__subtitle {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        padding-top: 60px;
        margin-bottom: 0;
        font-size: 11px;
        line-height: 150%;
        max-width: 140px;
        position: relative;
        z-index: 2;
    }

    .ortoer-hero__search {
        display: none;
    }

    .ortoer-hero__image {
        grid-column: 2;
        grid-row: 2;
        width: 460%;
        margin-left: -180%;
        margin-top: -50px;
        margin-bottom: 0;
        overflow: hidden;
    }

    .ortoer-hero__image-circle {
        display: none;
    }

    .ortoer-stats {
        height: auto;
        overflow: hidden;
    }

    .ortoer-stats__container {
        gap: 24px;
        padding: 24px 20px;
        justify-content: center;
        overflow: hidden;
    }

    .ortoer-stats__item {
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
    }

    .ortoer-stats__number {
        font-size: 40px;
    }

    .ortoer-stats__label {
        font-size: 13px;
    }

    .ortoer-stats__divider {
        height: 50px;
        flex-shrink: 0;
    }

    .ortoer-stats__hide-mobile {
        display: none;
    }
}

/* ==========================================================================
   Responsive — Small mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .ortoer-hero__title {
        font-size: 40px;
    }

    .ortoer-stats__container {
        gap: 16px;
        padding: 20px 16px;
    }

    .ortoer-stats__number {
        font-size: 36px;
    }

    .ortoer-stats__label {
        font-size: 12px;
    }
}
