/* ==========================================================================
   Srividya's Gynaec & Maternity Care — child theme design system.
   Built on the BrandaDoc parent theme (reset, grid, form/AJAX plumbing).
   Palette and type are drawn from the practice's own mark: a deep
   teal-ink line drawing of a mother and child with a blush tulip accent.
   ========================================================================== */

:root {
	/* -- Color: ink & primary (from the logo linework) -- */
	--h3-ink:          #16333F;
	--h3-ink-soft:     #3F5C66;
	--h3-primary:      #1C5D71;
	--h3-primary-dark: #0F3F4D;
	--h3-primary-tint: #E9F2F1;

	/* -- Color: blush (from the logo tulip) -- */
	--h3-blush:        #E28AA5;
	--h3-blush-dark:   #C96786;
	--h3-blush-tint:   #FCEEF1;
	--h3-blush-pale:   #FDF5F3;

	/* -- Color: warm neutrals -- */
	--h3-cream:        #FBF6EF;
	--h3-cream-deep:   #F5EBDF;
	--h3-white:        #FFFFFF;
	--h3-line:         #E8DED2;
	--h3-gold:         #BC9A5C;

	/* -- Type -- */
	--h3-font-display: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
	--h3-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* -- Radius / shadow / motion -- */
	--h3-radius-sm:    12px;
	--h3-radius-md:    20px;
	--h3-radius-lg:    32px;
	--h3-radius-pill:  999px;
	--h3-shadow-sm:    0 2px 14px rgba(22, 51, 63, 0.07);
	--h3-shadow-md:    0 16px 40px rgba(22, 51, 63, 0.12);
	--h3-shadow-lg:    0 30px 70px rgba(22, 51, 63, 0.16);
	--h3-ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; }

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; }

body {
	font-family: var(--h3-font-body);
	color: var(--h3-ink);
	background: var(--h3-cream);
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.site-wrapper { overflow: hidden; background: var(--h3-cream); }

.container {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 28px;
}

h1, h2, h3, h4, .h3-font-display {
	font-family: var(--h3-font-display);
	color: var(--h3-ink);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 560; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

em, i.h3-italic { font-style: italic; }

a { color: var(--h3-primary); text-decoration: none; transition: color 0.2s var(--h3-ease); }
a:hover { color: var(--h3-blush-dark); }

img { max-width: 100%; display: block; }

::selection { background: var(--h3-blush-tint); color: var(--h3-primary-dark); }

.h3-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--h3-font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--h3-blush-dark);
	margin-bottom: 14px;
}
.h3-eyebrow::before {
	content: "";
	width: 26px;
	height: 1.5px;
	background: var(--h3-blush-dark);
	display: inline-block;
}

.h3-section { padding: 96px 0; position: relative; }
.h3-section-tint { background: var(--h3-primary-tint); }
.h3-section-blush { background: var(--h3-blush-pale); }

