/* ═══════════════════════════════════════════════════════════
   mantuire.ro — paletă derivată din logo
   vișiniu #671B2F / auriu #D9A46C / lumină #FCE4AD / crem #FAF9F5
   Mobile-first, responsive fără framework.
   ═══════════════════════════════════════════════════════════ */

:root {
  --burgundy:        #671B2F;
  --burgundy-dark:   #4E1424;
  --burgundy-deep:   #3B0F1B;
  --gold:            #D9A46C;
  --gold-strong:     #C58A4C;
  --gold-deep:       #96601F;   /* variantă închisă, contrast AA pe fundal deschis */
  --gold-light:      #FCE4AD;
  --cream:           #FAF9F5;
  --cream-dark:      #F3EFE6;
  --ink:             #37222A;
  --ink-soft:        #6B5560;
  --white:           #FFFFFF;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Source Sans 3", "Segoe UI", Tahoma, Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(59, 15, 27, .10);
  --shadow-strong: 0 18px 45px rgba(59, 15, 27, .22);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

/* Țintele ancorelor nu trebuie acoperite de header-ul sticky */
[id] { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--burgundy); }
a:hover { color: var(--gold-deep); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ─── Accesibilitate ─── */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--burgundy);
  color: var(--white);
  padding: .6rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ─── Butoane ─── */
.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  color: var(--burgundy-deep);
  box-shadow: 0 6px 18px rgba(197, 138, 76, .35);
}
.btn-primary:hover {
  color: var(--burgundy-deep);
  box-shadow: 0 10px 24px rgba(197, 138, 76, .5);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 2px solid rgba(252, 228, 173, .8);
  color: var(--gold-light);
}
.btn-ghost:hover { background: rgba(252, 228, 173, .12); color: var(--white); }

.btn-light {
  background: var(--cream);
  color: var(--burgundy);
}
.btn-light:hover { background: var(--gold-light); color: var(--burgundy-deep); transform: translateY(-2px); }

.btn-block { display: block; text-align: center; }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(103, 27, 47, .97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(59, 15, 27, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 52px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(252, 228, 173, .35));
}
.brand-text {
  font-family: var(--font-serif);
  /* text mai lung: se micșorează fluid pe ecrane înguste */
  font-size: clamp(1.02rem, 4.4vw, 1.5rem);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-dot { color: var(--gold); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

.nav-cta {
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: .4rem 1.1rem !important;
}
.nav-cta:hover { background: var(--gold); color: var(--burgundy-deep) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-light);
  transition: transform .25s ease, opacity .25s ease;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  color: var(--cream);
  background:
    radial-gradient(1100px 520px at 78% 18%, rgba(252, 228, 173, .16), transparent 60%),
    radial-gradient(900px 600px at 12% 88%, rgba(217, 164, 108, .12), transparent 55%),
    linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-dark) 55%, var(--burgundy-deep) 100%);
  padding-block: 3.2rem 5rem;
}

.hero-inner {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.hero-eyebrow,
.section-eyebrow {
  margin: 0 0 .4rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);   /* pe fundal deschis: contrast AA */
}
.hero-eyebrow,
.section-eyebrow.light { color: var(--gold); }   /* pe fundal vișiniu */

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
  text-shadow: 0 0 22px rgba(252, 228, 173, .45);
}

.hero-lead {
  margin: 0 0 1.1rem;
  font-size: 1.13rem;
  color: rgba(250, 249, 245, .92);
  max-width: 34rem;
}
.hero-lead strong { color: var(--gold-light); }

.hero-verse {
  margin: 1.4rem 0;
  padding: 1rem 1.3rem;
  border-left: 4px solid var(--gold);
  background: rgba(252, 228, 173, .08);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 34rem;
}
.hero-verse p {
  margin: 0 0 .3rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gold-light);
}
.hero-verse cite,
.truth-body cite {
  font-style: normal;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.6rem;
}

.hero-logo {
  justify-self: center;
}
.hero-logo img {
  width: min(320px, 70vw);
  filter: drop-shadow(0 0 45px rgba(252, 228, 173, .38));
  border-radius: 50%;
  animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo img { animation: none; }
}

.hero-wave {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  color: var(--cream);
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 48px; display: block; }

/* ─── Secțiuni generale ─── */
section { padding-block: 4rem; }

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.6rem;
}

h2 {
  margin: 0 0 .6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--burgundy);
}
h2 em { font-style: normal; color: var(--gold-deep); }

/* ─── Cele 5 adevăruri ─── */
.truths { padding-top: 1rem; }

.truth-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  max-width: 50rem;
  margin-inline: auto;
}

.truth-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid rgba(103, 27, 47, .08);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.truth-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.truth-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--burgundy), var(--burgundy-dark));
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(252, 228, 173, .35), 0 6px 14px rgba(59, 15, 27, .25);
}

.truth-body h3 {
  margin: .2rem 0 .7rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--burgundy);
}

