/* ==========================================================================
   Sorena Rayan - design system (RTL first)
   Prefix: .sr-   Brand color: #0045a0
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
	font-family: 'IRANSans';
	src: url('../fonts/IRANSansWebFaNum.woff') format('woff');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'IRANSans';
	src: url('../fonts/IRANSansWebFaNum_Medium.woff') format('woff');
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: 'IRANSans';
	src: url('../fonts/IRANSansWebFaNum_Bold.woff') format('woff');
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: 'IRANSans';
	src: url('../fonts/IRANSansWebFaNum_Black.woff') format('woff');
	font-weight: 900;
	font-display: swap;
}
@font-face {
	font-family: 'IRANSans';
	src: url('../fonts/IRANSansWebFaNum_Light.woff') format('woff');
	font-weight: 300;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--sr-primary: #0045a0;
	--sr-primary-600: #003c8a;
	--sr-primary-700: #003070;
	--sr-primary-050: #eef4fd;
	--sr-accent: #f5a623;
	--sr-accent-600: #dd8f00;
	--sr-green: #17a673;
	--sr-red: #e04141;

	--sr-text: #1d2430;
	--sr-muted: #6b7686;
	--sr-heading: #101827;
	--sr-bg: #ffffff;
	--sr-surface: #f7f9fc;
	--sr-surface-2: #eef2f8;
	--sr-border: #e3e8f0;
	--sr-border-strong: #cfd8e6;
	--sr-navy: #0a1f3c;
	--sr-navy-2: #0e2b52;
	--sr-ink: #08152a;

	--sr-radius: 12px;
	--sr-radius-sm: 8px;
	--sr-radius-lg: 18px;
	--sr-shadow: 0 6px 24px rgba(16, 24, 39, 0.07);
	--sr-shadow-lg: 0 18px 50px rgba(16, 24, 39, 0.12);
	--sr-container: 1200px;
	--sr-header-h: 78px;
	--sr-ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.sr-body {
	margin: 0;
	font-family: 'IRANSans', Tahoma, Arial, sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.9;
	color: var(--sr-text);
	background: var(--sr-bg);
	direction: rtl;
}

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

a {
	color: var(--sr-primary);
	text-decoration: none;
	transition: color .18s ease;
}

a:hover {
	color: var(--sr-accent-600);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 .6em;
	color: var(--sr-heading);
	line-height: 1.5;
	font-weight: 700;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-inline-start: 1.3rem; }

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
}

/* ---------- Layout helpers ---------- */
.sr-container {
	width: 100%;
	max-width: var(--sr-container);
	margin: 0 auto;
	padding: 0 16px;
}

.sr-section {
	padding: 64px 0;
}

.sr-section--tight { padding: 40px 0; }
.sr-section--surface { background: var(--sr-surface); }
.sr-section--primary {
	background: linear-gradient(135deg, var(--sr-primary) 0%, var(--sr-primary-700) 100%);
	color: #fff;
}
.sr-section--primary h1,
.sr-section--primary h2,
.sr-section--primary h3,
.sr-section--primary p { color: #fff; }

.sr-section__head {
	max-width: 780px;
	margin: 0 auto 40px;
	text-align: center;
}

.sr-section__head p {
	color: var(--sr-muted);
	margin: 0;
}

.sr-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--sr-primary-050);
	color: var(--sr-primary);
	font-size: .82rem;
	font-weight: 700;
}

/* Eyebrow and buttons that sit on the dark blue hero background. */
.sr-eyebrow--onDark {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .2);
}

.sr-btn--onDark {
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
}

/* Available to screen readers, invisible on screen. */
.sr-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sr-grid {
	display: grid;
	gap: 22px;
}

/* Grid items must be allowed to shrink below their content width. */
.sr-grid > * {
	min-width: 0;
}

.sr-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sr-lead {
	font-size: 1.06rem;
	color: var(--sr-muted);
}

/* ---------- Top bar ---------- */
.sr-topbar {
	background: linear-gradient(90deg, var(--sr-ink) 0%, var(--sr-navy-2) 60%, var(--sr-primary-700) 100%);
	color: #c6d6ee;
	font-size: .82rem;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}

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

.sr-topbar__phones {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.sr-topbar__phones strong { color: #fff; }

.sr-topbar__phones a,
.sr-topbar__links a {
	color: #dbe6f7;
}

.sr-topbar__phones a:hover,
.sr-topbar__links a:hover { color: #fff; }

.sr-topbar__links {
	display: flex;
	align-items: center;
	gap: 16px;
}

.sr-topbar__hours {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	opacity: .82;
}

.sr-topbar__hours svg { width: 15px; height: 15px; }

.sr-topbar__social {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sr-topbar__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
}

.sr-topbar__social a:hover { background: rgba(255, 255, 255, .26); }

.sr-muted-inline { opacity: .75; }

.sr-panel-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .16);
	color: #fff !important;
	font-weight: 500;
	transition: background .18s ease, border-color .18s ease;
}

.sr-panel-link:hover {
	background: rgba(255, 255, 255, .2);
	border-color: rgba(255, 255, 255, .32);
}

/* ---------- Header ---------- */
.sr-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--sr-border);
	box-shadow: 0 1px 0 rgba(16, 24, 39, .02);
	transition: box-shadow .25s var(--sr-ease);
}

.sr-header.is-stuck { box-shadow: 0 10px 30px rgba(10, 31, 60, .10); }

.sr-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--sr-header-h);
}

.sr-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.sr-logo img { height: 52px; width: auto; }

.sr-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.sr-header__phone {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.35;
	text-align: left;
	color: var(--sr-heading);
}