.h3-section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.h3-section-head.h3-align-left { margin-left: 0; text-align: left; }
.h3-section-lead { color: var(--h3-ink-soft); font-size: 1.08rem; margin-top: 14px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.h3-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px 30px;
	border-radius: var(--h3-radius-pill);
	font-family: var(--h3-font-body);
	font-weight: 600;
	font-size: 0.96rem;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: all 0.25s var(--h3-ease);
	white-space: nowrap;
}
.h3-btn-primary { background: var(--h3-primary); color: var(--h3-white); box-shadow: var(--h3-shadow-sm); }
.h3-btn-primary:hover { background: var(--h3-primary-dark); color: var(--h3-white); transform: translateY(-2px); box-shadow: var(--h3-shadow-md); }
.h3-btn-blush { background: var(--h3-blush); color: var(--h3-white); box-shadow: var(--h3-shadow-sm); }
.h3-btn-blush:hover { background: var(--h3-blush-dark); color: var(--h3-white); transform: translateY(-2px); box-shadow: var(--h3-shadow-md); }
.h3-btn-outline { background: transparent; border-color: var(--h3-primary); color: var(--h3-primary); }
.h3-btn-outline:hover { background: var(--h3-primary); color: var(--h3-white); }
.h3-btn-ghost { background: var(--h3-white); color: var(--h3-primary); box-shadow: var(--h3-shadow-sm); }
.h3-btn-ghost:hover { background: var(--h3-primary); color: var(--h3-white); }
.h3-btn-lg { padding: 18px 36px; font-size: 1.02rem; }
.h3-btn-sm { padding: 11px 22px; font-size: 0.88rem; }
.h3-btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.h3-topbar {
	background: var(--h3-primary-dark);
	color: rgba(255,255,255,0.88);
	font-size: 0.83rem;
}
.h3-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 9px 28px; gap: 20px; flex-wrap: wrap; }
.h3-topbar-info { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.h3-topbar-link { color: rgba(255,255,255,0.88); display: inline-flex; align-items: center; gap: 7px; }
.h3-topbar-link:hover { color: var(--h3-blush); }
.h3-topbar-tagline { font-style: italic; font-family: var(--h3-font-display); color: rgba(255,255,255,0.75); font-size: 0.86rem; }

.h3-header {
	background: rgba(251, 246, 239, 0.92);
	backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 200;
	border-bottom: 1px solid var(--h3-line);
}
.h3-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; gap: 24px; }

.h3-logo-link { display: flex; align-items: center; gap: 12px; }
.h3-logo-mark { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.h3-logo-link .custom-logo-link { display: block; line-height: 0; }
.h3-logo-link .custom-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.h3-logo-wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.h3-logo-wordmark-main { font-family: var(--h3-font-display); font-weight: 600; font-size: 1.28rem; color: var(--h3-primary-dark); }
.h3-logo-wordmark-sub { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--h3-ink-soft); font-weight: 600; }

.h3-nav ul { list-style: none; display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; }
.h3-nav a {
	color: var(--h3-ink);
	font-weight: 600;
	font-size: 0.95rem;
	position: relative;
	padding: 6px 0;
}
.h3-nav a::after {
	content: "";
	position: absolute; left: 0; bottom: -2px;
	width: 0; height: 2px;
	background: var(--h3-blush);
	transition: width 0.25s var(--h3-ease);
}
.h3-nav a:hover { color: var(--h3-primary); }
.h3-nav a:hover::after { width: 100%; }

.h3-header-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--h3-ink); border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.h3-hero {
	position: relative;
	padding: 84px 0 108px;
	overflow: hidden;
	background: var(--h3-cream);
}

/* Brand watermark - the practice's own mother-and-child mark, traced large
   and faint, rather than a generic decorative blob. Signature, not filler. */
.h3-hero-mark {
	position: absolute;
	top: -6%;
	right: -9%;
	width: 46%;
	max-width: 620px;
	opacity: 0.05;
	z-index: 0;
	pointer-events: none;
}

.h3-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 0.92fr;
	gap: 80px;
	align-items: center;
}

.h3-hero-copy .h3-eyebrow { color: var(--h3-blush-dark); }
.h3-hero-copy h1 { margin-bottom: 24px; }
.h3-hero-copy h1 em { color: var(--h3-primary); font-style: italic; }
.h3-hero-lead { font-size: 1.14rem; color: var(--h3-ink-soft); max-width: 520px; margin-bottom: 30px; }

/* A single refined credential line rather than a row of pill badges. */
.h3-hero-signature {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 14px;
	row-gap: 6px;
	padding-top: 22px;
	margin-bottom: 32px;
	border-top: 1px solid var(--h3-line);
	max-width: 540px;
}
.h3-hero-signature span {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--h3-ink-soft);
	white-space: nowrap;
}
.h3-hero-signature span:first-child { color: var(--h3-primary-dark); font-weight: 700; }
.h3-hero-signature span:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 3px; height: 3px;
	margin-left: 14px;
	border-radius: 50%;
	background: var(--h3-blush);
	vertical-align: middle;
}

