/*
 * Almaza landing template (page-templates/almaza-landing.php) — area, city and service pages.
 * Mobile first; loaded only on pages that use the template. Right-to-left.
 *
 * Content components (plain HTML with classes, safe in the classic editor):
 *   .alm-intro                     opening paragraphs
 *   .alm-sec                       section card;  --tint  light blue band · --dark  full-width navy band
 *   h2.alm-i-*                     section heading with an icon
 *   ul.alm-cards (li.alm-i-*)      cards with icons;  .alm-cards--pins  area cards with a map pin
 *   .alm-tiles > .alm-tile.alm-i-* icon tiles (h3 + p)
 *   ul.alm-checks (--2col)         check-mark list
 *   ol.alm-steps                   numbered steps (horizontal on desktop)
 *   .alm-faq                       accordion (h3 question + p answer)
 *   .alm-note                      highlighted box
 *   ul.alm-links                   chips of nearby areas
 *   [almaza_quote_form] [almaza_photos]  shortcodes (inc/almaza-landing.php)
 */

/* Tokens ----------------------------------------------------------------- */
.alm-lp {
	--alm-navy: #034296;
	--alm-blue: #206dbf;
	--alm-sky: #5aa9ff;
	--alm-ink: #0a1f44;
	--alm-text: #2b3445;
	--alm-muted: #5d6b82;
	--alm-bg: #f3f6fb;
	--alm-tint: #e8f1fd;
	--alm-card: #ffffff;
	--alm-line: #dfe6f1;
	--alm-wa: #25d366;
	--alm-gold: #ffc94d;
	--alm-radius: 18px;
	--alm-shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
	--alm-shadow-lg: 0 18px 44px rgba(10, 31, 68, 0.16);
	--alm-fa: "Font Awesome 6 Pro", "Font Awesome 6 Free";
	background: var(--alm-bg);
	color: var(--alm-text);
	font-family: "Almarai", "Cairo", sans-serif;
	line-height: 1.85;
	direction: rtl;
	text-align: right; /* theme-bootstrap4.css sets body { text-align: left } */
	margin-top: 40px; /* the theme's nav.mainNav is position:relative; top:40px */
	overflow-wrap: anywhere;
	overflow-x: clip;
}

.alm-lp a {
	color: var(--alm-blue);
}

/* Icons: any .alm-i-* sets --alm-ico; components decide where to draw it. */
.alm-i-pin { --alm-ico: "\f3c5"; }
.alm-i-map { --alm-ico: "\f5a0"; }
.alm-i-gate { --alm-ico: "\f2c2"; }
.alm-i-villa { --alm-ico: "\e3af"; }
.alm-i-building { --alm-ico: "\f1ad"; }
.alm-i-road { --alm-ico: "\f4d7"; }
.alm-i-tools { --alm-ico: "\f7d9"; }
.alm-i-box { --alm-ico: "\f49e"; }
.alm-i-truck { --alm-ico: "\f0d1"; }
.alm-i-winch { --alm-ico: "\f102"; }
.alm-i-warehouse { --alm-ico: "\f494"; }
.alm-i-office { --alm-ico: "\f0b1"; }
.alm-i-receipt { --alm-ico: "\f543"; }
.alm-i-bulb { --alm-ico: "\f0eb"; }
.alm-i-faq { --alm-ico: "\f086"; }
.alm-i-home { --alm-ico: "\f015"; }
.alm-i-users { --alm-ico: "\f0c0"; }
.alm-i-hands { --alm-ico: "\f2b5"; }
.alm-i-clock { --alm-ico: "\f017"; }
.alm-i-elevator { --alm-ico: "\e16d"; }
.alm-i-check { --alm-ico: "\f058"; }
.alm-i-snow { --alm-ico: "\f2dc"; }
.alm-i-calendar { --alm-ico: "\f274"; }

/* Hero ------------------------------------------------------------------- */
.alm-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 90% at 85% 0%, #1b5fb5 0%, var(--alm-navy) 45%, var(--alm-ink) 100%);
	color: #fff;
	padding: 0.75rem 0 4.5rem;
	isolation: isolate;
}

.alm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.5px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
	z-index: -1;
}

.alm-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.55;
	z-index: -1;
	animation: alm-drift 14s ease-in-out infinite alternate;
}

