/* =========================================================================
   DecantQ Contact and About pages (.dq-page, .dq-contact, .dq-about).
   Tokens: tokens.css. Buttons, vials and the kit reset: catalog.css.
   ====================================================================== */

body.dq-content-page #content.site-main,
body.dq-content-page .site-main .page-content {
	max-width: none;
	margin: 0;
	padding: 0;
}

.dq-page {
	--dq-gutter: clamp(16px, 3vw, 32px);
	--dq-space: clamp(56px, 8vw, 104px);
	box-sizing: border-box;
	max-width: 1240px;
	margin-inline: auto;
	padding: clamp(24px, 4vw, 56px) var(--dq-gutter) var(--dq-space);
	color: var(--dq-ink);
	font-size: 16px;
	line-height: 1.55;
}
.dq-page *,
.dq-page *::before,
.dq-page *::after {
	box-sizing: border-box;
}
.dq-page.dq-page :where(label, button, input, th, td, strong, small, summary, dt, dd) {
	text-transform: none;
	letter-spacing: normal;
	font-family: inherit;
}
.dq-page :where(ul) {
	margin: 0;
	padding: 0;
	list-style: none;
}
.dq-page :where(li) {
	margin: 0;
}
.dq-page :where(li)::before {
	content: none;
}

/* ---------- Hero ---------- */

.dq-page__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
	padding-bottom: var(--dq-space);
}
.dq-page.dq-page .dq-page__title {
	margin: 0;
	max-width: 16ch;
	font-family: var(--dq-display);
	font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem);
	font-weight: 500;
	line-height: 1.04;
	color: var(--dq-ink);
	text-wrap: balance;
}
html:not([dir="rtl"]) .dq-page.dq-page .dq-page__title {
	letter-spacing: -0.02em;
}
.dq-page.dq-page .dq-page__lead {
	max-width: 48ch;
	margin: 20px 0 0;
	font-size: clamp(16px, 0.95rem + 0.3vw, 18px);
	line-height: 1.65;
	color: var(--dq-muted);
}
.dq-page.dq-page .dq-page__h2 {
	margin: 0 0 24px;
	font-family: var(--dq-display);
	font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
	font-weight: 500;
	line-height: 1.1;
	color: var(--dq-ink);
}

/* ---------- WhatsApp card ---------- */

.dq-wa-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
	border-radius: 24px;
	background:
		radial-gradient(70% 60% at 50% 0%, rgba(200, 156, 76, 0.22), rgba(200, 156, 76, 0) 70%),
		var(--dq-panel);
	text-align: center;
}
.dq-wa-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: #fff;
	color: var(--dq-amber);
}
.dq-wa-card__icon .dq-icon {
	width: 28px;
	height: 28px;
}
.dq-page.dq-page .dq-wa-card__number {
	margin: 0 0 6px;
	font-family: var(--dq-display);
	font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
	font-weight: 500;
	line-height: 1.1;
	color: var(--dq-ink);
	font-variant-numeric: tabular-nums;
	direction: ltr;
}
.dq-page.dq-page .dq-wa-card__hours {
	margin: 0 0 18px;
	font-size: 14.5px;
	color: var(--dq-muted);
}
.dq-wa-card .dq-btn {
	margin-top: 10px;
}
.dq-page.dq-page .dq-wa-card__note {
	margin: 14px 0 0;
	font-size: 13.5px;
	color: var(--dq-muted);
}

/* ---------- Info cards ---------- */

.dq-page__cards ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 20px);
}
.dq-info-card {
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid var(--dq-line);
	border-radius: 20px;
	background: #fff;
}
.dq-info-card .dq-icon {
	width: 24px;
	height: 24px;
	color: var(--dq-amber);
}
.dq-page.dq-page .dq-info-card__title {
	margin: 14px 0 8px;
	font-family: var(--dq-display);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--dq-ink);
}
.dq-page.dq-page .dq-info-card__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--dq-muted);
}