.h3-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.h3-hero-media { position: relative; }
.h3-hero-frame {
	position: relative;
	border-radius: 8px 96px 8px 96px;
	overflow: hidden;
	box-shadow: var(--h3-shadow-lg);
	aspect-ratio: 4 / 4.7;
}
.h3-hero-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.94) contrast(1.02); }

.h3-hero-caption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding: 0 4px;
}
.h3-hero-caption-place {
	font-family: var(--h3-font-display);
	font-style: italic;
	font-size: 0.92rem;
	color: var(--h3-ink-soft);
}
.h3-hero-caption-stat {
	flex-shrink: 0;
	text-align: right;
}
.h3-hero-caption-stat strong {
	font-family: var(--h3-font-display);
	font-size: 1.6rem;
	color: var(--h3-primary);
	font-weight: 600;
	line-height: 1;
}
.h3-hero-caption-stat span {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: var(--h3-ink-soft);
	margin-top: 3px;
}

/* ==========================================================================
   Trust strip - an index line, not a metrics dashboard: one figure carries
   the visual weight (years in practice), the rest read as supporting text.
   ========================================================================== */
.h3-trust-strip { background: var(--h3-primary-dark); padding: 46px 0; }
.h3-trust-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 56px;
	row-gap: 22px;
	color: var(--h3-white);
}
.h3-trust-item { display: flex; align-items: baseline; gap: 12px; }
.h3-trust-lead {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding-right: 40px;
	border-right: 1px solid rgba(255,255,255,0.18);
}
.h3-trust-lead strong {
	font-family: var(--h3-font-display);
	font-size: 3.4rem;
	font-weight: 600;
	line-height: 1;
	color: var(--h3-white);
}
.h3-trust-lead span {
	font-size: 0.92rem;
	color: rgba(255,255,255,0.68);
	max-width: 120px;
	line-height: 1.3;
}
.h3-trust-item strong {
	font-family: var(--h3-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--h3-white);
}
.h3-trust-item span { font-size: 0.85rem; color: rgba(255,255,255,0.68); }

/* ==========================================================================
   About
   ========================================================================== */
.h3-about-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 68px;
	align-items: center;
}
.h3-about-media { position: relative; }
.h3-about-media img {
	border-radius: 8px 96px 8px 96px;
	box-shadow: var(--h3-shadow-md);
	width: 100%;
	height: auto;
	aspect-ratio: 5/6;
	object-fit: cover;
	object-position: center 15%;
	filter: saturate(0.94) contrast(1.02);
}
/* No eyebrow label here - the section opens on a pull-quote instead, so
   the rhythm doesn't repeat identically down the page. */
.h3-about-quote {
	font-family: var(--h3-font-display);
	font-style: italic;
	font-size: 1.6rem;
	line-height: 1.35;
	color: var(--h3-primary-dark);
	margin-bottom: 26px;
}
.h3-about-copy p { color: var(--h3-ink-soft); margin-bottom: 18px; font-size: 1.03rem; }
.h3-about-signoff { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--h3-line); }
.h3-about-signoff-name { font-family: var(--h3-font-display); font-style: italic; font-size: 1.3rem; color: var(--h3-primary); }
.h3-about-signoff-title { font-size: 0.85rem; color: var(--h3-ink-soft); }

/* ==========================================================================
   Services / specialties - an index, not an icon-card grid: numbered
   entries in two columns, opening on hover with a thin accent rule.
   ========================================================================== */
