/*
 * Blush Salon - Demo 2 "Serene" design.
 *
 * Part A styles the Demo 2 sections (classes starting with d2-, cal, topbar...).
 * They only use theme variables, so the Booking and Appointment pages also work with Demo 1.
 * Part B (scoped to body.demo-2) restyles the whole theme: fonts, colors, header,
 * buttons, forms, inner page hero and the existing sections.
 *
 * Mobile first. Breakpoints: 600px, 768px, 900px, 1024px.
 */

/* ==========================================================================
   Part A - Demo 2 sections
   ========================================================================== */

.d2-center {
	text-align: center;
}

/* Section heading with a faint script word ---------------------------------- */
.d2-head {
	position: relative;
	isolation: isolate;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.d2-head--center {
	text-align: center;
}

.d2-head__script {
	position: absolute;
	top: 50%;
	left: -0.05em;
	z-index: -1;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(4.2rem, 2.5rem + 7vw, 8.5rem);
	line-height: 1;
	white-space: nowrap;
	color: currentColor;
	opacity: 0.055;
	transform: translateY(-58%);
	pointer-events: none;
	user-select: none;
}

.d2-head--center .d2-head__script {
	left: 50%;
	transform: translate(-50%, -58%);
}

.d2-head__eyebrow {
	margin: 0 0 6px;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--c-primary-ink);
}

.d2-head__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2rem, 1.35rem + 2.5vw, 3.1rem);
	line-height: 1.12;
	color: var(--c-heading);
}

.d2-head--light .d2-head__title,
.d2-head--light .d2-head__eyebrow {
	color: var(--c-white);
}

.d2-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-muted);
	transition: color 0.2s, gap 0.2s;
}

.d2-more .icon {
	width: 14px;
	height: 14px;
}

.d2-more:hover {
	gap: 10px;
	color: var(--c-primary-ink);
}

.d2-checks {
	display: grid;
	gap: 12px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.d2-checks li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.9375rem;
	color: var(--c-heading);
}

.d2-checks .icon {
	width: 24px;
	height: 24px;
	padding: 5px;
	border: 1px solid var(--c-primary);
	border-radius: 50%;
	color: var(--c-primary-ink);
	stroke-width: 2.4;
}

/* Hero ------------------------------------------------------------------------ */
.d2-hero {
	display: grid;
	overflow: hidden;
	background: var(--c-soft, var(--c-blush));
}

.d2-hero__content {
	display: flex;
	align-items: center;
	padding: clamp(56px, 9vw, 120px) var(--gutter);
}

.d2-hero__text {
	position: relative;
	isolation: isolate;
	max-width: 540px;
}

.d2-hero__script {
	position: absolute;
	top: -0.45em;
	left: -0.08em;
	z-index: -1;
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(5rem, 3rem + 9vw, 10rem);
	line-height: 1;
	white-space: nowrap;
	color: var(--c-heading);
	opacity: 0.07;
	pointer-events: none;
}

.d2-hero__title {
	margin: 0 0 20px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2.6rem, 1.5rem + 4vw, 4.6rem);
	line-height: 1.06;
	color: var(--c-heading);
}

.d2-hero__lead {
	margin-bottom: 32px;
	font-size: 1.0625rem;
	max-width: 440px;
}

.d2-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	max-height: 520px;
	object-fit: cover;
}

@media (min-width: 900px) {
	.d2-hero {
		grid-template-columns: 1fr 1fr;
		min-height: clamp(520px, 46vw, 680px);
	}

	.d2-hero__content {
		justify-content: flex-end;
		padding-right: clamp(32px, 5vw, 80px);
	}

	.d2-hero__text {
		width: 100%;
		max-width: calc(var(--container) / 2 - 60px);
	}

	.d2-hero__media img {
		max-height: none;
	}
}

/* About ---------------------------------------------------------------------- */
.d2-about__grid {
	display: grid;
	gap: clamp(48px, 7vw, 96px);
	align-items: center;
}

.d2-about__media {
	position: relative;
	max-width: 520px;
}

