/* رحلة أمل — دعم مرضى السرطان | front-end styles */

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

.acs-wrap {
	--green:      #2d7a2d;
	--green-d:    #1e5c1e;
	--green-l:    #e8f5e8;
	--green-mid:  #c8e6c8;
	--gold:       #c8941a;
	--gold-l:     #fef3dc;
	--gold-mid:   #f5d88a;
	--red:        #cc1111;
	--red-l:      #fdeaea;
	--blue:       #1a3db5;
	--blue-l:     #e8edfb;
	--bg:         #f5f7f2;
	--card:       #ffffff;
	--text:       #1a2512;
	--muted:      #5a6e50;
	--border:     #d8e4d0;
	--radius:     14px;
	--shadow:     0 4px 22px rgba(45,122,45,.10);

	font-family: 'Cairo', Tahoma, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	direction: rtl;
	text-align: right;
}

.acs-page { max-width: 1040px; margin: 0 auto; padding: 0 20px 60px; }

.acs-section { margin-bottom: 20px; }
.acs-section--flush { margin-bottom: 28px; }

/* ───────── HERO ───────── */
.acs-hero {
	position: relative;
	border-radius: 0 0 32px 32px;
	overflow: hidden;
	margin-bottom: 28px;
	min-height: 360px;
	display: flex; align-items: center;
}
.acs-hero__bg {
	position: absolute; inset: 0;
	background: linear-gradient(140deg, #1e5c1e 0%, #2d7a2d 45%, #3a8f1f 75%, #c8941a 130%);
}
.acs-hero__bg::before {
	content: ''; position: absolute; inset: 0;
	background-image: radial-gradient(circle, rgba(255,255,255,.10) 1px, transparent 1px);
	background-size: 26px 26px;
}
.acs-hero__bg::after {
	content: ''; position: absolute;
	width: 500px; height: 500px; border-radius: 50%;
	background: rgba(200,148,26,.12);
	top: -200px; left: -100px;
}
.acs-hero__inner {
	position: relative; z-index: 1;
	display: flex; align-items: center;
	gap: 36px; padding: 52px 44px; width: 100%;
}
.acs-hero__text { flex: 1; }
.acs-hero__tag {
	display: inline-flex; align-items: center; gap: 7px;
	background: rgba(200,148,26,.25);
	border: 1px solid rgba(200,148,26,.50);
	color: #fde68a;
	font-size: 13px; font-weight: 700;
	padding: 5px 16px; border-radius: 50px;
	margin-bottom: 16px;
}
.acs-hero__title {
	color: #fff;
	font-size: clamp(22px,4vw,36px);
	font-weight: 900; line-height: 1.35;
	margin: 0 0 14px;
}
.acs-hero__title span { color: #fde68a; }
.acs-hero__desc {
	color: rgba(255,255,255,.85);
	font-size: 15px; line-height: 1.9; max-width: 540px; margin: 0;
}
.acs-hero__chips { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.acs-chip {
	background: rgba(255,255,255,.13);
	border: 1px solid rgba(255,255,255,.25);
	color: #fff; border-radius: 10px;
	padding: 8px 16px; font-size: 13px; font-weight: 600;
	display: flex; align-items: center; gap: 7px;
	backdrop-filter: blur(6px);
}
.acs-hero__logo {
	flex-shrink: 0; width: 220px; height: 220px;
	border-radius: 50%;
	background: rgba(255,255,255,.15);
	border: 3px solid rgba(255,255,255,.30);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 16px 48px rgba(0,0,0,.25);
	overflow: hidden;
}
.acs-hero__logo img { width: 100%; height: 100%; object-fit: cover; }

.acs-btn {
	display: inline-block; margin-top: 22px;
	background: var(--gold); color: #fff;
	font-size: 15px; font-weight: 800;
	padding: 12px 30px; border-radius: 12px;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(200,148,26,.35);
	transition: transform .2s, box-shadow .2s;
}
.acs-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,148,26,.45); color: #fff; }

/* ───────── IMAGE STRIP ───────── */
.acs-img-strip {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 14px;
}
.acs-img-card {
	border-radius: 14px; overflow: hidden;
	height: 185px; position: relative;
	box-shadow: var(--shadow);
	display: block; text-decoration: none;
}
.acs-img-card::before {
	content: ''; position: absolute; top: 0; right: 0; left: 0;
	height: 4px; background: var(--green); z-index: 2;
}
.acs-img-card img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	filter: brightness(.82);
	transition: filter .35s, transform .4s;
}
.acs-img-card:hover img { filter: brightness(1); transform: scale(1.04); }
.acs-img-card__label {
	position: absolute; bottom: 0; right: 0; left: 0;
	padding: 28px 14px 12px;
	background: linear-gradient(transparent, rgba(0,0,0,.68));
	color: #fff; font-size: 13px; font-weight: 700;
}

/* ───────── CARDS ───────── */
.acs-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px 26px 22px;
	box-shadow: var(--shadow);
	position: relative; overflow: hidden;
}
.acs-card::before {
	content: ''; position: absolute; top: 0; right: 0;
	width: 5px; height: 100%;
	background: var(--green);
	border-radius: 0 var(--radius) var(--radius) 0;
}
.acs-gold-accent::before  { background: var(--gold); }
.acs-red-accent::before   { background: var(--red); }
.acs-blue-accent::before  { background: var(--blue); }