.truth-body p { margin: 0 0 .6rem; color: var(--ink); }
.truth-body p:last-child { margin-bottom: 0; }

.truth-body blockquote {
  margin: .8rem 0 0;
  padding: .85rem 1.1rem;
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
}
.truth-body blockquote p {
  margin: 0 0 .25rem;
  font-family: var(--font-serif);
  font-size: 1.17rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--burgundy-dark);
}
.truth-body blockquote cite { color: var(--gold-deep); }

.truth-card-final {
  background: linear-gradient(150deg, #FFF9EE, var(--gold-light));
  border-color: rgba(197, 138, 76, .35);
}
.truth-card-final .btn { margin-top: .4rem; }

/* ─── Rugăciunea ─── */
.prayer {
  background:
    radial-gradient(900px 480px at 50% 0%, rgba(252, 228, 173, .14), transparent 60%),
    linear-gradient(170deg, var(--burgundy-dark), var(--burgundy-deep));
  color: var(--cream);
}

.prayer-card {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.prayer-ornament {
  font-size: 2rem;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(252, 228, 173, .6);
  margin-bottom: .6rem;
}

.prayer h2 { color: var(--white); }

.prayer-text {
  margin: 1.6rem 0;
  padding: 1.8rem 1.6rem;
  background: rgba(250, 249, 245, .07);
  border: 1px solid rgba(252, 228, 173, .28);
  border-radius: var(--radius);
  box-shadow: inset 0 0 40px rgba(252, 228, 173, .05);
}
.prayer-text p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--gold-light);
}
.prayer-amen {
  margin-top: .8rem !important;
  font-size: clamp(1.5rem, 3.6vw, 1.9rem) !important;
  color: var(--white) !important;
}

.prayer-note {
  max-width: 34rem;
  margin: 0 auto 1.4rem;
  color: rgba(250, 249, 245, .85);
}

/* ─── Ofertă + Contact ─── */
.offer { background: var(--cream); }

.offer-grid {
  display: grid;
  /* minmax(0, …) permite coloanei să se îngusteze sub lățimea
     min-content (e-mailul lung nu mai lățește pagina pe mobil) */
  grid-template-columns: minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.offer-text p { max-width: 36rem; }

.contact-card {
  background: var(--white);
  border: 1px solid rgba(103, 27, 47, .08);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--burgundy);
}

.contact-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
}
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }

.contact-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream-dark);
  color: var(--burgundy);
}

/* ─── Radio ─── */
.radio { background: var(--cream-dark); }

.radio-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.radio-card {
  background: var(--white);
  border: 1px solid rgba(103, 27, 47, .08);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.radio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }

.radio-ico {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-bottom: .8rem;
  background: linear-gradient(145deg, var(--burgundy), var(--burgundy-dark));
  color: var(--gold-light);
}

.radio-card h3 {
  margin: 0 0 .3rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--burgundy);
}

.radio-freq {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-deep);
  letter-spacing: .03em;
}

/* ─── Binecuvântare ─── */
.blessing {
  background:
    radial-gradient(700px 380px at 50% 30%, rgba(252, 228, 173, .16), transparent 65%),
    linear-gradient(165deg, var(--burgundy), var(--burgundy-deep));
  text-align: center;
  padding-block: 3.5rem;
}
.blessing img {
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 25px rgba(252, 228, 173, .4));
  border-radius: 50%;
}
.blessing-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold-light);
  text-shadow: 0 0 25px rgba(252, 228, 173, .35);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--burgundy-deep);
  color: rgba(250, 249, 245, .75);
  font-size: .95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.3rem;
}
.footer-inner p { margin: 0; }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* ─── Animații la scroll ───
   Ascunse doar sub html.js-anim (clasă pusă de main.js):
   dacă JS nu rulează, conținutul rămâne vizibil. */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js-anim .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ Desktop ═══ */
@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .hero { padding-block: 4.5rem 6rem; }
  .offer-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  section { padding-block: 5rem; }
}

/* ═══ Mobil: meniu hamburger ═══ */
@media (max-width: 859px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--burgundy-dark);
    box-shadow: 0 14px 28px rgba(59, 15, 27, .45);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 22rem; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem 1.4rem 1.2rem;
  }
  .site-nav li { border-bottom: 1px solid rgba(252, 228, 173, .12); }
  .site-nav li:last-child { border-bottom: 0; padding-top: .8rem; }
  .site-nav a {
    display: block;
    padding: .85rem 0;
    font-size: 1.05rem;
    border-bottom: 0;
  }
  .nav-cta { text-align: center; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero-logo { order: -1; }
  .hero-logo img { width: min(230px, 58vw); }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }

  .truth-card { padding: 1.25rem 1.15rem; grid-template-columns: 1fr; }
  .truth-num { width: 46px; height: 46px; font-size: 1.5rem; }
}
