/* ==========================================================================
   AYAT Computer World — Brand styles
   Primary: #0A1A3C  Accent: #1E5FFF
   ========================================================================== */

:root {
	--ayat-navy: #0A1A3C;
	--ayat-navy-deep: #061028;
	--ayat-blue: #1E5FFF;
	--ayat-blue-hot: #2563EB;
	--ayat-blue-soft: #E8F0FF;
	--ayat-blue-mid: #B8D0FF;
	--ayat-white: #FFFFFF;
	--ayat-ink: #14213D;
	--ayat-muted: #5A6A85;
	--ayat-line: #D7E3F8;
	--ayat-surface: #F5F8FD;
	--ayat-radius: 12px;
	--ayat-shadow: 0 10px 30px rgba(10, 26, 60, 0.08);
	--ayat-shadow-lg: 0 20px 50px rgba(10, 26, 60, 0.14);
	--ayat-font-display: "Outfit", system-ui, sans-serif;
	--ayat-font-body: "Source Sans 3", system-ui, sans-serif;
	--ayat-max: 1180px;
}

/* ---------- Base / Sinatra overrides ---------- */
.ayat-branded,
.ayat-branded button,
.ayat-branded input,
.ayat-branded select,
.ayat-branded textarea {
	font-family: var(--ayat-font-body);
}

.ayat-branded h1,
.ayat-branded h2,
.ayat-branded h3,
.ayat-branded h4,
.ayat-branded .ayat-display {
	font-family: var(--ayat-font-display);
	letter-spacing: -0.02em;
	color: var(--ayat-navy);
}

body.ayat-fullwidth #content,
body.ayat-fullwidth .si-container,
body.ayat-fullwidth #main > .si-container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

body.ayat-branded #primary,
body.ayat-branded .content-area,
body.ayat-branded .entry-content > *:not(.alignfull) {
	max-width: none;
}

body.ayat-branded .page-header,
body.ayat-branded .entry-header,
body.ayat-branded .si-page-header,
body.ayat-branded #secondary {
	display: none !important;
}

body.ayat-branded #content {
	padding: 0 !important;
	margin: 0 !important;
}

body.ayat-branded .site-main {
	padding: 0;
}

/* Sticky header polish */
#masthead.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--ayat-line);
	box-shadow: 0 4px 20px rgba(10, 26, 60, 0.06);
}

.ayat-header-cta,
#masthead .ayat-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ayat-blue);
	color: #fff !important;
	font-family: var(--ayat-font-display);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 0.65rem 1.15rem;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
	margin-left: 0.75rem;
}

.ayat-header-cta:hover {
	background: var(--ayat-navy);
	transform: translateY(-1px);
	color: #fff !important;
}

/* Layout helpers */
.ayat-wrap {
	width: min(100% - 2.5rem, var(--ayat-max));
	margin-inline: auto;
}

.ayat-section {
	padding: clamp(3.5rem, 6vw, 5.5rem) 0;
	position: relative;
}

.ayat-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ayat-font-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ayat-blue);
	margin-bottom: 0.75rem;
}

.ayat-kicker::before {
	content: "";
	width: 28px;
	height: 3px;
	background: var(--ayat-blue);
	border-radius: 2px;
}

.ayat-section h2 {
	font-size: clamp(1.75rem, 3.2vw, 2.35rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.75rem;
}

.ayat-lead {
	font-size: 1.1rem;
	line-height: 1.65;
	color: var(--ayat-muted);
	max-width: 42rem;
	margin: 0;
}

.ayat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--ayat-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.9rem 1.5rem;
	border-radius: 10px;
	text-decoration: none !important;
	border: 2px solid transparent;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.ayat-btn:hover {
	transform: translateY(-2px);
}

.ayat-btn-primary {
	background: var(--ayat-blue);
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(30, 95, 255, 0.35);
}

.ayat-btn-primary:hover {
	background: var(--ayat-navy);
	color: #fff !important;
}

.ayat-btn-ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.55);
}

.ayat-btn-ghost:hover {
	background: #fff;
	color: var(--ayat-navy) !important;
}

.ayat-btn-outline {
	background: #fff;
	color: var(--ayat-navy) !important;
	border-color: var(--ayat-line);
}

.ayat-btn-outline:hover {
	border-color: var(--ayat-blue);
	color: var(--ayat-blue) !important;
}

/* ---------- Hero ---------- */
.ayat-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 80% 60% at 90% 10%, rgba(30, 95, 255, 0.18), transparent 55%),
		radial-gradient(ellipse 50% 40% at 0% 100%, rgba(30, 95, 255, 0.1), transparent 50%),
		linear-gradient(165deg, #f8fbff 0%, #eef4ff 45%, #ffffff 100%);
	padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
	isolation: isolate;
}

.ayat-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(10, 26, 60, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(10, 26, 60, 0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
	pointer-events: none;
	z-index: 0;
}

.ayat-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
}

.ayat-hero-brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	animation: ayat-rise 0.8s ease both;
}

.ayat-hero-brand img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	filter: drop-shadow(0 8px 16px rgba(30, 95, 255, 0.25));
}

