/**
 * Shared site header & footer.
 *
 * @package AriawellTheme
 */

/* ------------------------------------------------------------------ */
/* Header — base                                                        */
/* ------------------------------------------------------------------ */

.site-header {
	z-index: 100;
	padding-left: var(--aw-layout-gutter-x);
	padding-right: var(--aw-layout-gutter-x);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1680px;
	margin: 0 auto;
	padding: 1.8125rem 0;
	min-height: var(--aw-header-height);
}

.site-header__logo-link {
	display: block;
	line-height: 0;
}

.site-header__logo-link img {
	width: 108px;
	height: 28px;
	object-fit: contain;
}

.site-header__logo-img--mobile {
	display: none;
}

.site-header__logo-img--dark {
	display: none;
}

.site-header__menu {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3.2vw, 5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu a {
	font-family: var(--aw-font-sans);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.site-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.site-header__toggle-icon {
	width: 22px;
	height: 16px;
	object-fit: contain;
}

/* Solid header — front page */
.site-header--solid {
	position: sticky;
	top: 0;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site-header--solid .site-header__menu a {
	color: #111;
}

.site-header--solid .site-header__menu a:hover,
.site-header--solid .site-header__menu a:focus-visible {
	color: var(--aw-color-accent);
	opacity: 1;
}

.site-header--solid .site-header__toggle-icon {
	filter: none;
}

/* Overlay header — hero pages */
.site-header--overlay {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom: 0;
}

.site-header--overlay + .site-main > :first-child {
	margin-top: calc(-1 * var(--aw-header-height));
	padding-top: var(--aw-header-height);
}

.site-header--overlay .site-header__menu a {
	color: #fff;
}

.site-header--overlay .site-header__menu a:hover,
.site-header--overlay .site-header__menu a:focus-visible {
	opacity: 0.85;
}

.site-header--overlay .site-header__toggle-icon {
	filter: brightness(0) invert(1);
}

/* Overlay header — scroll state */
body.is-scrolled .site-header--overlay {
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.is-scrolled .site-header--overlay .site-header__menu a {
	color: #111;
}

body.is-scrolled .site-header--overlay .site-header__menu a:hover,
body.is-scrolled .site-header--overlay .site-header__menu a:focus-visible {
	color: var(--aw-color-accent);
	opacity: 1;
}

body.is-scrolled .site-header--overlay .site-header__logo-img--desktop {
	display: none;
}

body.is-scrolled .site-header--overlay .site-header__logo-img--dark {
	display: block;
}

body.is-scrolled .site-header--overlay .site-header__toggle-icon {
	filter: none;
}

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.site-footer {
	margin-top: 0;
}

.site-footer__bar {
	background: #000;
	border-radius: 60px 60px 0 0;
	padding-left: var(--aw-layout-gutter-x);
	padding-right: var(--aw-layout-gutter-x);
}

.site-footer__inner {
	max-width: var(--aw-content-max);
	margin: 0 auto;
	padding: 3.75rem 0 2.5rem;
}

.site-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.site-footer__logo {
	width: 71px;
	height: 19px;
	object-fit: contain;
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-footer__social-link {
	display: block;
	line-height: 0;
	transition: opacity 0.2s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
	opacity: 0.8;
}

.site-footer__social-link img {
	width: 38px;
	height: 38px;
}

.site-footer__info {
	display: flex;
	flex-direction: column;
	gap: 0.3125rem;
	margin-bottom: 1.5rem;
}

.site-footer__info-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: var(--aw-font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.375;
	color: #9e9e9e;
	letter-spacing: -0.01em;
}

.site-footer__divider {
	display: inline-block;
	width: 1px;
	height: 10px;
	background: #5e5e5e;
}

.site-footer__info-stack {
	display: none;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-footer__copyright {
	margin: 0;
	font-family: var(--aw-font-sans);
	font-size: 0.9375rem;
	color: #777;
	letter-spacing: -0.01em;
}

.site-footer__legal {
	display: flex;
	align-items: center;
	gap: 1.125rem;
}

.site-footer__legal a {
	font-family: var(--aw-font-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	color: #999;
	letter-spacing: -0.02em;
	transition: color 0.2s ease;
}

.site-footer__legal a:last-child {
	color: #777;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Contact section (front page footer)                                */
/* ------------------------------------------------------------------ */

.contact-section__info-line {
	display: block;
}

.contact-section__info-line--mobile {
	display: none;
}

.contact-section {
	--aw-contact-height: 32.375rem;
	position: relative;
	min-height: calc(1.125rem + var(--aw-contact-height));
	padding: 1.125rem var(--aw-layout-gutter-x) 0;
}

.contact-section__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5.375rem;
	max-width: var(--aw-content-max);
	min-height: var(--aw-contact-height);
	margin: 0 auto;
	padding: 0;
}

.contact-section__visual {
	position: relative;
	flex: 0 0 auto;
	width: 35.875rem;
	max-width: 100%;
	height: 30.625rem;
}

.contact-section__content {
	display: flex;
	flex: 0 1 32rem;
	flex-direction: column;
	gap: 2.5rem;
	max-width: 32rem;
}

.contact-section__hours {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.contact-section__details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2.125rem;
}

.contact-section__character {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 23.25rem;
	max-width: 65%;
	height: auto;
}

.contact-section__speech {
	position: absolute;
	top: 0;
	left: 19.8125rem;
	width: 16.0625rem;
	max-width: 55%;
}

.contact-section__speech-bg {
	display: block;
	width: 100%;
	height: auto;
}

.contact-section__speech-text {
	position: absolute;
	left: 50%;
	top: 50%;
	width: calc(100% - 2rem);
	margin: 0;
	font-family: var(--aw-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 2.3125rem;
	color: #73321a;
	text-align: center;
	transform: translate(-50%, -58%);
}

.contact-section__info-text {
	margin: 0;
	font-family: var(--aw-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 2.125rem;
	color: #111;
	letter-spacing: -0.01em;
}

.contact-section__hours-label {
	margin: 0;
	font-family: var(--aw-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: #111;
	letter-spacing: -0.01em;
}

.contact-section__hours-row {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.contact-section__hours-row img {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.contact-section__hours-day {
	font-family: var(--aw-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: #111;
	letter-spacing: -0.02em;
}

.contact-section__hours-time {
	font-family: var(--aw-font-display);
	font-size: 1.625rem;
	font-weight: 700;
	color: #111;
	letter-spacing: 0.02em;
}

.contact-section__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-width: 21.25rem;
	min-height: 4.125rem;
	padding: 1rem 2.375rem;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: inset 2px 4px 10px rgba(255, 255, 255, 0.3);
	font-family: var(--aw-font-display);
	font-size: 1.875rem;
	font-weight: 700;
	color: #000;
	letter-spacing: 0.02em;
	transition: background 0.2s ease;
}

.contact-section__phone:hover,
.contact-section__phone:focus-visible {
	background: rgba(255, 255, 255, 0.75);
}

.contact-section__phone img {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------ */
/* Floating menu                                                      */
/* ------------------------------------------------------------------ */

.floating-menu {
	position: fixed;
	right: var(--aw-layout-gutter-x);
	bottom: 2rem;
	z-index: 900;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.floating-menu__item {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-width: 10.5rem;
	padding: 0.875rem 1.125rem;
	border-radius: 8px;
	background: var(--aw-color-accent);
	box-shadow: var(--aw-shadow-md);
	font-family: var(--aw-font-sans);
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.02em;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-menu__item:hover,
.floating-menu__item:focus-visible {
	background: #e66d00;
	transform: translateY(-1px);
	box-shadow: 0 16px 36px rgba(255, 122, 0, 0.28);
}

.floating-menu__item img {
	width: 12px;
	height: 8px;
	flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
	.site-header__inner {
		height: var(--aw-header-height);
		min-height: var(--aw-header-height);
		padding-top: 0;
		padding-bottom: 0;
	}

	.site-header__logo-img--desktop,
	.site-header--overlay .site-header__logo-img--dark {
		display: none;
	}

	.site-header__logo-img--mobile {
		display: block;
		width: 72px;
		height: 19px;
	}

	.site-header--overlay .site-header__logo-img--mobile {
		filter: brightness(0) invert(1);
	}

	body.is-scrolled .site-header--overlay .site-header__logo-img--dark {
		display: none;
	}

	body.is-scrolled .site-header--overlay .site-header__logo-img--mobile {
		filter: none;
	}

	.site-header__toggle {
		display: flex;
	}

	.site-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 1rem 0 1.5rem;
		background: #fff;
		border-bottom: 1px solid var(--aw-color-border);
	}

	.site-header.is-open .site-header__nav {
		display: block;
	}

	.site-header--overlay.is-open {
		background: #fff;
		border-bottom: 1px solid rgba(0, 0, 0, 0.04);
	}

	.site-header--overlay.is-open .site-header__logo-img--mobile {
		filter: none;
	}

	.site-header--overlay.is-open .site-header__toggle-icon {
		filter: none;
	}

	.site-header__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.site-header__nav .site-header__menu a {
		display: block;
		width: 100%;
		padding: 0.75rem var(--aw-layout-gutter-x);
		font-size: 1rem;
		color: #111;
		opacity: 1;
		box-sizing: border-box;
	}

	.site-header__nav .site-header__menu a:hover,
	.site-header__nav .site-header__menu a:focus-visible {
		color: var(--aw-color-accent);
		opacity: 1;
	}

	.site-header__toggle-icon {
		filter: none;
	}

	.site-footer__bar {
		border-radius: 40px 40px 0 0;
	}

	.site-footer__inner {
		display: flex;
		flex-direction: column;
		padding: 3.75rem 0 2rem;
	}

	.site-footer__top {
		display: contents;
	}

	.site-footer__logo {
		order: 1;
		margin-bottom: 1.75rem;
	}

	.site-footer__info {
		order: 2;
		margin-bottom: 1.75rem;
	}

	.site-footer__social {
		order: 3;
		margin-bottom: 1.75rem;
	}

	.site-footer__bottom {
		order: 4;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.75rem;
	}

	.site-footer__social-link img {
		width: 42px;
		height: 42px;
	}

	.site-footer__info-row--desktop {
		display: none;
	}

	.site-footer__info-stack {
		display: flex;
		flex-direction: column;
		gap: 0.375rem;
		margin: 0;
		font-family: var(--aw-font-sans);
		font-size: 0.9375rem;
		font-weight: 400;
		line-height: 1.375;
		color: #9e9e9e;
		letter-spacing: -0.01em;
	}

	.site-footer__info-stack p {
		margin: 0;
	}

	.site-footer__copyright {
		font-size: 0.875rem;
	}

	.site-footer__legal a {
		font-size: 0.9375rem;
	}

	.contact-section {
		--aw-contact-height: auto;
		min-height: 0;
		padding: 2.5rem var(--aw-layout-gutter-x) 0;
	}

	.contact-section__inner {
		flex-direction: column;
		gap: 2rem;
		min-height: 0;
		padding: 0;
	}

	.contact-section__content {
		flex: 1 1 auto;
		order: 1;
		width: 100%;
		max-width: none;
		gap: 1.875rem;
	}

	.contact-section__visual {
		order: 2;
		width: 100%;
		max-width: 20rem;
		height: 15rem;
		margin: 0 auto;
	}

	.contact-section__hours-label {
		font-size: 1rem;
	}

	.contact-section__hours-day {
		font-size: 1.25rem;
	}

	.contact-section__hours-time {
		font-size: 1.5rem;
	}

	.contact-section__info-text {
		font-size: 1.25rem;
		line-height: 1.875rem;
	}

	.contact-section__info-line--desktop {
		display: none;
	}

	.contact-section__info-line--mobile {
		display: block;
	}

	.contact-section__phone {
		width: 100%;
		min-width: 0;
		padding: 1rem 3rem;
		font-size: 1.625rem;
	}

	.contact-section__phone img {
		width: 24px;
		height: 24px;
	}

	.contact-section__character {
		left: 1.875rem;
		width: 11.25rem;
		max-width: none;
	}

	.contact-section__speech {
		left: auto;
		right: 1.875rem;
		top: -0.5rem;
		width: 9.4375rem;
		max-width: none;
	}

	.contact-section__speech-text {
		font-size: 1.0625rem;
		line-height: 1.5rem;
	}

	.floating-menu {
		right: var(--aw-layout-gutter-x);
		bottom: 1.25rem;
		gap: 0.5rem;
	}

	.floating-menu__item {
		justify-content: center;
		min-width: auto;
		padding: 0.75rem 1rem;
		font-size: 0.9375rem;
	}

	.floating-menu__item img {
		display: none;
	}
}

@media (max-width: 1024px) {
	.contact-section__inner {
		flex-direction: column;
		gap: 2.5rem;
	}

	.contact-section__visual {
		width: min(100%, 28rem);
		height: 20rem;
	}

	.contact-section__character {
		width: min(65%, 16rem);
	}

	.contact-section__speech {
		left: auto;
		right: 0;
		width: min(55%, 12rem);
	}
}
