/* ==========================================================================
   Life Line Foundation: light, photo-led redesign (loaded after v2.css).
   White and rose-white grounds, HD photos in rounded frames, one red accent,
   quiet motion. Dark only for the closing band and footer.
   ========================================================================== */

:root {
	--r-photo: 24px;
	--shadow-soft: 0 1px 2px rgba(58, 18, 22, 0.05), 0 18px 40px -22px rgba(58, 18, 22, 0.28);
}

/* ---------- Hero ---------- */
.lhero {
	position: relative; overflow: hidden;
	padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 clamp(88px, 9vw, 130px);
	background: var(--bg);
}
.lhero::before {
	content: ""; position: absolute; z-index: 0; right: -10%; top: 4%; width: 62%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(227, 6, 19, 0.07), rgba(227, 6, 19, 0));
	pointer-events: none;
}
.lhero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(40px, 6vw, 96px); align-items: center; min-height: min(calc(100svh - var(--header-h) - 120px), 760px); }
.lhero__title { font-size: clamp(2.8rem, 1.2rem + 4.3vw, 5rem); line-height: 1; letter-spacing: -0.045em; font-weight: 750; color: var(--ink); }
.lhero__title span { display: block; color: var(--accent); }
.lhero__lead { margin: 26px 0 34px; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.lhero__trust { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 0.9375rem; color: var(--muted); }
.lhero__trust .icon { width: 18px; height: 18px; color: var(--accent); flex: none; }

.lhero__visual { position: relative; width: 100%; max-width: 560px; justify-self: end; padding: 0 0 6% 10%; }
.lhero__main { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--tint); box-shadow: var(--shadow-2); }
.lhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.lhero__img.is-on { opacity: 1; animation: kenburns 9s var(--ease-out) forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
/* One photo (for example a collage) is shown whole: a square frame, no zoom, nothing laid over it. */
.lhero__main--single { aspect-ratio: 1; }
.lhero__main--single .lhero__img.is-on { animation: none; }
.lhero__side {
	position: absolute; left: 0; top: 10%; width: 34%; aspect-ratio: 1;
	border-radius: 22px; overflow: hidden; border: 6px solid var(--bg); background: var(--bg);
	box-shadow: var(--shadow-soft);
	animation: float 7s var(--ease-in-out) infinite;
}
.lhero__side img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; transition: transform 0.8s var(--ease-out); }
.lhero__side:hover img { transform: scale(1.06); }
@keyframes float { 50% { transform: translateY(-10px); } }
.lhero__card {
	position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 14px;
	padding: 12px 22px 12px 12px; border-radius: 20px; background: var(--surface);
	box-shadow: var(--shadow-2); max-width: 330px;
}
.drop--mini { position: relative; width: 58px; flex: none; aspect-ratio: 0.82; }
.drop--mini .drop__fallback { animation: drop-beat 2.2s var(--ease-in-out) infinite; }
.lhero__card-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.01em; }
.lhero__card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 0.9375rem; font-weight: 650; color: var(--accent-deep); }
.lhero__card-link .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.lhero__card-link:hover .icon { transform: translateX(3px); }

.lhero__ecg { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 64px; pointer-events: none; }
.lhero__ecg path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lhero__ecg-base { stroke: rgba(28, 20, 21, 0.07); }
.lhero__ecg-pulse { stroke: var(--accent); stroke-dasharray: 120 880; stroke-dashoffset: 1000; animation: ecg 4.4s linear infinite; }
.lhero.is-racing .lhero__ecg-pulse { animation-duration: 1s; }

/* ---------- What we do ---------- */
.areas__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.areas__intro { color: var(--ink-2); max-width: 56ch; font-size: 1.0625rem; }
.areas__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.area {
	display: flex; flex-direction: column; overflow: hidden;
	border-radius: var(--r-photo); background: var(--surface); border: 1px solid var(--line);
	transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.area__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.area__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.area:hover .area__media img { transform: scale(1.05); }
.area__body { display: grid; gap: 8px; padding: 22px 22px 24px; flex: 1; align-content: start; }
.area__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
.area__text { color: var(--ink-2); font-size: 0.975rem; line-height: 1.55; }
.area__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--accent-deep); font-weight: 650; font-size: 0.9375rem; }
.area__more .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.area:hover .area__more .icon { transform: translateX(3px); }

/* ---------- About band ---------- */
.about-band { background: var(--tint); }
.about-band__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-band__media { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--line); box-shadow: var(--shadow-soft); }
.about-band__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-band__media:hover img { transform: scale(1.04); }
.about-band__copy .lead { margin: 22px 0 16px; color: var(--ink); }
.about-band__vision { color: var(--ink-2); max-width: 58ch; }
.about-band .figures { margin: 36px 0 32px; }
.about-band .figures__value { font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.8rem); }