.ayat-hero-brand-text strong {
	display: block;
	font-family: var(--ayat-font-display);
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 800;
	color: var(--ayat-navy);
	line-height: 1.1;
	letter-spacing: 0.04em;
}

.ayat-hero-brand-text span {
	display: block;
	font-family: var(--ayat-font-display);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ayat-blue);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-top: 0.2rem;
}

.ayat-hero h1 {
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 1rem;
	color: var(--ayat-navy);
	animation: ayat-rise 0.8s ease 0.08s both;
	max-width: 14ch;
}

.ayat-hero .ayat-lead {
	animation: ayat-rise 0.8s ease 0.16s both;
	margin-bottom: 1.75rem;
}

.ayat-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	animation: ayat-rise 0.8s ease 0.24s both;
	margin-bottom: 1.75rem;
}

.ayat-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	font-size: 0.92rem;
	color: var(--ayat-muted);
	animation: ayat-rise 0.8s ease 0.32s both;
}

.ayat-hero-meta strong {
	color: var(--ayat-navy);
	font-weight: 700;
}

.ayat-hero-visual {
	position: relative;
	animation: ayat-rise 0.9s ease 0.2s both;
}

.ayat-hero-visual-frame {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--ayat-shadow-lg);
	border: 1px solid rgba(30, 95, 255, 0.15);
	background: #fff;
	aspect-ratio: 4 / 3;
}

.ayat-hero-visual-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transform: scale(1.02);
	transition: transform 1.2s ease;
}

.ayat-hero-visual:hover .ayat-hero-visual-frame img {
	transform: scale(1.06);
}

.ayat-hero-visual::after {
	content: "";
	position: absolute;
	inset: auto -8% -8% auto;
	width: 45%;
	height: 45%;
	background: radial-gradient(circle, rgba(30, 95, 255, 0.35), transparent 70%);
	z-index: -1;
	filter: blur(10px);
}

/* ---------- About ---------- */
.ayat-about {
	background: var(--ayat-white);
}

.ayat-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
}

.ayat-about-card {
	background: linear-gradient(145deg, var(--ayat-navy) 0%, #122a5c 100%);
	color: #fff;
	border-radius: 16px;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	position: relative;
	overflow: hidden;
	box-shadow: var(--ayat-shadow-lg);
}

.ayat-about-card::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -20%;
	width: 60%;
	height: 80%;
	background: radial-gradient(circle, rgba(30, 95, 255, 0.45), transparent 70%);
	pointer-events: none;
}

.ayat-about-card .ayat-kicker {
	color: var(--ayat-blue-mid);
}

.ayat-about-card .ayat-kicker::before {
	background: var(--ayat-blue-mid);
}

.ayat-about-card h2 {
	color: #fff;
}

.ayat-about-card p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0 0 1.5rem;
	position: relative;
}

.ayat-about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	position: relative;
}

.ayat-about-stats div {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 0.85rem 0.5rem;
	text-align: center;
}

.ayat-about-stats strong {
	display: block;
	font-family: var(--ayat-font-display);
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
}

.ayat-about-stats span {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.65);
}

.ayat-about-media {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--ayat-shadow);
	border: 1px solid var(--ayat-line);
	aspect-ratio: 5 / 4;
}

.ayat-about-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- Products ---------- */
.ayat-products {
	background: var(--ayat-surface);
}

.ayat-products-head {
	text-align: center;
	margin-bottom: 2.5rem;
}

.ayat-products-head .ayat-kicker {
	justify-content: center;
}

.ayat-products-head .ayat-lead {
	margin-inline: auto;
}

.ayat-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.15rem;
}

.ayat-product-card {
	background: #fff;
	border: 1px solid var(--ayat-line);
	border-radius: var(--ayat-radius);
	padding: 1.5rem 1.15rem 1.35rem;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	box-shadow: 0 4px 14px rgba(10, 26, 60, 0.04);
}

.ayat-product-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--ayat-shadow);
	border-color: var(--ayat-blue-mid);
}

.ayat-product-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 14px;
	background: var(--ayat-blue-soft);
	display: grid;
	place-items: center;
	color: var(--ayat-blue);
}

.ayat-product-icon svg {
	width: 32px;
	height: 32px;
}

.ayat-product-card h3 {
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
	color: var(--ayat-navy);
}

/* ---------- Why Choose Us ---------- */
.ayat-why {
	background: #fff;
	padding-top: 0;
	margin-top: -1.5rem;
}

.ayat-why-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1.5px solid var(--ayat-line);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--ayat-shadow);
}

.ayat-why-item {
	padding: 1.75rem 1.25rem;
	text-align: center;
	border-right: 1px solid var(--ayat-line);
}

.ayat-why-item:last-child {
	border-right: none;
}

.ayat-why-item svg {
	width: 40px;
	height: 40px;
	color: var(--ayat-blue);
	margin-bottom: 0.85rem;
}

.ayat-why-item h3 {
	font-size: 0.95rem;
	font-weight: 800;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ayat-why-item p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ayat-muted);
	line-height: 1.45;
}

