/*
Theme Name: مقاول ايبوكسي وصبات خرسانية
Theme URI: https://ryadtarmem.com/
Author: مقاول ايبوكسي وصبات خرسانية
Description: قالب ووردبريس احترافي متجاوب بالكامل باللغة العربية (RTL) لأعمال الإيبوكسي للأرضيات والمستودعات والبدرومات والمحلات والمخازن والصبات الخرسانية وأعمال الترميم وكسر الرخام والدهانات بالرياض.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: ryadtarmem
Tags: rtl-language-support, custom-menu, featured-images, responsive-layout
*/

:root {
	/* Purple Primary & Complementary Palette */
	--purple-950: #1e103c;
	--purple-900: #2e1065;
	--purple-800: #4c1d95;
	--purple-700: #5b21b6;
	--purple-600: #7c3aed;
	--purple-500: #8b5cf6;
	--purple-200: #ddd6fe;
	--purple-100: #ede9fe;
	--purple-50:  #f6f4ff;

	/* Complementary Accents (Gold/Amber + Emerald Teal + Coral Rose) */
	--gold-600: #d97706;
	--gold-500: #f59e0b;
	--gold-400: #fbbf24;
	--gold-100: #fef3c7;

	--teal-600: #059669;
	--teal-500: #10b981;
	--teal-100: #d1fae5;

	--rose-500: #ec4899;

	/* Neutrals */
	--bg-body:   #faf9ff;
	--bg-card:   #ffffff;
	--bg-dark:   #150c2b;
	--text-main: #1b1430;
	--text-body: #473f5c;
	--text-muted:#6d6485;
	--border:    #e5dff5;

	/* Shadows & Radii */
	--shadow-sm: 0 2px 10px rgba(46, 16, 101, 0.06);
	--shadow-md: 0 10px 30px rgba(46, 16, 101, 0.10);
	--shadow-lg: 0 20px 50px rgba(30, 16, 60, 0.18);
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--container-max: 1260px;
	--transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
	overflow-x: clip;
}

body {
	margin: 0;
	padding: 0;
	direction: rtl;
	text-align: right;
	font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
	background-color: var(--bg-body);
	color: var(--text-main);
	line-height: 1.75;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}

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

h1, h2, h3, h4, h5 {
	margin: 0 0 0.75rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--text-main);
}

p {
	margin: 0 0 1rem;
	color: var(--text-body);
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 76px 0;
}

.section--lavender {
	background: linear-gradient(180deg, var(--purple-50) 0%, #ffffff 100%);
}

.section--purple-soft {
	background-color: var(--purple-50);
}

.section--dark {
	background: linear-gradient(135deg, var(--purple-950) 0%, var(--purple-900) 55%, #3b0764 100%);
	color: #ffffff;
}

.section--dark h2,
.section--dark h3,
.section--dark p {
	color: #ffffff;
}

/* Section Headers */
.section-head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 48px;
}

.section-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--purple-100);
	color: var(--purple-800);
	font-weight: 700;
	font-size: 0.875rem;
	margin-bottom: 14px;
	border: 1px solid var(--purple-200);
}

.section--dark .section-badge {
	background: rgba(251, 191, 36, 0.16);
	color: var(--gold-400);
	border-color: rgba(251, 191, 36, 0.35);
}

.section-title {
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	margin-bottom: 12px;
}

.section-title span {
	color: var(--purple-600);
}

.section--dark .section-title span {
	color: var(--gold-400);
}

.section-subtitle {
	font-size: 1.05rem;
	color: var(--text-muted);
}

.section--dark .section-subtitle {
	color: var(--purple-200);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	border-radius: 12px;
	font-family: inherit;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	border: 2px solid transparent;
	transition: var(--transition);
	white-space: nowrap;
}

.btn svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.btn--gold {
	background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
	color: #1b102f;
	box-shadow: 0 8px 22px rgba(245, 158, 11, 0.32);
}

.btn--gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
	background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
}

.btn--purple {
	background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
	color: #ffffff;
	box-shadow: 0 8px 22px rgba(91, 33, 182, 0.28);
}

.btn--purple:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(91, 33, 182, 0.40);
}

.btn--whatsapp {
	background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
	color: #ffffff;
	box-shadow: 0 8px 22px rgba(16, 185, 129, 0.28);
}

.btn--whatsapp:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(16, 185, 129, 0.42);
}

.btn--outline-light {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: #ffffff;
}

