html {
    scroll-behavior: smooth;
}

.row {
    margin: 0;
}

:root {
    --gyn-blue: #376ccc;
    --gyn-navy: #071f49;
    --gyn-pale: #eef6ff;
    --gyn-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

.gynecologist-demo-page.scrolled .gyn-header .gyn-nav {
    position: fixed;
    z-index: 11111111;
    width: 100%;
    transition: .3s;
}

/* Keep the fixed navigation's parent stacking context above page sections. */
.gynecologist-demo-page.scrolled .gyn-hero {
    z-index: 1000;
}

.gynecologist-demo-page {
    min-width: 320px;
    margin: 0;
    color: var(--gyn-navy);
    /* background: var(--gyn-pale); */
    font-family: "Open Sans", Arial, sans-serif;
}

.wrapper-bgs {
    background: #eef6ff;
    margin: -40px;
    padding: 40px;
}

.gynecologist-demo-page *,
.gynecologist-demo-page *::before,
.gynecologist-demo-page *::after {
    box-sizing: border-box;
}

.gynecologist-demo-page a {
    text-decoration: none;
}

.gyn-page {
    min-height: 100vh;
    padding: 38px 40px 52px;
}

.gyn-hero {
    position: relative;
    min-height: calc(100vh - 90px);
    overflow: hidden;
    isolation: isolate;
    border-radius: 30px;
    background: #8eacc1;
}

.gyn-hero__slides,
.gyn-hero__slide,
.gyn-hero__shade {
    position: absolute;
    inset: 0;
}

.gyn-hero__slides {
    z-index: -3;
}

.gyn-hero__slide {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 0.7s ease, transform 1.3s ease;
}

.gyn-hero__slide.active {
    opacity: 1;
    transform: scale(1);
}

.gyn-hero__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(4, 27, 55, 0.25), rgba(6, 39, 71, 0.12) 46%, rgba(5, 26, 52, 0.29)),
        linear-gradient(180deg, rgba(3, 28, 57, 0.15), rgba(5, 30, 59, 0.12) 45%, rgba(3, 22, 46, 0.28));
}

.gyn-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    height: 120px;
}

.gyn-brand {
    position: absolute;
    top: 27px;
    left: 30px;
    width: 215px;
    height: 66px;
    display: flex;
    align-items: center;
}

.gyn-brand img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.gyn-phone {
    position: absolute;
    top: 28px;
    left: 260px;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--gyn-white);
}

.gyn-phone:hover {
    color: var(--gyn-white);
}

.gyn-phone__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-navy);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 50%;
}

.gyn-phone__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-phone strong {
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.gyn-nav {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(800px, 44vw);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 1.6vw, 29px);
    padding: 0 27px;
    background: var(--gyn-pale);
    border-radius: 0 0 30px 30px;
    transform: translateX(-50%);
}

.gyn-nav a {
    color: var(--gyn-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.gyn-nav a:hover,
.gyn-nav a.active {
    color: var(--gyn-blue);
}

.gyn-nav>span {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    background: var(--gyn-blue);
    border-radius: 50%;
}

.gyn-appointment {
    position: absolute;
    top: 27px;
    right: 30px;
    min-width: 274px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 26px;
    color: var(--gyn-navy);
    background: var(--gyn-white);
    border-radius: 999px;
    box-shadow: 0 13px 35px rgba(6, 31, 65, 0.12);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.gyn-appointment:hover {
    color: var(--gyn-white);
    background: var(--gyn-blue);
    transform: translateY(-2px);
}

.gyn-appointment svg,
.gyn-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-menu {
    display: none;
}

.gyn-hero__content {
    position: absolute;
    top: 55.5%;
    left: 50%;
    z-index: 2;
    width: min(880px, calc(100% - 200px));
    color: var(--gyn-white);
    text-align: center;
    transform: translate(-50%, -50%);
}

.gyn-hero__eyebrow {
    width: fit-content;
    margin: 0 auto 16px;
    padding: 6px 16px 7px;
    color: var(--gyn-white);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gyn-hero__content h1 {
    margin: 0;
    color: var(--gyn-white);
    font-size: clamp(86px, 7vw, 136px);
    font-weight: 800;
    letter-spacing: 0.015em;
    line-height: 0.88;
    text-transform: uppercase;
    text-shadow: 0 4px 32px rgba(5, 28, 56, 0.16);
}

.gyn-hero__content p {
    margin: 11px 0 36px;
    color: var(--gyn-white);
    font-size: clamp(30px, 2.7vw, 52px);
    font-weight: 600;
    line-height: 1.08;
    text-shadow: 0 3px 20px rgba(5, 28, 56, 0.16);
}

.gyn-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 33px;
}

.gyn-button {
    min-width: 171px;
    height: 59px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 25px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.gyn-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(6, 31, 65, 0.2);
}

.gyn-button--light {
    color: var(--gyn-navy);
    background: var(--gyn-white);
}

.gyn-button--light:hover {
    color: var(--gyn-white);
    background: var(--gyn-navy);
}

.gyn-button--primary {
    color: var(--gyn-white);
    background: var(--gyn-blue);
}

.gyn-button--primary:hover {
    color: var(--gyn-blue);
    background: var(--gyn-white);
}

.gyn-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 50px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--gyn-navy);
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.25s ease, background-color 0.25s ease, width 0.25s ease;
}

.gyn-slider-arrow:hover {
    width: 58px;
    color: var(--gyn-white);
    background: var(--gyn-blue);
}

.gyn-slider-arrow--prev {
    left: 0;
    border-radius: 0 26px 26px 0;
}

.gyn-slider-arrow--next {
    right: 0;
    border-radius: 26px 0 0 26px;
}

.gyn-slider-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-why {
    padding: 72px 0 44px;
}

.gyn-why__inner {
    width: min(1424px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.11fr) minmax(0, 1fr);
    align-items: center;
    gap: 70px;
}

.gyn-why__visual {
    position: relative;
    height: 640px;
    overflow: hidden;
    border-radius: 29px;
    background: #d7eaf2;
}

.gyn-why__visual>img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 68% center;
}