.sr-header__phone small {
	font-size: .72rem;
	color: var(--sr-muted);
	font-weight: 400;
}

.sr-header__phone strong {
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: .2px;
}

.sr-header__phone:hover strong { color: var(--sr-primary); }

.sr-header__cta { padding: 10px 20px; border-radius: 999px; }

/* ---------- Navigation ---------- */
.sr-nav { display: flex; align-items: center; }

.sr-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sr-nav__item { position: relative; }

.sr-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 26px 13px;
	border-radius: 0;
	color: var(--sr-text);
	font-weight: 500;
	white-space: nowrap;
	transition: color .18s ease;
}

.sr-nav__link:hover,
.sr-nav__item.is-current > .sr-nav__link {
	color: var(--sr-primary);
	background: transparent;
}

.sr-nav__link::after {
	content: '';
	position: absolute;
	bottom: 16px;
	right: 13px;
	left: 13px;
	height: 2px;
	border-radius: 2px;
	background: var(--sr-primary);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .22s var(--sr-ease);
}

.sr-nav__link:hover::after { transform: scaleX(1); }
.sr-nav__item.is-current > .sr-nav__link::after { transform: scaleX(1); }

.sr-nav__caret {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .6;
}

.sr-nav__sub {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 230px;
	margin: -12px 0 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	box-shadow: var(--sr-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .2s ease;
}

.sr-nav__item:hover > .sr-nav__sub,
.sr-nav__item:focus-within > .sr-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sr-nav__sub a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--sr-radius-sm);
	color: var(--sr-text);
	font-size: .92rem;
}

.sr-nav__sub a:hover {
	background: var(--sr-primary-050);
	color: var(--sr-primary);
}

.sr-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-sm);
	background: #fff;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.sr-nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--sr-text);
	border-radius: 2px;
}

/* ---------- Buttons ---------- */
.sr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 1px solid transparent;
	border-radius: var(--sr-radius-sm);
	background: var(--sr-primary);
	color: #fff;
	font-weight: 500;
	cursor: pointer;
	transition: all .18s ease;
}

.sr-btn:hover {
	background: var(--sr-primary-600);
	color: #fff;
	transform: translateY(-1px);
}

.sr-btn--outline {
	background: transparent;
	border-color: var(--sr-primary);
	color: var(--sr-primary);
}

.sr-btn--outline:hover {
	background: var(--sr-primary);
	color: #fff;
}

.sr-btn--ghost {
	background: #fff;
	border-color: var(--sr-border-strong);
	color: var(--sr-text);
}

.sr-btn--ghost:hover {
	background: var(--sr-surface);
	color: var(--sr-primary);
}

.sr-btn--accent {
	background: var(--sr-accent);
	color: #3a2a00;
}

.sr-btn--accent:hover { background: var(--sr-accent-600); color: #3a2a00; }

.sr-btn--lg { padding: 14px 30px; font-size: 1.02rem; }
.sr-btn--block { width: 100%; }

/* ---------- Hero ---------- */
.sr-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 96px;
	background:
		radial-gradient(1100px 520px at 88% -10%, rgba(96, 165, 250, .38), transparent 62%),
		radial-gradient(760px 420px at 4% 108%, rgba(245, 166, 35, .18), transparent 60%),
		linear-gradient(135deg, #052445 0%, #0045a0 58%, #1466c9 100%);
	color: #fff;
	isolation: isolate;
}

.sr-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 78%);
	pointer-events: none;
	z-index: -1;
}

.sr-hero::after {
	content: '';
	position: absolute;
	inset: auto -12% -62% auto;
	width: 680px;
	height: 680px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, transparent 66%);
	pointer-events: none;
	z-index: -1;
}

.sr-hero h1 {
	color: #fff;
	font-size: 2.62rem;
	font-weight: 900;
	line-height: 1.42;
	letter-spacing: -.3px;
	margin-bottom: .45em;
}

.sr-hero p {
	color: #cfe0f7;
	font-size: 1.05rem;
	max-width: 580px;
	line-height: 2;
}

.sr-hero__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 26px;
}

.sr-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 30px 0 0;
	padding: 18px 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.sr-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #dbe8fa;
	font-size: .92rem;
}

.sr-hero__trust svg {
	width: 18px;
	height: 18px;
	color: #ffc861;
	flex-shrink: 0;
}

/* ---------- Hero slideshow ----------
 * The blue background lives on .sr-hero and never moves. Slides are stacked in
 * the same grid cell, so swapping one for another only fades the copy and the
 * circular image: no background change, no layout jump.
 */
.sr-hero--slider {
	padding-bottom: 78px;
}

.sr-slides {
	position: relative;
	z-index: 1;
	display: grid;
}

.sr-slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 56px;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .55s ease, visibility 0s linear .55s;
}

.sr-slide.is-active,
.sr-hero--slider .sr-slides > .sr-slide:first-child {
	opacity: 1;
	visibility: visible;
	transition: opacity .55s ease, visibility 0s;
}

/* Without JavaScript only the first slide is ever shown. */
.sr-hero--slider.is-enhanced .sr-slides > .sr-slide:first-child:not(.is-active) {
	opacity: 0;
	visibility: hidden;
}

.sr-slide__title {
	color: #fff;
	font-size: 2.62rem;
	font-weight: 900;
	line-height: 1.42;
	letter-spacing: -.3px;
	margin-bottom: .45em;
}

.sr-slide p {
	color: #cfe0f7;
	font-size: 1.05rem;
	max-width: 580px;
	line-height: 2;
}

.sr-slide__visual {
	display: flex;
	justify-content: center;
	padding: 6px;
}

