/* ==========================================================================
   Radio Macca — main styles
   RTL-first: layout uses logical properties (inline-start = right in Arabic).
   ========================================================================== */

:root {
	--navy-950: #00091e;
	--navy-900: #0b1a33;
	--navy-800: #152541;
	--navy-700: #1f3358;
	--navy-600: #2c4473;
	--green: #1b8a5f;
	--green-600: #15724e;
	--green-50: #e7f4ee;
	--accent: #e0953f;
	--accent-600: #c97d27;
	--accent-50: #fbf0e2;
	--whatsapp: #0f7d55;
	--cream: #f7f4ec;
	--sand: #efeadb;
	--ink: #0f1a2c;
	--text: #3a4556;
	--muted: #6b7686;
	--line: #e6e1d4;
	--white: #fff;

	--font: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
	--font-display: "Zain", "Tajawal", system-ui, sans-serif;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgb(15 26 44 / .06), 0 2px 8px rgb(15 26 44 / .05);
	--shadow: 0 10px 30px -12px rgb(15 26 44 / .22);
	--shadow-lg: 0 24px 60px -20px rgb(0 9 30 / .45);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 28px);
	--section: clamp(56px, 8vw, 104px);
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.75;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.5; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.flip, [dir="rtl"] .icon.flip { transform: scaleX(-1); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons ---------------------------------------------------------------- */
.btn, .button, button.button, input[type="submit"] {
	--btn-bg: var(--green);
	--btn-fg: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.5em;
	border: 2px solid transparent; border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
	transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
	cursor: pointer; text-decoration: none;
}
.btn:hover, .button:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: 0 10px 22px -10px var(--btn-bg); }
.btn:active, .button:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow, .btn:hover .ae-button__text + .icon { transform: translateX(-4px); }
.btn--primary { --btn-bg: var(--green); }
.btn--primary:hover { background: var(--green-600); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--navy-950); }
.btn--accent:hover { background: #eba24f; }
.btn--whatsapp { --btn-bg: var(--whatsapp); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgb(255 255 255 / .35); }
.btn--ghost:hover { background: rgb(255 255 255 / .1); border-color: #fff; box-shadow: none; }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--ink); box-shadow: none; }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: .8em 1.8em; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 12px;
	background: transparent; color: var(--ink); position: relative;
	transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--cream); color: var(--ink); }
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn__label { font-size: .9rem; font-weight: 700; }
.icon-btn--round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--navy-950); color: rgb(255 255 255 / .8); font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__note { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar__note .icon { color: var(--accent); }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar__links li, .topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar__links a:hover { color: #fff; }
.topbar .icon { width: 16px; height: 16px; }

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgb(255 255 255 / .96);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgb(0 9 30 / .4); }
.site-header__main {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
	gap: clamp(12px, 3vw, 36px); min-height: var(--header-h);
}
.menu-toggle, .search-toggle { display: none; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { width: 52px; height: 52px; object-fit: contain; transition: width .25s, height .25s; }
.is-scrolled .brand__logo { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 900; }
.brand__text small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light small { color: rgb(255 255 255 / .6); }

.search {
	display: flex; align-items: center; max-width: 640px; width: 100%; justify-self: center;
	background: var(--cream); border: 1.5px solid transparent; border-radius: 999px;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search:focus-within { background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.search input[type="search"] {
	flex: 1; min-width: 0; height: 48px; padding-inline: 20px 8px; border: 0; background: transparent; outline: 0;
}
.search select {
	height: 32px; max-width: 150px; border: 0; border-inline-start: 1px solid var(--line);
	background: transparent; padding-inline: 12px 4px; color: var(--muted); font-size: .9rem; outline: 0; cursor: pointer;
}
.search button {
	display: grid; place-items: center; width: 40px; height: 40px; margin-inline: 4px;
	border: 0; border-radius: 50%; background: var(--green); color: #fff;
}
.search button .icon { width: 20px; height: 20px; }
.search button:hover { background: var(--green-600); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-link { padding-inline: 12px; }
.cart-count {
	position: absolute; top: 2px; inset-inline-start: 26px;
	min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
	background: var(--accent); color: var(--navy-950); font-size: .72rem; font-weight: 800;
	display: grid; place-items: center; line-height: 1;
}
.cart-count[data-count="0"] { background: var(--line); color: var(--muted); }
.cart-total .amount { font-weight: 800; }

.site-nav { border-top: 1px solid var(--line); }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; }
.site-nav .menu { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block; padding: 8px 14px; border-radius: 10px;
	color: var(--ink); font-weight: 700; font-size: .98rem;
}
.site-nav .menu a:hover { background: var(--cream); color: var(--green); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { color: var(--green); background: var(--green-50); }
.site-nav .sub-menu {
	position: absolute; top: 100%; inset-inline-start: 0; z-index: 10; min-width: 220px;
	padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* Drawer ----------------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(0 9 30 / .55); animation: fade .25s; }
.drawer__panel {
	position: absolute; inset-block: 0; inset-inline-start: 0; z-index: 1;
	width: min(86vw, 360px); background: #fff; padding: 16px 20px 24px;
	display: flex; flex-direction: column; gap: 16px; overflow-y: auto;
	animation: slide-in .3s var(--ease);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.drawer__menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 1.06rem; }
.drawer__menu .sub-menu a { padding-inline-start: 20px; font-weight: 500; }
.drawer__contact { margin-top: auto; display: grid; gap: 10px; }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	background-color: var(--navy-950);
	background-image:
		radial-gradient(900px 500px at 15% 10%, rgb(27 138 95 / .28), transparent 60%),
		radial-gradient(700px 400px at 90% 100%, rgb(224 149 63 / .14), transparent 60%),
		linear-gradient(90deg, rgb(0 9 30 / .94), rgb(21 37 65 / .9)),
		var(--ae-bg, none);
	background-size: cover; background-position: center;
	padding-block: clamp(56px, 8vw, 104px) clamp(110px, 12vw, 150px);
}
.hero__waves {
	position: absolute; inset-inline: 0; bottom: 0; height: 140px; z-index: -1; opacity: .16;
	background: repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 14px);
	-webkit-mask: linear-gradient(to top, #000, transparent), radial-gradient(60% 100% at 50% 100%, #000, transparent);
	mask: linear-gradient(to top, #000 10%, transparent);
	clip-path: polygon(0 70%, 8% 40%, 16% 75%, 24% 20%, 32% 60%, 40% 35%, 48% 80%, 56% 10%, 64% 55%, 72% 30%, 80% 70%, 88% 45%, 96% 65%, 100% 50%, 100% 100%, 0 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
	padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem;
	background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); color: #f4c58d;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(224 149 63 / .25); animation: pulse 2s infinite; }
.hero__title {
	font-family: var(--font-display); color: #fff; font-weight: 900;
	font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.45; margin-bottom: 20px;
}
.hero__title > span { display: block; }
.hero__title-accent { background: linear-gradient(90deg, #f6c27f, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgb(255 255 255 / .78); max-width: 58ch; margin-bottom: 28px; }
.hero__text p:last-child { margin: 0; }

.stats {
	display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; max-width: 620px;
	border-top: 1px solid rgb(255 255 255 / .14); padding-top: 24px;
}
.stat { display: flex; flex-direction: column-reverse; gap: 2px; padding-inline: 16px; border-inline-start: 1px solid rgb(255 255 255 / .12); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat__value { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; color: #fff; display: flex; gap: 2px; font-variant-numeric: tabular-nums; }
.stat__plus { color: var(--accent); }
.stat__label { color: rgb(255 255 255 / .65); font-size: .9rem; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero__orb {
	position: relative; width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%;
	display: grid; place-items: center;
	background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .12), rgb(255 255 255 / .02) 60%);
	border: 1px solid rgb(255 255 255 / .1);
}
.hero__image { width: 62%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .45)); position: relative; z-index: 1; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(27 138 95 / .45); animation: ring 4s var(--ease) infinite; }
.ring--2 { animation-delay: 1.33s; }
.ring--3 { animation-delay: 2.66s; }
@keyframes ring { from { transform: scale(.65); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(224 149 63 / 0); } }

.float-card {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
	padding: 12px 18px 12px 14px; border-radius: 16px; max-width: 260px;
	background: rgb(255 255 255 / .96); color: var(--ink); font-size: .92rem; line-height: 1.4;
	box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.float-card strong { font-family: var(--font-display); font-size: 1.2rem; }
.float-card--top { top: 8%; inset-inline-end: -4%; }
.float-card--bottom { bottom: 6%; inset-inline-start: -2%; animation-delay: -3s; }
.float-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-50); color: var(--accent-600); flex: none; }
.float-card__icon--green { background: var(--green-50); color: var(--green); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Features --------------------------------------------------------------- */
.features { position: relative; z-index: 2; margin-top: clamp(-80px, -7vw, -60px); background: linear-gradient(transparent 50%, var(--navy-800) 50%); }
.features__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-inline-start: 1px solid var(--line); transition: background-color .25s; }
.feature:first-child { border-inline-start: 0; }
.feature:hover { background: var(--cream); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green); flex: none; transition: transform .3s var(--ease); }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.06); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-size: 1.08rem; margin-bottom: 4px; }
.feature__text { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* Sections --------------------------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--navy { background: var(--navy-800); color: rgb(255 255 255 / .75); overflow: hidden; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section__watermark {
	position: absolute; top: 24px; inset-inline-end: -10px; pointer-events: none; user-select: none;
	font-family: Georgia, serif; font-size: clamp(4rem, 12vw, 10rem); font-weight: 700; line-height: 1;
	color: rgb(255 255 255 / .035); white-space: nowrap;
}

.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.section-bar .section-head { margin-bottom: 0; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px;
	color: var(--green); font-weight: 800; font-size: .95rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.section--navy .eyebrow { color: var(--accent); }
.section-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 12px; }
.section-intro { color: var(--muted); font-size: 1.05rem; }
.section--navy .section-intro { color: rgb(255 255 255 / .7); }
.section-intro p:last-child { margin: 0; }
.empty-note { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }

/* Product lists ---------------------------------------------------------- */
.products--grid, ul.products:not(.products--carousel) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	display: grid;
	gap: clamp(14px, 2vw, 24px); margin: 0; padding: 0;
}
.carousel { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 24px; scroll-padding-inline: var(--gutter); }
.carousel::-webkit-scrollbar { display: none; }
.carousel .products--carousel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23%, 290px); grid-template-columns: none; gap: 20px; }
.carousel .product-card { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; color: #fff; }
.carousel-nav .icon-btn { color: #fff; border-color: rgb(255 255 255 / .3); }
.carousel-nav .icon-btn:hover { background: #fff; color: var(--navy-800); }
.carousel-nav .icon-btn:disabled { opacity: .35; pointer-events: none; }

/* Product card */
.product-card {
	position: relative; display: flex; flex-direction: column; margin: 0 !important; width: auto !important; float: none !important;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.section--navy .product-card { border-color: transparent; }
.product-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 18px; background: linear-gradient(180deg, #f4f6f9, #eceff4); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__placeholder { color: #b7c0cc; }
.product-card__placeholder .icon { width: 72px; height: 72px; stroke-width: 1.2; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; line-height: 1.4; }
.badge--sale { background: #d9443b; color: #fff; }
.badge--muted { background: var(--ink); color: #fff; inset-inline-start: auto; inset-inline-end: 12px; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 16px 18px; }
.product-card__sku { margin: 0; font-size: .78rem; color: var(--muted); }
.product-card__sku span { font-weight: 700; color: var(--green); }
.product-card__title { margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.product-card__title a { color: var(--ink); }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__title a:hover { color: var(--green); }
.product-card__cats { margin: 0; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .star-rating { font-size: .8rem; }
.product-card__foot { margin-top: auto; padding-top: 10px; display: grid; gap: 12px; }
.product-card .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.product-card .price del { order: 2; font-size: .85rem; font-weight: 500; color: var(--muted); }
.product-card .price ins { text-decoration: none; color: #c2362e; }
.price-ask { font-size: .95rem; color: var(--green); }
.product-card .button {
	position: relative; z-index: 2; width: 100%; min-height: 44px; font-size: .95rem;
	--btn-bg: var(--navy-800);
}
.product-card .button:hover { --btn-bg: var(--green); background: var(--green); }
.product-card .button.loading { opacity: .7; pointer-events: none; }
.product-card .button.added::after { content: " ✓"; }
.product-card .added_to_cart { position: relative; z-index: 2; text-align: center; font-size: .88rem; font-weight: 700; }

/* Categories ------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.cat-card {
	display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%;
	padding: 28px 20px 22px; text-align: center; background: #fff; border-radius: var(--radius-lg);
	border: 1px solid var(--line); color: var(--ink); transition: .3s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); border-color: var(--green); }
.cat-card__media {
	display: grid; place-items: center; width: 132px; height: 132px; margin-bottom: 8px; border-radius: 50%; overflow: hidden;
	background: radial-gradient(circle at 30% 25%, #fff, var(--green-50)); color: var(--green);
	transition: transform .4s var(--ease);
}
.cat-card:hover .cat-card__media { transform: scale(1.05); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__media .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.cat-card__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.cat-card__count { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.cat-card__count .icon { width: 16px; height: 16px; color: var(--green); transition: transform .25s; }
.cat-card:hover .cat-card__count .icon { transform: translateX(-4px); }

/* Services --------------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.service-card {
	display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px);
	border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
	border: 1px solid rgb(255 255 255 / .08); transition: transform .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgb(224 149 63 / .5); }
.service-card__head { display: flex; justify-content: space-between; align-items: center; }
.service-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgb(224 149 63 / .14); color: var(--accent); }
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card__num { font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1; color: rgb(255 255 255 / .1); }
.service-card__title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0; }
.service-card__text { color: rgb(255 255 255 / .72); }
.service-card .btn { align-self: flex-start; margin-top: auto; }

.checklist ul { display: grid; gap: 10px; margin-top: 16px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist li::before {
	content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
	background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Process ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; inset-inline: 12%; border-top: 2px dashed var(--line); }
.step { position: relative; text-align: center; padding: 0 8px; counter-increment: step; }
.step__icon {
	position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px;
	border-radius: 50%; background: #fff; color: var(--green); border: 2px solid var(--green-50); box-shadow: var(--shadow-sm);
	transition: background-color .3s, color .3s;
}
.step:hover .step__icon { background: var(--green); color: #fff; }
.step__icon::after {
	content: counter(step); position: absolute; top: -4px; inset-inline-end: -4px;
	width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
	background: var(--accent); color: var(--navy-950); font-weight: 800; font-size: .85rem;
}
.step__icon .icon { width: 30px; height: 30px; }
.step__title { font-size: 1.15rem; margin-bottom: 6px; }
.step__text { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA band --------------------------------------------------------------- */
.cta-band {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: clamp(28px, 5vw, 56px); border-radius: 28px; color: #fff; overflow: hidden; position: relative; isolation: isolate;
	background-image: linear-gradient(120deg, rgb(21 114 78 / .96), rgb(11 26 51 / .95)), var(--ae-bg, none);
	background-size: cover; background-position: center;
}
.cta-band::after {
	content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; inset-inline-end: -120px; top: -160px; border-radius: 50%;
	border: 60px solid rgb(255 255 255 / .05);
}
.cta-band__content { max-width: 620px; }
.cta-band__title { color: #fff; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 10px; }
.cta-band__text { color: rgb(255 255 255 / .8); }
.cta-band__text p:last-child { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--whatsapp { --btn-bg: #fff; --btn-fg: var(--whatsapp); }

/* Page hero & content ---------------------------------------------------- */
.page-hero {
	padding-block: clamp(40px, 6vw, 72px); color: #fff;
	background: radial-gradient(600px 300px at 10% 0%, rgb(27 138 95 / .3), transparent 60%), linear-gradient(90deg, var(--navy-950), var(--navy-800));
}
.page-hero--compact { padding-block: clamp(28px, 4vw, 44px); }
.page-hero__title { color: #fff; font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; margin: 0; }
.page-hero__text { color: rgb(255 255 255 / .72); max-width: 70ch; margin-top: 10px; }
.page-hero__text p:last-child { margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: rgb(255 255 255 / .6); margin-bottom: 10px; }
.breadcrumb a { color: rgb(255 255 255 / .85); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }

.entry { max-width: 820px; margin-inline: auto; font-size: 1.05rem; }
.entry--wide { max-width: none; }
.entry h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry h3 { font-size: 1.35rem; margin-top: 1.4em; }
.entry ul, .entry ol { padding-inline-start: 1.4em; margin-bottom: 1em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry img { border-radius: var(--radius); }
.entry a { text-decoration: underline; text-underline-offset: 3px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-card__media { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--cream); color: var(--green); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media .icon { width: 48px; height: 48px; }
.post-card__body { padding: 20px; }
.post-card__title { font-size: 1.2rem; }
.post-card__title a { color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty-state > .icon { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--green); }
.notfound__inner { text-align: center; max-width: 620px; }
.notfound__code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 11rem); font-weight: 900; line-height: 1; margin: 0; background: linear-gradient(180deg, var(--green), var(--navy-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .btn-row { justify-content: center; margin-top: 24px; }
.pagination, .woocommerce-pagination { margin-top: 40px; display: flex; justify-content: center; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgb(255 255 255 / .65); padding-top: clamp(48px, 7vw, 80px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.footer-about .brand { margin-bottom: 18px; }
.footer-title { color: #fff; font-size: 1.15rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .site-footer .menu a { color: rgb(255 255 255 / .7); transition: color .2s, padding .2s; }
.footer-links a:hover, .site-footer .menu a:hover { color: #fff; padding-inline-start: 4px; }
.site-footer .menu li { margin-bottom: 10px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
.footer-contact a { color: rgb(255 255 255 / .8); }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(255 255 255 / .06); color: #fff; transition: background-color .2s, transform .2s; }
.social a:hover { background: var(--green); transform: translateY(-3px); color: #fff; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp & bottom nav ---------------------------------------- */
.whatsapp-float {
	position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90;
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgb(37 211 102 / .7);
	transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float .icon { width: 30px; height: 30px; }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.5s infinite; }

.bottom-nav { display: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
	.features__grid { grid-template-columns: repeat(2, 1fr); }
	.feature:nth-child(3) { border-inline-start: 0; }
	.feature:nth-child(n+3) { border-top: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.carousel .products--carousel { grid-auto-columns: clamp(220px, 31%, 290px); }
	.products--grid, ul.products:not(.products--carousel) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.hide-sm { display: none !important; }
	.menu-toggle, .search-toggle { display: inline-flex; }
	.site-nav { display: none; }
	.account-link { display: none; }
	.site-header__main { grid-template-columns: auto 1fr auto; gap: 8px; }
	.brand { justify-self: center; }
	.brand__logo { width: 44px; height: 44px; }
	.brand__text strong { font-size: 1.25rem; }
	.search {
		grid-column: 1 / -1; grid-row: 2; display: none; max-width: none; margin-bottom: 12px;
	}
	.is-search-open .search { display: flex; }
	.search select { max-width: 110px; }
	.topbar__links { display: none; }
	.topbar__inner { justify-content: center; }

	.hero__grid { grid-template-columns: 1fr; text-align: start; }
	.hero__visual { min-height: 0; margin-top: 40px; }
	.hero__orb { width: min(64vw, 260px); }
	.float-card { font-size: .82rem; padding: 8px 12px; max-width: 220px; }
	.float-card--top { inset-inline-end: -2%; top: 0; }
	.float-card--bottom { inset-inline-start: -2%; bottom: 0; }

	.service-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
	.steps::before { display: none; }

	.bottom-nav {
		position: fixed; inset-inline: 0; bottom: 0; z-index: 120;
		display: grid; grid-template-columns: repeat(5, 1fr);
		background: rgb(255 255 255 / .97); backdrop-filter: blur(10px);
		border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
		box-shadow: 0 -8px 24px -16px rgb(0 9 30 / .35);
	}
	.bottom-nav a {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		min-height: 62px; color: var(--muted); font-size: .74rem; font-weight: 700;
	}
	.bottom-nav a[aria-current="page"] { color: var(--green); }
	.bottom-nav a[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--green); }
	.bottom-nav .icon { width: 24px; height: 24px; }
	.bottom-nav .cart-count { top: 6px; inset-inline-start: calc(50% + 4px); }
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	.whatsapp-float { bottom: calc(78px + env(safe-area-inset-bottom)); inset-inline-end: 16px; width: 52px; height: 52px; }
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	.features { margin-top: -56px; }
	.features__grid { grid-template-columns: 1fr; }
	.feature { border-inline-start: 0 !important; padding: 18px; }
	.feature + .feature { border-top: 1px solid var(--line); }
	.stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
	.stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
	.hero .btn-row .btn { flex: 1 1 100%; }
	.section-bar { align-items: stretch; }
	.section-bar > .btn { width: 100%; }
	.products--grid, ul.products:not(.products--carousel) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.product-card__body { padding: 12px; }
	.product-card__title { font-size: .92rem; }
	.product-card .price { font-size: 1rem; }
	.product-card .button { font-size: .85rem; padding-inline: .6em; }
	.carousel .products--carousel { grid-auto-columns: 64%; gap: 12px; }
	.carousel-nav { display: none; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.cat-card { padding: 18px 10px; }
	.cat-card__media { width: 88px; height: 88px; }
	.cat-card__media .icon { width: 40px; height: 40px; }
	.cat-card__name { font-size: 1.15rem; }
	.steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* About & contact templates --------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); padding: 0; }
.about-media img[src$=".svg"] { object-fit: contain; padding: 18%; }
.about-media__badge { position: absolute; bottom: 24px; inset-inline-end: -16px; display: grid; padding: 18px 22px; border-radius: 18px; background: var(--accent); color: var(--navy-950); box-shadow: var(--shadow-lg); line-height: 1.2; }
.about-media__badge strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: .3s var(--ease); }
.contact-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green); margin-bottom: 14px; }
.contact-card__icon .icon { width: 26px; height: 26px; }
.contact-card__title { font-size: 1.1rem; margin-bottom: 4px; }
.contact-card__value { margin: 0; color: var(--text); font-weight: 600; word-break: break-word; }
a.contact-card__value { color: var(--green); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-panel { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--cream); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-form p { margin: 0 0 16px; }
.contact-form__full { grid-column: 1 / -1; }
.contact-form label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.contact-form input[dir="ltr"] { text-align: end; }
.contact-aside { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--navy-800); color: rgb(255 255 255 / .75); }
.contact-hours { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.contact-hours .icon { color: var(--accent); }
.contact-map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); margin-top: 16px; }

@media (max-width: 960px) {
	.about-grid, .contact-grid { grid-template-columns: 1fr; }
	.contact-cards { grid-template-columns: repeat(2, 1fr); }
	.about-media__badge { inset-inline-end: 16px; }
}
@media (max-width: 640px) {
	.contact-cards, .contact-form { grid-template-columns: 1fr; }
}

/* Real photography --------------------------------------------------------- */
.service-card { overflow: hidden; }
.service-card__img {
	display: block; width: calc(100% + 2 * clamp(24px, 3vw, 40px)); max-width: none; height: auto;
	aspect-ratio: 16 / 9; object-fit: cover;
	margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 8px;
}
/* Let the hero photo show through the brand overlay. */
.hero[style*="--ae-bg"] {
	background-image:
		radial-gradient(900px 500px at 15% 10%, rgb(27 138 95 / .22), transparent 60%),
		linear-gradient(270deg, rgb(0 9 30 / .95) 35%, rgb(0 9 30 / .5)),
		var(--ae-bg);
	background-position: center, center, left center;
}
.brand__logo { object-fit: contain; }

/* Hero photo (any non-SVG image): free-standing, edges faded into the navy. */
.hero__orb:has(.hero__image:not([src$=".svg"])) { background: none; border-color: transparent; }
.hero__image:not([src$=".svg"]) {
	width: 135%; max-width: none; aspect-ratio: auto; border-radius: 0; object-fit: contain;
	-webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 45%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 45%, transparent 75%);
	filter: none;
}
@media (max-width: 960px) { .hero__image:not([src$=".svg"]) { width: 110%; } }

/* Hero media: photo filling the left half of the hero, fading into the text side. */
.hero__media {
	position: absolute; inset-block: 0; left: 0; width: 50%; z-index: -1; pointer-events: none;
	background: var(--ae-bg, none) center / cover no-repeat;
	-webkit-mask-image: linear-gradient(to right, #000 55%, transparent);
	mask-image: linear-gradient(to right, #000 55%, transparent);
	opacity: .2;
}
.hero__media:not([style*="--ae-bg"]) { display: none; }
@media (max-width: 960px) {
	.hero__media { inset: auto 0 0 0; width: 100%; height: 55%;
		-webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%);
		mask-image: linear-gradient(to bottom, transparent, #000 35%); opacity: .45; }
}
.hero__orb { z-index: 1; }

/* Hero sound waves: moving bars + a breathing waveform. */
.hero__waves { animation: wave-shape 3.2s ease-in-out infinite alternate, wave-slide 6s linear infinite; transform-origin: bottom; }
@keyframes wave-slide { to { background-position-x: 140px; } }
@keyframes wave-shape {
	0%   { clip-path: polygon(0 70%, 8% 40%, 16% 75%, 24% 20%, 32% 60%, 40% 35%, 48% 80%, 56% 10%, 64% 55%, 72% 30%, 80% 70%, 88% 45%, 96% 65%, 100% 50%, 100% 100%, 0 100%); }
	50%  { clip-path: polygon(0 45%, 8% 70%, 16% 30%, 24% 60%, 32% 15%, 40% 65%, 48% 35%, 56% 55%, 64% 20%, 72% 70%, 80% 35%, 88% 75%, 96% 30%, 100% 60%, 100% 100%, 0 100%); }
	100% { clip-path: polygon(0 60%, 8% 25%, 16% 55%, 24% 40%, 32% 75%, 40% 20%, 48% 55%, 56% 30%, 64% 70%, 72% 15%, 80% 55%, 88% 25%, 96% 50%, 100% 35%, 100% 100%, 0 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero__waves { animation: none; } }

/* Branches. */
.branch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.branch-card {
	position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px;
	background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
	box-shadow: 0 1px 2px rgb(11 22 48 / .04); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.branch-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--green), transparent); }
.branch-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgb(11 22 48 / .25); border-color: transparent; }
.branch-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.branch-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgb(27 138 95 / .1); color: var(--green); transition: background-color .3s, color .3s; }
.branch-card__icon svg { width: 26px; height: 26px; }
.branch-card:hover .branch-card__icon { background: var(--green); color: #fff; }
.branch-card__tag { padding: 5px 14px; border-radius: 999px; background: rgb(224 149 63 / .15); color: #b86f1f; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.branch-card__title { font-size: 1.25rem; margin: 0 0 8px; }
.branch-card__address { margin: 0 0 20px; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.branch-card__phones { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); }
.branch-card__phone {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
	border-radius: 12px; background: var(--cream); color: var(--ink); font-weight: 800; letter-spacing: .02em;
	transition: background-color .2s, color .2s;
}
.branch-card__phone .ae-button__text { direction: ltr; }
.branch-card__phone svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.branch-card__phone:hover { background: var(--green); color: #fff; }
.branch-card__phone:hover svg { color: #fff; }
.branch-card--main { background: linear-gradient(160deg, var(--navy-800, #152541), var(--navy-950)); border-color: transparent; color: #fff; }
.branch-card--main::before { background: linear-gradient(90deg, var(--accent), transparent); }
.branch-card--main .branch-card__title { color: #fff; }
.branch-card--main .branch-card__address { color: rgb(255 255 255 / .72); }
.branch-card--main .branch-card__icon { background: rgb(255 255 255 / .1); color: var(--accent); }
.branch-card--main .branch-card__tag { background: var(--accent); color: var(--navy-950); }
.branch-card--main .branch-card__phones { border-color: rgb(255 255 255 / .15); }
.branch-card--main .branch-card__phone { background: rgb(255 255 255 / .08); color: #fff; }
.branch-card--main .branch-card__phone:hover { background: var(--accent); color: var(--navy-950); }
.branch-card--main .branch-card__phone:hover svg { color: var(--navy-950); }
.footer-branches { display: grid; gap: 12px; }
.footer-branches li { display: grid; gap: 2px; }
.footer-branches strong { color: #fff; font-size: .95rem; }
.footer-branches__phone { color: inherit; direction: ltr; justify-self: start; }
.footer-branches__phone:hover, .footer-credit a:hover { color: var(--accent); }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.topbar__phone { color: inherit; direction: ltr; }
@media (max-width: 1100px) { .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .branch-grid { grid-template-columns: 1fr; } }
.branch-card__phone::after {
	content: ""; width: 18px; height: 18px; flex: none; order: -1; background: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.branch-card__phone { direction: ltr; justify-content: flex-end; }
.branch-card__phone:hover::after, .branch-card--main .branch-card__phone:hover::after { background: currentColor; }

/* Page title sections: shared photo, darkened on the text side (right in RTL). */
.page-hero[style*="--ae-bg"] {
	background:
		linear-gradient(270deg, rgb(5 12 30 / .92) 0%, rgb(5 12 30 / .7) 40%, rgb(5 12 30 / .15) 75%, transparent),
		var(--ae-bg) left center / cover no-repeat,
		var(--navy-950);
	padding-block: clamp(64px, 9vw, 120px);
}
.page-hero--compact[style*="--ae-bg"] { padding-block: clamp(40px, 6vw, 64px); }
@media (max-width: 760px) {
	.page-hero[style*="--ae-bg"] { background: linear-gradient(rgb(5 12 30 / .78), rgb(5 12 30 / .78)), var(--ae-bg) 20% center / cover no-repeat, var(--navy-950); }
}

/* Sticky header (desktop): only the menu + CTA bar stays pinned. */
@media (min-width: 961px) {
	.site-header { top: calc(-1 * var(--header-main-h, 0px)); }
	.admin-bar .site-header { top: calc(32px - var(--header-main-h, 0px)); }
	.site-header.is-scrolled .brand__logo { width: 52px; height: 52px; }
}

/* =========================================================================
   Product card: hover gallery, wishlist / compare, equalizer add-to-cart
   ========================================================================= */
.product-card__media { isolation: isolate; }
.product-card__media .product-card__img { grid-area: 1 / 1; opacity: 0; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.product-card__media .product-card__img.is-active { opacity: 1; }
.product-card:hover .product-card__media .product-card__img.is-active { transform: scale(1.06); }
.product-card__dots {
	position: absolute; inset-inline: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px;
	opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.product-card__dots i { width: 18px; height: 4px; border-radius: 4px; background: rgba(21, 37, 65, .18); transition: background .3s, width .3s var(--ease); }
.product-card__dots i.is-active { width: 28px; background: var(--green); }
.product-card:hover .product-card__dots { opacity: 1; transform: none; }
.product-card .badge--muted { top: auto; bottom: 12px; inset-inline-end: auto; inset-inline-start: 12px; }

.product-card__tools { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; display: grid; gap: 8px; }
.card-tool {
	position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink);
	box-shadow: 0 6px 16px rgba(21, 37, 65, .1); cursor: pointer; backdrop-filter: blur(6px);
	opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.card-tool:nth-child(2) { transition-delay: .05s; }
.card-tool .icon { width: 19px; height: 19px; }
.product-card:hover .card-tool, .card-tool:focus-visible, .card-tool.is-on { opacity: 1; transform: none; }
.card-tool:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.card-tool.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.card-tool[data-list="wishlist"].is-on { background: #e0484e; border-color: #e0484e; }
.card-tool[data-list="wishlist"].is-on .icon { fill: currentColor; }
.card-tool.is-pop { animation: tool-pop .5s var(--ease); }
@keyframes tool-pop { 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.card-tool__tip {
	position: absolute; inset-inline-end: calc(100% + 8px); top: 50%; translate: 0 -50%; padding: 4px 10px; border-radius: 6px;
	background: var(--navy-800); color: #fff; font-size: .76rem; font-weight: 700; white-space: nowrap; pointer-events: none;
	opacity: 0; transition: opacity .2s;
}
.card-tool:hover .card-tool__tip { opacity: 1; }

/* Add to cart: equalizer + sound ripple */
.product-card .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; isolation: isolate;
	background: var(--navy-800); transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card .button::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, var(--green-600), var(--green), #22a874, var(--green-600));
	background-size: 300% 100%; clip-path: circle(0 at 50% 50%); transition: clip-path .55s var(--ease);
}
.product-card .button:hover { background: var(--navy-800); color: #fff; box-shadow: 0 10px 24px rgba(27, 138, 95, .35); }
.product-card .button:hover::before { clip-path: circle(75% at 50% 50%); animation: eq-shift 2.4s linear infinite; }
@keyframes eq-shift { to { background-position: 300% 0; } }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; width: 0; opacity: 0; overflow: hidden; transition: width .35s var(--ease), opacity .25s; }
.eq i { display: block; flex: none; width: 3px; height: 30%; border-radius: 2px; background: currentColor; }
.product-card .button:hover .eq, .product-card .button.loading .eq { width: 27px; opacity: 1; }
.product-card .button:hover .eq i, .product-card .button.loading .eq i { animation: eq-bar .9s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -.2s !important; }
.eq i:nth-child(2) { animation-delay: -.6s !important; }
.eq i:nth-child(3) { animation-delay: -.1s !important; }
.eq i:nth-child(4) { animation-delay: -.45s !important; }
.eq i:nth-child(5) { animation-delay: -.3s !important; }
@keyframes eq-bar { 0%, 100% { height: 25%; } 25% { height: 100%; } 50% { height: 45%; } 75% { height: 80%; } }
.btn-ripple { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.btn-ripple::before, .btn-ripple::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
	border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; opacity: 0;
}
.product-card .button:hover .btn-ripple::before { animation: sound-ring 1.6s ease-out infinite; }
.product-card .button:hover .btn-ripple::after { animation: sound-ring 1.6s ease-out .8s infinite; }
@keyframes sound-ring { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(9); opacity: 0; } }
.product-card .button.loading { opacity: 1; }
.product-card .button.loading::before { clip-path: circle(75% at 50% 50%); }
.product-card .button.added::after { content: none; }
.product-card .button.added .eq { width: 0; opacity: 0; }
.product-card .button.added .btn-label::after { content: " ✓"; }

/* Header list counts */
.list-link { position: relative; }
.list-count {
	position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--green); color: #fff; font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center;
}
.list-count.is-empty { display: none; }

/* List dialog */
.list-dialog {
	position: fixed; inset: 0; margin: auto; height: fit-content;
	width: min(920px, calc(100% - 32px)); max-height: min(86vh, 760px); padding: 0; border: 0; border-radius: var(--radius-lg);
	background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(10, 20, 40, .35);
}
.list-dialog[data-type="wishlist"] { width: min(620px, calc(100% - 32px)); }
.list-dialog::backdrop { background: rgba(10, 20, 40, .55); backdrop-filter: blur(3px); }
.list-dialog[open] { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px); } }
.list-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.list-dialog__head h2 { margin: 0; font-size: 1.25rem; }
.list-dialog__body { padding: 18px 22px 22px; overflow: auto; max-height: calc(min(86vh, 760px) - 70px); }
.list-empty { margin: 24px 0; text-align: center; color: var(--muted); }
.list-remove {
	display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
	background: var(--cream); color: var(--ink); font-size: 1.1rem; line-height: 1; cursor: pointer; flex: none;
}
.list-remove:hover { background: #d9443b; color: #fff; }
.wish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wish-list li { display: grid; grid-template-columns: auto 72px 1fr auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.wish-list__img { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 12px; background: #f1f3f7; overflow: hidden; }
.wish-list__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wish-list__name { display: block; font-weight: 800; color: var(--ink); line-height: 1.4; }
.wish-list__price { font-size: .9rem; color: var(--green); font-weight: 700; }
.compare-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.compare-table thead th { position: relative; min-width: 160px; }
.compare-table thead th .list-remove { position: absolute; top: 8px; inset-inline-end: 8px; }
.compare-table thead a { display: grid; gap: 8px; color: var(--ink); font-weight: 800; line-height: 1.4; }
.compare-table thead img { width: 100%; height: 150px; object-fit: contain; border-radius: 12px; background: #f1f3f7; mix-blend-mode: multiply; }
.compare-table tbody th { width: 110px; color: var(--muted); font-weight: 700; background: #f8f9fb; }

/* Compare bar */
.compare-bar {
	position: fixed; bottom: 20px; left: 50%; z-index: 60; display: flex; align-items: center; gap: 16px;
	padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--navy-800); color: #fff;
	box-shadow: 0 16px 40px rgba(10, 20, 40, .35); transform: translateX(-50%);
}
.compare-bar[hidden] { display: none; }
.compare-bar span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.compare-bar .icon { width: 20px; height: 20px; color: var(--accent); }
.compare-bar .btn { min-height: 40px; padding: .4em 1.2em; }
.compare-bar__close {
	display: grid; place-items: center; width: 32px; height: 32px; margin-inline-start: -6px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s;
}
.compare-bar__close:hover { background: rgba(255, 255, 255, .25); }
.compare-bar .compare-bar__close .icon { width: 16px; height: 16px; color: #fff; }
.compare-bar__mini { display: none; }
/* Minimised: a round button docked above the floating WhatsApp button. */
.compare-bar.is-min {
	left: auto; bottom: 96px; inset-inline-end: 28px; z-index: 89; padding: 0; transform: none;
	animation: compare-pop .35s var(--ease);
}
.compare-bar.is-min > :not(.compare-bar__mini) { display: none; }
.compare-bar.is-min .compare-bar__mini {
	position: relative; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%;
	background: var(--navy-800); color: var(--accent); cursor: pointer; transition: transform .25s var(--ease);
}
.compare-bar.is-min .compare-bar__mini:hover { transform: scale(1.08); }
.compare-bar.is-min .compare-bar__mini .icon { width: 22px; height: 22px; }
.compare-bar__mini b {
	position: absolute; top: -4px; inset-inline-end: -4px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px;
	border: 2px solid #fff; border-radius: 999px; background: var(--accent); color: var(--navy-800); font-size: .75rem; line-height: 1;
}
@keyframes compare-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.compare-table td del, .wish-list__price del { color: var(--muted); font-size: .88em; margin-inline-end: 6px; }
.compare-table .list-price { color: var(--ink); font-weight: 800; }
@media (max-width: 960px) {
	.compare-bar.is-min { bottom: calc(142px + env(safe-area-inset-bottom)); inset-inline-end: 17px; }
}

.rm-toast {
	position: fixed; top: 24px; left: 50%; z-index: 1000; padding: 10px 20px; border-radius: 999px;
	background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
	opacity: 0; transform: translate(-50%, -12px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.rm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (hover: none) {
	.card-tool { opacity: 1; transform: none; width: 36px; height: 36px; }
	.card-tool__tip { display: none; }
}
@media (max-width: 600px) {
	.hide-sm { display: none !important; }
	.wish-list li { grid-template-columns: auto 56px 1fr; }
	.wish-list li > .btn { grid-column: 1 / -1; }
	.wish-list__img { width: 56px; height: 56px; }
	.compare-bar { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
	.product-card .button:hover .eq i, .product-card .button.loading .eq i,
	.product-card .button:hover .btn-ripple::before, .product-card .button:hover .btn-ripple::after,
	.product-card .button:hover::before { animation: none; }
}

/* Responsive polish: brand on one line, footer clear of floating buttons */
@media (max-width: 960px) {
	.brand { min-width: 0; }
	.brand__text { min-width: 0; }
	.brand__text strong, .brand__text small { white-space: nowrap; }
	.footer-bottom__inner { padding-bottom: 96px; }
}
@media (max-width: 640px) {
	.header-actions .cart-link { display: none; }
	.brand { gap: 8px; }
	.brand__logo, .site-header.is-scrolled .brand__logo { width: 40px; height: 40px; }
	.brand__text strong { font-size: 1.12rem; }
	.brand__text small { font-size: .7rem; }
	.footer-bottom__inner { flex-direction: column; align-items: center; text-align: center; padding-bottom: 110px; }
}
@media (max-width: 360px) {
	.brand__text small { display: none; }
}

/* =========================================================================
   Services page
   ========================================================================= */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.svc-grid > li { grid-column: span 2; }
.svc-grid > li:nth-child(4) { grid-column: 2 / span 2; }
.svc-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
	border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
	box-shadow: 0 10px 30px -22px rgb(0 9 30 / .45);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-6px); border-color: rgb(27 138 95 / .45); box-shadow: 0 26px 50px -26px rgb(0 9 30 / .5); outline: 0; }
.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.svc-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card__img { transform: scale(1.07); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(5 12 30 / .55), transparent 55%); }
.svc-card__icon {
	position: absolute; z-index: 2; top: -28px; inset-inline-start: 22px; display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 16px; background: var(--green); color: #fff;
	box-shadow: 0 12px 24px -10px rgb(27 138 95 / .8); transition: transform .35s var(--ease);
}
.svc-card__icon .icon { width: 28px; height: 28px; }
.svc-card:hover .svc-card__icon { transform: translateY(-4px) rotate(-6deg); }
.svc-card__body { position: relative; display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 40px 22px 22px; }
.svc-card__num { position: absolute; top: 14px; inset-inline-end: 20px; font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; line-height: 1; color: rgb(21 37 65 / .08); }
.svc-card__title { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; color: var(--ink); }
.svc-card__text { margin: 0; color: var(--muted); font-size: .95rem; }
.svc-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.svc-card__more { font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.svc-card__more:hover { color: var(--green); }

.svc-detail { scroll-margin-top: calc(var(--header-h, 80px) + 16px); }
.svc-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.svc-detail--flip .svc-detail__media { order: 2; }
.svc-detail__media { position: relative; }
.svc-detail__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: 0 30px 60px -36px rgb(0 9 30 / .6); }
.svc-detail__badge {
	position: absolute; bottom: 22px; inset-inline-end: -14px; display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 18px; border-radius: 16px; background: var(--accent); color: var(--navy-950); font-weight: 800; box-shadow: var(--shadow-lg);
}
.svc-detail__badge .icon { width: 24px; height: 24px; }
.svc-detail__text { color: var(--muted); }
.svc-detail__sub { margin: 24px 0 0; font-size: 1.1rem; color: var(--ink); }
.svc-detail__list ul { margin-top: 12px; }
.svc-detail__for { margin: 20px 0 28px; padding: 12px 16px; border-inline-start: 3px solid var(--green); border-radius: 0 12px 12px 0; background: rgb(27 138 95 / .07); color: var(--ink); }
[dir="rtl"] .svc-detail__for { border-radius: 12px 0 0 12px; }

/* Request popup */
.service-dialog { width: min(640px, calc(100% - 32px)); }
.service-form { margin: 0; }
.service-form label small { color: var(--muted); font-weight: 500; }
.service-form__trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.service-form__status { margin: 0 0 12px !important; font-weight: 700; color: var(--muted); }
.service-form__status:empty { display: none; }
.service-form__status.is-error { color: #c0392b; }
.service-form .btn.is-loading { opacity: .7; pointer-events: none; }
.service-done { display: grid; justify-items: center; gap: 8px; padding: 24px 8px 8px; text-align: center; }
.service-done[hidden] { display: none; }
.service-done__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; animation: tool-pop .6s var(--ease); }
.service-done__icon .icon { width: 36px; height: 36px; }
.service-done h3 { margin: 8px 0 0; font-size: 1.4rem; }
.service-done p { margin: 0 0 12px; color: var(--muted); }

.notice-bar { margin: 24px 0 0; padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.notice-bar--ok { background: rgb(27 138 95 / .1); color: var(--green-600); }
.notice-bar--error { background: #fdecea; color: #b3261e; }

@media (max-width: 1100px) {
	.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-grid > li, .svc-grid > li:nth-child(4) { grid-column: auto; }
	.svc-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.svc-grid > li:last-child:nth-child(odd) .svc-card__media { aspect-ratio: 21 / 8; }
}
@media (max-width: 860px) {
	.svc-detail__grid { grid-template-columns: 1fr; }
	.svc-detail--flip .svc-detail__media { order: 0; }
	.svc-detail__badge { inset-inline-end: 14px; }
}
@media (max-width: 640px) {
	.svc-grid { grid-template-columns: 1fr; gap: 18px; }
	.svc-grid > li:last-child:nth-child(odd) .svc-card__media { aspect-ratio: 16 / 10; }
	.svc-detail .btn-row .btn { flex: 1 1 100%; }
	.service-dialog .list-dialog__body { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.svc-card, .svc-card__img, .svc-card__icon { transition: none; }
}
