:root {
	--aq-burgundy: #3c0007;
	--aq-wine: #2c050a;
	--aq-card-wine: #491b20;
	--aq-paper: #f5ebd8;
	--aq-cream: #fef9ed;
	--aq-gold: #e1c296;
	--aq-ink: #2c050a;
	--aq-muted: #dcc0bf;
}

body.ancoraqui-homepage {
	background: #fffdf8;
	color: var(--aq-ink);
}

body.ancoraqui-homepage #content,
body.ancoraqui-homepage .site-content,
body.ancoraqui-homepage .ast-container,
body.ancoraqui-homepage .content-area,
body.ancoraqui-homepage .site-main,
body.ancoraqui-homepage article.page,
body.ancoraqui-homepage .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.ancoraqui-homepage .entry-header,
body.ancoraqui-homepage .entry-title {
	display: none;
}

body.ancoraqui-homepage .elementor-widget:not(:last-child) {
	margin-block-end: 0;
}

.aq-home-section,
.aq-home-section h1,
.aq-home-section h2,
.aq-home-section h3,
.aq-home-section p,
.aq-home-section a,
.aq-home-section button {
	box-sizing: border-box;
}

.aq-letter-section {
	background: #fffdf8;
	padding: 20px 20px 40px;
}

.aq-letter-section > .elementor-container {
	max-width: 1280px;
}

.aq-letter-experience {
	width: min(100%, 1240px);
	margin: 0 auto;
	font-family: "Literata", Georgia, serif;
}

.aq-letter-card {
	position: relative;
	min-height: 0;
	padding: 110px 120px 90px;
	overflow: hidden;
	border-radius: 12px;
	background:
		radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.72), transparent 35%),
		radial-gradient(circle at 88% 84%, rgba(147, 75, 25, 0.06), transparent 42%),
		var(--aq-letter-paper, var(--aq-paper));
	box-shadow: 0 24px 52px rgba(60, 0, 7, 0.15), 0 3px 9px rgba(60, 0, 7, 0.08);
	transition: opacity 300ms ease, transform 300ms ease;
}

.aq-letter-section .aq-letter-card {
	width: fit-content;
	max-width: 100%;
	min-height: 0;
	margin-inline: auto;
}

.aq-letter-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.24;
	background-image:
		repeating-linear-gradient(0deg, rgba(60, 0, 7, 0.012) 0, rgba(60, 0, 7, 0.012) 1px, transparent 1px, transparent 4px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 6px);
}

.aq-letter-card.is-loading {
	opacity: 0.52;
	transform: translateY(4px);
}

.aq-letter-toolbar {
	position: absolute;
	top: 18px;
	right: 20px;
	z-index: 3;
	display: flex;
	gap: 8px;
}

.aq-mini-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 6px 11px;
	border: 0;
	border-radius: 999px;
	background: rgba(44, 5, 10, 0.055);
	color: var(--aq-ink);
	font-family: "Manrope", sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 200ms ease, transform 200ms ease;
}

.aq-mini-action:hover,
.aq-mini-action:focus-visible {
	background: rgba(44, 5, 10, 0.11);
	color: var(--aq-ink);
	transform: translateY(-1px);
}

.aq-action-icon {
	font-size: 14px;
	line-height: 1;
}

.aq-letter-content {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto;
	color: rgba(44, 5, 10, 0.92);
	font-family: "Literata", Georgia, serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.75;
}

.aq-letter-content p {
	margin: 0 0 22px;
}

.aq-letter-content p:last-child {
	margin-bottom: 0;
}

.aq-letter-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 36px;
}

.aq-primary-letter-action,
.aq-secondary-letter-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 224px;
	min-height: 52px;
	padding: 13px 28px;
	border-radius: 999px;
	font-family: "EB Garamond", Georgia, serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
	cursor: pointer;
	transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.aq-primary-letter-action {
	border: 1px solid rgba(60, 0, 7, 0.08);
	background: var(--aq-paper);
	color: var(--aq-ink);
	box-shadow: 0 8px 22px rgba(60, 0, 7, 0.13);
}

.aq-secondary-letter-action {
	border: 1px solid var(--aq-burgundy);
	background: var(--aq-burgundy);
	color: #fff;
	box-shadow: 0 8px 22px rgba(60, 0, 7, 0.16);
}

.aq-primary-letter-action:hover,
.aq-primary-letter-action:focus-visible,
.aq-secondary-letter-action:hover,
.aq-secondary-letter-action:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 13px 28px rgba(60, 0, 7, 0.2);
}

.aq-secondary-letter-action:hover,
.aq-secondary-letter-action:focus-visible {
	background: #5e0b15;
	color: #fff;
}

.aq-next-letter[disabled] {
	opacity: 0.58;
	cursor: wait;
	transform: none;
}

