/* =====================================================================
   EDS Core – Footer widget
   Black closing band: CTA, brand + clinics + treatments + studio, legal bar.
   Scope: ".eds-ftr:not(#eds)" = ID-level specificity, so theme/kit link and
   button styles (Hello reset.css) never leak in.
   ===================================================================== */

.eds-ftr{
	--bg:var(--e-global-color-eds_g900,#0a0a0a);
	--fg:var(--e-global-color-accent,#fff);
	--soft:rgba(255,255,255,.62);
	--faint:rgba(255,255,255,.4);
	--rule:rgba(255,255,255,.14);
	--max:1260px;
	/* Spacing follows the site tokens (Site Settings > Custom CSS); px values are fallbacks. */
	--gutter:var(--eds-gutter,40px);
	--ease:cubic-bezier(.2,.7,.2,1);
	--f:var(--e-global-typography-text-font-family,"Mark Pro"),system-ui,sans-serif;
}
.eds-ftr:not(#eds){
	position:relative;overflow:hidden;
	background:var(--bg);color:var(--fg);
	font-family:var(--f);font-size:1rem;line-height:1.6;
	-webkit-font-smoothing:antialiased;
}
.eds-ftr:not(#eds) *,.eds-ftr:not(#eds) *::before,.eds-ftr:not(#eds) *::after{box-sizing:border-box}
.eds-ftr:not(#eds) :is(p,h2,ul,address){margin:0;padding:0}
.eds-ftr:not(#eds) ul{list-style:none}
.eds-ftr:not(#eds) address{font-style:normal}
.eds-ftr:not(#eds) a{color:inherit;text-decoration:none;transition:color .25s var(--ease)}
.eds-ftr:not(#eds) svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}

.eds-ftr:not(#eds) .eds-ftr__wrap{max-width:calc(var(--max) + var(--gutter) * 2);margin:0 auto;padding:0 var(--gutter)}

/* ---------- CTA ---------- */
.eds-ftr:not(#eds) .eds-ftr__cta{
	display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:40px 80px;align-items:end;
	padding:var(--eds-sy,120px) 0 var(--eds-gap-xl,80px);border-bottom:1px solid var(--rule);
}
.eds-ftr:not(#eds) .eds-ftr__eyebrow{
	margin-bottom:22px;color:var(--soft);
	font-size:var(--e-global-typography-eds_eyebrow-font-size,.8125rem);font-weight:700;
	letter-spacing:.12em;text-transform:uppercase;line-height:1.4;
}
.eds-ftr:not(#eds) .eds-ftr__title{
	max-width:14ch;color:var(--fg);
	font-family:var(--f);font-weight:400;
	font-size:clamp(2.25rem,1.2rem + 3.6vw,4.25rem);line-height:1.04;letter-spacing:-.025em;
	text-wrap:balance;
}
.eds-ftr:not(#eds) .eds-ftr__cta-side{display:flex;flex-direction:column;align-items:flex-start;gap:32px;max-width:440px}
.eds-ftr:not(#eds) .eds-ftr__lead{color:var(--soft);font-size:var(--e-global-typography-eds_lead-font-size,1.125rem);line-height:1.6}

/* ---------- grid ---------- */
.eds-ftr:not(#eds) .eds-ftr__grid{
	display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.9fr) minmax(0,.9fr) minmax(0,.75fr);
	gap:var(--eds-gap-l,48px) var(--eds-gap-l,56px);padding:var(--eds-gap-xl,80px) 0;
}
.eds-ftr:not(#eds) .eds-ftr__logo{display:inline-flex;height:var(--logo-h,120px);margin-bottom:26px}
.eds-ftr:not(#eds) .eds-ftr__logo img{width:auto;height:100%;max-width:none}
.eds-ftr:not(#eds) .eds-ftr__logo--invert img{filter:invert(1)}
.eds-ftr:not(#eds) .eds-ftr__name{font-size:1rem;font-weight:700;margin-bottom:10px}
.eds-ftr:not(#eds) .eds-ftr__about{max-width:30ch;color:var(--soft);font-size:.9375rem;line-height:1.6}

.eds-ftr:not(#eds) .eds-ftr__head{
	margin-bottom:24px;color:var(--faint);
	font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;line-height:1.4;
}
.eds-ftr:not(#eds) .eds-ftr__head a:is(:hover,:focus-visible){color:var(--fg)}
.eds-ftr:not(#eds) .eds-ftr__head--follow{margin-top:40px}

.eds-ftr:not(#eds) .eds-ftr__clinics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.eds-ftr:not(#eds) .eds-ftr__clinic-name{display:inline-block;margin-bottom:12px;font-size:1.125rem;font-weight:700;line-height:1.3}
.eds-ftr:not(#eds) a.eds-ftr__clinic-name:is(:hover,:focus-visible){color:var(--soft)}
.eds-ftr:not(#eds) .eds-ftr__clinic address{margin-bottom:14px;color:var(--soft);font-size:.9375rem;line-height:1.55}
.eds-ftr:not(#eds) .eds-ftr__lines{display:grid;gap:6px;font-size:.9375rem}
.eds-ftr:not(#eds) .eds-ftr__lines a{display:inline-flex;align-items:center;gap:6px;overflow-wrap:anywhere}

.eds-ftr:not(#eds) .eds-ftr__links{display:grid;gap:10px;font-size:.9375rem;line-height:1.4}
.eds-ftr:not(#eds) .eds-ftr__links a{display:inline-flex;align-items:center;gap:6px;color:var(--soft)}

/* underline that draws in, shared by every text link */
.eds-ftr:not(#eds) :is(.eds-ftr__links,.eds-ftr__lines) a,
.eds-ftr:not(#eds) .eds-ftr__travel{
	background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;
	padding-bottom:2px;transition:color .25s var(--ease),background-size .45s var(--ease);
}
.eds-ftr:not(#eds) :is(.eds-ftr__links,.eds-ftr__lines) a:is(:hover,:focus-visible),
.eds-ftr:not(#eds) .eds-ftr__travel:is(:hover,:focus-visible){color:var(--fg);background-size:100% 1px}
.eds-ftr:not(#eds) .eds-ftr__ext{transition:transform .35s var(--ease)}
.eds-ftr:not(#eds) a:is(:hover,:focus-visible) .eds-ftr__ext{transform:translate(2px,-2px)}
.eds-ftr:not(#eds) a:focus-visible,.eds-ftr:not(#eds) button:focus-visible{outline:2px solid var(--fg);outline-offset:4px;border-radius:2px}

/* ---------- legal bar ---------- */
.eds-ftr:not(#eds) .eds-ftr__bar{
	display:flex;flex-wrap:wrap;align-items:center;gap:16px 40px;
	padding:28px 0 32px;border-top:1px solid var(--rule);
	color:var(--faint);font-size:.8125rem;line-height:1.5;
}
.eds-ftr:not(#eds) .eds-ftr__legal{margin-right:auto}
.eds-ftr:not(#eds) .eds-ftr__travel{display:inline-flex;align-items:center;gap:6px}
.eds-ftr:not(#eds) .eds-ftr__top{
	display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;
	border:0;border-radius:0;background:none;box-shadow:none;
	color:var(--faint);font:inherit;font-size:.8125rem;letter-spacing:0;text-transform:none;
	cursor:pointer;transition:color .25s var(--ease);
}
.eds-ftr:not(#eds) .eds-ftr__top:is(:hover,:focus-visible){color:var(--fg);background:none}
.eds-ftr:not(#eds) .eds-ftr__top svg{transition:transform .35s var(--ease)}
.eds-ftr:not(#eds) .eds-ftr__top:hover svg{transform:translateY(-3px)}

/* ---------- tablet ---------- */
@media (max-width:1024px){
	.eds-ftr:not(#eds) .eds-ftr__cta{grid-template-columns:1fr;align-items:start;gap:32px}
	.eds-ftr:not(#eds) .eds-ftr__cta-side{max-width:560px}
	.eds-ftr:not(#eds) .eds-ftr__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
	.eds-ftr:not(#eds) .eds-ftr__brand,.eds-ftr:not(#eds) .eds-ftr__col--clinics{grid-column:1 / -1}
	.eds-ftr:not(#eds) .eds-ftr__brand{display:grid;grid-template-columns:auto 1fr;column-gap:24px;align-items:center}
	.eds-ftr:not(#eds) .eds-ftr__logo{grid-row:span 2;height:var(--logo-h,96px);margin:0}
	.eds-ftr:not(#eds) .eds-ftr__logo + .eds-ftr__about{grid-row:span 2;align-self:center}
	.eds-ftr:not(#eds) .eds-ftr__name{margin:0;align-self:end}
	.eds-ftr:not(#eds) .eds-ftr__about{align-self:start;max-width:46ch}
}

/* ---------- phone ---------- */
@media (max-width:767px){
	.eds-ftr:not(#eds) .eds-ftr__eyebrow{margin-bottom:16px}
	.eds-ftr:not(#eds) .eds-ftr__cta-side{gap:28px}
	.eds-ftr:not(#eds) .eds-ftr__lead{font-size:1.0625rem}
	.eds-ftr:not(#eds) .eds-ftr__grid{column-gap:24px}
	.eds-ftr:not(#eds) .eds-ftr__logo{height:var(--logo-h,80px)}
	.eds-ftr:not(#eds) .eds-ftr__brand{column-gap:18px}
	.eds-ftr:not(#eds) .eds-ftr__clinics{grid-template-columns:1fr;gap:32px}
	.eds-ftr:not(#eds) .eds-ftr__head{margin-bottom:18px}
	.eds-ftr:not(#eds) .eds-ftr__bar{flex-direction:column;align-items:flex-start;gap:14px;padding:24px 0 96px}
	.eds-ftr:not(#eds) .eds-ftr__legal{margin:0}
}

@media (prefers-reduced-motion:reduce){
	.eds-ftr:not(#eds) *{transition-duration:.01ms !important}
}