.d2-about__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.d2-about__badge {
	position: absolute;
	right: -12px;
	bottom: -24px;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 20px 26px;
	background: var(--c-dark, #232323);
	color: var(--c-white);
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
}

.d2-about__badge strong {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 2.6rem;
	line-height: 1;
}

@media (min-width: 900px) {
	.d2-about__grid {
		grid-template-columns: 0.9fr 1fr;
	}

	.d2-about__badge {
		right: -32px;
	}
}

/* Treatments -------------------------------------------------------------------- */
.d2-treat {
	position: relative;
	overflow: hidden;
}

.d2-treat__round {
	position: absolute;
	display: none;
	width: clamp(160px, 17vw, 250px);
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
}

.d2-treat__round--1 {
	left: -50px;
	bottom: 60px;
}

.d2-treat__round--2 {
	right: -30px;
	top: 70px;
}

@media (min-width: 1100px) {
	.d2-treat__round {
		display: block;
	}
}

.d2-treat__grid {
	display: grid;
	gap: 32px 56px;
	max-width: 760px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.d2-treat__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.d2-feature {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.d2-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--c-soft, var(--c-grey));
	color: var(--c-primary-ink);
}

.d2-feature__icon .icon {
	width: 28px;
	height: 28px;
	stroke-width: 1.4;
}

.d2-feature__title {
	margin: 4px 0 4px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.5rem;
}

.d2-feature p {
	margin: 0;
	font-size: 0.875rem;
}

/* Portfolio -------------------------------------------------------------------- */
.d2-works__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 0 0 48px;
	padding: 0;
	list-style: none;
}

.d2-works__item {
	overflow: hidden;
}

.d2-works__item img {
	display: block;
	width: 100%;
	aspect-ratio: 8 / 9;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.d2-works__item:hover img {
	transform: scale(1.06);
}

@media (min-width: 900px) {
	.d2-works__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 28px;
		max-width: 1000px;
		margin-inline: auto;
		padding-top: 40px;
	}

	.d2-works__item:nth-child(3n + 2) {
		margin-top: -40px;
		margin-bottom: 40px;
	}
}

/* Reviews banner -------------------------------------------------------------- */
.d2-quote {
	padding-block: clamp(40px, 6vw, 72px);
}

.d2-quote__grid {
	display: grid;
	background: var(--c-soft, var(--c-blush));
}

.d2-quote__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
}

.d2-quote__body {
	min-width: 0;
	padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 64px);
	text-align: center;
}

.d2-quote__mark .icon {
	width: 40px;
	height: 40px;
	color: var(--c-primary);
	opacity: 0.6;
}

.d2-quote__slide {
	flex-basis: 100% !important;
}

.d2-quote__slide figure {
	margin: 0;
	width: 100%;
}

.d2-quote__slide blockquote {
	margin: 18px 0 24px;
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
	line-height: 1.45;
	color: var(--c-heading);
}

.d2-quote__slide blockquote p:last-child {
	margin: 0;
}

.d2-quote__slide figcaption {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-align: left;
}

.d2-quote__slide figcaption img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.d2-quote__slide figcaption strong {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.2rem;
	color: var(--c-heading);
}

.d2-quote__slide figcaption em {
	font-size: 0.8125rem;
	font-style: normal;
	color: var(--c-muted);
}

@media (min-width: 900px) {
	.d2-quote__grid {
		grid-template-columns: 1.05fr 1fr;
		align-items: center;
	}

	.d2-quote__media {
		align-self: stretch;
	}
}

/* Hours and contact cards (home) -------------------------------------------------- */
.d2-cards__grid {
	display: grid;
	gap: 28px;
}

.d2-card {
	display: grid;
	background: var(--c-white);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.d2-card__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	max-height: 320px;
	object-fit: cover;
}

.d2-card__body {
	padding: clamp(26px, 3vw, 40px);
	font-size: 0.875rem;
}

.d2-card__title {
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.9rem;
}

.d2-card__sub {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 4px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.15rem;
}

.d2-card__sub .icon {
	width: 18px;
	height: 18px;
	color: var(--c-primary-ink);
}

.d2-card p {
	margin-bottom: 0.6em;
}

.d2-card a:not(.btn) {
	color: inherit;
}