.alm-hero__glow--a {
	width: 340px;
	height: 340px;
	background: #2f8cff;
	top: -120px;
	left: -80px;
}

.alm-hero__glow--b {
	width: 260px;
	height: 260px;
	background: #25d3a8;
	bottom: -80px;
	right: 20%;
	opacity: 0.28;
	animation-duration: 18s;
}

@keyframes alm-drift {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(40px, 30px) scale(1.15); }
}

.alm-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.35rem;
	list-style: none;
	margin: 0 0 1.1rem;
	padding: 0;
	font-size: 0.8rem;
	color: #b9cbe6;
}

.alm-crumbs li + li::before {
	content: "‹";
	margin-inline-end: 0.35rem;
	opacity: 0.7;
}

.alm-crumbs a {
	color: #e8edf5;
	text-decoration: none;
}

.alm-crumbs a:hover {
	text-decoration: underline;
}

.alm-hero__inner {
	display: grid;
	gap: 1.75rem;
	align-items: center;
}

.alm-hero__text,
.alm-hero__media {
	min-width: 0;
}

.alm-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.6rem;
	padding: 0.25rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.85rem;
	color: #dbe8fb;
}

.alm-hero__kicker i {
	color: var(--alm-gold);
}

.alm-hero__title {
	font-family: "Rakkas", serif;
	font-size: clamp(2rem, 7vw, 3.2rem);
	line-height: 1.3;
	margin: 0 0 0.85rem;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.alm-hero__lead {
	font-size: 1.04rem;
	color: #dfe8f6;
	margin: 0 0 1.35rem;
	max-width: 38em;
}

.alm-hero__cta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	max-width: 30rem;
}

.alm-hero__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1rem;
	margin: 0.8rem 0 0;
	font-size: 0.92rem;
	color: #b9cbe6;
}

.alm-lp .alm-hero__quote {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-color: var(--alm-gold);
}

.alm-hero__quote::after {
	content: " ←";
}

/* Entrance */
.alm-hero__text > * {
	animation: alm-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.alm-hero__text > :nth-child(2) { animation-delay: 0.06s; }
.alm-hero__text > :nth-child(3) { animation-delay: 0.12s; }
.alm-hero__text > :nth-child(4) { animation-delay: 0.18s; }
.alm-hero__text > :nth-child(5) { animation-delay: 0.24s; }

@keyframes alm-rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

.alm-hero__media {
	position: relative;
	margin: 0 0.5rem;
	animation: alm-rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.alm-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center top; /* crops the phone bar printed along the photos' bottom edge */
	border-radius: 24px;
	border: 4px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
	transform: rotate(-1.5deg);
}

.alm-badge {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.85rem;
	border-radius: 14px;
	background: #fff;
	color: var(--alm-ink);
	font-weight: 800;
	font-size: 0.85rem;
	box-shadow: var(--alm-shadow-lg);
	animation: alm-float 5s ease-in-out infinite;
	white-space: nowrap;
}

.alm-badge i {
	display: grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 10px;
	background: var(--alm-tint);
	color: var(--alm-blue);
}

.alm-badge--a {
	top: 10%;
	right: -0.5rem;
}

.alm-badge--b {
	bottom: 8%;
	left: -0.5rem;
	animation-delay: -2.5s;
}

.alm-badge--b i {
	background: #e3f7ec;
	color: #12924a;
}

@keyframes alm-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* Waves */
.alm-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: 56px;
	fill: var(--alm-bg);
	pointer-events: none;
}

.alm-wave--top {
	top: -1px;
	bottom: auto;
}

/* Buttons ---------------------------------------------------------------- */
.alm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0.6rem 1.1rem;
	border-radius: 14px;
	border: 2px solid transparent;
	font-weight: 800;
	font-size: 1rem;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.alm-btn:hover,
.alm-btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.alm-lp .alm-btn--light {
	background: #fff;
	color: var(--alm-navy);
}

.alm-lp .alm-btn--wa {
	background: var(--alm-wa);
	color: #fff;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
	animation: alm-pulse 2.6s ease-out infinite;
}

@keyframes alm-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
	70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.alm-lp .alm-btn--primary {
	background: linear-gradient(135deg, var(--alm-blue), var(--alm-navy));
	color: #fff;
}

