.local-modal-open {
    overflow: hidden;
}

/* The hero no longer contains the review/avatar strip. Keep the CTA close to
   the copy instead of reserving the old strip's divider and empty space. */
.hero-content-body {
    border-top: 0;
    margin-top: 30px;
    padding-top: 0;
}

.podology-slider-marker {
    position: relative;
    z-index: 4;
    height: 0;
}

.podology-slider-marker .container {
    position: relative;
}

.podology-slider-marker-icon {
    position: absolute;
    top: -36px;
    right: 6%;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(4, 29, 66, 0.24);
}

.podology-slider-marker-icon img {
    width: 52px;
    height: 52px;
}

.page-podology-visual {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 20px;
    border-radius: 20px;
    background: linear-gradient(145deg, #e8f8f3, #d5edff);
    color: #082654;
    text-align: center;
}

.page-podology-visual-icon {
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 45px rgba(4, 29, 66, 0.16);
}

.page-podology-visual-icon img {
    width: 100px;
    height: 100px;
}

.page-podology-visual > span {
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .page-podology-visual {
        min-height: 280px;
    }

    .page-podology-visual-icon {
        width: 120px;
        height: 120px;
    }

    .page-podology-visual-icon img {
        width: 78px;
        height: 78px;
    }
}

@media (max-width: 767px) {
    .podology-slider-marker-icon {
        top: -28px;
        right: 24px;
        width: 58px;
        height: 58px;
        border-width: 4px;
    }

    .podology-slider-marker-icon img {
        width: 42px;
        height: 42px;
    }
}

.local-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(2, 21, 48, 0.88);
    backdrop-filter: blur(8px);
}

.local-preview-card {
    position: relative;
    width: min(100%, 980px);
    overflow: hidden;
    border-radius: 30px;
    background: #082654;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.local-preview-card img {
    display: block;
    width: 100%;
    max-height: 68vh;
    object-fit: cover;
    opacity: 0.72;
}

.local-preview-copy {
    position: absolute;
    inset: auto 0 0;
    padding: clamp(24px, 5vw, 56px);
    color: #fff;
    background: linear-gradient(transparent, rgba(2, 21, 48, 0.96));
}

.local-preview-copy span {
    color: #18b99a;
    font-weight: 700;
}

.local-preview-copy h2 {
    margin: 8px 0 10px;
    color: #fff;
}

.local-preview-copy p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.local-preview-close {
    position: fixed;
    top: 24px;
    right: 28px;
    z-index: 1;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #082654;
    background: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

/* Reference-inspired inner page layouts */
.reference-section {
    padding: 100px 0;
}

.reference-intro-panel,
.reference-contact-card,
.reference-location-panel,
.reference-faq-panel {
    border-radius: 20px;
    background: var(--secondary-color);
    box-shadow: 0 18px 45px rgba(4, 29, 66, 0.08);
}

.reference-intro-panel {
    padding: clamp(28px, 5vw, 60px);
}

.process-grid {
    counter-reset: process-step;
}

.process-card {
    position: relative;
    min-height: 290px;
    padding: 86px 34px 34px;
    overflow: hidden;
    border: 1px solid rgba(8, 38, 84, 0.08);
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbff 100%);
    box-shadow: 0 18px 45px rgba(4, 29, 66, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.process-card::before {
    counter-increment: process-step;
    content: counter(process-step, decimal-leading-zero);
    position: absolute;
    top: 24px;
    left: 30px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: var(--accent-color);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.process-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 5px;
    border-radius: 0 0 0 10px;
    background: var(--accent-color);
}

.process-card h3 {
    position: relative;
    margin: 8px 0 18px;
    padding-right: 68px;
    color: var(--primary-color);
    font-size: clamp(21px, 2vw, 26px);
}

.process-card-icon {
    position: absolute;
    top: 24px;
    right: 28px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(8, 38, 84, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary-color);
    font-size: 21px;
}

.process-card-kicker {
    display: block;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.process-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(8, 38, 84, 0.1);
    color: var(--text-color);
    line-height: 1.75em;
}

.process-card:hover {
    border-color: rgba(8, 182, 151, 0.35);
    box-shadow: 0 24px 55px rgba(4, 29, 66, 0.14);
    transform: translateY(-8px);
}

.about-values-section {
    overflow: hidden;
}

.about-values-lead {
    max-width: 430px;
    margin: 0 0 8px auto;
    line-height: 1.75em;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 24px;
    border-top: 1px solid rgba(8, 38, 84, 0.12);
    border-bottom: 1px solid rgba(8, 38, 84, 0.12);
}

.about-value-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    min-height: 230px;
    padding: 34px 30px 34px 0;
    align-content: start;
}

.about-value-item + .about-value-item {
    padding-left: 30px;
    border-left: 1px solid rgba(8, 38, 84, 0.12);
}

.about-value-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: var(--accent-color);
    color: #fff;
    font-size: 18px;
}

.about-value-label {
    display: block;
    margin: 3px 0 12px;
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-value-item h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 21px;
    line-height: 1.25em;
}

.about-value-item p {
    margin: 0;
    line-height: 1.65em;
}

.about-editorial-section {
    background: #fff;
}

.about-editorial-visual {
    position: relative;
    display: grid;
    min-height: 420px;
    place-items: center;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(145deg, #082654 0%, #0a4270 55%, #08b697 140%);
}

.about-editorial-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 190px;
    height: 190px;
    place-items: center;
    border: 12px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.about-editorial-icon img {
    width: 112px;
    height: 112px;
}

.about-editorial-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
}

.about-editorial-orbit-one {
    width: 330px;
    height: 330px;
}

.about-editorial-orbit-two {
    width: 470px;
    height: 470px;
}