/*
 * On wide screens the circle sits a little further left than the column centre,
 * which balances the longer copy on the right. Tablets and phones keep it
 * centred.
 */
@media (min-width: 1081px) {
	.sr-slide__visual { transform: translateX(-28px); }
}

/* The thick circular band around the slide image. */
.sr-slide__ring {
	position: relative;
	display: grid;
	place-items: center;
	width: min(420px, 100%);
	aspect-ratio: 1 / 1;
	padding: 14px;
	border-radius: 50%;
	border: 10px solid rgba(255, 255, 255, .88);
	background: rgba(255, 255, 255, .07);
	box-shadow: 0 0 0 12px rgba(255, 255, 255, .1), 0 34px 64px rgba(2, 14, 33, .45);
}

/* Slowly rotating dashed halo, purely decorative. */
.sr-slide__ring::before {
	content: '';
	position: absolute;
	inset: -26px;
	border-radius: 50%;
	border: 2px dashed rgba(255, 255, 255, .28);
	animation: sr-ring-spin 38s linear infinite;
	pointer-events: none;
}

.sr-slide__ring img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: contain;
}

@keyframes sr-ring-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.sr-slides__nav {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 34px;
}

.sr-slides__dots {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sr-slides__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: width .3s ease, background .3s ease;
}

.sr-slides__dot:hover { background: rgba(255, 255, 255, .6); }

.sr-slides__dot.is-active {
	width: 32px;
	background: #fff;
}

.sr-slides__pause {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.sr-slides__pause-icon {
	display: block;
	width: 10px;
	height: 12px;
	border-style: solid;
	border-color: #fff;
	border-width: 0 4px;
}

.sr-slides__pause[aria-pressed="true"] .sr-slides__pause-icon {
	width: 0;
	height: 0;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent #fff;
}

/* Trust strip under the hero */
.sr-truststrip {
	position: relative;
	z-index: 2;
	margin-top: -44px;
}

.sr-truststrip__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
	box-shadow: 0 22px 50px rgba(10, 31, 60, .11);
	overflow: hidden;
}

.sr-truststrip__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 22px;
	border-inline-start: 1px solid var(--sr-border);
}

.sr-truststrip__item:first-child { border-inline-start: 0; }

.sr-truststrip__item i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--sr-primary-050);
	color: var(--sr-primary);
	flex-shrink: 0;
}

.sr-truststrip__item i svg { width: 21px; height: 21px; }

.sr-truststrip__item strong {
	display: block;
	font-size: 1.02rem;
	color: var(--sr-heading);
	line-height: 1.4;
}

.sr-truststrip__item span {
	display: block;
	font-size: .82rem;
	color: var(--sr-muted);
	line-height: 1.4;
}

/* ---------- Page banner ---------- */
.sr-banner {
	padding: 34px 0;
	background: linear-gradient(135deg, #00336f, var(--sr-primary));
	color: #fff;
}

.sr-banner h1 {
	color: #fff;
	font-size: 1.75rem;
	margin: 0 0 6px;
}

.sr-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .85rem;
	color: #b9cdec;
}

.sr-breadcrumb a { color: #d8e5f8; }
.sr-breadcrumb a:hover { color: #fff; }
.sr-breadcrumb li + li::before { content: '‹'; margin-inline-end: 8px; opacity: .6; }

/* ---------- Cards ---------- */
.sr-card {
	padding: 26px;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	box-shadow: var(--sr-shadow);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	min-width: 0;
}

.sr-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sr-shadow-lg);
	border-color: var(--sr-primary);
}

.sr-card h3 { margin-bottom: .4em; }
.sr-card p:last-child { margin-bottom: 0; }

.sr-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 16px;
	border-radius: 15px;
	background: linear-gradient(140deg, var(--sr-primary-050), #ffffff);
	border: 1px solid #dde7f7;
	color: var(--sr-primary);
	transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.sr-card__icon svg { width: 26px; height: 26px; }

.sr-card:hover .sr-card__icon {
	background: linear-gradient(140deg, var(--sr-primary), #1f6fd0);
	border-color: var(--sr-primary);
	color: #fff;
	transform: translateY(-2px);
}

.sr-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-weight: 500;
	font-size: .92rem;
	color: var(--sr-primary);
}

.sr-card--link { display: flex; flex-direction: column; height: 100%; }
.sr-card--link .sr-card__more { margin-top: auto; padding-top: 14px; }

.sr-card--flat { box-shadow: none; }

/* ---------- Feature list ---------- */
.sr-checks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sr-checks li {
	position: relative;
	padding-inline-start: 28px;
	margin-bottom: 9px;
}

.sr-checks li::before {
	content: '';
	position: absolute;
	top: 8px;
	right: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--sr-green);
	opacity: .16;
}

.sr-checks li::after {
	content: '';
	position: absolute;
	top: 12px;
	right: 4px;
	width: 7px;
	height: 4px;
	border-left: 2px solid var(--sr-green);
	border-bottom: 2px solid var(--sr-green);
	transform: rotate(-45deg);
}

/* ---------- Table ---------- */
.sr-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	background: #fff;
}

.sr-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 680px;
	font-size: .93rem;
}

.sr-table th,
.sr-table td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--sr-border);
	text-align: right;
	vertical-align: middle;
}

.sr-table thead th {
	background: var(--sr-surface-2);
	color: var(--sr-heading);
	font-weight: 700;
	white-space: nowrap;
}

