/* ==========================================================================
   ShortLine theme – main styles (LTR + RTL via logical properties)
   Brand: maroon #951B4A · yellow #F6B01C · charcoal #2F302F
   ========================================================================== */
:root {
	--sl-maroon: #951b4a;
	--sl-maroon-dark: #74133a;
	--sl-yellow: #f6b01c;
	--sl-yellow-dark: #d99505;
	--sl-dark: #2f302f;
	--sl-darker: #1f2020;
	--sl-text: #2b2b2e;
	--sl-muted: #63656a;
	--sl-light: #f6f4f2;
	--sl-line: #e7e3df;
	--sl-white: #fff;
	--sl-radius: 14px;
	--sl-shadow: 0 10px 30px rgba(31, 32, 32, .08);
	--sl-shadow-lg: 0 18px 45px rgba(31, 32, 32, .16);
	--sl-font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--sl-font-ar: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
	--sl-container: 1200px;
}

/* Classic themes: WordPress wraps group blocks in an extra inner container.
   Make it transparent so grids, rows and flex layouts apply to the real items. */
.wp-block-group > .wp-block-group__inner-container { display: contents; }

/* Block spacing inside our layouts is handled by the theme. */
.sl-card > .wp-block-group__inner-container > * + *, .sl-cta-inner > .wp-block-group__inner-container > *, .sl-contact-item > .wp-block-group__inner-container > * { margin-block-start: 0; }
.sl-main :is(.sl-grid, .sl-cta-inner, .sl-contact-item, .sl-product-index) > .wp-block-group__inner-container > * { margin-block-start: 0; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
	margin: 0;
	font-family: var(--sl-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--sl-text);
	background: var(--sl-white);
	-webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body, body.lang-ar, .lang-ar .editor-styles-wrapper { font-family: var(--sl-font-ar); line-height: 1.85; }
img { max-width: 100%; height: auto; }
a { color: var(--sl-maroon); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sl-maroon-dark); }
h1, h2, h3, h4 { color: var(--sl-dark); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.sl-sr, .sl-skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sl-skip:focus { position: fixed; top: 10px; inset-inline-start: 10px; background: #fff; padding: 10px 16px; z-index: 1000; border-radius: 8px; }

.sl-container, .wp-block-group.sl-container {
	width: 100%;
	max-width: var(--sl-container);
	margin-inline: auto;
	padding-inline: 20px;
}
.sl-main .wp-block-cover .sl-container { padding-inline: 20px; }

/* ---------- Top bar ---------- */
.sl-topbar { background: var(--sl-dark); color: #d9d9d9; font-size: 13.5px; }
.sl-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.sl-topbar-info { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sl-topbar a { color: #e9e9e9; }
.sl-topbar a:hover { color: var(--sl-yellow); }
.sl-ti { color: var(--sl-yellow); margin-inline-end: 6px; }
.sl-lang-switch {
	background: var(--sl-yellow); color: var(--sl-darker) !important; font-weight: 700;
	padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.sl-lang-switch:hover { background: #fff; }
.sl-lang-switch[lang="ar"] { font-family: var(--sl-font-ar); }
.sl-lang-switch[lang="en"] { font-family: var(--sl-font); }

/* ---------- Header ---------- */
.sl-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--sl-line); transition: box-shadow .25s; }
.admin-bar .sl-header { top: 32px; }
.sl-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.sl-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.sl-brand { display: flex; align-items: center; }
.sl-logo, .sl-brand img { height: 58px; width: auto; display: block; }
.sl-nav { display: flex; align-items: center; gap: 22px; }
.sl-menu, .sl-footer-menu { list-style: none; margin: 0; padding: 0; }
.sl-menu { display: flex; gap: 4px; }
.sl-menu a {
	display: block; white-space: nowrap; padding: 10px 14px; color: var(--sl-dark); font-weight: 600; font-size: 15px;
	border-radius: 8px; position: relative;
}
.sl-menu a::after {
	content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 3px; border-radius: 3px;
	background: var(--sl-yellow); transform: scaleX(0); transition: transform .25s;
}
.sl-menu a:hover, .sl-menu .current-menu-item > a, .sl-menu .current_page_item > a { color: var(--sl-maroon); }
.sl-menu a:hover::after, .sl-menu .current-menu-item > a::after, .sl-menu .current_page_item > a::after { transform: scaleX(1); }
.sl-header-cta {
	display: inline-block; background: var(--sl-maroon); color: #fff !important; font-weight: 700;
	padding: 12px 22px; border-radius: 10px; white-space: nowrap; transition: background .2s, transform .2s;
}
.sl-header-cta:hover { background: var(--sl-maroon-dark); transform: translateY(-1px); }
.sl-nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.sl-burger, .sl-burger::before, .sl-burger::after { display: block; width: 26px; height: 3px; background: var(--sl-dark); border-radius: 3px; position: relative; transition: transform .25s, opacity .25s; }
.sl-burger::before, .sl-burger::after { content: ""; position: absolute; inset-inline-start: 0; }
.sl-burger::before { top: -8px; } .sl-burger::after { top: 8px; }
.sl-nav-open .sl-burger { background: transparent; }
.sl-nav-open .sl-burger::before { transform: translateY(8px) rotate(45deg); }
.sl-nav-open .sl-burger::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Sections ---------- */
.sl-main > .wp-block-group, .sl-entry > .wp-block-group { margin: 0; }
.sl-entry > * + * { margin-block-start: 0; }
.sl-section { padding-block: 84px; }
.sl-section-tight { padding-block: 48px 8px; }
.sl-bg-light { background: var(--sl-light); }
.sl-bg-dark { background: var(--sl-dark); color: #dedede; }
.sl-bg-dark h2, .sl-bg-dark h3 { color: #fff; }
.sl-bg-dark .sl-section-sub { color: #bdbdbd; }
.sl-section-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; position: relative; padding-bottom: 18px; margin-bottom: 18px; }
.sl-section-title::after {
	content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 70px; height: 5px;
	background: linear-gradient(90deg, var(--sl-maroon) 0 55%, var(--sl-yellow) 55% 100%);
	transform: skewX(-20deg); border-radius: 2px;
}
.sl-section > .sl-container > .sl-section-title, .sl-section > .sl-container > .sl-section-sub,
.sl-section > .sl-container > .wp-block-group__inner-container > .sl-section-title, .sl-section > .sl-container > .wp-block-group__inner-container > .sl-section-sub,
.sl-section > .wp-block-group__inner-container > .sl-container > .sl-section-title, .sl-section > .wp-block-group__inner-container > .sl-container > .sl-section-sub,
.sl-section > .wp-block-group__inner-container > .sl-container > .wp-block-group__inner-container > .sl-section-title, .sl-section > .wp-block-group__inner-container > .sl-container > .wp-block-group__inner-container > .sl-section-sub { text-align: center; }
.sl-section > .sl-container > .sl-section-title::after,
.sl-section > .sl-container > .wp-block-group__inner-container > .sl-section-title::after,
.sl-section > .wp-block-group__inner-container > .sl-container > .sl-section-title::after,
.sl-section > .wp-block-group__inner-container > .sl-container > .wp-block-group__inner-container > .sl-section-title::after { inset-inline-start: 50%; margin-inline-start: -35px; }
.sl-section-sub { color: var(--sl-muted); font-size: 17px; max-width: 680px; margin: 0 auto 44px; }
.sl-lead { font-size: 18px; color: var(--sl-muted); max-width: 860px; }
.sl-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 13px; color: var(--sl-yellow); margin-bottom: 14px; }
.lang-ar .sl-eyebrow { letter-spacing: 0; font-size: 15px; }
.sl-eyebrow-dark { color: var(--sl-maroon); }
.sl-center { justify-content: center; margin-top: 40px; }
.sl-rounded img, img.sl-rounded { border-radius: var(--sl-radius); }
.sl-shadow img { box-shadow: var(--sl-shadow-lg); }
.wp-block-columns.sl-gap-xl { gap: 56px; margin-bottom: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; width: 100%; }

/* ---------- Buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wp-block-buttons.sl-center { justify-content: center; }
.wp-block-button__link, .sl-submit {
	border-radius: 10px !important; padding: 14px 28px !important; font-weight: 700; font-size: 16px;
	transition: background .2s, color .2s, transform .2s, box-shadow .2s; border: 2px solid transparent;
}
.wp-block-button__link:hover, .sl-submit:hover { transform: translateY(-2px); }
.sl-btn-yellow .wp-block-button__link { background: var(--sl-yellow); color: var(--sl-darker); }
.sl-btn-yellow .wp-block-button__link:hover { background: #ffc43d; color: var(--sl-darker); box-shadow: 0 10px 24px rgba(246,176,28,.35); }
.sl-btn-maroon .wp-block-button__link { background: var(--sl-maroon); color: #fff; }
.sl-btn-maroon .wp-block-button__link:hover { background: var(--sl-maroon-dark); color: #fff; }
.sl-btn-light .wp-block-button__link, .is-style-outline.sl-btn-light .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.sl-btn-light .wp-block-button__link:hover { background: #fff; color: var(--sl-dark); }
.sl-btn-maroon-outline .wp-block-button__link { background: transparent; color: var(--sl-maroon); border-color: var(--sl-maroon); padding: 11px 22px !important; font-size: 15px; }
.sl-btn-maroon-outline .wp-block-button__link:hover { background: var(--sl-maroon); color: #fff; }

/* ---------- Hero ---------- */
.wp-block-cover.sl-hero { padding: 0; align-items: center; min-height: 620px; overflow: hidden; }
.wp-block-cover.sl-hero .wp-block-cover__background { background: linear-gradient(100deg, rgba(31,32,32,.92) 0%, rgba(31,32,32,.78) 45%, rgba(149,27,74,.35) 100%) !important; opacity: 1 !important; }
.lang-ar .wp-block-cover.sl-hero .wp-block-cover__background { background: linear-gradient(-100deg, rgba(31,32,32,.92) 0%, rgba(31,32,32,.78) 45%, rgba(149,27,74,.35) 100%) !important; }
.wp-block-cover.sl-hero::after {
	content: ""; position: absolute; z-index: 1; bottom: 0; inset-inline-end: 0; width: 46%; height: 14px;
	background: repeating-linear-gradient(-55deg, var(--sl-yellow) 0 22px, transparent 22px 34px);
}
.wp-block-cover.sl-hero::before {
	content: ""; position: absolute; z-index: 1; top: 0; inset-inline-start: 0; width: 34%; height: 10px; background: var(--sl-maroon);
}
.sl-hero .wp-block-cover__inner-container { width: 100%; max-width: none; color: #fff; }
.sl-hero-inner > *, .sl-hero-inner > .wp-block-group__inner-container > * { max-width: 720px; }
.sl-hero-title { color: #fff !important; font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.12; margin-bottom: 20px; }
.lang-ar .sl-hero-title { line-height: 1.35; }
.sl-hero-text { font-size: 18px; color: #e6e6e6; margin-bottom: 34px; }

/* ---------- Stats ---------- */
.sl-stats { background: var(--sl-maroon); color: #fff; padding-block: 34px; position: relative; }
.sl-stats .sl-grid { gap: 20px; }
.sl-stat { text-align: center; border-inline-start: 1px solid rgba(255,255,255,.18); }
.sl-stat:first-child { border-inline-start: 0; }
.sl-stat-num { font-size: 40px; font-weight: 800; color: var(--sl-yellow); margin: 0; line-height: 1.1; }
.sl-stat-label { margin: 6px 0 0; font-weight: 500; opacity: .95; }

/* ---------- Grids & cards ---------- */
.sl-grid, .wp-block-group.sl-grid { display: grid; gap: 26px; }
.sl-grid > *, .sl-grid > .wp-block-group__inner-container > * { margin: 0 !important; }
.sl-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sl-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sl-grid-4 { grid-template-columns: repeat(4, 1fr); }
.sl-grid-5 { grid-template-columns: repeat(5, 1fr); }
.sl-card {
	background: #fff; border-radius: var(--sl-radius); box-shadow: var(--sl-shadow); overflow: hidden;
	transition: transform .25s, box-shadow .25s; border: 1px solid var(--sl-line);
}
.sl-card:hover { transform: translateY(-5px); box-shadow: var(--sl-shadow-lg); }

.sl-portfolio-card { position: relative; }
.sl-portfolio-card .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.sl-portfolio-card:hover .wp-block-image img { transform: scale(1.05); }
.sl-portfolio-card h3 {
	position: absolute; bottom: 18px; inset-inline-start: 0; margin: 0; color: #fff; font-size: 18px;
	background: var(--sl-maroon); padding: 9px 22px 9px 18px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.lang-ar .sl-portfolio-card h3 { padding: 9px 18px 9px 22px; clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%); }
.sl-portfolio-card h3::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--sl-yellow); margin-inline-end: 10px; transform: skewX(-20deg); }

.sl-product-card .wp-block-image { background: #fff; padding: 18px; border-bottom: 4px solid var(--sl-yellow); }
.sl-product-card .wp-block-image img { aspect-ratio: 4 / 3; object-fit: contain; transition: transform .4s; }
.sl-product-card:hover .wp-block-image img { transform: scale(1.06); }
.sl-product-card h3 { font-size: 17px; margin: 0; padding: 16px 18px 18px; }
.sl-product-card h3 a { color: var(--sl-dark); display: flex; justify-content: space-between; gap: 10px; }
.sl-product-card h3 a::after { content: "→"; color: var(--sl-maroon); transition: transform .2s; }
.lang-ar .sl-product-card h3 a::after { content: "←"; }
.sl-product-card:hover h3 a { color: var(--sl-maroon); }
.sl-product-card:hover h3 a::after { transform: translateX(4px); }
.lang-ar .sl-product-card:hover h3 a::after { transform: translateX(-4px); }

.sl-service-card { padding: 30px 26px; }
.sl-bg-dark .sl-service-card { background: #3a3b3a; border-color: #474847; box-shadow: none; }
.sl-bg-dark .sl-service-card p { color: #cfcfcf; }
.sl-service-card h3 { font-size: 19px; margin-bottom: 10px; }
.sl-service-card p { font-size: 15px; color: var(--sl-muted); margin: 0; }
.sl-service-card p.sl-icon, .sl-icon {
	width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; margin: 0 0 18px;
	background: var(--sl-yellow); color: var(--sl-darker) !important; font-size: 26px; font-weight: 700; line-height: 1;
}
.sl-service-card:hover .sl-icon { background: var(--sl-maroon); color: #fff !important; }

.sl-value-card { padding: 28px 24px; border-top: 4px solid var(--sl-maroon); }
.sl-value-card:nth-child(even) { border-top-color: var(--sl-yellow); }
.sl-value-card h3 { font-size: 19px; }
.sl-value-card p { color: var(--sl-muted); font-size: 15px; margin: 0; }
p.sl-value-num { font-size: 34px; font-weight: 800; color: var(--sl-line); margin: 0 0 6px; line-height: 1; }
.sl-value-card:hover .sl-value-num, .sl-product-row:hover .sl-value-num { color: var(--sl-yellow); }

.sl-mission, .sl-philosophy { padding: 36px; height: 100%; }
.sl-mission { background: var(--sl-maroon); color: #f1e4e9; border: 0; }
.sl-mission h2 { color: #fff; }
.sl-mission .sl-section-title::after { background: var(--sl-yellow); }
.sl-mission p { font-size: 17px; }
.sl-philosophy h3 { font-size: 18px; color: var(--sl-maroon); margin: 18px 0 6px; }
.sl-philosophy p { color: var(--sl-muted); margin: 0; }
.wp-block-column > .sl-card { height: 100%; }

/* chips */
.sl-chip {
	display: flex; align-items: center; gap: 12px; margin: 0; background: #fff; border: 1px solid var(--sl-line);
	padding: 16px 20px; border-radius: 12px; font-weight: 600; color: var(--sl-dark); box-shadow: var(--sl-shadow);
	transition: transform .2s, border-color .2s;
}
.sl-chip::before {
	content: ""; flex: 0 0 auto; width: 0; height: 0; border-block: 8px solid transparent;
	border-inline-start: 12px solid var(--sl-maroon);
}
.sl-chip:nth-child(even)::before { border-inline-start-color: var(--sl-yellow); }
.sl-chip:hover { transform: translateY(-3px); border-color: var(--sl-yellow); }
.sl-bg-dark .sl-chip { background: #3a3b3a; border-color: #474847; color: #fff; box-shadow: none; }
.sl-product-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sl-product-index .sl-chip { padding: 8px 14px; font-size: 14px; box-shadow: none; }
.sl-product-index .sl-chip::before { border-block-width: 5px; border-inline-start-width: 8px; }
.sl-chip a { color: inherit; }

/* customers / partners */
.sl-customer-card { padding: 28px 24px; text-align: center; border-bottom: 4px solid var(--sl-yellow); }
.sl-customer-card h3 { font-size: 21px; margin-bottom: 8px; color: var(--sl-maroon); }
.sl-vendor { margin: 0; display: inline-block; background: var(--sl-light); color: var(--sl-dark); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.sl-partners { gap: 14px; }
.sl-brandname {
	margin: 0; background: #fff; border: 1px solid var(--sl-line); border-radius: 10px; padding: 18px 12px;
	text-align: center; font-weight: 700; color: var(--sl-dark); letter-spacing: .02em; transition: color .2s, border-color .2s;
	direction: ltr;
}
.sl-brandname:hover { color: var(--sl-maroon); border-color: var(--sl-maroon); }

/* product rows */
.sl-product-row { padding-block: 44px; border-bottom: 1px solid var(--sl-line); scroll-margin-top: 110px; }
.sl-product-row:last-child { border-bottom: 0; }
.sl-product-row .wp-block-image { background: var(--sl-light); border-radius: var(--sl-radius); padding: 24px; }
.sl-product-row .wp-block-image img { aspect-ratio: 4 / 3; object-fit: contain; border-radius: 10px; }
.sl-product-row h2 { font-size: 28px; }
.sl-product-row p { color: var(--sl-muted); font-size: 16.5px; }
.sl-reverse .wp-block-columns { flex-direction: row-reverse; }
.sl-products-list { padding-top: 20px; }

/* page header */
.sl-page-header {
	position: relative; overflow: hidden; color: #fff; padding-block: 76px 70px;
	background:
		linear-gradient(100deg, rgba(31,32,32,.96) 0%, rgba(31,32,32,.86) 55%, rgba(149,27,74,.86) 100%),
		url("../images/hero.jpg") center / cover no-repeat;
}
.lang-ar .sl-page-header { background:
		linear-gradient(-100deg, rgba(31,32,32,.96) 0%, rgba(31,32,32,.86) 55%, rgba(149,27,74,.86) 100%),
		url("../images/hero.jpg") center / cover no-repeat; }
.sl-page-header::after {
	content: ""; position: absolute; bottom: 0; inset-inline-end: 0; width: 40%; height: 12px;
	background: repeating-linear-gradient(-55deg, var(--sl-yellow) 0 22px, transparent 22px 34px);
}
.sl-page-title { color: #fff !important; font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; margin: 0 0 8px; }
.sl-page-sub { color: #d6d6d6; font-size: 18px; margin: 0; }

/* CTA band */
.sl-cta { background: var(--sl-yellow); position: relative; overflow: hidden; }
.sl-cta::before {
	content: ""; position: absolute; inset-block: 0; inset-inline-end: -60px; width: 38%;
	background: var(--sl-maroon); transform: skewX(-20deg);
}
.lang-ar .sl-cta::before { transform: skewX(20deg); }
.sl-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 56px; position: relative; flex-wrap: wrap; }
.sl-cta-text { max-width: 640px; }
.sl-cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--sl-darker); }
.sl-cta p { margin: 0; color: #3c2f12; font-size: 17px; }
.sl-cta .sl-btn-yellow .wp-block-button__link { background: var(--sl-dark); color: #fff; }
.sl-cta .sl-btn-yellow .wp-block-button__link:hover { background: var(--sl-darker); box-shadow: none; }

/* contact */
.sl-contact-list { display: grid; gap: 14px; margin-bottom: 28px; }
.sl-contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--sl-light); border-radius: 12px; padding: 16px 18px; }
.sl-contact-item .sl-icon { width: 46px; height: 46px; font-size: 20px; margin: 0; flex: 0 0 auto; background: var(--sl-maroon); color: #fff !important; }
.sl-contact-text p { margin: 0; }
.sl-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sl-muted); font-weight: 600; }
.lang-ar .sl-label { letter-spacing: 0; font-size: 14px; }
.sl-contact-text a { color: var(--sl-dark); font-weight: 600; }
.sl-contact-photo img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sl-form-card { padding: 36px; border-top: 5px solid var(--sl-maroon); }
.sl-form-card:hover { transform: none; }
.sl-form { display: grid; gap: 16px; }
.sl-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sl-form-grid .sl-full { grid-column: 1 / -1; }
.sl-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--sl-dark); }
.sl-form input, .sl-form textarea {
	width: 100%; font: inherit; font-weight: 400; padding: 13px 15px; border: 1px solid #d8d3ce; border-radius: 10px;
	background: #fcfbfa; transition: border-color .2s, box-shadow .2s;
}
.sl-form input:focus, .sl-form textarea:focus { outline: none; border-color: var(--sl-maroon); box-shadow: 0 0 0 4px rgba(149,27,74,.12); background: #fff; }
.lang-ar .sl-form input[dir="ltr"] { text-align: right; }
.sl-req { color: var(--sl-maroon); }
.sl-submit { background: var(--sl-maroon); color: #fff; cursor: pointer; justify-self: start; }
.sl-submit:hover { background: var(--sl-maroon-dark); }
.sl-hp { position: absolute; inset-inline-start: -9999px; }
.sl-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.sl-alert-success { background: #e7f6ec; color: #1d6b38; }
.sl-alert-error { background: #fdecec; color: #9b1c1c; }
.sl-map iframe { display: block; filter: grayscale(.25); }
.sl-map .wp-block-html, .sl-map > *, .sl-map > .wp-block-group__inner-container > * { margin: 0; }

/* promos, lists */
.sl-promo { padding: 38px 36px; border: 0; color: #e9e9e9; }
.sl-promo h3 { color: #fff; font-size: 26px; font-weight: 800; }
.sl-promo p { margin-bottom: 22px; }
.sl-promo .sl-eyebrow { margin-bottom: 8px; }
.sl-promo-maroon { background: linear-gradient(135deg, var(--sl-maroon), var(--sl-maroon-dark)); }
.sl-promo-dark { background: linear-gradient(135deg, var(--sl-dark), var(--sl-darker)); }
.sl-narrow { max-width: 900px; }
.sl-muted { color: var(--sl-muted); }
.sl-main .wp-block-list { padding: 0; list-style: none; margin: 0 0 24px; display: grid; gap: 10px; }
.sl-main .wp-block-list li { position: relative; padding-inline-start: 32px; }
.sl-main .wp-block-list li::before {
	content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--sl-yellow); color: var(--sl-darker); font-size: 13px; font-weight: 800; display: grid; place-items: center;
}
.sl-bg-dark p { color: #d2d2d2; }
.sl-ai-section .sl-section-title { text-align: start; }

/* ---------- AI chat ---------- */
.sl-chat [hidden] { display: none !important; }
.sl-chat p { color: var(--sl-text); }
.sl-chat {
	display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
	box-shadow: 0 24px 60px rgba(0,0,0,.28); color: var(--sl-text); font-size: 15px;
}
.sl-chat-inline { height: 620px; }
.sl-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--sl-maroon); color: #fff; }
.sl-chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sl-yellow); color: var(--sl-darker); display: grid; place-items: center; flex: 0 0 auto; }
.sl-chat-title { display: grid; line-height: 1.3; flex: 1; }
.sl-chat-title small { opacity: .85; font-size: 12.5px; }
.sl-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-inline-end: 4px; }
.sl-chat-close { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.sl-chat-log { flex: 1; overflow-y: auto; padding: 18px; background: #f7f5f3; display: flex; flex-direction: column; gap: 10px; }
.sl-msg { display: flex; }
.sl-msg-user { justify-content: flex-end; }
.sl-bubble { max-width: 85%; padding: 11px 15px; border-radius: 16px; line-height: 1.55; word-wrap: break-word; overflow-wrap: anywhere; }
.sl-msg-assistant .sl-bubble { background: #fff; border: 1px solid var(--sl-line); border-end-start-radius: 4px; }
.sl-msg-user .sl-bubble { background: var(--sl-dark); color: #fff; border-end-end-radius: 4px; }
.sl-bubble a { color: var(--sl-maroon); text-decoration: underline; }
.sl-typing .sl-bubble { display: flex; gap: 5px; padding: 14px 16px; }
.sl-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9b3ad; animation: sl-blink 1s infinite; }
.sl-typing i:nth-child(2) { animation-delay: .15s; } .sl-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sl-blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.sl-chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 0; background: #f7f5f3; }
.sl-chat-chip { border: 1px solid var(--sl-maroon); color: var(--sl-maroon); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.sl-chat-chip:hover { background: var(--sl-maroon); color: #fff; }
.sl-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--sl-line); background: #fff; }
.sl-chat-input { flex: 1; resize: none; font: inherit; border: 1px solid #d8d3ce; border-radius: 12px; padding: 11px 13px; max-height: 120px; }
.sl-chat-input:focus { outline: none; border-color: var(--sl-maroon); box-shadow: 0 0 0 3px rgba(149,27,74,.12); }
.sl-chat-send { width: 46px; border: 0; border-radius: 12px; background: var(--sl-maroon); color: #fff; cursor: pointer; display: grid; place-items: center; }
.sl-chat-send:hover { background: var(--sl-maroon-dark); }
.sl-chat-leadbar { padding: 0 12px 12px; background: #fff; }
.sl-chat-leadtoggle { width: 100%; background: var(--sl-light); border: 1px dashed #cfc8c1; border-radius: 10px; padding: 9px; font: inherit; font-size: 14px; font-weight: 600; color: var(--sl-dark); cursor: pointer; }
.sl-chat-leadtoggle:hover { border-color: var(--sl-maroon); color: var(--sl-maroon); }
.sl-chat-lead { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 12px 14px; background: #fff8e6; border-top: 1px solid #f3dfa6; }
.sl-chat-lead[hidden] { display: none; }
.sl-chat-lead p, .sl-chat-lead-actions { grid-column: 1 / -1; }
.sl-chat-lead p { margin: 0; font-size: 13.5px; }
.sl-chat-panel .sl-chat-lead, .sl-chat-lead { min-width: 0; }
.sl-chat-panel .sl-chat-lead { grid-template-columns: 1fr; }
.sl-chat-lead input { min-width: 0; }
.sl-chat-lead input { font: inherit; padding: 9px 11px; border: 1px solid #d8d3ce; border-radius: 9px; }
.sl-chat-lead-actions { display: flex; gap: 8px; }
.sl-chat-lead-actions button { font: inherit; font-weight: 700; border: 0; border-radius: 9px; padding: 9px 16px; cursor: pointer; background: var(--sl-maroon); color: #fff; }
.sl-chat-lead-actions .sl-chat-lead-cancel { background: transparent; color: var(--sl-muted); }
.sl-chat-launcher {
	position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 101; display: flex; align-items: center; gap: 8px;
	background: var(--sl-maroon); color: #fff; border: 0; border-radius: 999px; padding: 12px 20px 12px 14px; font: inherit; font-weight: 700;
	box-shadow: 0 12px 30px rgba(149,27,74,.4); cursor: pointer; transition: transform .2s;
}
.sl-chat-launcher:hover { transform: translateY(-2px); }
.sl-chat-launcher[hidden] { display: none; }
.sl-chat-launcher svg { background: var(--sl-yellow); color: var(--sl-darker); border-radius: 50%; padding: 5px; width: 32px; height: 32px; }
.sl-chat-panel { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 102; width: 380px; max-width: calc(100vw - 24px); height: 600px; max-height: calc(100vh - 44px); }
.sl-chat-panel[hidden] { display: none; }
.sl-has-chat .sl-whatsapp { bottom: 90px; }

/* generic content pages */
.sl-prose { max-width: 860px; }

/* ---------- Footer ---------- */
.sl-footer { background: var(--sl-darker); color: #bdbdbd; position: relative; font-size: 15px; }
.sl-footer-stripe { height: 8px; background: linear-gradient(90deg, var(--sl-maroon) 0 60%, var(--sl-yellow) 60% 100%); }
.lang-ar .sl-footer-stripe { background: linear-gradient(-90deg, var(--sl-maroon) 0 60%, var(--sl-yellow) 60% 100%); }
.sl-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-block: 64px 44px; }
.sl-footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.sl-footer-logo img { height: 52px; width: auto; display: block; }
.sl-footer-title { color: #fff; font-size: 18px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.sl-footer-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 40px; height: 3px; background: var(--sl-yellow); }
.sl-footer a { color: #d6d6d6; }
.sl-footer a:hover { color: var(--sl-yellow); }
.sl-footer-menu li { margin-bottom: 8px; }
.sl-footer-menu a::before { content: "›"; color: var(--sl-yellow); margin-inline-end: 8px; }
.lang-ar .sl-footer-menu a::before { content: "‹"; }
.sl-footer ul.sl-menu { display: block; }
.sl-footer ul.sl-menu a { color: #d6d6d6; padding: 0 0 8px; }
.sl-footer ul.sl-menu a::after { display: none; }
.sl-footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sl-footer-contact span { color: var(--sl-yellow); margin-inline-end: 6px; }
.sl-footer-bottom { border-top: 1px solid #333; padding-block: 18px; font-size: 14px; color: #8f8f8f; }
.sl-whatsapp {
	position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 99; width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: #fff !important; box-shadow: 0 10px 25px rgba(0,0,0,.25);
	transition: transform .2s;
}
.sl-whatsapp:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.sl-menu a { padding: 10px 9px; font-size: 14.5px; }
	.sl-header-cta { padding: 11px 16px; }
}
@media (max-width: 1080px) {
	.sl-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.sl-grid-5 { grid-template-columns: repeat(3, 1fr); }
	.sl-nav-toggle { display: block; }
	.sl-nav {
		position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column; align-items: stretch;
		gap: 10px; padding: 14px 20px 22px; border-bottom: 4px solid var(--sl-maroon); box-shadow: 0 20px 30px rgba(0,0,0,.1);
		display: none;
	}
	.sl-nav-open .sl-nav { display: flex; }
	.sl-menu { flex-direction: column; }
	.sl-menu a::after { display: none; }
	.sl-header-cta { text-align: center; }
	.sl-footer-grid { grid-template-columns: 1fr 1fr; }
	.sl-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 781px) {
	.sl-section { padding-block: 60px; }
	.sl-grid-3 { grid-template-columns: 1fr 1fr; }
	.sl-stats .sl-grid-4 { grid-template-columns: 1fr 1fr; }
	.sl-stat:nth-child(3) { border-inline-start: 0; }
	.sl-reverse .wp-block-columns { flex-direction: column; }
	.wp-block-columns.sl-gap-xl { gap: 28px; }
	.sl-form-grid { grid-template-columns: 1fr; }
	.sl-grid-2 { grid-template-columns: 1fr; }
	.wp-block-cover.sl-hero { padding-block: 64px !important; min-height: 0 !important; }
	.sl-cta::before { display: none; }
	.sl-hide-sm { display: none; }
	.sl-logo, .sl-brand img { height: 46px; }
	.sl-header-inner { min-height: 72px; }
	.admin-bar .sl-header { top: 0; }
}
@media (max-width: 560px) {
	.sl-chat-panel { inset-inline: 12px; bottom: 12px; width: auto; height: calc(100vh - 24px); }
	.sl-chat-launcher span { display: none; }
	.sl-chat-launcher { padding: 12px; }
	.sl-chat-inline { height: 520px; }
	.sl-grid-3, .sl-grid-4 { grid-template-columns: 1fr; }
	.sl-stats .sl-grid-4 { grid-template-columns: 1fr 1fr; }
	.sl-grid-5 { grid-template-columns: 1fr 1fr; }
	.sl-footer-grid { grid-template-columns: 1fr; }
	.sl-topbar-info a:nth-child(2) { display: none; }
	.sl-mission, .sl-philosophy, .sl-form-card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Block editor tweaks */
.editor-styles-wrapper .sl-grid { display: grid; }