.about-editorial-caption {
    position: absolute;
    right: 28px;
    bottom: 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: right;
    text-transform: uppercase;
}

.about-editorial-caption small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.about-editorial-copy {
    max-width: 650px;
}

.about-editorial-copy h2 {
    max-width: 600px;
    margin-bottom: 22px;
}

.about-editorial-copy h2 span {
    color: var(--accent-color);
}

.about-editorial-copy > p {
    max-width: 590px;
    margin-bottom: 30px;
    line-height: 1.8em;
}

.about-editorial-points {
    border-top: 1px solid rgba(8, 38, 84, 0.12);
}

.about-editorial-points div {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(8, 38, 84, 0.12);
}

.about-editorial-points strong {
    min-width: 34px;
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.about-editorial-points span {
    color: var(--primary-color);
    font-weight: 600;
}

.reference-intro-panel h2,
.reference-contact-intro h2,
.reference-faq-panel h2 {
    margin-bottom: 18px;
}

.reference-intro-panel p,
.reference-contact-intro p,
.reference-location-panel p {
    line-height: 1.65em;
}

.reference-point-list,
.reference-contact-list,
.reference-hours-list {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.reference-point-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 30px;
    line-height: 1.5em;
}

.reference-point-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--accent-color);
    content: '\f058';
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
}

.reference-profile-card {
    display: grid;
    min-height: 390px;
    place-items: center;
    align-content: center;
    gap: 20px;
    border-radius: 20px;
    background: linear-gradient(145deg, #e8f8f3, #d5edff);
    text-align: center;
}

.reference-profile-icon {
    display: grid;
    width: 170px;
    height: 170px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 45px rgba(4, 29, 66, 0.16);
}

.reference-profile-icon img {
    width: 110px;
    height: 110px;
}

.reference-profile-card strong {
    color: var(--primary-color);
    font-size: 24px;
}

.reference-profile-card span {
    color: var(--text-color);
}

.reference-contact-intro {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.reference-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.reference-contact-card {
    min-height: 210px;
    padding: 30px 22px;
    text-align: center;
}

.reference-contact-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-size: 22px;
}

.reference-contact-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.reference-contact-card p {
    margin: 0;
    line-height: 1.5em;
}

.reference-contact-card a {
    color: inherit;
}

.reference-hours-list {
    margin-top: 0;
}

.reference-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.4em;
    text-align: left;
}

.reference-location-panel {
    min-height: 250px;
    padding: clamp(28px, 5vw, 50px);
    background: linear-gradient(135deg, #082654, #0a4270);
    color: #fff;
}

.reference-location-panel h3,
.reference-location-panel p {
    color: #fff;
}

.reference-location-panel .reference-contact-icon {
    margin: 0 0 24px;
    background: rgba(255, 255, 255, 0.14);
}

.reference-faq-panel {
    padding: clamp(28px, 5vw, 50px);
}

.reference-faq-panel .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--divider-color);
    background: transparent;
}

.reference-faq-panel .accordion-button {
    padding: 20px 0;
    background: transparent;
    box-shadow: none;
    color: var(--primary-color);
    font-weight: 700;
}

.reference-faq-panel .accordion-body {
    padding: 0 0 20px;
    line-height: 1.6em;
}

.contact-page-header {
    padding: 95px 0 10px;
    min-height: 230px;
    position: relative;
    overflow: hidden;
}

/* Shared inner-page header used by the HTML pages. */
.shared-page-header {
    position: relative;
    min-height: 230px;
    padding: 95px 0 10px;
    overflow: hidden;
    background: url('../images/page-header-bg.jpg') center center / cover no-repeat;
}

.shared-page-header::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: -5%;
    right: -5%;
    bottom: -42px;
    height: 92px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
}

.shared-page-header .container,
.shared-page-header .page-header-box {
    position: relative;
    z-index: 1;
}

.shared-page-header .breadcrumb {
    display: none;
}

.contact-page-header::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: -5%;
    right: -5%;
    bottom: -42px;
    height: 92px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    filter: none;
    box-shadow: none;
    pointer-events: none;
}

.contact-page-header .page-header-box h1 {
    display: block;
}

.contact-page-header .page-header-box ol {
    display: none;
}

@media (max-width: 767px) {
    .shared-page-header {
        min-height: 185px;
        padding: 75px 0 20px;
    }

    .contact-page-header {
        padding: 75px 0 20px;
        min-height: 185px;
    }

    .contact-page-header .page-header-box h1 {
        margin-bottom: 16px;
    }
}

@media (max-width: 991px) {
    .reference-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-value-item,
    .about-value-item + .about-value-item {
        padding: 28px 0;
        border-left: 0;
    }

    .about-value-item + .about-value-item {
        border-top: 1px solid rgba(8, 38, 84, 0.12);
    }
}

@media (max-width: 767px) {
    .reference-section {
        padding: 70px 0;
    }

    .reference-profile-card {
        min-height: 300px;
        margin-bottom: 30px;
    }

    .reference-profile-icon {
        width: 135px;
        height: 135px;
    }

    .reference-profile-icon img {
        width: 88px;
        height: 88px;
    }

    .reference-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .local-preview-modal {
        padding: 16px;
    }

    .local-preview-card {
        border-radius: 20px;
    }

    .local-preview-close {
        top: 14px;
        right: 14px;
    }
}

@media (max-width: 767px) {
    .about-editorial-visual {
        min-height: 330px;
    }

    .about-editorial-icon {
        width: 150px;
        height: 150px;
    }

    .about-editorial-icon img {
        width: 88px;
        height: 88px;
    }

    .about-editorial-orbit-one {
        width: 270px;
        height: 270px;
    }

    .about-editorial-orbit-two {
        width: 370px;
        height: 370px;
    }
}