/* ---------- Services teaser ---------- */
.ayat-services-teaser {
	background:
		linear-gradient(135deg, rgba(6, 16, 40, 0.92), rgba(10, 26, 60, 0.88)),
		url("../images/services-flyer.png") center / cover no-repeat;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.ayat-services-teaser .ayat-wrap {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2rem;
	align-items: center;
}

.ayat-services-teaser .ayat-kicker {
	color: #9db8ff;
}

.ayat-services-teaser .ayat-kicker::before {
	background: #9db8ff;
}

.ayat-services-teaser h2 {
	color: #fff;
}

.ayat-services-teaser .ayat-lead {
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 1.5rem;
}

.ayat-services-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
}

.ayat-services-badges span {
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
}

.ayat-warranty {
	background: linear-gradient(145deg, #1E5FFF, #0A1A3C);
	border-radius: 16px;
	padding: 1.75rem;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: var(--ayat-shadow-lg);
}

.ayat-warranty strong {
	display: block;
	font-family: var(--ayat-font-display);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 0.35rem;
}

.ayat-warranty span {
	font-size: 0.95rem;
	opacity: 0.9;
}

/* ---------- Contact strip ---------- */
.ayat-contact-strip {
	background: var(--ayat-surface);
	border-top: 1px solid var(--ayat-line);
	border-bottom: 1px solid var(--ayat-line);
}

.ayat-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1.2fr;
	gap: 1.25rem;
}

.ayat-contact-card {
	background: #fff;
	border: 1px solid var(--ayat-line);
	border-radius: var(--ayat-radius);
	padding: 1.35rem 1.25rem;
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	box-shadow: 0 4px 14px rgba(10, 26, 60, 0.04);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.ayat-contact-card:hover {
	border-color: var(--ayat-blue-mid);
	transform: translateY(-2px);
}

.ayat-contact-card a {
	color: var(--ayat-navy);
	text-decoration: none;
	font-weight: 700;
}

.ayat-contact-card a:hover {
	color: var(--ayat-blue);
}

.ayat-contact-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--ayat-blue);
	color: #fff;
	display: grid;
	place-items: center;
}

.ayat-contact-icon svg {
	width: 22px;
	height: 22px;
}

.ayat-contact-card small {
	display: block;
	font-family: var(--ayat-font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ayat-blue);
	margin-bottom: 0.25rem;
}

.ayat-contact-card p {
	margin: 0;
	font-size: 0.98rem;
	color: var(--ayat-ink);
	line-height: 1.45;
}

.ayat-map {
	margin-top: 1.5rem;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--ayat-line);
	box-shadow: var(--ayat-shadow);
	min-height: 280px;
}

.ayat-map iframe {
	width: 100%;
	height: 280px;
	border: 0;
	display: block;
}

/* ---------- Footer tagline bar ---------- */
.ayat-footer-tag {
	background: var(--ayat-blue);
	color: #fff;
	text-align: center;
	padding: 1.15rem 1.5rem;
	font-family: var(--ayat-font-display);
	font-weight: 700;
	font-size: clamp(0.9rem, 2vw, 1.05rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Site footer polish */
.site-footer,
#colophon {
	background: var(--ayat-navy) !important;
	color: rgba(255, 255, 255, 0.8);
}

.site-footer a {
	color: #fff;
}

/* ---------- WhatsApp float ---------- */
.ayat-wa-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #25D366;
	color: #fff !important;
	font-family: var(--ayat-font-display);
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.85rem 1.15rem;
	border-radius: 999px;
	text-decoration: none !important;
	box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	animation: ayat-pulse 2.5s ease-in-out infinite;
}

.ayat-wa-float:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 16px 32px rgba(37, 211, 102, 0.5);
	color: #fff !important;
}

.ayat-wa-float span {
	display: inline;
}

/* ---------- Reveal animations ---------- */
@keyframes ayat-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ayat-pulse {
	0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4); }
	50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

.ayat-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.ayat-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.ayat-hero-grid,
	.ayat-about-grid,
	.ayat-services-teaser .ayat-wrap {
		grid-template-columns: 1fr;
	}

	.ayat-hero h1 {
		max-width: none;
	}

	.ayat-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ayat-why-bar {
		grid-template-columns: 1fr 1fr;
	}

	.ayat-why-item:nth-child(2) {
		border-right: none;
	}

	.ayat-why-item:nth-child(1),
	.ayat-why-item:nth-child(2) {
		border-bottom: 1px solid var(--ayat-line);
	}

	.ayat-contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.ayat-products-grid {
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
	}

	.ayat-why-bar {
		grid-template-columns: 1fr;
	}

	.ayat-why-item {
		border-right: none !important;
		border-bottom: 1px solid var(--ayat-line);
	}

	.ayat-why-item:last-child {
		border-bottom: none;
	}

	.ayat-wa-float span {
		display: none;
	}

	.ayat-wa-float {
		padding: 0.95rem;
		border-radius: 50%;
	}

	.ayat-about-stats {
		grid-template-columns: 1fr;
	}

	.ayat-header-cta {
		padding: 0.55rem 0.85rem;
		font-size: 0.75rem;
	}
}
