/* Clinic Health — template styles. Original work. */
:root {
	--navy: #13306b;
	--navy-2: #0c2251;
	--teal: #19b5a5;
	--teal-d: #0f8f82;
	--sky: #eaf6f8;
	--bg: #f4f8fc;
	--ink: #23304a;
	--muted: #66748b;
	--line: #dfe7f1;
	--white: #fff;
	--beauty: #e0609a;
	--plastic: #8a63d2;
	--medical: #2f7de1;
	--dental: #19b5a5;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(19, 48, 107, .08);
	--shadow-lg: 0 24px 60px rgba(19, 48, 107, .16);
	--font: 'Kanit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 300 16px/1.7 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-d); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; color: var(--navy); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.4em; border-radius: 999px; font: 500 1rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(25, 181, 165, .3); }
.btn-primary:hover { background: var(--teal-d); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-d); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--teal-d); }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-block { width: 100%; margin-top: .6em; }

/* Topbar */
.topbar { background: var(--navy-2); color: #c8d4ea; font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar-note { margin: 0; display: flex; align-items: center; gap: .5em; }
.topbar-note .ico { color: var(--teal); }
.topbar-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--teal); }
/* language switcher (mod_languages) */
.topbar-lang .mod-languages ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.topbar-lang .mod-languages li a, .topbar-lang .mod-languages li span { display: block; padding: 2px 10px; border-radius: 999px; font-weight: 500; }
.topbar-lang div.mod-languages ul li, .topbar-lang div.mod-languages ul li.lang-active { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.topbar-lang div.mod-languages ul li a { border: 0; outline-offset: 2px; }
.topbar-lang div.mod-languages ul li.lang-active a { background: var(--teal); color: #fff; }
.topbar-lang .mod-languages img { display: none; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 16px rgba(19, 48, 107, .07); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; font-weight: 600; font-size: 1.35rem; line-height: 1.1; }
.brand-text small { font-weight: 300; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.brand.light, .brand.light .brand-text { color: #fff; }
.brand.light small { color: #a9b8d6; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 400; color: var(--ink); }
.site-nav a:hover, .site-nav .current > a, .site-nav .active > a { color: var(--teal-d); background: var(--sky); }
.site-nav ul ul { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; padding: 70px 0 150px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background:
	radial-gradient(circle at 85% 20%, rgba(25, 181, 165, .35), transparent 40%),
	radial-gradient(circle at 10% 90%, rgba(47, 125, 225, .35), transparent 45%),
	linear-gradient(135deg, var(--navy-2), var(--navy) 60%, #1b4a8f); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .08;
	background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 22px 22px; }
/* Hero background slideshow: 4 original illustrations, CSS-only crossfade (24s loop) */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides span { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.03); transition: opacity 1.4s ease, transform 7s linear; }
.hero-slides span.is-on { opacity: 1; transform: scale(1.1); }
/* Fallback for page HTML cached by the host before the photo slideshow (spans without inline images) */
.hero-slides span:not([style]):nth-child(1) { background-image: url(/images/slide/slide-01.webp); }
.hero-slides span:not([style]):nth-child(2) { background-image: url(/images/slide/slide-02.webp); }
.hero-slides span:not([style]):nth-child(3) { background-image: url(/images/slide/slide-03.webp); }
.hero-slides span:not([style]):nth-child(4) { background-image: url(/images/slide/slide-04.webp); }
.hero-slides:not(:has(.is-on)) span:first-child { opacity: 1; }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(10, 28, 69, .46) 0%, rgba(10, 28, 69, .39) 45%, rgba(10, 28, 69, .22) 100%); }
.hero-bg::after { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-slides span { transition: none; transform: none; } }
@media (max-width: 1080px) { .hero-bg::before { background: rgba(10, 28, 69, .39); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 500; color: var(--teal); margin-bottom: .6em; }
.hero-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: .35em; }
.hero-text { color: #d3def2; font-size: 1.12rem; max-width: 36em; }
.hero-stats { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 36px; }
.hero-stats strong { display: block; font-size: 1.9rem; color: #fff; line-height: 1.1; }
.hero-stats span { color: #a9b8d6; font-size: .9rem; }
.hero-art { position: relative; height: 380px; }
.ha-card { position: absolute; background: #fff; color: var(--navy); border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 500; }
.ha-main { inset: 50px 30px auto 40px; height: 210px; flex-direction: column; justify-content: center; }
.ha-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--sky); color: var(--teal); display: grid; place-items: center; }
.ha-icon .ico { width: 46px; height: 46px; }
.ha-lines { display: grid; gap: 8px; width: 70%; }
.ha-lines i { display: block; height: 9px; border-radius: 9px; background: var(--line); }
.ha-lines i:first-child { background: var(--teal); width: 60%; }
.ha-rating { right: 0; top: 10px; }
.ha-rating span { font-size: 1.2rem; }
.ha-pin { left: 0; bottom: 60px; }
.ha-pin .ico { color: var(--teal); width: 24px; height: 24px; }
.ha-ring { position: absolute; border: 2px dashed rgba(255, 255, 255, .25); border-radius: 50%; }
.ha-ring.r1 { width: 360px; height: 360px; right: -40px; top: 0; z-index: -1; }
.ha-ring.r2 { width: 220px; height: 220px; right: 40px; top: 80px; z-index: -1; }
.stars { display: inline-flex; gap: 1px; vertical-align: -.1em; }
.star { width: 1em; height: 1em; fill: #d6dde8; }
.star.on { fill: #f6b01e; }

/* Finder form */
.clinic-finder { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 8px; background: #fff; padding: 8px; border-radius: 18px; box-shadow: var(--shadow-lg); margin-top: 26px; }
.cf-field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border-radius: 12px; background: var(--bg); min-width: 0; }
.cf-field label { font-size: .74rem; font-weight: 500; color: var(--muted); }
.cf-field input, .cf-field select { border: 0; background: transparent; font: 400 1rem var(--font); color: var(--ink); padding: 2px 0; width: 100%; outline: none; }
.cf-q { padding-left: 40px; }
.cf-q > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--teal); }
.cf-submit { border-radius: 12px; padding-inline: 1.6em; }
.cf-inline { margin: 0 0 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Type band (overlapping cards) */
.type-band { margin-top: -95px; position: relative; z-index: 2; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.type-card { --c: var(--teal); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px 24px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--c); transition: transform .25s, box-shadow .25s; }
.type-card:hover { transform: translateY(-6px); color: var(--ink); }
.type-beauty { --c: var(--beauty); } .type-plastic { --c: var(--plastic); } .type-medical { --c: var(--medical); } .type-dental { --c: var(--dental); }
.type-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.type-icon .ico { width: 32px; height: 32px; }
.type-name { font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.type-desc { font-size: .92rem; color: var(--muted); flex: 1; }
.type-count { font-weight: 500; color: var(--c); display: flex; align-items: center; gap: 6px; }
/* Plastic surgery card: solid green (#21cdc0), dark text for contrast */
.type-card.type-plastic { --c: #21cdc0; background: #21cdc0; border-top-color: #21cdc0; }
.type-card.type-plastic .type-icon { background: #fff; color: #0f8a80; }
.type-card.type-plastic .type-name, .type-card.type-plastic .type-count { color: var(--navy); }
.type-card.type-plastic .type-desc { color: #0b2f2c; }
/* Medical card: solid blue (#435ba1), light text for contrast */
.type-card.type-medical { --c: #435ba1; background: #435ba1; border-top-color: #435ba1; }
.type-card.type-medical .type-icon { background: #fff; color: #435ba1; }
.type-card.type-medical .type-name, .type-card.type-medical .type-count, .type-card.type-medical:hover { color: #fff; }
.type-card.type-medical .type-desc { color: rgba(255,255,255,.85); }
/* Dental card: solid navy (#0e204d), light text */
.type-card.type-dental { --c: #0e204d; background: #0e204d; border-top-color: #0e204d; }
.type-card.type-dental .type-icon { background: #fff; color: #0e204d; }
.type-card.type-dental .type-name, .type-card.type-dental .type-count, .type-card.type-dental:hover { color: #fff; }
.type-card.type-dental .type-desc { color: rgba(255,255,255,.8); }
/* Type cards joined edge to edge: square corners, no gaps, one shared shadow */
.type-grid { gap: 0; box-shadow: var(--shadow-lg); }
.type-grid .type-card { border-radius: 0; box-shadow: none; }

/* Section headings */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head.left { text-align: left; margin: 0; }
.section-head p:last-child { color: var(--muted); }
.display { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head.light .display { color: #fff; }

/* Main */
.site-main { padding: 56px 0 64px; }
.is-home .site-main { padding-top: 72px; }
.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }

/* Page band (inner) + breadcrumbs */
.page-band { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; padding: 22px 0; }
.page-band .mod-breadcrumbs, .page-band ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .92rem; }
.page-band li { display: flex; align-items: center; gap: 6px; color: #a9b8d6; }
.page-band li + li::before { content: "›"; color: var(--teal); }
.page-band a { color: #fff; text-decoration: none; }
.page-band a:hover { color: var(--teal); }
.page-band .divider, .page-band .icon-location { display: none; }

/* Directory (category) */
.dir-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.dir-head h1 { margin: 0; }
.dir-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; flex: none; }
.dir-icon .ico { width: 34px; height: 34px; }
.dir-count { margin: 4px 0 0; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.badge-beauty { --c: var(--beauty); } .badge-plastic { --c: var(--plastic); } .badge-medical { --c: var(--medical); } .badge-dental { --c: var(--dental); }
.dir-icon, .badge { color: var(--c, var(--teal)); background: color-mix(in srgb, var(--c, var(--teal)) 12%, #fff); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 24px; }
.chips-label { font-weight: 500; color: var(--muted); margin-right: 4px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; font-size: .93rem; }
.chip span { background: var(--bg); border-radius: 999px; padding: 0 8px; font-size: .8rem; color: var(--muted); }
.chip:hover, .chip.is-current { border-color: var(--teal); color: var(--teal-d); }
.chip.is-current { background: var(--sky); }
.dir-intro { background: var(--bg); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 30px; border-left: 4px solid var(--teal); }
.dir-intro p:last-child { margin: 0; }
.dir-empty { color: var(--muted); }

/* Clinic cards */
.clinic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.clinic-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.clinic-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cc-img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; }
.cc-img.is-ph img { object-fit: cover; }
.cc-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--c); font-size: .8rem; font-weight: 500; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.cc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cc-title { font-size: 1.08rem; margin-bottom: 6px; }
.cc-title a { text-decoration: none; color: var(--navy); }
.cc-title a:hover { color: var(--teal-d); }
.cc-rating { margin: 0 0 4px; font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.cc-rating span { color: var(--muted); }
.cc-meta { margin: 0 0 4px; color: var(--teal-d); font-size: .9rem; font-weight: 400; }
.cc-addr { color: var(--muted); font-size: .88rem; flex: 1; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* Featured on home */
.featured-clinics .clinic-grid { margin-bottom: 8px; }

/* Areas */
.area-band { background: var(--bg); padding: 72px 0; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.area-card { background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.area-card h3 { font-size: 1.05rem; display: flex; gap: 6px; align-items: center; }
.area-card h3 .ico { color: var(--teal); }
.area-card ul { list-style: none; margin: 0; padding: 0; }
.area-card a { display: flex; justify-content: space-between; padding: 5px 0; text-decoration: none; color: var(--ink); border-bottom: 1px dashed var(--line); font-size: .93rem; }
.area-card li:last-child a { border: 0; }
.area-card a span { color: var(--muted); }
.area-card a:hover { color: var(--teal-d); }

/* Steps */
.steps-band { background: linear-gradient(135deg, var(--navy), #1b4a8f); color: #d3def2; padding: 72px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; position: relative; counter-increment: s; }
.steps li::after { content: "0" counter(s); position: absolute; right: 22px; top: 16px; font-size: 2.4rem; font-weight: 600; color: rgba(255,255,255,.12); }
.steps h3 { color: #fff; font-size: 1.15rem; }
.step-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.step-icon .ico { width: 26px; height: 26px; }

/* FAQ */
.faq-band { padding: 72px 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; background: #fff; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 500; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--sky); color: var(--teal-d); display: grid; place-items: center; font-weight: 600; }
.faq details[open] summary::after { content: "–"; background: var(--teal); color: #fff; }
.faq details p { color: var(--muted); }
.dir-faq, .clinic-faq { margin-top: 48px; }
.dir-faq h2, .clinic-faq h2 { font-size: 1.4rem; }

/* Clinic page */
.clinic-head { margin-bottom: 26px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; font-weight: 500; text-decoration: none; font-size: .9rem; margin-bottom: 12px; }
.clinic-alt { color: var(--muted); margin: -4px 0 6px; }
.clinic-rating { display: flex; align-items: center; gap: 8px; margin: 0; }
.clinic-rating span { color: var(--muted); }
.clinic-grid-2 { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.clinic-photo { margin: 0 0 30px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sky); }
.clinic-photo img { width: 100%; height: 100%; object-fit: cover; }
.clinic-about h2, .clinic-map h2 { font-size: 1.35rem; }
.clinic-map { margin-top: 36px; }
.map-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--sky) linear-gradient(45deg, transparent 48%, rgba(25,181,165,.15) 50%, transparent 52%) 0 0 / 28px 28px; display: grid; place-items: center; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.clinic-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.info-card, .related { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 26px; }
.info-card h2, .related h2 { font-size: 1.15rem; }
.info-card ul { list-style: none; margin: 0 0 10px; padding: 0; }
.info-card li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-card li > .ico { color: var(--teal); width: 22px; height: 22px; margin-top: 4px; }
.info-card li small { display: block; color: var(--muted); font-size: .8rem; }
.info-card li a, .info-card li span { word-break: break-word; }
.info-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; display: flex; gap: 6px; }
.related ul { list-style: none; padding: 0; margin: 0 0 10px; }
.related li a { display: block; padding: 8px 0; border-bottom: 1px dashed var(--line); text-decoration: none; }
.related-all { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; text-decoration: none; color: var(--teal-d); }
.data-note { margin-top: 36px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* Smart Search results */
.com-finder { max-width: 900px; margin-inline: auto; }
.com-finder__form, #search-form { background: var(--bg); padding: 20px; border-radius: var(--radius); margin-bottom: 24px; }
.com-finder input[type="text"], .com-finder input[type="search"], .com-finder select { font: 400 1rem var(--font); padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; width: 100%; background: #fff; }
.com-finder .btn, .com-finder button { font-family: var(--font); }
.com-finder .input-group { display: flex; gap: 8px; }
.com-finder__results-list, .search-results { list-style: none; padding: 0; }
.result__item, .com-finder__results-list > li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
.result__title { font-size: 1.1rem; margin: 0 0 4px; }
.result__title a { text-decoration: none; }
.result__description { color: var(--muted); margin: 0; }
.result__taxonomy { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; font-size: .8rem; color: var(--muted); }
.result__url, .result__date { font-size: .8rem; color: var(--muted); }
.awesomplete > ul { background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); }

/* Pagination */
.pagination-wrap { margin-top: 32px; display: flex; justify-content: center; }
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination .page-link { display: block; min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.pagination .active .page-link { background: var(--teal); border-color: var(--teal); color: #fff; }

/* CTA + footer */
.cta-band { background: var(--teal); color: #fff; padding: 40px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta-inner h2 { color: #fff; margin-bottom: .2em; }
.cta-inner p { margin: 0; color: #e6fbf8; }
.site-footer { background: var(--navy-2); color: #a9b8d6; padding: 60px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #d3def2; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-about p { margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 640px; }

/* Messages */
joomla-alert, .alert { display: block; padding: 14px 18px; border-radius: 12px; background: var(--sky); margin-bottom: 20px; }

/* Responsive */
@media (max-width: 1080px) {
	.type-grid { grid-template-columns: repeat(2, 1fr); }
	.clinic-grid { grid-template-columns: repeat(2, 1fr); }
	.clinic-grid-2 { grid-template-columns: 1fr; }
	.clinic-side { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-art { display: none; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-lg); display: none; padding: 10px 20px 20px; }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; }
	.clinic-finder { grid-template-columns: 1fr 1fr; }
	.cf-q, .cf-submit { grid-column: 1 / -1; }
	.steps, .faq-grid { grid-template-columns: 1fr; }
	.with-sidebar { grid-template-columns: 1fr; }
	.topbar-note { display: none; }
	.topbar-inner { justify-content: flex-end; }
}
@media (max-width: 600px) {
	.type-grid, .clinic-grid, .footer-grid { grid-template-columns: 1fr; }
	.clinic-finder { grid-template-columns: 1fr; }
	.hero { padding: 48px 0 130px; }
	.hero-stats { gap: 22px; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Hero promo slideshow */
.hero-promo { position: relative; }
.promo-slider { position: relative; min-height: 400px; }
.promo-slide { position: absolute; inset: 0; background: #fff; color: var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg);
	padding: 30px 30px 26px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .6s ease, transform .6s ease, visibility .6s; display: flex; flex-direction: column; }
.promo-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.promo-slide::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(25,181,165,.18), rgba(25,181,165,0) 70%); }
.ps-tag { display: inline-flex; align-self: flex-start; gap: 6px; align-items: center; background: var(--sky); color: var(--teal-d);
	border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 500; margin-bottom: 12px; }
.promo-slide h2 { font-size: 1.55rem; margin-bottom: .3em; max-width: 72%; }
.promo-slide p { color: var(--muted); max-width: 70%; margin-bottom: .6em; }
.ps-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 72%; }
.ps-list li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .82rem; color: var(--navy); }
.ps-hours { list-style: none; padding: 0; margin: 0 0 12px; max-width: 70%; }
.ps-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.ps-hours strong { color: var(--navy); }
.ps-cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.ps-art { position: absolute; right: 18px; bottom: 70px; width: 34%; max-width: 170px; height: auto; pointer-events: none; }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05a647; color: #fff; }
.btn-line .ico { width: 1.25em; height: 1.25em; }
.promo-nav { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
.promo-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.promo-dot.is-active { width: 28px; border-radius: 6px; background: var(--teal); }
.promo-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff;
	font-size: 1.3rem; line-height: 1; cursor: pointer; }
.promo-arrow:hover { background: rgba(255,255,255,.12); }
.hours-row { display: block; }
@media (max-width: 1080px) { .hero-promo { margin-top: 28px; } }
@media (max-width: 600px) {
	.promo-slider { min-height: 440px; }
	.promo-slide { padding: 24px 20px 20px; }
	.promo-slide h2, .promo-slide p, .ps-list, .ps-hours { max-width: 100%; }
	.ps-art { width: 90px; right: 12px; top: 14px; bottom: auto; opacity: .9; }
	.promo-slide h2 { padding-right: 90px; }
}

/* Lighter hero overlay: soft shadow keeps hero text readable over photos */
.hero-copy .eyebrow, .hero-title, .hero-text, .hero-stats strong, .hero-stats span { text-shadow: 0 1px 3px rgba(5, 15, 40, .75), 0 0 18px rgba(5, 15, 40, .45); }
.hero-copy .eyebrow { color: #5ff0e2; }
.hero-text { color: #eef3fb; }
.hero-stats span { color: #dbe4f3; }