.aq-write-invitation {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	width: min(100%, 1000px);
	margin: 34px auto 0;
}

.aq-write-invitation > p {
	flex: 1;
	min-width: 0;
	margin: 0;
	color: var(--aq-ink);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.aq-write-invitation > .aq-secondary-letter-action {
	flex: 0 0 auto;
}

.aq-share-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-top: 44px;
}

.aq-share-area > p {
	margin: 0;
	color: rgba(147, 75, 25, 0.54);
	font-family: "Manrope", sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
}

.aq-share-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.aq-share-actions > a,
.aq-share-actions > button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid rgba(60, 0, 7, 0.2);
	border-radius: 999px;
	background: transparent;
	color: var(--aq-burgundy);
	font-family: "Manrope", sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.aq-share-actions > a:hover,
.aq-share-actions > a:focus-visible,
.aq-share-actions > button:hover,
.aq-share-actions > button:focus-visible {
	background: rgba(60, 0, 7, 0.08);
	color: var(--aq-burgundy);
	transform: translateY(-1px);
}

.aq-share-actions .aq-copy-link {
	gap: 6px;
	padding-inline: 14px;
}

.aq-feedback-modal[hidden],
.aq-toast[hidden] {
	display: none;
}

.aq-feedback-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 20px;
}

.aq-feedback-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(28, 0, 4, 0.76);
	backdrop-filter: blur(5px);
}

.aq-feedback-dialog {
	position: relative;
	z-index: 2;
	width: min(100%, 610px);
	padding: 46px 42px 38px;
	border: 1px solid rgba(225, 194, 150, 0.34);
	border-radius: 16px;
	background: #3c1116;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
	color: #fff;
}

.aq-feedback-dialog h2 {
	margin: 0 42px 26px 0;
	color: #fff;
	font-family: "EB Garamond", Georgia, serif;
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 600;
	line-height: 1.2;
}

.aq-feedback-close {
	position: absolute;
	top: 14px;
	right: 16px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.aq-feedback-form textarea {
	display: block;
	width: 100%;
	min-height: 210px;
	resize: vertical;
	padding: 16px;
	border: 1px solid rgba(60, 0, 7, 0.14);
	border-radius: 10px;
	background: #fffdf8;
	box-shadow: none;
	color: var(--aq-ink);
	font-family: "Literata", Georgia, serif;
	font-size: 16px;
	line-height: 1.6;
}

.aq-feedback-form textarea:focus {
	border-color: var(--aq-gold);
	outline: 3px solid rgba(225, 194, 150, 0.2);
}

.aq-feedback-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 22px;
}

.aq-feedback-submit,
.aq-feedback-back {
	min-width: 112px;
	padding: 11px 22px;
	border-radius: 999px;
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.aq-feedback-submit {
	border: 1px solid var(--aq-paper);
	background: var(--aq-paper);
	color: var(--aq-ink);
}

.aq-feedback-back {
	border: 1px solid rgba(255, 255, 255, 0.46);
	background: transparent;
	color: #fff;
}

.aq-feedback-submit[disabled] {
	opacity: 0.58;
	cursor: wait;
}

.aq-feedback-response {
	min-height: 20px;
	margin: 10px 0 0;
	color: #f7d9a9;
	font-family: "Manrope", sans-serif;
	font-size: 12px;
}

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

.aq-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 100000;
	max-width: min(360px, calc(100vw - 48px));
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--aq-wine);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-size: 13px;
}

.aq-emergency-section {
	width: min(calc(100% - 40px), 960px);
	margin-right: auto;
	margin-left: auto;
	padding: 82px 42px;
	border-block: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	background: var(--aq-wine);
	text-align: center;
}

.aq-emergency-section > .elementor-container,
.aq-support-section > .elementor-container,
.aq-final-help-section > .elementor-container {
	max-width: 850px;
}

.aq-feature-cards-section {
	padding: 20px;
	background: #fffdf8;
}

.aq-feature-cards-section > .elementor-container {
	max-width: 1100px;
	gap: 10px;
}

