/* Czech localisation refinements layered over the original Georgian Ferlix theme. */
.navbar-brand img,
.footer-logo img {
    width: auto;
    max-width: 310px;
}

.main-menu ul li a {
    font-size: 14px;
}

/* Czech uses sentence case in navigation, buttons, cards and the footer. */
.btn-default,
.readmore-btn,
.main-menu ul li a,
.slicknav_nav .slicknav_row,
.slicknav_nav li a,
.footer-links h3,
.footer-links ul li,
.service-content-info h3,
.pricing-header h3,
.pricing-header h2 sub,
.pricing-body ul li,
.work-step-content h2,
.work-step-nav ul li .nav-link,
.section-footer-text span,
.section-footer-text p a,
.page-header-box ol li.breadcrumb-item,
.appointment-form form .form-control::placeholder,
.accordion-button {
    text-transform: none !important;
}

/* Keep the original Ferlix service-card interaction, with tidy equal cards. */
.service-item-list > [class*="col-"] {
    display: flex;
}

.service-item {
    width: 100%;
    min-height: 365px;
}

.service-item .service-body {
    min-height: 303px;
    display: flex;
    flex-direction: column;
}

.service-item .service-content {
    margin-top: auto;
}

.service-content-info h3 {
    min-height: 56px;
}

.service-content-info p {
    min-height: 76px;
    line-height: 1.5;
}

.service-readmore-btn {
    min-height: 40px;
}

/* Complete the two homepage blocks that were added on top of the Ferlix base. */
.partner-clinic-showcase {
    padding: 78px 0;
    background: var(--primary-color);
}

.partner-clinic-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 420px;
    overflow: hidden;
    border-radius: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.partner-clinic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 31, 91, .96) 0%, rgba(32, 41, 110, .82) 48%, rgba(32, 41, 110, .15) 100%);
}

.partner-clinic-copy {
    position: relative;
    z-index: 1;
    width: min(650px, 72%);
    padding: 60px;
}

.partner-clinic-copy > span {
    display: block;
    margin-bottom: 14px;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}

.partner-clinic-copy h2 {
    margin-bottom: 18px;
    color: var(--white-color);
    font-size: 42px;
    line-height: 1.15;
}

.partner-clinic-copy p {
    max-width: 590px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .78);
}

.commitment-image {
    height: 650px;
    overflow: hidden;
    border-radius: 30px;
}

.commitment-image figure,
.commitment-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.commitment-image img {
    object-fit: cover;
    object-position: center;
}

/* The enquiry panel uses the Georgian-site consultation photograph. */
.programme-enquiry .section-title p {
    margin-top: 20px;
}

.programme-enquiry .col-lg-5 .section-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 210px;
    margin-top: 24px;
    border-radius: 20px;
    background: url('../images/home-private-consultation.webp') center 42% / cover no-repeat;
    box-shadow: 0 14px 35px rgba(32, 41, 110, .09);
}

.form-contact-list {
    margin-top: 28px;
}

.programme-enquiry .form-contact-list .footer-contact-item {
    color: var(--primary-color) !important;
    background: var(--white-color);
    border-color: rgba(32, 41, 110, .14);
    box-shadow: 0 7px 20px rgba(32, 41, 110, .05);
}

.programme-enquiry .form-contact-list .footer-contact-item:hover {
    background: var(--white-color);
    border-color: rgba(255, 112, 163, .55);
}

.programme-enquiry .form-contact-list .footer-contact-item > span {
    background: rgba(255, 112, 163, .13);
    color: var(--accent-color);
}

.programme-enquiry .form-contact-list .footer-contact-item small {
    color: #666b7f;
}

.programme-enquiry .form-contact-list .footer-contact-item strong {
    color: var(--primary-color);
}

.form-error {
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff0f0;
    color: #a12626;
    margin-bottom: 16px;
}

.program-page .rich-copy p {
    margin-bottom: 18px;
}

