/* ==========================================================================
   Atiyeh — homepage sections + shared components (project cards, forms) used by inner pages.
   Measurements follow docs/mockup/export/Main.dc.html at 1440px.
   ========================================================================== */

@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes scan { 0% { top: 6%; } 50% { top: 86%; } 100% { top: 6%; } }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.sec-head__desc { margin: 0; max-width: 420px; color: var(--c-muted); }
.kicker--light { color: var(--c-accent); }
.kicker--pale { color: #cfe3ff; }
.dk { transition: transform .35s, background .3s, border-color .3s; }
.dk:hover { transform: translateY(-6px) scale(1.015); }
[role="list"] { list-style: none; margin: 0; padding: 0; }

/* ---------- Hero slider ---------- */
.hero { position: relative; color: #fff; background: var(--c-primary-dark); overflow: hidden; outline: none; }
.hero__slides { display: grid; min-height: 780px; }
.hero-slide {
	grid-area: 1 / 1; position: relative; overflow: hidden; background: var(--bg);
	opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; z-index: 1; }
.hero-slide__ring { position: absolute; top: -220px; left: -160px; width: 620px; height: 620px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); }
.hero-slide__diamond { position: absolute; bottom: 120px; right: -70px; width: 240px; height: 240px; background: rgba(255, 255, 255, .07); transform: rotate(45deg); border-radius: 48px; }
.hero-slide__dot { position: absolute; top: 150px; right: 46%; width: 26px; height: 26px; border-radius: 50%; background: var(--c2); }
.hero-slide__inner {
	position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px;
	padding-top: 130px; padding-bottom: 190px;
}
.hero-slide__text {
	flex: 1 1 520px; min-width: 0; transform: translateX(60px); opacity: 0;
	transition: opacity .9s .25s, transform .9s .25s var(--ease);
}
.hero-slide__title { margin: 18px 0 14px; font-size: 54px; line-height: 1.35; font-weight: 900; }
.hero-slide__desc { margin: 0 0 30px; font-size: 18px; max-width: 540px; opacity: .88; }
.hero-slide__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide__cta { padding: 14px 28px; }
.hero-slide__visual {
	flex: 1 1 420px; min-width: 0; height: 440px; position: relative; opacity: 0; transform: translateX(-60px) scale(.9);
	transition: opacity .9s .35s, transform 1.1s .35s var(--ease);
}
.hero-slide.is-active .hero-slide__text, .hero-slide.is-active .hero-slide__visual { opacity: 1; transform: none; }
.hero-slide__blob {
	position: absolute; inset: 0 30px; border-radius: 50% 50% 50% 8% / 50% 50% 50% 8%;
	background: var(--c1); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}
.hero-slide__orbit { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .45); }
.hero-slide__sq { position: absolute; top: 10px; left: 10px; width: 80px; height: 80px; border-radius: 22px; background: var(--c2); rotate: 18deg; }
.hero-slide__circle { position: absolute; bottom: 20px; right: 10px; width: 90px; height: 90px; border-radius: 50%; background: #fff; opacity: .9; }

.doc-stack {
	position: absolute; inset: 0 30px; display: flex; align-items: center; justify-content: center; pointer-events: none;
	opacity: 0; transition: opacity .8s;
}
.hero-slide.is-active .doc-stack { opacity: 1; }
.doc-stack > * { position: absolute; width: 210px; height: 270px; border-radius: 16px; }
.doc-stack__sheet--back { background: #fff; transform: rotate(-9deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.doc-stack__sheet--mid { background: #e1ecfb; transform: rotate(5deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .2); }
.doc-stack__sheet--front { background: #fff; padding: 26px 22px; overflow: hidden; box-shadow: 0 24px 48px rgba(0, 0, 0, .3); }
.doc-stack__sheet--front i { display: block; height: 8px; background: #d3e1f5; border-radius: 4px; margin-bottom: 10px; }
.doc-stack__sheet--front i.w80 { width: 80%; }
.doc-stack__sheet--front i.w55 { width: 55%; }
.doc-stack__sheet--front .doc-stack__head { height: 12px; width: 60%; background: var(--c-primary); border-radius: 6px; margin-bottom: 16px; }
.doc-stack__sheet--front .doc-stack__scan {
	position: absolute; left: 0; right: 0; height: 4px; margin: 0; border-radius: 0; background: var(--c-accent);
	box-shadow: 0 0 18px 4px rgba(122, 184, 255, .8); animation: scan 3s ease-in-out infinite;
}

.stat-chip {
	position: absolute; bottom: 14px; left: -10px; width: 230px; padding: 14px 16px;
	background: rgba(255, 255, 255, .95); color: var(--c-slate-900); border-radius: 24px 8px 24px 8px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.stat-chip__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; }
.stat-chip__top span { font-size: 12px; color: var(--c-primary); font-weight: 700; }
.stat-chip__bars { display: flex; align-items: flex-end; gap: 7px; height: 56px; }
.stat-chip__bars i { flex: 1; border-radius: 6px; background: #b9d0f0; transform-origin: bottom; animation: bar 1.2s var(--ease) both; }
.stat-chip__bars i:nth-child(1) { height: 40%; }
.stat-chip__bars i:nth-child(2) { height: 70%; background: var(--c-primary); animation-delay: .1s; }
.stat-chip__bars i:nth-child(3) { height: 55%; animation-delay: .2s; }
.stat-chip__bars i:nth-child(4) { height: 92%; background: var(--c-slate); animation-delay: .3s; }
.stat-chip__bars i:nth-child(5) { height: 62%; animation-delay: .4s; }
.stat-chip__bars i:nth-child(6) { height: 80%; background: var(--c-primary); animation-delay: .5s; }
.stat-chip__foot { margin-top: 10px; font-size: 13px; color: var(--c-muted); }
.stat-chip__foot b { color: var(--c-slate-900); }

.hero__controls {
	position: absolute; bottom: 116px; left: 0; right: 0; z-index: 4; display: flex; align-items: center; justify-content: flex-start; gap: 28px;
	pointer-events: none;
}
.hero__dots, .hero__arrows { display: flex; align-items: center; gap: 12px; pointer-events: auto; }
.hero__arrows { gap: 10px; }
.hero__dot {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .45);
	transition: width .5s var(--ease), background .4s;
}
.hero__dot.is-active { width: 46px; background: var(--c-accent); }
.hero__counter { font-size: 14px; font-weight: 700; margin-right: 14px; opacity: .85; }
.hero__pause {
	width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff;
	cursor: pointer; display: inline-flex; align-items: center; justify-content: center; opacity: .75; transition: opacity .2s, background .2s;
}
.hero__pause:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.hero__pause .i-play, .hero.is-paused .hero__pause .i-pause { display: none; }
.hero.is-paused .hero__pause .i-play { display: inline; }
.hero__arrow {
	width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1);
	color: #fff; font-size: 20px; cursor: pointer; transition: transform .3s, background .3s, color .3s;
}
.hero__arrow--next { border: 0; background: #fff; color: var(--c-primary-dark); }
.hero__arrow:hover { transform: scale(1.1); background: #fff; color: var(--c-primary-dark); }
.hero__wave { position: absolute; bottom: -1px; left: 0; height: 110px; z-index: 3; }

/* ---------- Clients marquee ---------- */
.clients { padding: 10px 0 40px; overflow: hidden; }
.clients__title { text-align: center; font-size: 14px; color: var(--c-muted); font-weight: 700; margin-bottom: 18px; line-height: 1.8; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marq 28s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 18px; padding-right: 18px; flex: none; }
.marquee__item {
	flex: none; width: 200px; height: 92px; border-radius: 20px; background: #fff; border: 1px solid var(--c-border);
	overflow: hidden; display: flex; align-items: center; justify-content: center; direction: rtl;
}
.marquee__item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.marquee__item--empty { border: 1.5px dashed #c5cdc9; font-weight: 700; color: var(--c-muted); font-size: 14px; }

/* ---------- About ---------- */
.about { position: relative; padding-top: 60px; padding-bottom: 50px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about__media { flex: 1 1 400px; min-width: 0; position: relative; height: 460px; }
.about__img {
	position: absolute; inset: 0 40px 40px 0; overflow: hidden; border-radius: 220px 24px 220px 24px;
	background: linear-gradient(145deg, var(--c-primary), var(--c-primary-dark));
}
.about__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 63, 138, 0) 35%, rgba(15, 63, 138, .88)); }
.about__ball { position: absolute; bottom: -40px; left: -60px; width: 100px; height: 100px; border-radius: 50%; background: var(--c-slate); }
.about__frame { position: absolute; top: 30px; right: 10px; width: 120px; height: 120px; border: 14px solid var(--c-accent); border-radius: 34px; }
.about__mission { position: absolute; right: 80px; bottom: 80px; color: #fff; max-width: 300px; }
.about__mission-k { font-size: 13px; opacity: .8; }
.about__mission-t { font-size: 23px; font-weight: 800; line-height: 1.6; }
.about__text { flex: 1 1 480px; min-width: 0; }
.about__title { margin: 6px 0 16px; font-size: 38px; }
.about__lead { margin: 0 0 26px; color: var(--c-body); font-size: 17px; }
.about__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about__link { background: var(--c-surface); border: 1px solid var(--c-border); padding: 18px 20px; font-weight: 700; }
.about__link--a { border-radius: 28px 6px 28px 6px; }
.about__link--b { border-radius: 6px 28px 6px 28px; }
.about__link:nth-child(even) { margin-top: 18px; }

/* ---------- Areas ---------- */
.areas { position: relative; background: var(--c-section); padding-bottom: 110px; }
.areas__wave-top { height: 90px; margin-top: -1px; }
.areas__wave-bottom { position: absolute; bottom: -1px; left: 0; height: 90px; }
.areas__inner { padding-top: 30px; }
.areas__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.area-card { background: var(--c-surface); border-radius: var(--r-asym); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.areas__cell:nth-child(4n+2), .areas__cell:nth-child(4n+4) { margin-top: 36px; }
.areas__cell:nth-child(even) .area-card { border-radius: var(--r-asym-alt); }
.area-card__n {
	width: 48px; height: 48px; border-radius: 16px 16px 4px 16px; background: var(--c-soft); color: var(--c-num);
	display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.areas__cell:nth-child(even) .area-card__n { border-radius: 50%; }
.area-card__title { font-size: 18px; }
.area-card__desc { font-size: 14px; }

/* ---------- Products (dark bento) ---------- */
.products {
	position: relative; margin-top: -1px; padding: 20px 0 120px; overflow: hidden; color: #fff;
	background: var(--c-slate-900) url(../img/pattern-contours.webp) center / cover;
}
.products__ring { position: absolute; top: 60px; left: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(122, 184, 255, .07); }
.products__inner { position: relative; }
.products__wave { position: absolute; bottom: -1px; left: 0; height: 100px; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento__card { grid-column: span 2; background: var(--c-slate-800); padding: 30px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.bento__card:hover { background: var(--c-slate-700); }
.bento__card--main {
	grid-column: span 4; position: relative; overflow: hidden; padding: 46px; min-height: 340px;
	background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); border-radius: 90px 16px 90px 16px;
}
.bento__card--main:hover { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); }
.bento__bg { position: absolute; inset: 0; opacity: .6; mix-blend-mode: luminosity; }
.bento__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 63, 138, .35), rgba(15, 63, 138, .92)); }
.bento__bubble { position: absolute; top: -40px; left: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.bento__frame { position: absolute; bottom: -60px; left: 60px; width: 200px; height: 200px; border-radius: 44px; border: 30px solid rgba(255, 255, 255, .08); }
.bento__badge {
	position: relative; align-self: flex-start; background: var(--c-accent); color: var(--c-ink); padding: 4px 16px;
	border-radius: 999px; font-size: 13px; font-weight: 800;
}
.bento__body { position: relative; }
.bento__title { margin: 0 0 10px; font-size: 34px; }
.bento__desc { margin: 0 0 22px; max-width: 520px; opacity: .9; }
.bento__card--archive { padding: 34px; min-height: 340px; border-radius: 16px 90px 16px 90px; }
.bento__icon {
	width: 56px; height: 56px; border-radius: 50%; background: var(--c-slate-700); display: flex; align-items: center;
	justify-content: center; color: var(--c-accent); font-size: 22px;
}
.bento__sub { font-size: 21px; font-weight: 700; margin: 0; line-height: 1.6; }
.bento__card--archive .bento__sub { font-size: 22px; margin-bottom: 10px; }
.bento__link { color: var(--c-accent); font-weight: 700; }
.bento__link:hover { text-decoration: underline; text-underline-offset: 6px; }
.bento__card--s1 { border-radius: 60px 16px 16px 16px; }
.bento__card--s2 { background: var(--c-accent); color: var(--c-ink); border-radius: 16px 60px 16px 60px; }
.bento__card--s2:hover { background: #8cc3ff; }
.bento__card--s2 .bento__link { color: var(--c-ink); font-weight: 800; }
.bento__card--s3 { border-radius: 16px 16px 60px 16px; }

/* ---------- Stats ---------- */
.stats { padding-top: 60px; padding-bottom: 40px; }
.stats__list { display: flex; flex-wrap: wrap; justify-content: center; }
.stat {
	width: 250px; height: 250px; margin: 0 -14px; border-radius: 50%; display: flex; flex-direction: column; align-items: center;
	justify-content: center; text-align: center; background: var(--c-primary); color: #fff;
}
.stat:nth-child(2) { background: var(--c-slate); margin-top: 50px; }
.stat:nth-child(3) { background: var(--c-accent); color: var(--c-ink); }
.stat:nth-child(4) { background: var(--c-surface); color: var(--c-text); margin-top: 50px; }
.stat__v { font-size: 40px; font-weight: 900; line-height: 1.6; }
.stat__l { font-size: 15px; opacity: .85; }

/* ---------- Projects ---------- */
.projects { padding-top: 20px; padding-bottom: 90px; }
.projects .sec-head { margin-bottom: 44px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip--btn { border: 0; cursor: pointer; color: var(--c-text); background: var(--c-chip); padding: 7px 20px; border-radius: 999px; font-size: 14px; }
.chip--btn.is-active { background: var(--c-primary); color: #fff; font-weight: 700; }
.projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: start; }
.projects__cell[hidden] { display: none; }
.project-card { display: block; background: var(--c-surface); overflow: hidden; border-radius: var(--r-arch); }
.project-card__media { display: block; height: 300px; border-radius: 200px 200px 0 0; }
.project-card__img { position: relative; display: flex; align-items: flex-end; height: 100%; background: var(--c-soft-2); }
.project-card__img img { position: absolute; inset: 0; }
.project-card__tag { position: relative; margin: 16px; background: rgba(255, 255, 255, .92); padding: 3px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.project-card__body { display: block; padding: 22px 24px 26px; }
.project-card__title { display: block; font-size: 18px; margin-bottom: 6px; }
.project-card__desc { font-size: 14px; }
.projects__cell:nth-child(3n+2) { margin-top: 60px; }
.projects__cell:nth-child(3n+3) { margin-top: 20px; }
.projects__cell:nth-child(3n+2) .project-card { border-radius: 28px; }
.projects__cell:nth-child(3n+2) .project-card__media { height: 260px; border-radius: 0 0 0 120px; }
.projects.is-filtered .projects__cell { margin-top: 0; }
.projects__empty { text-align: center; color: var(--c-muted); padding: 30px 0; }

/* ---------- Trust ---------- */
.trust { position: relative; background: var(--c-primary); color: #fff; overflow: hidden; padding-bottom: 100px; }
.trust__wave { height: 90px; margin-top: -1px; }
.trust__frame { position: absolute; top: 120px; right: -140px; width: 420px; height: 420px; border-radius: 90px; border: 60px solid rgba(255, 255, 255, .07); }
.trust__inner { position: relative; padding-top: 40px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.trust__text { flex: 1 1 420px; min-width: 0; }
.trust__title { margin: 4px 0 14px; font-size: 38px; }
.trust__desc { margin: 0 0 26px; opacity: .9; font-size: 17px; }
.trust .btn--white { padding: 13px 30px; }
.trust__media { flex: 1 1 400px; min-width: 0; height: 360px; position: relative; }
.trust__img { position: absolute; inset: 0; border-radius: 180px 24px 180px 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.trust__ball { position: absolute; bottom: -20px; left: -20px; width: 90px; height: 90px; border-radius: 50%; background: var(--c-accent); }

/* ---------- Process ---------- */
.process { padding-top: 10px; padding-bottom: 70px; }
.process__head { text-align: center; margin-bottom: 40px; }
.process__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.step { background: var(--c-surface); border-radius: var(--r-asym); padding: 28px; min-height: 210px; }
.step:nth-child(even) { border-radius: var(--r-asym-alt); margin-top: 30px; }
.step__n {
	width: 52px; height: 52px; border-radius: 50%; background: var(--c-soft); color: var(--c-num); display: flex;
	align-items: center; justify-content: center; font-weight: 900; margin-bottom: 14px;
}
.step__title { display: block; font-size: 18px; margin-bottom: 6px; }
.step__desc { font-size: 14px; }

/* ---------- Service request ---------- */
.request { padding-bottom: 90px; }
.request__card { background: var(--c-surface); border-radius: 120px 20px 120px 20px; overflow: hidden; display: flex; flex-wrap: wrap; box-shadow: var(--shadow-card); }
.request__intro {
	flex: 1 1 380px; min-width: 0; position: relative; overflow: hidden; padding: 56px 48px 56px 40px; color: #fff;
	background: linear-gradient(145deg, var(--c-primary), var(--c-primary-dark));
}
.request__frame { position: absolute; bottom: -70px; right: -50px; width: 200px; height: 200px; border-radius: 44px; border: 30px solid rgba(255, 255, 255, .08); }
.request__title { margin: 4px 0 12px; font-size: 34px; line-height: 1.5; }
.request__desc { margin: 0 0 24px; opacity: .9; }
.request__btns { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.request__btns .btn--white { padding: 13px 28px; }
.request__form { flex: 1 1 460px; min-width: 0; padding: 48px 44px; }
.req-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.req-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.req-form input, .req-form select, .req-form textarea {
	height: 48px; border-radius: 999px; border: 1px solid var(--c-border); background: var(--c-page); padding: 0 20px; font-weight: 400;
	transition: border-color .2s, box-shadow .2s;
}
.req-form select { padding: 0 16px; }
.req-form textarea { height: auto; border-radius: 24px; padding: 14px 20px; resize: vertical; }
.req-form input:focus, .req-form select:focus, .req-form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(23, 87, 184, .18); }
.req-form__wide { grid-column: span 2; }
.req-form__submit { grid-column: span 2; justify-self: start; border: 0; font-size: 16px; padding: 14px 38px; cursor: pointer; }
.req-form__note { grid-column: span 2; margin: 0; font-size: 14px; color: var(--c-primary); font-weight: 700; }

/* ---------- Careers ---------- */
.careers { padding-bottom: 100px; }
.careers__card {
	position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
	padding: 64px 80px; color: #fff; border-radius: 140px 20px 140px 20px; background: linear-gradient(135deg, var(--c-slate), var(--c-slate-900));
}
.careers__girih { position: absolute; inset: 0; opacity: .14; mix-blend-mode: screen; background: url(../img/pattern-girih.webp) center / cover; }
.careers__bubble { position: absolute; top: -60px; left: -40px; width: 220px; height: 220px; border-radius: 50%; background: var(--c-primary); opacity: .7; }
.careers__frame { position: absolute; bottom: -70px; left: 200px; width: 180px; height: 180px; border-radius: 40px; border: 26px solid rgba(122, 184, 255, .25); }
.careers__text { position: relative; max-width: 600px; }
.careers__title { margin: 0 0 8px; font-size: 34px; }
.careers__desc { margin: 0; opacity: .85; }
.careers__roles { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.careers__roles .chip { background: rgba(255, 255, 255, .14); padding: 5px 16px; border-radius: 999px; font-size: 13px; }
.careers__cta { position: relative; padding: 15px 34px; margin-left: 150px; }

/* ---------- Forms: Fluent Forms skin (matches the mockup form) + own forms ---------- */
.fluentform fieldset { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.fluentform .ff-el-group { margin: 0; position: relative; }
.fluentform .ff-wide { grid-column: 1 / -1; }
.fluentform .ff-el-input--label { margin-bottom: 6px; }
.fluentform .ff-el-input--label label { font-size: 14px; font-weight: 700; color: var(--c-text); }
.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: #c0392b; margin-right: 3px; }
/* !important: Fluent Forms' own stylesheet loads after ours with equal specificity. */
.fluentform .ff-el-form-control {
	height: 48px; border-radius: 999px !important; border: 1px solid var(--c-border) !important; background: var(--c-page) !important; padding: 0 20px !important;
	font-family: inherit; font-size: 15px; color: var(--c-text) !important; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.fluentform select.ff-el-form-control, .fluentform select.ff-el-form-control:not([size]):not([multiple]) { height: 48px !important; padding: 0 16px !important; }
.fluentform textarea.ff-el-form-control { height: auto; min-height: 120px; border-radius: 24px !important; padding: 14px 20px !important; }
.fluentform .ff-el-form-control:focus { outline: none; border-color: var(--c-primary) !important; box-shadow: 0 0 0 3px rgba(23, 87, 184, .18); }
.fluentform .ff-el-is-error .ff-el-form-control { border-color: #c0392b !important; }
/* Errors overlay the row gap so showing/hiding them never shifts the submit button. */
.fluentform .ff-el-group .error, .fluentform .ff-el-group .text-danger { position: absolute; top: 100%; right: 20px; margin: 2px 0 0; color: #c0392b; font-size: 12px; line-height: 1.6; white-space: nowrap; }
.fluentform .ff_submit_btn_wrapper { text-align: right; }
.fluentform .ff-btn-submit.btn, .fluentform .ff-btn-submit.btn:hover {
	background: var(--c-primary) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
	padding: 14px 38px !important; font-family: inherit; font-size: 16px; font-weight: 700; opacity: 1 !important; line-height: 1.8;
}
.fluentform .ff-btn-submit.btn:hover { transform: translateY(-3px); }
.fluentform .ff-btn-submit.btn::after { content: '←'; display: inline-block; margin-right: 10px; transition: transform .3s; }
.fluentform .ff-btn-submit.btn:hover::after { transform: translateX(-6px); }
.ff-message-success, .form-msg {
	border-radius: 20px; padding: 16px 20px; font-weight: 700; margin: 0 0 18px; box-shadow: none !important;
	background: #e7f4ec; color: #1e6b3d; border: 1px solid #bfe3cc;
}
.form-msg--err { background: #fdecea; color: #a5281b; border-color: #f5c6c0; }
.form-msg--dark { margin: 10px 0 0; font-size: 14px; padding: 10px 16px; }
.form-msg:focus { outline: none; box-shadow: var(--focus) !important; }
.req .req, .req-form .req { color: #c0392b; }
/* Persian file picker: the native input is visually hidden but stays focusable and keeps validation. */
.file-field { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 8px 6px 18px; border-radius: 999px; border: 1px solid var(--c-border); background: var(--c-page); font-weight: 400; cursor: pointer; }
.file-field input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.file-field__btn { flex: none; font-weight: 700; border-radius: 999px; padding: 6px 18px; background: var(--c-soft); color: var(--c-primary-dark); }
.file-field__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-muted); font-size: 14px; }
.file-field:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(23, 87, 184, .18); }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-card { background: var(--c-surface); border-radius: 60px 14px 60px 14px; padding: 44px; box-shadow: var(--shadow-card); }
.form-card__title { font-size: 26px; margin: 0 0 22px; }

/* ---------- Project archive & single ---------- */
.projects--archive { padding-top: 50px; }
.projects__chips { margin-bottom: 40px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 28px; }
.facts__item { background: var(--c-page); border-radius: 18px; padding: 14px 18px; }
.facts dt { font-size: 13px; color: var(--c-muted); }
.facts dd { margin: 0; font-weight: 700; }
.facts--stack { grid-template-columns: 1fr; }
.back-link { margin: 32px 0 0; }

/* ---------- Appreciation gallery + lightbox ---------- */
.plaques { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.plaque__link { display: block; background: var(--c-surface); border-radius: 120px 20px 28px 28px; overflow: hidden; }
.plaque:nth-child(even) .plaque__link { border-radius: 20px 120px 28px 28px; }
.plaque__img { display: block; height: 280px; }
.plaque__body { display: block; padding: 18px 22px 22px; }
.plaque__title { display: block; font-size: 17px; }
.plaque__meta { font-size: 14px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 20, 30, .82); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: 24px; margin: 0 auto; }
.lightbox__caption { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 700; }
.lightbox__close { position: absolute; top: -18px; right: -18px; background: #fff; color: var(--c-slate-900); }

/* ---------- Careers page ---------- */
.careers-page__intro { margin: 0 0 40px; }
.jobs { display: flex; flex-direction: column; gap: 14px; margin-bottom: 50px; }
.job { background: var(--c-surface); border-radius: 40px 10px 40px 10px; overflow: hidden; }
.job:nth-child(even) { border-radius: 10px 40px 10px 40px; }
.job__head { display: flex; align-items: center; gap: 14px; padding: 20px 26px; cursor: pointer; list-style: none; }
.job__head::-webkit-details-marker { display: none; }
.job__title { font-size: 18px; flex: 1; }
.job__city { font-size: 14px; }
.job__toggle { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--c-soft); position: relative; transition: transform .3s, background .3s; }
.job__toggle::before, .job__toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--c-primary); translate: -50% -50%; border-radius: 2px; }
.job__toggle::after { rotate: 90deg; transition: rotate .3s; }
.job[open] .job__toggle { background: var(--c-primary); }
.job[open] .job__toggle::before, .job[open] .job__toggle::after { background: #fff; }
.job[open] .job__toggle::after { rotate: 0deg; }
.job__body { padding: 0 26px 24px; }
.job__apply { margin-top: 6px; }

/* ---------- Contact page ---------- */
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 26px; align-items: start; }
.contact-page__info {
	color: #fff; border-radius: 60px 14px 60px 14px; padding: 40px 34px; position: relative; overflow: hidden;
	background: linear-gradient(145deg, var(--c-primary), var(--c-primary-dark));
}
.contact-page__title { font-size: 24px; margin-bottom: 18px; }
.contact-page__info .facts__item { background: rgba(255, 255, 255, .12); }
.contact-page__info .facts dt { color: #cfe3ff; }
.request-page .request { padding-bottom: 0; }

/* ==========================================================================
   Responsive (the mockup is desktop-only; these layouts are our own)
   ========================================================================== */
@media (max-width: 1180px) {
	.plaques { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-slide__title { font-size: 44px; }
	.areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.areas__cell:nth-child(n) { margin-top: 0; }
	.areas__cell:nth-child(even) { margin-top: 36px; }
	.areas__cell:nth-child(n+3):nth-child(odd) { margin-top: 0; }
	.bento__card--main, .bento__card--archive { grid-column: span 3; }
	.process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.careers__cta { margin-left: 0; }
	.careers__card { padding: 56px 56px; }
}

@media (max-width: 900px) {
	.contact-page { grid-template-columns: 1fr; }
	.hero__slides { min-height: 0; }
	.hero-slide__inner { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 120px; padding-bottom: 200px; }
	.hero-slide__text { flex: none; }
	.hero-slide__visual { flex: none; width: 100%; max-width: 420px; height: 340px; margin-inline: auto; }
	.hero-slide__dot { right: 12%; top: 110px; }
	.hero__controls { bottom: 110px; }
	.about { gap: 40px; }
	.about__media { flex-basis: 100%; height: 400px; }
	.bento__card--main, .bento__card--archive { grid-column: span 6; }
	.bento__card { grid-column: span 3; }
	.bento__card--s3 { grid-column: span 6; }
	.stat { width: 200px; height: 200px; }
	.stat__v { font-size: 32px; }
	.projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.projects__cell:nth-child(n) { margin-top: 0; }
	.projects__cell:nth-child(even) { margin-top: 40px; }
	.request__card { border-radius: 64px 16px 64px 16px; }
	.request__intro { padding: 44px 32px; }
	.request__form { padding: 36px 28px; }
}

@media (max-width: 600px) {
	.fluentform fieldset { grid-template-columns: 1fr; }
	.form-card { padding: 28px 20px; border-radius: 40px 12px 40px 12px; }
	.plaques { grid-template-columns: 1fr; }
	.plaque__img { height: 230px; }
	.job__head { padding: 16px 18px; }
	.job__body { padding: 0 18px 20px; }
	.contact-page__info { padding: 32px 24px; border-radius: 40px 12px 40px 12px; }
	.hero-slide__title { font-size: 31px; line-height: 1.5; margin: 14px 0 10px; }
	.hero-slide__desc { font-size: 16px; margin-bottom: 22px; }
	.hero-slide__inner { padding-top: 104px; padding-bottom: 170px; }
	.hero-slide__visual { height: 290px; }
	.hero-slide__blob { inset: 0 24px; }
	.hero-slide__ring { width: 380px; height: 380px; border-width: 44px; top: -140px; left: -160px; }
	.hero-slide__diamond { width: 150px; height: 150px; bottom: 60px; right: -60px; }
	.hero-slide__sq { width: 56px; height: 56px; border-radius: 16px; }
	.hero-slide__circle { width: 62px; height: 62px; }
	.stat-chip { width: 196px; left: 0; padding: 12px 14px; }
	.stat-chip__bars { height: 42px; }
	.doc-stack > * { width: 160px; height: 206px; }
	.doc-stack__sheet--front { padding: 20px 16px; }
	.hero__controls { bottom: 92px; }
	.hero__arrow { width: 44px; height: 44px; font-size: 18px; }
	.hero__counter { margin-right: 4px; }
	.hero__wave { height: 64px; }

	.section-title, .about__title, .trust__title { font-size: 28px; }
	.sec-head { margin-bottom: 28px; }
	.about { padding-top: 40px; }
	.about__media { height: 340px; }
	.about__img { inset: 0 20px 30px 0; border-radius: 140px 20px 140px 20px; }
	.about__mission { right: 40px; bottom: 60px; max-width: 230px; }
	.hero-slide__dot { display: none; }
	.about__mission-t { font-size: 19px; }
	.about__ball { left: -20px; bottom: -20px; width: 70px; height: 70px; }
	.about__frame { width: 84px; height: 84px; border-width: 10px; border-radius: 24px; right: 0; }
	.about__links { gap: 10px; }
	.about__link { padding: 14px 16px; font-size: 15px; }
	.about__link:nth-child(even) { margin-top: 12px; }

	.areas { padding-bottom: 90px; }
	.areas__grid { grid-template-columns: 1fr; gap: 14px; }
	.areas__cell:nth-child(n) { margin-top: 0; }
	.area-card { min-height: 0; padding: 22px; }
	.products { padding-bottom: 100px; }
	.bento { gap: 14px; }
	.bento__card, .bento__card--s3 { grid-column: span 6; min-height: 150px; }
	.bento__card--main { padding: 32px 26px; min-height: 360px; border-radius: 56px 14px 56px 14px; }
	.bento__card--archive { min-height: 200px; border-radius: 14px 56px 14px 56px; }
	.bento__title { font-size: 28px; }

	.stats { padding-top: 40px; }
	.stats__list { display: grid; grid-template-columns: repeat(2, 160px); justify-content: center; gap: 0 4px; }
	.stat { width: 160px; height: 160px; margin: 0; }
	.stat:nth-child(even) { margin-top: 40px; }
	.stat__v { font-size: 26px; }
	.stat__l { font-size: 13px; }

	.projects__grid { grid-template-columns: 1fr; gap: 20px; }
	.projects__cell:nth-child(n) { margin-top: 0; }
	.project-card__media, .projects__cell:nth-child(3n+2) .project-card__media { height: 240px; }
	.trust__inner { gap: 36px; }
	.trust__media { height: 260px; flex-basis: 100%; }
	.trust__img { border-radius: 120px 18px 120px 18px; }
	.process__grid { grid-template-columns: 1fr; gap: 14px; }
	.step:nth-child(even) { margin-top: 0; }
	.step { min-height: 0; padding: 22px; }
	.request__card { border-radius: 40px 14px 40px 14px; }
	.request__intro { padding: 36px 24px; }
	.request__form { padding: 28px 20px; }
	.req-form { grid-template-columns: 1fr; }
	.req-form__wide, .req-form__submit, .req-form__note { grid-column: auto; }
	.careers__card { padding: 44px 26px; border-radius: 64px 16px 64px 16px; }
	.careers__frame { left: auto; right: -60px; }
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.marquee__group[aria-hidden="true"] { display: none; }
	.hero-slide, .hero-slide__text, .hero-slide__visual { transition: none; }
}

/* ==========================================================================
   Additions after the demo meeting: 5 activity areas, clients page, scanner,
   informatics & AI, occasion / AI hero slides.
   ========================================================================== */
.areas__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.areas__cell:nth-child(n) { margin-top: 0; }
.areas__cell:nth-child(even) { margin-top: 36px; }
.area-card { min-height: 220px; }

.clients__more { text-align: center; margin: 26px 0 0; }

/* Clients page */
.clients-page__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 32px; }
.clients-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.client-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%; background: var(--c-surface); border-radius: 36px 10px 36px 10px; padding: 18px 18px 22px; box-shadow: var(--shadow-card); }
.clients-grid > li:nth-child(even) .client-card { border-radius: 10px 36px 10px 36px; }
.client-card__logo { width: 100%; height: 110px; border-radius: 20px; background: #fff; border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 8px; }
.client-card__logo img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.client-card:hover .client-card__logo img { transform: scale(1.06); }
.client-card__ph { font-size: 40px; font-weight: 900; color: var(--c-primary); }
.client-card__name { font-size: 16px; }
.client-card__city { font-size: 13px; }
.client-card__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.client-card__tags i { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--c-soft); color: var(--c-primary); }
.client-card__tags i.is-empty { background: var(--c-chip); color: var(--c-muted); }
html[data-theme="dark"] .client-card__tags i { color: var(--c-accent); }

/* Scanner consulting */
.scanner { display: flex; flex-wrap: wrap; align-items: center; gap: 60px; padding-block: 50px 70px; }
.scanner__text { flex: 1 1 480px; min-width: 0; }
.scanner__lead { font-size: 17px; color: var(--c-body); margin: 12px 0 0; }
.scanner__points { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scanner__art { flex: 1 1 420px; min-width: 0; position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.scanner__glow { position: absolute; inset: 30px 40px; border-radius: 50% 50% 50% 8% / 50% 50% 50% 8%; background: linear-gradient(145deg, var(--c-primary), var(--c-primary-dark)); box-shadow: 0 30px 60px rgba(10, 34, 80, .25); }
.scanner__ring { position: absolute; top: 14px; right: 26px; width: 90px; height: 90px; border-radius: 26px; border: 12px solid var(--c-accent); }
.scanner__device { position: relative; width: 300px; height: 250px; }
.scanner__body {
	position: absolute; left: 0; right: 0; top: 70px; height: 110px; border-radius: 26px 26px 18px 18px;
	background: linear-gradient(180deg, #eef3f9, #c9d6e6); box-shadow: 0 24px 40px rgba(0, 0, 0, .3), inset 0 -8px 0 #b3c3d8;
}
.scanner__slot { position: absolute; top: 18px; left: 34px; right: 34px; height: 10px; border-radius: 6px; background: #2f3b43; }
.scanner__light { position: absolute; top: 14px; left: 34px; width: 50px; height: 18px; border-radius: 8px; background: radial-gradient(closest-side, #bfe0ff, rgba(122, 184, 255, 0)); animation: scan-x 2.6s ease-in-out infinite; }
@keyframes scan-x { 0%, 100% { left: 34px; } 50% { left: calc(100% - 84px); } }
.scanner__panel { position: absolute; bottom: 22px; right: 26px; display: flex; gap: 8px; }
.scanner__panel i { width: 10px; height: 10px; border-radius: 50%; background: #9aa6a0; }
.scanner__panel i:first-child { background: #22c55e; animation: blink 1.2s steps(2) infinite; }
.scanner__panel i:nth-child(2) { background: var(--c-primary); }
@keyframes blink { 50% { opacity: .25; } }
.scanner__tray { position: absolute; left: 60px; right: 60px; top: 0; height: 90px; overflow: hidden; }
.scanner__out { position: absolute; left: 50px; right: 50px; top: 160px; height: 100px; overflow: hidden; }
.scanner__sheet { position: absolute; left: 10px; right: 10px; height: 120px; border-radius: 8px; background: #fff; padding: 14px 16px; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.scanner__sheet i { display: block; height: 6px; border-radius: 3px; background: #d3e1f5; margin-bottom: 9px; }
.scanner__sheet i.w70 { width: 70%; }
.scanner__tray .scanner__sheet { top: 20px; animation: feed-in 3.2s var(--ease) infinite; }
.scanner__sheet--out { top: -120px; animation: feed-out 3.2s var(--ease) infinite; }
@keyframes feed-in { 0% { transform: translateY(-10px); opacity: 0; } 15% { opacity: 1; transform: none; } 60%, 100% { transform: translateY(110px); opacity: 1; } }
@keyframes feed-out { 0%, 40% { transform: none; } 85%, 100% { transform: translateY(150px); } }
.scanner__file {
	position: absolute; left: 10px; bottom: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	width: 120px; height: 140px; border-radius: 18px 18px 18px 4px; background: var(--c-surface); color: var(--c-text); box-shadow: 0 24px 50px rgba(10, 34, 80, .3); font-size: 12px;
}
.scanner__file b { font-size: 28px; color: #d64545; letter-spacing: 1px; }

/* Informatics & AI */
.informatics { position: relative; color: #fff; background: linear-gradient(135deg, #07142f, #0f2a5e 60%, #13306b); overflow: hidden; padding-bottom: 120px; }
.informatics__wave { height: 90px; margin-top: -1px; position: relative; z-index: 1; }
.informatics__wave-bottom { position: absolute; bottom: -1px; left: 0; height: 90px; z-index: 1; }
.informatics__grid-bg {
	position: absolute; inset: 0; opacity: .35; pointer-events: none;
	background-image: linear-gradient(rgba(122, 184, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 184, 255, .12) 1px, transparent 1px);
	background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
	animation: grid-pan 30s linear infinite;
}
@keyframes grid-pan { to { background-position: 46px 46px, 46px 46px; } }
.informatics__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 50px; align-items: center; padding-top: 20px; }
.informatics__text { flex: 1 1 560px; min-width: 0; }
.informatics__lead { color: rgba(255, 255, 255, .82); font-size: 17px; margin: 12px 0 0; max-width: 640px; }
.informatics__cards { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.it-card {
	display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 26px 8px 26px 8px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(122, 184, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: transform .35s var(--ease), background .3s, border-color .3s;
}
.it-card:nth-child(even) { border-radius: 8px 26px 8px 26px; }
.it-card:hover { transform: translateY(-6px); background: rgba(122, 184, 255, .12); border-color: rgba(122, 184, 255, .5); }
.it-card__icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--c-accent); color: var(--c-ink); transition: transform .5s var(--ease); }
.it-card:hover .it-card__icon { transform: rotate(-12deg) scale(1.08); }
.it-card__title { font-size: 16px; }
.it-card__desc { font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, .75); }
.informatics__art { flex: 1 1 380px; min-width: 0; height: 440px; position: relative; }
.informatics + .trust .trust__wave { display: none; }
.informatics + .trust .trust__inner { padding-top: 20px; }

/* AI illustration (informatics section + AI hero slide) */
.ai-art { position: absolute; inset: 0; }
.ai-art__net { position: absolute; inset: 0; width: 100%; height: 100%; }
.ai-art__net line { stroke: rgba(122, 184, 255, .45); stroke-width: 2; stroke-dasharray: 6 8; animation: ai-flow 2.2s linear infinite; animation-delay: calc(var(--k) * -.17s); }
.ai-art__net circle { fill: #0f2a5e; stroke: #7ab8ff; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: ai-node 2.8s ease-in-out infinite; animation-delay: calc(var(--k) * .22s); }
@keyframes ai-flow { to { stroke-dashoffset: -28; } }
@keyframes ai-node { 0%, 100% { fill: #0f2a5e; transform: scale(1); } 50% { fill: #7ab8ff; transform: scale(1.25); } }
.ai-art__win {
	position: absolute; left: 0; bottom: 20px; width: 270px; border-radius: 18px; overflow: hidden; background: rgba(7, 20, 47, .92);
	border: 1px solid rgba(122, 184, 255, .35); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); animation: floaty 8s ease-in-out infinite;
}
.ai-art__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: rgba(255, 255, 255, .06); }
.ai-art__bar i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; }
.ai-art__bar i:nth-child(2) { background: #fbbf24; } .ai-art__bar i:nth-child(3) { background: #34d399; }
.ai-art__bar span { margin-left: auto; font: 700 11px/1 monospace; color: var(--c-accent); }
.ai-art__code { padding: 12px 14px 14px; font: 12.5px/1.9 ui-monospace, Menlo, Consolas, monospace; color: #cfe3ff; text-align: left; }
.ai-art__code p { margin: 0; white-space: nowrap; overflow: hidden; width: 0; animation: ai-type 6s steps(28) infinite; }
.ai-art__code p:nth-child(2) { animation-delay: .9s; } .ai-art__code p:nth-child(3) { animation-delay: 1.8s; } .ai-art__code p:nth-child(4) { animation-delay: 2.7s; }
.ai-art__code b { color: #7ab8ff; font-weight: 700; } .ai-art__code em { color: #fbbf24; font-style: normal; }
.ai-art__ok { color: #34d399; }
@keyframes ai-type { 0% { width: 0; } 15%, 85% { width: 100%; } 100% { width: 100%; } }
.ai-art__chip {
	position: absolute; top: 24px; right: 30px; width: 86px; height: 86px; border-radius: 22px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--c-accent), #4f9bff); color: var(--c-ink); font-size: 30px; font-weight: 900;
	box-shadow: 0 0 0 10px rgba(122, 184, 255, .15), 0 20px 40px rgba(0, 0, 0, .35); animation: pulse 2.2s infinite, floaty 7s ease-in-out infinite;
}
.hero-slide--ai .hero-slide__blob { background: radial-gradient(circle at 40% 40%, #1d4ea8, #0a1a3d 70%); }
.hero-slide--ai .ai-art { inset: 10px 40px; }
.hero-slide--ai .ai-art__win { bottom: 10px; left: -20px; width: 250px; }
.hero-slide--ai .stat-chip { display: none; }
.hero-slide--occasion .hero-slide__title { font-size: 50px; }

@media (max-width: 1180px) {
	.areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.informatics__art { flex-basis: 100%; height: 380px; }
	.scanner__art { flex-basis: 100%; }
	.clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.areas__grid { grid-template-columns: 1fr; }
	.areas__cell:nth-child(n) { margin-top: 0; }
	.area-card { min-height: 0; }
	.scanner { gap: 30px; padding-block: 30px 50px; }
	.scanner__art { height: 330px; }
	.scanner__device { transform: scale(.8); }
	.scanner__file { width: 96px; height: 112px; left: 0; bottom: 10px; }
	.scanner__file b { font-size: 22px; }
	.scanner__points, .informatics__cards { grid-template-columns: 1fr; }
	.informatics__art { height: 320px; }
	.ai-art__win { width: 220px; }
	.ai-art__chip { width: 64px; height: 64px; font-size: 22px; right: 10px; }
	.hero-slide--ai .ai-art__win { width: 190px; left: 0; }
	.hero-slide--occasion .hero-slide__title { font-size: 30px; }
	.clients-grid { gap: 12px; }
	.client-card { padding: 12px 12px 16px; border-radius: 24px 8px 24px 8px; }
	.client-card__logo { height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
	.ai-art__code p { width: auto; }
	.scanner__sheet--out { top: 10px; }
}

.marquee__item--name { padding: 0 16px; text-align: center; font-weight: 800; font-size: 14.5px; line-height: 1.6; color: var(--c-primary-dark); background: linear-gradient(145deg, #fff, var(--c-soft)); }
html[data-theme="dark"] .marquee__item--name { color: var(--c-ink); }

.client-card__ph { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c-primary); font-size: 0; }
