/* ==========================================================================
   Renovatio: pagina /rugaciune/ (profilul lui Florin Ianovici + formularul de cerere de rugăciune / mesaj, fără cont).
   Se încarcă după intro.css și predica.css. Mobil întâi, o singură coloană, litere mari și ținte mari de apăsat:
   e gândită și pentru oameni în vârstă. Accent: roșul mărcii (#e40008).
   ========================================================================== */

.pagina-rugaciune {
  --r-fundal: #ffffff;
  --r-card: #ffffff;
  --r-linie: #ececec;
  --r-linie-tare: #d6d6d6;
  --r-rosu-slab: #fdf0f0;
  --r-verde: #2f7a4b;
  --r-verde-slab: #eef7f1;
}
.pagina-rugaciune main { background: var(--r-fundal); }

.rugp { padding: clamp(28px, 6vw, 64px) 0 clamp(48px, 8vw, 96px); }
.rugp__cadru { width: min(100% - 32px, 640px); margin-inline: auto; }

/* profilul */
.rugp__profil { text-align: center; margin: 0 0 clamp(24px, 5vw, 36px); }
.rugp__foto-cadru { position: relative; display: block; width: clamp(116px, 30vw, 148px); margin: 0 auto 16px; }
.rugp__foto { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
/* insigna „cont verificat”, dreapta jos, ca la Facebook */
.rugp__verificat { position: absolute; right: 1%; bottom: 3%; width: 27%; aspect-ratio: 1; }
.rugp__verificat svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rugp__verificat-fond { fill: #1877f2; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; paint-order: stroke; }
.rugp__verificat-bifa { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rugp__nume { margin: 0; font: 600 clamp(2rem, 7vw, 2.625rem)/1.1 var(--font-serif); letter-spacing: -.01em; color: var(--p-text); }
.rugp__rol { margin: 8px 0 0; font: 600 clamp(.9375rem, 2.6vw, 1.0625rem)/1.4 var(--font-text); color: var(--p-text-3); }
.rugp__rol span { color: var(--rosu); }
.rugp__lead { max-width: 34em; margin: 16px auto 0; font: 400 clamp(1.125rem, 3vw, 1.25rem)/1.55 var(--font-serif); color: var(--p-text-2); text-wrap: pretty; }

.rugp__fara-js { margin: 0 0 18px; padding: 14px 16px; font: 1rem/1.5 var(--font-text); background: #fff; border: 1px solid var(--r-linie-tare); border-left: 3px solid var(--rosu); border-radius: 10px; }

/* formularul */
.rugp__form, .rugp__gata { display: grid; gap: 28px; padding: clamp(24px, 5vw, 32px) 0 0; border-top: 1px solid var(--r-linie); }
.rugp__form[hidden], .rugp__gata[hidden] { display: none; }
.rugp__tip, .rugp__contact { min-width: 0; margin: 0; padding: 0; border: 0; }
.rugp__intrebare { display: block; float: left; width: 100%; margin: 0 0 10px; padding: 0; font: 700 clamp(1.125rem, 3vw, 1.1875rem)/1.35 var(--font-text); color: var(--p-text); }
.rugp__intrebare + * { clear: both; }
.rugp__opt { margin-left: 4px; font-weight: 400; font-size: .875em; color: var(--p-text-3); white-space: nowrap; }
.rugp__ajutor { margin: 0 0 12px; font: 400 1rem/1.5 var(--font-text); color: var(--p-text-3); }

/* alegerea: două carduri mari */
.rugp__alegeri { display: grid; gap: 10px; }
@media (min-width: 520px) { .rugp__alegeri { grid-template-columns: 1fr 1fr; } }
.rugp__alege { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; cursor: pointer; background: #fff; border: 1.5px solid var(--r-linie-tare); border-radius: 14px; transition: border-color .15s, background-color .15s; -webkit-tap-highlight-color: transparent; }
.rugp__alege input { position: absolute; opacity: 0; pointer-events: none; }
.rugp__alege-ico { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #f4f4f4; color: var(--p-text-3); transition: background-color .15s, color .15s; }
.rugp__alege-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rugp__alege-text { display: grid; gap: 2px; }
.rugp__alege-text b { font: 700 1.0625rem/1.25 var(--font-text); color: var(--p-text); }
.rugp__alege-text small { font: 400 .9375rem/1.3 var(--font-text); color: var(--p-text-3); }
.rugp__alege:hover { border-color: #b8b8b8; }
.rugp__alege:has(input:checked) { border-color: var(--rosu); background: var(--r-rosu-slab); }
.rugp__alege:has(input:checked) .rugp__alege-ico { background: var(--rosu); color: #fff; }
.rugp__alege:has(input:focus-visible) { outline: 3px solid rgba(228, 0, 8, .35); outline-offset: 2px; }

/* rubricile */
.rugp__camp { display: grid; gap: 8px; min-width: 0; }
.rugp__camp > label:not(.rugp__intrebare) { font: 600 1rem/1.3 var(--font-text); color: var(--p-text-2); }
.rugp__form input[type="text"], .rugp__form input[type="tel"], .rugp__form input[type="email"], .rugp__form textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; font: 400 1.125rem/1.45 var(--font-text); color: var(--p-text);
  background: #fff; border: 1.5px solid var(--r-linie-tare); border-radius: 12px; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.rugp__form textarea { min-height: 170px; resize: vertical; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.5; }
.rugp__form input:focus, .rugp__form textarea:focus { border-color: var(--p-text); box-shadow: 0 0 0 4px rgba(20, 20, 20, .08); }
.rugp__form ::placeholder { color: #9a948b; opacity: 1; }
.rugp__doua { display: grid; gap: 14px; }
@media (min-width: 560px) { .rugp__doua { grid-template-columns: 1fr 1fr; } }

/* câmpul-capcană pentru roboți: în afara ecranului, nu „display: none” */
.rugp__capcana { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* butonul */
.rugp__buton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 64px; padding: 0 22px; font: 700 clamp(1.125rem, 3.2vw, 1.25rem)/1.2 var(--font-text); color: #fff; background: var(--rosu); border: 0; border-radius: 14px; cursor: pointer; transition: background-color .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.rugp__buton svg { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rugp__buton:hover { background: var(--rosu-hover, #c70007); }
.rugp__buton:active { transform: scale(.99); }
.rugp__buton:focus-visible { outline: 3px solid rgba(228, 0, 8, .4); outline-offset: 3px; }
.rugp__buton:disabled { opacity: .7; cursor: progress; }
.rugp__buton--gol { color: var(--p-text); background: #fff; border: 2px solid var(--r-linie-tare); }
.rugp__buton--gol:hover { background: var(--p-fundal-2); }

.rugp__eroare { margin: -10px 0 0; padding: 14px 16px; font: 600 1.0625rem/1.45 var(--font-text); color: #9b0006; background: var(--r-rosu-slab); border-radius: 12px; }
.rugp__eroare[hidden] { display: none; }
.rugp__nota { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -12px 0 0; font: 400 .9375rem/1.4 var(--font-text); color: var(--p-text-3); text-align: center; }
.rugp__nota svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* după trimitere */
.rugp__gata { justify-items: center; gap: 14px; text-align: center; outline: none; }
.rugp__gata-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: var(--r-verde); animation: rugp-apare .35s ease-out both; }
.rugp__gata-ico svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rugp__gata-titlu { margin: 4px 0 0; font: 600 clamp(1.75rem, 6vw, 2.25rem)/1.15 var(--font-serif); color: var(--p-text); }
.rugp__gata-text { max-width: 30em; margin: 0 0 8px; font: 400 clamp(1.125rem, 3vw, 1.25rem)/1.55 var(--font-serif); color: var(--p-text-2); }
@keyframes rugp-apare { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rugp__gata-ico { animation: none; } }

/* biserica: program și adresă */
.rugp__biserica { margin-top: clamp(36px, 7vw, 56px); padding: clamp(24px, 5vw, 32px) 0 0; text-align: left; border-top: 1px solid var(--r-linie); }
.rugp__biserica-titlu { margin: 0 0 14px; font: 600 clamp(1.375rem, 4.5vw, 1.625rem)/1.2 var(--font-serif); color: var(--p-text); }
.rugp__rand { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 10px; font: 400 1.0625rem/1.5 var(--font-text); color: var(--p-text-2); }
.rugp__rand svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--rosu); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rugp__rand b { color: var(--p-text); }
.rugp__traseu { display: inline-flex; align-items: center; min-height: 48px; margin-top: 6px; padding: 0 18px; font: 600 1rem/1 var(--font-text); color: var(--p-text); text-decoration: none; background: #fff; border: 2px solid var(--r-linie-tare); border-radius: 999px; }
.rugp__traseu:hover { border-color: var(--p-text); }

/* pe telefon: „Biserica Renovatio București” pe rândul ei, fără punct; butonul pe un singur rând */
@media (max-width: 479px) {
  .rugp__rol span { display: block; height: 0; overflow: hidden; }
  .rugp__buton { gap: 10px; padding: 0 14px; font-size: 1.0625rem; }
}

/* rubrică obligatorie: steluța roșie */
.rugp__stea { margin-left: 2px; color: var(--rosu); font-weight: 700; }

/* după trimitere: „Vrei să-ți faci cont?” (doar parola; emailul doar dacă nu l-a scris în formular) */
.rugp__cont { display: grid; gap: 16px; width: 100%; margin: 6px 0 4px; padding: 22px 0 0; text-align: left; border-top: 1px solid var(--r-linie); }
.rugp__cont[hidden], .rugp__cont-gata[hidden] { display: none; }
.rugp__cont-titlu { margin: 0; font: 600 clamp(1.375rem, 4.5vw, 1.625rem)/1.2 var(--font-serif); color: var(--p-text); }
.rugp__cont-text { margin: -8px 0 0; font: 400 1.0625rem/1.5 var(--font-text); color: var(--p-text-2); }
.rugp__cont .rugp__camp > label { font: 600 1rem/1.3 var(--font-text); color: var(--p-text-2); }
.rugp__cont input[type="email"], .rugp__cont input[type="password"], .rugp__cont input[type="text"] {
  width: 100%; min-height: 56px; padding: 14px 16px; font: 400 1.125rem/1.45 var(--font-text); color: var(--p-text);
  background: #fff; border: 1.5px solid var(--r-linie-tare); border-radius: 12px; outline: none; -webkit-appearance: none; appearance: none;
}
.rugp__cont input:focus { border-color: var(--p-text); box-shadow: 0 0 0 4px rgba(20, 20, 20, .08); }
.rugp__parola { position: relative; }
.rugp__parola input { padding-right: 96px !important; }
.rugp__arata { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); min-height: 40px; padding: 0 14px; font: 600 .9375rem/1 var(--font-text); color: var(--p-text-2); background: #f4f4f4; border: 0; border-radius: 9px; cursor: pointer; }
.rugp__nu-acum { justify-self: center; padding: 8px 12px; font: 600 .9375rem/1.2 var(--font-text); color: var(--p-text-3); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rugp__cont .rugp__eroare { margin: -4px 0 0; }
.rugp__cont-gata { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 6px 0 4px; padding: 16px 18px; text-align: left; background: var(--r-verde-slab); border-radius: 14px; }
.rugp__cont-gata-ico { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--r-verde); color: #fff; }
.rugp__cont-gata-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rugp__cont-gata p { margin: 0; font: 600 1.0625rem/1.5 var(--font-text); color: #1f5133; }
.rugp__nota a { color: inherit; text-underline-offset: 3px; }

/* toate butoanele în formă de pastilă (radius 999), la fel ca Google / Facebook */
.rugp__buton, .rugp__arata, .rugp__traseu { border-radius: 999px; }

/* legătura spre biografie (/florinianovici/): rolul de sub nume și un link discret sub text, ca oamenii să afle cine e Florin Ianovici */
.rugp__rol a { color: inherit; text-decoration: none; }
.rugp__rol a:hover { color: var(--rosu); }
.rugp__bio { margin: 14px 0 0; }
.rugp__bio a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; font: 600 .9375rem/1.2 var(--font-text); color: var(--p-text); text-decoration: none; border-bottom: 1px solid var(--p-linie-2); transition: color .15s, border-color .15s; }
.rugp__bio a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.rugp__bio a:hover { color: var(--rosu); border-color: var(--rosu); }
.rugp__bio a:hover svg { transform: translateX(3px); }