/* Perks strip ------------------------------------------------------------ */
.alm-perks {
	position: relative;
	z-index: 2;
	margin-top: -2.75rem;
}

.alm-perks__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.alm-perks__list li {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 0.65rem;
	align-items: center;
	background: var(--alm-card);
	border-radius: 16px;
	padding: 0.8rem 0.85rem;
	box-shadow: var(--alm-shadow);
	border: 1px solid var(--alm-line);
}

.alm-perks__list i {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--alm-blue), var(--alm-navy));
	color: #fff;
	font-size: 1.05rem;
}

.alm-perks__list strong {
	color: var(--alm-ink);
	font-size: 0.95rem;
	line-height: 1.4;
}

.alm-perks__list span {
	color: var(--alm-muted);
	font-size: 0.78rem;
	line-height: 1.5;
}

/* "In this page" --------------------------------------------------------- */
.alm-toc .container {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 1.1rem;
	padding-bottom: 0.25rem;
}

.alm-toc__label {
	margin: 0;
	font-weight: 800;
	font-size: 0.85rem;
	color: var(--alm-muted);
	white-space: nowrap;
}

.alm-toc__list {
	display: flex;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0.25rem 0 0.4rem;
	overflow-x: auto;
	scrollbar-width: none;
	mask-image: linear-gradient(to left, #000 85%, transparent);
}

.alm-toc__list::-webkit-scrollbar {
	display: none;
}

.alm-toc__list a {
	display: block;
	white-space: nowrap;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: var(--alm-card);
	border: 1px solid var(--alm-line);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--alm-navy);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.alm-toc__list a:hover {
	background: var(--alm-blue);
	border-color: var(--alm-blue);
	color: #fff;
}

/* Body ------------------------------------------------------------------- */
.alm-body {
	padding: 1.25rem 0 1rem;
}

.alm-article {
	max-width: 940px;
	margin: 0 auto;
}

.alm-article > hr {
	display: none;
}

.alm-article h2 {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: "Almarai", sans-serif;
	font-weight: 800;
	font-size: clamp(1.3rem, 4.6vw, 1.75rem);
	line-height: 1.45;
	color: var(--alm-ink);
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	scroll-margin-top: 120px; /* the theme's sticky menu is ~101px */
}

.alm-article h2::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 64px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--alm-sky), var(--alm-blue));
}

.alm-article h2[class*="alm-i-"]::before {
	content: var(--alm-ico);
	font-family: var(--alm-fa);
	font-weight: 900;
	flex: none;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--alm-blue), var(--alm-navy));
	color: #fff;
	font-size: 1.1rem;
	box-shadow: 0 8px 18px rgba(32, 109, 191, 0.3);
}

.alm-article h3 {
	font-size: 1.06rem;
	font-weight: 800;
	color: var(--alm-ink);
	margin: 0 0 0.35rem;
	line-height: 1.55;
}

.alm-article p {
	margin: 0 0 0.9rem;
}

.alm-article ul,
.alm-article ol {
	padding-inline-start: 1.2rem;
}

.alm-intro {
	font-size: 1.06rem;
	margin: 0.75rem 0 1.5rem;
	padding: 1.1rem 1.15rem;
	border-radius: var(--alm-radius);
	background: var(--alm-card);
	border-inline-start: 5px solid var(--alm-blue);
	box-shadow: var(--alm-shadow);
}

.alm-intro p:last-child {
	margin-bottom: 0;
}

/* Sections */
.alm-sec {
	background: var(--alm-card);
	border: 1px solid var(--alm-line);
	border-radius: var(--alm-radius);
	box-shadow: var(--alm-shadow);
	padding: 1.5rem 1.15rem;
	margin-bottom: 1.5rem;
}

.alm-sec > :last-child {
	margin-bottom: 0;
}