.gyn-experience {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 255px;
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    color: var(--gyn-white);
    background: var(--gyn-blue);
    border-radius: 24px 24px 0 0;
}

.gyn-experience::before {
    content: "";
    position: absolute;
    right: -25px;
    bottom: 0;
    z-index: -1;
    width: 280px;
    height: 145px;
    background: var(--gyn-pale);
    border-radius: 0 26px 0 0;
}

/* Health services slider */
.gyn-services {
    margin: 44px -40px -10px;
    overflow: hidden;
    color: var(--gyn-navy);
    background: var(--gyn-white);
    padding: 80px 0px;
}

.gyn-services__header {
    width: min(1424px, calc(100% - 80px));
    min-height: 204px;
    margin: 0 auto 49px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 70px;
}

.gyn-services__intro h2 {
    margin: 0;
    color: var(--gyn-navy);
    font-size: clamp(38px, 2.7vw, 52px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.04;
}

.gyn-services__controls {
    display: flex;
    gap: 10px;
    margin: 45px 0 0 11px;
}

.gyn-services__arrow {
    width: 60px;
    height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--gyn-navy);
    background: var(--gyn-white);
    border: 1px solid var(--gyn-navy);
    border-radius: 5px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.gyn-services__arrow:hover,
.gyn-services__arrow:focus-visible {
    color: var(--gyn-white);
    background: var(--gyn-navy);
}

.gyn-services__arrow svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-services__staff {
    display: flex;
    align-items: center;
    gap: 31px;
    padding-top: 4px;
}

.gyn-services__staff strong {
    display: flex;
    align-items: center;
    color: var(--gyn-blue);
    font-size: clamp(72px, 6.1vw, 113px);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.78;
    white-space: nowrap;
}

.gyn-services__staff strong span {
    color: var(--gyn-white);
    -webkit-text-stroke: 1.4px var(--gyn-navy);
}

.gyn-services__staff strong b {
    margin-left: 8px;
    font-size: 0.78em;
    letter-spacing: 0;
}

.gyn-services__staff p {
    margin: 0;
    color: #64708a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.gyn-services__viewport {
    width: calc(100% - 80px);
    margin: 0 auto;
}

.gyn-services__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 120px) / 4);
    gap: 40px;
    padding-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.gyn-services__track::-webkit-scrollbar {
    display: none;
}

.gyn-service-card {
    position: relative;
    height: 512px;
    margin: 0;
    scroll-snap-align: start;
}

.gyn-service-card>img,
.gyn-service-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 29px;
}

.gyn-service-card>img {
    display: block;
    object-fit: cover;
}

.gyn-service-card__shade {
    background: linear-gradient(180deg, rgba(5, 24, 57, 0) 43%, rgba(6, 27, 67, 0.72) 100%);
}

.gyn-service-card h3 {
    position: absolute;
    left: 40px;
    right: 85px;
    bottom: 28px;
    z-index: 2;
    margin: 0;
    color: var(--gyn-white);
    font-size: clamp(20px, 1.45vw, 27px);
    font-weight: 700;
    line-height: 1.15;
}

.gyn-service-card a {
    position: absolute;
    right: 50px;
    bottom: -10px;
    z-index: 3;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-white);
    background: var(--gyn-navy);
    border: 8px solid var(--gyn-white);
    border-radius: 50%;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.gyn-service-card a:hover {
    background: var(--gyn-blue);
    transform: translateY(-3px);
}