.btn--outline-purple {
	background: #ffffff;
	color: var(--purple-700);
	border-color: var(--purple-200);
}

.btn--outline-purple:hover {
	background: var(--purple-700);
	color: #ffffff;
	border-color: var(--purple-700);
}

/* Top Bar */
.topbar {
	background: var(--purple-950);
	color: #ede9fe;
	font-size: 0.875rem;
	padding: 9px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.topbar__info {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #e9d5ff;
}

.topbar__item svg {
	width: 16px;
	height: 16px;
	color: var(--gold-400);
}

.topbar__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.topbar__phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--gold-400);
	direction: ltr;
}

/* Main Header / Navbar */
.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 4px 20px rgba(46, 16, 101, 0.06);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 74px;
	padding: 8px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.brand__logo {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(91, 33, 182, 0.25);
	position: relative;
	overflow: hidden;
}

.brand__logo::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gold-400);
}

.brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.brand__title {
	font-size: 0.88rem;
	font-weight: 800;
	color: var(--purple-900);
	line-height: 1.3;
	overflow-wrap: break-word;
}

.brand__loc {
	font-size: 0.72rem;
	color: var(--purple-600);
	font-weight: 700;
	line-height: 1.3;
}

/* Desktop Navigation */
.primary-nav {
	display: none;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-menu > li {
	position: relative;
}

.nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 11px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--text-main);
	white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a,
.nav-menu > li.current-menu-ancestor > a {
	background: var(--purple-50);
	color: var(--purple-700);
}

.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 245px;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 8px;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: var(--transition);
	z-index: 950;
}

.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-menu .sub-menu li a {
	display: block;
	padding: 10px 14px;
	border-radius: 9px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-body);
}

.nav-menu .sub-menu li a:hover,
.nav-menu .sub-menu li.current-menu-item a {
	background: var(--purple-100);
	color: var(--purple-800);
}

.header-cta {
	display: none;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--purple-50);
	color: var(--purple-800);
	cursor: pointer;
}

@media (min-width: 1024px) {
	.brand {
		flex: 0 1 290px;
	}
	.brand__logo {
		width: 44px;
		height: 44px;
	}
	.brand__title {
		font-size: 0.95rem;
	}
	.primary-nav {
		display: block;
		flex-shrink: 0;
	}
	.header-cta {
		display: inline-flex;
		flex-shrink: 0;
	}
	.header-cta .btn {
		padding: 10px 18px;
		font-size: 0.92rem;
	}
	.menu-toggle {
		display: none;
	}
}

/* Mobile Drawer */
.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(21, 12, 43, 0.65);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.mobile-drawer.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(340px, 88vw);
	height: 100%;
	background: #ffffff;
	padding: 24px 20px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mobile-drawer.is-open .mobile-drawer__panel {
	transform: translateX(0);
}

.mobile-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--border);
}

.mobile-drawer__close {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--purple-50);
	color: var(--purple-800);
	font-size: 1.4rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mobile-nav-list li a {
	display: block;
	padding: 12px 14px;
	border-radius: 10px;
	font-weight: 700;
	color: var(--text-main);
}

.mobile-nav-list li a:hover {
	background: var(--purple-50);
	color: var(--purple-700);
}

.mobile-nav-list .sub-menu {
	padding-right: 16px;
	border-right: 2px solid var(--purple-200);
	margin: 4px 14px 8px 0;
}

.mobile-nav-list .sub-menu li a {
	font-weight: 600;
	font-size: 0.92rem;
	padding: 8px 12px;
	color: var(--text-body);
}

/* Hero Section */
.hero {
	position: relative;
	padding: 68px 0 80px;
	background:
		radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.42) 0%, transparent 45%),
		radial-gradient(circle at 85% 80%, rgba(245, 158, 11, 0.18) 0%, transparent 42%),
		linear-gradient(135deg, #160934 0%, #2e1065 55%, #4c1d95 100%);
	color: #ffffff;
	overflow: hidden;
}

.hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

@media (min-width: 992px) {
	.hero__grid {
		grid-template-columns: 1.15fr 0.85fr;
	}
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(251, 191, 36, 0.45);
	color: var(--gold-400);
	padding: 7px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 18px;
}

.hero__title {
	font-size: clamp(1.9rem, 3.8vw, 3rem);
	color: #ffffff;
	margin-bottom: 16px;
	line-height: 1.3;
}

