/* ============================================================
   REGĂSIRE — stylesheet
   Paletă derivată din siglă: salvie, cremă caldă, terracotta.
   Layout lat pe desktop — rânduri alternante text/vizual,
   nu o coloană unică centrată.
   ============================================================ */

:root {
  --cream:      #FAF5E9;
  --cream-deep: #F0E6D2;
  --cream-flat: #F5EEDE;
  --ink:        #2F2A21;
  --ink-soft:   #655C4D;
  --sage:       #8FAE62;
  --sage-deep:  #4F6B38;
  --sage-mid:   #6C8C49;
  --rose:       #BE7A64;
  --rose-deep:  #9C5B47;
  --rule:       #E4D7BC;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Work Sans", "Segoe UI", sans-serif;

  /* wide desktop shell — intentionally roomy, not a narrow centered column */
  --wrap:      1340px;
  --wrap-text: 640px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.14; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
h3 { font-size: 1.18rem; font-weight: 600; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p.wide { max-width: none; }

a { color: var(--sage-deep); text-decoration-color: var(--rose); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-color: var(--sage); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------- language toggle ---------- */
body.lang-ro .lang-en, body.lang-en .lang-ro { display: none; }

/* ---------- wide shell ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3.2rem); }
.prose { max-width: var(--wrap-text); }

section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
section + section { border-top: 1px solid var(--rule); }
.section-tight { padding: clamp(2rem, 4vw, 3.2rem) 0; }

/* ---------- header ---------- */
header.site-header { padding: 1.5rem 0; position: relative; z-index: 5; }
.header-row {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand span { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.03em; font-weight: 500; }

nav.main-nav { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
nav.main-nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.98rem; }
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { color: var(--sage-deep); }
nav.main-nav a[aria-current="page"] { border-bottom: 1px solid var(--sage); padding-bottom: 2px; }

.lang-switch { font-size: 0.9rem; color: var(--ink-soft); }
.lang-switch button { border: none; background: none; padding: 0; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); cursor: pointer; }
.lang-switch button:hover { color: var(--sage-deep); }
.lang-switch button.cur { color: var(--ink); font-weight: 600; }

.nav-toggle { display: none; border: none; background: none; font-family: var(--sans); font-size: 0.95rem; line-height: 1; color: var(--ink); cursor: pointer; }
.nav-overlay-close { display: none; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-lang-mobile { display: none; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .header-lang-mobile { display: flex; align-items: center; font-size: 0.92rem; line-height: 1; }
  .header-lang-mobile button { line-height: 1; }

  nav.main-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 6rem clamp(1.5rem, 6vw, 2.5rem) 2rem;
    background: var(--cream);
    overflow-y: auto;
  }
  nav.main-nav.open { display: flex; }

  nav.main-nav a {
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.15rem;
  }
  nav.main-nav a[aria-current="page"] { border-bottom: 1px solid var(--rule); }

  nav.main-nav > .lang-switch { margin-top: 1.5rem; font-size: 1rem; }

  .nav-overlay-close {
    display: block;
    position: absolute;
    top: 1.4rem;
    right: clamp(1.25rem, 4vw, 3.2rem);
    border: none;
    background: none;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    cursor: pointer;
  }

  body.nav-open { overflow: hidden; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--cream);
  background: var(--sage-deep);
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--sage-deep);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--sage-deep); }
.btn-ghost:hover { background: var(--sage-deep); color: var(--cream); }
.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ============================================================
   WIDE EDITORIAL ROWS — the core layout device.
   A row splits into a text column and a visual column, and
   alternates sides down the page instead of repeating one
   centered block. Full-bleed on the visual side on large screens.
   ============================================================ */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.row.align-top { align-items: start; }
.row.reverse .row-visual { order: -1; }
.row-text p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; }
  .row.reverse .row-visual { order: 0; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero .row { grid-template-columns: 1.15fr 0.85fr; }
.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--sage-deep);
  margin-bottom: 0.9rem;
}
.hero h1 { margin-bottom: 0.3em; }
.hero .tagline { font-family: var(--serif); font-style: italic; color: var(--sage-deep); font-size: 1.35rem; margin: 0 0 1.4rem; }

.hero-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .decor { position: absolute; inset: 0; }
.hero-mark { width: min(340px, 80%); height: auto; aspect-ratio: 1 / 1; position: relative; z-index: 1; filter: drop-shadow(0 24px 40px rgba(47,42,33,0.18)); border-radius: 50%; }

@media (max-width: 900px) {
  .hero .row { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; width: 100%; order: -1; margin-bottom: 0.5rem; }
  .hero-mark { width: min(280px, 72%); }
}

/* ---------- verse / pull quote ---------- */
.verse { margin: 1.6em 0; padding-left: 1.2rem; border-left: 2px solid var(--sage); }
.verse p { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin: 0 0 0.55em; }
.verse p:last-child { margin-bottom: 0; }

.pull-quote {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(2rem, 5vw, 4rem);
  border-radius: 18px;
  background: var(--cream-deep);
  overflow: hidden;
}
.pull-quote::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.16;
}
.pull-quote p { position: relative; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0; color: var(--ink-soft); max-width: 46ch; }
.pull-quote p.affirm { color: var(--sage-deep); margin-top: 0.35em; }

/* ---------- signoff ---------- */
.signoff { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 1.05rem; margin-top: 1.6rem; }