.d2-mini-hours {
	display: grid;
	gap: 6px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.d2-mini-hours li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.d2-mini-hours .icon {
	width: 16px;
	height: 16px;
	color: var(--c-primary-ink);
}

@media (min-width: 600px) {
	.d2-card {
		grid-template-columns: 0.85fr 1fr;
	}

	.d2-card__img {
		max-height: none;
	}
}

@media (min-width: 1100px) {
	.d2-cards__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Service icon cards ---------------------------------------------------------- */
.d2-svc-icons__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.d2-svc-icon {
	padding: 36px 22px 30px;
	background: var(--c-white);
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.06);
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s;
}

.d2-svc-icon:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

.d2-svc-icon__icon .icon {
	width: 54px;
	height: 54px;
	stroke-width: 1.1;
	color: var(--c-primary-ink);
}

.d2-svc-icon__title {
	margin: 18px 0 8px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.45rem;
}

.d2-svc-icon p {
	margin-bottom: 16px;
	font-size: 0.8125rem;
}

/* Journal ------------------------------------------------------------------------ */
.d2-news__grid {
	display: grid;
	gap: 36px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.d2-news__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.d2-news__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.d2-post__img {
	display: block;
	width: 100%;
	aspect-ratio: 10 / 7;
	object-fit: cover;
	margin-bottom: 18px;
}

.d2-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 8px;
	font-size: 0.75rem;
	color: var(--c-muted);
}

.d2-post__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.d2-post__meta .icon {
	width: 14px;
	height: 14px;
	color: var(--c-primary-ink);
}

.d2-post__title {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.25;
}

.d2-post__title a {
	color: var(--c-heading);
	text-decoration: none;
}

.d2-post__title a:hover {
	color: var(--c-primary-ink);
}

.d2-post p {
	font-size: 0.875rem;
}

/* Service photo cards ------------------------------------------------------------ */
.d2-services__grid {
	display: grid;
	gap: 30px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.d2-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.d2-services__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.d2-svc {
	position: relative;
	padding-bottom: 44px;
}

.d2-svc__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.d2-svc__caption {
	position: absolute;
	right: 8%;
	bottom: 0;
	left: 8%;
	padding: 20px 16px 18px;
	background: var(--c-white);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: transform 0.3s;
}

.d2-svc:hover .d2-svc__caption {
	transform: translateY(-8px);
}

.d2-svc__title {
	margin: 0 0 4px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.5rem;
}

.d2-svc__title a {
	color: var(--c-heading);
	text-decoration: none;
}

.d2-svc__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Counters band ------------------------------------------------------------------ */
.d2-stats {
	padding-block: clamp(36px, 5vw, 56px);
	background: var(--c-primary);
	color: var(--c-white);
}

.d2-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	margin: 0 auto;
	list-style: none;
}

.d2-stats__grid li {
	padding-left: 18px;
	border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.d2-stats strong {
	display: block;
	font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem);
	font-weight: 500;
	line-height: 1.1;
}

.d2-stats span {
	font-size: 0.8125rem;
	opacity: 0.9;
}

@media (min-width: 900px) {
	.d2-stats__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Popular treatments and tiles -------------------------------------------------- */
.d2-popular__grid {
	display: grid;
	gap: clamp(36px, 5vw, 64px);
	align-items: center;
}

.d2-popular__media img {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 10;
	object-fit: cover;
}

@media (min-width: 900px) {
	.d2-popular__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.d2-tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.d2-tiles--6 {
	margin-bottom: 0;
}

@media (min-width: 600px) {
	.d2-tiles--3,
	.d2-tiles--6 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.d2-tiles--6 {
		grid-template-columns: repeat(6, 1fr);
		gap: 18px;
	}
}

.d2-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 26px 10px 22px;
	border: 1px solid var(--c-line);
	background: var(--c-grey);
	font-size: 0.875rem;
	text-align: center;
	color: var(--c-heading);
	transition: background-color 0.25s, transform 0.25s;
}

.d2-tile:hover {
	background: var(--c-white);
	transform: translateY(-4px);
}

.d2-tile .icon {
	width: 40px;
	height: 40px;
	stroke-width: 1.2;
	color: var(--c-primary-ink);
}

/* Working hours split --------------------------------------------------------- */
.d2-hours {
	display: grid;
	background: var(--c-grey);
}

.d2-hours__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
	max-height: 460px;
	object-fit: cover;
}

.d2-hours__body {
	display: flex;
	align-items: center;
	padding: clamp(48px, 7vw, 110px) var(--gutter);
}

.d2-hours__inner {
	width: 100%;
	max-width: 520px;
}

.d2-hours__list {
	margin: 24px 0 32px;
}

.d2-hours__list div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--c-line);
	font-size: 0.875rem;
}

