
/*
Theme Name: Reproduktolog Minimal Child
Description: Child theme of Twenty Twenty-Five for reproduktolog.lviv.ua
Template: twentytwentyfive
Version: 1.3.1
Text Domain: reproduktolog-minimal
*/

/* =========================================
   BRAND COLORS
========================================= */

:root {
    --rp-teal: #3ebfb3;
    --rp-teal-hover: #249f96;
    --rp-cream: #faf7f2;
    --rp-sand: #eaddd0;
    --rp-sage: #8fa99a;
    --rp-ink: #283632;
    --rp-white: #ffffff;
}

/* =========================================
   HEADER
========================================= */

.rp-header {
    background: #ffffff;
    border-bottom: 1px solid #ece9e4;
    position: relative;
    z-index: 100;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(40, 54, 50, 0.05);
}

.rp-header * {
    box-sizing: border-box;
}

.rp-header__inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 15px 26px;
    min-height: 94px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.rp-header a {
    color: var(--rp-ink);
    text-decoration: none;
}

/* =========================================
   LOGO
========================================= */

.rp-header__logo {
    display: flex;
    align-items: center;
    flex: 0 0 210px;
}

.rp-header__logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
}

/* =========================================
   DESKTOP NAVIGATION
========================================= */

.rp-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    white-space: nowrap;
    flex: 0 1 auto;
}

.rp-header__nav a {
    font-size: 15.5px;
    line-height: 1.4;
    font-weight: 500;
    transition: color 0.2s ease;
}

.rp-header__nav a:hover,
.rp-header__lang a:hover {
    color: var(--rp-teal-hover);
}

/* =========================================
   PHONE
========================================= */

.rp-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    font-weight: 600;
    white-space: nowrap;
}

.rp-header__phone::before {
    content: '☎';
    color: var(--rp-teal);
    font-size: 19px;
    font-weight: 400;
}

/* =========================================
   BOOKING BUTTON
========================================= */

.rp-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--rp-teal) !important;
    color: #ffffff !important;

    border-radius: 100px;
    min-height: 48px;
    padding: 12px 21px;

    font-size: 13.5px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.015em;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.rp-header__cta:hover {
    background: var(--rp-teal-hover) !important;
    transform: translateY(-1px);
}

/* =========================================
   LANGUAGE SWITCHER
========================================= */

.rp-header__lang {
    font-size: 14px;
    white-space: nowrap;
    font-weight: 600;
}

.rp-header__lang span {
    color: #9ca8a4;
    padding: 0 3px;
}

.rp-header__lang a[aria-current="page"] {
    color: var(--rp-teal-hover);
}

/* =========================================
   MOBILE MENU
========================================= */

.rp-header__mobile {
    display: none;
}

/* =========================================
   RESPONSIVE HEADER
========================================= */