.program-page .rich-copy a {
    color: var(--accent-color);
    text-decoration: underline;
}

.program-section-photo {
    overflow: hidden;
    margin: 30px 0 0;
    border-radius: 24px;
}

.program-section-photo img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* Improve reading density on sample programme and price pages. */
.program-content-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.program-content-section .row {
    align-items: flex-start;
}

.hub-navigation {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hub-link-grid > .hub-link-card:only-child {
    grid-column: 1 / -1;
    width: min(100%, 620px);
    min-height: 205px;
}

.pricing-date-badge {
    white-space: nowrap;
}

@media (max-width: 1199px) {
    .navbar-brand img {
        max-width: 255px;
    }
}

@media (max-width: 991px) {
    .partner-clinic-showcase {
        padding: 55px 0;
    }

    .partner-clinic-banner {
        min-height: 380px;
    }

    .partner-clinic-copy {
        width: 82%;
        padding: 44px;
    }

    .partner-clinic-copy h2 {
        font-size: 36px;
    }

    .commitment-image {
        height: 540px;
        margin-top: 35px;
    }

    .programme-enquiry .col-lg-5 .section-title::after {
        height: 300px;
        margin-bottom: 34px;
    }

    .program-section-photo img {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .navbar-brand img {
        max-width: 230px;
    }

    .footer-logo img {
        max-width: 250px;
    }

    .page-header-box h1 {
        font-size: 38px;
    }

    .programme-price-card {
        padding: 28px 20px;
    }

    .service-item {
        min-height: 340px;
    }

    .service-item .service-body {
        min-height: 278px;
    }

    .service-content-info h3,
    .service-content-info p {
        min-height: 0;
    }

    .partner-clinic-showcase {
        padding: 40px 0;
    }

    .partner-clinic-banner {
        min-height: 480px;
        align-items: flex-end;
        border-radius: 22px;
        background-position: 62% center;
    }

    .partner-clinic-overlay {
        background: linear-gradient(180deg, rgba(32, 41, 110, .12) 0%, rgba(23, 31, 91, .96) 62%);
    }

    .partner-clinic-copy {
        width: 100%;
        padding: 30px 24px;
    }

    .partner-clinic-copy h2 {
        font-size: 29px;
    }

    .commitment-image {
        height: 430px;
        border-radius: 22px;
    }

    .program-content-section,
    .hub-navigation {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .programme-enquiry .col-lg-5 .section-title::after,
    .program-section-photo img {
        height: 230px;
    }
}

/* V7: genuine template parity with the Georgian master. The Czech programme,
   editorial and legal page types now keep the same component hierarchy and
   spacing instead of inheriting the former universal marketing-page blocks. */
.source-parity-page + .main-footer,
.source-parity-article + .main-footer {
    margin-top: 70px !important;
}

.source-parity-page .program-intro .section-title p {
    max-width: 760px;
}

.source-parity-page .program-content-section .rich-copy > :last-child,
.source-parity-page .program-section-card .rich-copy > :last-child,
.source-parity-article .article-content section > :last-child,
.source-parity-legal .legal-content section > :last-child {
    margin-bottom: 0;
}

.source-parity-page .program-content-section .rich-copy a,
.source-parity-page .program-section-card .rich-copy a,
.source-parity-article .article-content a,
.source-parity-legal .legal-content a {
    color: var(--accent-color);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.source-parity-page .hub-link-grid {
    align-items: stretch;
}

.source-parity-page .hub-link-card {
    height: 100%;
}

.source-programme-enquiry .col-lg-5 .section-title::after {
    content: none;
}

.source-programme-enquiry .programme-enquiry-form {
    position: relative;
}

.source-parity-article .article-sources {
    padding: 26px 28px;
    border: 1px solid rgba(32, 41, 110, .11);
    border-radius: 18px;
    background: var(--secondary-color);
}

.source-parity-article .article-sources ul {
    margin-bottom: 0;
}

.source-parity-legal .legal-summary a {
    text-decoration: none;
}

@media (max-width: 991px) {
    .source-parity-page + .main-footer,
    .source-parity-article + .main-footer {
        margin-top: 55px !important;
    }

    .source-parity-page .program-intro,
    .source-parity-page .program-content-section,
    .source-parity-page .hub-navigation,
    .source-parity-page .program-faq,
    .source-programme-enquiry {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}

@media (max-width: 575px) {
    .source-parity-page + .main-footer,
    .source-parity-article + .main-footer {
        margin-top: 40px !important;
    }

    .source-parity-page .program-section-card,
    .source-parity-page .hub-link-card,
    .source-parity-article .article-sources {
        padding: 22px;
    }
}

/* V6 visual audit: content must remain visible in full-page captures and when
   animation observers are delayed or blocked. */
.wow {
    visibility: visible !important;
}

.applicant-enquiry .applicant-location-note {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--white-color);
    color: var(--primary-color);
    box-shadow: 0 10px 28px rgba(32, 41, 110, .06);
}

.applicant-location-note > i {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-color);
    color: var(--white-color);
}

.applicant-location-note b,
.applicant-location-note span {
    display: block;
}

.applicant-location-note span {
    margin-top: 4px;
    color: #66697d;
    font-size: 13px;
    line-height: 1.5;
}

.applicant-enquiry .programme-enquiry-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.applicant-enquiry .consultation-consent label {
    display: flex;
}

.clinic-page-redesign .program-content-section .row {
    align-items: center;
}

.clinic-page-redesign .program-content-section {
    min-height: 245px;
}

.clinic-pathways .hub-link-card {
    min-height: 285px;
}

.contact-page-redesign + .main-footer {
    margin-top: 70px;
}

@media (min-width: 1200px) {
    .main-menu ul li a {
        font-size: 12px;
    }

    .main-menu .resources-menu > ul {
        width: 580px;
    }
}

@media (max-width: 991px) {
    .contact-page-redesign + .main-footer {
        margin-top: 50px;
    }

    .clinic-page-redesign .program-content-section {
        min-height: 0;
    }
}

@media (min-width: 992px) {
    .program-page + .main-footer {
        margin-top: 42px;
    }
}

/* V5: match the richer visual rhythm and full component set of ivfsurrogacy.ge. */
.about-us .about-us-img-1 img,
.about-us .about-us-img-2 img {
    object-fit: cover;
}

.partner-clinic .section-title p {
    margin-top: 18px;
}

.our-commitment-image figure {
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.our-commitment-image img {
    object-position: center;
}

.work-step-item-box:not(.active):not(.show) {
    display: none;
}

.cta-box .cta-contact-item-content a,
.cta-box .cta-contact-item-content p {
    color: rgba(255, 255, 255, .82);
}

.homepage-consultation-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.homepage-consultation-form .consultation-consent label {
    display: flex;
}

.homepage-consultation-form .contact-form-btn {
    margin-top: 0;
}

.program-compact-sections .section-row {
    margin-bottom: 44px;
}

.program-section-card {
    overflow: hidden;
}

.program-section-card .rich-copy p + p {
    margin-top: 12px;
}

.program-section-card .rich-copy a {
    color: var(--accent-color);
    font-weight: 650;
    text-decoration: underline;
}

.subpage-coordination {
    overflow: hidden;
}

.subpage-coordination .our-commitment-image img {
    min-height: 590px;
}

.subpage-why {
    background: var(--white-color);
}

.subpage-why .why-choose-item-content h2 {
    font-size: 36px;
}

@media (max-width: 991px) {
    .subpage-coordination .our-commitment-image img {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .program-compact-sections .section-row {
        margin-bottom: 30px;
    }

    .subpage-why .why-choose-item-content h2 {
        font-size: 30px;
    }
}