.h3-services-index {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 56px;
}
.h3-service-row {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 20px;
	padding: 26px 0;
	border-bottom: 1px solid var(--h3-line);
	position: relative;
	transition: padding-left 0.25s var(--h3-ease);
}
.h3-service-row::before {
	content: "";
	position: absolute;
	left: -14px; top: 0; bottom: 0;
	width: 2px;
	background: var(--h3-blush);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.3s var(--h3-ease);
}
.h3-service-row:hover { padding-left: 8px; }
.h3-service-row:hover::before { transform: scaleY(1); }
.h3-service-num {
	font-family: var(--h3-font-display);
	font-style: italic;
	font-size: 1.5rem;
	color: var(--h3-blush);
	font-weight: 500;
	line-height: 1.3;
}
.h3-service-row h3 { font-size: 1.1rem; margin-bottom: 8px; }
.h3-service-row p { color: var(--h3-ink-soft); font-size: 0.92rem; }

/* ==========================================================================
   Credentials timeline
   ========================================================================== */
.h3-cred-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.h3-cred-block h3 {
	font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--h3-blush-dark); font-family: var(--h3-font-body); font-weight: 700;
	margin-bottom: 22px;
}
.h3-cred-list { list-style: none; margin: 0 0 8px; padding: 0; }
.h3-cred-list li {
	display: flex; gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--h3-line);
}
.h3-cred-list li:last-child { border-bottom: none; }
.h3-cred-mark { color: var(--h3-primary); flex-shrink: 0; margin-top: 3px; }
.h3-cred-mark svg { width: 18px; height: 18px; }
.h3-cred-list strong { display: block; color: var(--h3-ink); font-size: 1rem; }
.h3-cred-list span { color: var(--h3-ink-soft); font-size: 0.88rem; }

.h3-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.h3-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1.5px; background: var(--h3-line); }
.h3-timeline li { position: relative; padding: 0 0 26px 34px; }
.h3-timeline li:last-child { padding-bottom: 0; }
.h3-timeline li::before {
	content: ""; position: absolute; left: 0; top: 4px;
	width: 15px; height: 15px; border-radius: 50%;
	background: var(--h3-white); border: 3px solid var(--h3-primary);
}
.h3-timeline-year { font-family: var(--h3-font-display); font-weight: 600; color: var(--h3-primary); font-size: 0.95rem; }
.h3-timeline strong { display: block; color: var(--h3-ink); }
.h3-timeline span { color: var(--h3-ink-soft); font-size: 0.88rem; }

/* ==========================================================================
   Certificates strip + achievements
   ========================================================================== */
