/* DuoLuz: pagina principală (conceptul A). Mobil întâi; două coloane în erou de la 1000 px, grilele de la 900 px. */

/* ---------- eroul: cer de noapte ---------- */
.hero {
  background: radial-gradient(500px 400px at 80% 0%, var(--night-glow) 0%, var(--night-1) 50%, var(--night-0) 100%);
  padding-block: calc(var(--header-h) + 22px) 40px;
}
.sky-lg { display: none; }
.hero-grid { display: grid; grid-template-areas: "text" "art" "actions"; }
.hero-text { grid-area: text; }
.hero-title { font-size: clamp(44px, 4.5vw + 26px, 68px); line-height: 1.03; margin-block: 16px 12px; font-weight: 600; letter-spacing: -.5px; }
.hero-title em { display: block; color: var(--gold-1); font-weight: 500; }
.hero-lead { color: var(--blue-pale); font-size: 17px; max-width: 520px; }
.hero-actions { grid-area: actions; }
.hero-note { margin-block-start: 16px; font-size: 14px; color: var(--on-night-soft); }

@media (min-width: 1000px) {
  .hero {
    background: radial-gradient(1200px 500px at 70% 10%, var(--night-glow) 0%, var(--night-1) 45%, var(--night-0) 100%);
    padding-block: calc(var(--header-h) + 40px) 90px;
  }
  .sky-sm { display: none; }
  .sky-lg { display: block; }
  /* textul și butoanele stau împreună, centrate pe verticală lângă constelație (ca în machetă) */
  .hero-grid {
    grid-template-columns: 1.05fr 1fr; column-gap: 40px;
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". art" "text art" "actions art" ". art";
  }
  .hero-title { margin-block: 22px 18px; letter-spacing: -1px; }
  .hero-lead { font-size: 19px; }
  .hero-actions .btn-row { margin-block-start: 30px; }
  .hero-note { margin-block-start: 22px; }
}

/* ---------- constelația (decorativă); mărimile în cqw, ca totul să crească împreună cu lățimea ---------- */
.constellation {
  grid-area: art; position: relative; width: 100%; max-width: 440px; aspect-ratio: 350 / 230;
  margin-block: 18px; container-type: inline-size;
}
.c-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-lines-lg { display: none; }
.c-member { position: absolute; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--white); }
.c-member strong { font-size: 13px; font-size: 3.7cqw; }
.c-member-a { inset-inline-start: 5.7%; top: 8.7%; }
.c-member-b { inset-inline-end: 5.7%; top: 47.8%; }
.c-avatar {
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  width: 64px; height: 64px; font-size: 26px; width: 18.3cqw; height: 18.3cqw; font-size: 7.4cqw;
  border: 3px solid var(--gold-1);
}
.c-avatar-warm { background: var(--avatar-warm); }
.c-avatar-cool { background: var(--avatar-cool); border-color: var(--blue-soft); }
.c-meta, .c-match-note, .c-bubble { display: none; }
.c-match {
  position: absolute; inset-inline-start: 34.3%; top: 34.8%; display: flex; flex-direction: column;
  background: var(--white); color: var(--navy); border-radius: 16px; padding: 8px 14px; box-shadow: var(--shadow-pop);
}
.c-match-label { font-size: 11px; font-size: 3.2cqw; font-weight: 700; color: var(--gold-text); letter-spacing: .5px; text-transform: uppercase; }
.c-match-value { font-size: 28px; font-size: 8cqw; font-weight: 600; line-height: 1; }