.hero__title span {
	color: var(--gold-400);
}

.hero__desc {
	font-size: 1.08rem;
	color: #e9d5ff;
	margin-bottom: 26px;
	max-width: 620px;
}

.hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.hero__pill {
	padding: 7px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #f5f3ff;
	font-size: 0.88rem;
	font-weight: 600;
}

.hero__pill:hover {
	background: var(--gold-500);
	color: #1b102f;
	border-color: var(--gold-500);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero__collage {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.hero__photo {
	border-radius: 18px;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.18);
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3;
	position: relative;
}

.hero__photo:nth-child(2) {
	transform: translateY(16px);
}

.hero__photo:nth-child(3) {
	transform: translateY(-10px);
}

.hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__photo-tag {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(22, 9, 52, 0.82);
	color: var(--gold-400);
	padding: 4px 10px;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	backdrop-filter: blur(6px);
}

/* Stats Bar */
.stats-bar {
	margin-top: -36px;
	position: relative;
	z-index: 20;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	background: #ffffff;
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border);
}

@media (min-width: 768px) {
	.stats-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
		padding: 28px 34px;
	}
}

.stat-item {
	text-align: center;
	padding: 8px;
}

.stat-item__num {
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
	font-weight: 800;
	color: var(--purple-700);
	line-height: 1.2;
}

.stat-item__label {
	font-size: 0.92rem;
	color: var(--text-muted);
	font-weight: 600;
}

/* Services Cards Grid */
.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 640px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.services-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.service-card {
	background: var(--bg-card);
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	transition: var(--transition);
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
	border-color: var(--purple-500);
}

.service-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--purple-100);
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.service-card:hover .service-card__media img {
	transform: scale(1.06);
}

.service-card__count {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(30, 16, 60, 0.85);
	color: var(--gold-400);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	backdrop-filter: blur(4px);
}

.service-card__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.service-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--purple-100);
	color: var(--purple-700);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.service-card__title {
	font-size: 1.25rem;
	color: var(--purple-900);
	margin-bottom: 8px;
}

.service-card__desc {
	font-size: 0.95rem;
	color: var(--text-body);
	margin-bottom: 16px;
	flex: 1;
}

.service-card__features {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 18px;
	font-size: 0.88rem;
	color: var(--text-muted);
}

.service-card__features li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.service-card__features li::before {
	content: '✓';
	color: var(--teal-600);
	font-weight: 800;
}

.service-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid var(--border);
}

.service-card__link {
	font-weight: 800;
	color: var(--purple-700);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.service-card__link:hover {
	color: var(--gold-600);
}

/* About Split Section */
.about-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

@media (min-width: 960px) {
	.about-split {
		grid-template-columns: 1fr 1fr;
	}
}

.about-media {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.about-media__item {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	aspect-ratio: 4 / 3;
	border: 3px solid #ffffff;
}

.about-media__item--tall {
	grid-row: span 2;
	aspect-ratio: auto;
}

.about-media__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.check-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 22px 0 28px;
}

@media (min-width: 560px) {
	.check-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: var(--purple-50);
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--purple-100);
	font-weight: 600;
	font-size: 0.94rem;
}

.check-list li svg {
	width: 20px;
	height: 20px;
	color: var(--purple-600);
	flex-shrink: 0;
	margin-top: 3px;
}

/* Steps / Process */
.steps-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 640px) {
	.steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.steps-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.step-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	padding: 24px;
	position: relative;
}

.step-card__num {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--gold-500);
	color: #1b102f;
	font-weight: 800;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.step-card h3 {
	font-size: 1.15rem;
	margin-bottom: 8px;
}

.step-card p {
	font-size: 0.92rem;
	color: var(--purple-200);
	margin: 0;
}

/* ==========================================================================
   Work Gallery Grid:
   EXACT REQUIREMENT:
   - 2 columns on phone AND tablet (< 1024px)
   - 4 columns on desktop (>= 1024px)
   ========================================================================== */
.work-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (min-width: 768px) {
	.work-gallery-grid {
		gap: 16px;
	}
}

@media (min-width: 1024px) {
	.work-gallery-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px;
	}
}

.gallery-card {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: var(--purple-100);
	aspect-ratio: 1 / 1;
	cursor: pointer;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}

.gallery-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--purple-500);
}

.gallery-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.gallery-card:hover img {
	transform: scale(1.08);
}