.alm-sec--tint {
	background: linear-gradient(160deg, #eaf3ff 0%, #f6faff 100%);
	border-color: #d3e4fb;
}

/* Full-width navy band (works because the article is centred in the viewport). */
.alm-sec--dark {
	position: relative;
	margin-inline: calc(50% - 50vw);
	padding: 2.75rem max(1.15rem, calc(50vw - 470px));
	border: 0;
	border-radius: 0;
	background:
		radial-gradient(60% 80% at 10% 0%, rgba(90, 169, 255, 0.25), transparent 70%),
		linear-gradient(160deg, var(--alm-navy) 0%, var(--alm-ink) 100%);
	color: #dfe8f6;
	box-shadow: none;
}

.alm-sec--dark h2 {
	color: #fff;
}

.alm-sec--dark h2[class*="alm-i-"]::before {
	background: rgba(255, 255, 255, 0.14);
	box-shadow: none;
}

/* Area / service cards */
.alm-article ul.alm-cards {
	display: grid;
	gap: 0.85rem;
	list-style: none;
	padding: 0;
	margin: 0 0 0.9rem;
}

.alm-cards li {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--alm-line);
	border-radius: 16px;
	padding: 1rem 1.05rem;
	background: var(--alm-card);
	line-height: 1.75;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.alm-cards li:hover {
	transform: translateY(-3px);
	border-color: var(--alm-sky);
	box-shadow: var(--alm-shadow-lg);
}

.alm-cards li[class*="alm-i-"]::before,
.alm-cards--pins li::before {
	content: var(--alm-ico);
	font-family: var(--alm-fa);
	font-weight: 900;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.6rem;
	border-radius: 12px;
	background: var(--alm-tint);
	color: var(--alm-blue);
	font-size: 1.05rem;
}

.alm-cards--pins li {
	--alm-ico: "\f3c5";
}

.alm-cards--pins li::before {
	background: #fff1f0;
	color: #e5484d;
}

.alm-cards strong {
	display: block;
	color: var(--alm-ink);
	font-size: 1.04rem;
	margin-bottom: 0.2rem;
}

.alm-cards a {
	margin-top: auto;
	padding-top: 0.5rem;
	font-weight: 800;
	text-decoration: none;
}

.alm-cards a::after {
	content: " ←";
	display: inline-block;
	transition: transform 0.2s ease;
}

.alm-cards li:hover a::after {
	transform: translateX(-4px);
}

/* Icon tiles */
.alm-tiles {
	display: grid;
	gap: 0.85rem;
}

.alm-tile {
	position: relative;
	background: var(--alm-bg);
	border-radius: 16px;
	padding: 1.1rem 1.05rem;
	border: 1px solid transparent;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.alm-tile:hover {
	background: #fff;
	border-color: var(--alm-line);
}

.alm-tile[class*="alm-i-"]::before {
	content: var(--alm-ico);
	font-family: var(--alm-fa);
	font-weight: 900;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.7rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--alm-sky), var(--alm-blue));
	color: #fff;
	font-size: 1.15rem;
	box-shadow: 0 8px 18px rgba(32, 109, 191, 0.25);
}

.alm-tile p {
	margin: 0;
}

/* Check list */
.alm-article ul.alm-checks {
	list-style: none;
	padding: 0;
	margin: 0 0 0.9rem;
	display: grid;
	gap: 0.7rem;
}

.alm-checks li {
	position: relative;
	padding-inline-start: 2.15rem;
}

.alm-checks li::before {
	content: "\f00c";
	font-family: var(--alm-fa);
	font-weight: 900;
	position: absolute;
	inset-inline-start: 0;
	top: 0.2rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: #e3f7ec;
	color: #12924a;
	font-size: 0.72rem;
	display: grid;
	place-items: center;
}

.alm-checks--2col li {
	background: var(--alm-bg);
	border-radius: 14px;
	padding: 0.8rem 1rem;
	padding-inline-start: 2.9rem;
}

.alm-checks--2col li::before {
	inset-inline-start: 0.9rem;
	top: 0.95rem;
}

.alm-sec--dark .alm-checks li::before {
	background: rgba(127, 227, 164, 0.18);
	color: #7fe3a4;
}

/* Steps */
.alm-article ol.alm-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: alm-step;
	display: grid;
	gap: 0;
}

.alm-steps li {
	position: relative;
	counter-increment: alm-step;
	padding: 0 0 1.4rem;
	padding-inline-start: 3.6rem;
	min-height: 2.8rem;
}

.alm-steps li::before {
	content: counter(alm-step);
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	width: 2.7rem;
	height: 2.7rem;
	border-radius: 50%;
	background: var(--alm-gold);
	color: var(--alm-ink);
	font-weight: 800;
	font-size: 1.1rem;
	display: grid;
	place-items: center;
	z-index: 1;
	box-shadow: 0 0 0 6px rgba(255, 201, 77, 0.18);
}