@media (min-width: 1000px) {
  .constellation { max-width: 560px; aspect-ratio: 560 / 460; margin: 0; align-self: center; justify-self: end; }
  .c-lines-sm { display: none; }
  .c-lines-lg { display: block; }
  .c-member {
    width: 35.4cqw; padding: 2.5cqw; border-radius: 20px;          /* 198 px din 560: 170 px de conținut + 2 × 14 px, ca în machetă */
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .c-member strong { font-size: max(12px, 2.9cqw); }
  .c-member-a { inset-inline-start: 7.1%; top: 13%; }
  .c-member-b { inset-inline-end: 3.6%; top: 56.5%; }
  .c-avatar { width: 12.9cqw; height: 12.9cqw; font-size: 5.4cqw; margin-block-end: 1.4cqw; }
  .c-meta { display: block; font-size: max(11px, 2.3cqw); color: var(--on-night-muted); line-height: 1.35; }
  .c-match { inset-inline-start: 41%; top: 41.3%; border-radius: 18px; padding: 1.8cqw 2.9cqw; }
  .c-match-label { font-size: max(11px, 2.15cqw); }
  .c-match-value { font-size: 6cqw; }
  .c-match-note { display: block; font-size: max(11px, 2.15cqw); color: var(--muted); }
  .c-bubble {
    display: block; position: absolute; inset-inline-start: 10.7%; bottom: 2.2%; max-width: 51.4cqw;
    background: var(--white); color: var(--ink); border-radius: 18px 18px 18px 4px; padding: 1.8cqw 2.5cqw;
    font-size: max(12px, 2.5cqw); box-shadow: var(--shadow-pop);
  }
  .c-bubble span { display: block; font-size: max(11px, 2cqw); color: var(--muted); text-align: end; }
}

/* ---------- de ce DuoLuz ---------- */
.section-head { text-align: center; margin-block-end: 20px; }
.section-head .stars { color: var(--gold-2); }
.section-head h2 { font-size: 30px; margin-block: 4px; }
.section-head p { font-size: 16px; }
.why-grid { display: grid; gap: 14px; }
.why-card { display: flex; gap: 14px; align-items: center; }
.why-card .tile { width: 64px; height: 64px; font-size: 30px; }
.why-card h3 { font-size: 20px; margin-block-end: 2px; }
.why-card p { font-size: 15px; }

@media (min-width: 900px) {
  .section-head { margin-block-end: 36px; }
  .section-head .stars { font-size: 22px; }
  .section-head h2 { font-size: 44px; margin-block: 6px; }
  .section-head p { font-size: 18px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .why-card { display: block; }
  .why-card .tile { width: auto; height: 120px; font-size: 52px; margin-block-end: 18px; }
  .why-card h3 { font-size: 24px; margin-block-end: 6px; }
  .why-card p { font-size: 16px; }
}

/* ---------- ce fac membrii (exemple) ---------- */
.activities-grid { display: grid; gap: 16px; }
.activities-intro h2 { font-size: 30px; margin-block: 10px; line-height: 1.1; }
.activities-intro h2 em { color: var(--blue); }
.activities-intro p { font-size: 16px; }
.act-cards { display: grid; gap: 14px; }
.act-card h3 { font-size: 21px; margin-block: 6px 4px; }
.act-card p { font-size: 15px; }
.act-card-night { background: linear-gradient(160deg, var(--night-1), var(--night-2)); color: var(--white); border: 0; }
.act-card-night p { color: var(--blue-pale); }
.act-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.act-label-gold { color: var(--gold-1); }
.act-label-goldtext { color: var(--gold-text); }
.act-label-blue { color: var(--blue); }
.act-people { display: flex; align-items: center; gap: 10px; margin-block-start: 14px; font-size: 14px; }
.dots { display: flex; }
.dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--night-2); }
.dot + .dot { margin-inline-start: -8px; }
.dot-warm { background: #FFD9A8; }
.dot-cool { background: #B9CBEF; }
.dot-lilac { background: #D2C2F5; }
.rsvp { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 12px; }
.act-card-wide { display: flex; gap: 14px; align-items: center; }
.tile-forum { width: 56px; height: 56px; border-radius: 16px; background: #FFF4D6; font-size: 28px; }
.act-quote { display: block; font-size: 17px; }
.act-small { font-size: 14px; }

@media (min-width: 900px) {
  .activities-grid { grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
  .activities-intro h2 { font-size: 42px; margin-block: 14px 10px; }
  .activities-intro p { font-size: 18px; }
  .act-cards { grid-template-columns: 1fr 1fr; gap: 18px; }
  .act-card h3 { font-size: 24px; margin-block: 8px 6px; }
  .act-label { font-size: 13px; }
  .act-card-wide { grid-column: span 2; gap: 18px; }
  .tile-forum { width: 64px; height: 64px; border-radius: 18px; font-size: 32px; }
  .act-quote { font-size: 18px; }
}

/* ---------- îndemnul final ---------- */
.cta { background: linear-gradient(140deg, var(--night-0), var(--night-2)); padding-block: var(--section-pad); }
.cta .moon { position: absolute; inset-inline-end: -10px; top: -10px; width: 120px; height: 120px; pointer-events: none; }
.sky-cta { display: none; }
.cta-row { display: flex; flex-direction: column; gap: 20px; }
.cta h2 { font-size: 32px; margin-block-end: 6px; padding-inline-end: 70px; }
.cta h2 em { color: var(--gold-1); }
.cta p { color: var(--blue-pale); }
@media (min-width: 900px) {
  .cta { background: linear-gradient(120deg, var(--night-0), var(--night-1) 60%, var(--night-2)); }
  .sky-cta { display: block; }
  /* luna stă în dreapta sus, în spatele butonului, ca în machetă (cercul de 92 px la 1110, 90 pe lățimea de 1280) */
  .cta .moon { inset-inline-end: calc(max(0px, 50% - 640px) + 89px); top: 9px; width: 162px; height: 162px; }
  .cta-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .cta h2 { font-size: 44px; padding-inline-end: 0; }
  .cta p { font-size: 18px; }
}
