/* thiliaconsulting.ro — o singură foaie de stil, fără biblioteci externe */

@font-face { font-family: "Noto Sans"; src: url("noto-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("noto-sans-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("noto-sans-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --cream: #F7F5EC;
  --paper: #FFFEF9;
  --ink: #232D27;
  --ink-2: #4A554D;
  --green: #2F5D34;
  --green-deep: #24492A;
  --leaf: #6E9F3D;
  --leaf-2: #5E8E33;
  --mist: #E1E9CC;
  --line: #DCDFCF;
  --bud: #9E3B25;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--green-deep); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* --- antet ----------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(247, 245, 236, .94);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-size: 1.2rem; letter-spacing: .2em; color: var(--green); }
.brand small { font-size: .64rem; letter-spacing: .34em; color: var(--leaf-2); margin-top: 5px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--mist); color: var(--green-deep); }
.nav .lang { border: 1px solid var(--line); font-weight: 700; color: var(--green); }

/* --- prima secțiune --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 760px; height: 760px; right: -170px; top: -150px;
  background: url("contururi.svg") center / contain no-repeat;
  opacity: .9;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.eyebrow { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); letter-spacing: -.02em; max-width: 17ch; }
.lead { font-size: 1.14rem; color: var(--ink-2); max-width: 60ch; }
.slogan { font-style: italic; color: var(--green); font-size: 1.1rem; margin: 6px 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; text-decoration: none; font-weight: 700;
  border: 2px solid var(--green);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.solid { background: var(--green); color: #fff; }
.btn.solid:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn.ghost { color: var(--green); background: transparent; }
.btn.ghost:hover { background: var(--mist); }
.badge { justify-self: center; width: min(320px, 100%); }
.badge img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(47, 93, 52, .16)); }

.facts { grid-column: 1 / -1; list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 18px 18px 0 0; color: var(--ink-2); font-size: .95rem; }
.facts strong { display: block; color: var(--green-deep); font-size: 1.05rem; }

/* --- secțiuni --------------------------------------------------------------- */
section { scroll-margin-top: 80px; }
.band { padding: 80px 0; }
.band.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { max-width: 62ch; color: var(--ink-2); margin-bottom: 36px; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px 22px; position: relative;
}
.band.paper .card { background: var(--cream); }
.card .num { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--green); margin-bottom: 6px; display: block; }
.card p { margin: 0; color: var(--ink-2); }
.card .note { margin-top: 10px; font-size: .9rem; color: var(--green); }
.card.zone, .band.paper .card.zone { background: var(--green); border-color: var(--green); color: #EEF3E2; }
.card.zone h3 { color: #fff; }
.card.zone p { color: #E2EBD3; }
.card.zone .num { color: #BFD69A; }
.card.zone strong { color: #fff; }

.about { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.about figure { margin: 0; }
.about figure img { width: 100%; height: auto; border-radius: 18px; border: 6px solid var(--paper); box-shadow: 0 10px 30px rgba(35, 45, 39, .12); }
.about figcaption { font-size: .9rem; color: var(--ink-2); margin-top: 12px; line-height: 1.45; }
.about figcaption b { color: var(--green-deep); display: block; font-size: 1rem; }
.creds { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.creds li { padding-left: 26px; position: relative; color: var(--ink-2); }
.creds li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px;
  border-radius: 50% 0 50% 50%; background: var(--leaf); transform: rotate(-45deg);
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before {
  content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--mist); color: var(--green-deep); font-weight: 700; margin-bottom: 12px;
}
.steps p { margin: 0; color: var(--ink-2); }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; color: var(--green-deep); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--leaf-2); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding: 0 0 20px; margin: 0; max-width: 75ch; }

.contact { background: var(--green); color: #EEF3E2; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; position: relative; overflow: hidden; }
.contact::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -220px;
  background: url("contururi.svg") center / contain no-repeat; opacity: .14; pointer-events: none;
}
.contact h2 { color: #fff; }
.contact p { color: #DCE6CC; }
.contact .slogan { color: #fff; }
.contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.contact li a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 700; word-break: break-word; }
.contact li a:hover { text-decoration: underline; }
.contact a:focus-visible { outline-color: #fff; }
.contact li span { display: block; font-weight: 400; font-size: .85rem; color: #C9D8B4; }
.contact svg { width: 22px; height: 22px; flex: none; color: #BFD69A; }

/* --- pagina de date personale ---------------------------------------------- */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.4rem); }
.prose h2 { font-size: 1.2rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose .meta { font-size: .9rem; color: var(--ink-2); }
.prose .back { margin-top: 2em; }

/* --- subsol ----------------------------------------------------------------- */
.foot { padding: 48px 0 36px; color: var(--ink-2); font-size: .88rem; line-height: 1.55; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; }
.foot h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.foot dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; }
.foot dt { color: var(--ink-2); }
.foot dd { margin: 0; color: var(--ink); }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.foot .sal { display: inline-block; line-height: 0; }
.foot .sal img { width: 250px; height: 50px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; }

/* --- ecrane mici ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .badge { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .about figure { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; }
  .about figcaption { margin: 0; }
  .steps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 32px 24px; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top { position: static; }
  .top .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; gap: 6px; }
  .brand img { width: 40px; height: 40px; }
  .nav { width: calc(100% + 16px); justify-content: space-between; flex-wrap: nowrap; overflow-x: auto; margin: 0 -8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: .9rem; padding: 6px 8px; }
  .nav .opt { display: none; }
  .hero { padding: 40px 0 44px; }
  .hero::before { width: 520px; height: 520px; right: -260px; top: -120px; opacity: .7; }
  .services { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
  .facts li { padding-right: 10px; }
  .foot dl { grid-template-columns: 1fr; gap: 0; }
  .foot dd { margin-bottom: 6px; }
}
@media (max-width: 359px) {
  .nav { flex-wrap: wrap; justify-content: flex-start; }
}
@media print {
  .top, .cta, .hero::before, .contact::after { display: none; }
  body { background: #fff; }
}