.alm-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	inset-inline-start: 1.32rem;
	top: 2.7rem;
	bottom: 0;
	border-inline-start: 2px dashed rgba(255, 255, 255, 0.3);
}

.alm-steps li:last-child {
	padding-bottom: 0;
}

.alm-steps strong {
	color: #fff;
}

.alm-sec:not(.alm-sec--dark) .alm-steps li::before {
	background: var(--alm-navy);
	color: #fff;
	box-shadow: none;
}

.alm-sec:not(.alm-sec--dark) .alm-steps li::after {
	border-color: var(--alm-line);
}

.alm-sec:not(.alm-sec--dark) .alm-steps strong {
	color: var(--alm-ink);
}

/* Note box */
.alm-note {
	position: relative;
	background: #fff8e6;
	border: 1px solid #ffe2a1;
	border-radius: 14px;
	padding: 0.95rem 1rem;
	padding-inline-start: 3rem;
	margin: 0.25rem 0 1rem;
	color: #5b4510;
	font-weight: 700;
}

.alm-note::before {
	content: "\f0eb";
	font-family: var(--alm-fa);
	font-weight: 900;
	position: absolute;
	inset-inline-start: 1rem;
	top: 0.95rem;
	color: #e0a100;
	font-size: 1.15rem;
}

.alm-note p:last-child {
	margin-bottom: 0;
}

/* Nearby areas chips */
.alm-article ul.alm-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.alm-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--alm-line);
	background: var(--alm-card);
	text-decoration: none;
	font-weight: 800;
	color: var(--alm-navy);
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.alm-links a::before {
	content: "\f3c5";
	font-family: var(--alm-fa);
	font-weight: 900;
	color: #e5484d;
	font-size: 0.85rem;
}

.alm-links a:hover {
	background: var(--alm-navy);
	border-color: var(--alm-navy);
	color: #fff;
	transform: translateY(-2px);
}

.alm-links a:hover::before {
	color: #fff;
}

/* FAQ accordion (js adds .is-js; without js every answer stays visible) */
.alm-faq {
	display: grid;
	gap: 0.6rem;
}

.alm-faq h3 {
	position: relative;
	margin: 0;
	padding: 0.95rem 1.1rem;
	padding-inline-end: 3rem;
	background: var(--alm-bg);
	border-radius: 14px;
	font-size: 1rem;
	transition: background-color 0.15s ease;
}

.alm-faq p {
	margin: 0;
	padding: 0.2rem 1.1rem 0.9rem;
}

.alm-faq.is-js h3 {
	cursor: pointer;
}

.alm-faq.is-js h3:hover {
	background: var(--alm-tint);
}

.alm-faq.is-js h3::after {
	content: "\f067";
	font-family: var(--alm-fa);
	font-weight: 900;
	position: absolute;
	inset-inline-end: 1rem;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	background: #fff;
	color: var(--alm-blue);
	font-size: 0.8rem;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.alm-faq.is-js h3.is-open {
	background: var(--alm-tint);
	border-radius: 14px 14px 0 0;
}

.alm-faq.is-js h3.is-open::after {
	transform: translateY(-50%) rotate(45deg);
	background: var(--alm-blue);
	color: #fff;
}

.alm-faq.is-js h3 + p {
	display: none;
}

.alm-faq.is-js h3.is-open + p {
	display: block;
	background: var(--alm-tint);
	border-radius: 0 0 14px 14px;
	margin-top: -0.6rem;
	padding-top: 0.4rem;
	animation: alm-rise 0.25s ease both;
}

.alm-faq.is-js h3:focus-visible {
	outline: 2px solid var(--alm-blue);
	outline-offset: 2px;
}

/* Photos ([almaza_photos]) */
.alm-photos {
	margin: 1.5rem 0;
}

.alm-photos__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	font-weight: 800;
	color: var(--alm-ink);
}

.alm-photos__title i {
	color: var(--alm-blue);
}

.alm-photos__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
}

.alm-photos__grid img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center top; /* crops the printed phone bar */
	border-radius: 14px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alm-photos__grid img:hover {
	transform: scale(1.03);
	box-shadow: var(--alm-shadow-lg);
}