.h3-cert-banner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	background: var(--h3-white);
	border-radius: var(--h3-radius-lg);
	overflow: hidden;
	box-shadow: var(--h3-shadow-md);
}
.h3-cert-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.h3-cert-banner-copy { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.h3-cert-banner-copy p { color: var(--h3-ink-soft); margin-bottom: 14px; }

.h3-achieve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h3-achieve-card { border-radius: var(--h3-radius-md); overflow: hidden; box-shadow: var(--h3-shadow-sm); background: var(--h3-white); }
.h3-achieve-card img { width: 100%; height: auto; aspect-ratio: 4/3.1; object-fit: cover; }
.h3-achieve-card-body { padding: 20px 22px 24px; }
.h3-achieve-card-body p { font-size: 0.9rem; color: var(--h3-ink-soft); }

/* ==========================================================================
   Publications
   ========================================================================== */
.h3-pub-list { list-style: none; margin: 0; padding: 0; counter-reset: pub; }
.h3-pub-list li {
	counter-increment: pub;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 18px;
	padding: 22px 0;
	border-bottom: 1px solid var(--h3-line);
}
.h3-pub-list li:first-child { padding-top: 0; }
.h3-pub-list li::before {
	content: counter(pub, decimal-leading-zero);
	font-family: var(--h3-font-display);
	font-size: 1.3rem;
	color: var(--h3-blush);
	font-weight: 600;
}
.h3-pub-list strong { display: block; color: var(--h3-ink); font-size: 1.02rem; margin-bottom: 6px; font-weight: 600; font-style: normal; }
.h3-pub-meta { display: block; color: var(--h3-ink-soft); font-size: 0.86rem; font-style: italic; }

/* ==========================================================================
   Community
   ========================================================================== */
.h3-community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.h3-community-media img { border-radius: var(--h3-radius-lg); box-shadow: var(--h3-shadow-md); width: 100%; height: auto; aspect-ratio: 4/3.2; object-fit: cover; }
.h3-community-copy p { color: var(--h3-ink-soft); margin-bottom: 16px; font-size: 1.03rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.h3-faq-list { max-width: 820px; margin: 0 auto; }
.h3-faq-item { border-bottom: 1px solid var(--h3-line); }
.h3-faq-question {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; padding: 24px 4px; cursor: pointer;
	font-family: var(--h3-font-display); font-size: 1.08rem; color: var(--h3-ink);
}
.h3-faq-icon { flex-shrink: 0; width: 26px; height: 26px; color: var(--h3-primary); transition: transform 0.3s var(--h3-ease); }
.h3-faq-item.is-open .h3-faq-icon { transform: rotate(45deg); }
.h3-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--h3-ease); }
.h3-faq-answer-inner { padding: 0 4px 24px; color: var(--h3-ink-soft); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.h3-cta-band {
	background: var(--h3-primary);
	background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08), transparent 40%), radial-gradient(circle at 85% 80%, rgba(255,255,255,0.06), transparent 45%);
	color: var(--h3-white);
	border-radius: var(--h3-radius-lg);
	padding: 64px 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.h3-cta-band h2 { color: var(--h3-white); margin-bottom: 8px; }
.h3-cta-band p { color: rgba(255,255,255,0.8); }
.h3-cta-band .h3-btn-ghost:hover { background: var(--h3-white); color: var(--h3-primary); }

/* ==========================================================================
   Footer
   ========================================================================== */
.h3-footer { background: var(--h3-primary-dark); color: rgba(255,255,255,0.82); padding-top: 76px; }
.h3-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.h3-footer-col h3 { color: var(--h3-white); font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--h3-font-body); font-weight: 700; margin-bottom: 20px; }
.h3-footer-about-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.h3-footer-about-logo img { width: 46px; height: 46px; border-radius: 50%; }
.h3-footer-about-logo span { font-family: var(--h3-font-display); font-size: 1.15rem; color: var(--h3-white); }
.h3-footer-col p { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,0.68); }
.h3-footer-col ul { list-style: none; margin: 0; padding: 0; }
.h3-footer-col ul li { margin-bottom: 12px; }
.h3-footer-col ul a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.h3-footer-col ul a:hover { color: var(--h3-blush); }
.h3-footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.h3-footer-contact .h3-icon { flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; color: var(--h3-blush); }
.h3-footer-social { display: flex; gap: 12px; margin-top: 20px; }
.h3-footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--h3-white); }
.h3-footer-social a:hover { background: var(--h3-blush); }
.h3-footer-social svg { width: 17px; height: 17px; }

/* Parent brandadoc_social_links() fallback - only renders if social URLs
   are set via the Customizer, so this styles a text-pill fallback rather
   than assuming icon glyphs the parent's (dequeued) CSS would supply. */
.brandadoc-social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.brandadoc-social-links a {
	display: inline-flex; align-items: center; padding: 8px 16px;
	border-radius: var(--h3-radius-pill); background: rgba(255,255,255,0.08);
	color: var(--h3-white); font-size: 0.82rem; font-weight: 600;
}
.brandadoc-social-links a:hover { background: var(--h3-blush); color: var(--h3-white); }
.h3-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.83rem; color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Floating WhatsApp + mobile CTA bar
   ========================================================================== */
