/* Facilities page */
.facilities-page {
    padding: 120px 24px 64px;
    color: #183f43;
    background: radial-gradient(ellipse at top left, #def4ed, transparent 55%), linear-gradient(180deg, #fffaf4, #fff 650px);
    line-height: 1.8;
}

.facilities-header {
    max-width: 660px;
    margin: 0 auto 44px;
    text-align: center;
}

.facilities-eyebrow {
    margin-bottom: 12px;
    color: #087c70;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.facilities-header h2 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 24px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.facilities-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 76px;
    height: 4px;
    border-radius: 8px;
    background: linear-gradient(90deg, #029e90 65%, #fb7f20 65%);
    transform: translateX(-50%);
}

.facilities-header > p:last-child { font-size: 17px; color: #52696c; }

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
    max-width: 1240px;
    margin: auto;
}

.facility-card {
    grid-column: span 2;
    min-width: 0;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid #dcece8;
    border-top: 4px solid #029e90;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(24 63 67 / 7%);
    scroll-margin-top: 100px;
    overflow-wrap: break-word;
}

.facility-card:nth-child(n+4) { grid-column: span 3; }
.facility-card:nth-child(even) { border-top-color: #fb7f20; }
.facility-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.facility-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: #087c70; background: #eaf7f2; }
.facility-icon svg { width: 34px; height: 34px; }
.facility-card:nth-child(even) .facility-icon { color: #a34b0b; background: #fff0e2; }
.facility-number { font-size: 26px; font-weight: 700; color: #6a8480; }
.facility-card h3 { margin-bottom: 14px; font-size: 23px; line-height: 1.4; letter-spacing: -0.4px; }
.facility-card p { color: #52696c; font-size: 16px; }

.facilities-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1240px;
    margin: 40px auto 0;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 22px;
    background: #124942;
    color: #fff;
}

.facilities-contact h3 { margin-bottom: 8px; font-size: 25px; line-height: 1.3; }
.facilities-contact p { color: #dcece8; }
.facilities-contact a { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; padding: 14px 20px; border-radius: 10px; background: #fff; color: #087c70; font-size: 14px; font-weight: 700; text-decoration: none; }
.facilities-contact a:hover { background: #ffe8d5; }
.facilities-contact a:focus-visible { outline: 3px solid #fb7f20; outline-offset: 4px; }

@media (max-width: 1000px) {
    .facilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facility-card,
    .facility-card:nth-child(n+4) { grid-column: auto; }
    .facility-card:last-child { grid-column: 1 / -1; }
    .facilities-contact { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .facilities-page { padding: 108px 16px 40px; }
    .facilities-header { margin-bottom: 30px; }
    .facilities-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .facility-card { padding: 24px; }
    .facilities-contact a { width: 100%; }
}

/* Policies, reasons to choose us, and patient testimonials. */
.policy {
    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 0 auto 64px;
}

.policy > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    counter-reset: policy;
}

.policy p {
    padding: 28px;
    border: 1px solid #dcece8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgb(24 63 67 / 7%);
    color: #52696c;
    counter-increment: policy;
}

.policy p::before {
    content: "0" counter(policy);
    display: block;
    margin-bottom: 18px;
    color: #087c70;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
}

.policy strong,
.chooseset1 strong {
    display: block;
    margin-bottom: 10px;
    color: #183f43;
    font-size: 18px;
    line-height: 1.5;
}

.choose {
    padding: 56px 24px 64px;
    background: linear-gradient(135deg, #eff9f6, #f9fcfb);
    border-top: 1px solid #dcece8;
}

.chooseset {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.chooseset img {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: auto;
    border-radius: 24px;
}

.chooseset1 {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.chooseset1 > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.chooseset1 p {
    padding: 24px;
    border: 1px solid #dcece8;
    border-left: 3px solid #029e90;
    border-radius: 16px;
    background: #fff;
    color: #52696c;
    box-shadow: 0 6px 20px rgb(24 63 67 / 4%);
}

.chooseset1 > div:nth-child(2) p {
    border-left-color: #fb7f20;
}


/* Independent testimonial carousel. */
.testimonials { background: #fff; }
.testimonial-intro,
.testimonial-notice { text-align: center; max-width: 700px; margin: 0 auto 14px; color: #52696c; }
.testimonial-notice { font-size: 13px; }
.testimonial-carousel { max-width: 860px; margin: 28px auto 0; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; }
.testimonial-controls button {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #dcece8;
    border-radius: 24px;
    background: #eff8f5;
    color: #087c70;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.testimonial-controls button:hover { background: #ffe8d5; }
.testimonial-card {
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #dcece8;
    border-top: 4px solid #029e90;
    border-radius: 24px;
    background: linear-gradient(135deg, #f0faf6, #fff9f1);
    box-shadow: 0 14px 40px rgb(24 63 67 / 8%);
    text-align: center;
}
.testimonial-stars { color: #975900; font-size: 26px; letter-spacing: 5px; margin-bottom: 20px; }
.testimonial-card blockquote { font-size: clamp(18px, 2.4vw, 24px); line-height: 1.8; color: #183f43; }
.testimonial-card figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; text-align: left; }
.testimonial-avatar { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: #d9eee7; color: #087c70; font-weight: 700; }
.testimonial-card figcaption strong { display: block; font-size: 15px; }
.testimonial-card figcaption span > span { display: block; font-size: 12px; color: #52696c; }
.testimonial-dots { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.testimonial-dots button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.testimonial-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aafaa; }
.testimonial-dots button[aria-current="true"]::before { width: 24px; border-radius: 8px; background: #087c70; }
.testimonials [hidden] { display: none; }

.policy, .choose, .testimonials {
    color: #183f43;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: break-word;
}
.testimonials { padding: 56px 24px 64px; }
.policy > h2, .choose > h2, .testimonials > h2 {
    position: relative;
    margin: 0 0 36px;
    padding-bottom: 22px;
    text-align: center;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.25;
    letter-spacing: -1px;
}
.policy > h2::after, .choose > h2::after, .testimonials > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 76px;
    height: 4px;
    border-radius: 8px;
    background: linear-gradient(90deg, #029e90 65%, #fb7f20 65%);
    transform: translateX(-50%);
}
.testimonials button:focus-visible { outline: 3px solid #b55309; outline-offset: 4px; }
@media (max-width: 1000px) {
    .policy > div, .chooseset { grid-template-columns: minmax(0, 1fr); }
    .chooseset { gap: 28px; }
    .chooseset img { max-width: 240px; }
}
@media (max-width: 640px) {
    .policy { width: calc(100% - 32px); margin: 0 auto 36px; }
    .policy p { padding: 24px; }
    .chooseset1 > div { grid-template-columns: minmax(0, 1fr); }
    .choose, .testimonials { padding: 36px 16px 40px; }
    .policy > h2, .choose > h2, .testimonials > h2 { margin-bottom: 28px; letter-spacing: -0.5px; }
}