.d2-hours__list dt {
	color: var(--c-heading);
}

.d2-hours__list dd {
	margin: 0;
	text-align: right;
}

@media (min-width: 900px) {
	.d2-hours {
		grid-template-columns: 1fr 1fr;
	}

	.d2-hours__media img {
		max-height: none;
	}

	.d2-hours__body {
		padding-inline: clamp(40px, 6vw, 110px);
	}
}

/* Booking calendar ---------------------------------------------------------------- */
.d2-calendar__intro {
	max-width: 620px;
	margin: -12px auto 32px;
}

.cal {
	max-width: 920px;
	margin: 0 auto;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	background: var(--c-dark, #232323);
	color: var(--c-white);
}

.cal__title {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-white);
}

.cal__nav {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-white);
	font-size: 1.25rem;
	cursor: pointer;
}

.cal__nav:disabled {
	opacity: 0.25;
	cursor: default;
}

.cal__nav:focus-visible {
	outline-color: var(--c-white);
}

.cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	background: var(--c-white);
}

.cal__dow {
	padding: 8px 2px;
	background: #111;
	color: #d6d6d6;
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

.cal__day {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: inset -1px -1px 0 var(--c-line);
	background: var(--c-white);
	color: var(--c-heading);
	font: inherit;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

button.cal__day:hover {
	background: var(--c-soft, var(--c-blush));
}

.cal__day.is-off {
	background: var(--c-grey);
	color: #bdbdbd;
	cursor: default;
}

.cal__day.is-outside {
	color: #d7d7d7;
}

.cal__day.is-today {
	position: relative;
	font-weight: 600;
	color: var(--c-primary-ink);
}

.cal__day.is-today::after {
	content: "";
	position: absolute;
	width: 2.2em;
	height: 2.2em;
	border: 1px solid var(--c-primary);
	border-radius: 50%;
}

.cal__day[aria-pressed="true"] {
	background: var(--c-primary);
	color: var(--c-white);
}

.cal__day:focus-visible {
	position: relative;
	z-index: 1;
	outline-offset: -3px;
	border-radius: 0;
}

.cal__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 18px 0 0;
	font-size: 0.8125rem;
}

.cal__key {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 10px;
	vertical-align: middle;
}

.cal__key--today {
	border: 1px solid var(--c-primary);
	border-radius: 50%;
}

.cal__key--closed {
	background: var(--c-grey);
	border: 1px solid var(--c-line);
}

@media (min-width: 768px) {
	.cal__day {
		aspect-ratio: 1 / 0.82;
	}
}

/* Forms --------------------------------------------------------------------------- */
.d2-form-wrap {
	max-width: 920px;
	margin: 0 auto;
}

.d2-form {
	display: grid;
	gap: 18px;
}

@media (min-width: 768px) {
	.d2-form {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

.d2-field {
	position: relative;
	margin: 0;
}

.d2-field--full {
	grid-column: 1 / -1;
}

.d2-field input,
.d2-field select,
.d2-field textarea {
	width: 100%;
	min-height: 54px;
	padding: 12px 46px 12px 18px;
	border: 1px solid var(--c-line);
	border-radius: 0;
	background: var(--c-white);
	font-size: 0.875rem;
	color: var(--c-heading);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.d2-field select {
	background-image: none;
}

.d2-field textarea {
	min-height: 150px;
	padding-right: 18px;
}

.d2-field > .icon {
	position: absolute;
	top: 50%;
	right: 16px;
	width: 17px;
	height: 17px;
	color: var(--c-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.d2-field--split {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 10px;
}

.d2-field--split input {
	padding-right: 10px;
}

.btn--wide {
	min-width: min(300px, 100%);
}

/* Contact info cards -------------------------------------------------------------- */
.d2-info__grid {
	display: grid;
	gap: 24px;
	margin: 0 auto;
	list-style: none;
}

@media (min-width: 768px) {
	.d2-info__grid {
		grid-template-columns: repeat(3, 1fr);
		max-width: 1000px;
	}
}

.d2-info__card {
	padding: 40px 24px 32px;
	border: 1px solid var(--c-line);
	background: var(--c-grey);
	text-align: center;
	font-size: 0.9375rem;
}

.d2-info__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--c-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	color: var(--c-primary-ink);
}

.d2-info__icon .icon {
	width: 28px;
	height: 28px;
}

.d2-info__title {
	margin-bottom: 8px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.7rem;
}

.d2-info__card p {
	margin: 0;
}

.d2-info__card a {
	color: inherit;
	text-decoration: none;
}

.d2-info__card a:hover {
	color: var(--c-primary-ink);
}

/* Top bar ------------------------------------------------------------------------- */
.topbar {
	background: var(--c-dark, #232323);
	color: #d9d9d9;
	font-size: 0.78rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px 28px;
	min-height: 40px;
	padding-block: 6px;
}

.topbar__info {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar__info li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.topbar__info .icon {
	width: 14px;
	height: 14px;
}

.topbar__label {
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.topbar a {
	color: inherit;
	text-decoration: none;
}

.topbar a:hover {
	color: var(--c-white);
}

.topbar__address,
.topbar__phone,
.topbar .social-list {
	display: none !important;
}

@media (min-width: 768px) {
	.topbar__address {
		display: inline-flex !important;
	}
}

@media (min-width: 1200px) {
	.topbar__inner {
		justify-content: space-between;
	}

	.topbar__phone {
		display: inline-flex !important;
	}

	.topbar .social-list {
		display: flex !important;
	}
}

.social-list--topbar {
	gap: 4px;
}

.social-list--topbar a {
	width: 28px;
	height: 28px;
	background: transparent;
	color: #d9d9d9;
}

.social-list--topbar a:hover {
	background: transparent;
	color: var(--c-white);
	transform: none;
}

.social-list--topbar .icon {
	width: 15px;
	height: 15px;
}

/* Header search --------------------------------------------------------------------- */
.header-search {
	position: relative;
	display: flex;
	align-items: center;
}

.header-search__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-heading);
	cursor: pointer;
}

.header-search__toggle .icon {
	width: 21px;
	height: 21px;
	stroke-width: 2;
}

.header-search__panel {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	z-index: 20;
	width: min(360px, calc(100vw - 2 * var(--gutter)));
	padding: 14px;
	background: var(--c-white);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.header-search__panel[hidden] {
	display: none;
}

.header-search__panel .search-form {
	display: flex;
	gap: 8px;
}

/* Demo 2 footer ----------------------------------------------------------------- */
.d2-footer {
	background: var(--c-dark, #232323);
	color: #b9b9b9;
	font-size: 0.875rem;
}

.d2-footer__grid {
	display: grid;
	gap: 40px 32px;
	padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px);
}

@media (min-width: 600px) {
	.d2-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.d2-footer__grid {
		grid-template-columns: 1fr 1fr 1.2fr 1.3fr;
	}
}

.d2-footer__title {
	margin-bottom: 22px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.5rem;
	color: var(--c-white);
}

.d2-footer__menu {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.d2-footer__menu li {
	position: relative;
	padding-left: 14px;
}

.d2-footer__menu li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--c-primary);
}

.d2-footer a {
	color: #c9c9c9;
	text-decoration: none;
}

.d2-footer a:hover {
	color: var(--c-white);
}

.d2-footer__contact {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.d2-footer__contact li {
	display: flex;
	gap: 12px;
}

.d2-footer__contact .icon {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--c-primary);
}

.d2-footer__contact strong {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--c-white);
}

.d2-newsletter__form {
	display: flex;
	margin: 0 0 26px;
	border: 1px solid #4a4a4a;
}

.d2-newsletter__form input {
	flex: 1;
	min-width: 0;
	min-height: 50px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--c-white);
}

.d2-newsletter__form input::placeholder {
	color: #9a9a9a;
}

.d2-newsletter__form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 52px;
	margin: 4px;
	padding: 0;
	border: 0;
	background: var(--c-primary);
	color: var(--c-white);
	cursor: pointer;
	transition: background-color 0.2s;
}

.d2-newsletter__form button:hover {
	background: var(--c-primary-deep);
}

.social-list--round a {
	width: 40px;
	height: 40px;
	border: 1px solid #4a4a4a;
	background: transparent;
	color: #c9c9c9;
}

.social-list--round a:hover {
	border-color: var(--c-primary);
	background: var(--c-primary);
	color: var(--c-white);
}

.d2-footer__bar {
	border-top: 1px solid #353535;
	font-size: 0.8125rem;
}

.d2-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 32px;
	padding-block: 22px;
}

.d2-footer__bar p {
	margin: 0;
}

/* ==========================================================================
   Part B - Demo 2 theme-wide design
   ========================================================================== */

.demo-2 {
	--c-primary: #6e8f96;
	--c-accent: #6e8f96;
	--c-dark: #232323;
	--c-soft: #f5eeea;
	--c-blush: #f5eeea;
	--c-primary-ink: #4f6d74;
	--c-primary-deep: #3b5257;
	--c-accent-ink: #fff;
	--c-heading: #222;
	--c-text: #5f5f5f;
	--c-muted: #8a8a8a;
	--c-grey: #f6f6f6;
	--c-input: #fff;
	--c-line: #e8e8e8;
	--font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--radius: 0;
	--radius-sm: 0;
	--shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
	--shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.06);
	--header-h: 72px;
	font-size: 0.9375rem;
	overflow-x: clip;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.demo-2 {
		--c-primary-ink: color-mix(in srgb, var(--c-primary) 72%, #000);
		--c-primary-deep: color-mix(in srgb, var(--c-primary) 56%, #000);
	}
}

@media (min-width: 768px) {
	.demo-2 {
		--header-h: 84px;
	}
}

.demo-2 h1,
.demo-2 h2,
.demo-2 h3,
.demo-2 h4,
.demo-2 h5,
.demo-2 h6 {
	font-weight: 500;
}

.demo-2 ::selection {
	background: var(--c-primary);
	color: var(--c-white);
}

/* Buttons */
.demo-2 .btn,
.demo-2 .wp-block-button__link,
.demo-2 .wp-element-button {
	min-height: 48px;
	padding: 12px 28px;
	border: 1px solid var(--c-dark);
	background: var(--c-dark);
	color: var(--c-white);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.demo-2 .btn .icon {
	width: 15px;
	height: 15px;
}

.demo-2 .btn:hover,
.demo-2 .wp-block-button__link:hover,
.demo-2 .wp-element-button:hover {
	border-color: var(--c-primary);
	background: var(--c-primary);
	color: var(--c-white);
	box-shadow: none;
}

.demo-2 .btn--accent {
	border-color: var(--c-primary);
	background: var(--c-primary);
}

.demo-2 .btn--accent:hover {
	border-color: var(--c-dark);
	background: var(--c-dark);
}

.demo-2 .btn--outline {
	background: transparent;
	color: var(--c-heading);
}

.demo-2 .btn--outline:hover {
	border-color: var(--c-dark);
	background: var(--c-dark);
}

.demo-2 .btn--light {
	border-color: var(--c-white);
	background: var(--c-white);
	color: var(--c-heading);
}

.btn--sm,
.demo-2 .btn--sm {
	min-height: 40px;
	padding: 8px 18px;
}

/* Forms */
.demo-2 input:focus-visible,
.demo-2 select:focus-visible,
.demo-2 textarea:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 0;
	border-color: var(--c-primary);
}

/* Header */
.demo-2 .site-header {
	border-bottom: 1px solid var(--c-line);
}

.demo-2 .site-header.is-scrolled {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.demo-2 .text-logo {
	padding-left: 0;
	font-style: italic;
	font-weight: 600;
	font-size: 2rem;
	letter-spacing: 0;
	text-transform: none;
}

.demo-2 .text-logo__mark {
	display: none;
}

.demo-2 .nav-toggle {
	order: 3;
	background: transparent;
	color: var(--c-heading);
}

.demo-2 .header-search {
	order: 2;
	margin-left: auto;
}

.demo-2 .main-nav .menu a {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-heading);
}

.demo-2 .main-nav .menu a:hover,
.demo-2 .main-nav .menu .current-menu-item > a,
.demo-2 .main-nav .menu .current-menu-ancestor > a,
.demo-2 .main-nav .menu .current_page_item > a {
	color: var(--c-primary-ink);
}

.demo-2 .main-nav .sub-menu a {
	font-size: 0.75rem;
}

.demo-2 .main-nav__cta {
	min-height: 42px;
	padding: 10px 22px;
	white-space: nowrap;
}

.demo-2 .main-nav .menu > li > a {
	white-space: nowrap;
}

@media (max-width: 1023.98px) {
	.demo-2 .main-nav {
		box-shadow: 0 24px 40px rgba(0, 0, 0, 0.1);
	}
}

@media (min-width: 1024px) {
	.demo-2 .site-header__inner {
		gap: 32px;
	}

	.demo-2 .main-nav {
		flex: 1;
		justify-content: flex-end;
		gap: 32px;
	}

	.demo-2 .main-nav .menu {
		gap: clamp(14px, 1.6vw, 28px);
		margin-right: auto;
		margin-left: auto;
	}

	.demo-2 .header-search {
		order: 4;
		margin-left: -12px;
	}

	.demo-2 .site-branding {
		flex: none;
	}
}

@media (min-width: 1024px) and (max-width: 1239.98px) {
	.demo-2 .main-nav__cta {
		display: none;
	}
}

/* Section headings used by the shared sections */
.demo-2 .eyebrow {
	margin-bottom: 8px;
	font-family: var(--font-body);
	font-style: normal;
	font-weight: 400;
	font-size: 0.9375rem;
	color: var(--c-primary-ink);
}

.demo-2 .section-title {
	font-weight: 500;
	font-size: clamp(2rem, 1.35rem + 2.5vw, 3.1rem);
	line-height: 1.12;
	color: var(--c-heading);
}

.demo-2 .section-title--sm {
	font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
}

.demo-2 .section--grey {
	background: var(--c-grey);
}

/* Inner page hero */
.demo-2 .page-hero {
	min-height: clamp(260px, 30vw, 400px);
	background-color: #555;
}

.demo-2 .page-hero::before,
.demo-2 .video-banner::before {
	background: rgba(20, 20, 20, 0.42);
}

.demo-2 .page-hero__title {
	font-weight: 500;
	font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);
	line-height: 1.05;
}

.demo-2 .page-hero__subtitle {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	opacity: 0.9;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 0;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
}

.breadcrumb li + li::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 12px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
}

.breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

/* Shared sections restyled */
.demo-2 .testimonial,
.demo-2 .value-card,
.demo-2 .team-card,
.demo-2 .contact-card,
.demo-2 .form-card {
	border-radius: 0;
}

.demo-2 .testimonial blockquote {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25rem;
}

.demo-2 .testimonial__name {
	color: var(--c-heading);
}

.demo-2 .carousel__dot::before {
	width: 8px;
	height: 8px;
	border-width: 1px;
	border-color: var(--c-heading);
}

.demo-2 .carousel__dot[aria-current="true"]::before {
	background: var(--c-heading);
}

.demo-2 .social-list:not(.social-list--round):not(.social-list--topbar) a {
	background: var(--c-grey);
	color: var(--c-heading);
}

.demo-2 .social-list:not(.social-list--topbar) a:hover {
	background: var(--c-primary);
	color: var(--c-white);
}

.demo-2 .play-btn {
	border-width: 1px;
	border-color: rgba(255, 255, 255, 0.85);
	background: transparent;
}

.demo-2 .play-btn:hover {
	background: var(--c-primary);
	border-color: var(--c-primary);
}

.demo-2 .video-banner {
	min-height: clamp(360px, 40vw, 560px);
}

.demo-2 .video-banner__title {
	font-weight: 500;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
}

.demo-2 .map iframe {
	filter: grayscale(1) contrast(1.05);
}

.demo-2 .map__placeholder {
	filter: grayscale(1);
}

/* Blog */
.demo-2 .entry-title a,
.demo-2 .widget-title {
	color: var(--c-heading);
}

/* Elementor: the seeded widgets follow the Demo 2 fonts and button style. */
.demo-2 .elementor .elementor-element.blush-el-display .elementor-heading-title {
	font-weight: 500;
}

.demo-2 .elementor .elementor-element.elementor-widget-button .elementor-button {
	padding: 16px 30px;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.demo-2 .elementor .elementor-element.elementor-widget-icon-box .elementor-icon-box-title {
	font-family: var(--font-body);
	font-weight: 400;
}

@media (max-width: 599.98px) {
	.demo-2 .text-logo {
		font-size: 1.45rem;
		line-height: 1.15;
	}
}