/* ---------- cards row (Cu ce te pot însoți / Cum te pot ajuta) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
@media (max-width: 1080px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .card-grid { grid-template-columns: 1fr; } }

.card-grid.two-col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .card-grid.two-col { grid-template-columns: 1fr; } }

.help-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.8rem 1.6rem 1.6rem;
  border-top: 3px solid currentColor;
  box-shadow: 0 16px 32px -24px rgba(47, 42, 33, 0.3);
}
.help-card .icon-mark { margin-bottom: 0.9rem; }
.help-card h3 { font-family: var(--serif); margin: 0 0 0.6rem; color: var(--ink); }
.help-card ul { list-style: none; margin: 0; padding: 0; }
.help-card li { padding: 0.32rem 0 0.32rem 1rem; position: relative; color: var(--ink-soft); font-size: 0.95rem; }
.help-card li::before { content: ""; position: absolute; left: 0; top: 0.72rem; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.accent-sage { color: var(--sage-deep); }
.accent-rose { color: var(--rose-deep); }
.accent-moss { color: #3E5A2C; }

.icon-mark { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- decorative organic blobs ---------- */
.decor { position: absolute; z-index: 0; pointer-events: none; }
.decor svg { display: block; width: 100%; height: 100%; }

/* ---------- pricing / process band ---------- */
.price-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--sage-deep);
  color: var(--cream);
  border-radius: 18px;
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.8rem, 4vw, 3rem);
}
.price-band .icon-mark { color: var(--cream); width: 40px; height: 40px; }
.price-band h3 { color: var(--cream); margin: 0 0 0.3em; }
.price-band p { color: #E8EFDF; margin: 0; max-width: 56ch; }
.price-figure { text-align: right; white-space: nowrap; }
.price-figure .amount { font-family: var(--serif); font-size: 2.2rem; color: #fff; display: block; line-height: 1; }
.price-figure .unit { font-size: 0.85rem; color: #D8E4C9; }
@media (max-width: 760px) {
  .price-band { grid-template-columns: 1fr; text-align: left; }
  .price-figure { text-align: left; }
}

/* ---------- resources ---------- */
.resources { margin-top: 2.2rem; }
.resources h3 { color: var(--ink-soft); margin-bottom: 0.7em; font-size: 0.95rem; }
.resources ul { list-style: none; margin: 0; padding: 0; }
.resources li { margin-bottom: 0.4em; }

/* ---------- about page ---------- */
.about-row { grid-template-columns: 0.72fr 1.28fr; }
@media (max-width: 900px) { .about-row { grid-template-columns: 1fr; } }

.portrait-frame { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 26px 50px -22px rgba(47,42,33,0.35); }
.portrait-frame img { width: 100%; height: auto; display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.2rem 0 1.8rem; }
.pill { display: inline-flex; align-items: center; padding: 0.42rem 0.95rem; border-radius: 999px; font-size: 0.88rem; background: var(--cream-deep); color: var(--ink-soft); border: 1px solid var(--rule); }

.credential-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.credential-list li { display: flex; align-items: flex-start; gap: 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule); }
.credential-list li:last-child { border-bottom: none; padding-bottom: 0; }
.credential-list .icon-mark { flex: none; margin-top: 2px; width: 24px; height: 24px; }
.credential-list strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.03rem; }
.credential-list span.detail { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- situations list (ajutor.html intro) ---------- */
.help-intro { max-width: var(--wrap-text); margin-bottom: 2.4rem; }

/* ---------- contact ---------- */
.contact-row { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
@media (max-width: 900px) { .contact-row { grid-template-columns: 1fr; } }

.contact-side { position: relative; padding: 1.9rem 1.8rem; border-radius: 18px; background: var(--cream-deep); overflow: hidden; }
.contact-side .icon-mark { color: var(--sage-deep); margin-bottom: 0.9rem; }
.contact-side h2 { font-size: 1.25rem; }
.contact-mini-price { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--rule); font-size: 0.92rem; color: var(--ink-soft); }
.contact-mini-price strong { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }

form.contact-form { display: grid; gap: 1.1rem; max-width: 560px; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.92rem; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 6px;
  padding: 0.75rem 0.9rem; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--sage); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.6rem; }
.form-status { margin-bottom: 1.2rem; padding: 0.9rem 1rem; border-radius: 6px; font-size: 0.95rem; display: none; max-width: 560px; }
.form-status.ok { display: block; background: #E7EEE4; color: var(--sage-deep); }
.form-status.err { display: block; background: #F3E3DF; color: #8C4A3D; }

/* ---------- policy page ---------- */
.policy h2 { margin-top: 1.8em; font-size: 1.2rem; }
.policy p, .policy li { color: var(--ink-soft); }
.policy strong { color: var(--ink); }

/* ---------- footer ---------- */
footer.site-footer { padding: 3rem 0 3.2rem; border-top: 1px solid var(--rule); margin-top: 1rem; }
.footer-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  font-size: 0.92rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.footer-brand img { width: 30px; height: 30px; border-radius: 50%; }
.footer-brand span { font-family: var(--serif); font-size: 1.1rem; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin: 0 0 0.8rem; font-family: var(--sans); font-weight: 600; }
.footer-col a { display: block; color: var(--ink-soft); text-decoration: none; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--sage-deep); }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: 0.85rem; }

@media (max-width: 760px) {
  .footer-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-row { grid-template-columns: 1fr; }
}