.sr-table tbody tr:last-child td { border-bottom: 0; }
.sr-table tbody tr:hover { background: var(--sr-primary-050); }
.sr-table .sr-yes { color: var(--sr-green); font-weight: 700; }
.sr-table .sr-no { color: #c3cbd8; }
.sr-table__group td {
	background: var(--sr-surface);
	font-weight: 700;
	color: var(--sr-primary);
}

@media (max-width: 700px) {
	.sr-table { min-width: 560px; font-size: .86rem; }
	.sr-table th,
	.sr-table td { padding: 10px 9px; }

	/* Keep the feature name visible while the comparison scrolls. */
	.sr-table th:first-child,
	.sr-table td:first-child {
		position: sticky;
		right: 0;
		z-index: 2;
		background: #fff;
		box-shadow: -6px 0 10px -8px rgba(16, 24, 39, .28);
	}

	.sr-table thead th:first-child { background: var(--sr-surface-2); }
	.sr-table__group td:first-child { background: var(--sr-surface); }
}

/* ---------- Pricing ---------- */
.sr-price-card {
	display: flex;
	flex-direction: column;
	padding: 30px 24px;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}

.sr-price-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--sr-shadow-lg);
}

.sr-price-card--featured {
	border: 2px solid var(--sr-primary);
	box-shadow: var(--sr-shadow-lg);
}

.sr-price-card__badge {
	align-self: center;
	margin-bottom: 12px;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--sr-accent);
	color: #3a2a00;
	font-size: .78rem;
	font-weight: 700;
}

.sr-price-card__amount {
	margin: 12px 0 4px;
	font-size: 1.7rem;
	font-weight: 900;
	color: var(--sr-primary);
}

.sr-price-card__old {
	color: #a9b3c2;
	text-decoration: line-through;
	font-size: .95rem;
}

.sr-price-card__meta {
	color: var(--sr-muted);
	font-size: .9rem;
	margin-bottom: 18px;
}

.sr-price-card .sr-btn { margin-top: auto; }

/* ---------- Forms ---------- */
.sr-form {
	display: grid;
	gap: 18px;
}

.sr-fieldset {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	background: #fff;
}

.sr-fieldset > legend {
	padding: 0 10px;
	color: var(--sr-primary);
	font-weight: 700;
}

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

.sr-form__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sr-field { display: flex; flex-direction: column; gap: 6px; }
.sr-field--full { grid-column: 1 / -1; }

.sr-field label {
	font-weight: 500;
	font-size: .92rem;
	color: var(--sr-heading);
}

.sr-field label .sr-req { color: var(--sr-red); margin-inline-start: 3px; }

.sr-field input,
.sr-field select,
.sr-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--sr-border-strong);
	border-radius: var(--sr-radius-sm);
	background: #fff;
	color: var(--sr-text);
	transition: border-color .16s ease, box-shadow .16s ease;
}

.sr-field input:focus,
.sr-field select:focus,
.sr-field textarea:focus {
	outline: 0;
	border-color: var(--sr-primary);
	box-shadow: 0 0 0 3px rgba(0, 69, 160, .12);
}

.sr-field textarea { min-height: 120px; resize: vertical; }

.sr-field__hint {
	font-size: .82rem;
	color: var(--sr-muted);
}

.sr-field--inline {
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.sr-field--inline label { margin: 0; }

.sr-form__note {
	padding: 14px 16px;
	border-radius: var(--sr-radius-sm);
	background: var(--sr-surface);
	border: 1px dashed var(--sr-border-strong);
	color: var(--sr-muted);
	font-size: .9rem;
}

.sr-form__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

/* ---------- Steps ---------- */
.sr-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: sr-step;
}

.sr-steps li {
	position: relative;
	padding: 24px 22px;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	text-align: center;
}

.sr-steps li::before {
	counter-increment: sr-step;
	content: counter(sr-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--sr-primary);
	color: #fff;
	font-weight: 700;
}

.sr-steps h3 { font-size: 1rem; margin-bottom: .3em; }
.sr-steps p { margin: 0; color: var(--sr-muted); font-size: .9rem; }

/* ---------- Accordion ---------- */
.sr-acca { display: grid; gap: 12px; }

.sr-acca__item {
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-sm);
	background: #fff;
	overflow: hidden;
}

.sr-acca__item[open] { border-color: var(--sr-primary); }

.sr-acca__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 18px;
	cursor: pointer;
	font-weight: 500;
	color: var(--sr-heading);
	list-style: none;
}

.sr-acca__item summary::-webkit-details-marker { display: none; }

.sr-acca__item summary::after {
	content: '+';
	font-size: 1.3rem;
	line-height: 1;
	color: var(--sr-primary);
	transition: transform .18s ease;
}

.sr-acca__item[open] summary::after { transform: rotate(45deg); }

.sr-acca__body {
	padding: 0 18px 18px;
	color: var(--sr-muted);
}

.sr-acca__body p:last-child { margin-bottom: 0; }

/* ---------- Blog ---------- */
.sr-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	transition: transform .2s ease, box-shadow .2s ease;
}

.sr-post-card:hover { transform: translateY(-4px); box-shadow: var(--sr-shadow-lg); }

.sr-post-card__thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--sr-surface-2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sr-primary);
	font-size: 2.2rem;
	overflow: hidden;
}

.sr-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s var(--sr-ease);
}

.sr-post-card:hover .sr-post-card__thumb img { transform: scale(1.05); }

.sr-post-card__cat {
	position: absolute;
	inset: 12px 12px auto auto;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--sr-primary);
	font-size: .76rem;
	font-weight: 500;
}

.sr-post-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.sr-post-card__body h3 { font-size: 1.05rem; margin-bottom: .5em; }
.sr-post-card__body p { color: var(--sr-muted); font-size: .9rem; }