/* Quote form ([almaza_quote_form]) */
.alm-quote {
	display: grid;
	margin: 1.25rem 0 0;
	border-radius: var(--alm-radius);
	overflow: hidden;
	box-shadow: var(--alm-shadow-lg);
	border: 1px solid var(--alm-line);
	scroll-margin-top: 120px;
}

.alm-quote__aside {
	background: linear-gradient(160deg, var(--alm-navy), var(--alm-ink));
	color: #dfe8f6;
	padding: 1.35rem 1.2rem;
}

.alm-quote__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.4rem !important;
	color: var(--alm-gold);
	font-weight: 800;
	font-size: 0.88rem;
}

.alm-lp .alm-quote__title {
	color: #fff;
	font-size: 1.25rem;
	margin: 0 0 0.9rem;
}

.alm-article ol.alm-quote__next {
	list-style: none;
	padding: 0;
	margin: 0 0 0.9rem;
	counter-reset: alm-next;
	display: grid;
	gap: 0.55rem;
}

.alm-quote__next li {
	position: relative;
	counter-increment: alm-next;
	padding-inline-start: 2.2rem;
	font-size: 0.92rem;
}

.alm-quote__next li::before {
	content: counter(alm-next);
	position: absolute;
	inset-inline-start: 0;
	top: 0.1rem;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-weight: 800;
	font-size: 0.8rem;
	display: grid;
	place-items: center;
}

.alm-quote__next strong {
	color: #fff;
}

.alm-quote__call {
	margin: 0 !important;
	font-size: 0.92rem;
}

.alm-lp .alm-quote__call a {
	color: #fff;
	font-weight: 800;
}

.alm-quote__form {
	background: #fff;
	padding: 1.35rem 1.2rem;
}

.alm-quote__grid {
	display: grid;
	gap: 0.15rem 0.9rem;
}

.alm-field {
	margin: 0 0 0.7rem !important;
}

.alm-field label {
	display: block;
	font-weight: 800;
	font-size: 0.86rem;
	margin-bottom: 0.3rem;
	color: var(--alm-ink);
}