/* ---------- Services index on a light ground ---------- */
.index { padding-top: var(--section-y); }

/* ---------- Moments: a flat, moving photo strip ---------- */
.moments { padding-block: var(--section-y) 0; }
.moments__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.strip--flat { margin-top: 0; padding-bottom: 0; }
.strip--flat .strip__viewport { perspective: none; padding-block: 6px; }
.strip--flat .strip__track { gap: 16px; }
.strip--flat .strip__item { width: clamp(240px, 24vw, 360px); }
.strip--flat .strip__btn { transform: none; aspect-ratio: 4 / 3; border-radius: 20px; box-shadow: none; background: var(--tint); }

/* ---------- Emergency blood on a soft red ground ---------- */
.blood { background: var(--accent-soft); margin-top: var(--section-y); }
.blood__inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.blood .lead { margin: 22px 0 30px; }
.match--light { background: var(--surface); border-color: transparent; box-shadow: var(--shadow-soft); }
.match--light .match__q { color: var(--ink); }
.match--light .match__group { background: var(--tint); color: var(--ink); }
.match--light .match__group:hover { background: var(--line); }
.match--light .match__group.is-on { background: var(--accent); color: #fff; }
.match--light .match__result { border-color: var(--line); }
.match--light .match__label { color: var(--muted); }
.match--light .match__chip { background: var(--tint); color: var(--ink); }
.match--light .match__chip.is-self { background: var(--accent); color: #fff; }
.match--light .match__note { color: var(--ink); }
.match--light .match__fine { color: var(--muted); }
.match--light .btn .icon { color: #fff; }

/* ---------- Donation call to action ---------- */
.give__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.give__visual.dropcycle { justify-self: end; }
.qr--image { padding: 6px; }
.qr--image .qr__code img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.give__pay { border-color: var(--line); box-shadow: var(--shadow-soft); }

/* ---------- Donate page: light header ---------- */
.donate-hero { background: var(--tint); color: var(--ink-2); }
.donate-hero__glow { display: none; }
.page-title--light { color: var(--ink); }
.page-lead--light { color: var(--ink-2); }
.crumbs--light, .crumbs--light a { color: var(--muted); }
.crumbs--light a { color: var(--ink-2); }
.crumbs--light a:hover { color: var(--accent-deep); }
.assure li { color: var(--ink-2); }
.pay { box-shadow: var(--shadow-2); }

/* Donate widget: your own amount, and saving the QR to scan from the gallery. */
.pay__chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pay__custom { position: static; margin-top: 18px; }
.pay__custom-label { display: block; margin-bottom: 8px; font-size: 0.9375rem; font-weight: 650; color: var(--ink-2); }
.pay__custom-field { position: relative; }
.pay__qr .pay__save { margin-top: 10px; background: var(--surface); }
.pay__qr .pay__save:hover { background: var(--ink); color: #fff; }

/* ---------- About: who we are ---------- */
.who2__block .who2__meta { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--on-night-2); }
.who2__meta .icon { width: 17px; height: 17px; color: var(--accent); flex: none; }
.who2__block .who2__motto { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: #fff; }

/* Footer: one number for calls and WhatsApp. */
.site-footer__note { display: block; margin: 2px 0 0 27px; font-size: 0.8125rem; color: var(--on-night-2); }

/* ---------- Service and event pages: light header with the photo print ---------- */
.cover-hero { background: var(--tint); color: var(--ink-2); }
.cover-hero::before, .cover-hero__media { display: none; }
.cover-hero__title { color: var(--ink); }
.cover-hero__lead { color: var(--ink-2); }
.cover-hero__meta { color: var(--muted); }
.cover-hero .btn--light { background: var(--ink); color: #fff; }
.cover-hero .btn--light:hover { background: var(--accent-deep); }
.cover-hero__print-card { box-shadow: var(--shadow-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.lhero__grid { grid-template-columns: 1fr; min-height: 0; }
	.lhero__visual { justify-self: start; max-width: 520px; padding: 0 0 8% 12%; }
	.about-band__grid, .blood__inner, .give__inner { grid-template-columns: 1fr; }
	.give__visual.dropcycle { justify-self: start; }
	.about-band__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
	.lhero { padding-top: calc(var(--header-h) + 28px); }
	.lhero__title { font-size: 9.6vw; }
	.lhero__visual { padding: 0 0 12% 0; max-width: 100%; }
	.lhero__main { aspect-ratio: 1; }
	.lhero__side { display: none; }
	.lhero__card { left: 12px; right: 12px; bottom: 0; max-width: none; }
	.areas__grid { grid-template-columns: 1fr; }
	.strip--flat .strip__item { width: 72vw; }
}
@media (max-width: 400px) {
	.pay__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.lhero__img.is-on, .lhero__side { animation: none; }
	.lhero__ecg-pulse { display: none; }
}