.sr-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--sr-border);
	color: var(--sr-muted);
	font-size: .82rem;
}

/* Blog archive layout: feed + sidebar */
.sr-blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 34px;
	align-items: start;
}

.sr-blog-side {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: calc(var(--sr-header-h) + 16px);
}

.sr-side-box {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	box-shadow: var(--sr-shadow);
}

.sr-side-box h3 {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--sr-border);
	font-size: 1rem;
}

.sr-side-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sr-side-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	color: var(--sr-text);
	font-size: .9rem;
	border-bottom: 1px dashed var(--sr-border);
	transition: color .18s ease;
}

.sr-side-list li:last-child a { border-bottom: 0; }
.sr-side-list a:hover { color: var(--sr-primary); }

.sr-side-count {
	min-width: 26px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--sr-primary-050);
	color: var(--sr-primary);
	font-size: .74rem;
	text-align: center;
}

.sr-side-posts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sr-side-posts li { border-bottom: 1px dashed var(--sr-border); }
.sr-side-posts li:last-child { border-bottom: 0; }

.sr-side-posts a {
	display: block;
	padding: 10px 0;
	color: var(--sr-text);
	font-size: .9rem;
	line-height: 1.7;
	transition: color .18s ease;
}

.sr-side-posts a:hover { color: var(--sr-primary); }

.sr-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sr-chip {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--sr-border);
	border-radius: 999px;
	background: var(--sr-surface);
	color: var(--sr-muted);
	font-size: .8rem;
	line-height: 1.8;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.sr-chip:hover {
	border-color: var(--sr-primary);
	background: var(--sr-primary);
	color: #fff;
}

.sr-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 36px;
}

.sr-pager__item {
	min-width: 40px;
	padding: 8px 12px;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-sm);
	background: #fff;
	color: var(--sr-text);
	font-size: .9rem;
	text-align: center;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.sr-pager__item:hover { border-color: var(--sr-primary); color: var(--sr-primary); }

.sr-pager__item.is-active {
	border-color: var(--sr-primary);
	background: var(--sr-primary);
	color: #fff;
}

.sr-empty {
	padding: 40px 24px;
	border: 1px dashed var(--sr-border-strong);
	border-radius: var(--sr-radius);
	background: var(--sr-surface);
	color: var(--sr-muted);
	text-align: center;
}

/* Single post */
.sr-post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 34px;
	align-items: start;
}

.sr-post-full {
	padding: 26px;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	box-shadow: var(--sr-shadow);
}

.sr-post-full .sr-prose { max-width: none; }

.sr-post-meta--top {
	margin: 0 0 20px;
	padding: 0 0 16px;
	border-top: 0;
	border-bottom: 1px solid var(--sr-border);
}

.sr-post-meta--top a {
	color: var(--sr-primary);
	font-weight: 500;
}

.sr-post-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--sr-border);
	color: var(--sr-muted);
	font-size: .86rem;
}

@media (max-width: 1000px) {
	.sr-blog-layout,
	.sr-post-layout { grid-template-columns: minmax(0, 1fr); }

	.sr-blog-side { position: static; }
}

@media (max-width: 600px) {
	.sr-post-full { padding: 18px; }
}

/* ---------- Stat strip ---------- */
.sr-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.sr-stat {
	padding: 24px 18px;
	border-radius: var(--sr-radius);
	background: #fff;
	border: 1px solid var(--sr-border);
	text-align: center;
}

.sr-stat__num {
	display: block;
	font-size: 1.9rem;
	font-weight: 900;
	color: var(--sr-primary);
	line-height: 1.3;
}

.sr-stat__label { color: var(--sr-muted); font-size: .9rem; }

/* ---------- Client logos ---------- */
.sr-clients {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.sr-clients__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	transition: all .22s var(--sr-ease);
}

.sr-clients__item img {
	max-width: 100%;
	max-height: 62px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .62;
	transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}

.sr-clients__item:hover {
	border-color: var(--sr-primary);
	box-shadow: 0 10px 26px rgba(10, 31, 60, .08);
	transform: translateY(-3px);
}

.sr-clients__item:hover img { filter: none; opacity: 1; }

/* ---------- Portfolio ---------- */
.sr-work-card {
	display: block;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	transition: transform .25s var(--sr-ease), box-shadow .25s var(--sr-ease), border-color .25s var(--sr-ease);
}

.sr-work-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--sr-shadow-lg);
	border-color: #b9cdea;
}

.sr-work-card__thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--sr-surface-2);
	overflow: hidden;
}

.sr-work-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform .5s var(--sr-ease);
}

.sr-work-card:hover .sr-work-card__thumb img { transform: scale(1.045); }

.sr-work-card__body { padding: 18px 20px 20px; }
.sr-work-card__body h3 { font-size: 1.05rem; margin-bottom: .3em; }
.sr-work-card__body p { color: var(--sr-muted); font-size: .88rem; margin: 0; }

.sr-work-card__tags {
	display: block;
	margin-bottom: 8px;
	color: var(--sr-primary);
	font-size: .78rem;
	font-weight: 500;
}

.sr-work-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

