/* ==========================================================================
   Donează — Figma „web-donatii” (1498:518)
   Bara: grup #F7F3F2 (h 60, raza 38, 10 px înăuntru) centrat peste o linie fină pe toată lățimea;
   pastile h 39, raza 31, Foco 900 · 20 alb, inactiv #483041, activ #FF8C1A, iconiță Haicon albă 15 px.
   Formularul (cardul GiveWP) are 773 px, centrat, la 80 px sub bară.
   ========================================================================== */
.dn { width: min(var(--elim-grid, 1280px), 100% - 2 * var(--elim-gutter, 20px)); margin: 0 auto; }

/* ---------- bara cu moduri de a dărui ---------- */
.dn-bar { position: relative; display: flex; justify-content: center; margin: 8px 0 80px; }
.dn-bar::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 100vw; height: 1px; margin-left: -50vw;
	background: #E9E0DE; z-index: 0;
}
.dn-tabs {
	position: relative; z-index: 1;
	display: flex; gap: 10px; padding: 10px;
	background: #F7F3F2; border-radius: 38px;
	max-width: 100%; overflow-x: auto; scrollbar-width: none;
	box-shadow: 0 0 0 14px #fff; /* linia se oprește la distanță de grup, ca în Figma */
}
.dn-tabs::-webkit-scrollbar { display: none; }
.dn-tab {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; gap: 12px;
	height: 39px; min-width: 129px; padding: 0 26px 0 15px; box-sizing: border-box;
	border: 0; border-radius: 31px; background: #483041; color: #fff;
	font-family: "foco", sans-serif; font-weight: 900; font-size: 20px; line-height: 1; white-space: nowrap;
	cursor: pointer; transition: background-color .25s ease, transform .2s ease;
}
.dn-tab:hover { background: #5a3d52; }
.dn-tab.is-on { background: #FF8C1A; }
.dn-tab:focus-visible { outline: 2px solid #483041; outline-offset: 3px; }
.dn-tab__ic { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.dn-tab__ic svg { width: auto; height: 15px; max-width: 18px; display: block; }
.dn-tab__t { flex: 1; text-align: center; }
.dn-tab[data-dn-tab="card"], .dn-tab[data-dn-tab="paypal"] { min-width: 160px; }

/* ---------- panouri ---------- */
.dn-panel.is-off { display: none; }
.dn-panel { animation: dn-in .45s cubic-bezier(.22, .8, .2, 1); }
@keyframes dn-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.dn-give { max-width: 773px; margin: 0 auto; }
.dn-give iframe { width: 100% !important; }

.dn-notes { list-style: none; padding: 0; margin: 40px auto 0; max-width: 773px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dn-notes li { display: flex; flex-direction: column; gap: 6px; font-family: "macha", sans-serif; font-size: 16px; line-height: 1.5; color: #585058; }
.dn-notes .elim-t-label { margin: 0; }
.dn-more { text-align: center; margin: 28px 0 0; font-family: "macha", sans-serif; font-size: 16px; }
.dn-more a { color: #483041; text-decoration: underline; text-decoration-color: #DAA769; text-underline-offset: 3px; }

/* carduri (PayPal, transfer, 230, timp): aceeași familie cu cardul de donație — nisipiu, raza 38 */
.dn-card { max-width: 773px; margin: 0 auto; box-sizing: border-box; padding: 44px 48px; border-radius: 38px; background: #F7F3F2; text-align: center; }
.dn-card--wide { text-align: left; }
.dn-card .elim-t-label { margin: 0 0 8px; }
.dn-card__t { margin: 0 0 14px; font-family: "macha", sans-serif; font-weight: 700; font-size: 25px; line-height: 1.3; color: #1B141A; }
.dn-card__p { margin: 0 0 18px; font-family: "macha", sans-serif; font-size: 18px; line-height: 1.5; color: #585058; }
.dn-card__p a, .dn-card__note a { color: #483041; text-decoration: underline; text-decoration-color: #DAA769; text-underline-offset: 3px; }
.dn-card__note { margin: 16px 0 0; font-family: "macha", sans-serif; font-size: 15px; line-height: 1.5; color: #82717D; }
.dn-card--intro { margin-bottom: 32px; }
.dn-btn {
	display: inline-flex; align-items: center; justify-content: center; margin-top: 8px;
	padding: 15px 36px; border-radius: 50px; background: #DAA769; color: #1B141A !important; text-decoration: none !important;
	font-family: "macha", sans-serif; font-weight: 500; font-size: 18px; line-height: 1; transition: transform .2s, box-shadow .2s;
}
.dn-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(27, 20, 26, .45); }

/* transfer: rânduri cu buton „Copiază” */
.dn-bank { margin: 8px 0 0; display: grid; gap: 0; }
.dn-bank > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid #E9E0DE; }
.dn-bank > div:first-child { border-top: 0; }
.dn-bank dt { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 12px; line-height: 1.3; text-transform: uppercase; color: #DAA769; }
.dn-bank dd { margin: 0; min-width: 0; }
.dn-copy__v { font-family: "macha", sans-serif; font-size: 18px; line-height: 1.35; color: #1B141A; overflow-wrap: anywhere; }
.dn-mono { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.dn-copy {
	all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.dn-copy__t {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
	border: 1px solid #DAA769; background: #fff;
	font-family: "macha", sans-serif; font-weight: 500; font-size: 14px; line-height: 1; color: #483041; transition: background-color .2s, color .2s;
}
.dn-copy:hover .dn-copy__t, .dn-copy:focus-visible .dn-copy__t { background: #DAA769; color: #1B141A; }
.dn-copy:focus-visible { outline: 2px solid #483041; outline-offset: 4px; border-radius: 10px; }
.dn-copy.is-copied .dn-copy__t { background: #483041; border-color: #483041; color: #fff; }
.dn-copy__ic { display: none; }

/* timp: zonele de slujire ca pastile */
.dn-chips { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.dn-chips li { padding: 9px 16px; border-radius: 999px; background: #fff; font-family: "macha", sans-serif; font-size: 16px; line-height: 1.2; color: #483041; }

/* Formularul 230 (plugin): pe grila cardului */
.dn-f230 { max-width: 773px; margin: 0 auto; }

/* ---------- versetul de final (Isaia 43:4), Figma 1498:586 ----------
   Foco 900 · 44, #F7F3F2 cu frazele-cheie în #E2D6D3, centrat, lipit de subsol. */
.dn-verse {
	max-width: 1241px; margin: 120px auto 0; padding: 0 var(--elim-gutter, 20px) 18px; box-sizing: content-box;
	font-family: "foco", sans-serif; font-weight: 900; font-size: 44px; line-height: 1.15; text-align: center; color: #F7F3F2;
}
.dn-verse b { font-weight: 900; color: #E2D6D3; }
.dn-verse cite { display: block; margin-top: 10px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 13px; font-style: normal; text-transform: uppercase; color: #E2D6D3; }

@media (max-width: 1024px) {
	.dn-bar { margin-bottom: 56px; }
	.dn-verse { font-size: 34px; }
}
@media (max-width: 767px) {
	.dn-bar { margin: 0 calc(-1 * var(--elim-gutter, 20px)) 36px; justify-content: flex-start; }
	.dn-bar::before { display: none; }
	.dn-tabs { border-radius: 0; padding: 8px var(--elim-gutter, 20px); box-shadow: none; gap: 8px; background: #F7F3F2; width: 100%; box-sizing: border-box; }
	.dn-tab { height: 38px; min-width: 0 !important; padding: 0 16px 0 12px; font-size: 17px; gap: 9px; }
	.dn-notes { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
	.dn-card { padding: 28px 22px; border-radius: 28px; }
	.dn-card__t { font-size: 22px; }
	.dn-card__p { font-size: 17px; }
	.dn-bank > div { grid-template-columns: 1fr; gap: 6px; }
	.dn-copy__v { font-size: 16px; }
	.dn-verse { font-size: 26px; margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) { .dn-panel { animation: none; } .dn-tab, .dn-btn { transition: none; } }
/* GiveWP: încărcătorul de sub iframe rămânea afișat după încărcare (90 px goi) */
.dn-give .iframe-loader { display: none !important; }
.dn-notes { margin-top: 24px; }
/* lățimile pastilelor ca în Figma (desktop) */
@media (min-width: 1025px) {
	.dn-tab[data-dn-tab="transfer"] { min-width: 242px; }
	.dn-tab[data-dn-tab="f230"] { min-width: 216px; }
}
/* iframe-ul GiveWP are ~90 px goi sub „Donație securizată” */
.dn-give { margin-bottom: -64px; position: relative; z-index: 0; }
.dn-notes { position: relative; z-index: 1; }
.dn-give.dn-give--gata { margin-bottom: 24px; }
/* Formularul 230: tipografia site-ului */
.dn-f230, .dn-f230 input, .dn-f230 label, .dn-f230 select { font-family: "macha", sans-serif !important; }
/* telefon: cele cinci moduri, toate vizibile (două rânduri), fără derulare laterală */
@media (max-width: 767px) {
	.dn-bar { margin: 0 0 32px; justify-content: center; }
	.dn-tabs { flex-wrap: wrap; justify-content: center; border-radius: 28px; padding: 8px; width: auto; overflow: visible; }
	.dn-tab { height: 36px; font-size: 16px; padding: 0 14px 0 10px; }
}

/* Versetul: Foco 900 peste tot (și frazele-cheie); cuvintele-cheie se aprind auriu pe rând, aleator */
.dn-verse, .dn-verse span { font-family: "foco", sans-serif !important; font-weight: 900 !important; }
.dn-verse span { color: #F7F3F2; transition: color 1.2s ease, text-shadow 1.2s ease; }
.dn-verse span.is-em { color: #E2D6D3; }
.dn-verse span.is-lit { color: #DAA769; text-shadow: 0 0 18px rgba(218, 167, 105, .35); transition-duration: .7s; }
@media (prefers-reduced-motion: reduce) { .dn-verse span { transition: none; } }

/* Versetul (client): o singură culoare de bază (#F7F3F2); cuvântul aprins ia nuanța #E2D6D3. Fără auriu. */
.dn-verse span, .dn-verse span.is-em { color: #F7F3F2; text-shadow: none; }
.dn-verse span.is-lit { color: #E2D6D3; text-shadow: none; }
.dn-verse cite { display: none; }

/* Trimiterea Isaia 43:4: filă lipită de marginea din dreapta a ecranului, intră din afara lui */
.dn-verse-wrap { position: relative; }
.dn-verse__ref {
	position: absolute; top: 50%; right: calc(-1 * (100vw - 100%) / 2);
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 22px 12px 18px; border-radius: 999px 0 0 999px;
	background: #F7F3F2; color: #483041 !important; text-decoration: none !important;
	font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 13px; line-height: 1; text-transform: uppercase;
	transform: translate(105%, -50%); transition: transform .9s cubic-bezier(.22, .8, .2, 1), background-color .25s, color .25s;
}
.dn-verse-wrap.is-in .dn-verse__ref { transform: translate(0, -50%); }
.dn-verse__ref:hover, .dn-verse__ref:focus-visible { background: #DAA769; color: #1B141A !important; outline: none; }
.dn-verse__ref-ic {
	width: 16px; height: 16px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.3 5 7.8 4.3 4 4.5v13c3.8-.2 6.3.5 8 2 1.7-1.5 4.2-2.2 8-2v-13c-3.8-.2-6.3.5-8 2Zm0 0v13'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.3 5 7.8 4.3 4 4.5v13c3.8-.2 6.3.5 8 2 1.7-1.5 4.2-2.2 8-2v-13c-3.8-.2-6.3.5-8 2Zm0 0v13'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 1440px) {
	/* pe ecrane mai înguste fila stă sub verset, tot lipită de margine */
	.dn-verse__ref { top: auto; bottom: -46px; transform: translate(105%, 0); }
	.dn-verse-wrap.is-in .dn-verse__ref { transform: translate(0, 0); }
	.dn-verse-wrap { padding-bottom: 46px; }
}
@media (prefers-reduced-motion: reduce) { .dn-verse__ref { transition: none; } }
@media (max-width: 1440px) {
	.dn-verse-wrap { padding-bottom: 64px; }
	.dn-verse__ref { bottom: 16px; }
}

/* Expresii întregi (nu cuvinte) se aprind; aceeași singură nuanță de bază */
.dn-verse .dn-ph { color: #F7F3F2; transition: color 1.2s ease; }
.dn-verse .dn-ph.is-lit { color: #E2D6D3; transition-duration: .7s; }

/* Fila de trimitere: hover mov, ca pastilele (Viziunea / Misiunea); iconița-carte a site-ului */
.dn-verse__ref { --dn-ref-bg: #F7F3F2; color: #483041 !important; }
.dn-verse__ref:hover, .dn-verse__ref:focus-visible { --dn-ref-bg: #483041; background: #483041; color: #fff !important; }
.dn-verse__ref .elim-book { width: 18px; height: 17px; flex-shrink: 0; overflow: visible; }
.dn-verse__ref .elim-book__pg path { transition: fill .25s; }
.dn-verse__ref:hover .elim-book__pg { animation: elimPage 1s cubic-bezier(.45, .05, .3, 1) both; }
.dn-verse__ref:hover .elim-book__pg--2 { animation-delay: .28s; }

/* =========================================================================
   Telefon (audit 24 oct. 2026): formularele încap, butoanele egale
   ========================================================================= */
@media (max-width: 767px) {
	.dn-give { margin-bottom: 0; }
	.dn-notes { margin-top: 28px; }
	.dn-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; box-sizing: border-box; border-radius: 26px; }
	.dn-tab { width: 100%; justify-content: flex-start; height: 42px; font-size: 16px; padding: 0 14px; }
	.dn-tab__t { text-align: left; }
	.dn-tab[data-dn-tab="timp"] { grid-column: 1 / -1; justify-content: center; }
	.dn-tab[data-dn-tab="timp"] .dn-tab__t { flex: 0 0 auto; }
	.dn-btn { width: 100%; box-sizing: border-box; }
	/* Formularul 230 (plugin): nimic nu iese din ecran */
	.dn-f230, .dn-f230 * { max-width: 100%; box-sizing: border-box; }
	.dn-f230 .row, .dn-f230 [class*="col-"] { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; flex: 0 0 100% !important; }
	.dn-f230 input[type="text"], .dn-f230 input[type="email"], .dn-f230 input[type="tel"], .dn-f230 input:not([type]) { width: 100% !important; }
	.dn-f230 label { white-space: normal !important; overflow-wrap: anywhere; }
	.dn-f230 input[type="checkbox"] { width: 18px !important; height: 18px; flex: 0 0 auto; margin: 3px 10px 0 0; float: left; }
	.dn-f230 canvas { width: 100% !important; height: auto; border-radius: 14px; }
	.dn-f230 button, .dn-f230 input[type="submit"] { width: 100%; }
}
/* conținutul stă deja în coloana Elementor (pe grilă): nu mai scădem încă o dată marginile */
.dn { width: 100%; max-width: var(--elim-grid, 1280px); }
@media (max-width: 767px) {
	.dn-tab { font-size: 15px; gap: 9px; padding: 0 12px; }
}
/* Telefon (client): bara rămâne liniară, ca pe desktop, și se derulează cu degetul stânga/dreapta */
@media (max-width: 767px) {
	.dn-bar { margin: 0 calc(-1 * var(--elim-gutter, 20px)) 32px; justify-content: flex-start; }
	.dn-tabs {
		display: flex; flex-wrap: nowrap; width: 100%; box-sizing: border-box; gap: 8px;
		padding: 8px var(--elim-gutter, 20px); border-radius: 0; background: #F7F3F2; box-shadow: none;
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
		scroll-padding-inline: var(--elim-gutter, 20px);
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
		        mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
	}
	.dn-tab, .dn-tab[data-dn-tab="timp"] { width: auto; flex: 0 0 auto; grid-column: auto; justify-content: flex-start; height: 40px; padding: 0 18px 0 14px; font-size: 16px; scroll-snap-align: start; }
	.dn-tab__t { text-align: left; }
	.dn-tabs::after { content: ""; flex: 0 0 4px; }
}
@media (max-width: 767px) {
	/* centrat + derulare = primele pastile ieșeau în stânga, de neatins */
	.dn-tabs { justify-content: flex-start !important; }
}

/* ---------- „Timp”: formularul pentru voluntari (același limbaj ca formularul de la Prima vizită) ---------- */
.dn-form { margin-top: 6px; }
.dn-form__arii { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.dn-form__arii legend, .dn-form__f > span { width: 100%; margin-bottom: 10px; padding: 0; font-family: "macha", sans-serif; font-weight: 500; font-size: 15px; line-height: 1.3; color: #483041; }
.dn-form__arii legend span, .dn-form__f em { font-style: normal; font-weight: 400; color: #82717D; }
.dn-chip { position: relative; cursor: pointer; }
.dn-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dn-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid transparent; border-radius: 999px; background: #fff; font-family: "macha", sans-serif; font-weight: 500; font-size: 16px; line-height: 1.2; color: #483041; transition: background-color .2s, color .2s, border-color .2s; }
.dn-chip span::before { content: ""; width: 0; height: 11px; margin-right: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0; transition: width .2s, margin .2s, opacity .2s; }
.dn-chip:hover span { border-color: #DAA769; }
.dn-chip input:checked + span { background: #483041; color: #fff; }
.dn-chip input:checked + span::before { width: 6px; margin-right: 10px; opacity: 1; }
.dn-chip input:focus-visible + span { outline: 2px solid #DAA769; outline-offset: 2px; }
.dn-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dn-form__f { display: flex; flex-direction: column; margin: 0; }
.dn-form__f > span { margin-bottom: 6px; }
.dn-form__f--full { grid-column: 1 / -1; }
.dn-form input[type="text"], .dn-form textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #E2D6D3; border-radius: 16px; background: #fff; font-family: "macha", sans-serif; font-size: 17px; line-height: 1.4; color: #1B141A; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.dn-form textarea { min-height: 96px; resize: vertical; }
.dn-form input:focus, .dn-form textarea:focus { outline: none; border-color: #DAA769; box-shadow: 0 0 0 3px rgba(218, 167, 105, .25); }
.dn-form__check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 22px; font-family: "macha", sans-serif; font-size: 15px; line-height: 1.5; color: #585058; cursor: pointer; }
.dn-form__check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: #483041; }
.dn-form__check a { color: #483041; text-decoration: underline; text-decoration-color: #DAA769; text-underline-offset: 3px; }
.dn-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dn-form__btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border: 0; border-radius: 999px; background: #483041; color: #fff; font-family: "macha", sans-serif; font-weight: 700; font-size: 17px; cursor: pointer; transition: background-color .25s, color .25s; }
.dn-form__btn:hover, .dn-form__btn:focus-visible { background: #DAA769; color: #1B141A; outline: none; }
.dn-form__alt { margin: 22px 0 0 !important; font-size: 16px !important; }
.dn-msg { margin: 6px 0 20px; padding: 18px 22px; border-radius: 20px; background: #fff; font-family: "macha", sans-serif; font-size: 17px; line-height: 1.5; color: #585058; }
.dn-msg strong { display: block; margin-bottom: 4px; font-weight: 700; color: #1B141A; }
.dn-msg--ok { border: 1px solid #DAA769; }
.dn-msg--err { border: 1px solid #E8A5A0; }
@media (max-width: 767px) { .dn-form__grid { grid-template-columns: minmax(0, 1fr); } .dn-form__btn { width: 100%; } }