.gyn-service-card a svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1199px) {
    .gyn-services__header {
        align-items: center;
    }

    .gyn-services__staff {
        gap: 20px;
    }

    .gyn-services__track {
        grid-auto-columns: calc((100% - 28px) / 2);
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .gyn-services {
        padding-top: 65px;
    }

    .gyn-services__header {
        min-height: 0;
        flex-direction: column;
        gap: 42px;
    }

    .gyn-services__staff {
        align-self: flex-end;
    }
}

@media (max-width: 767px) {
    .gyn-services {
        margin: 34px -12px -10px;
        padding: 54px 0 48px;
    }

    .gyn-services__header,
    .gyn-services__viewport {
        width: calc(100% - 40px);
    }

    .gyn-services__header {
        margin-bottom: 38px;
        gap: 34px;
    }

    .gyn-services__intro h2 {
        font-size: clamp(35px, 10.5vw, 48px);
    }

    .gyn-services__controls {
        margin: 26px 0 0;
    }

    .gyn-services__staff {
        align-self: flex-start;
        gap: 18px;
    }

    .gyn-services__staff strong {
        font-size: clamp(64px, 20vw, 88px);
    }

    .gyn-services__staff p {
        font-size: 13px;
    }

    .gyn-services__track {
        grid-auto-columns: 88%;
        gap: 20px;
    }

    .gyn-service-card {
        height: 500px;
    }
}

@media (max-width: 420px) {
    .gyn-services__staff {
        align-items: flex-end;
        flex-wrap: wrap;
    }

    .gyn-services__staff p br {
        display: none;
    }

    .gyn-service-card {
        height: 440px;
    }

    .gyn-service-card h3 {
        left: 25px;
        bottom: 25px;
    }

    .gyn-service-card a {
        right: 28px;
    }
}

/* Testimonial carousel */
.gyn-testimonials {
    position: relative;
    min-height: 890px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 40px;
    margin-top: 40px;
    isolation: isolate;
}

.gyn-testimonials::before {
    content: "";
    position: absolute;
    inset: -40px;
    z-index: -1;
    background: var(--gyn-white);
}

.gyn-testimonials__media,
.gyn-testimonials__panel {
    min-width: 0;
    min-height: 890px;
    overflow: hidden;
    border-radius: 30px;
}

.gyn-testimonials__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.gyn-testimonials__panel {
    position: relative;
    display: flex;
    align-items: stretch;
    color: var(--gyn-navy);
    background: var(--gyn-pale);
}

.gyn-testimonials__content {
    width: min(650px, calc(100% - 80px));
    margin: 100px 0 0 100px;
}

.gyn-testimonials__label {
    min-width: 132px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: var(--gyn-blue);
    background: var(--gyn-white);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.gyn-testimonials__content h2 {
    margin: 18px 0 43px;
    color: var(--gyn-navy);
    font-size: clamp(42px, 2.6vw, 50px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.gyn-testimonials__carousel {
    position: relative;
    padding-bottom: 51px;
    border-bottom: 1px solid #bdc9d8;
}

.gyn-testimonials__track {
    position: relative;
    height: 285px;
}

.gyn-testimonial {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.gyn-testimonial.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.gyn-testimonial__quote {
    position: relative;
    width: 54px;
    height: 53px;
    display: block;
    color: transparent;
    font-size: 0;
}

.gyn-testimonial__quote::before,
.gyn-testimonial__quote::after {
    content: "";
    position: absolute;
    top: 1px;
    width: 20px;
    height: 40px;
    background: var(--gyn-blue);
    clip-path: polygon(0 0, 100% 0, 100% 52%, 0 100%);
}

.gyn-testimonial__quote::before {
    left: 0;
}

.gyn-testimonial__quote::after {
    left: 33px;
}

.gyn-testimonial>p {
    max-width: 620px;
    margin: 19px 0 39px;
    color: var(--gyn-navy);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.44;
}

.gyn-testimonial__author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gyn-testimonial__author img {
    width: 65px;
    height: 65px;
    display: block;
    flex: 0 0 65px;
    object-fit: cover;
    object-position: 24% 18%;
    border-radius: 50%;
}

.gyn-testimonial__author span {
    display: flex;
    flex-direction: column;
}

.gyn-testimonial__author strong {
    color: var(--gyn-navy);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.gyn-testimonial__author small {
    margin-top: 2px;
    color: #64708a;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
}

.gyn-testimonial__nav {
    position: absolute;
    right: 0;
    bottom: 51px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.gyn-testimonial__nav button {
    width: 60px;
    height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--gyn-navy);
    background: transparent;
    border: 1px solid var(--gyn-navy);
    border-radius: 5px;
    cursor: pointer;
    transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.gyn-testimonial__nav button:hover,
.gyn-testimonial__nav button:focus-visible {
    color: var(--gyn-white);
    background: var(--gyn-blue);
    border-color: var(--gyn-blue);
    outline: none;
    transform: translateY(-2px);
}

.gyn-testimonial__nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-testimonials__stat {
    display: flex;
    align-items: center;
    gap: 39px;
    padding-top: 49px;
}

.gyn-testimonials__stat strong {
    display: flex;
    align-items: center;
    color: var(--gyn-navy);
    font-weight: 400;
    line-height: 1;
}

.gyn-testimonials__stat strong span {
    color: var(--gyn-pale);
    font-size: clamp(78px, 5.65vw, 108px);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.8;
    -webkit-text-stroke: 1.35px var(--gyn-navy);
    paint-order: stroke fill;
}

.gyn-testimonials__stat strong b {
    margin-left: 12px;
    color: var(--gyn-blue);
    font-size: 72px;
    font-weight: 700;
    line-height: 0.75;
}

.gyn-testimonials__stat p {
    margin: 0;
    color: #64708a;
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 1250px) {
    .gyn-testimonials {
        min-height: 760px;
        gap: 28px;
    }

    .gyn-testimonials__media,
    .gyn-testimonials__panel {
        min-height: 760px;
    }

    .gyn-testimonials__content {
        width: calc(100% - 64px);
        margin: 70px 0 0 32px;
    }

    .gyn-testimonials__content h2 {
        margin-bottom: 34px;
        font-size: 42px;
    }

    .gyn-testimonials__track {
        height: 280px;
    }

    .gyn-testimonial>p {
        font-size: 21px;
    }

    .gyn-testimonials__stat {
        gap: 25px;
    }
}

@media (max-width: 1050px) {
    .gyn-testimonials::before {
        inset: -24px;
    }
}

@media (max-width: 900px) {
    .gyn-testimonials {
        grid-template-columns: 1fr;
    }

    .gyn-testimonials__media {
        min-height: 650px;
    }

    .gyn-testimonials__panel {
        min-height: 760px;
    }

    .gyn-testimonials__content {
        width: min(650px, calc(100% - 80px));
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .gyn-testimonials {
        min-height: 0;
        gap: 12px;
        margin-top: 28px;
    }

    .gyn-testimonials::before {
        inset: -12px;
    }

    .gyn-testimonials__media,
    .gyn-testimonials__panel {
        border-radius: 22px;
    }

    .gyn-testimonials__media {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .gyn-testimonials__panel {
        min-height: 735px;
    }

    .gyn-testimonials__content {
        width: calc(100% - 40px);
        margin-top: 48px;
    }

    .gyn-testimonials__content h2 {
        margin: 17px 0 32px;
        font-size: clamp(34px, 10vw, 45px);
    }

    .gyn-testimonials__content h2 br {
        display: none;
    }

    .gyn-testimonials__track {
        height: 345px;
    }

    .gyn-testimonial>p {
        margin-top: 16px;
        font-size: 19px;
        line-height: 1.5;
    }

    .gyn-testimonial__nav {
        position: static;
        justify-content: flex-end;
        margin-top: 20px;
    }

    .gyn-testimonials__carousel {
        padding-bottom: 30px;
    }

    .gyn-testimonials__stat {
        gap: 18px;
        padding-top: 40px;
    }

    .gyn-testimonials__stat strong span {
        font-size: clamp(67px, 21vw, 88px);
    }

    .gyn-testimonials__stat strong b {
        margin-left: 7px;
        font-size: 52px;
    }

    .gyn-testimonials__stat p {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .gyn-testimonials__panel {
        min-height: 755px;
    }

    .gyn-testimonials__content {
        width: calc(100% - 30px);
    }

    .gyn-testimonials__track {
        height: 370px;
    }

    .gyn-testimonial__author {
        gap: 13px;
    }

    .gyn-testimonial__nav button {
        width: 54px;
        height: 48px;
    }

    .gyn-testimonials__stat {
        align-items: flex-start;
        gap: 12px;
    }

    .gyn-testimonials__stat strong span {
        font-size: 62px;
    }

    .gyn-testimonials__stat strong b {
        font-size: 44px;
    }

    .gyn-testimonials__stat p br {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gyn-testimonial {
        transition: none;
    }
}

/* Patient process */
.gyn-process {
    position: relative;
    min-height: 771px;
    margin: 38px -21px 0;
    padding: 100px 40px 70px;
    overflow: hidden;
    color: var(--gyn-white);
    background: #08245d;
    border-radius: 30px;
    width: 80%;
    margin: 100px auto;
}

.gyn-process::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -42px;
    z-index: -1;
    width: 480px;
    height: 330px;
    opacity: 0.7;
    background: repeating-radial-gradient(ellipse 104% 92% at 16% 0%,
            transparent 0 8px,
            rgba(128, 163, 221, 0.34) 9px 10px);
    transform: rotate(-8deg);
}

.gyn-process__heading {
    text-align: center;
}

.gyn-process__heading>span {
    min-width: 104px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: var(--gyn-blue);
    background: var(--gyn-pale);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gyn-process__heading h2 {
    margin: 18px 0 0;
    color: var(--gyn-white);
    font-size: clamp(42px, 3.55vw, 52px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.14;
}

.gyn-process__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.gyn-process-card {
    position: relative;
    min-height: 356px;
    padding: 60px 20px 36px 40px;
    border: 1px solid rgba(198, 218, 248, 0.22);
    border-radius: 28px;
}

.gyn-process-card h3 {
    margin: 0 0 13px;
    color: var(--gyn-white);
    font-size: clamp(20px, 1.75vw, 26px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.gyn-process-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.52;
}

.gyn-process-card__icon {
    position: absolute;
    left: 40px;
    bottom: 49px;
    width: 61px;
    height: 61px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-white);
}

.gyn-process-card__icon svg {
    width: 140%;
    height: 140%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-process-card__number {
    position: absolute;
    right: -1px;
    bottom: -1px;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-navy);
    background: var(--gyn-white);
    border-radius: 50%;
    box-shadow: 0 0 0 10px #08245d;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1199px) {
    .gyn-process {
        padding-right: 32px;
        padding-left: 32px;
    }

    .gyn-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gyn-process {
        min-height: 0;
        margin: 28px 0 0;
        padding: 65px 20px 55px;
        border-radius: 24px;
    }

    .gyn-process::before {
        width: 400px;
        height: 290px;
    }

    .gyn-process__heading h2 {
        font-size: clamp(37px, 11vw, 48px);
    }

    .gyn-process__steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 45px;
    }

    .gyn-process-card {
        min-height: 330px;
        padding: 48px 30px 35px;
    }

    .gyn-process-card h3 {
        font-size: 25px;
    }

    .gyn-process-card__icon {
        left: 30px;
        bottom: 39px;
    }
}

@media (max-width: 420px) {
    .gyn-process {
        padding-right: 16px;
        padding-left: 16px;
    }

    .gyn-process__heading h2 br {
        display: none;
    }

    .gyn-process-card {
        padding-right: 24px;
        padding-left: 24px;
    }

    .gyn-process-card__icon {
        left: 24px;
    }
}

/* Pricing table */
.gyn-pricing {
    min-height: 825px;
    display: grid;
    grid-template-columns: minmax(400px, 458px) minmax(0, 1fr);
    gap: 40px;
    margin: 38px -40px 0 -21px;
    color: var(--gyn-navy);
    background: var(--gyn-white);
}

.gyn-pricing#blog {
    padding: 80px 100px;
    margin: 38px -20px 150px -20px;
    border-radius: 20px;
}

.gyn-pricing__intro {
    position: relative;
    min-height: 825px;
}

.gyn-pricing__label {
    min-width: 140px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: var(--gyn-blue);
    background: var(--gyn-pale);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gyn-pricing__intro h2 {
    margin: 18px 0 30px;
    color: var(--gyn-navy);
    font-size: clamp(42px, 3.45vw, 52px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.gyn-pricing__intro p {
    margin: 0;
    color: #64708a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.gyn-pricing__intro>img {
    position: absolute;
    top: 286px;
    left: 28px;
    width: 375px;
    height: 375px;
    display: block;
    object-fit: contain;
    /* transform: scaleX(1.35) scaleY(0.87) rotate(-7deg); */
}

.gyn-pricing__plans {
    display: grid;
    grid-template-rows: repeat(3, 255px);
    gap: 30px;
}

.gyn-price-card {
    position: relative;
    display: grid;
    grid-template-columns: 245px 260px minmax(220px, 1fr);
    gap: 30px;
    padding: 60px 40px 54px;
    overflow: hidden;
    color: var(--gyn-navy);
    background: var(--gyn-white);
    border: 1px solid #d4ddea;
    border-radius: 31px;
}

.gyn-price-card--featured {
    color: var(--gyn-white);
    background: var(--gyn-blue);
    border-color: var(--gyn-blue);
}

.gyn-price-card__price {
    position: relative;
    padding-right: 20px;
}

.gyn-price-card__price::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    width: 1px;
    height: 109px;
    background: #d4ddea;
}

.gyn-price-card--featured .gyn-price-card__price::after {
    background: rgba(255, 255, 255, 0.48);
}

.gyn-price-card h3 {
    margin: 3px 0 12px;
    color: var(--gyn-navy);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}

.gyn-price-card__price>div {
    display: flex;
    align-items: flex-end;
    white-space: nowrap;
}

.gyn-price-card__price sup {
    align-self: flex-start;
    margin-top: 4px;
    font-size: 39px;
    font-weight: 500;
    line-height: 1;
}

.gyn-price-card__price strong {
    display: inline-block;
    margin-right: 22px;
    color: var(--gyn-navy);
    font-size: 75px;
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.82;
    transform: scaleX(1.2);
    transform-origin: left center;
}

.gyn-price-card--featured .gyn-price-card__price strong,
.gyn-price-card--featured .gyn-price-card__price sup {
    color: var(--gyn-white);
}

.gyn-price-card__price small {
    margin: 0 0 1px 7px;
    font-size: 14px;
    font-weight: 700;
}

.gyn-price-card ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.gyn-price-card ul:first-of-type {
    position: relative;
    left: 8px;
}

.gyn-price-card li {
    position: relative;
    min-height: 21px;
    padding-left: 27px;
    color: #414a5c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
}

.gyn-price-card li>span {
    position: absolute;
    top: -1px;
    left: 0;
    color: var(--gyn-navy);
    font-size: 21px;
    line-height: 1;
}

.gyn-price-card--featured li {
    color: var(--gyn-white);
}

.gyn-price-card__button {
    position: absolute;
    right: 40px;
    bottom: 0;
    min-width: 224px;
    height: 61px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gyn-navy);
    background: var(--gyn-pale);
    border-radius: 30px 30px 0 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.gyn-price-card--featured .gyn-price-card__button {
    background: var(--gyn-white);
}

.gyn-price-card__button:hover {
    color: var(--gyn-white);
    background: var(--gyn-navy);
}

.gyn-price-card__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1300px) {
    .gyn-pricing {
        grid-template-columns: 370px minmax(0, 1fr);
        gap: 30px;
    }

    .gyn-pricing__intro>img {
        left: 0;
        width: 345px;
        height: 345px;
    }

    .gyn-price-card {
        grid-template-columns: 205px repeat(2, minmax(190px, 1fr));
        gap: 24px;
        padding-right: 28px;
        padding-left: 28px;
    }
}

@media (max-width: 1050px) {
    .gyn-pricing {
        min-height: 0;
        grid-template-columns: 1fr;
        margin-right: 0;
        margin-left: 0;
    }

    .gyn-pricing__intro {
        min-height: 620px;
    }

    .gyn-pricing__intro>img {
        top: 265px;
    }
}

@media (max-width: 767px) {
    .gyn-pricing {
        gap: 30px;
        margin-top: 28px;
    }
    .gyn-pricing#blog {
        padding: 80px 0px;
        margin: 38px 10px 20px;
        border-radius: 20px;
    }
    .gyn-pricing__intro > img {
        display: none!important;
    }  
    .gyn-pricing__intro {
        min-height: unset!important;
    }
    #portfolio {
        width: 100%;
    }
    .gyn-pricing__intro {
        min-height: 570px;
    }

    .gyn-pricing__intro h2 {
        font-size: clamp(39px, 11vw, 48px);
    }

    .gyn-pricing__intro p br {
        display: none;
    }

    .gyn-pricing__intro>img {
        top: 250px;
        left: 50%;
        width: 320px;
        height: 320px;
        transform: translateX(-50%) scaleX(1.35) scaleY(0.87) rotate(-7deg);
    }

    .gyn-pricing__plans {
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 20px;
    }

    .gyn-price-card {
        min-height: 560px;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 28px 92px;
    }

    .gyn-price-card__price {
        padding: 0 0 27px;
    }

    .gyn-price-card__price::after {
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
    }

    .gyn-price-card ul {
        gap: 13px;
        margin: 0;
    }

    .gyn-price-card li {
        white-space: normal;
    }

    .gyn-price-card__button {
        right: 24px;
        min-width: 210px;
    }
}

@media (max-width: 420px) {
    .gyn-pricing__intro {
        min-height: 530px;
    }

    .gyn-pricing__intro h2 br {
        display: none;
    }

    .gyn-pricing__intro>img {
        top: 240px;
        width: 285px;
        height: 285px;
    }

    .gyn-price-card__price strong {
        font-size: 68px;
    }
}

.gyn-experience::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gyn-blue);
    border-radius: inherit;
}

.gyn-experience__icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 70px;
    color: var(--gyn-navy);
    background: var(--gyn-white);
    border-radius: 18px;
}

.gyn-experience__icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-experience strong {
    color: var(--gyn-white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.18;
}

.gyn-why__content {
    padding-bottom: 3px;
}

.gyn-section-label {
    width: fit-content;
    margin-bottom: 20px;
    padding: 7px 24px 8px;
    color: var(--gyn-blue);
    background: var(--gyn-white);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gyn-why__content h2 {
    margin: 0;
    color: var(--gyn-navy);
    font-size: clamp(42px, 2.65vw, 50px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.gyn-why__lead {
    max-width: 660px;
    margin: 34px 0 48px;
    color: #637797;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.62;
}

.gyn-why__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}

.gyn-feature {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.gyn-feature__icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-blue);
    background: var(--gyn-white);
    border-radius: 20px;
}

.gyn-feature__icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-feature__copy h3 {
    margin: 0 0 8px;
    color: var(--gyn-navy);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.15;
}

.gyn-feature__copy p {
    margin: 0;
    color: #637797;
    font-size: 15px;
    line-height: 1.58;
}

.gyn-know-more {
    min-width: 168px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
    padding: 0 27px;
    color: var(--gyn-navy);
    border: 1px solid var(--gyn-navy);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.gyn-know-more:hover {
    color: var(--gyn-white);
    background: var(--gyn-blue);
    border-color: var(--gyn-blue);
    transform: translateY(-2px);
}

.gyn-know-more svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-scroll-top {
    position: fixed;
    right: 49px;
    bottom: 45px;
    z-index: 20;
    width: 51px;
    height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-blue);
    background: rgba(210, 220, 234, 0.92);
    border: 2px solid rgba(7, 31, 73, 0.18);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.gyn-scroll-top:hover {
    color: var(--gyn-white);
    background: var(--gyn-blue);
    transform: translateY(-3px);
}

.gyn-scroll-top svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-footer {
    padding: 28px 20px 32px;
    color: #667a95;
    text-align: center;
    background: var(--gyn-pale);
}

.gyn-footer p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 1500px) {
    .gyn-brand {
        width: 185px;
    }

    .gyn-phone {
        left: 225px;
    }

    .gyn-nav {
        width: 620px;
        gap: 18px;
    }

    .gyn-appointment {
        min-width: 235px;
        padding: 0 20px;
        font-size: 11px;
    }
}

@media (max-width: 1250px) {
    .gyn-phone strong {
        display: none;
    }

    .gyn-phone {
        left: 210px;
    }

    .gyn-nav {
        width: 590px;
        gap: 14px;
        padding: 0 19px;
    }

    .gyn-nav a {
        font-size: 11px;
    }

    .gyn-appointment {
        min-width: 210px;
    }

    .gyn-why__inner {
        gap: 42px;
    }

    .gyn-why__visual {
        height: 580px;
    }

    .gyn-why__features {
        gap: 25px;
    }

    .gyn-feature {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 15px;
    }

    .gyn-feature__icon {
        width: 62px;
        height: 62px;
    }

    .gyn-feature__copy h3 {
        font-size: 21px;
    }
}

@media (max-width: 1050px) {
    .gyn-page {
        padding: 24px;
    }

    .gyn-hero {
        min-height: calc(100vh - 48px);
    }

    .gyn-header {
        height: 100px;
    }

    .gyn-brand {
        top: 20px;
        left: 24px;
        width: 188px;
        height: 58px;
    }

    .gyn-phone {
        display: none;
    }

    .gyn-nav {
        top: 92px;
        left: auto;
        right: 24px;
        width: 280px;
        min-height: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 16px;
        border-radius: 22px;
        box-shadow: 0 20px 45px rgba(6, 31, 65, 0.22);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    .gyn-menu-open .gyn-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .gyn-nav a {
        padding: 12px 13px;
        border-radius: 10px;
        font-size: 12px;
    }

    .gyn-nav a:hover,
    .gyn-nav a.active {
        background: rgba(55, 108, 204, 0.1);
    }

    .gyn-nav>span {
        display: none;
    }

    .gyn-appointment {
        top: 21px;
        right: 90px;
        height: 56px;
    }

    .gyn-menu {
        position: absolute;
        top: 22px;
        right: 24px;
        width: 55px;
        height: 55px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 0;
        background: var(--gyn-white);
        border: 0;
        border-radius: 50%;
        cursor: pointer;
    }

    .gyn-menu span {
        width: 20px;
        height: 2px;
        display: block;
        background: var(--gyn-navy);
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .gyn-menu-open .gyn-menu span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .gyn-menu-open .gyn-menu span:nth-child(2) {
        opacity: 0;
    }

    .gyn-menu-open .gyn-menu span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .gyn-hero__content {
        width: min(760px, calc(100% - 130px));
    }

    .gyn-why {
        padding: 80px 0 55px;
    }

    .gyn-why__inner {
        width: min(780px, calc(100% - 48px));
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .gyn-why__visual {
        height: 620px;
    }

    .gyn-why__content {
        padding: 0 8px;
    }

    .gyn-why__content h2 br {
        display: none;
    }

    .gyn-why__lead {
        margin-bottom: 38px;
    }

    .gyn-know-more {
        margin-top: 46px;
    }
}

@media (max-width: 767px) {
    .gyn-page {
        padding: 12px;
    }

    .gyn-hero {
        min-height: calc(100svh - 24px);
        border-radius: 22px;
    }

    .gyn-brand {
        top: 15px;
        left: 18px;
        width: 158px;
    }

    .gyn-appointment {
        display: none;
    }

    .gyn-menu {
        top: 17px;
        right: 18px;
        width: 49px;
        height: 49px;
    }

    .gyn-nav {
        top: 77px;
        right: 18px;
        width: calc(100% - 36px);
    }

    .gyn-hero__slide {
        background-position: 43% center;
    }

    .gyn-hero__content {
        top: 54%;
        width: calc(100% - 70px);
    }

    .gyn-hero__eyebrow {
        margin-bottom: 13px;
        padding: 6px 12px;
        font-size: 10px;
    }

    .gyn-hero__content h1 {
        font-size: clamp(50px, 16vw, 76px);
        line-height: 0.95;
    }

    .gyn-hero__content p {
        margin: 18px 0 26px;
        font-size: clamp(25px, 7vw, 34px);
    }

    .gyn-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        width: min(225px, 100%);
        margin: 0 auto;
    }

    .gyn-button {
        width: 100%;
        height: 54px;
    }

    .gyn-slider-arrow {
        top: auto;
        bottom: 24px;
        width: 48px;
        height: 52px;
        transform: none;
    }

    .gyn-slider-arrow:hover {
        width: 48px;
    }

    .gyn-slider-arrow--prev {
        left: calc(50% - 54px);
        border-radius: 50%;
    }

    .gyn-slider-arrow--next {
        right: calc(50% - 54px);
        border-radius: 50%;
    }

    .gyn-why {
        padding: 58px 0 34px;
    }

    .gyn-why__inner {
        width: calc(100% - 8px);
        gap: 45px;
    }

    .gyn-why__visual {
        height: 480px;
        border-radius: 22px;
    }

    .gyn-experience {
        width: 220px;
        min-height: 102px;
        gap: 14px;
        padding: 16px 18px;
        border-radius: 20px 20px 0 0;
    }

    .gyn-experience::before {
        right: -20px;
        width: 240px;
        height: 122px;
    }

    .gyn-experience__icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 15px;
    }

    .gyn-experience__icon svg {
        width: 36px;
        height: 36px;
    }

    .gyn-experience strong {
        font-size: 17px;
    }

    .gyn-why__content {
        padding: 0 6px;
    }

    .gyn-section-label {
        margin-bottom: 17px;
    }

    .gyn-why__content h2 {
        font-size: 40px;
    }

    .gyn-why__lead {
        margin: 26px 0 34px;
    }

    .gyn-why__features {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gyn-feature {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .gyn-feature__copy h3 {
        font-size: 22px;
    }

    .gyn-know-more {
        width: 100%;
        margin-top: 38px;
    }

    .gyn-scroll-top {
        right: 20px;
        bottom: 20px;
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 420px) {
    .gyn-brand {
        width: 142px;
    }

    .gyn-hero__content {
        width: calc(100% - 46px);
    }

    .gyn-hero__content h1 {
        font-size: 50px;
    }

    .gyn-hero__content p {
        font-size: 25px;
    }

    .gyn-why__visual {
        height: 410px;
    }

    .gyn-why__content h2 {
        font-size: 35px;
    }

    .gyn-why__lead {
        font-size: 14px;
    }
}

/* Contact action banner */
.gyn-contact-banner {
    position: relative;
    min-height: clamp(420px, 30vw, 458px);
    margin: 40px -20px 0 8px;
    overflow: visible;
    isolation: isolate;
    color: var(--gyn-white);
    background-image:
        linear-gradient(90deg, rgba(3, 25, 57, 0.35) 0%, rgba(3, 28, 57, 0.16) 48%, rgba(3, 28, 57, 0) 74%),
        url("../../../img/demo/gynecologist/action-box-bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 30px;
    box-shadow: 0 0 0 40px var(--gyn-white);
}

.gyn-contact-banner__content {
    padding: 100px 60px 65px;
}

.gyn-contact-banner__label {
    width: 257px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--gyn-blue);
    background: var(--gyn-white);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.gyn-contact-banner h2 {
    width: 90%;
    margin: 16px 0 21px;
    color: var(--gyn-white);
    font-size: clamp(48px, 3.75vw, 56px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.12;
    transform: scaleX(1.12);
    transform-origin: left center;
}

.gyn-contact-banner__button {
    width: 231px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gyn-white);
    background: var(--gyn-blue);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.gyn-contact-banner__button:hover,
.gyn-contact-banner__button:focus-visible {
    color: var(--gyn-navy);
    background: var(--gyn-white);
    outline: none;
    transform: translateY(-2px);
}

.gyn-contact-banner__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-contact-banner__phone {
    position: absolute;
    top: 88px;
    right: -20px;
    z-index: 2;
    width: 68px;
    height: 268px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--gyn-navy);
    background: var(--gyn-white);
    border-radius: 22px 0 0 22px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.gyn-contact-banner__phone:hover,
.gyn-contact-banner__phone:focus-visible {
    color: var(--gyn-white);
    background: var(--gyn-blue);
    outline: none;
}

.gyn-contact-banner__phone>span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transform: rotate(-90deg);
}

.gyn-contact-banner__phone svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    fill: none;
    stroke: var(--gyn-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s ease;
}

.gyn-contact-banner__phone:hover svg,
.gyn-contact-banner__phone:focus-visible svg {
    stroke: currentColor;
}

.gyn-contact-banner__phone strong {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (max-width: 1050px) {
    .gyn-contact-banner {
        margin-right: 0;
        margin-left: 0;
        box-shadow: 0 0 0 24px var(--gyn-white);
    }

    .gyn-contact-banner__phone {
        right: -24px;
    }
}

@media (max-width: 767px) {
    .gyn-contact-banner {
        min-height: 540px;
        margin-top: 28px;
        background-image:
            linear-gradient(90deg, rgba(3, 25, 57, 0.82) 0%, rgba(3, 28, 57, 0.58) 58%, rgba(3, 28, 57, 0.16) 100%),
            url("../../../img/demo/gynecologist/action-box-bg.jpg");
        background-position: 65% center;
        border-radius: 22px;
        box-shadow: 0 0 0 12px var(--gyn-white);
    }

    .gyn-contact-banner__content {
        padding: 50px 24px 80px;
    }

    .gyn-contact-banner__label {
        min-width: 0;
        padding: 0 16px;
        font-size: 10px;
    }

    .gyn-contact-banner h2 {
        max-width: 480px;
        margin: 19px 0 30px;
        font-size: clamp(35px, 10.4vw, 46px);
        transform: none;
    }

    .gyn-contact-banner h2 br {
        display: none;
    }

    .gyn-contact-banner__phone {
        top: auto;
        right: -12px;
        bottom: 35px;
        width: 58px;
        height: 220px;
        border-radius: 18px 0 0 18px;
    }

    .gyn-contact-banner__phone strong {
        font-size: 15px;
    }

    .gyn-contact-banner__phone svg {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }
}

@media (max-width: 420px) {
    .gyn-contact-banner {
        min-height: 570px;
    }

    .gyn-contact-banner__content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .gyn-contact-banner h2 {
        font-size: 34px;
    }

    .gyn-contact-banner__button {
        width: 215px;
    }
}

/* Contact cards and appointment form */
.gyn-contact {
    position: relative;
    margin: 40px -40px 0;
    padding: 75px 40px 80px;
    color: var(--gyn-navy);
    background: var(--gyn-pale);
}

.gyn-contact__inner {
    width: min(1400px, 100%);
    margin: 0 auto;
}

.gyn-contact__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 29px;
}

.gyn-contact-card {
    position: relative;
    min-width: 0;
    height: 316px;
    padding: 45px;
    overflow: hidden;
    background: var(--gyn-white);
    border-radius: 31px;
}

.gyn-contact-card::after {
    content: "";
    position: absolute;
    right: -17px;
    bottom: -17px;
    z-index: 1;
    width: 85px;
    height: 85px;
    background: var(--gyn-pale);
    border-radius: 50%;
}

.gyn-contact-card__icon {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-blue);
}

.gyn-contact-card__icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-contact-card__line {
    position: relative;
    height: 1px;
    display: block;
    margin-top: 14px;
    background: #d9dfe9;
}

.gyn-contact-card__line::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 12px;
    background: #c9cfdb;
    border-radius: 50%;
    transform: translateY(-50%);
}

.gyn-contact-card h3 {
    margin: 14px 0 0;
    color: var(--gyn-navy);
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.gyn-contact-card p,
.gyn-contact-card address {
    position: absolute;
    left: 45px;
    bottom: 47px;
    margin: 0;
    color: #64708a;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

.gyn-contact-card p a {
    color: inherit;
    transition: color 0.2s ease;
}

.gyn-contact-card p a:hover,
.gyn-contact-card p a:focus-visible {
    color: var(--gyn-blue);
    outline: none;
}

.gyn-contact-card__arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 51px;
    height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-navy);
    background: var(--gyn-white);
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.gyn-contact-card__arrow:hover,
.gyn-contact-card__arrow:focus-visible {
    color: var(--gyn-white);
    background: var(--gyn-blue);
    outline: none;
    transform: rotate(7deg);
}

.gyn-contact-card__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gyn-contact-form-wrap {
    min-height: 765px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 98px;
    overflow: hidden;
    background: var(--gyn-white);
    border-radius: 31px;
}

.gyn-contact-form-wrap__media {
    min-width: 0;
    min-height: 765px;
    overflow: hidden;
}

.gyn-contact-form-wrap__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.gyn-contact-form-wrap__content {
    min-width: 0;
    padding: 100px 80px 70px;
}

.gyn-contact-form-wrap__label {
    width: 126px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gyn-blue);
    background: var(--gyn-pale);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.gyn-contact-form-wrap h2 {
    width: 100%;
    margin: 15px 0 0;
    color: var(--gyn-navy);
    font-size: clamp(43px, 2.65vw, 50px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
    transform: scaleX(1.07);
    transform-origin: left center;
}

.gyn-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 33px;
    margin-top: 68px;
}

.gyn-contact-form label {
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: #53688d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.gyn-contact-form input,
.gyn-contact-form textarea {
    width: 100%;
    min-width: 0;
    margin: 7px 0 0;
    padding: 0;
    color: var(--gyn-navy);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #294273;
    border-radius: 0;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

.gyn-contact-form input {
    height: 17px;
}

.gyn-contact-form textarea {
    height: 61px;
    resize: vertical;
}

.gyn-contact-form input:focus,
.gyn-contact-form textarea:focus {
    border-color: var(--gyn-blue);
}

.gyn-contact-form__message {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.gyn-contact-form button {
    width: 191px;
    height: 59px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: -13px;
    padding: 0;
    color: var(--gyn-white);
    background: var(--gyn-blue);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.gyn-contact-form button:hover,
.gyn-contact-form button:focus-visible {
    color: var(--gyn-white);
    background: var(--gyn-navy);
    outline: none;
    transform: translateY(-2px);
}

.gyn-contact-form button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1199px) {
    .gyn-contact__cards {
        gap: 20px;
    }

    .gyn-contact-card {
        padding-right: 32px;
        padding-left: 32px;
    }

    .gyn-contact-card p,
    .gyn-contact-card address {
        left: 32px;
        font-size: 14px;
    }

    .gyn-contact-form-wrap__content {
        padding-right: 50px;
        padding-left: 50px;
    }
}

@media (max-width: 950px) {
    .gyn-contact__cards {
        grid-template-columns: 1fr;
    }

    .gyn-contact-card {
        height: 280px;
    }

    .gyn-contact-form-wrap {
        grid-template-columns: 1fr;
    }

    .gyn-contact-form-wrap__media {
        min-height: 0;
        aspect-ratio: 1 / 0.9;
    }

    .gyn-contact-form-wrap__content {
        padding: 70px 70px 80px;
    }
}

@media (max-width: 767px) {
    .gyn-contact {
        margin: 28px -12px 0;
        padding: 50px 12px 60px;
    }

    .gyn-contact__cards {
        gap: 18px;
    }

    .gyn-contact-card {
        height: 265px;
        padding: 32px 28px;
        border-radius: 22px;
    }

    .gyn-contact-card h3 {
        font-size: 24px;
    }

    .gyn-contact-card p,
    .gyn-contact-card address {
        left: 28px;
        bottom: 38px;
        font-size: 14px;
    }

    .gyn-contact-form-wrap {
        min-height: 0;
        margin-top: 55px;
        border-radius: 22px;
    }

    .gyn-contact-form-wrap__media {
        aspect-ratio: 1 / 1;
    }

    .gyn-contact-form-wrap__content {
        padding: 48px 22px 58px;
    }

    .gyn-contact-form-wrap h2 {
        font-size: clamp(36px, 10.5vw, 46px);
        transform: none;
    }

    .gyn-contact-form-wrap h2 br {
        display: none;
    }

    .gyn-contact-form {
        grid-template-columns: 1fr;
        row-gap: 30px;
        margin-top: 48px;
    }

    .gyn-contact-form__message {
        grid-column: auto;
        margin-top: 0;
    }

    .gyn-contact-form button {
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 420px) {
    .gyn-contact-card {
        padding-right: 22px;
        padding-left: 22px;
    }

    .gyn-contact-card p,
    .gyn-contact-card address {
        left: 22px;
    }

    .gyn-contact-form-wrap__content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .gyn-contact-form-wrap h2 {
        font-size: 34px;
    }
}