/* ---------- FAQ ---------- */

.dq-faq {
	padding-top: var(--dq-space);
}
.dq-faq__list {
	max-width: 820px;
	border-top: 1px solid var(--dq-line);
}
.dq-faq__item {
	border-bottom: 1px solid var(--dq-line);
}
.dq-page.dq-page .dq-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font-family: var(--dq-display);
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
	font-weight: 500;
	line-height: 1.3;
	color: var(--dq-ink);
	list-style: none;
	cursor: pointer;
}
.dq-faq__item summary::-webkit-details-marker {
	display: none;
}
.dq-faq__item summary::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-right: 1.8px solid var(--dq-muted);
	border-bottom: 1.8px solid var(--dq-muted);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.dq-faq__item[open] summary::after {
	margin-top: 5px;
	transform: rotate(225deg);
}
.dq-faq__item summary:focus-visible {
	outline: 2px solid var(--dq-amber);
	outline-offset: 3px;
}
.dq-page.dq-page .dq-faq__item p {
	max-width: 70ch;
	margin: 0;
	padding: 0 0 22px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--dq-muted);
}

/* ---------- About ---------- */

.dq-about__visual {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: clamp(260px, 30vw, 420px);
	padding: 32px 20px 44px;
	border-radius: 28px;
	background:
		radial-gradient(60% 55% at 50% 75%, rgba(200, 156, 76, 0.26), rgba(200, 156, 76, 0) 70%),
		var(--dq-panel);
}
.dq-about__stage {
	display: flex;
	align-items: flex-end;
	gap: clamp(14px, 2.5vw, 30px);
}
.dq-about__story {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	padding-bottom: var(--dq-space);
}
.dq-about__block {
	padding-top: 22px;
	border-top: 2px solid var(--dq-gold);
}
.dq-page.dq-page .dq-about__num {
	display: block;
	margin-bottom: 10px;
	font-family: var(--dq-display);
	font-size: 15px;
	color: var(--dq-amber);
	font-variant-numeric: tabular-nums;
}
.dq-page.dq-page .dq-about__h2 {
	margin: 0 0 10px;
	font-family: var(--dq-display);
	font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
	font-weight: 500;
	line-height: 1.2;
	color: var(--dq-ink);
}
.dq-page.dq-page .dq-about__text {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--dq-muted);
}
.dq-about__points {
	padding: clamp(24px, 3vw, 34px);
	border-radius: 20px;
	background: var(--dq-panel);
}
.dq-about__points ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 28px;
}
.dq-about__points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--dq-ink);
}
.dq-about__points .dq-icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--dq-amber);
}

/* ---------- Closing CTA ---------- */

.dq-page__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: var(--dq-space);
}

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

@media (max-width: 899px) {
	.dq-page__hero {
		grid-template-columns: minmax(0, 1fr);
	}
	.dq-page__cards ul,
	.dq-about__story,
	.dq-about__points ul {
		grid-template-columns: minmax(0, 1fr);
	}
	.dq-about__stage {
		transform: scale(0.8);
		transform-origin: 50% 100%;
	}
}
@media (max-width: 599px) {
	.dq-page__cta .dq-btn {
		flex: 1 1 auto;
	}
	.dq-about__stage {
		transform: scale(0.62);
	}
}
@media (prefers-reduced-motion: reduce) {
	.dq-page * {
		transition: none !important;
	}
}

/* ---------- About photos ---------- */

.dq-about__visual.has-photo {
	position: relative;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}
.dq-about__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.dq-about__visual.has-photo .dq-about__stage {
	display: none;
}
.dq-about__figure {
	margin: 0 0 var(--dq-space);
	overflow: hidden;
	border-radius: 28px;
	background: var(--dq-panel);
}
.dq-about__figure img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
@media (max-width: 899px) {
	.dq-about__visual.has-photo {
		aspect-ratio: 16 / 11;
	}
}