.h3-whatsapp-float {
	position: fixed; bottom: 26px; right: 26px; z-index: 300;
	width: 58px; height: 58px; border-radius: 50%;
	background: #25D366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--h3-shadow-md);
	transition: transform 0.25s var(--h3-ease);
}
.h3-whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.h3-whatsapp-float svg { width: 28px; height: 28px; }

.h3-mobile-cta-bar { display: none; }

/* Parent main.js "back to top" button (generic, kept enqueued) */
.back-to-top {
	position: fixed; left: 26px; bottom: 26px; z-index: 290;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--h3-white); color: var(--h3-primary);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.2rem; box-shadow: var(--h3-shadow-sm);
	border: 1px solid var(--h3-line);
	cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all 0.25s var(--h3-ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--h3-primary); color: var(--h3-white); }

/* Parent gallery.js lightbox markup - unused (this theme's gallery is a
   plain static grid), kept hidden defensively in case the script ever
   re-fires before the dequeue takes effect. */
.brandadoc-lightbox { display: none !important; }

/* ==========================================================================
   Inner page header (About / Services / Contact / FAQ / Gallery)
   ========================================================================== */
.h3-page-header {
	padding: 64px 0 56px;
	background: linear-gradient(180deg, var(--h3-blush-pale) 0%, var(--h3-cream) 100%);
	text-align: center;
}
.h3-page-header h1 { margin-bottom: 6px; }
.h3-breadcrumbs { font-size: 0.85rem; color: var(--h3-ink-soft); margin-top: 14px; }
.h3-breadcrumbs a { color: var(--h3-ink-soft); }
.h3-breadcrumbs a:hover { color: var(--h3-primary); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.h3-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h3-gallery-item { border-radius: var(--h3-radius-md); overflow: hidden; box-shadow: var(--h3-shadow-sm); }
.h3-gallery-item img { width: 100%; height: auto; aspect-ratio: 4/3.4; object-fit: cover; transition: transform 0.4s var(--h3-ease); }
.h3-gallery-item:hover img { transform: scale(1.06); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.h3-contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
.h3-contact-info-card { background: var(--h3-white); border-radius: var(--h3-radius-lg); padding: 40px; box-shadow: var(--h3-shadow-sm); }
.h3-contact-info-card h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--h3-blush-dark); font-family: var(--h3-font-body); margin: 26px 0 14px; }
.h3-contact-info-card h3:first-child { margin-top: 0; }
.h3-contact-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.h3-contact-row .h3-icon { width: 20px; height: 20px; color: var(--h3-primary); flex-shrink: 0; margin-top: 2px; }
.h3-contact-map { border-radius: var(--h3-radius-lg); overflow: hidden; box-shadow: var(--h3-shadow-sm); margin-top: 24px; }
.h3-contact-map iframe { width: 100%; height: 280px; border: 0; display: block; }

.h3-form-card { background: var(--h3-white); border-radius: var(--h3-radius-lg); padding: 44px; box-shadow: var(--h3-shadow-md); }
.booking-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--h3-ink); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
	width: 100%; padding: 13px 16px;
	border: 1.5px solid var(--h3-line); border-radius: var(--h3-radius-sm);
	font-family: var(--h3-font-body); font-size: 0.96rem; color: var(--h3-ink);
	background: var(--h3-cream);
	transition: border-color 0.2s var(--h3-ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
	outline: none; border-color: var(--h3-primary); background: var(--h3-white);
}
.submit-btn {
	width: 100%; padding: 16px; border: none; border-radius: var(--h3-radius-pill);
	background: var(--h3-primary); color: var(--h3-white); font-weight: 700; font-size: 1rem;
	cursor: pointer; transition: background 0.2s var(--h3-ease);
}
.submit-btn:hover { background: var(--h3-primary-dark); }
.booking-response { margin-top: 16px; padding: 14px 18px; border-radius: var(--h3-radius-sm); font-size: 0.92rem; }
.booking-response.success { background: var(--h3-primary-tint); color: var(--h3-primary-dark); }
.booking-response.error { background: var(--h3-blush-tint); color: var(--h3-blush-dark); }

