/*
Theme Name: Cape Hearing Aids
Theme URI: https://capehearingaids.co.za
Description: Design-system child theme for Cape Hearing Aids — implements the 2026 redesign (Lora + Albert Sans, deep-teal and gold palette) on top of Hello Elementor.
Author: Cape Hearing Aids
Template: hello-elementor
Version: 1.0.0
Text Domain: cape-hearing-aids
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--cha-ink:   #0C3B40;
	--cha-teal:  #14636B;
	--cha-deep:  #0E4A50;
	--cha-gold:  #B0812F;
	--cha-gold-dark: #966C24;
	--cha-cream: #F8F5EF;
	--cha-sand:  #EDE6DA;
	--cha-line:  #E4DCCE;
	--cha-body:  #4A5B5C;
	--cha-muted: #71807F;
	--cha-mist:  #EFF5F4;
	--cha-mist2: #E3EFEE;
	--cha-onteal:#BBD8D5;
	--cha-foot:  #9FC0BD;

	--cha-serif: 'Lora', Georgia, serif;
	--cha-sans:  'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--cha-max:   1280px;
	--cha-pad:   48px;
}

html, body {
	margin: 0;
	padding: 0;
	background: var(--cha-cream);
}

body {
	font-family: var(--cha-sans);
	color: #1C2B2D;
	-webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

a { color: var(--cha-teal); }
a:hover { color: var(--cha-ink); }

/* Hello Elementor's reset.css gives every <button> a #c36 (raspberry) border
   and text colour, and fills it #c36 on hover/focus. `button:focus` (0,1,1)
   outranks a single component class (0,1,0), so the open FAQ row — and the
   carousel dots, and the burger — turned crimson once focused. Neutralise the
   parent's states here; each component defines its own below. */
button,
[type="button"],
[type="submit"] {
	border-color: transparent;
	border-radius: 0;
	color: inherit;
}

/* Mobile browsers paint a translucent overlay (light blue on Android Chrome,
   grey on iOS) over any tapped interactive element. Suppress it — every
   control below defines its own :active state, which reads as intentional
   rather than as a stray system colour. */
a,
button,
[type="button"],
[type="submit"],
summary,
label {
	-webkit-tap-highlight-color: transparent;
}
button:hover,
button:focus,
[type="button"]:hover,
[type="button"]:focus,
[type="submit"]:hover,
[type="submit"]:focus {
	background-color: transparent;
	color: inherit;
}

/* Keyboard focus must still be visible — in brand gold, not raspberry. */
a:focus-visible,
button:focus-visible,
[type="button"]:focus-visible,
[type="submit"]:focus-visible,
input:focus-visible,
select:focus-visible {
	outline: 2px solid var(--cha-gold);
	outline-offset: 2px;
}

h1, h2, h3, h4, .cha-serif {
	font-family: var(--cha-serif);
	font-weight: 500;
	color: var(--cha-ink);
	text-wrap: pretty;
}

img { max-width: 100%; height: auto; }

.cha-wrap {
	max-width: var(--cha-max);
	margin: 0 auto;
	padding-left: var(--cha-pad);
	padding-right: var(--cha-pad);
}