.acs-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.acs-card__icon {
	width: 46px; height: 46px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.acs-ci-green { background: var(--green-l); }
.acs-ci-gold  { background: var(--gold-l); }
.acs-ci-red   { background: var(--red-l); }
.acs-ci-blue  { background: var(--blue-l); }
.acs-card h2 { font-size: 17px; font-weight: 800; color: var(--text); margin: 0; }
.acs-card__sub { font-size: 13px; color: var(--muted); margin: 3px 0 0; }

.acs-intro { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; line-height: 1.8; }
.acs-about__p { font-size: 14.5px; line-height: 1.9; margin: 0 0 12px; }
.acs-about__p:last-child { margin-bottom: 0; }
.acs-about__img { border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.acs-about__img img { width: 100%; display: block; }

/* ───────── FEAT LIST ───────── */
.acs-feat-list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.acs-feat-list li {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 14.5px; line-height: 1.65; color: var(--text);
}
.acs-feat-list li::before {
	content: ''; width: 20px; height: 20px; border-radius: 50%;
	flex-shrink: 0; margin-top: 2px;
	background: var(--green-l)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232d7a2d'%3E%3Cpath d='M6.5 11.5 3 8l1.4-1.4 2.1 2.1 5.1-5.1L13 5z'/%3E%3C/svg%3E")
		center/14px no-repeat;
}
.acs-feat-list--gold li::before {
	background-color: var(--gold-l);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8941a'%3E%3Cpath d='M6.5 11.5 3 8l1.4-1.4 2.1 2.1 5.1-5.1L13 5z'/%3E%3C/svg%3E");
}

/* ───────── PILLS ───────── */
.acs-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.acs-pill {
	display: flex; align-items: center; gap: 7px;
	padding: 9px 18px; border-radius: 50px;
	font-size: 13.5px; font-weight: 700; border: 1.5px solid;
}
.acs-pill-g    { background: var(--green-l); border-color: var(--green-mid); color: var(--green-d); }
.acs-pill-gold { background: var(--gold-l); border-color: var(--gold-mid); color: #7a5b0a; }
.acs-pill-b    { background: var(--blue-l); border-color: #b0bfef; color: var(--blue); }

/* ───────── NOTE BOX ───────── */
.acs-note-box {
	background: var(--gold-l);
	border: 1.5px solid var(--gold-mid);
	border-radius: 12px; padding: 18px 20px;
	display: grid; gap: 10px;
}
.acs-note-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #6b4400; line-height: 1.6; }
.acs-note-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 6px; }

/* ───────── STEPS GRID ───────── */
.acs-steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.acs-step-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px; padding: 16px 14px;
	transition: transform .2s, box-shadow .2s;
}
.acs-step-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(45,122,45,.13); }
.acs-step-num {
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--green); color: #fff;
	font-size: 13px; font-weight: 800;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 10px;
}
.acs-step-card__img { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.acs-step-card__img img { width: 100%; height: 100%; object-fit: cover; }
.acs-step-card strong { display: block; font-size: 13.5px; font-weight: 800; color: var(--text); margin-bottom: 5px; }
.acs-step-card p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ───────── STATS ───────── */
.acs-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.acs-stat {
	background: var(--bg); border: 1px solid var(--border);
	border-radius: 12px; padding: 18px 14px; text-align: center;
}
.acs-stat__icon { font-size: 26px; line-height: 1; margin-bottom: 8px; }
.acs-stat__num { font-size: 22px; font-weight: 900; color: var(--green-d); }
.acs-stat__label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ───────── CTA ───────── */
.acs-cta {
	background: linear-gradient(140deg, #1e5c1e 0%, #2d7a2d 50%, #3a8f1f 100%);
	border-radius: var(--radius); padding: 38px 32px;
	text-align: center; position: relative; overflow: hidden;
}
.acs-cta::before {
	content: ''; position: absolute; inset: 0;
	background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
	background-size: 22px 22px;
}
.acs-cta::after {
	content: ''; position: absolute;
	width: 300px; height: 300px; border-radius: 50%;
	background: rgba(200,148,26,.15);
	bottom: -120px; left: -60px;
}
.acs-cta h2 { position: relative; color: #fff; font-size: 22px; font-weight: 900; margin: 0 0 10px; }
.acs-cta p { position: relative; color: rgba(255,255,255,.80); font-size: 15px; line-height: 1.8; margin: 0; }
.acs-cta__btn {
	position: relative; display: inline-block; margin-top: 20px;
	background: var(--gold); color: #fff;
	font-size: 15px; font-weight: 800;
	padding: 12px 32px; border-radius: 12px; text-decoration: none;
	box-shadow: 0 8px 22px rgba(0,0,0,.20);
	transition: transform .2s;
}
.acs-cta__btn:hover { transform: translateY(-2px); color: #fff; }

/* ───────── FORM (multi-step) ───────── */
.acs-form-card { padding-bottom: 26px; }
.acs-req { color: var(--red); }

/* Progress */
.acs-progress { margin: 4px 0 18px; }
.acs-progress__row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.acs-progress__pct { font-weight: 800; color: var(--green-d); }
.acs-progress__bar { height: 6px; background: var(--green-l); border-radius: 50px; overflow: hidden; }
.acs-progress__fill { height: 100%; background: var(--green); border-radius: 50px; transition: width .3s; }

/* Step tabs */
.acs-steps-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.acs-step-tab {
	display: flex; align-items: center; gap: 7px;
	padding: 8px 14px; border-radius: 10px; cursor: pointer;
	font-size: 13px; font-weight: 700; color: var(--muted);
	background: var(--bg); border: 1px solid var(--border);
	transition: all .2s;
}
.acs-step-tab__dot {
	width: 20px; height: 20px; border-radius: 50%;
	background: var(--border); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 800;
}
.acs-step-tab.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.acs-step-tab.is-active .acs-step-tab__dot { background: rgba(255,255,255,.3); }

/* Steps */
.acs-step { display: none; }
.acs-step.is-active { display: block; animation: acs-fade .25s ease; }
@keyframes acs-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.acs-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acs-field { display: flex; flex-direction: column; gap: 6px; }
.acs-field--full { grid-column: 1 / -1; }
.acs-field label { font-size: 13.5px; font-weight: 700; color: var(--text); }
.acs-field input,
.acs-field select,
.acs-field textarea {
	font-family: inherit; font-size: 14px;
	padding: 11px 14px; border: 1.5px solid var(--border);
	border-radius: 10px; background: #fff; color: var(--text);
	width: 100%; transition: border-color .2s, box-shadow .2s;
}
.acs-field input:focus,
.acs-field select:focus,
.acs-field textarea:focus {
	outline: none; border-color: var(--green);
	box-shadow: 0 0 0 3px var(--green-l);
}
.acs-field input.acs-invalid,
.acs-field select.acs-invalid,
.acs-field textarea.acs-invalid { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-l); }

/* Number with suffix (مدة المرض / أشهر) */
.acs-input-suffix { display: flex; }
.acs-input-suffix input { border-radius: 0 10px 10px 0; }
.acs-suffix {
	display: flex; align-items: center; padding: 0 14px;
	background: var(--green-l); border: 1.5px solid var(--border); border-right: 0;
	border-radius: 10px 0 0 10px; font-size: 13px; font-weight: 700; color: var(--green-d);
}

/* File fields */
.acs-file input[type="file"] { padding: 9px 12px; background: var(--bg); cursor: pointer; }
.acs-file input[type="file"].acs-invalid { border-color: var(--red); }

/* Declaration checkbox */
.acs-check label { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; cursor: pointer; }
.acs-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); }

.acs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer navigation */
.acs-form-foot { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.acs-nav-btn {
	font-family: inherit; font-size: 14px; font-weight: 700;
	padding: 11px 22px; border-radius: 10px; cursor: pointer;
	background: var(--bg); color: var(--text); border: 1.5px solid var(--border);
	transition: background .2s;
}
.acs-nav-btn:hover:not(:disabled) { background: var(--green-l); }
.acs-nav-btn:disabled { opacity: .5; cursor: default; }
.acs-next { background: var(--green); color: #fff; border-color: var(--green); margin-right: auto; }
.acs-next:hover:not(:disabled) { background: var(--green-d); }
.acs-form__submit {
	margin-right: auto;
	background: var(--green); color: #fff;
	font-family: inherit; font-size: 15px; font-weight: 800;
	padding: 12px 32px; border: none; border-radius: 10px;
	cursor: pointer; transition: background .2s, transform .2s;
	box-shadow: 0 8px 22px rgba(45,122,45,.30);
}
.acs-form__submit:hover { background: var(--green-d); transform: translateY(-2px); }
.acs-form__submit:disabled { opacity: .7; cursor: default; transform: none; }
.acs-form__msg { margin-top: 14px; font-size: 14px; font-weight: 700; min-height: 1em; }
.acs-form__msg.is-ok  { color: var(--green-d); }
.acs-form__msg.is-err { color: var(--red); }

/* Success screen */
.acs-success { text-align: center; padding: 26px 14px 14px; animation: acs-fade .3s ease; }
.acs-success[hidden] { display: none; }
.acs-success__icon {
	width: 84px; height: 84px; margin: 0 auto 18px;
	border-radius: 50%; background: var(--green-l);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 8px rgba(45,122,45,.08);
}
.acs-success__title { font-size: 21px; font-weight: 900; color: var(--green-d); margin: 0 0 10px; }
.acs-success__text { font-size: 15px; line-height: 1.9; color: var(--text); max-width: 480px; margin: 0 auto 22px; }
.acs-success__btn {
	background: var(--green); color: #fff;
	font-family: inherit; font-size: 15px; font-weight: 800;
	padding: 12px 32px; border: none; border-radius: 10px; cursor: pointer;
	box-shadow: 0 8px 22px rgba(45,122,45,.30); transition: background .2s, transform .2s;
}
.acs-success__btn:hover { background: var(--green-d); transform: translateY(-2px); }

/* ───────── LIGHTBOX ───────── */
.acs-lightbox {
	position: fixed; inset: 0; z-index: 99999;
	background: rgba(0,0,0,.82);
	display: none; align-items: center; justify-content: center; padding: 30px;
}
.acs-lightbox.is-open { display: flex; }
.acs-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.acs-lightbox__close {
	position: absolute; top: 18px; left: 24px;
	background: none; border: none; color: #fff;
	font-size: 40px; line-height: 1; cursor: pointer;
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 900px) {
	.acs-steps-grid { grid-template-columns: repeat(2,1fr); }
	.acs-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
	.acs-hero__inner { flex-direction: column; padding: 32px 22px; }
	.acs-hero__logo { width: 150px; height: 150px; }
	.acs-form-grid { grid-template-columns: 1fr; }
	.acs-img-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.acs-steps-grid { grid-template-columns: 1fr; }
	.acs-stats { grid-template-columns: 1fr 1fr; }
	.acs-img-strip { grid-template-columns: 1fr; }
	.acs-card { padding: 18px 14px; }
	.acs-hero__inner { padding: 28px 18px; }
}