.gallery-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(30, 16, 60, 0.88) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 12px;
	opacity: 0;
	transition: opacity 0.28s ease;
}

.gallery-card:hover .gallery-card__overlay,
.gallery-card:focus-visible .gallery-card__overlay {
	opacity: 1;
}

.gallery-card__tag {
	align-self: flex-start;
	background: var(--gold-500);
	color: #1b102f;
	font-size: 0.72rem;
	font-weight: 800;
	padding: 3px 9px;
	border-radius: 999px;
	margin-bottom: 5px;
}

.gallery-card__caption {
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.4;
}

.gallery-card.is-hidden {
	display: none;
}

/* Gallery Filter Tabs */
.filter-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 32px;
}

.filter-tab {
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #ffffff;
	color: var(--text-main);
	font-family: inherit;
	font-weight: 700;
	font-size: 0.92rem;
	cursor: pointer;
	transition: var(--transition);
}

.filter-tab:hover {
	border-color: var(--purple-500);
	color: var(--purple-700);
}

.filter-tab.is-active {
	background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 6px 16px rgba(91, 33, 182, 0.25);
}

.filter-tab__count {
	display: inline-block;
	margin-right: 6px;
	font-size: 0.8rem;
	opacity: 0.85;
}

/* Page Hero Banner */
.page-hero {
	background: linear-gradient(135deg, var(--purple-950) 0%, var(--purple-800) 100%);
	color: #ffffff;
	padding: 58px 0;
	position: relative;
	overflow: hidden;
}

.page-hero::after {
	content: '';
	position: absolute;
	left: -10%;
	bottom: -40%;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
	pointer-events: none;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.88rem;
	color: var(--purple-200);
	margin-bottom: 14px;
}

.breadcrumbs a:hover {
	color: var(--gold-400);
}

.page-hero h1 {
	color: #ffffff;
	font-size: clamp(1.85rem, 3.5vw, 2.7rem);
	margin-bottom: 12px;
}

.page-hero p {
	color: #e9d5ff;
	max-width: 720px;
	font-size: 1.05rem;
	margin: 0;
}

/* Service Detail Layout */
.service-hero-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}

@media (min-width: 960px) {
	.service-hero-split {
		grid-template-columns: 1.15fr 0.85fr;
	}
}

.service-hero-img {
	border-radius: 20px;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.2);
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3;
}

.service-hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.specs-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

@media (min-width: 768px) {
	.specs-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.spec-box {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 20px;
	text-align: center;
	box-shadow: var(--shadow-sm);
}

.spec-box__label {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 6px;
	font-weight: 600;
}

.spec-box__val {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--purple-800);
}

/* FAQ Accordion */
.faq-list {
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.faq-item {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
}

.faq-item summary {
	padding: 18px 22px;
	font-weight: 800;
	color: var(--purple-900);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.faq-item summary::after {
	content: '+';
	font-size: 1.35rem;
	color: var(--purple-600);
}

.faq-item[open] summary::after {
	content: '−';
}

.faq-item__body {
	padding: 0 22px 18px;
	color: var(--text-body);
	font-size: 0.96rem;
}

/* Contact Page Grid & Form */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

@media (min-width: 960px) {
	.contact-grid {
		grid-template-columns: 0.95fr 1.05fr;
	}
}

.contact-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 20px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	box-shadow: var(--shadow-sm);
}

.contact-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--purple-100);
	color: var(--purple-700);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-form-box {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 28px;
	box-shadow: var(--shadow-md);
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 600px) {
	.form-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group--full {
	grid-column: 1 / -1;
}

.form-group label {
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--purple-900);
}

.form-control {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--purple-50);
	font-family: inherit;
	font-size: 0.96rem;
	color: var(--text-main);
	transition: var(--transition);
}

.form-control:focus {
	outline: none;
	border-color: var(--purple-600);
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.alert-success {
	background: var(--teal-100);
	color: #065f46;
	border: 1px solid #6ee7b7;
	padding: 14px 18px;
	border-radius: 12px;
	font-weight: 700;
	margin-bottom: 18px;
}

.alert-error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fca5a5;
	padding: 14px 18px;
	border-radius: 12px;
	font-weight: 700;
	margin-bottom: 18px;
}