/* Portfolio artwork is pre-rendered on a square canvas, so a square frame fits it exactly. */
.sr-work-card--shot .sr-work-card__thumb { aspect-ratio: 1 / 1; background: #fff; }
.sr-work-card--feature .sr-work-card__thumb { aspect-ratio: 1 / 1; background: #fff; }

.sr-work-card--shot .sr-work-card__body { padding: 14px 16px 16px; }

.sr-work-card--shot .sr-work-card__body h3 {
	direction: ltr;
	text-align: center;
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .2px;
	margin: 0;
	color: var(--sr-muted);
	font-family: 'IRANSans', Tahoma, sans-serif;
}

.sr-work-card--shot:hover .sr-work-card__body h3 { color: var(--sr-primary); }

.sr-work-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 14px;
	background: linear-gradient(180deg, transparent 55%, rgba(6, 19, 42, .72));
	opacity: 0;
	transition: opacity .25s var(--sr-ease);
}

.sr-work-card:hover .sr-work-card__overlay { opacity: 1; }

.sr-work-card__overlay span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--sr-primary);
	font-size: .82rem;
	font-weight: 500;
}

/* ---------- CTA ---------- */
.sr-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 34px 36px;
	border-radius: var(--sr-radius-lg);
	background: linear-gradient(135deg, var(--sr-primary), var(--sr-primary-700));
	color: #fff;
}

.sr-cta h2 { color: #fff; margin: 0 0 .3em; font-size: 1.4rem; }
.sr-cta p { color: #cfdff7; margin: 0; }

/* ---------- Footer ---------- */
.sr-footer {
	position: relative;
	margin-top: 0;
	padding: 64px 0 0;
	background:
		radial-gradient(900px 380px at 92% 0%, rgba(0, 69, 160, .34), transparent 62%),
		linear-gradient(180deg, #081a33 0%, #06132a 100%);
	color: #9fb0c8;
	font-size: .92rem;
}

.sr-footer::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-primary) 0%, #4b93ea 42%, var(--sr-accent) 100%);
}

.sr-footer__grid {
	display: grid;
	grid-template-columns: 1.45fr .85fr .95fr 1.15fr;
	gap: 40px;
	padding-bottom: 42px;
}

.sr-footer h6 {
	margin: 0 0 16px;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
}

.sr-footer a { color: #a9b6cb; }
.sr-footer a:hover { color: #fff; }

.sr-footer__list a {
	display: inline-block;
	padding: 3px 0;
	transition: color .16s ease, padding-inline-start .16s ease;
}

.sr-footer__list a:hover { padding-inline-start: 5px; }

.sr-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sr-footer__list li { margin-bottom: 9px; }

.sr-footer__brand img {
	height: 56px;
	width: auto;
	margin-bottom: 16px;
	background: #fff;
	padding: 6px 10px;
	border-radius: var(--sr-radius-sm);
}

.sr-footer__brand p {
	margin: 0 0 4px;
	color: #93a5bf;
	font-size: .88rem;
	line-height: 1.95;
}

.sr-footer__contact div { margin-bottom: 8px; }
.sr-footer__contact strong { color: #fff; }

.sr-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.sr-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #dbe6f7;
}

.sr-footer__social a:hover { background: var(--sr-primary); color: #fff; }

/* Electronic trust seal (eNamad) in the footer brand column. */
.sr-footer__trust { margin-top: 18px; }

.sr-footer__trust img {
	display: block;
	width: 96px;
	height: auto;
}

.sr-footer__bottom {
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, .09);
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: .85rem;
	color: #8195b1;
}

.sr-footer__bottom-links {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

/* ---------- Notice / alert ---------- */
.sr-notice {
	padding: 16px 18px;
	border-radius: var(--sr-radius-sm);
	border: 1px solid var(--sr-border);
	background: var(--sr-surface);
	border-inline-start: 4px solid var(--sr-primary);
}

.sr-notice--warn {
	background: #fff8ec;
	border-color: #f3ddb6;
	border-inline-start-color: var(--sr-accent);
}

/* ---------- Prose ---------- */
.sr-prose { max-width: 820px; }
.sr-prose h2 { margin-top: 1.6em; }
.sr-prose h3 { margin-top: 1.3em; }
.sr-prose ul li { margin-bottom: .5em; }

/* ---------- Package builder ---------- */
.sr-builder__panel {
	padding: 26px;
	background: #fff;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
	box-shadow: var(--sr-shadow);
}

.sr-builder__head { margin-bottom: 18px; }

.sr-builder__addons {
	display: grid;
	gap: 8px;
	max-height: 420px;
	overflow-y: auto;
	padding-inline-end: 4px;
	margin-bottom: 20px;
}

.sr-addon {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 13px;
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-sm);
	cursor: pointer;
	transition: all .16s ease;
}

.sr-addon:hover { border-color: var(--sr-border-strong); background: var(--sr-surface); }

.sr-addon input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.sr-addon__box {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border: 2px solid var(--sr-border-strong);
	border-radius: 6px;
	background: #fff;
	position: relative;
	transition: all .16s ease;
}

.sr-addon__box::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 5px;
	width: 5px;
	height: 9px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) scale(0);
	transition: transform .16s ease;
}

.sr-addon.is-on {
	border-color: var(--sr-primary);
	background: var(--sr-primary-050);
}

.sr-addon.is-on .sr-addon__box {
	border-color: var(--sr-primary);
	background: var(--sr-primary);
}

.sr-addon.is-on .sr-addon__box::after { transform: rotate(-45deg) scale(1); }

.sr-addon__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.sr-addon__title { font-size: .92rem; }
.sr-addon__price { color: var(--sr-muted); font-size: .85rem; white-space: nowrap; }

.sr-builder__summary {
	padding: 16px 18px;
	border-radius: var(--sr-radius-sm);
	background: var(--sr-surface);
	border: 1px solid var(--sr-border);
}

.sr-builder__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	font-size: .94rem;
}

.sr-builder__row--total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px dashed var(--sr-border-strong);
	font-size: 1.05rem;
}