.alm-field input,
.alm-field select,
.alm-field textarea {
	width: 100%;
	min-height: 50px;
	border: 1.5px solid #cfdaea;
	border-radius: 12px;
	padding: 0.55rem 0.85rem;
	background: #fbfdff;
	font: inherit;
	font-size: 1rem; /* 16px avoids zoom on iOS */
	color: var(--alm-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.alm-field input[dir="ltr"] {
	text-align: right;
}

.alm-field input:focus,
.alm-field select:focus,
.alm-field textarea:focus {
	outline: none;
	border-color: var(--alm-blue);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(32, 109, 191, 0.15);
}

.alm-more {
	margin: 0.1rem 0 0.9rem;
}

.alm-more summary {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	font-weight: 800;
	font-size: 0.9rem;
	color: var(--alm-blue);
	list-style: none;
	margin-bottom: 0.6rem;
}

.alm-more summary::-webkit-details-marker {
	display: none;
}

.alm-more summary::before {
	content: "\f067";
	font-family: var(--alm-fa);
	font-weight: 900;
	font-size: 0.75rem;
	transition: transform 0.2s ease;
}

.alm-more[open] summary::before {
	transform: rotate(45deg);
}

.alm-quote__submit {
	width: 100%;
}

.alm-quote__submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.alm-quote__msg {
	margin: 0.75rem 0 0 !important;
	padding: 0.7rem 0.95rem;
	border-radius: 12px;
	font-weight: 800;
}

.alm-quote__msg.is-ok {
	background: #e3f7ec;
	color: #0d6b37;
}

.alm-quote__msg.is-error {
	background: #fdecec;
	color: #a12626;
}

.alm-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Closing call to action ------------------------------------------------- */
.alm-final {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(50% 90% at 90% 100%, rgba(37, 211, 168, 0.22), transparent 70%),
		linear-gradient(150deg, var(--alm-navy) 0%, var(--alm-ink) 100%);
	color: #fff;
	padding: 4.5rem 0 3rem;
	margin-top: 1.5rem;
	text-align: center;
}

.alm-final__art {
	position: absolute;
	left: -1.5rem;
	bottom: -1.5rem;
	font-size: 11rem;
	color: rgba(255, 255, 255, 0.06);
	transform: scaleX(-1);
	pointer-events: none;
}

.alm-final__inner {
	position: relative;
	max-width: 760px;
}

.alm-final__kicker {
	margin: 0 0 0.25rem;
	color: var(--alm-gold);
	font-weight: 800;
}

.alm-final__title {
	color: #fff;
	font-family: "Rakkas", serif;
	font-size: clamp(1.6rem, 6vw, 2.4rem);
	margin: 0 0 0.6rem;
}

.alm-final__text {
	color: #dfe8f6;
	margin: 0 auto 1.4rem;
	max-width: 34em;
}

.alm-final .alm-hero__cta {
	margin: 0 auto;
}

/* Scroll reveal (js adds .alm-anim to the wrapper) */
.alm-anim .alm-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.alm-anim .alm-reveal.is-in {
	opacity: 1;
	transform: none;
}

.alm-anim .alm-reveal .alm-cards li,
.alm-anim .alm-reveal .alm-tile,
.alm-anim .alm-reveal .alm-steps li,
.alm-anim .alm-reveal .alm-photos__grid img {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.alm-anim .alm-reveal.is-in .alm-cards li,
.alm-anim .alm-reveal.is-in .alm-tile,
.alm-anim .alm-reveal.is-in .alm-steps li,
.alm-anim .alm-reveal.is-in .alm-photos__grid img {
	opacity: 1;
	transform: none;
}

.alm-anim .alm-reveal.is-in :is(.alm-cards li, .alm-tile, .alm-steps li, .alm-photos__grid img):nth-child(2) { transition-delay: 0.08s; }
.alm-anim .alm-reveal.is-in :is(.alm-cards li, .alm-tile, .alm-steps li, .alm-photos__grid img):nth-child(3) { transition-delay: 0.16s; }
.alm-anim .alm-reveal.is-in :is(.alm-cards li, .alm-tile, .alm-steps li, .alm-photos__grid img):nth-child(4) { transition-delay: 0.24s; }
.alm-anim .alm-reveal.is-in :is(.alm-cards li, .alm-tile, .alm-steps li, .alm-photos__grid img):nth-child(5) { transition-delay: 0.32s; }
.alm-anim .alm-reveal.is-in :is(.alm-cards li, .alm-tile, .alm-steps li, .alm-photos__grid img):nth-child(n+6) { transition-delay: 0.4s; }

/* Larger screens --------------------------------------------------------- */
@media (min-width: 640px) {
	.alm-article ul.alm-cards,
	.alm-tiles,
	.alm-quote__grid,
	.alm-article ul.alm-checks--2col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.alm-sec {
		padding: 2rem 2rem;
	}

	.alm-intro {
		padding: 1.4rem 1.6rem;
	}

	.alm-photos__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.alm-hero {
		padding: 1.25rem 0 6rem;
	}

	.alm-hero__inner {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: 3.5rem;
	}

	.alm-wave {
		height: 90px;
	}

	.alm-perks {
		margin-top: -3.75rem;
	}

	.alm-perks__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
	}

	.alm-perks__list li {
		padding: 1.05rem 1.1rem;
	}

	.alm-article ul.alm-cards.alm-cards--pins {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Horizontal steps */
	.alm-article ol.alm-steps {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 1rem;
	}

	.alm-steps li {
		padding: 3.6rem 0 0;
		text-align: center;
	}

	.alm-steps li::before {
		inset-inline-start: 50%;
		transform: translateX(50%);
	}

	.alm-steps li:not(:last-child)::after {
		inset-inline-start: calc(50% + 1.6rem);
		inset-inline-end: calc(-50% - 1rem + 1.6rem);
		top: 1.35rem;
		bottom: auto;
		width: auto;
		border-inline-start: 0;
		border-top: 2px dashed rgba(255, 255, 255, 0.3);
	}

	.alm-quote {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
	}

	.alm-quote__aside,
	.alm-quote__form {
		padding: 1.75rem 1.6rem;
	}

	.alm-quote__submit {
		width: auto;
		min-width: 240px;
	}

	.alm-final__art {
		font-size: 16rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.alm-lp *,
	.alm-lp *::before,
	.alm-lp *::after {
		animation: none !important;
		transition: none !important;
	}

	.alm-anim .alm-reveal,
	.alm-anim .alm-reveal * {
		opacity: 1 !important;
		transform: none !important;
	}
}