/* CTA Banner */
.cta-banner {
	background: linear-gradient(135deg, var(--purple-800) 0%, var(--purple-600) 60%, #9333ea 100%);
	border-radius: 24px;
	padding: 42px 32px;
	color: #ffffff;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
	color: #ffffff;
	font-size: clamp(1.45rem, 2.6vw, 2rem);
	margin-bottom: 8px;
}

.cta-banner p {
	color: var(--purple-100);
	margin: 0;
}

.cta-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Footer */
.site-footer {
	background: var(--bg-dark);
	color: #ddd6fe;
	padding: 64px 0 24px;
	border-top: 4px solid var(--gold-500);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-bottom: 42px;
}

@media (min-width: 640px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.4fr 0.85fr 1fr 1fr;
	}
}

.footer-title {
	color: #ffffff;
	font-size: 1.12rem;
	margin-bottom: 16px;
	position: relative;
	padding-bottom: 10px;
}

.footer-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 44px;
	height: 3px;
	border-radius: 99px;
	background: var(--gold-500);
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	color: #c4b5fd;
	font-size: 0.94rem;
}

.footer-links a:hover {
	color: var(--gold-400);
	padding-right: 6px;
}

.footer-bottom {
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.88rem;
	color: #a78bfa;
}

/* Floating Action Buttons */
.floating-actions {
	position: fixed;
	bottom: 22px;
	left: 22px;
	z-index: 850;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.float-btn {
	position: relative;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow: 0 10px 26px rgba(21, 12, 43, 0.28);
	transition: var(--transition);
}

.float-btn svg {
	width: 28px;
	height: 28px;
	display: block;
	flex-shrink: 0;
}

.float-btn:hover {
	transform: translateY(-3px) scale(1.06);
	box-shadow: 0 14px 32px rgba(21, 12, 43, 0.36);
}

.float-btn__label {
	position: absolute;
	left: 68px;
	top: 50%;
	transform: translateY(-50%) translateX(-6px);
	background: var(--purple-950);
	color: #ffffff;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	box-shadow: var(--shadow-md);
	transition: var(--transition);
}

.float-btn:hover .float-btn__label,
.float-btn:focus-visible .float-btn__label {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

.float-btn--wa {
	background: linear-gradient(135deg, #25d366, #128c7e);
	border: 2px solid rgba(255, 255, 255, 0.35);
}

.float-btn--call {
	background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
	border: 2px solid var(--gold-400);
	color: var(--gold-400);
}

/* Explicit SVG icon sizing inside icon badges */
.brand__logo svg,
.service-card__icon svg,
.contact-card__icon svg {
	width: 24px;
	height: 24px;
	display: block;
	flex-shrink: 0;
}

.footer-links svg {
	width: 18px;
	height: 18px;
	display: block;
	flex-shrink: 0;
}

/* Lightbox Modal */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1200;
	background: rgba(15, 7, 32, 0.92);
	backdrop-filter: blur(8px);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.lightbox.is-open {
	display: flex;
}

.lightbox__inner {
	position: relative;
	max-width: 960px;
	width: 100%;
	text-align: center;
}

.lightbox__img {
	max-height: 78vh;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	border: 2px solid rgba(255, 255, 255, 0.15);
}

.lightbox__meta {
	margin-top: 14px;
	color: #ffffff;
}

.lightbox__badge {
	display: inline-block;
	background: var(--gold-500);
	color: #1b102f;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
	margin-bottom: 6px;
}

.lightbox__caption {
	font-size: 1rem;
	color: #ede9fe;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(46, 16, 101, 0.85);
	color: #ffffff;
	font-size: 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox__close {
	top: -18px;
	left: 0;
	transform: none;
	background: var(--gold-500);
	color: #1b102f;
	border: none;
}

.lightbox__prev {
	right: 10px;
}

.lightbox__next {
	left: 10px;
}

/* Video Box on Works Page */
.video-showcase {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--shadow-md);
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: center;
	margin-bottom: 42px;
}

@media (min-width: 820px) {
	.video-showcase {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.video-showcase video {
	width: 100%;
	max-height: 420px;
	border-radius: 14px;
	background: #120926;
}

.comparison-table-wrap {
	overflow-x: auto;
	background: #ffffff;
	border-radius: 18px;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 680px;
}

.comparison-table th,
.comparison-table td {
	padding: 15px 18px;
	text-align: right;
	border-bottom: 1px solid var(--border);
}

.comparison-table th {
	background: var(--purple-900);
	color: #ffffff;
	font-weight: 800;
}

.comparison-table tr:nth-child(even) td {
	background: var(--purple-50);
}