.sr-builder__row--total strong { color: var(--sr-primary); font-size: 1.2rem; }

.sr-builder__actions {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

/* ---------- Utility ---------- */
.sr-text-center { text-align: center; }
.sr-mt-0 { margin-top: 0; }
.sr-mt-2 { margin-top: 16px; }
.sr-mt-4 { margin-top: 32px; }
.sr-mb-0 { margin-bottom: 0; }
.sr-muted { color: var(--sr-muted); }
.sr-hidden { display: none !important; }

/* Keyboard-only skip link. */
.sr-skip {
	position: absolute;
	top: -100px;
	right: 16px;
	z-index: 999;
	padding: 10px 18px;
	border-radius: var(--sr-radius-sm);
	background: var(--sr-primary);
	color: #fff;
	transition: top .2s ease;
}

.sr-skip:focus {
	top: 12px;
	color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.sr-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sr-clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sr-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.sr-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 12px;
		background: #fff;
		border-top: 1px solid var(--sr-border);
		box-shadow: var(--sr-shadow-lg);
	}

	.sr-header.is-open .sr-nav { display: block; }

	.sr-nav__list { flex-direction: column; align-items: stretch; }
	.sr-nav__link { justify-content: space-between; white-space: normal; }

	.sr-nav__sub {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-inline-start: 2px solid var(--sr-border);
		border-radius: 0;
		margin: 4px 10px 8px;
		padding: 0;
		display: none;
	}

	.sr-nav__item.is-open > .sr-nav__sub { display: block; }
	.sr-nav-toggle { display: flex; }
	.sr-grid--3, .sr-grid--2 { grid-template-columns: 1fr; }
	.sr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sr-form__grid, .sr-form__grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	body.sr-body { font-size: 14px; }
	h1 { font-size: 1.6rem; }
	h2 { font-size: 1.35rem; }
	.sr-hero { padding: 52px 0 60px; }
	.sr-hero h1 { font-size: 1.75rem; }
	.sr-section { padding: 46px 0; }
	.sr-grid--4, .sr-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Service cards read better one per row on a phone. */
	.sr-grid--stack { grid-template-columns: 1fr; }
	.sr-steps, .sr-stats { grid-template-columns: 1fr; }
	.sr-footer__grid { grid-template-columns: 1fr; }
	.sr-cta { padding: 26px 22px; }
	.sr-topbar__inner { justify-content: center; text-align: center; }
	.sr-topbar__phones,
	.sr-topbar__links { justify-content: center; row-gap: 6px; }
	.sr-topbar__phones { font-size: .8rem; }
	.sr-muted-inline { display: none; }
	pre { max-width: 100%; }
}

@media print {
	.sr-header, .sr-topbar, .sr-footer, .sr-cta { display: none !important; }
}

/* ==========================================================================
   v2 refinements: section rhythm, mobile action bar, tighter breakpoints
   ========================================================================== */

.sr-section--tint {
	background:
		radial-gradient(760px 320px at 100% 0%, rgba(0, 69, 160, .05), transparent 60%),
		var(--sr-surface);
}

.sr-section__head .sr-eyebrow { margin-bottom: 10px; }

/* Sticky mobile call-to-action bar */
.sr-mobilebar {
	position: fixed;
	inset: auto 0 0;
	z-index: 70;
	display: none;
	gap: 1px;
	background: var(--sr-border);
	border-top: 1px solid var(--sr-border);
	box-shadow: 0 -8px 24px rgba(10, 31, 60, .12);
	padding-bottom: env(safe-area-inset-bottom);
}

.sr-mobilebar a {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 10px 6px 9px;
	background: #fff;
	color: var(--sr-heading);
	font-size: .74rem;
	font-weight: 500;
	line-height: 1.3;
}

