/* Home page sections */

/* Hero */

.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: stretch;
    background-color: var(--color-soft);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 55%);
}

.hero > .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 480px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 620px;
    padding-top: 64px;
    padding-bottom: 40px;
}

.hero__title {
    font-size: 49px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-navy);
}

.hero__subtitle {
    max-width: 450px;
    font-size: 20px;
    line-height: 1.35;
    color: var(--color-black-50);
}

/* Features */

.features {
    padding: 48px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.feature__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature__title {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
}

.feature__text {
    max-width: 210px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-muted);
}

/* Welcome */

.welcome {
    padding: 60px 0;
}

.welcome__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.welcome__brand {
    position: relative;
    overflow: hidden;
    min-height: 404px;
}

.welcome__brand img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.welcome__lead {
    font-size: 20px;
    line-height: 1.5;
}

.welcome__place-title {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.5;
}

.welcome__place-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-muted);
}

/* Why choose */

.why {
    padding: 40px 0;
}

.why__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 60px 40px;
    background: var(--color-navy);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.why__item {
    text-align: center;
    color: var(--color-white);
}

.why__item h3 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.why__item p {
    font-size: 16px;
    line-height: 1.5;
}

.why__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

/* Insurance */

.insurance {
    padding: 72px 0;
}

.insurance__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.insurance__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.insurance__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    border: 1px solid var(--color-border);
    font-size: 25px;
    line-height: 1.5;
    text-align: center;
}

/* Services */

.services {
    padding: 60px 0;
}

.services__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.services__featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.service-card > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    transition: color var(--transition);
}

.service-card > a:hover h3 {
    color: var(--color-orange);
}

.service-card__media {
    display: block;
    width: 100%;
    overflow: hidden;
    background: var(--color-soft);
}

.service-card__media img,
.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-media);
}

.service-card > a:hover .service-card__media img,
.service-card > a:hover > img {
    transform: scale(1.06);
}

.service-card h3 {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.5;
    transition: color var(--transition);
}

.service-card p {
    color: var(--color-muted);
}

.services__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 280px));
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1180px;
}

.services__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.services__col a {
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-navy);
    transition: color var(--transition);
}

.services__col a:hover {
    color: var(--color-orange);
}

/* Plans */

.plans {
    padding: 80px 0;
    background: var(--color-soft);
}

.plans__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.plans__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    text-align: center;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.plan-card:hover {
    border-color: #c5cad3;
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.plan-card h3 {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.5;
}

.plan-card__desc,
.plan-card__includes {
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.5;
}

.plan-card__price {
    font-size: 31px;
    line-height: 1.2;
}

.plan-card .btn {
    width: 100%;
    max-width: 280px;
}

/* Doctors */

.doctors {
    padding: 80px 0;
}

.doctors__inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: center;
}

.doctors__photo {
    width: 100%;
    max-width: 380px;
    height: 440px;
    object-fit: cover;
}

.doctors__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.doctors__lead {
    font-size: 25px;
    line-height: 1.5;
}

.doctors__text {
    max-width: 660px;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.5;
}

.doctors__name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

/* Reviews */

.reviews {
    padding: 72px 0;
    background: var(--color-soft);
}

.reviews__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.review {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.review p {
    font-size: 20px;
    line-height: 1.5;
}

.review cite {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review cite strong {
    font-size: 16px;
    font-weight: 500;
}

.review cite span {
    font-size: 13px;
    color: var(--color-muted);
}

/* Stories */

.stories {
    padding: 72px 0;
}

.stories__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.stories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.story-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.story-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 214px;
    overflow: hidden;
    background-color: var(--color-soft);
}

.story-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-media);
}

.story-card__media:hover .story-card__image {
    transform: scale(1.08);
}

.story-card__play {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-white);
    transition: transform var(--transition), background var(--transition);
}

.story-card__media:hover .story-card__play {
    transform: scale(1.06);
    background: rgba(0, 0, 0, 0.65);
}

.story-card h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

/* Documents */

.docs {
    padding: 72px 0;
    background: var(--color-soft);
}

.docs__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.docs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.doc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.doc-item h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.doc-item p {
    color: var(--color-muted);
}

/* FAQ + Find us */

.info {
    padding: 72px 0;
    background: var(--color-soft);
}

.info__inner {
    display: grid;
    grid-template-columns: 660px 1fr;
    gap: 60px;
    align-items: flex-start;
}

.find-us {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.find-us__title {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.5;
}

.find-us__text {
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.5;
}

.find-us__phones {
    font-size: 22px;
    line-height: 1.5;
}

.find-us__email {
    color: var(--color-muted);
    font-size: 16px;
    transition: color var(--transition);
}

.find-us__phones a {
    transition: color var(--transition);
}

.find-us__email:hover,
.find-us__phones a:hover {
    color: var(--color-orange);
}

/* Booking */

.book {
    padding: 80px 0;
}

.book__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.book-form {
    width: 100%;
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.book-form__tabs {
    display: flex;
    gap: 12px;
}

.book-form__tab {
    padding: 12px 16px;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-navy);
    transition: background var(--transition);
}

.book-form__tab.is-active {
    background: var(--color-orange-hot);
    border-radius: var(--radius);
}

.book-form__row {
    display: grid;
    grid-template-columns: 300px 300px 1fr;
    gap: 20px;
    width: 100%;
}

.book-form__note {
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-muted);
}

.book-form__note a {
    text-decoration: underline;
}

.book-form .btn {
    min-width: 300px;
}

/* Motion */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__content,
.feature,
.why__panel,
.plan-card,
.review {
    animation: fade-up 0.7s ease both;
}

.feature:nth-child(2) { animation-delay: 0.08s; }
.feature:nth-child(3) { animation-delay: 0.16s; }
.feature:nth-child(4) { animation-delay: 0.24s; }
.feature:nth-child(5) { animation-delay: 0.32s; }