@media (max-width: 1270px) {

    .rp-header__inner {
        min-height: 82px;
        padding: 12px 25px;
    }

    .rp-header__nav,
    .rp-header__phone,
    .rp-header__lang,
    .rp-header__inner > .rp-header__cta {
        display: none;
    }

    .rp-header__mobile {
        display: block;
        margin-left: auto;
        position: relative;
    }

    .rp-header__mobile summary {
        list-style: none;
        cursor: pointer;
        padding: 11px 15px;
        border: 1px solid #d5e5e2;
        border-radius: 10px;
        font-size: 15px;
        color: var(--rp-ink);
    }

    .rp-header__mobile summary::-webkit-details-marker {
        display: none;
    }

    .rp-header__mobile-panel {
        position: absolute;
        right: 0;
        top: calc(100% + 12px);
        background: #ffffff;

        box-shadow: 0 15px 45px rgba(40, 54, 50, 0.14);
        border: 1px solid #e5e8e5;
        border-radius: 14px;

        padding: 20px;
        display: none;
        flex-direction: column;
        gap: 16px;

        width: min(310px, calc(100vw - 30px));
        font-size: 16px;
    }

    .rp-header__mobile[open] .rp-header__mobile-panel {
        display: flex;
    }

    .rp-header__mobile-panel .rp-header__cta {
        text-align: center;
    }

    .rp-header__mobile-panel a {
        font-weight: 500;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 500px) {

    .rp-header__inner {
        padding: 10px 16px;
    }

    .rp-header__logo {
        flex-basis: 170px;
    }

    .rp-header__logo img {
        max-height: 62px;
    }
}

/* =========================================
   STICKY HEADER
========================================= */

/*
   Twenty Twenty-Five is a block theme.
   Make the WordPress template-part wrapper sticky
   when it contains our custom header.
*/

.wp-site-blocks > .wp-block-template-part:has(.rp-header) {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
}

/* Fallback for alternate header markup */

.wp-site-blocks > .rp-header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* WordPress admin bar */

body.admin-bar
.wp-site-blocks > .wp-block-template-part:has(.rp-header) {
    top: 32px;
}

body.admin-bar
.wp-site-blocks > .rp-header {
    top: 32px;
}

/* Mobile admin bar */

@media (max-width: 782px) {

    body.admin-bar
    .wp-site-blocks > .wp-block-template-part:has(.rp-header) {
        top: 46px;
    }

    body.admin-bar
    .wp-site-blocks > .rp-header {
        top: 46px;
    }
}

/* Anchor navigation offset */

html {
    scroll-padding-top: 110px;
}

@media (max-width: 782px) {

    html {
        scroll-padding-top: 92px;
    }
}

/* Smooth visual transitions */

@media (prefers-reduced-motion: no-preference) {

    .rp-header {
        transition: box-shadow 0.2s ease;
    }
}


.rp-footer {
    background: #faf7f2;
    color: #283632;
    padding: 72px 24px 0;
    font-family: Arial, Helvetica, sans-serif;
}

.rp-footer,
.rp-footer * {
    box-sizing: border-box;
}

.rp-footer__container {
    max-width: 1320px;
    margin: 0 auto;
}

.rp-footer__cta {
    background: #e5f5f2;
    border-radius: 24px;
    padding: 72px 30px;
    text-align: center;
    margin-bottom: 76px;
}

.rp-footer__eyebrow {
    display: block;
    color: #249f96;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 20px;
}

.rp-footer__cta h2 {
    color: #283632;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 auto 20px;
    max-width: 850px;
}

.rp-footer__cta p {
    color: #53645f;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto 30px;
}

.rp-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 32px;
    border-radius: 100px;
    background: #3ebfb3;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.rp-footer__button:hover {
    background: #249f96;
    transform: translateY(-2px);
}

.rp-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
    gap: 50px;
    padding-bottom: 64px;
}

.rp-footer__grid h3 {
    color: #283632;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 22px;
}

.rp-footer__brand p {
    max-width: 310px;
    color: #53645f;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.rp-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.rp-footer__column h3 {
    margin-bottom: 9px;
}

.rp-footer__column a {
    color: #53645f;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
    transition: color .2s ease;
}

.rp-footer__column a:hover {
    color: #249f96;
}

.rp-footer__bottom {
    border-top: 1px solid #dccfc2;
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #53645f;
    font-size: 13px;
}

.rp-footer__languages {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
}

.rp-footer__languages a {
    color: #283632;
    text-decoration: none;
}

.rp-footer__languages a[aria-current="page"] {
    color: #249f96;
}

.rp-footer__languages span {
    color: #9ca8a4;
}

.rp-footer a:focus-visible {
    outline: 2px solid #3ebfb3;
    outline-offset: 4px;
}

@media (max-width: 1000px) {
    .rp-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .rp-footer__cta {
        padding: 55px 25px;
    }
}

@media (max-width: 600px) {
    .rp-footer {
        padding: 40px 18px 0;
    }

    .rp-footer__cta {
        padding: 45px 20px;
        border-radius: 18px;
        margin-bottom: 50px;
    }

    .rp-footer__cta h2 {
        font-size: 34px;
    }

    .rp-footer__cta p {
        font-size: 15px;
    }

    .rp-footer__grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 45px;
    }

    .rp-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.rp-footer__copyright-link {
    color: inherit;
    text-decoration: none;
}

.rp-footer__copyright-link:hover {
    color: #249f96;
}