/**
 * Al Reda — site shell and home sections (header, hero, section heads,
 * category tiles, factory, WhatsApp band, contact summary, footer).
 * Tokens come from components.css (:root --alreda-*). RTL-first, logical props.
 */

/* Site font: Questv1 (Arabic + digits, Regular only — bold is synthesized).
   It has almost no Latin letters, so Latin text falls back to the local
   IBM Plex Sans Arabic files. Licence note in CLAUDE.md §6. */
@font-face { font-family: "Questv1"; src: url("../fonts/Questv1-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
	--ar-font: "Questv1", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--ar-wrap: 1280px;
	--ar-gutter: clamp(16px, 4vw, 80px);
}

body {
	font-family: var(--ar-font);
	background: var(--alreda-surface);
	color: var(--alreda-text-primary);
}

.ar-icon { flex: none; display: block; }
.ar-only-mobile { display: none; }

/* ---------- Buttons ---------- */

.ar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding-inline: 20px;
	border-radius: 4px;
	border: 1.5px solid transparent;
	font-family: var(--ar-font);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ar-btn:focus-visible { outline: 3px solid var(--alreda-yellow); outline-offset: 2px; }
.ar-btn--lg { min-height: 54px; padding-inline: 26px; font-size: 16px; }
.ar-btn--accent { background: var(--alreda-yellow); color: var(--alreda-navy); }
.ar-btn--accent:hover { background: var(--alreda-yellow-hover); color: var(--alreda-navy); }
.ar-btn--light { background: #fff; color: var(--alreda-blue); }
.ar-btn--light:hover { background: #E9F1FA; color: var(--alreda-blue-hover); }
.ar-btn--ghost-light, .ar-btn--on-dark { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.ar-btn--ghost-light:hover, .ar-btn--on-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.ar-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--alreda-blue);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}
.ar-link:hover { color: var(--alreda-blue-hover); text-decoration: underline; text-underline-offset: 4px; }
.ar-link--small { font-size: 13px; }

/* ---------- Brand ---------- */

.ar-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.ar-brand__logo { width: 52px; height: auto; flex: none; color: var(--alreda-blue); }
img.ar-brand__logo { height: 44px; width: 44px; border-radius: 4px; object-fit: cover; }
.ar-brand--dark .ar-brand__logo { color: #fff; }
.ar-brand__text { display: flex; flex-direction: column; min-width: 0; }
.ar-brand__name { font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--alreda-navy); }
.ar-brand__tagline { font-size: 11px; font-weight: 500; color: var(--alreda-steel); }
.ar-brand--dark .ar-brand__name { color: #fff; }

/* ---------- Header ---------- */

.elementor-location-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .elementor-location-header { top: 32px; }

.ar-header { background: #fff; border-block-end: 1px solid var(--alreda-border); position: relative; }
.ar-header__inner {
	max-width: calc(var(--ar-wrap) + 2 * var(--ar-gutter));
	margin-inline: auto;
	padding-inline: var(--ar-gutter);
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.ar-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.ar-nav__list a {
	display: block;
	padding-block: 24px 21px;
	border-block-end: 3px solid transparent;
	color: var(--alreda-text-primary);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.ar-nav__list a:hover { color: var(--alreda-blue); }
.ar-nav__list .current-menu-item > a,
.ar-nav__list .current_page_item > a { color: var(--alreda-blue); border-color: var(--alreda-blue); }
.ar-header__actions { display: flex; align-items: center; gap: 8px; }
.ar-menu-toggle {
	display: none;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	border: 1px solid var(--alreda-border); border-radius: 4px;
	background: #fff; color: var(--alreda-navy); padding: 0; cursor: pointer;
}
.ar-menu-toggle:hover, .ar-menu-toggle:focus { background: var(--alreda-surface); color: var(--alreda-navy); }
.ar-menu-toggle__close { display: none; }
.ar-header.is-open .ar-menu-toggle__open { display: none; }
.ar-header.is-open .ar-menu-toggle__close { display: block; }

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

.ar-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(120% 90% at 85% 0%, #0B62B8 0%, transparent 55%),
		linear-gradient(160deg, var(--alreda-blue) 0%, #063F7A 62%, var(--alreda-navy-deep) 100%);
}
/* laser-cut honeycomb — the pattern the factory cuts into truck grilles */
.ar-hero::before {
	content: "";
	position: absolute; inset: 0; z-index: -1; opacity: .09;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 2 L52 16 L52 44 L28 58 L4 44 L4 16 Z M28 50.5 L52 64.5 L52 92.5 L28 106.5 L4 92.5 L4 64.5 Z' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E");
	background-size: 42px 73px;
	-webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.35) 55%, transparent 80%);
	mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.35) 55%, transparent 80%);
}
.ar-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 640px; }
.ar-hero__copy {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; justify-content: center; gap: 22px;
	padding-block: 64px 150px;
	padding-inline-start: var(--ar-gutter);
	padding-inline-end: 24px;
}
.ar-hero__loc {
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600;
	padding: 7px 14px; border-radius: 4px;
	border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06);
}
.ar-hero__q { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--alreda-yellow); }
.ar-hero__title { margin: 0; color: #fff; font-family: var(--ar-font); font-size: 68px; line-height: 1.18; font-weight: 700; letter-spacing: -.5px; text-wrap: balance; }
.ar-hero__title-2 { display: block; margin-top: 10px; font-size: .47em; line-height: 1.35; font-weight: 600; color: #CFE0F2; letter-spacing: 0; }
.ar-hero__desc { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.9; color: #D6E3F1; }
.ar-hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ar-hero__chips li { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 3px; background: rgba(6,22,40,.35); border: 1px solid rgba(255,255,255,.22); }
.ar-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ar-hero__num { font-weight: 600; opacity: .9; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }

.ar-hero__media { position: relative; z-index: 1; min-height: 100%; }
.ar-hero__photo { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.ar-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,24,44,.55), transparent 45%); }
.ar-hero__edge { position: absolute; inset: 0; background: var(--alreda-yellow); clip-path: polygon(100% 0, 100% 0, 84.7% 100%, 84% 100%); }
.ar-hero__proof { position: absolute; left: 32px; bottom: 150px; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.ar-hero__proof-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #E6EEF7; }
.ar-hero__proof-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.ar-hero__proof-row { display: flex; gap: 8px; }
.ar-hero__proof-row img { width: 78px; height: 104px; object-fit: cover; border-radius: 4px; border: 2px solid rgba(255,255,255,.85); }

.ar-hero__bar {
	position: absolute; z-index: 4;
	inset-inline: var(--ar-gutter); bottom: 28px;
	max-width: var(--ar-wrap); margin-inline: auto;
	display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	background: #fff; color: var(--alreda-text-primary);
	border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(6,24,44,.55);
}
.ar-cell { display: flex; align-items: center; gap: 12px; padding: 18px 22px; min-width: 0; color: inherit; text-decoration: none; }
.ar-cell + .ar-cell { border-inline-start: 1px solid var(--alreda-border); }
a.ar-cell:hover .ar-cell__v { color: var(--alreda-blue); }
.ar-cell__ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 4px; background: #E9F1FA; color: var(--alreda-blue); }
.ar-cell--main .ar-cell__ic, .ar-cell__ic--accent { background: var(--alreda-yellow); color: var(--alreda-navy); }
.ar-cell__tx { display: flex; flex-direction: column; min-width: 0; }
.ar-cell__k { font-size: 12px; font-weight: 500; color: var(--alreda-text-secondary); }
.ar-cell__v { font-size: 15px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ar-cell__v[dir="ltr"] { text-align: end; }

/* ---------- Home sections ---------- */

.ar-sec { padding-inline: var(--ar-gutter); }
.ar-sec > .e-con-inner { max-width: var(--ar-wrap); }

.ar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; width: 100%; }
.ar-head__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 68ch; }
.ar-head__title { margin: 0; font-family: var(--ar-font); font-size: 32px; line-height: 1.35; font-weight: 700; color: var(--alreda-text-primary); text-wrap: balance; }
.ar-head__sub { margin: 0; font-size: 16px; line-height: 1.75; color: var(--alreda-text-secondary); }
.ar-head--dark .ar-head__title { color: #fff; }
.ar-head--dark .ar-head__sub { color: #A9B8C4; }

.ar-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* Category tile: full photo, name + product count over a navy fade, arrow chip */
.ar-tile a {
	position: relative; isolation: isolate; display: block;
	border-radius: 6px; overflow: hidden; background: var(--alreda-navy); color: #fff; text-decoration: none;
}
.ar-tile a::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to top, rgba(17, 32, 45, .94) 0%, rgba(17, 32, 45, .6) 34%, rgba(17, 32, 45, 0) 66%);
}
/* In flow, so it sets the tile's height; overflow keeps a tall photo from stretching the ratio. */
.ar-tile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.ar-tile__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ar-tile a:hover .ar-tile__img { transform: scale(1.05); }
.ar-tile__body {
	position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 20px;
}
.ar-tile__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ar-tile__name { font-weight: 700; font-size: 20px; line-height: 1.35; color: #fff; text-wrap: balance; }
.ar-tile__count { font-size: 13px; font-weight: 600; color: #C3D0DA; }
.ar-tile__go {
	flex: none; width: 40px; height: 40px; display: grid; place-items: center;
	border: 1px solid rgba(255, 255, 255, .5); border-radius: 4px; color: #fff;
	transition: background-color .2s ease, border-color .2s ease;
}
.ar-tile a:hover .ar-tile__go, .ar-tile a:focus-visible .ar-tile__go { background: var(--alreda-blue); border-color: var(--alreda-blue); }
.ar-tile a:focus-visible { outline: 3px solid var(--alreda-blue); outline-offset: 3px; }
/* No photo yet: navy plate with the logo mark, so it reads as deliberate, not empty */
.ar-tile--plain a { background: linear-gradient(160deg, var(--alreda-navy-deep), var(--alreda-navy)); }
.ar-tile--plain .ar-tile__media { display: grid; place-items: start center; padding-top: 12%; }
.ar-tile__mark { width: 52%; height: auto; color: #fff; opacity: .13; }
/* Product with no photo: same navy plate + logo mark as a plain category tile */
.ar-noimg {
	display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 1 / 1;
	background: linear-gradient(160deg, var(--alreda-navy-deep), var(--alreda-navy));
}
.ar-noimg__mark { width: 52%; height: auto; color: #fff; opacity: .13; }

.ar-factory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; color: #fff; }
.ar-factory__title { margin: 0 0 16px; font-family: var(--ar-font); font-size: 32px; font-weight: 700; color: #fff; }
.ar-factory__lead { margin: 0 0 24px; font-size: 17px; line-height: 1.9; color: #A9B8C4; }
.ar-factory__list { list-style: none; margin: 0; padding: 0; }
.ar-factory__list li { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-block: 16px; border-block-start: 1px solid rgba(255,255,255,.14); }
.ar-factory__list strong { font-size: 19px; font-weight: 700; }
.ar-factory__list span { font-size: 14px; color: #A9B8C4; }
.ar-factory__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ar-factory__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; aspect-ratio: 4 / 3; }
.ar-factory__media--3 img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.ar-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; color: #fff; }
.ar-band__title { margin: 0 0 6px; font-family: var(--ar-font); font-size: 30px; font-weight: 700; color: #fff; }
.ar-band__sub { margin: 0; font-size: 17px; color: #DCE8F5; }

.ar-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; }
.ar-contact__place { display: flex; gap: 16px; padding: 28px; border-inline-end: 1px solid var(--alreda-border); }
.ar-contact__address { margin: 4px 0 12px; font-size: 18px; font-weight: 700; line-height: 1.7; }
.ar-contact__list { list-style: none; margin: 0; padding: 0; display: grid; }
.ar-contact__list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 18px 28px; border-block-end: 1px solid var(--alreda-border); }
.ar-contact__list li:last-child { border-block-end: 0; }
.ar-contact__num { font-size: 18px; font-weight: 700; color: var(--alreda-text-primary); text-decoration: none; font-variant-numeric: tabular-nums; }
.ar-contact__num:hover { color: var(--alreda-blue); }

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

.ar-footer { background: var(--alreda-navy); color: #fff; }
.ar-footer__inner { max-width: calc(var(--ar-wrap) + 2 * var(--ar-gutter)); margin-inline: auto; padding: 72px var(--ar-gutter) 24px; }
.ar-footer__main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .6fr); gap: 56px; }
.ar-footer__identity { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ar-footer__about { margin: 0; max-width: 42ch; font-size: 14px; line-height: 1.9; color: #9FB0BD; }
.ar-footer__title { margin: 0 0 8px; font-family: var(--ar-font); font-size: 15px; font-weight: 700; color: #fff; }
.ar-spec { list-style: none; margin: 0; padding: 0; }
.ar-spec__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; border-block-end: 1px solid rgba(255,255,255,.12); }
.ar-spec__label { display: inline-flex; align-items: center; gap: 8px; color: #8EA0AD; font-size: 13px; }
.ar-spec__value, .ar-spec__value a { color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; text-align: end; }
.ar-spec__value a:hover { color: var(--alreda-yellow); }
.ar-tel { font-variant-numeric: tabular-nums; }
.ar-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ar-footer__menu a { color: #9FB0BD; font-size: 14px; text-decoration: none; }
.ar-footer__menu a:hover { color: #fff; }
.ar-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: #8EA0AD; }

/* ---------- Beat Elementor kit globals (.elementor-kit-N h1/h2/a) ---------- */

.ar-hero h1.ar-hero__title,
.ar-factory h2.ar-factory__title,
.ar-band h2.ar-band__title,
.ar-head--dark h2.ar-head__title,
.ar-footer h2.ar-footer__title { color: #fff; }
.ar-head h2.ar-head__title { font-family: var(--ar-font); }

a.ar-btn.ar-btn--accent, a.ar-btn.ar-btn--accent:hover { color: var(--alreda-navy); }
a.ar-btn.ar-btn--light { color: var(--alreda-blue); }
a.ar-btn.ar-btn--light:hover { color: var(--alreda-blue-hover); }
a.ar-btn.ar-btn--ghost-light, a.ar-btn.ar-btn--on-dark,
a.ar-btn.ar-btn--ghost-light:hover, a.ar-btn.ar-btn--on-dark:hover { color: #fff; }
a.ar-brand, a.ar-brand:hover { color: inherit; }
.ar-footer a.ar-tel, .ar-spec__value a { color: #fff; }
.ar-footer .ar-footer__menu a { color: #9FB0BD; }
.ar-footer .ar-footer__menu a:hover { color: #fff; }
a.ar-cell { color: var(--alreda-text-primary); }
.ar-tile a.ar-tile__link, .ar-tile > a { color: #fff; }

/* Hero spans the full width; only inner content keeps the gutter. */
.ar-sec.ar-sec--hero { padding-inline: 0; }

/* Card images fill a fixed-ratio frame instead of stretching the card. */
.alreda-card-media { overflow: hidden; }
.alreda-card-media .alreda-card-img { position: absolute; inset: 0; }

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
	.ar-hero__title { font-size: 52px; }
	.ar-hero__bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ar-hero__bar .ar-cell:nth-child(3) { border-inline-start: 0; }
	.ar-hero__bar .ar-cell:nth-child(n+3) { border-block-start: 1px solid var(--alreda-border); }
	.ar-hero__copy { padding-block-end: 210px; }
	.ar-hero__proof { bottom: 210px; }
	.ar-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ar-nav__list { gap: 18px; }
	.ar-footer__main { grid-template-columns: 1fr 1fr; }
	.ar-footer__identity { grid-column: 1 / -1; }
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	.ar-only-desktop { display: none; }
	.ar-only-mobile { display: inline; }
	.admin-bar .elementor-location-header { top: 0; }

	.ar-header__inner { height: 60px; gap: 8px; }
	.ar-brand__logo { width: 40px; }
	.ar-brand__name { font-size: 17px; }
	.ar-brand__tagline { display: none; }
	.ar-header .ar-btn { padding-inline: 12px; font-size: 14px; }
	/* WhatsApp CTA becomes a square icon button; its label stays for screen readers */
	.ar-header a.ar-header__wa { width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; flex: none; }
	.ar-header a.ar-header__wa .ar-icon { width: 22px; height: 22px; }
	.ar-header a.ar-header__wa span {
		position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
		overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
	}
	.ar-menu-toggle { display: inline-flex; }
	.ar-nav {
		display: none;
		position: absolute; inset-inline: 0; top: 100%;
		background: #fff; border-block-end: 1px solid var(--alreda-border);
		box-shadow: 0 16px 24px -16px rgba(19,32,45,.35);
	}
	.ar-header.is-open .ar-nav { display: block; }
	.ar-nav__list { flex-direction: column; gap: 0; padding-inline: 16px; }
	.ar-nav__list li + li { border-block-start: 1px solid var(--alreda-border); }
	.ar-nav__list a { padding-block: 16px; font-size: 17px; border-block-end: 0; border-inline-start: 3px solid transparent; padding-inline-start: 12px; }
	.ar-nav__list .current-menu-item > a { border-color: var(--alreda-blue); }

	.ar-hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.ar-hero__copy { padding: 32px 16px 28px; gap: 16px; }
	.ar-hero__loc { font-size: 12px; }
	.ar-hero__q { font-size: 20px; }
	.ar-hero__title { font-size: 36px; line-height: 1.25; }
	.ar-hero__title-2 { font-size: .53em; margin-top: 6px; }
	.ar-hero__desc { font-size: 15px; line-height: 1.8; }
	.ar-hero__chips li { font-size: 12.5px; padding: 6px 10px; }
	.ar-hero__ctas { flex-direction: column; }
	.ar-hero__ctas .ar-btn { width: 100%; }
	.ar-hero__media { height: 300px; min-height: 0; }
	.ar-hero__photo { clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
	.ar-hero__edge { clip-path: polygon(0 12%, 100% 0, 100% 1.6%, 0 13.6%); }
	.ar-hero__proof { left: 16px; bottom: 16px; }
	.ar-hero__proof-row img { width: 64px; height: 84px; }
	.ar-hero__bar { position: static; margin: 0; border-radius: 0; box-shadow: none; border-top: 4px solid var(--alreda-yellow); grid-template-columns: 1fr 1fr; }
	.ar-hero__bar .ar-cell { padding: 14px 16px; border-inline-start: 0; border-block-start: 1px solid var(--alreda-border); }
	.ar-hero__bar .ar-cell--main { grid-column: 1 / -1; border-block-start: 0; }
	.ar-hero__bar .ar-cell:nth-child(even):not(.ar-cell--main) { border-inline-start: 0; }
	.ar-hero__bar .ar-cell:nth-child(odd):not(.ar-cell--main) { border-inline-start: 1px solid var(--alreda-border); }
	.ar-hero__bar .ar-cell:last-child:nth-child(even) { grid-column: 1 / -1; }
	.ar-cell__ic { width: 34px; height: 34px; }
	.ar-cell__v { font-size: 14px; }

	.ar-head__title { font-size: 24px; }
	.ar-head__sub { font-size: 14px; }
	.ar-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ar-tile__media { aspect-ratio: 4 / 5; }
	.ar-tile__body { padding: 12px; gap: 8px; }
	.ar-tile__name { font-size: 16px; }
	.ar-tile__count { font-size: 12px; }
	.ar-tile__go { width: 32px; height: 32px; }
	.ar-tile__go .ar-icon { width: 16px; height: 16px; }
	.ar-factory { grid-template-columns: 1fr; gap: 32px; }
	.ar-factory__title, .ar-band__title { font-size: 24px; }
	.ar-factory__lead, .ar-band__sub { font-size: 15px; }
	.ar-band .ar-btn { width: 100%; }
	.ar-contact { grid-template-columns: 1fr; }
	.ar-contact__place { border-inline-end: 0; border-block-end: 1px solid var(--alreda-border); padding: 20px; }
	.ar-contact__list li { grid-template-columns: 1fr auto; padding: 16px 20px; }
	.ar-contact__list li .ar-link { grid-column: 1 / -1; }

	.alreda-product-grid, .alreda-projects-grid { gap: 12px; }
	.alreda-card-body { padding: 12px; }
	.alreda-card-title { font-size: .95rem; }
	.alreda-projects-grid { grid-template-columns: 1fr; }

	.ar-footer__inner { padding-top: 40px; }
	.ar-footer__main { grid-template-columns: 1fr; gap: 32px; }
	.ar-spec__row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	.ar-tile__img, .ar-tile__go, .ar-btn { transition: none; }
	.ar-tile a:hover .ar-tile__img { transform: none; }
}

/* =====================================================================
   Product card (shared by the home grid and the product archive)
   ===================================================================== */

.alreda-product-card { height: 100%; transition: border-color .15s ease; }
.alreda-product-card:hover { border-color: #C9D3DA; }
.alreda-product-card .alreda-card-media { background: #EEF2F4; }
.alreda-product-card .alreda-card-body { flex: 1; padding: 16px; gap: 8px; }
.alreda-product-card .alreda-card-category { font-size: 12px; font-weight: 500; color: var(--alreda-text-secondary); }
.alreda-product-card h3.alreda-card-title { font-family: var(--ar-font); font-size: 17px; font-weight: 700; line-height: 1.5; margin: 0; }
.alreda-product-card .alreda-card-title a { color: var(--alreda-text-primary); }
.alreda-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.alreda-product-card .alreda-card-price { font-size: 15px; font-weight: 700; color: var(--alreda-blue); }
.alreda-product-card .alreda-card-price .alreda-request-quote { color: var(--alreda-blue); font-weight: 700; }
.alreda-badge.alreda-badge--inline { position: static; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 10px; border-radius: 3px; }
.alreda-badge--inline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1F8F4E; }
.alreda-badge--inline.alreda-badge--out-of-stock::before { background: var(--alreda-steel); }
.alreda-badge--inline.alreda-badge--made-to-order::before { background: var(--alreda-blue); }
.alreda-card-actions {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--alreda-border);
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.alreda-product-card a.alreda-card-details { display: inline-flex; align-items: center; gap: 6px; color: var(--alreda-blue); font-weight: 600; font-size: 14px; text-decoration: none; }
.alreda-product-card a.alreda-card-details:hover { text-decoration: underline; text-underline-offset: 4px; }
.alreda-product-card a.alreda-card-cta {
	margin: 0; align-self: auto;
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 40px; padding: 0 14px;
	border: 1px solid var(--alreda-steel); border-radius: 4px;
	background: #fff; color: var(--alreda-navy);
	font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.alreda-product-card a.alreda-card-cta:hover { border-color: #1F8F4E; color: #1F8F4E; background: #fff; }

/* =====================================================================
   Product archive (shop, categories, search): body.ar-shop
   ===================================================================== */

body.ar-shop .site-main {
	max-width: calc(var(--ar-wrap) + 2 * var(--ar-gutter));
	margin-inline: auto;
	padding-inline: var(--ar-gutter);
	padding-block-end: 0;
}

/* full-bleed band without horizontal overflow */
.ar-shop-head {
	background: #fff;
	box-shadow: 0 0 0 100vmax #fff;
	clip-path: inset(0 -100vmax);
	border-block-end: 1px solid var(--alreda-border);
	padding-block: 28px 24px;
	margin-block-end: 28px;
	display: flex; flex-direction: column; gap: 20px;
}
.ar-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--alreda-text-secondary); }
.ar-crumbs a { color: var(--alreda-text-secondary); text-decoration: none; }
.ar-crumbs a:hover { color: var(--alreda-blue); }
.ar-crumbs [aria-current] { color: var(--alreda-text-primary); font-weight: 600; }
.ar-shop-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.ar-shop-head__text { min-width: 0; max-width: 64ch; display: flex; flex-direction: column; gap: 8px; }
.ar-shop-head h1.ar-shop-head__title { margin: 0; font-family: var(--ar-font); font-size: 40px; line-height: 1.3; font-weight: 700; color: var(--alreda-text-primary); }
.ar-shop-head__desc, .ar-shop-head__desc p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--alreda-text-secondary); }

.ar-search { display: flex; align-items: stretch; width: min(420px, 100%); height: 48px; border: 1px solid var(--alreda-steel); border-radius: 4px; background: #fff; overflow: hidden; }
.ar-search:focus-within { border-color: var(--alreda-blue); box-shadow: 0 0 0 3px rgba(7,80,153,.15); }
.ar-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; font-family: var(--ar-font); font-size: 15px; background: transparent; color: var(--alreda-text-primary); border-radius: 0; }
.ar-search button { width: 52px; flex: none; border: 0; border-inline-start: 1px solid var(--alreda-border); border-radius: 0; background: var(--alreda-surface); color: var(--alreda-navy); display: grid; place-items: center; padding: 0; cursor: pointer; }
.ar-search button:hover, .ar-search button:focus { background: var(--alreda-blue); color: #fff; }

.ar-chips { display: flex; gap: 8px; flex-wrap: wrap; }
a.ar-chip {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 0 16px;
	border: 1px solid var(--alreda-border); border-radius: 4px;
	background: #fff; color: var(--alreda-text-primary);
	font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
a.ar-chip:hover { border-color: var(--alreda-navy); color: var(--alreda-navy); }
a.ar-chip.is-active { background: var(--alreda-navy); border-color: var(--alreda-navy); color: #fff; }
.ar-chip__count { font-size: 12px; font-weight: 500; color: var(--alreda-text-secondary); font-variant-numeric: tabular-nums; }
.ar-chip.is-active .ar-chip__count { color: #A9B8C4; }

.ar-shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 20px; }
.ar-shop-toolbar__count { margin: 0; font-size: 14px; color: var(--alreda-text-secondary); }
body.ar-shop .woocommerce-ordering { margin: 0; float: none; }
body.ar-shop .woocommerce-ordering select {
	height: 40px; padding: 0 12px; padding-inline-end: 32px;
	border: 1px solid var(--alreda-border); border-radius: 4px; background-color: #fff;
	font-family: var(--ar-font); font-size: 14px; color: var(--alreda-text-primary);
}

body.ar-shop.woocommerce ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
	margin: 0 0 40px; padding: 0;
}
body.ar-shop.woocommerce ul.products::before, body.ar-shop.woocommerce ul.products::after { display: none; }
body.ar-shop.woocommerce ul.products li.product { width: auto; float: none; margin: 0; padding: 0; text-align: start; }

body.ar-shop.woocommerce nav.woocommerce-pagination { margin-block-end: 56px; }
body.ar-shop.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 8px; border: 0; margin: 0; }
body.ar-shop.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
body.ar-shop.woocommerce nav.woocommerce-pagination ul li a,
body.ar-shop.woocommerce nav.woocommerce-pagination ul li span {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--alreda-border); border-radius: 4px; background: #fff;
	color: var(--alreda-text-primary); font-weight: 600; font-size: 15px;
}
body.ar-shop.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--alreda-navy); background: #fff; color: var(--alreda-navy); }
body.ar-shop.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--alreda-navy); border-color: var(--alreda-navy); color: #fff; }

.ar-shop-empty { background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 40px 28px; margin-block-end: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ar-shop-empty h2 { margin: 0; font-size: 22px; font-weight: 700; }
.ar-shop-empty p { margin: 0; color: var(--alreda-text-secondary); }

.ar-shop-band {
	background: var(--alreda-blue);
	box-shadow: 0 0 0 100vmax var(--alreda-blue);
	clip-path: inset(0 -100vmax);
	padding-block: 48px;
}

@media (max-width: 1100px) {
	body.ar-shop.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	body.ar-shop.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 767px) {
	.ar-shop-head { padding-block: 20px; margin-block-end: 16px; gap: 14px; }
	.ar-shop-head h1.ar-shop-head__title { font-size: 28px; }
	.ar-shop-head__desc, .ar-shop-head__desc p { font-size: 14px; }
	.ar-search { width: 100%; }
	.ar-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--ar-gutter)); padding-inline: var(--ar-gutter); scrollbar-width: none; }
	.ar-chips::-webkit-scrollbar { display: none; }
	.ar-shop-toolbar { margin-block-end: 12px; }
	body.ar-shop .woocommerce-ordering select { max-width: 190px; }
	.alreda-product-card .alreda-card-body { padding: 12px; gap: 6px; }
	.alreda-product-card h3.alreda-card-title { font-size: 14px; }
	.alreda-product-card .alreda-card-price { font-size: 13px; }
	.alreda-card-actions { gap: 8px; padding-top: 10px; }
	.alreda-product-card a.alreda-card-cta { justify-content: center; min-height: 40px; font-size: 13px; }
	.alreda-product-card a.alreda-card-details { justify-content: center; font-size: 13px; }
	.ar-shop-band { padding-block: 36px; }
}

/* =====================================================================
   Quote cart: card buttons, header cart, cart / checkout / thank-you
   ===================================================================== */

.alreda-product-card a.alreda-card-add {
	flex: 1;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 14px;
	border-radius: 4px; border: 0;
	background: var(--alreda-blue); color: #fff;
	font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.alreda-product-card a.alreda-card-add:hover { background: var(--alreda-blue-hover); color: #fff; }
.alreda-product-card a.alreda-card-add.loading { opacity: .6; pointer-events: none; }
.alreda-product-card a.alreda-card-add.added::after { content: "✓"; font-weight: 700; }
.alreda-product-card a.alreda-card-cta { flex: none; width: 42px; min-height: 42px; padding: 0; justify-content: center; }
.alreda-product-card a.added_to_cart {
	flex-basis: 100%; order: 3;
	text-align: center; font-size: 13px; font-weight: 600;
	color: var(--alreda-blue); text-decoration: underline; text-underline-offset: 3px;
	padding: 0;
}
.alreda-card-actions { flex-wrap: wrap; }
.alreda-card-stepper {
	flex: none; display: inline-flex; align-items: stretch; height: 42px;
	border: 1px solid var(--alreda-steel); border-radius: 4px; background: #fff;
}
.alreda-card-stepper .alreda-card-qty {
	min-width: 28px; display: grid; place-items: center;
	font-size: 15px; font-weight: 700; color: var(--alreda-text-primary);
}
.alreda-card-stepper button.alreda-card-step {
	width: 32px; margin: 0; padding: 0; border: 0; border-radius: 3px;
	background: transparent; color: var(--alreda-blue);
	font-family: var(--ar-font); font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer;
}
.alreda-card-stepper button.alreda-card-step:hover { background: var(--alreda-surface-base, #F3F5F6); }
.alreda-card-stepper button.alreda-card-step:disabled { color: var(--alreda-border); cursor: default; background: transparent; }
.alreda-card-stepper button.alreda-card-step:focus-visible { outline: 2px solid var(--alreda-blue); outline-offset: -2px; }

a.ar-cart-link {
	position: relative;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border: 1px solid var(--alreda-border); border-radius: 4px;
	color: var(--alreda-navy);
}
a.ar-cart-link:hover { border-color: var(--alreda-navy); color: var(--alreda-navy); }
.ar-cart-count {
	position: absolute; top: -7px; inset-inline-end: -7px;
	min-width: 20px; height: 20px; padding: 0 5px;
	display: grid; place-items: center;
	border-radius: 10px; background: var(--alreda-blue); color: #fff;
	font-size: 11px; font-weight: 700; line-height: 1;
}

.ar-tbd { color: var(--alreda-blue); font-weight: 600; }
.ar-hidden, p#billing_country_field { display: none !important; }

/* Cart + checkout pages (Hello Elementor page wrapper) */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main {
	max-width: calc(1040px + 2 * var(--ar-gutter));
	margin-inline: auto;
	padding: 40px var(--ar-gutter) 72px;
}
body.woocommerce-cart .page-header .entry-title,
body.woocommerce-checkout .page-header .entry-title { font-family: var(--ar-font); font-size: 34px; font-weight: 700; margin-bottom: 24px; }

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
	background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; border-collapse: separate; font-size: 15px;
}
.woocommerce-cart table.shop_table th { font-weight: 700; color: var(--alreda-text-secondary); font-size: 13px; }
.woocommerce-cart table.cart img { width: 64px; border-radius: 4px; }
.woocommerce-cart table.cart td.product-name a { color: var(--alreda-text-primary); font-weight: 700; text-decoration: none; }
.woocommerce-cart table.cart td.product-remove a.remove { color: var(--alreda-steel) !important; }
.woocommerce-cart table.cart td.product-remove a.remove:hover { background: #B3261E; color: #fff !important; }
.woocommerce .quantity .qty { width: 72px; height: 40px; border: 1px solid var(--alreda-border); border-radius: 4px; text-align: center; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-family: var(--ar-font); font-size: 20px; font-weight: 700; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
	font-family: var(--ar-font); font-weight: 700; border-radius: 4px;
	background: #fff; color: var(--alreda-navy); border: 1px solid var(--alreda-steel); padding: 12px 18px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--alreda-surface); color: var(--alreda-navy); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
	background: var(--alreda-blue); color: #fff; border-color: var(--alreda-blue); font-size: 17px; padding: 16px 24px;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover { background: var(--alreda-blue-hover); border-color: var(--alreda-blue-hover); color: #fff; }

.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
	background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 24px; margin-bottom: 24px;
}
.woocommerce-checkout h3 { font-family: var(--ar-font); font-size: 20px; font-weight: 700; }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; color: var(--alreda-text-primary); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
	min-height: 46px; border: 1px solid var(--alreda-steel); border-radius: 4px; padding: 8px 12px; font-family: var(--ar-font); font-size: 15px; background: #fff;
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 28px; }
.woocommerce form .form-row textarea { min-height: 110px; }
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment div.form-row { padding: 16px 0 0; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--alreda-blue); background: #fff; border-radius: 4px; font-family: var(--ar-font);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--alreda-blue); }

/* Thank-you page */
.ar-thanks {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
	background: var(--alreda-navy); color: #fff; border-radius: 6px;
	padding: 32px;
}
.ar-thanks h1.ar-thanks__title { margin: 0; color: #fff; font-family: var(--ar-font); font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; line-height: 1.35; }
.ar-thanks__lead { margin: 4px 0 0; color: #fff; font-size: 18px; font-weight: 700; }
.ar-thanks__text { margin: 0 0 10px; color: #C3D0DA; font-size: 16px; line-height: 1.8; max-width: 60ch; }
.ar-thanks__note { margin: 0; color: #9FB0BD; font-size: 13px; }
a.ar-btn.ar-btn--wa { background: #1F8F4E; color: #fff; }
a.ar-btn.ar-btn--wa:hover { background: #18773F; color: #fff; }

/* Order received (templates/woocommerce/checkout/thankyou.php) */
.ar-done__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ar-done__items { background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 20px; }
.ar-done h2.ar-done__title { margin: 0 0 14px; font-family: var(--ar-font); font-size: 20px; font-weight: 700; color: var(--alreda-text-primary); }
.ar-done .ar-review__items { max-height: none; overflow: visible; margin: 0; gap: 0; }
.ar-done .ar-review__item { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--alreda-border); font-size: 15px; }
.ar-done .ar-review__item:first-child { padding-top: 0; }
.ar-done .ar-review__item:last-child { border-bottom: 0; padding-bottom: 0; }
.ar-done .ar-review__thumb img { width: 56px; height: 56px; }
.ar-done .ar-review__total { color: var(--alreda-text-secondary); font-weight: 600; }
.ar-done h3.ar-done__subtitle { margin: 4px 0 -8px; font-family: var(--ar-font); font-size: 16px; font-weight: 700; color: var(--alreda-text-primary); }
.ar-done__contact > div:last-child { border-bottom: 0; }
.ar-done__contact dd { overflow-wrap: anywhere; }

@media (max-width: 767px) {
	.ar-header__actions { gap: 6px; }
	a.ar-cart-link { width: 40px; height: 40px; }
	.alreda-card-actions { flex-direction: row; }
	.alreda-product-card a.alreda-card-add { font-size: 13px; padding: 0 8px; gap: 6px; }
	.alreda-product-card a.alreda-card-cta { width: 40px; min-height: 40px; }
	.alreda-card-stepper { flex: 1; justify-content: space-between; }
	.alreda-card-stepper button.alreda-card-step { width: 30px; }
	/* Mobile: «أضف للسلة» shrinks to its cart icon (the aria-label keeps the name). */
	.alreda-card-stepper + a.alreda-card-add { flex: none; width: 42px; padding: 0; }
	.alreda-card-stepper + a.alreda-card-add span { display: none; }
	.alreda-card-stepper ~ a.alreda-card-cta { flex: 1 1 100%; width: auto; }
	body.woocommerce-cart .site-main, body.woocommerce-checkout .site-main { padding-top: 24px; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { padding: 16px; }
	.ar-thanks { padding: 24px 20px; }
	.ar-thanks__lead { font-size: 17px; }
	.ar-thanks .ar-btn { width: 100%; }
	.ar-done__items { padding: 16px; }
}

/* Map inside the contact summary */
.ar-contact__map { grid-column: 1 / -1; border-top: 1px solid var(--alreda-border); line-height: 0; }
.ar-contact__map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: 0 0 6px 6px; filter: saturate(.9); }
@media (max-width: 767px) { .ar-contact__map iframe { height: 300px; } }

/* Footer without the contact list: identity + links in one row */
.ar-footer .ar-footer__main { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 40px; }
.ar-footer__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
a.ar-footer__social { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; color: #fff; }
a.ar-footer__social:hover { border-color: #fff; color: var(--alreda-yellow); }
.ar-footer .ar-footer__menu { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 1100px) { .ar-footer .ar-footer__identity { grid-column: auto; } }
@media (max-width: 767px) { .ar-footer .ar-footer__main { grid-template-columns: 1fr; gap: 28px; } }

.ar-cart-count[hidden] { display: none; }

/* ---------- Inner page heading ---------- */
.ar-page-head { display: flex; flex-direction: column; gap: 12px; }
.ar-page-head h1.ar-page-head__title { margin: 0; font-family: var(--ar-font); font-size: 40px; line-height: 1.3; font-weight: 700; color: var(--alreda-text-primary); }
.ar-page-head__intro { margin: 0; max-width: 64ch; font-size: 17px; line-height: 1.8; color: var(--alreda-text-secondary); }
.ar-sec--pagehead { background: #fff; border-bottom: 1px solid var(--alreda-border); }

/* ---------- WhatsApp card (contact page) ---------- */
.ar-wa-card { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; background: var(--alreda-navy); color: #fff; border-radius: 6px; padding: 36px 40px; }
.ar-wa-card__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 60ch; }
.ar-wa-card__label { display: inline-flex; align-items: center; gap: 8px; color: #9FB0BD; font-size: 14px; font-weight: 600; }
.ar-wa-card h2.ar-wa-card__title { margin: 0; color: #fff; font-family: var(--ar-font); font-size: 24px; font-weight: 700; }
a.ar-wa-card__num { color: #fff; font-size: 44px; font-weight: 700; line-height: 1.2; text-decoration: none; font-variant-numeric: tabular-nums; align-self: flex-start; }
a.ar-wa-card__num:hover { color: var(--alreda-yellow); }
.ar-wa-card__sub { margin: 0; color: #C3D0DA; font-size: 16px; line-height: 1.8; }
.ar-wa-card__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 767px) {
	.ar-page-head h1.ar-page-head__title { font-size: 30px; }
	.ar-page-head__intro { font-size: 15px; }
	.ar-wa-card { padding: 24px 20px; }
	a.ar-wa-card__num { font-size: 32px; }
	.ar-wa-card__actions, .ar-wa-card__actions .ar-btn { width: 100%; }
}

@media (max-width: 400px) {
	.ar-brand__name { font-size: 15px; white-space: nowrap; }
	.ar-header .ar-btn { padding-inline: 10px; }
	.ar-header a.ar-header__wa { padding: 0; }
}

/* Category tiles: 6 tiles sit in 3 columns */
.ar-tiles:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .ar-tiles:has(> :nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =====================================================================
   Single product page: body.ar-product
   ===================================================================== */

body.ar-product .site-main {
	max-width: calc(var(--ar-wrap) + 2 * var(--ar-gutter));
	margin-inline: auto;
	padding: 24px var(--ar-gutter) 0;
}
body.ar-product .product > .summary.entry-summary { display: none; }
body.ar-product.woocommerce div.product { margin: 0; }
.ar-product__crumbs { margin-block-end: 20px; }

body.ar-product .ar-product__top.alreda-product-showcase {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	background: #fff;
	box-shadow: 0 0 0 100vmax #fff;
	clip-path: inset(-24px -100vmax 0);
	padding-block-end: 56px;
	border-block-end: 1px solid var(--alreda-border);
}

/* gallery */
.ar-product__gallery { position: sticky; top: 96px; }
.ar-product__main-img.alreda-showcase-main { aspect-ratio: 1 / 1; border-radius: 6px; background: #EEF2F4; }
.ar-product__thumbs.alreda-showcase-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-block-start: 12px; }
.ar-product__thumbs .alreda-showcase-thumb { width: auto; height: auto; aspect-ratio: 1 / 1; }

/* info */
.ar-product__info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
a.ar-product__cat { align-self: flex-start; color: var(--alreda-blue); font-weight: 600; font-size: 14px; text-decoration: none; }
a.ar-product__cat:hover { text-decoration: underline; text-underline-offset: 4px; }
body.ar-product h1.ar-product__title { margin: 0; font-family: var(--ar-font); font-size: 40px; line-height: 1.3; font-weight: 700; color: var(--alreda-text-primary); text-wrap: balance; }
.ar-product__price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 16px; border-block: 1px solid var(--alreda-border); }
.ar-product__price { display: flex; flex-direction: column; gap: 2px; }
.ar-product__label { font-size: 12px; color: var(--alreda-text-secondary); }
.ar-product__price-value, .ar-product__price-value .alreda-request-quote { font-size: 24px; font-weight: 700; color: var(--alreda-blue); }
.ar-product__short { font-size: 17px; line-height: 1.9; color: var(--alreda-text-secondary); }
.ar-product__short p { margin: 0 0 8px; }
.ar-product__specs { margin: 0; border: 1px solid var(--alreda-border); border-radius: 6px; overflow: hidden; }
.ar-product__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-block-end: 1px solid var(--alreda-border); }
.ar-product__specs div:last-child { border-block-end: 0; }
.ar-product__specs dt { font-weight: 700; font-size: 14px; }
.ar-product__specs dd { margin: 0; color: var(--alreda-text-secondary); font-size: 14px; text-align: end; }

/* buy box */
.ar-product__buy { display: flex; flex-direction: column; gap: 12px; }
body.ar-product .ar-product__buy form.cart { display: flex; gap: 12px; margin: 0; }
body.ar-product .ar-product__buy form.cart div.quantity { float: none; margin: 0; }
body.ar-product .ar-product__buy form.cart .qty { width: 84px; height: 54px; font-size: 17px; font-weight: 700; }
body.ar-product .ar-product__buy form.cart .single_add_to_cart_button.button.alt {
	flex: 1; float: none; min-height: 54px; padding: 0 24px;
	background: var(--alreda-blue); border: 0; border-radius: 4px; color: #fff;
	font-family: var(--ar-font); font-size: 17px; font-weight: 700;
}
body.ar-product .ar-product__buy form.cart .single_add_to_cart_button.button.alt:hover { background: var(--alreda-blue-hover); }
a.ar-btn.ar-btn--wa-outline { border: 1.5px solid #1F8F4E; color: #1F8F4E; background: #fff; width: 100%; }
a.ar-btn.ar-btn--wa-outline:hover { background: #1F8F4E; color: #fff; }
.ar-product__note { margin: 0; font-size: 13px; color: var(--alreda-text-secondary); text-align: center; }
body.ar-product .woocommerce-notices-wrapper .woocommerce-message { margin-block-end: 20px; }
body.ar-product .woocommerce-message .button.wc-forward { float: left; background: var(--alreda-blue); color: #fff; border: 0; }

/* details + related */
.ar-product__details { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-block: 56px 0; align-items: start; }
.ar-product__details--solo { grid-template-columns: minmax(0, 1fr); }
.ar-product__desc h2, .ar-product__custom h2 { margin: 0 0 12px; font-family: var(--ar-font); font-weight: 700; }
.ar-product__desc h2 { font-size: 28px; }
.ar-product__desc-body { font-size: 17px; line-height: 1.9; color: var(--alreda-text-secondary); }
.ar-product__custom { background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ar-product__details--solo .ar-product__custom { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.ar-product__custom h2 { font-size: 20px; margin: 0; }
.ar-product__custom p { margin: 0; color: var(--alreda-text-secondary); line-height: 1.8; }
.ar-product__related { display: flex; flex-direction: column; gap: 28px; padding-block: 72px 96px; }

/* sticky phone bar (only on phones) */
.ar-sticky-buy { display: none; }

@media (max-width: 1100px) {
	body.ar-product .ar-product__top.alreda-product-showcase { gap: 32px; }
	body.ar-product h1.ar-product__title { font-size: 32px; }
	.ar-product__details { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	body.ar-product .site-main { padding-top: 16px; }
	body.ar-product .ar-product__top.alreda-product-showcase { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block-end: 32px; clip-path: inset(-16px -100vmax 0); }
	.ar-product__gallery { position: static; margin-inline: calc(-1 * var(--ar-gutter)); }
	.ar-product__main-img.alreda-showcase-main { border-radius: 0; border-inline: 0; }
	.ar-product__thumbs.alreda-showcase-thumbs { padding-inline: var(--ar-gutter); }
	body.ar-product h1.ar-product__title { font-size: 26px; }
	.ar-product__price-value, .ar-product__price-value .alreda-request-quote { font-size: 20px; }
	.ar-product__short, .ar-product__desc-body { font-size: 15px; }
	.ar-product__details { padding-block-start: 32px; }
	.ar-product__custom { padding: 20px; }
	.ar-product__related { padding-block: 48px 120px; }
	body.ar-product .alreda-product-grid.alreda-grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ar-sticky-buy {
		display: flex; gap: 10px;
		position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
		padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
		background: #fff; border-top: 1px solid var(--alreda-border); box-shadow: 0 -8px 20px -12px rgba(19,32,45,.3);
	}
	.ar-sticky-buy .ar-btn { flex: 1; }
	a.ar-sticky-buy__call { flex: none; width: 54px; display: grid; place-items: center; border: 1px solid var(--alreda-steel); border-radius: 4px; color: var(--alreda-navy); }
}

/* No photo yet: a shorter placeholder instead of a full square */
.ar-product__main-img.alreda-showcase-main:has(.ar-noimg) { aspect-ratio: 16 / 9; overflow: hidden; }
.ar-product__main-img .ar-noimg { aspect-ratio: auto; }
.ar-product__main-img .ar-noimg__mark { width: 30%; }

/* Factory/split section: light tone + image-first order (About page) */
.ar-factory--light { color: var(--alreda-text-primary); }
.ar-factory.ar-factory--light h2.ar-factory__title { color: var(--alreda-text-primary); }
.ar-factory--light .ar-factory__lead, .ar-factory--light .ar-factory__list span { color: var(--alreda-text-secondary); }
.ar-factory--light .ar-factory__list li { border-color: var(--alreda-border); }
.ar-factory--reverse .ar-factory__media { order: -1; }
@media (max-width: 767px) { .ar-factory--reverse .ar-factory__media { order: 0; } }

/* =====================================================================
   Portfolio archive + single project (main.ar-portfolio)
   ===================================================================== */

body main.site-main.ar-portfolio {
	max-width: calc(var(--ar-wrap) + 2 * var(--ar-gutter));
	margin-inline: auto;
	padding: 0 var(--ar-gutter);
}
.ar-portfolio .ar-shop-head h1.ar-shop-head__title { margin: 0; font-family: var(--ar-font); font-size: 40px; line-height: 1.3; font-weight: 700; color: var(--alreda-text-primary); text-wrap: balance; }
.ar-portfolio p.ar-shop-head__desc { margin: 0; max-width: 64ch; }
.ar-works { margin-block-end: 40px; }
.ar-portfolio .alreda-project-card { height: 100%; }
.ar-portfolio .alreda-project-card .alreda-card-body { padding: 18px 20px 20px; gap: 6px; }
.ar-portfolio .alreda-project-card .alreda-card-category,
.ar-sec .alreda-project-card .alreda-card-category { color: var(--alreda-blue); font-weight: 600; font-size: 13px; }
.alreda-project-card h3.alreda-card-title { font-family: var(--ar-font); font-size: 18px; font-weight: 700; }

.ar-pagination { margin-block-end: 56px; }
.ar-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ar-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--alreda-border); border-radius: 4px; background: #fff; color: var(--alreda-text-primary); font-weight: 600; text-decoration: none; }
.ar-pagination .page-numbers.current { background: var(--alreda-navy); border-color: var(--alreda-navy); color: #fff; }

/* single project */
.ar-project__head { gap: 14px; padding-block-end: 32px; }
.ar-project__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--alreda-text-secondary); }
.ar-project__meta a { color: var(--alreda-blue); font-weight: 600; text-decoration: none; }
.ar-project__hero { margin: 8px 0 0; border-radius: 6px; overflow: hidden; background: var(--alreda-navy); aspect-ratio: 16 / 8; }
.ar-project__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ar-project__story { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-block: 24px 0; }
.ar-project h2 { margin: 0 0 14px; font-family: var(--ar-font); font-size: 28px; font-weight: 700; color: var(--alreda-text-primary); }
.ar-project__lead { margin: 0 0 12px; font-size: 18px; line-height: 1.9; color: var(--alreda-text-primary); }
.ar-project__content { font-size: 17px; line-height: 1.9; color: var(--alreda-text-secondary); }
.ar-project__details { background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.ar-project__details h2 { font-size: 18px; margin: 0; }
.ar-project__details dl { margin: 0; }
.ar-project__details dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-block-end: 1px solid var(--alreda-border); font-size: 14px; }
.ar-project__details dt { font-weight: 700; }
.ar-project__details dd { margin: 0; color: var(--alreda-text-secondary); text-align: end; }
.ar-project__details dd a { color: var(--alreda-blue); text-decoration: none; font-weight: 600; }
.ar-project__details .ar-btn { width: 100%; }

.ar-project__ba, .ar-project__gallery { padding-block-start: 56px; }
.ar-project__ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ar-project__ba-grid figure { margin: 0; position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.ar-project__ba-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-project__tag { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 3px; background: #fff; color: var(--alreda-navy); font-weight: 700; font-size: 13px; }
.ar-project__tag--after { background: var(--alreda-navy); color: #fff; }
.ar-project__gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ar-project__gallery-grid a { display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 1 / 1; }
.ar-project__gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.ar-project__gallery-grid a:hover img { transform: scale(1.04); }
.ar-project .ar-product__related { padding-block: 72px 96px; }

@media (max-width: 1100px) {
	.ar-project__story { grid-template-columns: minmax(0, 1fr); }
	.ar-project__details { position: static; }
	.ar-project__gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ar-portfolio .ar-shop-head h1.ar-shop-head__title { font-size: 28px; }
	.ar-portfolio .alreda-projects-grid { grid-template-columns: 1fr; }
	.ar-project__hero { margin-inline: calc(-1 * var(--ar-gutter)); border-radius: 0; aspect-ratio: 4 / 3; }
	.ar-project h2 { font-size: 22px; }
	.ar-project__lead { font-size: 16px; }
	.ar-project__ba-grid { grid-template-columns: 1fr; gap: 12px; }
	.ar-project__gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ar-project .ar-product__related { padding-block: 48px 64px; }
}

/* =====================================================================
   Photo wall (أعمالنا + آخر أعمالنا) and lightbox
   ===================================================================== */

.ar-gallery-head { margin-block-end: 24px; }
.ar-gallery-head .ar-shop-head__row { align-items: flex-end; }

.ar-wall { margin-block-end: 56px; }
.ar-wall--masonry { columns: 3 300px; column-gap: 16px; }
.ar-wall--masonry .ar-photo { break-inside: avoid; margin: 0 0 16px; }
.ar-wall--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block-end: 0; }
.ar-wall--grid .ar-photo { margin: 0; aspect-ratio: 4 / 5; }
.ar-wall--grid .ar-photo__link, .ar-wall--grid .ar-photo__img { height: 100%; }

.ar-photo { position: relative; border-radius: 6px; overflow: hidden; background: var(--alreda-navy); }
.ar-photo__link { display: block; position: relative; color: #fff; text-decoration: none; overflow: hidden; }
.ar-photo__link:focus-visible { outline: 3px solid var(--alreda-yellow); outline-offset: -3px; }
.ar-photo__img { display: block; width: 100%; height: auto; object-fit: cover; transform: scale(1.001); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.ar-photo__cap {
	position: absolute; inset-inline: 0; bottom: 0;
	display: flex; flex-direction: column; gap: 2px;
	padding: 48px 18px 16px;
	background: linear-gradient(to top, rgba(10,20,30,.88), rgba(10,20,30,0));
	transform: translateY(14px); opacity: 0;
	transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}
.ar-photo__cat { color: var(--alreda-yellow); font-size: 12px; font-weight: 700; }
.ar-photo__title { font-size: 16px; font-weight: 700; line-height: 1.5; }
.ar-photo__link:hover .ar-photo__img, .ar-photo__link:focus-visible .ar-photo__img { transform: scale(1.06); }
.ar-photo__link:hover .ar-photo__cap, .ar-photo__link:focus-visible .ar-photo__cap { transform: none; opacity: 1; }
/* touch screens have no hover: keep the caption visible */
@media (hover: none) { .ar-photo__cap { transform: none; opacity: 1; padding-top: 36px; } }

/* entrance: rise + unblur + settle-in zoom, staggered per batch (--d set by JS) */
.ar-wall--anim .ar-photo {
	opacity: 0;
	transform: translateY(32px) scale(.97);
	transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.ar-wall--anim .ar-photo .ar-photo__img { transform: scale(1.14); filter: blur(6px) saturate(.6); }
.ar-wall--anim .ar-photo.is-in { opacity: 1; transform: none; }
.ar-wall--anim .ar-photo.is-in .ar-photo__img { transform: scale(1.001); filter: none; transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms); transition-duration: 1.4s, .9s; }
.ar-wall--anim .ar-photo.is-in .ar-photo__link:hover .ar-photo__img { transform: scale(1.06); transition-delay: 0s; transition-duration: .9s; }

/* lightbox */
html.ar-lb-open { overflow: hidden; }
.ar-lb {
	position: fixed; inset: 0; z-index: 9999;
	display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center;
	padding: calc(16px + env(safe-area-inset-top, 0px)) 8px calc(16px + env(safe-area-inset-bottom, 0px));
	background: rgba(8, 15, 22, .94);
	opacity: 0; transition: opacity .25s ease;
}
.ar-lb.is-open { opacity: 1; }
.ar-lb__fig { grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.ar-lb__img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 4px; opacity: 0; transform: scale(.96); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.ar-lb.is-loaded .ar-lb__img { opacity: 1; transform: none; }
.ar-lb__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; color: #fff; text-align: center; }
.ar-lb__cat { color: var(--alreda-yellow); font-size: 13px; font-weight: 700; }
.ar-lb__title { font-size: 17px; }
a.ar-lb__link { color: #9FD0FF; font-size: 14px; font-weight: 600; text-decoration: none; }
a.ar-lb__link:hover { text-decoration: underline; color: #fff; }
.ar-lb__count { color: #8EA0AD; font-size: 13px; font-variant-numeric: tabular-nums; }
.ar-lb button { border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; line-height: 1; padding: 0; transition: background .2s ease; }
.ar-lb button:hover, .ar-lb button:focus-visible { background: rgba(255,255,255,.22); }
.ar-lb button:focus-visible { outline: 2px solid var(--alreda-yellow); outline-offset: 2px; }
.ar-lb__close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); inset-inline-start: 14px; width: 46px; height: 46px; font-size: 28px; }
.ar-lb__nav { width: 52px; height: 52px; font-size: 34px; justify-self: center; }
.ar-lb__nav--prev { grid-column: 1; grid-row: 1; }
.ar-lb__nav--next { grid-column: 3; grid-row: 1; }

@media (max-width: 1100px) { .ar-wall--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.ar-wall--masonry { columns: 2; column-gap: 10px; }
	.ar-wall--masonry .ar-photo { margin-bottom: 10px; }
	.ar-wall--grid { gap: 10px; }
	.ar-photo__cap { padding: 28px 10px 10px; }
	.ar-photo__title { font-size: 13px; }
	.ar-photo__cat { font-size: 11px; }
	.ar-lb { grid-template-columns: 1fr; padding-inline: 12px; }
	.ar-lb__fig { grid-column: 1; }
	.ar-lb__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ar-photo__img, .ar-photo__cap, .ar-lb, .ar-lb__img { transition: none; }
}

/* Exactly 4 works on the home page: one row of 4 instead of 3 + 1 */
@media (min-width: 1101px) { .ar-wall--grid:has(> .ar-photo:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =====================================================================
   Hero v3 — full-bleed photo slideshow, short title, two buttons
   ===================================================================== */

.ar-hero2 {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(560px, calc(100svh - 72px), 860px);
	display: flex;
	align-items: flex-end;
	background: var(--alreda-navy);
	color: #fff;
}
.ar-hero2__slides { position: absolute; inset: 0; z-index: -2; }
.ar-hero2__slide {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: 50% 55%;
	opacity: 0;
	transform: scale(1.08);
	transition: opacity 1.4s ease, transform calc(var(--ar-slide-ms, 6000ms) + 1400ms) linear;
}
.ar-hero2__slide.is-active { opacity: 1; transform: scale(1); }
/* readable text over any photo: dark from the text side (right in RTL) and from the bottom */
.ar-hero2__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(to top, rgba(8,18,30,.92) 0%, rgba(8,18,30,.35) 45%, rgba(8,18,30,.15) 70%),
		linear-gradient(to left, rgba(7,40,80,.70) 0%, rgba(7,40,80,.15) 55%, rgba(7,40,80,0) 80%);
}

.ar-hero2__inner {
	width: 100%;
	max-width: calc(var(--ar-wrap) + 2 * var(--ar-gutter));
	margin-inline: auto;
	padding: 120px var(--ar-gutter) 56px;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.ar-hero2__content { max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.ar-hero2 h1.ar-hero2__title {
	margin: 0; color: #fff;
	font-family: var(--ar-font); font-weight: 700;
	font-size: clamp(40px, 6vw, 76px); line-height: 1.15; letter-spacing: -.5px;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.ar-hero2__title::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 18px; background: var(--alreda-yellow); border-radius: 2px; }
.ar-hero2__sub { margin: 0; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; color: #DDE7F1; max-width: 44ch; }
.ar-hero2__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ar-hero2 a.ar-btn--ghost-light { background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }

/* slide indicators: progress bars that fill during each photo */
.ar-hero2__controls { display: flex; align-items: center; gap: 12px; flex: none; }
.ar-hero2__dots { display: flex; gap: 8px; }
.ar-hero2__dot { width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.ar-hero2__dot span { position: relative; display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.ar-hero2__dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: right; }
.ar-hero2__dot.is-active span::after { animation: ar-hero-progress var(--ar-slide-ms, 6000ms) linear forwards; }
.ar-hero2.is-paused .ar-hero2__dot.is-active span::after { animation: none; transform: scaleX(1); }
.ar-hero2__dot:focus-visible, .ar-hero2__pause:focus-visible { outline: 2px solid var(--alreda-yellow); outline-offset: 3px; border-radius: 3px; }
@keyframes ar-hero-progress { to { transform: scaleX(1); } }
.ar-hero2__pause {
	width: 36px; height: 36px; padding: 0;
	display: grid; place-items: center;
	border: 1px solid rgba(255,255,255,.45); border-radius: 50%;
	background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
}
.ar-hero2__pause:hover { background: rgba(255,255,255,.2); color: #fff; }
.ar-hero2__icon-play { display: none; }
.ar-hero2.is-paused .ar-hero2__icon-play { display: block; }
.ar-hero2.is-paused .ar-hero2__icon-pause { display: none; }

/* one-time entrance for the text */
@media (prefers-reduced-motion: no-preference) {
	.ar-hero2.is-ready .ar-hero2__content > * { animation: ar-hero-rise .9s cubic-bezier(.2,.7,.2,1) both; }
	.ar-hero2.is-ready .ar-hero2__content > *:nth-child(2) { animation-delay: .12s; }
	.ar-hero2.is-ready .ar-hero2__content > *:nth-child(3) { animation-delay: .24s; }
	@keyframes ar-hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
	.ar-hero2__slide { transition: opacity .01s; transform: none; }
	.ar-hero2__slide.is-active { transform: none; }
	.ar-hero2__dot.is-active span::after { animation: none; transform: scaleX(1); }
}

@media (max-width: 767px) {
	.ar-hero2 { min-height: clamp(520px, calc(100svh - 60px), 720px); }
	.ar-hero2__inner { flex-direction: column; align-items: stretch; padding: 96px 16px 24px; gap: 24px; }
	.ar-hero2__content { gap: 14px; }
	.ar-hero2__title::after { width: 48px; height: 4px; margin-top: 14px; }
	.ar-hero2__ctas { flex-direction: column; }
	.ar-hero2__ctas .ar-btn { width: 100%; }
	.ar-hero2__controls { justify-content: space-between; }
	.ar-hero2__dot { width: 36px; }
	.ar-hero2__shade { background: linear-gradient(to top, rgba(8,18,30,.94) 0%, rgba(8,18,30,.55) 50%, rgba(8,18,30,.2) 80%); }
}

/* per-photo caption (attachment caption) beside the slide indicators */
.ar-hero2__caption {
	margin: 0; min-height: 1.6em;
	font-size: 14px; font-weight: 600; color: #fff;
	display: flex; align-items: center; gap: 8px;
	transition: opacity .3s ease, transform .3s ease;
}
.ar-hero2__caption:not(:empty)::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--alreda-yellow); flex: none; }
.ar-hero2__caption:not(.is-in) { opacity: 1; }
.ar-hero2[data-ar-hero-slides].is-ready .ar-hero2__caption:not(.is-in) { opacity: .0; transform: translateY(4px); }
.ar-hero2[data-ar-hero-slides].is-ready .ar-hero2__caption.is-in { opacity: 1; transform: none; }
.ar-hero2__controls { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 767px) { .ar-hero2__caption { flex-basis: 100%; font-size: 13px; } }

/* Elementor sets .elementor img { height: auto } — keep the slides covering the hero */
.ar-hero2 img.ar-hero2__slide { width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* leave a sliver of the next section visible so visitors know to scroll */
.ar-hero2 { min-height: clamp(520px, calc(100svh - 120px), 760px); }
@media (max-width: 767px) { .ar-hero2 { min-height: clamp(500px, calc(100svh - 100px), 680px); } }

.ar-hero2 img.ar-hero2__slide { object-position: 50% 72%; }

/* =====================================================================
   Animated truck (loading screen + 404)
   ===================================================================== */

.ar-truck { display: block; overflow: visible; }
.ar-truck__road { stroke: #C9D3DA; stroke-dasharray: 22 14; }
.ar-truck__speed { stroke: #C9D3DA; }
.ar-truck__puff { fill: #C9D3DA; opacity: 0; }
.ar-truck--on-dark .ar-truck__road { stroke: rgba(255,255,255,.28); }
.ar-truck--on-dark .ar-truck__speed { stroke: rgba(255,255,255,.35); }
.ar-truck--on-dark .ar-truck__puff { fill: rgba(255,255,255,.55); }

.ar-truck__wheel, .ar-truck__body, .ar-truck__puff, .ar-truck__speed path { transform-box: fill-box; }
.ar-truck__wheel { transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
	.ar-truck--moving .ar-truck__wheel { animation: ar-truck-spin .55s linear infinite; }
	.ar-truck--moving .ar-truck__body { animation: ar-truck-bob .32s ease-in-out infinite alternate; }
	.ar-truck--moving .ar-truck__road { animation: ar-truck-road .45s linear infinite; }
	.ar-truck--moving .ar-truck__puff { animation: ar-truck-puff 1.3s ease-out infinite; }
	.ar-truck--moving .ar-truck__puff--2 { animation-delay: .43s; }
	.ar-truck--moving .ar-truck__puff--3 { animation-delay: .86s; }
	.ar-truck--moving .ar-truck__speed path { animation: ar-truck-speed .7s linear infinite; }
	.ar-truck--moving .ar-truck__speed path:nth-child(2) { animation-delay: .23s; }
	.ar-truck--moving .ar-truck__speed path:nth-child(3) { animation-delay: .46s; }
}
/* driving left (RTL forward): wheels turn counter-clockwise, road + smoke drift right */
@keyframes ar-truck-spin { to { transform: rotate(-360deg); } }
@keyframes ar-truck-bob { from { transform: translateY(0); } to { transform: translateY(-1.6px); } }
@keyframes ar-truck-road { to { stroke-dashoffset: -36; } }
@keyframes ar-truck-puff {
	0% { opacity: .9; transform: translate(0, 0) scale(.6); }
	100% { opacity: 0; transform: translate(26px, -18px) scale(2); }
}
@keyframes ar-truck-speed {
	0% { opacity: 0; transform: translateX(-12px); }
	30% { opacity: 1; }
	100% { opacity: 0; transform: translateX(24px); }
}
@media (prefers-reduced-motion: reduce) { .ar-truck__puff { opacity: .6; } }

/* =====================================================================
   404 page
   ===================================================================== */

body main.site-main.ar-404 {
	max-width: 760px;
	margin-inline: auto;
	padding: 56px var(--ar-gutter) 96px;
	display: flex; flex-direction: column; align-items: center; gap: 28px;
	text-align: center;
}
.ar-404__stage { position: relative; width: 100%; display: grid; place-items: center; padding-top: 24px; }
.ar-404__code {
	font-family: var(--ar-font); font-weight: 700;
	font-size: clamp(120px, 26vw, 220px); line-height: 1;
	color: transparent; -webkit-text-stroke: 2px #D3DBE1;
	letter-spacing: 6px; user-select: none;
}
.ar-404__truck { position: absolute; bottom: -22px; width: min(420px, 86%); height: auto; }
.ar-404__text { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.ar-404 h1.ar-404__title { margin: 0; font-family: var(--ar-font); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--alreda-text-primary); }
.ar-404__sub { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.8; color: var(--alreda-text-secondary); }
.ar-404__search { margin-top: 8px; width: min(460px, 100%); }
.ar-404__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
a.ar-btn.ar-btn--primary { background: var(--alreda-blue); color: #fff; }
a.ar-btn.ar-btn--primary:hover { background: var(--alreda-blue-hover); color: #fff; }
a.ar-btn.ar-btn--outline-dark { border-color: var(--alreda-steel); color: var(--alreda-navy); background: #fff; }
a.ar-btn.ar-btn--outline-dark:hover { border-color: var(--alreda-navy); color: var(--alreda-navy); }
.ar-404 a.ar-btn.ar-btn--wa-outline { width: auto; }
@media (max-width: 767px) {
	body main.site-main.ar-404 { padding-top: 32px; gap: 20px; }
	.ar-404__ctas { flex-direction: column; width: 100%; }
	.ar-404__ctas .ar-btn { width: 100%; }
	.ar-404__sub { font-size: 15px; }
}

/* ---------- Cart + checkout (templates/woocommerce/cart, checkout) ---------- */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main { max-width: calc(1180px + 2 * var(--ar-gutter)); }

.ar-flow {
	list-style: none; margin: 0 0 24px; padding: 0;
	display: flex; gap: 8px; flex-wrap: wrap;
}
.ar-flow__step {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px 6px 14px; border: 1px solid var(--alreda-border); border-radius: 999px;
	background: #fff; color: var(--alreda-text-secondary); font-size: 14px; font-weight: 600;
}
.ar-flow__n {
	width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
	background: var(--alreda-surface); border: 1px solid var(--alreda-border); font-size: 13px; font-weight: 700;
}
.ar-flow__step.is-current { border-color: var(--alreda-blue); color: var(--alreda-blue); }
.ar-flow__step.is-current .ar-flow__n { background: var(--alreda-blue); border-color: var(--alreda-blue); color: #fff; }
.ar-flow__step.is-done { color: var(--alreda-text-primary); }
.ar-flow__step.is-done .ar-flow__n { background: var(--alreda-navy); border-color: var(--alreda-navy); color: #fff; }

.ar-cartpage__head { margin-bottom: 24px; }
.ar-cartpage h1.ar-cartpage__title { margin: 0 0 6px; color: var(--alreda-text-primary); font-family: var(--ar-font); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; line-height: 1.3; }
.ar-cartpage__sub { margin: 0; color: var(--alreda-text-secondary); font-size: 16px; line-height: 1.7; }

.ar-cartpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }

/* Cart items */
.ar-cart-form { margin: 0; }
.ar-cart-list { display: flex; flex-direction: column; gap: 12px; }
.ar-cart-item {
	display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 16px; align-items: center;
	background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 12px;
}
.ar-cart-item__media { width: 96px; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--alreda-surface); border: 1px solid var(--alreda-border); }
.ar-cart-item__media a, .ar-cart-item__media img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
.ar-cart-item__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ar-cart-item__cat { color: var(--alreda-text-secondary); font-size: 13px; font-weight: 600; }
.ar-cart-item h2.ar-cart-item__name { margin: 0; font-family: var(--ar-font); font-size: 17px; font-weight: 700; line-height: 1.5; }
.ar-cart-item h2.ar-cart-item__name a { color: var(--alreda-text-primary); text-decoration: none; }
.ar-cart-item h2.ar-cart-item__name a:hover { color: var(--alreda-blue); }
.ar-cart-item__price { font-size: 14px; color: var(--alreda-text-secondary); }
.ar-cart-item__qty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ar-cart-item__label { font-size: 12px; color: var(--alreda-text-secondary); font-weight: 600; }
.ar-cart-item .quantity .qty { width: 76px; height: 44px; font-size: 16px; font-weight: 700; font-family: var(--ar-font); }
.ar-cart-item__end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 110px; }
.ar-cart-item__subtotal { font-weight: 700; font-size: 15px; }
.woocommerce .ar-cart-item a.remove.ar-cart-item__remove {
	width: auto; height: 36px; display: inline-flex; align-items: center; gap: 4px; padding: 0 10px;
	border: 1px solid var(--alreda-border); border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1;
	color: var(--alreda-text-secondary) !important; background: #fff; text-decoration: none;
}
.woocommerce .ar-cart-item a.remove.ar-cart-item__remove:hover { border-color: #B3261E; color: #B3261E !important; background: #fff; }
.ar-cart-actions { display: flex; justify-content: flex-end; }
.woocommerce .ar-cart-actions button.ar-cart-update { min-height: 40px; padding: 0 16px; font-size: 14px; }
.woocommerce .ar-cart-actions button.ar-cart-update:disabled { display: none; }

/* Summary aside (cart + checkout) */
.ar-cart-summary {
	position: sticky; top: 96px;
	background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 20px;
	display: flex; flex-direction: column; gap: 16px;
}
.ar-cart-summary h2.ar-cart-summary__title { margin: 0; font-family: var(--ar-font); font-size: 20px; font-weight: 700; color: var(--alreda-text-primary); }
.ar-cart-summary__rows { margin: 0; display: flex; flex-direction: column; }
.ar-cart-summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--alreda-border); }
.ar-cart-summary__rows dt { color: var(--alreda-text-secondary); font-weight: 600; }
.ar-cart-summary__rows dd { margin: 0; font-weight: 700; text-align: end; }
.ar-cart-summary__rows > div.ar-cart-summary__total { border-bottom: 0; }
.ar-cart-summary__total dt { color: var(--alreda-text-primary); }
.ar-howto { margin: 0; padding: 14px 16px; padding-inline-start: 34px; background: var(--alreda-surface); border-radius: 4px; font-size: 14px; line-height: 1.8; color: var(--alreda-text-primary); }
.ar-howto li::marker { color: var(--alreda-blue); font-weight: 700; }
.ar-btn--block { width: 100%; }
.woocommerce .wc-proceed-to-checkout { padding: 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button.ar-btn { display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; padding: 0 20px; font-size: 17px; }
.ar-cart-summary__more { align-self: center; }

/* Empty cart */
.ar-cart-empty {
	max-width: 620px; margin: 24px auto; text-align: center;
	background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 40px 24px;
	display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.ar-cart-empty__truck { width: min(260px, 70%); height: auto; margin-bottom: 8px; }
.ar-cart-empty h1.ar-cart-empty__title { margin: 0; font-family: var(--ar-font); font-size: 28px; font-weight: 700; color: var(--alreda-text-primary); }
.ar-cart-empty__sub { margin: 0; color: var(--alreda-text-secondary); font-size: 16px; line-height: 1.8; max-width: 46ch; }
.ar-cart-empty__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ar-cart-empty a.ar-btn.ar-btn--wa-outline { width: auto; }

/* Checkout */
.ar-checkout__details { background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px; padding: 24px; }
.ar-checkout h2.ar-checkout__title { margin: 0 0 16px; font-family: var(--ar-font); font-size: 20px; font-weight: 700; color: var(--alreda-text-primary); }
.woocommerce-checkout .ar-checkout #customer_details,
.woocommerce-checkout .ar-checkout #order_review { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
.ar-checkout .woocommerce-billing-fields > h3,
.ar-checkout .woocommerce-additional-fields > h3 { display: none; }
.ar-checkout .col2-set::before, .ar-checkout .col2-set::after { display: none; }
.ar-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.woocommerce .ar-checkout .woocommerce-billing-fields__field-wrapper .form-row { float: none; width: auto; grid-column: 1 / -1; margin: 0 0 14px; padding: 0; }
.woocommerce .ar-checkout .woocommerce-billing-fields__field-wrapper .form-row-first { grid-column: 1; }
.woocommerce .ar-checkout .woocommerce-billing-fields__field-wrapper .form-row-last { grid-column: 2; }
.woocommerce .ar-checkout .woocommerce-additional-fields .form-row { padding: 0; margin: 0; }
.ar-checkout form .form-row .required { color: #B3261E; text-decoration: none; }
.ar-checkout form .form-row .optional { color: var(--alreda-text-secondary); font-weight: 400; }
.woocommerce .ar-checkout form .form-row.woocommerce-invalid input.input-text { border-color: #B3261E; }
.woocommerce .ar-checkout form .form-row input.input-text:focus,
.woocommerce .ar-checkout form .form-row textarea:focus { outline: 3px solid rgba(7, 80, 153, .18); border-color: var(--alreda-blue); }
.ar-checkout__privacy { margin: 4px 0 0; color: var(--alreda-text-secondary); font-size: 13px; }

.ar-review__items { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow-y: auto; }
.ar-review__item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.ar-review__thumb img { display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 4px; border: 1px solid var(--alreda-border); }
.ar-review__name { font-weight: 600; line-height: 1.5; }
.ar-review__name .product-quantity { color: var(--alreda-text-secondary); font-weight: 700; white-space: nowrap; }
.ar-review__total { font-size: 13px; text-align: end; }
.woocommerce-checkout .ar-checkout #payment { background: none; padding: 0; border-radius: 0; }
.woocommerce-checkout .ar-checkout #payment ul.payment_methods { display: none; }
.woocommerce-checkout .ar-checkout #payment div.form-row.place-order { padding: 0; margin: 0; }
.woocommerce .ar-checkout #payment #place_order { float: none; width: 100%; min-height: 54px; padding: 0 20px; margin: 0; }
.ar-agree { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.8; }
.ar-agree p { margin: 0; }
.ar-agree__safe { color: var(--alreda-text-primary); font-weight: 600; padding: 10px 12px; border-inline-start: 3px solid var(--alreda-blue); background: var(--alreda-surface); }
.ar-agree__legal { color: var(--alreda-text-secondary); }
.ar-agree__legal a { color: var(--alreda-blue); font-weight: 600; }

@media (max-width: 960px) {
	.ar-cartpage__grid { grid-template-columns: 1fr; }
	.ar-cart-summary { position: static; }
}
@media (max-width: 600px) {
	.ar-flow__step { padding: 4px 10px 4px 12px; font-size: 13px; }
	.ar-cart-item { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "media info" "qty end"; gap: 10px 12px; }
	.ar-cart-item__media { grid-area: media; width: 76px; }
	.ar-cart-item__info { grid-area: info; }
	.ar-cart-item__qty { grid-area: qty; flex-direction: row; gap: 8px; }
	.ar-cart-item__end { grid-area: end; flex-direction: row; align-items: center; justify-content: flex-end; min-width: 0; }
	.ar-checkout__details { padding: 16px; }
	.ar-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	.woocommerce .ar-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
	.woocommerce .ar-checkout .woocommerce-billing-fields__field-wrapper .form-row-last { grid-column: 1; }
	.ar-cart-empty { padding: 28px 16px; }
	.ar-cart-empty__ctas .ar-btn { width: 100%; }
}

/* ---------- Footer legal links ---------- */
.ar-footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.ar-footer .ar-footer__legal a { color: #B7C4CE; text-decoration: none; }
.ar-footer .ar-footer__legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Privacy policy + order terms pages ---------- */
body.ar-legal-page main.site-main {
	max-width: calc(780px + 2 * var(--ar-gutter));
	margin-inline: auto;
	padding: 48px var(--ar-gutter) 80px;
}
body.ar-legal-page .page-header h1.entry-title {
	margin: 0 0 8px; font-family: var(--ar-font); font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; color: var(--alreda-text-primary);
}
.ar-legal {
	background: #fff; border: 1px solid var(--alreda-border); border-radius: 6px;
	padding: clamp(20px, 4vw, 40px); font-size: 16px; line-height: 1.95; color: var(--alreda-text-primary);
}
.ar-legal > * + * { margin-top: 0; }
.ar-legal p { margin: 0 0 14px; }
.ar-legal h2.wp-block-heading {
	margin: 28px 0 10px; padding-top: 20px; border-top: 1px solid var(--alreda-border);
	font-family: var(--ar-font); font-size: 20px; font-weight: 700; color: var(--alreda-text-primary);
}
.ar-legal ul { margin: 0 0 14px; padding-inline-start: 22px; }
.ar-legal li { margin-bottom: 6px; }
.ar-legal li::marker { color: var(--alreda-blue); }
.ar-legal a { color: var(--alreda-blue); font-weight: 600; }
.ar-legal__date { display: inline-block; font-size: 13px; color: var(--alreda-text-secondary); padding: 2px 10px; border: 1px solid var(--alreda-border); border-radius: 999px; }
@media (max-width: 600px) {
	body.ar-legal-page main.site-main { padding-top: 28px; }
	.ar-legal { font-size: 15px; }
}
.woocommerce .wc-proceed-to-checkout a.checkout-button.ar-btn,
.woocommerce .wc-proceed-to-checkout a.checkout-button.ar-btn:hover { text-decoration: none; }
.woocommerce-cart .woocommerce-message .wc-forward { display: none; }
@media (max-width: 600px) { .ar-cart-item__price { display: none; } }
.woocommerce a.ar-btn, .woocommerce a.ar-btn:hover, .ar-cart-empty a.ar-btn, .ar-cart-empty a.ar-btn:hover { text-decoration: none; }

/* =========================================================================
   Showcase home: moving strip, lit statement, video reels, process line,
   product rail, scroll reveal, progress bar. All motion is switched off
   under prefers-reduced-motion (see the block at the end).
   ========================================================================= */

.ar-kicker { margin: 0 0 14px; color: var(--alreda-blue); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.ar-kicker::before { content: ""; width: 28px; height: 3px; background: var(--alreda-yellow); border-radius: 2px; }

/* Scroll progress bar */
.ar-progress { position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 200; background: var(--alreda-yellow); transform: scaleX(0); transform-origin: right; pointer-events: none; }
.elementor-location-header .ar-header { transition: box-shadow .25s ease; }
.elementor-location-header .ar-header.is-scrolled { box-shadow: 0 6px 24px rgba(19, 32, 45, .08); }

/* Reveal */
/* Reveal (classes added by components.js only when motion is allowed).
   --ease-out-expo gives the quick start / long soft landing. */
:root { --ar-ease: cubic-bezier(.16, 1, .3, 1); }

/* lift + fade, staggered by --d inside each batch */
.ar-rv { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(4px); transition: opacity .9s var(--ar-ease), transform 1.1s var(--ar-ease), filter .9s var(--ar-ease); transition-delay: calc(var(--d, 0) * 80ms); }
.ar-rv.is-in { opacity: 1; transform: none; filter: none; }

/* headings: words rise out of a mask one after another */
.ar-rv-words .ar-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-block: .14em; margin-block: -.14em; }
.ar-rv-words .ar-word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ar-ease); transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0) * 80ms); }
.ar-rv-words.is-in .ar-word > span { transform: none; }

/* photos: wipe open from the bottom while the image settles out of a zoom */
.ar-rv-img { clip-path: inset(100% 0 0 0 round 8px); transition: clip-path 1.25s var(--ar-ease); transition-delay: calc(var(--d, 0) * 110ms); }
.ar-rv-img.is-in { clip-path: inset(0 0 0 0 round 8px); }
.ar-rv-img img, .ar-rv-img video { scale: 1.25; transition: scale 1.6s var(--ar-ease); transition-delay: calc(var(--d, 0) * 110ms); }
.ar-rv-img.is-in img, .ar-rv-img.is-in video { scale: 1; }

/* accent lines draw in */
.ar-motion .ar-kicker::before { transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ar-ease) .2s; }
.ar-motion .ar-kicker.is-in::before { transform: scaleX(1); }
.ar-motion .ar-hero2__title::after, .ar-motion .ar-band__title::after { transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ar-ease) .6s; }
.ar-motion .ar-hero2__title.is-in::after, .ar-motion .ar-band__title.is-in::after { transform: scaleX(1); }

/* hero: the heading animates by word now, not as one block */
.ar-hero2.is-ready .ar-hero2__content > .ar-rv-words { animation: none; }

/* header slides in once on load */
@media (prefers-reduced-motion: no-preference) {
	.elementor-location-header { animation: ar-header-in .9s var(--ar-ease) both; }
	@keyframes ar-header-in { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Moving strip */
.ar-marquee { overflow: hidden; background: var(--alreda-navy); color: #fff; padding-block: 22px; direction: ltr; }
.ar-marquee__track { display: flex; width: max-content; animation: ar-marquee var(--ar-marquee-s, 40s) linear infinite; }
.ar-marquee:hover .ar-marquee__track { animation-play-state: paused; }
.ar-marquee__row { display: flex; flex: none; margin: 0; padding: 0; list-style: none; direction: rtl; }
.ar-marquee__item { display: flex; align-items: center; gap: 36px; padding-inline-end: 36px; font-size: clamp(22px, 3vw, 38px); font-weight: 700; white-space: nowrap; }
.ar-marquee__item::after { content: ""; width: 12px; height: 12px; transform: rotate(45deg); border: 2px solid var(--alreda-yellow); }
@keyframes ar-marquee { to { transform: translateX(-50%); } }

/* Lit statement */
.ar-statement { max-width: 980px; }
.ar-statement--media { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ar-statement__text { margin: 0 0 28px; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.55; font-weight: 700; color: var(--alreda-text-primary); text-wrap: pretty; }
.ar-statement--media .ar-statement__text { font-size: clamp(24px, 2.6vw, 38px); }
.ar-statement__points { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.ar-statement__points li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--alreda-border); border-radius: 4px; background: var(--alreda-surface); font-size: 15px; font-weight: 700; color: var(--alreda-text-primary); }
.ar-statement__points li::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--alreda-blue); flex: none; }
.ar-statement__media { position: relative; padding-block-end: 56px; padding-inline-end: 56px; }
.ar-statement__fig { margin: 0; overflow: hidden; border-radius: 8px; background: var(--alreda-navy); }
.ar-statement__fig--main { aspect-ratio: 4 / 5; }
.ar-statement__fig--inset { position: absolute; inset-block-end: 0; inset-inline-end: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid #fff; box-shadow: 0 18px 40px rgba(19, 32, 45, .18); }
.ar-statement__fig .ar-statement__img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.12); will-change: transform; }
.ar-statement__badge { position: absolute; inset-block-start: 20px; inset-inline-start: -16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 4px; background: var(--alreda-navy); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 10px 24px rgba(19, 32, 45, .2); }
.ar-statement__badge .ar-icon { color: var(--alreda-yellow); }
@media (max-width: 900px) {
	.ar-statement--media { grid-template-columns: 1fr; }
	.ar-statement__media { padding-block-end: 40px; padding-inline-end: 40px; }
	.ar-statement__badge { inset-inline-start: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ar-statement__fig .ar-statement__img { transform: none; } }
.ar-statement__text .ar-w { color: #C3CCD3; transition: color .35s ease; }
.ar-statement__text .ar-w.is-lit { color: var(--alreda-text-primary); }

/* Rails: shared arrows */
.ar-rail, .ar-reels { position: relative; }
.ar-rail__nav { display: flex; gap: 8px; justify-content: flex-end; margin-block-end: 16px; }
.ar-rail__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--alreda-border); background: #fff; color: var(--alreda-text-primary); display: grid; place-items: center; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ar-rail__btn .ar-icon { transform: scaleX(-1); }
.ar-rail__btn--next .ar-icon { transform: none; }
.ar-rail__btn:hover { background: var(--alreda-blue); border-color: var(--alreda-blue); color: #fff; }
.ar-rail__btn:focus-visible { outline: 2px solid var(--alreda-blue); outline-offset: 3px; }

/* Video reels */
.ar-reels__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 300px); gap: 16px; margin: 0; padding: 0 0 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ar-reels__track::-webkit-scrollbar { display: none; }
.ar-reel { scroll-snap-align: start; }
.ar-reel__hit { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--alreda-navy); cursor: pointer; color: #fff; text-align: start; font: inherit; text-decoration: none; isolation: isolate; }
div.ar-reel__hit { cursor: default; }
a.ar-reel__hit, a.ar-reel__hit:hover, a.ar-reel__hit:focus { color: #fff; text-decoration: none; }
.ar-reel__hit .ar-reel__media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ar-reel__hit:hover .ar-reel__media { transform: scale(1.06); }
.ar-reel__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,30,.85), rgba(8,18,30,0) 55%); z-index: 1; }
.ar-reel__play { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); transition: background .25s ease, transform .25s ease; }
.ar-reel__hit:hover .ar-reel__play { background: var(--alreda-yellow); color: var(--alreda-navy); transform: scale(1.08); }
.ar-reel__cap { position: absolute; inset-inline: 16px; inset-block-end: 16px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.ar-reel__note { font-size: 12px; font-weight: 600; color: #BFD3E4; }
.ar-reel__title { font-size: 17px; font-weight: 700; line-height: 1.45; }
.ar-reel__hit:focus-visible { outline: 3px solid var(--alreda-yellow); outline-offset: 3px; }
.ar-player { grid-template-columns: 1fr; place-items: center; }
.ar-player__video { max-width: min(100%, 520px); max-height: calc(100vh - 100px); border-radius: 8px; background: #000; }

/* Process line: zigzag timeline, kept compact (smaller photos, tighter rhythm) */
.ar-process { --p: 0; position: relative; max-width: 880px; margin: 0 auto; padding: 0; list-style: none; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.ar-process__line { position: absolute; inset-block: 8px; inset-inline-start: 50%; width: 3px; margin-inline-start: -1.5px; background: var(--alreda-border); border-radius: 2px; }
.ar-process__fill { position: absolute; inset: 0; background: var(--alreda-blue); transform-origin: top; transform: scaleY(var(--p)); }
.ar-process__step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.ar-process__step::before { content: ""; position: absolute; inset-inline-start: 50%; top: 50%; width: 16px; height: 16px; margin: -8px -8px 0 0; border-radius: 50%; background: #fff; border: 3px solid var(--alreda-border); transition: border-color .4s ease, background .4s ease, transform .4s ease; z-index: 1; }
.ar-process__step.is-active::before { border-color: var(--alreda-blue); background: var(--alreda-yellow); transform: scale(1.15); }
.ar-process__step:nth-child(odd) .ar-process__text { order: 2; }
.ar-process__num { display: block; font-size: clamp(36px, 3.6vw, 48px); line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--alreda-blue); margin-block-end: 8px; font-variant-numeric: tabular-nums; }
.ar-process__title { margin: 0 0 6px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; color: var(--alreda-text-primary); }
.ar-process__desc { margin: 0; font-size: 15px; line-height: 1.75; color: var(--alreda-text-secondary); max-width: 40ch; }
.ar-process__fig { margin: 0; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--alreda-navy); }
.ar-process__fig .ar-process__img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.12); will-change: transform; }
.ar-process__fig .ar-process__ill { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Product rail */
.alreda-product-grid.alreda-product-grid--rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 320px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block-end: 8px; }
.alreda-product-grid--rail::-webkit-scrollbar { display: none; }
.alreda-product-grid--rail > * { scroll-snap-align: start; }

/* Hero video */
.ar-hero2 video.ar-hero2__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
	.ar-rail__nav { display: none; }
	.ar-reels__track { grid-auto-columns: 68vw; gap: 12px; }
	.alreda-product-grid.alreda-product-grid--rail { grid-auto-columns: 72vw; gap: 12px; }
	.ar-process { gap: 28px; }
	.ar-process__line { inset-inline-start: 9px; }
	.ar-process__step { grid-template-columns: 1fr; gap: 12px; padding-inline-start: 34px; }
	.ar-process__step::before { inset-inline-start: 9px; top: 16px; margin: 0 -8px 0 0; }
	.ar-process__step:nth-child(odd) .ar-process__text { order: 0; }
	.ar-process__fig { aspect-ratio: 16 / 9; }
	.ar-marquee { padding-block: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.ar-marquee__track { animation: none; }
	.ar-rv { opacity: 1; transform: none; transition: none; }
	.ar-reel__hit .ar-reel__media, .ar-statement__text .ar-w { transition: none; }
	.ar-process__fig .ar-process__img { transform: none; }
	.ar-progress { display: none; }
}

/* =========================================================================
   Contact page (alreda-contact-page): photo hero, people cards, visit/map,
   social links, WhatsApp request form.
   ========================================================================= */

.ar-sec.ar-sec--contact { padding-inline: 0; }
.ar-cp { display: flex; flex-direction: column; gap: clamp(64px, 9vw, 120px); padding-block-end: clamp(64px, 9vw, 120px); }
.ar-cp-block { width: 100%; max-width: calc(var(--ar-wrap) + 2 * var(--ar-gutter)); margin-inline: auto; padding-inline: var(--ar-gutter); box-sizing: border-box; }
.ar-cp-block__head { margin-block-end: 28px; }
.ar-cp-block__title { margin: 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.35; font-weight: 700; color: var(--alreda-text-primary); text-wrap: balance; }

/* Hero */
.ar-cp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--alreda-navy); color: #fff; min-height: clamp(300px, 44vh, 440px); display: flex; align-items: flex-end; }
.ar-cp-hero__bg { position: absolute; inset: 0; z-index: -2; }
.ar-cp-hero__bg .ar-cp-hero__img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.12); }
.ar-cp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 22, 34, .62); }
.ar-cp-hero__inner { width: 100%; max-width: calc(var(--ar-wrap) + 2 * var(--ar-gutter)); margin-inline: auto; padding: 96px var(--ar-gutter) clamp(40px, 5vw, 64px); box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; }
.ar-crumbs--light, .ar-crumbs--light a { color: #B8C7D4; }
.ar-crumbs--light [aria-current] { color: #fff; }
.ar-cp-hero h1.ar-cp-hero__title { margin: 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.2; font-weight: 700; color: #fff; }
.ar-cp-hero__intro { margin: 0; max-width: 60ch; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.8; color: #DDE7F1; }
.ar-cp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* People */
.ar-cp-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ar-cp-person { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--alreda-border); border-radius: 10px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.ar-cp-person::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 4px; background: var(--alreda-blue); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ar-cp-person:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(19, 32, 45, .1); border-color: transparent; }
.ar-cp-person:hover::after, .ar-cp-person--main::after { transform: scaleX(1); }
.ar-cp-person__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #E8F0F8; color: var(--alreda-blue); margin-block-end: 6px; }
.ar-cp-person--main .ar-cp-person__icon { background: var(--alreda-blue); color: #fff; }
.ar-cp-person__name { font-size: 15px; font-weight: 700; color: var(--alreda-text-secondary); }
a.ar-cp-person__number { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; color: var(--alreda-text-primary); text-decoration: none; letter-spacing: .5px; text-align: end; align-self: flex-start; font-variant-numeric: tabular-nums; }
a.ar-cp-person__number:hover { color: var(--alreda-blue); }
.ar-cp-person__actions { display: flex; gap: 8px; margin-top: 8px; }
a.ar-cp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--alreda-border); color: var(--alreda-text-primary); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
a.ar-cp-chip:hover { background: var(--alreda-blue); border-color: var(--alreda-blue); color: #fff; }
a.ar-cp-chip--wa { background: #E9F7EF; border-color: #CDEBD9; color: #146C3A; }
a.ar-cp-chip--wa:hover { background: #1E8E4E; border-color: #1E8E4E; color: #fff; }

/* Visit + map */
.ar-cp-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.ar-cp-visit__info { display: flex; flex-direction: column; gap: 20px; }
.ar-cp-visit__address { display: flex; gap: 12px; margin: 0; font-size: 18px; line-height: 1.8; color: var(--alreda-text-primary); }
.ar-cp-visit__address .ar-icon { flex: none; margin-top: 5px; color: var(--alreda-blue); }
.ar-cp-visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ar-btn--outline { background: #fff; border-color: var(--alreda-border); color: var(--alreda-text-primary); cursor: pointer; }
.ar-btn--outline:hover { border-color: var(--alreda-blue); color: var(--alreda-blue); }
.ar-btn--primary { background: var(--alreda-blue); color: #fff; cursor: pointer; }
.ar-btn--primary:hover { background: var(--alreda-blue-hover); color: #fff; }
.ar-cp-visit__map { position: relative; min-height: 420px; border-radius: 12px; overflow: hidden; border: 1px solid var(--alreda-border); background: var(--alreda-surface); }
.ar-cp-visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .5s ease; }
.ar-cp-visit__map:hover iframe { filter: none; }
.ar-cp-social { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
a.ar-cp-social__link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--alreda-border); border-radius: 10px; background: #fff; color: var(--alreda-text-primary); text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
a.ar-cp-social__link:hover { border-color: var(--alreda-blue); transform: translateX(-4px); color: var(--alreda-text-primary); }
.ar-cp-social__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--alreda-navy); color: #fff; flex: none; }
.ar-cp-social__text { display: flex; flex-direction: column; flex: 1; font-size: 13px; color: var(--alreda-text-secondary); }
.ar-cp-social__text strong { font-size: 16px; color: var(--alreda-text-primary); }
a.ar-cp-social__link > .ar-icon { color: var(--alreda-steel); }

/* Request form */
.ar-cp-form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 5vw, 64px); background: var(--alreda-navy); border-radius: 16px; max-width: var(--ar-wrap); padding-inline: clamp(24px, 5vw, 64px); }
.ar-cp-form-wrap .ar-kicker { color: #9FC6EC; }
.ar-cp-form-wrap .ar-cp-block__title { color: #fff; }
.ar-cp-form__lead { margin: 16px 0 0; color: #B8C7D4; font-size: 16px; line-height: 1.8; }
.ar-cp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.ar-field { display: flex; flex-direction: column; gap: 8px; }
.ar-field--full { grid-column: 1 / -1; }
.ar-field label { font-size: 14px; font-weight: 700; color: #DDE7F1; }
.ar-cp-form input, .ar-cp-form textarea { width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 16px; transition: border-color .2s ease, background .2s ease; }
.ar-cp-form input::placeholder, .ar-cp-form textarea::placeholder { color: #7F93A4; }
.ar-cp-form input:focus, .ar-cp-form textarea:focus { outline: none; border-color: var(--alreda-yellow); background: rgba(255,255,255,.1); }
.ar-cp-form [aria-invalid="true"] { border-color: #FF8A80; }
.ar-field__error { margin: 0; font-size: 13px; color: #FFB4AB; }
.ar-cp-form button.ar-btn { width: 100%; border: 0; }

@media (max-width: 900px) {
	.ar-cp-visit, .ar-cp-form-wrap { grid-template-columns: 1fr; }
	.ar-cp-visit__map { min-height: 320px; }
	.ar-cp-form-wrap { border-radius: 0; max-width: none; }
}
@media (max-width: 767px) {
	.ar-cp-hero__inner { padding-top: 96px; }
	.ar-cp-hero__ctas { flex-direction: column; }
	.ar-cp-hero__ctas .ar-btn { width: 100%; }
	.ar-cp-form { grid-template-columns: 1fr; }
	.ar-cp-person { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.ar-cp-hero__bg .ar-cp-hero__img { transform: none; }
	.ar-cp-person, .ar-cp-person::after, a.ar-cp-social__link { transition: none; }
}

/* =========================================================================
   About page: photo hero section wrapper + capability cards.
   (Hero styles are the shared .ar-cp-hero ones above.)
   ========================================================================= */

.ar-sec.ar-sec--hero-photo { padding-inline: 0; }
.ar-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ar-cap { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--alreda-border); border-radius: 10px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.ar-cap:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(19, 32, 45, .12); }
.ar-cap__fig { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alreda-navy); }
.ar-cap__fig .ar-cap__img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ar-cap:hover .ar-cap__img { transform: scale(1.07); }
.ar-cap__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 34, .55), rgba(10, 22, 34, 0) 50%); }
.ar-cap__num { position: absolute; inset-block-end: 14px; inset-inline-start: 16px; z-index: 1; font-size: 44px; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px #fff; font-variant-numeric: tabular-nums; }
.ar-cap__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; border-block-start: 3px solid var(--alreda-blue); }
.ar-cap__title { margin: 0; font-size: 20px; font-weight: 700; color: var(--alreda-text-primary); }
.ar-cap__text { margin: 0; font-size: 15px; line-height: 1.75; color: var(--alreda-text-secondary); }

@media (max-width: 1000px) { .ar-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ar-caps { grid-template-columns: 1fr; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .ar-cap, .ar-cap__fig .ar-cap__img { transition: none; } }

/* Home hero: centered text, photos + videos cycling, no buttons (2026-11-03) */
.ar-hero2 video.ar-hero2__slide { max-width: none; }
.ar-hero2 video.ar-hero2__slide.is-active { transform: none; }
.ar-hero2.ar-hero2--center { align-items: center; }
.ar-hero2--center .ar-hero2__inner { align-items: center; justify-content: center; text-align: center; padding-block: 72px; }
.ar-hero2--center .ar-hero2__content { align-items: center; max-width: 860px; }
.ar-hero2--center h1.ar-hero2__title { text-wrap: balance; }
.ar-hero2--center .ar-hero2__title::after { margin-inline: auto; }
.ar-hero2--center .ar-hero2__sub { max-width: 52ch; }
.ar-hero2--center .ar-hero2__shade { background: radial-gradient(ellipse at center, rgba(8,18,30,.72) 0%, rgba(8,18,30,.5) 60%, rgba(8,18,30,.4) 100%); }
.ar-hero2__pause--corner { position: absolute; inset-block-end: 20px; inset-inline-end: 20px; z-index: 2; width: 32px; height: 32px; opacity: .7; transition: opacity .2s ease; }
.ar-hero2__pause--corner:hover, .ar-hero2__pause--corner:focus-visible { opacity: 1; }
@media (max-width: 767px) {
	.ar-hero2--center .ar-hero2__inner { align-items: center; padding: 56px 16px; }
	.ar-hero2--center .ar-hero2__shade { background: rgba(8,18,30,.6); }
	.ar-hero2__pause--corner { inset-block-end: 14px; inset-inline-end: 14px; }
}

/* Micro-interactions: button light sweep, arrow nudge, card lift, image zoom */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ar-btn { position: relative; overflow: hidden; isolation: isolate; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ar-ease); }
	.ar-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(120%); transition: transform .7s var(--ar-ease); pointer-events: none; }
	.ar-btn:hover::after { transform: translateX(-120%); }
	.ar-btn:hover { transform: translateY(-2px); }
	.ar-btn:active { transform: translateY(0) scale(.98); }

	.ar-link .ar-icon, .ar-btn .ar-icon { transition: transform .35s var(--ar-ease); }
	.ar-link:hover .ar-icon, .ar-statement__cta:hover .ar-icon { transform: translateX(-5px); }

	.alreda-product-card, .alreda-project-card { transition: transform .45s var(--ar-ease), box-shadow .45s var(--ar-ease), border-color .3s ease; }
	.alreda-product-card:hover, .alreda-project-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(19, 32, 45, .12); border-color: transparent; }
	.alreda-card-media img { transition: transform .9s var(--ar-ease); }
	.alreda-product-card:hover .alreda-card-media img, .alreda-project-card:hover .alreda-card-media img { transform: scale(1.06); }

	.ar-statement__points li { transition: border-color .25s ease, background-color .25s ease, transform .35s var(--ar-ease); }
	.ar-statement__points li:hover { border-color: var(--alreda-blue); background: #fff; transform: translateY(-2px); }
}

.ar-reel__hit.is-playing .ar-reel__play { opacity: 0; transform: scale(.8); }

/* Reel captions (from Facebook or typed in فيديوهات مصنعنا) */
.ar-reel__caption { margin: 12px 2px 0; font-size: 14px; line-height: 1.7; color: var(--alreda-text-secondary); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.ar-player__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(100%, 520px); }
.ar-player__fig .ar-player__video { max-height: calc(100vh - 220px); }
.ar-player__caption { max-height: 120px; overflow-y: auto; color: #DDE7F1; font-size: 15px; line-height: 1.8; white-space: pre-line; text-align: start; width: 100%; }

/* «مين إحنا» film: silent loop in the big frame + play button for the full film */
.ar-statement__fig--video { position: relative; }
.ar-statement__fig--video video.ar-statement__img { transform: none; }
.ar-statement__fig--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 34, .55), rgba(10, 22, 34, .05) 55%); pointer-events: none; }
.ar-statement__play { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; font: inherit; }
.ar-statement__play-ring { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .6); backdrop-filter: blur(8px); transition: transform .45s var(--ar-ease, ease), background-color .3s ease, color .3s ease; }
.ar-statement__play-ring svg { margin-inline-start: 4px; }
.ar-statement__play-ring::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); animation: ar-play-pulse 2.4s ease-out infinite; }
@keyframes ar-play-pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.ar-statement__play:hover .ar-statement__play-ring, .ar-statement__play:focus-visible .ar-statement__play-ring { transform: scale(1.08); background: var(--alreda-yellow); border-color: var(--alreda-yellow); color: var(--alreda-navy); }
.ar-statement__play:focus-visible { outline: none; }
.ar-statement__play:focus-visible .ar-statement__play-ring { box-shadow: 0 0 0 4px rgba(255, 255, 255, .5); }
.ar-statement__play-text { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 16px; font-weight: 700; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.ar-statement__play-text small { font-size: 13px; font-weight: 400; color: #DDE7F1; font-variant-numeric: tabular-nums; }

/* landscape films open wide in the player */
.ar-player--wide .ar-player__fig { max-width: min(100%, 1100px); }
.ar-player--wide .ar-player__video { width: 100%; max-height: calc(100vh - 140px); }

@media (prefers-reduced-motion: reduce) { .ar-statement__play-ring::before { animation: none; opacity: 0; } }

/* Film band: full-width cinematic video section (alreda-film-band) */
.ar-sec.ar-sec--film { padding-inline: 0; }
.ar-film { --film-p: 1; padding-inline: calc((1 - var(--film-p)) * clamp(16px, 6vw, 96px)); }
.ar-film__frame { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; background: var(--alreda-navy); border-radius: calc((1 - var(--film-p)) * 24px); }
.ar-film__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8, 18, 30, .82) 0%, rgba(8, 18, 30, .35) 45%, rgba(8, 18, 30, .25) 100%); pointer-events: none; transition: opacity .5s ease; }
.ar-film__overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #fff; transition: opacity .5s ease, transform .6s var(--ar-ease, ease); }
.ar-film__kicker { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #DDE7F1; letter-spacing: .2px; }
.ar-film__kicker::before, .ar-film__kicker::after { content: ""; width: 28px; height: 2px; background: var(--alreda-yellow); }
.ar-film .ar-film__title { margin: 0; max-width: 18ch; font-size: clamp(30px, 5vw, 68px); line-height: 1.2; font-weight: 700; color: #fff; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.ar-film__sub { margin: 0; max-width: 52ch; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.8; color: #DDE7F1; }

@media (max-width: 767px) {
	/* same 16:9 frame as the film, so nothing is cropped; lighter overlay */
	.ar-film__overlay { gap: 6px; padding: 12px; }
	.ar-film__kicker, .ar-film__sub { display: none; }
	.ar-film .ar-film__title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.ar-film { padding-inline: 0; }
	.ar-film__frame { border-radius: 0; }
}

/* the film widget must keep its height inside the Elementor flex container */
.elementor-widget-alreda-film-band { width: 100%; flex-shrink: 0; }

/* Film band: one video, always playing; sound icon where the close button was */
.ar-film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-film__overlay, .ar-film__frame::after { transition: opacity .6s ease; }
.ar-film.has-sound .ar-film__overlay, .ar-film.has-sound .ar-film__frame::after { opacity: 0; pointer-events: none; }
.ar-film button.ar-film__sound { position: absolute; z-index: 4; inset-block-start: 16px; inset-inline-start: 16px; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .25s ease, transform .3s ease; }
.ar-film button.ar-film__sound:hover, .ar-film button.ar-film__sound:focus-visible { background: rgba(0, 0, 0, .75); color: #fff; transform: scale(1.06); }
.ar-film button.ar-film__sound:focus-visible { outline: 2px solid var(--alreda-yellow); outline-offset: 2px; }
.ar-film.has-sound button.ar-film__sound { background: var(--alreda-yellow); border-color: var(--alreda-yellow); color: var(--alreda-navy); }
.ar-film__icon-on { display: none; }
.ar-film.has-sound .ar-film__icon-on { display: block; }
.ar-film.has-sound .ar-film__icon-off { display: none; }
@media (max-width: 767px) { .ar-film button.ar-film__sound { width: 40px; height: 40px; inset-block-start: 10px; inset-inline-start: 10px; } }

/* «مين إحنا» intro (alreda-about-intro): text column + bordered fact sheet */
.ar-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; width: 100%; }
.ar-intro__body { display: flex; flex-direction: column; align-items: flex-start; }
.ar-intro .ar-intro__title { margin: 0 0 18px; font-size: clamp(28px, 3vw, 40px); line-height: 1.35; font-weight: 700; color: var(--alreda-text-primary); text-wrap: balance; }
.ar-intro__text { margin: 0 0 28px; max-width: 54ch; font-size: 17px; line-height: 1.9; color: var(--alreda-text-secondary); }

.ar-intro__card { background: #fff; border: 1px solid var(--alreda-border); border-radius: 8px; overflow: hidden; }
.ar-intro__card-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--alreda-navy); color: #fff; font-size: 15px; font-weight: 700; border-block-end: 3px solid var(--alreda-yellow); }
.ar-intro__card-head .ar-intro__mark { width: 30px; height: auto; color: #fff; flex: none; }
.ar-intro__rows { margin: 0; }
.ar-intro__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 22px; border-block-end: 1px solid var(--alreda-border); align-items: baseline; }
.ar-intro__row:last-child { border-block-end: 0; }
.ar-intro__row:nth-child(even) { background: var(--alreda-surface); }
.ar-intro__row dt { margin: 0; font-size: 14px; font-weight: 700; color: var(--alreda-blue); }
.ar-intro__row dd { margin: 0; font-size: 16px; line-height: 1.7; color: var(--alreda-text-primary); }

@media (max-width: 900px) {
	.ar-intro { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.ar-intro__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
}

/* «مين إحنا» without the fact card: one centred column */
.ar-intro--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; text-align: center; }
.ar-intro--solo .ar-intro__body { align-items: center; }
.ar-intro--solo .ar-intro__text { margin-inline: auto; }

/* Contact page illustrations (inline SVG from Contact_Page::art) */
.ar-art { margin: 0; line-height: 0; }
.ar-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.ar-cp-block__head--art { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ar-art--call { flex: none; width: clamp(160px, 18vw, 230px); margin-block-end: -8px; }
.ar-art--visit { width: 100%; max-width: 360px; margin-block-end: 8px; }
.ar-art--send { width: 100%; max-width: 300px; margin-block-start: 28px; }
.ar-art__plane { transform-box: fill-box; transform-origin: center; animation: ar-art-fly 4.5s var(--ar-ease) infinite alternate; }
@keyframes ar-art-fly { from { transform: translate(-6px, 6px) rotate(-3deg); } to { transform: translate(4px, -6px) rotate(2deg); } }
@media (max-width: 900px) {
	.ar-art--send { max-width: 240px; margin-inline: auto; }
	.ar-art--visit { max-width: 320px; }
}
@media (max-width: 600px) {
	.ar-cp-block__head--art { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
	.ar-art--call { width: 180px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ar-art__plane { animation: none; }
}
