/* ==========================================================
   Stevaris — stil comun
   Direcție: întunecat, elegant, sobru.
   Verde-negru adânc, text ivoriu, accent auriu-șampanie.
   ========================================================== */

:root {
  --bg:        #0d1a14;   /* fundal principal: verde-negru */
  --bg-2:      #11221a;   /* secțiuni alternative */
  --surface:   #162a20;   /* carduri, formular */
  --deep:      #08120d;   /* bară de sus, footer */
  --ivory:     #ece6d6;   /* text principal */
  --muted:     #a7ae9f;   /* text secundar */
  --gold:      #c8aa6e;   /* accent */
  --gold-soft: #b39558;
  --sage:      #8fae7c;   /* desen botanic */
  --line:      rgba(236, 230, 214, .12);
  --line-2:    rgba(236, 230, 214, .22);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --radius-l: 4px;

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }

::selection { background: var(--gold); color: var(--bg); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { margin: 0 0 0.5em; color: var(--ivory); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.04; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; line-height: 1.35; letter-spacing: 0; }

p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  margin: 0 0 22px;
}
.kicker::before { content: ""; width: 36px; height: 1px; background: var(--gold); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--ivory); color: var(--bg); }
.btn-outline { border-color: var(--line-2); color: var(--ivory); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.topbar { background: var(--deep); color: var(--muted); font-size: .88rem; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar a { color: var(--ivory); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
@media (max-width: 600px) { .topbar .hide-sm { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 26, 20, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; letter-spacing: .01em;
  color: var(--ivory); text-decoration: none; line-height: 1;
}
.logo:hover { color: var(--ivory); }
.logo svg { width: 30px; height: 30px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ivory); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--ivory); }
.nav .btn { padding: 11px 20px; border-bottom: 1px solid transparent; color: var(--bg); }
.nav .btn:hover { color: var(--bg); border-bottom-color: transparent; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-2); color: var(--ivory);
  border-radius: var(--radius); padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer;
}
@media (max-width: 940px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 22px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold); }
  .nav .btn { margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 30%, rgba(143, 174, 124, .10), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.facts { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.facts li { padding: 20px 0 20px 32px; border-bottom: 1px solid var(--line); font-size: .97rem; color: var(--muted); line-height: 1.5; }
.facts li:last-child { border-bottom: 0; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--ivory); margin-bottom: 4px; line-height: 1.15; }
@media (max-width: 900px) { .facts { border-left: 0; border-top: 1px solid var(--line); } .facts li { padding-left: 0; } }

/* Desen botanic din linii — singurul moment animat */
.shelf { position: relative; border-bottom: 1px solid var(--gold); margin-top: clamp(48px, 7vw, 88px); }
.shelf svg { width: 100%; height: auto; overflow: visible; }
.shelf .pot, .shelf .pot-dark { fill: none; stroke: var(--ivory); stroke-width: 1.4; }
.shelf .leaf, .shelf .leaf-dark { fill: none; stroke: var(--sage); stroke-width: 1.5; }
.shelf .leaf-dark { stroke: var(--gold); }
.shelf .stem { fill: none; stroke: var(--sage); stroke-width: 1.3; }
.shelf .vein { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .7; }
.shelf .plant { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 1.6s cubic-bezier(.2,.8,.3,1) both; }
@keyframes grow { from { transform: scaleY(.2); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .shelf .plant { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Secțiuni ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }

.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head > * { min-width: 0; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Beneficii ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid var(--line); }
.benefits > div { padding: 4px 28px 8px; border-right: 1px solid var(--line); }
.benefits svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 22px; }
.benefits h3 { margin-bottom: 10px; }
.benefits p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 980px) { .benefits { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Lista de servicii ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 40px 1fr 20px; gap: 4px 20px; align-items: start; padding: 26px 0; color: inherit; text-decoration: none; }
.service-list .ico { color: var(--gold); grid-row: span 2; padding-top: 2px; }
.service-list .ico svg { width: 26px; height: 26px; }
.service-list h3 { margin: 0; font-size: 1.08rem; transition: color .2s; }
.service-list p { margin: 0; color: var(--muted); font-size: .97rem; grid-column: 2; }
.service-list .arrow { width: 18px; height: 18px; color: var(--muted); grid-column: 3; grid-row: 1; margin-top: 4px; transition: transform .2s, color .2s; }
.service-list a:hover h3 { color: var(--gold); }
.service-list a:hover .arrow { transform: translateX(4px); color: var(--gold); }
@media (max-width: 820px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Modele de colaborare ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.plan { padding: 40px 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.plan:last-child { border-right: 0; }
.plan.featured { background: var(--surface); box-shadow: inset 0 2px 0 var(--gold); }
.plan .tag { color: var(--gold); font-size: .9rem; font-weight: 500; margin-bottom: 14px; }
.plan h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; line-height: 1.1; margin-bottom: 10px; }
.plan .for { color: var(--muted); font-size: .98rem; margin-bottom: 24px; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 22px 0 0; border-top: 1px solid var(--line); flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 7px 0; font-size: .98rem; }
.plan li svg { width: 16px; height: 16px; color: var(--gold); margin-top: 5px; }
.plan .btn { width: 100%; }
.plan:not(:first-child) .tag { visibility: hidden; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
  .plan:not(:first-child) .tag { display: none; }
}

/* ---------- Pași ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line-2); padding-top: 26px; }
.steps li::before {
  content: "0" counter(step);
  display: block; font-family: var(--font-display); font-weight: 500; font-size: 2.6rem; line-height: 1;
  color: var(--gold); margin-bottom: 18px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: .98rem; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Domenii ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sectors li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 24px; font-weight: 500; display: flex; flex-direction: column; gap: 16px; }
.sectors svg { width: 24px; height: 24px; color: var(--gold); }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .sectors li { padding: 22px 16px; } }

/* ---------- Pentru acasă ---------- */
.home-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.home-band > * { min-width: 0; }
.home-band p { color: var(--muted); }
.quote { margin: 0; padding: 0 0 0 36px; border-left: 1px solid var(--gold); }
.quote p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.3; color: var(--ivory); margin-bottom: 18px; max-width: 34ch; }
.quote footer { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .home-band { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 6vw, 96px); }
.faq-grid > * { min-width: 0; }
.faq-grid > div:first-child p { color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-weight: 600; font-size: 1.08rem; color: var(--ivory);
}
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; line-height: 1; color: var(--gold); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 96px); }
.contact-grid > * { min-width: 0; }
.contact-grid > div > p { color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-direct { list-style: none; margin: 36px 0 0; padding: 0; }
.contact-direct li { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-direct li:last-child { border-bottom: 1px solid var(--line); }
.contact-direct .label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 2px; }
.contact-direct a, .contact-direct strong { color: var(--ivory); font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; text-decoration: none; line-height: 1.2; }
.contact-direct a:hover { color: var(--gold); }

.form { background: var(--surface); border: 1px solid var(--line); padding: clamp(26px, 4vw, 48px); }
.form h3 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; margin-bottom: 4px; line-height: 1.1; }
.form .hint { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); padding: 4px; margin: 0 0 24px; gap: 4px; }
.segmented legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmented label { position: relative; text-align: center; padding: 10px; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--muted); }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--gold); color: var(--bg); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--ivory); outline-offset: 2px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 8px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--ivory);
}
.field select option, .field select optgroup { background: var(--bg); color: var(--ivory); }
.field input::placeholder, .field textarea::placeholder { color: #6f786c; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 170, 110, .18); }
.field .error { display: none; color: #e39a86; font-size: .9rem; margin: 6px 0 0; }
.field.invalid input, .field.invalid select { border-color: #e39a86; }
.field.invalid .error { display: block; }
.form .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Pagini interioare ---------- */
.page-hero { position: relative; padding: clamp(64px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 90% 0%, rgba(143, 174, 124, .09), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); max-width: 16ch; }
.page-hero p { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 60ch; margin: 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 36px; }
.subnav a { padding: 8px 14px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 500; font-size: .9rem; color: var(--ivory); }
.subnav a:hover { border-color: var(--gold); color: var(--gold); }

.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.group-title h2 { margin: 0; }
.group-title p { color: var(--muted); margin: 0; }

.service-detail {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(20px, 6vw, 96px);
  padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px;
}
.service-detail > * { min-width: 0; }
.service-detail .ico { color: var(--gold); display: block; margin-bottom: 20px; }
.service-detail .ico svg { width: 30px; height: 30px; }
.service-detail h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.service-detail .who { color: var(--muted); font-size: .97rem; margin: 0; }
.service-detail ul { list-style: none; margin: 0 0 1.8em; padding: 0; }
.service-detail li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 6px 0; }
.service-detail li svg { width: 16px; height: 16px; color: var(--gold); margin-top: 6px; }
@media (max-width: 760px) { .service-detail { grid-template-columns: 1fr; gap: 6px; } }

.cta-band { padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band p { color: var(--muted); margin: 12px 0 0; }
.cta-band .actions { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--muted); padding: 72px 0 32px; font-size: .95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-grid h4 { color: var(--ivory); font-family: var(--font-body); font-weight: 600; font-size: .95rem; margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 4px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .logo { color: var(--ivory); }
.site-footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Buton flotant pe mobil */
.float-call { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
@media (max-width: 760px) { .float-call { display: inline-flex; } }
