/* Design tokens, resets and shared elements. Layout uses logical properties for RTL. */
:root {
	--sa-cream: #fdf7f2;
	--sa-paper: #f9ebe2;
	--sa-card: #fffaf6;
	--sa-blush: #f4dcd5;
	--sa-rose-soft: #d9a3ad;
	--sa-rose: #a3566b;
	--sa-rose-deep: #8e4459;
	--sa-wine: #6a1b34;
	--sa-ink: #3f1f2a;
	--sa-muted: #6d4c57;
	--sa-border: #eedfd5;
	--sa-footer: #6f3f4d;
	--sa-footer-bottom: #edd0cb;

	--sa-font: "Cairo", "Segoe UI", Tahoma, sans-serif;
	--sa-section: clamp(44px, 7vw, 96px);
	--sa-gutter: clamp(16px, 3.5vw, 40px);
	--sa-radius: 14px;
	--sa-shadow: 0 10px 28px rgb(106 27 52 / 9%);
	--sa-header-height: 84px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--sa-header-height) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--sa-cream);
	color: var(--sa-ink);
	font-family: var(--sa-font);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

/* Keeps the hero and full-width bands from ever causing sideways page scroll. */
.sa-main {
	display: block;
	overflow-x: clip;
}

.sa-main:focus {
	outline: none;
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--sa-ink);
	font-weight: 800;
	line-height: 1.35;
}

p {
	margin: 0;
}

a {
	color: var(--sa-rose-deep);
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

:focus-visible {
	outline: 2px solid var(--sa-wine);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.sa-skip {
	position: absolute;
	inset-block-start: -60px;
	inset-inline-start: 12px;
	z-index: 100;
	padding: 8px 16px;
	background: var(--sa-wine);
	color: #fff;
	border-radius: 8px;
}

.sa-skip:focus {
	inset-block-start: 12px;
}

.sa-wrap {
	width: 100%;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: var(--sa-gutter);
}

.sa-section {
	padding-block-start: var(--sa-section);
}

.sa-icon {
	flex: none;
	width: 22px;
	height: 22px;
}

/* Buttons */
.sa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 10px 30px;
	border: 1.5px solid transparent;
	border-radius: 12px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sa-btn:hover {
	transform: translateY(-2px);
}

.sa-btn--primary {
	background: var(--sa-rose-deep);
	color: #fff;
	box-shadow: 0 8px 18px rgb(142 68 89 / 24%);
}

.sa-btn--primary:hover {
	background: var(--sa-wine);
	color: #fff;
}

.sa-btn--outline {
	background: rgb(255 255 255 / 45%);
	border-color: var(--sa-rose-deep);
	color: var(--sa-rose-deep);
}

.sa-btn--outline:hover {
	background: var(--sa-rose-deep);
	color: #fff;
}

.sa-btn--small {
	min-height: 44px;
	padding: 6px 22px;
	font-size: 15px;
}

.sa-btn--large {
	min-width: 280px;
	min-height: 58px;
	font-size: 18px;
}

/* Section heading with sprigs */
.sa-heading {
	margin-block-end: clamp(26px, 3.5vw, 44px);
	text-align: center;
}

.sa-heading__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 2vw, 22px);
	font-size: clamp(25px, 3vw, 38px);
}

.sa-heading__text {
	margin-block-start: 6px;
	color: var(--sa-muted);
	font-size: clamp(15px, 1.4vw, 18px);
}

.sa-sprig {
	flex: none;
	width: clamp(38px, 5vw, 62px);
	height: auto;
	color: var(--sa-rose);
}

.sa-sprig--end {
	transform: scaleX(-1);
}

.sa-underline {
	display: block;
	width: min(220px, 60%);
	height: 13px;
	margin-block-start: 8px;
	color: var(--sa-rose-soft);
}

/* Default page and forms */
.sa-page {
	padding-block: clamp(32px, 5vw, 64px) var(--sa-section);
}

.sa-page__header {
	margin-block-end: clamp(20px, 3vw, 32px);
	text-align: center;
}

.sa-page__title {
	font-size: clamp(28px, 3.4vw, 42px);
}

.sa-page--center {
	text-align: center;
}

.sa-page--center p {
	margin-block-end: 18px;
}

.sa-page__content > p {
	margin-block-end: 16px;
}

.sa-form {
	display: grid;
	gap: 16px;
	max-width: 680px;
	margin-inline: auto;
	padding: clamp(20px, 3vw, 36px);
	background: var(--sa-card);
	border: 1px solid var(--sa-border);
	border-radius: var(--sa-radius);
}

.sa-form__row {
	display: grid;
	gap: 6px;
}

.sa-form__row label {
	font-weight: 700;
}

.sa-form input[type="text"],
.sa-form input[type="tel"],
.sa-form input[type="email"],
.sa-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #d9c3b9;
	border-radius: 10px;
	color: var(--sa-ink);
	font-family: inherit;
	font-size: 16px;
}

.sa-form__hint {
	color: var(--sa-muted);
	font-size: 14px;
}

.sa-form__trap {
	position: absolute;
	inset-inline-start: -9999px;
}

.sa-form__notice {
	max-width: 680px;
	margin: 0 auto 18px;
	padding: 12px 18px;
	border-radius: 10px;
	font-weight: 600;
	text-align: center;
}

.sa-form__notice--ok {
	background: #e9f4e8;
	color: #245326;
}

.sa-form__notice--error {
	background: #fbe6e6;
	color: #8a1c1c;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
