/* Services page only. Header and footer continue to use the shared site styles. */
.services-page { --svc-ink: #173454; --svc-muted: #587087; --svc-line: #dce8ef; --svc-blue: #0284c7; --svc-teal: #14b8a6; background: #f8fbfd; color: var(--svc-ink); }
.services-page main { display: block; }
.services-page h1,.services-page h2,.services-page h3 { color: var(--svc-ink); }
.services-page p { color: var(--svc-muted); line-height: 1.75; }
.services-page .container { width: min(1200px, 100%); margin-inline: auto; padding-inline: 24px; }
.services-page section { padding: 82px 0; scroll-margin-top: 96px; }
.services-page .svc-eyebrow { color: #0279b4; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.services-page .svc-section-head { max-width: 700px; margin: 0 auto 36px; text-align: center; }
.services-page .svc-section-head h2 { margin: 10px 0 12px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.7px; }
.services-page .svc-section-head p { font-size: 16px; }
.services-page .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.services-page .services-page-hero { padding: 56px 0 68px; background: radial-gradient(circle at 83% 18%, rgba(9,135,194,.15), transparent 46%), radial-gradient(circle at 12% 83%, rgba(14,158,141,.08), transparent 48%), linear-gradient(135deg,#f8fcff 0%,#eaf7ff 55%,#e8fbf8 100%); }
.services-page .svc-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.services-page .svc-hero-copy h1 { max-width: 600px; margin: 14px 0 18px; font-size: clamp(38px,5vw,58px); line-height: 1.08; letter-spacing: -1.8px; }
.services-page .svc-hero-copy p { max-width: 560px; font-size: 17px; margin-bottom: 26px; }
.services-page .svc-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.services-page .svc-hero-actions .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.services-page .svc-hero-photo { position: relative; overflow: hidden; min-height: 360px; aspect-ratio: 1.38; border-radius: 24px; border: 1px solid #d8e5eb; box-shadow: 0 22px 60px rgba(23,52,84,.13); background: #e8f1f4; }
.services-page .svc-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.services-page .svc-hero-carousel .svc-hero-slide { opacity: 0; object-position: var(--svc-slide-position, center); animation: svc-hero-crossfade 15s linear infinite; animation-delay: var(--svc-slide-delay, 0s); }
@keyframes svc-hero-crossfade { 0%,28% { opacity: 1; } 34%,94% { opacity: 0; } 100% { opacity: 1; } }
.services-page .svc-photo-note { position: absolute; z-index: 2; bottom: 16px; left: 16px; padding: 9px 13px; border-radius: 12px; background: rgba(255,255,255,.94); color: var(--svc-ink); font-size: 13px; font-weight: 700; box-shadow: 0 4px 18px #17345416; }
.services-page .patient-needs { background: #fff; }
.services-page .patient-needs-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.services-page .patient-need-card { min-height: 58px; border: 1px solid var(--svc-line); border-radius: 16px; padding: 14px 16px; background: #fff; display: flex; align-items: center; gap: 12px; color: var(--svc-ink); text-align: left; font: 600 14px/1.35 Inter,sans-serif; cursor: pointer; transition: border-color .18s,background .18s,transform .18s,box-shadow .18s; }
.services-page .patient-need-card svg { flex: 0 0 20px; width: 20px; color: var(--svc-blue); }
.services-page .patient-need-card:hover,.services-page .patient-need-card[aria-pressed="true"] { border-color: #7cc8e9; background: #f1f9fd; box-shadow: 0 6px 20px #1734540b; }
.services-page .patient-need-card:hover { transform: translateY(-2px); }
.services-page .patient-need-card:focus-visible,.services-page button:focus-visible,.services-page a:focus-visible,.services-page input:focus-visible,.services-page summary:focus-visible { outline: 3px solid #0891b2; outline-offset: 3px; }
.services-page .featured-treatment { background: transparent; }
.services-page .featured-treatment-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
.services-page .featured-treatment-photo { overflow: hidden; border: 1px solid var(--svc-line); background: #e8f1f4; border-radius: 22px; box-shadow: 0 18px 46px #17345413; aspect-ratio: 1.45; }
.services-page .featured-treatment-photo img { width: 100%; height: 100%; object-fit: cover; }
.services-page .featured-treatment-copy h2 { margin: 12px 0 16px; font-size: clamp(30px,3.4vw,42px); line-height: 1.15; letter-spacing: -.8px; }
.services-page .featured-treatment-copy p { font-size: 16px; }
.services-page .featured-points { display: grid; gap: 11px; margin: 22px 0 25px; }
.services-page .featured-points li { display: flex; gap: 10px; align-items: flex-start; color: #31536e; font-size: 14px; line-height: 1.5; }
.services-page .featured-points i { color: #0783bd; margin-top: 3px; }
.services-page .featured-treatment-copy .btn { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; }
.services-page .services-discovery { background: #fff; }
.services-page .services-search { max-width: 720px; margin: 0 auto 18px; position: relative; }
.services-page .services-search i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: #55738b; }
.services-page .services-search input { width: 100%; min-height: 54px; border: 1px solid #cfdee8; border-radius: 15px; padding: 12px 16px 12px 46px; background: #fafdff; color: var(--svc-ink); font: 15px Inter,sans-serif; }
.services-page .services-filters { display: flex; justify-content: center; gap: 8px; margin: 0 auto 24px; flex-wrap: wrap; }
.services-page .service-filter-btn { min-height: 42px; padding: 9px 15px; border-radius: 24px; border: 1px solid #d8e5ed; background: #fff; color: #3d5a72; font: 600 13px Inter,sans-serif; cursor: pointer; transition: color .18s,background .18s,border-color .18s; }
.services-page .service-filter-btn:hover { border-color: #80c9e9; }
.services-page .service-filter-btn[aria-pressed="true"] { background: #0b75aa; color: white; border-color: #0b75aa; }
.services-page .services-result-count { min-height: 24px; margin: 0 0 14px; color: #5b7387; font-size: 13px; }
.services-page .services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.services-page .service-category-group + .service-category-group { margin-top: 34px; }
.services-page .service-category-group > h3 { margin: 0 0 15px; color: #244865; font-size: 19px; }
.services-page .service-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e0e9ef; border-radius: 20px; box-shadow: 0 8px 24px rgba(23,52,84,.055); transition: transform .2s,box-shadow .2s,border-color .2s,opacity .18s; }
.services-page .service-card:hover { transform: translateY(-4px); border-color: #c7dce8; box-shadow: 0 16px 36px rgba(23,52,84,.11); }
.services-page .service-card[hidden] { display: none; }
.services-page .service-card-image { height: 174px; display: grid; place-items: center; background: #f1f7fa; overflow: hidden; border-bottom: 1px solid #eaf0f4; }
.services-page .service-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s; }
.services-page .service-card:hover .service-card-image img { transform: scale(1.025); }
.services-page .service-card-body { flex: 1; display: flex; flex-direction: column; padding: 19px 20px 17px; }
.services-page .service-category { color: #087bb3; font-size: 10px; line-height: 1.4; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.services-page .service-card-title { margin: 8px 0 9px; font-size: 19px; line-height: 1.3; letter-spacing: -.2px; }
.services-page .service-card-description { font-size: 14px; line-height: 1.65; }
.services-page .service-learn-more { margin-top: auto; padding-top: 16px; color: #0677ad; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.services-page .service-learn-more::-webkit-details-marker { display: none; }
.services-page .service-learn-more::after { content: '→'; display: inline-block; margin-left: 7px; transition: transform .18s; }
.services-page .service-learn-more:hover::after { transform: translateX(4px); }
.services-page .service-details[open] .service-learn-more::after { transform: rotate(90deg); }
.services-page .service-detail-copy { padding-top: 10px; font-size: 13px; border-top: 1px solid #e8eff3; margin-top: 12px; }
.services-page .services-empty-state { padding: 32px 20px; text-align: center; border: 1px dashed #c8dbe6; background: #f8fcfe; border-radius: 18px; color: var(--svc-muted); }
.services-page .services-empty-state[hidden] { display: none; }
.services-page .consultation-help { background: #eff8fc; }
.services-page .consultation-help-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 30px 34px; border: 1px solid #d8e8ef; border-radius: 22px; background: linear-gradient(115deg,#fff,#f1fbfa); box-shadow: 0 12px 36px #17345409; }
.services-page .consultation-help-icon { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: #e5f5fc; color: #087eb8; font-size: 22px; }
.services-page .consultation-help-card h2 { font-size: clamp(22px,2.7vw,30px); margin: 0 0 7px; line-height: 1.25; }
.services-page .consultation-help-card p { font-size: 14px; }
.services-page .consultation-help-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.services-page .consultation-help-actions .btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.services-page .emergency-strip { padding-top: 0; background: #eff8fc; }
.services-page .emergency-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border: 1px solid #f0d9c9; border-radius: 18px; background: #fffaf6; }
.services-page .emergency-copy { display: flex; align-items: flex-start; gap: 13px; }
.services-page .emergency-icon { color: #c45a25; font-size: 19px; margin-top: 3px; }
.services-page .emergency-copy h2 { font-size: 17px; margin-bottom: 3px; }
.services-page .emergency-copy p { font-size: 13px; }
.services-page .emergency-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.services-page .emergency-actions a { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #e8c6b0; border-radius: 24px; color: #86421f; background: #fff; font-size: 13px; font-weight: 700; }
.services-page #service-microscopic-root-canal { scroll-margin-top: 110px; }
.services-page .service-card-highlight { border-color: #18a7c9; box-shadow: 0 0 0 4px rgba(20,184,166,.15),0 16px 36px rgba(23,52,84,.11); }
@media(max-width:1000px) {
 .services-page section { padding: 68px 0; }
 .services-page .svc-hero-grid,.services-page .featured-treatment-grid { gap: 32px; }
 .services-page .patient-needs-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .services-page .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .services-page .consultation-help-card { grid-template-columns: auto 1fr; }
 .services-page .consultation-help-actions { grid-column: 2; justify-content: flex-start; }
}
@media(max-width:1100px) {
 .services-page .svc-hero-photo { min-height: 0; }
}
@media(max-width:880px) {
 .services-page .svc-hero-grid { grid-template-columns: minmax(0,1fr); }
 .services-page .svc-hero-photo { width: min(100%,720px); margin-inline: auto; aspect-ratio: 1.55; }
}
@media(max-width:760px) {
 .services-page section { padding: 58px 0; }
 .services-page .container { padding-inline: 20px; }
 .services-page .svc-hero-grid,.services-page .featured-treatment-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
 .services-page .services-page-hero { padding-top: 42px; }
 .services-page .svc-hero-copy h1 { max-width: 520px; }
 .services-page .svc-hero-photo { min-height: 0; aspect-ratio: 1.5; }
 .services-page .featured-treatment-photo { aspect-ratio: 1.55; }
 .services-page .services-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 3px 3px 10px; margin-inline: -3px; scrollbar-width: thin; }
 .services-page .service-filter-btn { flex: 0 0 auto; }
 .services-page .services-grid { gap: 15px; }
 .services-page .service-card-image { height: 160px; }
 .services-page .service-card-body { padding: 17px; }
 .services-page .consultation-help-card { padding: 24px; }
}
@media(prefers-reduced-motion: reduce) {
 .services-page .svc-hero-carousel .svc-hero-slide { animation: none; opacity: 0; }
 .services-page .svc-hero-carousel .svc-hero-slide:first-child { opacity: 1; }
}
@media(max-width:560px) {
 .services-page section { padding: 52px 0; }
 .services-page .container { padding-inline: 18px; }
 .services-page .svc-hero-grid { gap: 23px; }
 .services-page .svc-hero-copy h1 { font-size: clamp(36px,10vw,46px); letter-spacing: -1.2px; }
 .services-page .svc-hero-copy p { font-size: 16px; }
 .services-page .svc-hero-actions { align-items: stretch; flex-direction: column; max-width: 340px; }
 .services-page .svc-hero-actions .btn { width: 100%; }
 .services-page .patient-needs-list,.services-page .services-grid { grid-template-columns: minmax(0,1fr); }
 .services-page .patient-need-card { min-height: 54px; }
 .services-page .service-card { display: grid; grid-template-columns: 108px minmax(0,1fr); min-height: 156px; }
 .services-page .service-card-image { height: 100%; min-height: 156px; border: 0; border-right: 1px solid #eaf0f4; }
 .services-page .service-card-image img { padding: 7px; }
 .services-page .service-card-body { padding: 14px 14px 13px; }
 .services-page .service-card-title { font-size: 17px; }
 .services-page .service-card-description { font-size: 13px; }
 .services-page .service-learn-more { font-size: 13px; padding-top: 10px; }
 .services-page .consultation-help-card { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 22px; }
 .services-page .consultation-help-actions { grid-column: auto; flex-direction: column; align-items: stretch; }
 .services-page .emergency-strip-inner { align-items: flex-start; flex-direction: column; padding: 18px; }
 .services-page .emergency-actions { width: 100%; }
 .services-page .emergency-actions a { flex: 1; justify-content: center; }
}
@media(max-width:360px) {
 .services-page .container { padding-inline: 14px; }
 .services-page .service-card { grid-template-columns: 88px minmax(0,1fr); }
 .services-page .service-card-body { padding: 12px; }
 .services-page .service-category { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce) {
 .services-page *, .services-page *::before, .services-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