.cha-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cha-gold);
	margin-bottom: 16px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cha-btn {
	display: inline-block;
	border: none;
	border-radius: 999px;
	padding: 16px 32px;
	font: 600 16px/1 var(--cha-sans);
	cursor: pointer;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.cha-btn--primary { background: var(--cha-teal); color: #fff; }
.cha-btn--primary:hover { background: var(--cha-ink); color: #fff; }
.cha-btn--ghost {
	background: transparent;
	color: var(--cha-teal);
	border: 1.5px solid #9DB8B6;
	padding: 15px 30px;
}
.cha-btn--ghost:hover { border-color: var(--cha-teal); background: var(--cha-mist); }
.cha-btn--sm { padding: 11px 22px; font-size: 14.5px; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.cha-topbar {
	background: var(--cha-ink);
	color: #CFE3E1;
	font-size: 13.5px;
	letter-spacing: .02em;
}
.cha-topbar__inner {
	max-width: var(--cha-max);
	margin: 0 auto;
	display: flex;
	justify-content: flex-end;
	gap: 28px;
	padding: 8px var(--cha-pad);
}
.cha-topbar a { color: #fff; text-decoration: none; font-weight: 600; }

.cha-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(248, 245, 239, .92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--cha-line);
}
.cha-header__inner {
	max-width: var(--cha-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px var(--cha-pad);
	gap: 24px;
}
.cha-logo { flex: 0 1 auto; min-width: 0; line-height: 0; }
.cha-logo img {
	height: 56px;
	width: auto;
	max-width: 100%;
	/* The global `img { max-width:100% }` can shrink this while the fixed height
	   holds, which distorts a 4.2:1 wordmark. `contain` makes that impossible —
	   it letterboxes rather than squashes. */
	object-fit: contain;
	object-position: left center;
	display: block;
}

.cha-header__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.cha-nav { display: flex; gap: 6px; align-items: center; }
.cha-nav ul {
	display: flex;
	gap: 6px;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
/* Scoped to the menu list only. An unscoped `.cha-nav a` also captured the
   booking CTA and overrode its colour, padding and display. */
.cha-nav ul a {
	display: block;
	padding: 10px 14px;
	font: 600 15px/1 var(--cha-sans);
	color: var(--cha-body);
	text-decoration: none;
	border-radius: 8px;
	white-space: nowrap;
}
.cha-nav ul a:hover { color: var(--cha-ink); }
.cha-nav .current-menu-item > a,
.cha-nav .current_page_item > a {
	color: var(--cha-ink);
	background: var(--cha-sand);
}

/* The CTA is a link styled as a button; keep it white on teal whatever the
   parent theme does to anchors. */
a.cha-btn--primary,
a.cha-btn--primary:link,
a.cha-btn--primary:visited,
a.cha-btn--primary:hover,
a.cha-btn--primary:focus { color: #fff; text-decoration: none; }
.cha-header__cta { white-space: nowrap; }

.cha-burger {
	display: none;
	background: none;
	border: 1.5px solid #9DB8B6;
	border-radius: 10px;
	padding: 9px 12px;
	cursor: pointer;
	color: var(--cha-teal);
	font-size: 18px;
	line-height: 1;
	transition: background .15s ease, border-color .15s ease;
}
/* Touch feedback, in place of the suppressed system highlight. */
.cha-burger:active { background: var(--cha-mist); border-color: var(--cha-teal); }
.cha-burger[aria-expanded="true"] {
	background: var(--cha-mist2);
	border-color: var(--cha-teal);
	color: var(--cha-ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cha-footer { background: var(--cha-ink); color: var(--cha-foot); }
.cha-footer__grid {
	max-width: var(--cha-max);
	margin: 0 auto;
	padding: 56px var(--cha-pad) 40px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
}
.cha-footer__brand {
	font-family: var(--cha-serif);
	font-size: 22px;
	color: #fff;
	margin-bottom: 12px;
}
.cha-footer p { font-size: 14.5px; line-height: 1.65; margin: 0; max-width: 34ch; }
.cha-footer__h {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 14px;
}
.cha-footer__list { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; list-style: none; margin: 0; padding: 0; }
.cha-footer a { color: var(--cha-foot); text-decoration: none; }
.cha-footer a:hover { color: #fff; }
.cha-footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.cha-footer__bar-inner {
	max-width: var(--cha-max);
	margin: 0 auto;
	padding: 18px var(--cha-pad);
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

/* ==========================================================================
   Sticky CTA
   ========================================================================== */
.cha-sticky {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 60;
	display: flex;
	gap: 12px;
	align-items: center;
}
.cha-sticky__wa {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #25D366;
	display: grid;
	place-items: center;
	box-shadow: 0 10px 28px rgba(12,59,64,.28);
	text-decoration: none;
	flex: none;
}
.cha-sticky__book {
	background: var(--cha-gold);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 16px 28px;
	font: 600 15.5px/1 var(--cha-sans);
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(12,59,64,.28);
	text-decoration: none;
}
.cha-sticky__book:hover { background: var(--cha-gold-dark); color: #fff; }

/* ==========================================================================
   Page sections (used by the Elementor HTML blocks)
   ========================================================================== */
.cha-hero {
	max-width: var(--cha-max);
	margin: 0 auto;
	display: grid;
	/* Media column is the wider one: the hero slides are landscape group shots,
	   and a tall narrow arch cropped almost half the width away. */
	grid-template-columns: 1fr 1.18fr;
	gap: 56px;
	align-items: center;
	padding: 72px var(--cha-pad) 84px;
}
.cha-hero h1 { font-size: 56px; line-height: 1.12; margin: 0 0 24px; }
.cha-hero p.lede { font-size: 18px; line-height: 1.65; color: var(--cha-body); margin: 0 0 36px; max-width: 52ch; }
.cha-hero__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cha-hero__stats {
	display: flex;
	gap: 40px;
	margin-top: 52px;
	padding-top: 28px;
	border-top: 1px solid var(--cha-line);
}
.cha-hero__stat b { font-family: var(--cha-serif); font-size: 30px; font-weight: 500; color: var(--cha-ink); display: block; }
.cha-hero__stat span { font-size: 13.5px; color: var(--cha-muted); margin-top: 2px; display: block; }

.cha-hero__media { position: relative; }

/* Hero carousel — the arch-shaped media panel cycles the slides from the
   original site's home slider. Crossfade rather than slide, so the arch mask
   stays still. */
.cha-carousel {
	position: relative;
	width: 100%;
	/* Short enough that a 16:9 group photo fits the panel almost edge to edge.
	   Taller than this and `cover` starts cropping people off the sides. */
	height: 360px;
	border-radius: 140px 140px 24px 24px;
	overflow: hidden;
	background: var(--cha-mist);
}
.cha-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .9s ease;
	pointer-events: none;
}
.cha-carousel__slide.is-active { opacity: 1; pointer-events: auto; }
.cha-carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Wide group shots are still wider than the panel, so sweep across them —
   everyone gets seen rather than the ends being permanently cropped off.
   The animation is paused while a slide is inactive and resumes where it
   left off, so the sweep continues across rotations instead of restarting. */
@keyframes cha-pan {
	from { object-position: 0% center; }
	to   { object-position: 100% center; }
}
.cha-carousel__slide--pan img {
	object-position: 0% center;
	animation: cha-pan 9s ease-in-out infinite alternate;
	animation-play-state: paused;
}
.cha-carousel__slide--pan.is-active img { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
	.cha-carousel__slide--pan img { animation: none; object-position: center; }
}
.cha-carousel__cap {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 74px 34px 30px;
	background: linear-gradient(to top, rgba(12,59,64,.82) 0%, rgba(12,59,64,.45) 45%, rgba(12,59,64,0) 100%);
	color: #fff;
	font-family: var(--cha-serif);
	font-size: 23px;
	line-height: 1.3;
	text-align: center;
}
.cha-carousel__dots {
	position: absolute;
	left: 0; right: 0; bottom: 14px;
	display: flex;
	justify-content: center;
	gap: 9px;
	z-index: 3;
}
.cha-carousel__dot {
	width: 9px; height: 9px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(255,255,255,.5);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.cha-carousel__dot.is-active { background: #fff; transform: scale(1.25); }
.cha-carousel__dot:focus-visible { outline: 2px solid var(--cha-gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
	.cha-carousel__slide { transition: none; }
}
.cha-hero__badge {
	position: absolute;
	left: -24px;
	bottom: 28px;
	background: #fff;
	border-radius: 16px;
	padding: 16px 22px;
	box-shadow: 0 14px 40px rgba(12,59,64,.16);
	display: flex;
	gap: 12px;
	align-items: center;
}
.cha-hero__badge i {
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--cha-mist2);
	display: grid; place-items: center;
	color: var(--cha-teal); font-size: 18px; font-style: normal;
	flex: none;
}
.cha-hero__badge b { font-weight: 600; font-size: 14.5px; color: var(--cha-ink); display: block; }
.cha-hero__badge span { font-size: 13px; color: var(--cha-muted); }

/* Dark services band */
.cha-band { background: var(--cha-deep); color: #fff; }
.cha-band__inner { max-width: var(--cha-max); margin: 0 auto; padding: 76px var(--cha-pad); }
.cha-band__head {
	display: flex; justify-content: space-between; align-items: end;
	margin-bottom: 44px; gap: 24px; flex-wrap: wrap;
}
.cha-band h2 { font-size: 36px; margin: 0; color: #fff; }
.cha-band__link {
	background: transparent; color: var(--cha-onteal); border: none;
	font: 600 15px var(--cha-sans); cursor: pointer;
	text-decoration: underline; text-underline-offset: 4px;
}
.cha-band__link:hover { color: #fff; }

.cha-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cha-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.cha-card-dark {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	display: block;
	transition: background .18s ease;
}
.cha-card-dark:hover { background: rgba(255,255,255,.11); }
.cha-card-dark img { width: 100%; height: 200px; object-fit: cover; display: block; }
.cha-card-dark .b { padding: 22px 24px 26px; }
.cha-card-dark .t { font-weight: 600; font-size: 18px; margin-bottom: 8px; color: #fff; }
.cha-card-dark .d { font-size: 14.5px; line-height: 1.55; color: var(--cha-onteal); }

/* Light cards */
.cha-card {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #EAE3D6;
	display: flex;
	flex-direction: column;
}
.cha-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.cha-card__body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.cha-card__title { font-weight: 600; font-size: 19px; color: var(--cha-ink); margin-bottom: 10px; }
.cha-card__text { font-size: 15px; line-height: 1.6; color: var(--cha-body); flex: 1; }
.cha-card__link {
	margin-top: 20px; align-self: start; background: transparent;
	color: var(--cha-teal); border: none; padding: 0;
	font: 600 14.5px var(--cha-sans); cursor: pointer;
	text-decoration: underline; text-underline-offset: 4px;
}
.cha-card__link:hover { color: var(--cha-ink); }

/* About split */
.cha-split {
	max-width: var(--cha-max); margin: 0 auto;
	padding: 84px var(--cha-pad);
	display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.cha-split h2 { font-size: 38px; line-height: 1.2; margin: 0 0 20px; }
.cha-split p { font-size: 16.5px; line-height: 1.7; color: var(--cha-body); margin: 0 0 16px; }
.cha-split__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cha-split__pics img { width: 100%; height: 250px; object-fit: cover; border-radius: 18px; display: block; }
.cha-split__pics img:last-child { margin-top: 36px; }

/* FAQ */
.cha-faq-band { background: var(--cha-sand); }
.cha-faq { max-width: 880px; margin: 0 auto; padding: 76px var(--cha-pad) 84px; }
.cha-faq h2 { font-size: 36px; margin: 0 0 10px; text-align: center; }
.cha-faq__sub { text-align: center; color: var(--cha-muted); font-size: 15.5px; margin: 0 0 40px; }
.cha-faq__list { display: flex; flex-direction: column; gap: 12px; }
.cha-faq__item { background: #fff; border-radius: 14px; overflow: hidden; }
.cha-faq__q {
	width: 100%; display: flex; justify-content: space-between; align-items: center;
	background: none; border: none; padding: 20px 24px;
	font: 600 16.5px var(--cha-sans); color: var(--cha-ink);
	cursor: pointer; text-align: left; gap: 16px;
}
.cha-faq__q .ico { color: var(--cha-gold); font-size: 20px; font-weight: 400; flex: none; }
.cha-faq__a { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.65; color: var(--cha-body); max-width: 64ch; }
.cha-faq__item:not(.is-open) .cha-faq__a { display: none; }

/* Page headers */
.cha-pagehead { max-width: var(--cha-max); margin: 0 auto; padding: 64px var(--cha-pad) 0; }
.cha-pagehead__inner { max-width: 640px; margin-bottom: 52px; }
.cha-pagehead h1 { font-size: 46px; margin: 0 0 18px; }
.cha-pagehead p { font-size: 17px; line-height: 1.65; color: var(--cha-body); margin: 0; }
.cha-section { max-width: var(--cha-max); margin: 0 auto; padding: 0 var(--cha-pad) 90px; }

/* Products */
.cha-brand-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #EAE3D6; }
.cha-brand-card img.shot { width: 100%; height: 300px; object-fit: cover; display: block; }
.cha-brand-card__foot { padding: 24px 28px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cha-brand-card__name { font-family: var(--cha-serif); font-size: 26px; color: var(--cha-ink); }
.cha-brand-card__blurb { font-size: 14.5px; color: var(--cha-muted); margin-top: 4px; }
.cha-brand-card__cta {
	background: var(--cha-mist); color: var(--cha-teal); border: none; border-radius: 999px;
	padding: 11px 20px; font: 600 14px var(--cha-sans); cursor: pointer; white-space: nowrap;
	text-decoration: none;
}
.cha-brand-card__cta:hover { background: var(--cha-mist2); }
.cha-logostrip {
	display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center;
	padding: 44px var(--cha-pad); max-width: var(--cha-max); margin: 0 auto;
	border-top: 1px solid var(--cha-line); border-bottom: 1px solid var(--cha-line);
}
.cha-logostrip img { height: 34px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: .2s; }
.cha-logostrip img:hover { filter: none; opacity: 1; }

/* Team */
.cha-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1020px; margin: 0 auto; }
.cha-team__card { background: #fff; border-radius: 20px; border: 1px solid #EAE3D6; overflow: hidden; text-align: center; }
.cha-team__card img { width: 100%; height: 320px; object-fit: cover; object-position: top center; display: block; }
.cha-team__b { padding: 20px 20px 26px; }
.cha-team__name { font-family: var(--cha-serif); font-size: 22px; color: var(--cha-ink); }
.cha-team__role {
	font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--cha-gold); margin-top: 6px;
}
.cha-team__bio { font-size: 14.5px; line-height: 1.6; color: var(--cha-body); margin-top: 12px; text-align: left; }

/* Branches */
/* All seven branches use one card in one grid — equal columns, equal heights. */
.cha-branchgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}

.cha-branch-small {
	background: var(--cha-mist);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.cha-branch-small img { width: 100%; height: 180px; object-fit: cover; display: block; }
.cha-branch-small__b { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cha-branch-small__name { font-family: var(--cha-serif); font-size: 22px; color: var(--cha-ink); margin-bottom: 10px; }
.cha-branch-small__addr {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--cha-body);
	margin-bottom: 12px;
	/* Two lines' worth, so one- and two-line addresses do not shunt the
	   contact details out of alignment between neighbouring cards. */
	min-height: 4.8em;
}
.cha-branch-small__links { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.cha-branch-small__links a { font-weight: 600; text-decoration: none; }
/* Pin the map (and the directions link after it) to the bottom of every card. */
.cha-branch-small__map { margin-top: auto; padding-top: 16px; }

/* Map + directions */
.cha-map {
	border: 0;
	width: 100%;
	height: 100%;
	min-height: 220px;
	display: block;
	filter: saturate(.9);
}
.cha-map-frame {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--cha-line);
	background: var(--cha-mist);
	min-height: 220px;
}
.cha-directions {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	padding-top: 14px;
	font: 600 14.5px var(--cha-sans);
	color: var(--cha-teal);
	text-decoration: none;
}
.cha-directions:hover { color: var(--cha-ink); text-decoration: underline; text-underline-offset: 3px; }
.cha-directions svg { flex: none; }

.cha-branch-feature__map { margin-top: 18px; height: 240px; }
.cha-branch-feature__map .cha-map { min-height: 240px; }

/* Booking */
.cha-booking {
	max-width: var(--cha-max); margin: 0 auto;
	padding: 64px var(--cha-pad) 90px;
	display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start;
}
.cha-booking__aside { position: sticky; top: 120px; }
.cha-booking__aside h1 { font-size: 44px; line-height: 1.15; margin: 0 0 18px; }
.cha-booking__aside p { font-size: 16.5px; line-height: 1.7; color: var(--cha-body); margin: 0 0 28px; }
.cha-steps { display: flex; flex-direction: column; gap: 14px; }
.cha-step { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--cha-body); }
.cha-step i {
	width: 30px; height: 30px; border-radius: 50%; background: var(--cha-mist2);
	display: grid; place-items: center; color: var(--cha-teal);
	font-weight: 700; font-size: 13px; font-style: normal; flex: none;
}
.cha-formcard { background: #fff; border: 1px solid #EAE3D6; border-radius: 24px; padding: 40px 44px; }
.cha-formcard .wpcf7-not-valid-tip { font-size: 13px; color: #b3261e; }
.cha-formcard .wpcf7-response-output {
	border-radius: 10px; border-width: 1.5px; font-size: 14.5px;
	margin: 22px 0 0; padding: 12px 16px;
}

/* ==========================================================================
   Responsive — the source design was desktop-only; these are additions.
   ========================================================================== */
@media (max-width: 1100px) {
	:root { --cha-pad: 28px; }
	.cha-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
	.cha-hero h1 { font-size: 42px; }
	.cha-carousel { height: 320px; border-radius: 120px 120px 20px 20px; }
	.cha-hero__badge { left: 12px; }
	.cha-branchgrid { grid-template-columns: repeat(2, 1fr); }
	.cha-split { grid-template-columns: 1fr; gap: 40px; padding: 56px var(--cha-pad); }
	.cha-booking { grid-template-columns: 1fr; gap: 40px; }
	.cha-booking__aside { position: static; }
	.cha-grid3 { grid-template-columns: repeat(2, 1fr); }
	.cha-team { grid-template-columns: repeat(2, 1fr); }
	.cha-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
	.cha-burger { display: block; }
	.cha-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--cha-cream);
		border-bottom: 1px solid var(--cha-line);
		padding: 12px var(--cha-pad) 20px;
		flex-direction: column;
		align-items: stretch;
		box-shadow: 0 18px 34px rgba(12,59,64,.10);
	}
	.cha-nav.is-open { display: flex; }
	.cha-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.cha-nav a { padding: 12px 10px; }
	.cha-header__inner { position: relative; }
	.cha-topbar__inner { justify-content: center; flex-wrap: wrap; gap: 14px; font-size: 12.5px; }
}

@media (max-width: 680px) {
	.cha-hero h1 { font-size: 34px; }
	.cha-hero p.lede { font-size: 16.5px; }
	.cha-hero__stats { gap: 24px; }
	.cha-carousel { height: 230px; border-radius: 90px 90px 18px 18px; }
	.cha-carousel__cap { font-size: 18px; padding: 56px 22px 24px; }
	.cha-hero__badge { position: static; margin-top: 16px; }
	.cha-grid3, .cha-grid2, .cha-team, .cha-branchgrid { grid-template-columns: 1fr; }
	.cha-branch-small__addr { min-height: 0; }
	.cha-band h2, .cha-faq h2 { font-size: 28px; }
	.cha-pagehead h1 { font-size: 34px; }
	.cha-split h2 { font-size: 30px; }
	.cha-split__pics img:last-child { margin-top: 0; }
	.cha-formcard { padding: 26px 22px; }
	.cha-footer__grid { grid-template-columns: 1fr; }
	.cha-sticky { bottom: 16px; right: 16px; }
	.cha-sticky__book { padding: 13px 20px; font-size: 14px; }
	.cha-brand-card img.shot { height: 220px; }

	/* The header CTA duplicates the sticky booking button that is already fixed
	   to the bottom of the viewport on mobile. Dropping it here reclaims ~165px,
	   which is what the logo needs to render at its true aspect ratio. */
	.cha-header__cta { display: none; }
	.cha-logo img { height: 40px; }
	.cha-header__inner { gap: 12px; }
}

/* ==========================================================================
   Booking form (Contact Form 7 inside .cha-formcard)
   ========================================================================== */
.cha-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cha-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cha-ink); }
.cha-field--full { grid-column: span 2; }
.cha-formlabel { margin: 26px 0 10px; font-size: 14px; font-weight: 600; color: var(--cha-ink); }

.cha-formcard input[type="text"],
.cha-formcard input[type="tel"],
.cha-formcard input[type="email"],
.cha-formcard input[type="date"],
.cha-formcard select,
.cha-formcard textarea {
	width: 100%;
	border: 1.5px solid #DDD5C6;
	border-radius: 10px;
	padding: 13px 15px;
	font: 400 15px var(--cha-sans);
	background: #FCFBF8;
	color: #1C2B2D;
	transition: border-color .15s ease;
}
.cha-formcard select { padding: 12px; }
.cha-formcard input:focus,
.cha-formcard select:focus,
.cha-formcard textarea:focus { border-color: var(--cha-teal); outline: none; }

/* Branch picker rendered as chips */
.cha-chips .wpcf7-list-item { margin: 0; }
.cha-chips .wpcf7-list-item-label { display: none; }
.cha-chips .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.cha-chips label { cursor: pointer; }
.cha-chips input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.cha-chips input[type="radio"] + span,
.cha-chips .wpcf7-list-item label > span:not(.wpcf7-list-item-label) {
	display: inline-block;
	border-radius: 999px;
	padding: 10px 18px;
	font: 600 14px var(--cha-sans);
	cursor: pointer;
	background: #FCFBF8;
	color: var(--cha-body);
	border: 1.5px solid #DDD5C6;
	transition: .15s ease;
}
.cha-chips input[type="radio"]:hover + span { border-color: #9DB8B6; }
.cha-chips input[type="radio"]:checked + span {
	background: var(--cha-teal);
	color: #fff;
	border-color: var(--cha-teal);
}
.cha-chips input[type="radio"]:focus-visible + span { outline: 2px solid var(--cha-gold); outline-offset: 2px; }

.cha-formcard .cha-submit {
	margin-top: 32px;
	width: 100%;
	background: var(--cha-teal);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 17px;
	font: 600 16.5px var(--cha-sans);
	cursor: pointer;
	transition: background .18s ease;
}
.cha-formcard .cha-submit:hover { background: var(--cha-ink); }
.cha-formcard .wpcf7-spinner { display: block; margin: 12px auto 0; }
.cha-formnote { text-align: center; font-size: 13px; color: #96A2A1; margin-top: 14px; }

@media (max-width: 680px) {
	.cha-form-grid { grid-template-columns: 1fr; }
	.cha-field--full { grid-column: span 1; }
}

/* ==========================================================================
   Detail pages (services, products, articles, legal)
   ========================================================================== */
.cha-detail-hero {
	max-width: var(--cha-max);
	margin: 0 auto 8px;
	padding: 0 var(--cha-pad);
}
.cha-detail-hero img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 24px;
	display: block;
}

.cha-prose {
	max-width: 74ch;
	margin: 0 auto;
	font-size: 16.5px;
	line-height: 1.75;
	color: var(--cha-body);
}
.cha-prose > *:first-child { margin-top: 0; }
.cha-prose h2 {
	font-size: 30px;
	line-height: 1.25;
	margin: 44px 0 16px;
}
.cha-prose h3 { font-size: 24px; margin: 36px 0 14px; }
.cha-prose h4 {
	font-family: var(--cha-sans);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cha-gold);
	margin: 36px 0 12px;
}
.cha-prose p { margin: 0 0 18px; }
.cha-prose ul, .cha-prose ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.cha-prose ol { counter-reset: cha-ol; }
.cha-prose li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 11px;
}
.cha-prose ul > li::before {
	content: "";
	position: absolute;
	left: 4px; top: .62em;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--cha-gold);
}
.cha-prose ol > li::before {
	counter-increment: cha-ol;
	content: counter(cha-ol);
	position: absolute;
	left: 0; top: .1em;
	font: 700 13px var(--cha-sans);
	color: var(--cha-teal);
	background: var(--cha-mist2);
	width: 21px; height: 21px;
	border-radius: 50%;
	display: grid;
	place-items: center;
}
.cha-prose strong { color: var(--cha-ink); }
.cha-prose a { text-decoration: underline; text-underline-offset: 3px; }
.cha-prose blockquote {
	margin: 28px 0;
	padding: 18px 26px;
	border-left: 3px solid var(--cha-gold);
	background: var(--cha-mist);
	border-radius: 0 12px 12px 0;
	font-family: var(--cha-serif);
	font-size: 19px;
	color: var(--cha-ink);
}

/* Sibling navigation chips */
.cha-chipnav {
	max-width: var(--cha-max);
	margin: 0 auto;
	padding: 56px var(--cha-pad) 0;
}
.cha-chipnav__h {
	font-size: 13px; font-weight: 600; letter-spacing: .12em;
	text-transform: uppercase; color: var(--cha-muted);
	margin-bottom: 16px; text-align: center;
}
.cha-chipnav__list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cha-chipnav a {
	display: inline-block;
	border-radius: 999px;
	padding: 10px 18px;
	font: 600 14px var(--cha-sans);
	background: #fff;
	color: var(--cha-body);
	border: 1.5px solid var(--cha-line);
	text-decoration: none;
	transition: .15s ease;
}
.cha-chipnav a:hover { border-color: var(--cha-teal); color: var(--cha-teal); }
.cha-chipnav a[aria-current="page"] {
	background: var(--cha-teal); color: #fff; border-color: var(--cha-teal);
}

/* Closing call-to-action band */
.cha-cta { background: var(--cha-deep); color: #fff; margin-top: 72px; }
.cha-cta__inner {
	max-width: 780px; margin: 0 auto;
	padding: 66px var(--cha-pad); text-align: center;
}
.cha-cta h2 { color: #fff; font-size: 32px; margin: 0 0 14px; }
.cha-cta p { color: var(--cha-onteal); font-size: 16.5px; line-height: 1.7; margin: 0 0 28px; }
.cha-cta .cha-btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.cha-cta .cha-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Brand mark on product pages */
.cha-brandmark {
	height: 44px; width: auto; object-fit: contain;
	margin-bottom: 20px; display: block;
}

/* Article meta */
.cha-postmeta {
	font-size: 14px; color: var(--cha-muted);
	margin-bottom: 8px; letter-spacing: .02em;
}

/* Thank-you / confirmation */
.cha-confirm {
	max-width: 660px; margin: 0 auto;
	padding: 90px var(--cha-pad) 110px; text-align: center;
}
.cha-confirm__tick {
	width: 64px; height: 64px; border-radius: 50%;
	background: var(--cha-mist2); color: var(--cha-teal);
	display: grid; place-items: center;
	font-size: 28px; margin: 0 auto 20px;
}
.cha-confirm h1 { font-size: 34px; margin: 0 0 12px; }
.cha-confirm p { font-size: 16.5px; color: var(--cha-body); line-height: 1.7; margin: 0 0 28px; }

@media (max-width: 680px) {
	.cha-detail-hero img { height: 240px; border-radius: 18px; }
	.cha-prose { font-size: 16px; }
	.cha-prose h2 { font-size: 25px; }
	.cha-cta h2 { font-size: 26px; }
}

/* ==========================================================================
   Homepage: video, guide steps, testimonials, article grid
   ========================================================================== */
.cha-videoband { background: var(--cha-sand); }
.cha-videoband__inner {
	max-width: 980px;
	margin: 0 auto;
	padding: 72px var(--cha-pad) 80px;
	text-align: center;
}
.cha-videoband h2 { font-size: 34px; margin: 0 0 10px; }
.cha-videoband p { color: var(--cha-muted); font-size: 15.5px; margin: 0 0 34px; }
.cha-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(12,59,64,.18);
	background: #000;
}
.cha-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Three-step guide */
.cha-guide { max-width: var(--cha-max); margin: 0 auto; padding: 84px var(--cha-pad); }
.cha-guide__head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.cha-guide__head h2 { font-size: 36px; margin: 0 0 12px; }
.cha-guide__head p { color: var(--cha-body); font-size: 16.5px; line-height: 1.7; margin: 0; }
.cha-guide__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cha-guide__step {
	background: #fff;
	border: 1px solid #EAE3D6;
	border-radius: 20px;
	padding: 32px 30px 34px;
	position: relative;
}
.cha-guide__num {
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--cha-mist2); color: var(--cha-teal);
	display: grid; place-items: center;
	font: 700 17px var(--cha-sans);
	margin-bottom: 18px;
}
.cha-guide__step h3 { font-size: 21px; margin: 0 0 10px; }
.cha-guide__step p { font-size: 15px; line-height: 1.65; color: var(--cha-body); margin: 0; }
.cha-guide__cta { text-align: center; margin-top: 40px; }

/* Testimonials */
.cha-quotes { background: var(--cha-deep); color: #fff; }
.cha-quotes__inner { max-width: var(--cha-max); margin: 0 auto; padding: 78px var(--cha-pad); }
.cha-quotes__head { text-align: center; margin-bottom: 44px; }
.cha-quotes h2 { color: #fff; font-size: 36px; margin: 0 0 10px; }
.cha-quotes__sub { color: var(--cha-onteal); font-size: 15.5px; margin: 0; }
.cha-quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cha-quote {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 18px;
	padding: 30px 30px 28px;
	display: flex;
	flex-direction: column;
}
.cha-quote__stars { color: #E8B94A; font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.cha-quote__text {
	font-family: var(--cha-serif);
	font-size: 18px;
	line-height: 1.55;
	color: #fff;
	margin: 0 0 20px;
	flex: 1;
}
.cha-quote__name {
	font-size: 13px; font-weight: 600; letter-spacing: .1em;
	text-transform: uppercase; color: var(--cha-onteal);
}

/* Brand logo band */
.cha-logoband { padding: 66px 0 6px; }
.cha-logoband__head { text-align: center; max-width: 640px; margin: 0 auto 34px; padding: 0 var(--cha-pad); }
.cha-logoband__head h2 { font-size: 30px; margin: 0 0 10px; }
.cha-logoband__head p { color: var(--cha-muted); font-size: 15.5px; margin: 0; }

/* Article grid */
.cha-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cha-postcard {
	background: #fff;
	border: 1px solid #EAE3D6;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}
.cha-postcard:hover { box-shadow: 0 16px 38px rgba(12,59,64,.12); transform: translateY(-2px); }
.cha-postcard img { width: 100%; height: 190px; object-fit: cover; display: block; }
.cha-postcard__b { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cha-postcard__t { font-family: var(--cha-serif); font-size: 20px; line-height: 1.3; color: var(--cha-ink); margin-bottom: 10px; }
.cha-postcard__more {
	margin-top: auto; padding-top: 14px;
	font: 600 14.5px var(--cha-sans); color: var(--cha-teal);
}

@media (max-width: 1100px) {
	.cha-guide__grid, .cha-quotes__grid, .cha-postgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.cha-guide__grid, .cha-quotes__grid, .cha-postgrid { grid-template-columns: 1fr; }
	.cha-videoband h2, .cha-guide__head h2, .cha-quotes h2 { font-size: 27px; }
	.cha-guide, .cha-videoband__inner, .cha-quotes__inner { padding-top: 56px; padding-bottom: 56px; }
}

/* Very narrow phones (≤420px): tighten the gutter and the logo further so the
   header never has to compress anything. */
@media (max-width: 420px) {
	:root { --cha-pad: 18px; }
	.cha-logo img { height: 36px; }
	.cha-topbar__inner { font-size: 12px; gap: 12px; padding-left: 18px; padding-right: 18px; }
	.cha-hero h1 { font-size: 30px; }
	.cha-carousel { height: 200px; border-radius: 76px 76px 16px 16px; }
	.cha-carousel__cap { font-size: 16px; padding: 44px 16px 20px; }
	.cha-footer__bar-inner { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   Touch feedback
   The system tap highlight is suppressed above, so each control needs its own
   pressed state or taps feel dead on a phone.
   ========================================================================== */
.cha-btn:active,
.cha-sticky__book:active,
.cha-card__link:active,
.cha-brand-card__cta:active { transform: translateY(1px); }

.cha-faq__q:active { background: var(--cha-mist); }
.cha-nav ul a:active { background: var(--cha-sand); }
.cha-carousel__dot:active { transform: scale(1.45); }
.cha-postcard:active { transform: translateY(0); box-shadow: 0 6px 18px rgba(12,59,64,.14); }
.cha-directions:active { color: var(--cha-ink); }
.cha-sticky__wa:active { filter: brightness(.93); }

/* Give the tappable controls a comfortable touch target on phones. */
@media (max-width: 860px) {
	.cha-burger { min-width: 44px; min-height: 44px; }
	.cha-carousel__dot { width: 11px; height: 11px; }
	.cha-carousel__dots { bottom: 12px; gap: 12px; }
	.cha-nav ul a { padding: 13px 10px; }
}

/* ==========================================================================
   Booking tabs (segmented control inside .cha-formcard)
   ========================================================================== */
.cha-tabs__list {
	display: flex;
	gap: 6px;
	padding: 5px;
	margin: 0 0 30px;
	background: var(--cha-mist);
	border-radius: 999px;
	border: 1px solid var(--cha-line);
}
.cha-tab {
	flex: 1;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 999px;
	padding: 13px 18px;
	font: 600 15px var(--cha-sans);
	color: var(--cha-body);
	cursor: pointer;
	white-space: nowrap;
	transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.cha-tab:hover { color: var(--cha-ink); }
.cha-tab[aria-selected="true"] {
	background: var(--cha-teal);
	color: #fff;
	box-shadow: 0 4px 14px rgba(12,59,64,.18);
}
.cha-tab:active { transform: translateY(1px); }
.cha-tab:focus-visible { outline: 2px solid var(--cha-gold); outline-offset: 2px; }

.cha-tabpanel[hidden] { display: none; }
.cha-tabpanel__intro {
	font-size: 15px;
	line-height: 1.65;
	color: var(--cha-body);
	margin: 0 0 22px;
}

/* The embedded booking widget is third-party markup — give it room and keep it
   inside the card's rounded corners without restyling its internals. */
.cha-widget {
	min-height: 460px;
	border-radius: 14px;
	overflow: hidden;
}
.cha-widget iframe { width: 100%; border: 0; display: block; }
.cha-widget__fallback {
	padding: 26px;
	background: var(--cha-mist);
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--cha-body);
}

@media (max-width: 680px) {
	.cha-tab { padding: 12px 10px; font-size: 14px; }
	.cha-tabs__list { margin-bottom: 22px; }
	.cha-widget { min-height: 520px; }
}