/* ==========================================================================
   Prose fallback (generic the_content() output - page.php, 404, search)
   ========================================================================== */
.entry-content p { margin-bottom: 18px; color: var(--h3-ink-soft); font-size: 1.03rem; }
.entry-content h2 { margin: 40px 0 16px; }
.entry-content h3 { margin: 32px 0 14px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px 22px; color: var(--h3-ink-soft); }
.entry-content li { margin-bottom: 8px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
	border-left: 3px solid var(--h3-blush);
	padding: 4px 0 4px 22px;
	margin: 24px 0;
	font-family: var(--h3-font-display);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--h3-ink);
}
.entry-content img { border-radius: var(--h3-radius-md); margin: 20px 0; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.h3-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--h3-ease), transform 0.7s var(--h3-ease); }
.h3-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.h3-achieve-grid { grid-template-columns: repeat(2, 1fr); }
	.h3-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.h3-topbar-info span.h3-topbar-hours { display: none; }
	.h3-hero-grid, .h3-about-grid, .h3-cred-columns, .h3-community-grid, .h3-contact-grid, .h3-services-index { grid-template-columns: 1fr; }
	.h3-services-index { column-gap: 0; }
	.h3-hero-media { order: -1; max-width: 380px; margin: 0 auto 20px; }
	.h3-cert-banner { grid-template-columns: 1fr; }
	.h3-cert-banner img { min-height: 260px; }
	.h3-nav { display: none; }
	.menu-toggle { display: flex; }
	/* The mobile CTA bar at the bottom already has a "Book" action, so drop
	   the header's Book Appointment button here rather than let it and the
	   hamburger fight for space and overflow. */
	.h3-header-cta > a.h3-btn { display: none; }
	.h3-nav.active {
		display: block; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--h3-white); border-top: 1px solid var(--h3-line);
		box-shadow: var(--h3-shadow-md);
	}
	.h3-nav.active ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 28px 20px; }
	.h3-nav.active a { display: block; padding: 12px 0; width: 100%; }
	.h3-mobile-cta-bar {
		display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 250;
		background: var(--h3-white); border-top: 1px solid var(--h3-line);
		box-shadow: 0 -6px 20px rgba(22,51,63,0.08);
	}
	.h3-mobile-cta { flex: 1; text-align: center; padding: 14px 8px; font-size: 0.82rem; font-weight: 700; color: var(--h3-ink); display: flex; flex-direction: column; align-items: center; gap: 4px; }
	.h3-mobile-cta-book { color: var(--h3-white); background: var(--h3-primary); }
	.h3-whatsapp-float { bottom: 84px; }
	.back-to-top { bottom: 84px; left: 18px; }
	body { padding-bottom: 62px; }
}

@media (max-width: 640px) {
	/* Free up header width so the hamburger toggle never gets pushed past
	   the viewport edge next to the full two-line wordmark. */
	.h3-logo-wordmark-sub { display: none; }
	.h3-header-inner { padding-left: 16px; padding-right: 16px; }
	.h3-section { padding: 64px 0; }
	.h3-achieve-grid { grid-template-columns: 1fr; }
	.h3-gallery-grid { grid-template-columns: 1fr 1fr; }
	.h3-footer-grid { grid-template-columns: 1fr; }
	.h3-trust-row { column-gap: 32px; }
	.h3-trust-lead { padding-right: 0; border-right: none; width: 100%; }
	.booking-form-grid { grid-template-columns: 1fr; }
	.h3-cta-band { padding: 44px 28px; flex-direction: column; text-align: center; }
	.h3-form-card, .h3-contact-info-card { padding: 28px; }
	.h3-hero-caption { flex-direction: column; align-items: flex-start; gap: 4px; }
	.h3-hero-caption-stat { text-align: left; }
}