.sr-mobilebar a svg { width: 20px; height: 20px; color: var(--sr-primary); }
.sr-mobilebar a.sr-mobilebar__primary { background: var(--sr-primary); color: #fff; }
.sr-mobilebar a.sr-mobilebar__primary svg { color: #fff; }

@media (max-width: 1180px) {
	.sr-header__phone { display: none; }
	.sr-nav__link { padding-inline: 10px; }
}

@media (max-width: 1080px) {
	.sr-hero { padding: 60px 0 92px; }
	.sr-slide { grid-template-columns: 1fr; gap: 34px; }
	.sr-slide__title { font-size: 2.1rem; }
	.sr-slide__visual { max-width: 400px; margin-inline: auto; width: 100%; }
	.sr-slide__ring { width: min(340px, 100%); }
	.sr-truststrip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sr-truststrip__item:nth-child(3) { border-inline-start: 0; }
	.sr-truststrip__item:nth-child(n+3) { border-top: 1px solid var(--sr-border); }
	.sr-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sr-footer__grid { gap: 32px; }
}

@media (max-width: 900px) {
	.sr-header__cta { display: none; }
	.sr-nav__link { padding: 12px 14px; border-radius: var(--sr-radius-sm); }
	.sr-nav__link::after { display: none; }
	.sr-nav__link:hover,
	.sr-nav__item.is-current > .sr-nav__link { background: var(--sr-primary-050); }
	.sr-nav { border-bottom: 1px solid var(--sr-border); max-height: calc(100vh - var(--sr-header-h)); overflow-y: auto; }
	.sr-mobilebar { display: flex; }
	.sr-body { padding-bottom: 62px; }
	.sr-footer { padding-bottom: 8px; }
}

@media (max-width: 600px) {
	.sr-hero { padding: 44px 0 84px; }
	.sr-hero--slider { padding: 40px 0 66px; }
	.sr-slide__title { font-size: 1.62rem; line-height: 1.5; }
	.sr-slide p { font-size: .97rem; line-height: 1.95; }
	.sr-slide__ring { width: min(238px, 82vw); padding: 9px; border-width: 7px; }
	.sr-slide__ring::before { inset: -16px; }
	.sr-hero__actions .sr-btn { flex: 1 1 100%; justify-content: center; }
	.sr-slides__nav { margin-top: 24px; }
	.sr-slides__pause { width: 26px; height: 26px; }
	.sr-truststrip { margin-top: -34px; }
	.sr-truststrip__inner { grid-template-columns: 1fr; }
	.sr-truststrip__item { border-inline-start: 0; border-top: 1px solid var(--sr-border); padding: 16px 18px; }
	.sr-truststrip__item:first-child { border-top: 0; }
	.sr-work-grid { grid-template-columns: 1fr; }
	.sr-clients { gap: 10px; }
	.sr-clients__item { min-height: 74px; padding: 10px; }
	.sr-clients__item img { max-height: 44px; }
}

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

/* ---------- Media helpers ---------- */
/* ---------- Client logo marquee ---------- */
.sr-marquee {
	position: relative;
	overflow: hidden;
	padding: 4px 0;
	/*
	 * The page is RTL, but this strip must be laid out LTR: a max-content flex
	 * track inside an RTL block is pinned to the container's right edge and
	 * overflows to the left, so translating it by -50% slides the whole strip
	 * out of view and the strip renders empty for most of the cycle.
	 * Forcing LTR makes the classic two-copy marquee loop seamlessly.
	 */
	direction: ltr;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.sr-marquee__track {
	display: flex;
	width: max-content;
	animation: sr-marquee 64s linear infinite;
	will-change: transform;
}

.sr-marquee:hover .sr-marquee__track,
.sr-marquee:focus-within .sr-marquee__track { animation-play-state: paused; }

.sr-marquee__group { display: flex; }

.sr-marquee__item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Same format as the legacy site: square tiles, six per view, no frame. */
	width: 184px;
	height: 184px;
	margin-inline-end: 10px;
	padding: 12px;
	background: transparent;
	border: 0;
	transition: transform .2s ease;
}

.sr-marquee__item:hover { transform: translateY(-3px); }

.sr-marquee__item img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	/* Logos stay in full colour so every mark reads clearly at a glance. */
	filter: none;
	opacity: 1;
	transition: opacity .2s ease;
}

.sr-marquee__item:hover img { opacity: 1; }

@keyframes sr-marquee {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 600px) {
	.sr-marquee__item { width: 136px; height: 136px; padding: 8px; margin-inline-end: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.sr-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.sr-marquee__track { animation: none; }
	.sr-slide { transition: none; }
	.sr-slide__ring::before { animation: none; }
}

.sr-avatar {
	display: block;
	width: 104px;
	height: 104px;
	margin: 0 auto 16px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--sr-border), 0 12px 26px rgba(10, 31, 60, .12);
}

.sr-post-hero {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--sr-radius);
	margin-bottom: 26px;
	box-shadow: var(--sr-shadow);
}

/* ---------- Consultation modal ---------- */
body.is-modal-open { overflow: hidden; }

.sr-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 18px; }
.sr-modal[hidden] { display: none; }
.sr-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 21, 42, .62); }
.sr-modal__dialog { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 36px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(8, 21, 42, .35); }
.sr-modal__body { padding: 26px 24px 22px; }
.sr-modal__title { margin: 0 0 6px; font-size: 22px; color: var(--sr-heading); }
.sr-modal__lead { margin: 0 0 18px; color: var(--sr-muted); font-size: 14px; line-height: 1.9; }
.sr-modal__close { position: absolute; top: 10px; inset-inline-start: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--sr-surface-2); color: var(--sr-text); font-size: 20px; line-height: 1; cursor: pointer; }
.sr-modal__close:hover { background: var(--sr-border); }

.sr-consult { display: grid; gap: 14px; }
.sr-consult [hidden] { display: none !important; }
.sr-consult__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sr-consult__field { display: grid; gap: 6px; }
.sr-consult__field label { font-size: 13px; font-weight: 500; color: var(--sr-text); }
.sr-consult input,
.sr-consult select { width: 100%; padding: 11px 13px; border: 1px solid var(--sr-border-strong); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; color: var(--sr-text); }
.sr-consult input:focus,
.sr-consult select:focus { outline: 0; border-color: var(--sr-primary); box-shadow: 0 0 0 3px rgba(0, 69, 160, .12); }
.sr-consult__inline { display: flex; gap: 8px; align-items: stretch; }
.sr-consult__inline input { flex: 1 1 auto; min-width: 0; }
.sr-consult__send { white-space: nowrap; }
.sr-consult__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sr-consult__hint { margin: 0; font-size: 12px; color: var(--sr-muted); }
.sr-consult__error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #a52020; font-size: 13px; }
.sr-consult__submit { width: 100%; }
.sr-consult__submit[disabled] { opacity: .55; cursor: not-allowed; }
.sr-consult__note { margin: 0; font-size: 12px; color: var(--sr-muted); text-align: center; line-height: 1.9; }
.sr-consult__done { display: grid; gap: 10px; justify-items: center; text-align: center; }
.sr-consult__done code { font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--sr-primary); background: var(--sr-primary-050); padding: 8px 18px; border-radius: 10px; }

@media (max-width: 520px) {
	.sr-consult__row { grid-template-columns: 1fr; }
	.sr-modal__body { padding: 22px 16px 18px; }
	.sr-consult__inline { flex-direction: column; }
}