.aq-feature-card > .elementor-element-populated {
	min-height: 300px;
	padding: 32px !important;
	border: 1px solid rgba(225, 194, 150, 0.12);
	border-radius: 16px;
	background: linear-gradient(145deg, #491b20, #3c1116);
	box-shadow: 0 18px 44px rgba(60, 0, 7, 0.12);
	transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.aq-feature-card:hover > .elementor-element-populated {
	border-color: rgba(225, 194, 150, 0.36);
	box-shadow: 0 24px 54px rgba(60, 0, 7, 0.18);
	transform: translateY(-3px);
}

.aq-support-wrap {
	padding: 0 30px 10px;
	background: #fffdf8;
}

.aq-support-section {
	padding: 74px 48px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	background: var(--aq-wine);
	text-align: center;
}

.aq-app-section {
	padding: 90px 48px;
	border-block: 1px solid rgba(255, 255, 255, 0.09);
	background: #39080d;
}

.aq-app-section > .elementor-container {
	max-width: 1100px;
	gap: 44px;
}

.aq-app-badge .elementor-button {
	min-width: 166px;
	cursor: default;
	pointer-events: none;
}

.aq-qr-column > .elementor-element-populated {
	width: min(100%, 270px);
	margin-left: auto;
	padding: 28px !important;
	border: 1px solid rgba(225, 194, 150, 0.24);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.035);
}

.aq-final-help-section {
	padding: 76px 40px;
	border-block: 1px solid rgba(94, 11, 21, 0.16);
	background: linear-gradient(90deg, #fff3ee 0%, #8b5d61 50%, #fff3ee 100%);
	text-align: center;
}

.aq-emergency-section .elementor-heading-title,
.aq-support-section .elementor-heading-title,
.aq-app-section .elementor-heading-title,
.aq-feature-card .elementor-heading-title {
	font-family: "EB Garamond", Georgia, serif;
}

.aq-emergency-section .elementor-widget-text-editor,
.aq-support-section .elementor-widget-text-editor,
.aq-app-section .elementor-widget-text-editor,
.aq-feature-card .elementor-widget-text-editor,
.aq-final-help-section .elementor-widget-text-editor {
	font-family: "Literata", Georgia, serif;
}

@media (max-width: 1024px) {
	.aq-letter-section .aq-letter-card {
		width: fit-content;
		max-width: 100%;
		min-height: 0;
	}

	.aq-letter-card {
		min-height: 0;
		padding-inline: 84px;
	}

	.aq-letter-content {
		font-size: 18px;
	}

	.aq-feature-cards-section > .elementor-container,
	.aq-app-section > .elementor-container {
		gap: 10px;
	}
}

@media (max-width: 767px) {
	.aq-letter-section {
		padding: 20px 18px 40px;
	}

	.aq-letter-card {
		min-height: 0;
		padding: 92px 36px 58px;
		border-radius: 10px;
	}

	.aq-letter-section .aq-letter-card {
		width: 100%;
		min-height: 0;
	}

	.aq-letter-toolbar {
		top: 16px;
		right: 16px;
		left: 16px;
		justify-content: flex-end;
	}

	.aq-mini-action {
		font-size: 10px;
	}

	.aq-letter-content {
		font-size: 16px;
		line-height: 1.75;
	}

	.aq-letter-content p {
		margin-bottom: 17px;
	}

	.aq-letter-actions {
		gap: 12px;
		margin-top: 26px;
	}

	.aq-write-invitation {
		flex-direction: column;
		gap: 20px;
		margin-top: 28px;
		text-align: center;
	}

	.aq-write-invitation > p {
		flex: auto;
		font-size: 22px;
	}

	.aq-primary-letter-action,
	.aq-secondary-letter-action {
		width: 100%;
		min-width: 0;
		min-height: 50px;
		font-size: 16px;
	}

	.aq-share-area {
		margin-top: 34px;
	}

	.aq-share-actions {
		max-width: 310px;
	}

	.aq-feedback-dialog {
		padding: 42px 22px 26px;
	}

	.aq-feedback-dialog h2 {
		font-size: 27px;
	}

	.aq-feedback-buttons {
		flex-direction: column;
	}

	.aq-feedback-submit,
	.aq-feedback-back {
		width: 100%;
	}

	.aq-emergency-section {
		width: min(calc(100% - 40px), 960px);
		margin-right: auto;
		margin-left: auto;
		padding: 64px 28px;
	}

	.aq-feature-cards-section {
		padding: 20px 18px;
	}

	.aq-app-section {
		padding: 72px 28px;
	}

	.aq-feature-cards-section > .elementor-container,
	.aq-app-section > .elementor-container {
		gap: 10px;
	}

	.aq-feature-card > .elementor-element-populated {
		min-height: 250px;
		padding: 26px !important;
	}

	.aq-support-wrap {
		padding: 0 20px 10px;
	}

	.aq-support-section {
		padding: 62px 28px;
	}

	.aq-qr-column > .elementor-element-populated {
		margin: 18px auto 0;
	}

	.aq-final-help-section {
		padding: 64px 28px;
		background: linear-gradient(90deg, #f6dedd 0%, #966d70 50%, #f6dedd 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.aq-letter-card,
	.aq-mini-action,
	.aq-primary-letter-action,
	.aq-secondary-letter-action,
	.aq-share-actions > a,
	.aq-share-actions > button,
	.aq-feature-card > .elementor-element-populated {
		transition: none;
	}
}
