/* drsmitagupta.com frontend styles */
:root {
  --p50: #fdf9ff; --p100: #faf0ff; --p200: #f0dafd; --p300: #cba8de; --p500: #730c99; --p600: #52026f; --p700: #39024e; --p800: #270037;
  --ink: #1f1a24; --ink-2: #4b4552; --ink-3: #76707d; --line: #e9e2ef; --bg: #fff; --bg-alt: #faf7fc;
  --font: "Mulish", system-ui, sans-serif;
  --r: 20px; --r-sm: 12px; --shadow: 0 10px 30px rgba(57, 2, 78, .08); --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--ink); background: var(--bg); touch-action: manipulation; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--p500); text-underline-offset: 3px; }
h1, h2, h3, .h1 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.mt { margin-top: 2.5rem; }
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow { color: var(--p500); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .6rem; }
.eyebrow.light { color: var(--p200); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--p500); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--p500); outline-offset: 3px; border-radius: 4px; }
.hp { position: absolute; left: -9999px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.6rem; border-radius: 999px; font: 800 .9rem/1 var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--p500); color: #fff; }
.btn-primary:hover { background: var(--p600); }
.btn-outline { border-color: var(--p500); color: var(--p500); background: transparent; }
.btn-outline:hover { background: var(--p100); }
.btn-light { background: #fff; color: var(--p600); }
.btn-light:hover { background: var(--p100); }
.card-purple .btn-light { color: var(--p600); margin-top: .5rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.grid-2, .grid-3, .grid-4 { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.grid-2 > * { flex: 1 1 340px; max-width: calc((100% - 1.5rem) / 2); }
.grid-3 > * { flex: 1 1 280px; max-width: calc((100% - 3rem) / 3); }
.grid-4 > * { flex: 1 1 240px; max-width: calc((100% - 4.5rem) / 4); }
@media (max-width: 1099px) { .grid-4 > * { max-width: calc((100% - 1.5rem) / 2); } }
@media (max-width: 899px) { .grid-3 > * { max-width: calc((100% - 1.5rem) / 2); } }
@media (max-width: 639px) { .grid-2 > *, .grid-3 > *, .grid-4 > * { max-width: 100%; } }
.split { display: grid; gap: 2.5rem; align-items: center; }
.sidebar-layout { display: grid; gap: 2rem; align-items: start; }
.sidebar-layout aside > * + * { margin-top: 1.5rem; }
.split-stretch { align-items: stretch; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .sidebar-layout { grid-template-columns: 1fr 340px; gap: 3rem; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.card-title { font-size: 1.25rem; margin-bottom: 1rem; }
.card > .ic { width: 2rem; height: 2rem; color: var(--p500); margin-bottom: .75rem; }
.card-purple { background: var(--p500); color: #fff; border: 0; }
.card-purple .card-title, .card-purple a { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.topbar { background: var(--p600); color: #fff; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.socials a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; }
.socials a:hover { background: rgba(255,255,255,.15); }
.socials-lg a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); color: #fff; margin-right: .4rem; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand img { width: 200px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 1.5rem; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-header nav a:not(.btn) { display: block; padding: .6rem .8rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; border-radius: 8px; }
.site-header nav a:not(.btn):hover, .site-header nav a[aria-current] { color: var(--p500); background: var(--p100); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 3px; background: var(--p500); border-radius: 3px; transition: transform .25s, opacity .25s; }
@media (max-width: 1023px) {
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .site-header nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: #fff; flex-direction: column; align-items: stretch; padding: 5.5rem 1.5rem 2rem; gap: 1rem; transform: translateX(100%); transition: transform .3s; box-shadow: -10px 0 40px rgba(0,0,0,.15); overscroll-behavior: contain; overflow-y: auto; }
  .site-header nav.is-open { transform: none; }
  .site-header nav ul { flex-direction: column; }
  .site-header nav a:not(.btn) { font-size: 1.05rem; padding: .8rem 1rem; }
  .nav-toggle[aria-expanded="true"] { position: relative; z-index: 2; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}

.hero { position: relative; display: grid; background: var(--p800); overflow: hidden; }
.slide { grid-area: 1 / 1; position: relative; min-height: clamp(420px, 60vw, 640px); opacity: 0; pointer-events: none; transition: opacity .8s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.slide picture { position: absolute; inset: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(39,0,55,.88) 0%, rgba(39,0,55,.62) 45%, rgba(39,0,55,.2) 100%); }
.slide-content { position: relative; color: #fff; padding-block: 4rem; }
.slide-content h1, .slide-content .h1 { color: #fff; margin-bottom: .6rem; max-width: 14ch; }
.slide-content p { font-size: 1.15rem; color: #fff; opacity: .9; max-width: 45ch; margin-bottom: 1.6rem; }
.slide-nav { position: absolute; right: 1.25rem; bottom: 1.25rem; display: flex; gap: .5rem; z-index: 2; }
.slide-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.slide-nav button:hover { background: rgba(255,255,255,.3); }
@media (max-width: 767px) { .slide::before { background: linear-gradient(180deg, rgba(39,0,55,.3), rgba(39,0,55,.85) 70%); } .slide-content { padding-block: 3rem; align-self: flex-end; } }

.features { padding: 2.5rem 0 0; }
.feature { position: relative; overflow: hidden; background: #fff url("/assets/img/pattern-1.png") center / cover no-repeat; border-radius: var(--r); padding: 2.6rem 2.2rem; box-shadow: 0 0 10px rgba(0,0,0,.08); transition: background-color .4s, transform .4s, box-shadow .4s; }
.feature::before, .feature::after { content: ""; position: absolute; width: 200px; height: 200px; right: -100px; top: -100px; border-radius: 50%; background: #fff; transform: scale(0); opacity: 0; transition: transform .6s, opacity .6s; pointer-events: none; }
.feature > * { position: relative; z-index: 1; }
.feature h2 { font-size: 1.45rem; margin-bottom: .8rem; transition: color .3s; }
.feature p { margin: 0; color: var(--ink-2); transition: color .3s; }
.feature-icon { display: block; width: 64px; height: 64px; margin-bottom: 1.25rem; background: #ed459a; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: background-color .3s; }
@media (hover: hover) {
  .feature:hover { background-color: var(--p500); transform: translateY(-14px); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
  .feature:hover::before { transform: scale(1); opacity: .2; transition-delay: .3s; }
  .feature:hover::after { transform: scale(1.7); opacity: .1; transition-delay: .4s; }
  .feature:hover h2, .feature:hover p { color: #fff; }
  .feature:hover .feature-icon { background: #fff; }
}
.feature-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--p100); color: var(--p500); margin-bottom: .9rem; }
.feature-mark.big { width: 80px; height: 80px; margin-bottom: 1.5rem; }
.feature-mark.big .ic { width: 2.2rem; height: 2.2rem; }
@media (min-width: 768px) { .features { margin-top: -8rem; position: relative; z-index: 2; } .slide-nav { bottom: 7.5rem; } .slide-content { padding-bottom: 9rem; } }

.about-intro { padding: clamp(3rem, 6vw, 5rem) 0; }
.about-photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); max-width: 520px; }
.about-photo figcaption { padding: 1rem 1.25rem; background: var(--p50); font-size: .95rem; color: var(--ink-2); }
.about-photo strong { display: block; color: var(--p600); font-size: 1.1rem; }
.prose { font-size: 1.05rem; line-height: 1.75; }
.prose p, .prose li { color: var(--ink-2); }
.section > .wrap > h2, .section > .wrap > h3.mt { margin-bottom: 1.5rem; }
.section > .wrap > h2.center, .services-home h2, .gallery-home h2, .testimonials-home h2 { margin-bottom: 2.25rem; }
.prose h2 { margin-top: 1.5rem; }
.prose .feature-img { border-radius: var(--r); margin-bottom: 1.5rem; }
.prose .btn { margin-top: 1rem; }

.services-home, .gallery-home, .testimonials-home { padding: clamp(3rem, 6vw, 5rem) 0; }
.services-home { background: var(--bg-alt); }
.service-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.service-card a:hover { transform: translateY(-4px); border-color: var(--p300); }
.service-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--p100); margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.more { color: var(--p500); font-weight: 800; font-size: .85rem; display: inline-flex; align-items: center; gap: .3rem; text-transform: uppercase; letter-spacing: .05em; }

.stats { background: var(--p500); color: #fff; padding: 3rem 0; }
.stat { text-align: center; }
.stat-num, .stat-plus { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-plus { color: var(--p300); }
.stat-label { display: block; margin-top: .5rem; color: var(--p200); font-weight: 600; }

.gallery-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.gallery-grid > * { flex: 1 1 180px; max-width: calc((100% - 5rem) / 5); }
@media (max-width: 1099px) { .gallery-grid > * { max-width: calc((100% - 2.5rem) / 3); } }
@media (max-width: 599px) { .gallery-grid { gap: .75rem; } .gallery-grid > * { flex-basis: 140px; max-width: calc((100% - .75rem) / 2); } }
.gallery-item { display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; }
.masonry { display: block; columns: 4; column-gap: 1.25rem; }
.masonry .gallery-item { aspect-ratio: auto; max-width: none; break-inside: avoid; margin-bottom: 1.25rem; }
.masonry .gallery-item img { height: auto; }
@media (max-width: 1099px) { .masonry { columns: 3; } }
@media (max-width: 599px) { .masonry { columns: 2; column-gap: .75rem; } .masonry .gallery-item { margin-bottom: .75rem; } }
.gallery-grid + .center, .grid-4 + .center { margin-top: 2.5rem; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.pill { border: 1px solid var(--line); background: #fff; padding: .5rem 1.1rem; border-radius: 999px; font: 700 .9rem var(--font); cursor: pointer; min-height: 40px; }
.pill.is-active { background: var(--p500); color: #fff; border-color: var(--p500); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(20, 0, 30, .92); }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; margin: auto; border-radius: var(--r-sm); }
.lightbox figcaption { color: #fff; text-align: center; padding: .75rem; min-height: 2.5rem; }
.lightbox button { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox [data-close] { top: 1rem; right: 1rem; }
.lightbox [data-prev] { left: 1rem; top: 50%; }
.lightbox [data-next] { right: 1rem; top: 50%; }

.appt-band { background: linear-gradient(rgba(82, 2, 111, .9), rgba(57, 2, 78, .92)), url("/assets/img/band.webp") center/cover; padding: clamp(3rem, 6vw, 5rem) 0; }
.appt-copy { color: #fff; }
.appt-copy h2 { color: #fff; }
.big-phone { font-size: 1.5rem; font-weight: 800; }
.big-phone a { color: inherit; text-decoration: none; }
.appt-band .card-title { color: var(--p600); }

.testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: .5rem 0 1.5rem; }
.testi-track > :nth-child(n+4) { display: none; }
@media (max-width: 899px) {
  .testi-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(100%, 360px); overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: thin; }
  .testi-track > * { scroll-snap-align: start; }
  .testi-track > :nth-child(n+4) { display: block; }
}
.testimonial { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.testimonial p { padding-right: 2.5rem; flex: 1; }
.testimonial > .ic { position: absolute; top: 1.2rem; right: 1.2rem; width: 2.6rem; height: 2.6rem; color: var(--p500); background: var(--p100); }
.testimonial p { color: var(--ink-2); }
.testimonial footer { display: flex; align-items: center; gap: .9rem; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial cite { font-style: normal; }
.testimonial cite strong { display: block; color: var(--p500); }
.testimonial cite span { color: var(--ink-3); font-size: .9rem; }

.page-hero { background: var(--p50); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-hero h1 { margin-bottom: .4rem; }
.page-hero p { color: var(--ink-2); max-width: 60ch; font-size: 1.1rem; margin: 0; }
.crumb { font-size: .85rem; color: var(--ink-3); display: flex; gap: .5rem; margin-bottom: .75rem; }
.crumb a { color: var(--p500); text-decoration: none; }
.cta-strip { background: var(--p500); color: #fff; padding: 3rem 0; }
.cta-strip .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-strip h2 { color: #fff; margin: 0; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: .6rem; padding: .45rem 0; color: var(--ink-2); }
.ticks .ic { color: var(--p500); margin-top: .2rem; }
.affil { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; position: relative; }
.affil h3 { font-size: 1.05rem; margin: .5rem 0 .3rem; }
.affil p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.tag { display: inline-block; background: var(--p100); color: var(--p600); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 999px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--p200); }
.timeline li { padding: .6rem 0 .6rem 1.5rem; position: relative; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 1.1rem; width: 12px; height: 12px; border-radius: 50%; background: var(--p500); }
.timeline span { display: block; font-size: .85rem; color: var(--ink-3); }
.award { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--shadow); }
.award img { border-radius: var(--r-sm); margin-bottom: 1rem; }
.award-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--p100); color: var(--p500); margin-bottom: 1rem; }
.award-mark .ic { width: 1.6rem; height: 1.6rem; }
.award h2 { font-size: 1.15rem; }
.award .meta { color: var(--p500); font-weight: 700; font-size: .9rem; }
.award p { color: var(--ink-2); margin: 0; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: block; padding: .7rem 0; text-decoration: none; font-weight: 700; color: var(--ink); }
.side-links a:hover { color: var(--p500); }
.faq { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-bottom: .75rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq p { padding: 0 1.25rem 1rem; margin: 0; color: var(--ink-2); }
.map { border-radius: var(--r); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-sm { min-height: 260px; margin-top: 1.5rem; }
.map-sm iframe { min-height: 260px; }
.appt-band .split { align-items: stretch; }
.appt-band .appt-copy { display: flex; flex-direction: column; justify-content: center; }
.appt-band .appt-copy .map-sm { flex: 1; }

.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
label span { font-weight: 400; color: var(--ink-3); }
input:not([type=checkbox]), select, textarea { width: 100%; font: 400 16px var(--font); padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--p500); outline: 3px solid var(--p200); outline-offset: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #c0392b; }
textarea { resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-2); margin: 1rem 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--p500); }
.consent-notice { font-size: .85rem; color: var(--ink-3); margin: .5rem 0 0; }
.form-msg { margin: .75rem 0 0; font-weight: 700; font-size: .95rem; }
.form-msg.ok { color: #1e7e34; }
.form-msg.err { color: #c0392b; }
.appt-band .card .btn { width: 100%; }
.appt-band .card { padding: 1.6rem 1.7rem; }
.appt-band .card-title { font-size: 1.15rem; margin-bottom: .75rem; }
.appt-band .field { margin-bottom: .65rem; }
.appt-band .field-row { gap: .75rem; }
.appt-band label { font-size: .82rem; margin-bottom: .2rem; }
.appt-band input:not([type=checkbox]), .appt-band select, .appt-band textarea { min-height: 42px; padding: .55rem .8rem; font-size: 15px; }
.appt-band textarea { min-height: 64px; }
.appt-band .consent-notice { font-size: .78rem; margin-top: .25rem; }
.appt-band .check { font-size: .82rem; margin: .6rem 0 .8rem; }
.appt-band .card .btn { min-height: 44px; }
.appt-band .recaptcha-notice { font-size: .72rem; }
@media (min-width: 900px) { .appt-band .split { grid-template-columns: 1.15fr .85fr; } }

.site-footer { background: var(--p700); color: var(--p200); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); padding-bottom: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1.3fr 1.2fr; } }
.footer-grid img { margin-bottom: 1rem; }
.footer-title { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; padding-bottom: .5rem; position: relative; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--p300); }
.footer-links, .contact-list { list-style: none; padding: 0; margin: 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.footer-links li { padding: .3rem 0; }
.footer-links a, .contact-list a { color: var(--p200); text-decoration: none; }
.footer-links a:hover, .contact-list a:hover { color: #fff; }
.contact-list li { display: flex; gap: .75rem; padding: .45rem 0; }
.contact-list .ic { color: var(--p300); margin-top: .2rem; }
.footer-bottom { background: var(--p800); padding: 1rem 0; font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

.whatsapp { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 40; }
.whatsapp .ic { width: 1.8rem; height: 1.8rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Tint rotation across repeated card sets */
:root { --t1: #faf0ff; --t2: #fdeef6; --t3: #eaf2fc; --t4: #fff4e6; --t1-ink: #52026f; --t2-ink: #8a1a5a; --t3-ink: #1f4f8a; --t4-ink: #8a4b00; }
.tint-set > :nth-child(4n+1) .service-icon, .tint-set > :nth-child(4n+1) .award-mark, .tint-set > :nth-child(4n+1) > .ic, .tint-set > :nth-child(4n+1).affil .tag, .tint-set > :nth-child(4n+1) .testimonial > .ic { background: var(--t1); color: var(--t1-ink); }
.tint-set > :nth-child(4n+2) .service-icon, .tint-set > :nth-child(4n+2) .award-mark, .tint-set > :nth-child(4n+2) > .ic, .tint-set > :nth-child(4n+2).affil .tag, .tint-set > :nth-child(4n+2) .testimonial > .ic { background: var(--t2); color: var(--t2-ink); }
.tint-set > :nth-child(4n+3) .service-icon, .tint-set > :nth-child(4n+3) .award-mark, .tint-set > :nth-child(4n+3) > .ic, .tint-set > :nth-child(4n+3).affil .tag, .tint-set > :nth-child(4n+3) .testimonial > .ic { background: var(--t3); color: var(--t3-ink); }
.tint-set > :nth-child(4n+4) .service-icon, .tint-set > :nth-child(4n+4) .award-mark, .tint-set > :nth-child(4n+4) > .ic, .tint-set > :nth-child(4n+4).affil .tag, .tint-set > :nth-child(4n+4) .testimonial > .ic { background: var(--t4); color: var(--t4-ink); }
.tint-set > :nth-child(4n+1).card, .tint-set > :nth-child(4n+1).affil, .tint-set > :nth-child(4n+1).award { border-top: 4px solid var(--t1-ink); }
.tint-set > :nth-child(4n+2).card, .tint-set > :nth-child(4n+2).affil, .tint-set > :nth-child(4n+2).award { border-top: 4px solid var(--t2-ink); }
.tint-set > :nth-child(4n+3).card, .tint-set > :nth-child(4n+3).affil, .tint-set > :nth-child(4n+3).award { border-top: 4px solid var(--t3-ink); }
.tint-set > :nth-child(4n+4).card, .tint-set > :nth-child(4n+4).affil, .tint-set > :nth-child(4n+4).award { border-top: 4px solid var(--t4-ink); }
.tint-set > .card > .ic { width: 3rem; height: 3rem; padding: .7rem; border-radius: 50%; }
.testimonial > .ic { padding: .4rem; border-radius: 50%; }
.grid-4.tint-set .service-card:nth-child(4n+1) a:hover { border-color: var(--t1-ink); }
.grid-4.tint-set .service-card:nth-child(4n+2) a:hover { border-color: var(--t2-ink); }
.grid-4.tint-set .service-card:nth-child(4n+3) a:hover { border-color: var(--t3-ink); }
.grid-4.tint-set .service-card:nth-child(4n+4) a:hover { border-color: var(--t4-ink); }
.services-home .grid-4 > :nth-child(4n+1) .service-icon { background: var(--t1); }
.services-home .grid-4 > :nth-child(4n+2) .service-icon { background: var(--t2); }
.services-home .grid-4 > :nth-child(4n+3) .service-icon { background: var(--t3); }
.services-home .grid-4 > :nth-child(4n+4) .service-icon { background: var(--t4); }
.pill { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; }

/* Treatment by concern */
.concerns { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--bg-alt); }
.concerns h2 { margin-bottom: .5rem; }
.concerns .lede { color: var(--ink-2); max-width: 62ch; margin: 0 auto 2rem; }
.concern-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.concern-tabs .pill { min-height: 46px; padding: .6rem 1.4rem; font-size: .95rem; }
.concern-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.concern-grid[hidden] { display: none; }
.concern { flex: 1 1 180px; max-width: calc((100% - 5rem) / 5); }
@media (max-width: 1099px) { .concern { max-width: calc((100% - 2.5rem) / 3); } }
@media (max-width: 599px) { .concern-grid { gap: .8rem; } .concern { flex-basis: 140px; max-width: calc((100% - .8rem) / 2); padding: 1.2rem .8rem; font-size: .9rem; } .concern img { width: 60px; height: 60px; } }
.concern { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; padding: 1.6rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 800; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.concern:hover { transform: translateY(-4px); }
.concern img { width: 72px; height: 72px; border-radius: 50%; padding: .8rem; background: var(--p100); }
.concern span { line-height: 1.3; }
.tint-set > :nth-child(4n+1).concern img { background: var(--t1); }
.tint-set > :nth-child(4n+2).concern img { background: var(--t2); }
.tint-set > :nth-child(4n+3).concern img { background: var(--t3); }
.tint-set > :nth-child(4n+4).concern img { background: var(--t4); }
.tint-set > :nth-child(4n+1).concern:hover { border-color: var(--t1-ink); }
.tint-set > :nth-child(4n+2).concern:hover { border-color: var(--t2-ink); }
.tint-set > :nth-child(4n+3).concern:hover { border-color: var(--t3-ink); }
.tint-set > :nth-child(4n+4).concern:hover { border-color: var(--t4-ink); }

/* Service page enquiry form and reCAPTCHA notice */
.service-enquiry { margin-top: 2.5rem; }
.service-enquiry .card-title { margin-bottom: .25rem; }
.service-enquiry > p { color: var(--ink-2); margin-bottom: 1.25rem; }
.recaptcha-notice { font-size: .78rem; color: var(--ink-3); margin: .75rem 0 0; }
.recaptcha-notice a { color: var(--ink-3); }
.grecaptcha-badge { visibility: hidden; }
