/* Păun-Neagu homepage, test in the Mobbin manner: white page, one big centred headline with icons between the words,
   pill buttons, a grey frame holding a "product shot", soft grey cards. Brand: gold and black, Georgia online only. */
:root {
  --ink: #1b1b1b; --grey: #6b6b6b; --soft: #f4f4f3; --soft2: #ebebea; --line: #e6e6e4;
  --gold: #d2ab67; --gold-text: #86692f; --r: 22px; --w: 1060px;
  --serif: Georgia, Gelasio, "Times New Roman", serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--serif); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, p, ul, ol, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Nav */
.nav { max-width: var(--w); margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; gap: 30px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a:hover, .nav-phone:hover { color: var(--gold-text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.nav-phone { display: flex; align-items: center; gap: 7px; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 99px; font-size: 16px; transition: background .2s, transform .2s; }
.pill.small { height: 38px; padding: 0 16px; font-size: 14px; }
.pill.dark { background: var(--ink); color: #fff; }
.pill.dark:hover { background: #333; }
.pill.light { background: var(--soft); }
.pill.light:hover { background: var(--soft2); }
.pill.light2 { background: #fff; }
.pill:active { transform: scale(.97); }

/* Hero */
.hero { text-align: center; padding: 96px 24px 64px; }
.hero h1 { font-weight: 400; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.12; letter-spacing: -.025em; }
.ln { display: block; white-space: nowrap; }
.chip { display: inline-grid; place-items: center; width: .92em; height: .92em; border-radius: .22em; background: var(--ink); color: var(--gold); vertical-align: -.1em; margin: 0 .04em; box-shadow: 0 6px 18px rgba(27, 27, 27, .18); }
.chip svg { width: .58em; height: .58em; stroke-width: 1.5; }
.chip.flip { animation: flip .5s cubic-bezier(.3, .7, .3, 1); }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg) scale(.9); } 100% { transform: rotateX(0); } }
.sub { color: var(--grey); font-size: 19px; margin: 28px auto 0; max-width: 40em; }
.sub.small { font-size: 16px; margin-top: 14px; }
.cta { display: flex; justify-content: center; gap: 10px; margin-top: 38px; flex-wrap: wrap; }

/* Frame with the finder */
.frame { max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 0 24px; }
.frame-bg { background: var(--soft); border-radius: 34px; padding: 40px 40px 0; overflow: hidden; }
.window { background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .2); padding: 18px 28px 28px; }
.win-bar { display: flex; align-items: center; gap: 18px; }
.mono { font-size: 20px; color: var(--gold); letter-spacing: -.04em; font-weight: 700; }
.tabs { display: flex; gap: 4px; font-size: 14px; white-space: nowrap; }
.tabs button { font: inherit; border: 0; background: none; padding: 6px 12px; border-radius: 99px; color: var(--grey); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--soft); color: var(--ink); }
.win-dots { margin-left: auto; display: flex; gap: 6px; } .win-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--soft2); }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 26px 0 30px; font-size: 15px; }
.cols > div { display: grid; gap: 3px; align-content: start; }
.cols a:hover { color: var(--gold-text); }
.col-h { font-size: 12px; color: var(--grey); margin-bottom: 4px; }
.win-sub { display: flex; justify-content: space-between; font-size: 13px; padding-bottom: 12px; }
.muted { color: var(--grey); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot .paper { position: relative; height: 210px; border-radius: 14px; background: var(--soft); padding: 34px 44px; display: grid; align-content: start; gap: 9px; overflow: hidden; }
.paper::before { content: ""; position: absolute; inset: 22px 30px -20px; background: #fff; border-radius: 6px; box-shadow: 0 10px 24px rgba(0, 0, 0, .08); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.shot:hover .paper::before { transform: translateY(-6px) rotate(-1deg); }
.paper > * { position: relative; }
.paper .tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-top: 8px; }
.paper i { height: 6px; border-radius: 3px; background: var(--soft2); } .paper i.s { width: 55%; }
.paper .stamp { justify-self: start; margin-top: 10px; font-size: 12px; padding: 3px 10px; border: 1px solid var(--gold); border-radius: 99px; color: var(--gold-text); }
.shot-meta { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.shot-meta .ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: var(--gold); flex: none; }
.shot-meta p { font-size: 14px; line-height: 1.3; } .shot-meta b { display: block; font-weight: 400; } .shot-meta span { color: var(--grey); font-size: 12.5px; }

/* Facts instead of client logos (no client names: professional secrecy) */
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 46px; padding: 40px 24px 100px; color: var(--grey); font-size: 18px; font-style: italic; }

/* Two-tone heading + typed search + marquee */
.search-sec { max-width: var(--w); margin: 0 auto; padding: 60px 24px 34px; border-top: 1px solid var(--line); }
.two-tone { font-weight: 400; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.02em; display: grid; gap: 22px; }
.grey { color: #8a8a8a; }
.typed { display: flex; align-items: center; gap: 12px; margin-top: 54px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.01em; }
.typed svg { width: .85em; height: .85em; color: var(--gold-text); stroke-width: 2; }
.caret { width: 2px; height: 1em; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.marquee { overflow: hidden; padding: 6px 0 120px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.card { width: 260px; height: 230px; border-radius: var(--r); background: var(--soft); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.card.wide { width: 380px; background: var(--ink); color: #fff; }
.card .cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.card.wide .cat { color: var(--gold); }
.card b { font-weight: 400; font-size: 22px; line-height: 1.22; letter-spacing: -.01em; }

/* Practice areas */
.lib { max-width: var(--w); margin: 0 auto; padding: 0 24px 130px; }
.center { text-align: center; font-weight: 400; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.02em; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.tiles li { height: 240px; border-radius: var(--r); background: var(--soft); padding: 22px 16px; text-align: center; display: grid; grid-template-rows: auto 1fr; transition: background .25s; }
.tiles li:hover { background: var(--soft2); }
.tiles p { font-size: 16px; }
.mini { align-self: end; display: grid; gap: 7px; justify-items: center; }
.mini span { font-size: 13px; padding: 6px 14px; background: #fff; border-radius: 99px; box-shadow: 0 4px 12px rgba(0, 0, 0, .05); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.mini span:nth-child(2) { transform: translateX(10px); } .mini span:nth-child(3) { transform: translateX(-8px); }
.tiles li:hover .mini span { transform: none; }
.tiles li:hover .mini span:first-child { background: var(--ink); color: var(--gold); }

/* How we work */
.split { max-width: var(--w); margin: 0 auto; padding: 0 24px 130px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.split h2 { font-weight: 400; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
.grey-p { color: var(--grey); margin: 18px 0 28px; max-width: 30em; }
.steps { background: var(--soft); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; }
.steps li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 16px; }
.steps li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); font-size: 12px; color: var(--grey); }
.steps li.done > span { background: var(--ink); color: var(--gold); }
.steps li.now { box-shadow: 0 0 0 1.5px var(--gold); }
.steps b { font-weight: 400; display: block; } .steps small { color: var(--grey); font-size: 13.5px; }
.steps em { font-style: normal; font-size: 12px; color: var(--gold-text); background: #f7f0e3; padding: 3px 10px; border-radius: 99px; }

/* Grey band: principle + documents */
.band { background: var(--soft); padding: 120px 24px; }
.band blockquote { max-width: var(--w); margin: 0 auto 130px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.band blockquote p { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.02em; max-width: 17em; }
.band blockquote footer { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--grey); }
.band blockquote footer b { display: block; color: var(--ink); font-weight: 400; }
.band-cta { text-align: center; }
.band-cta .pill { margin-top: 26px; }

/* Final */
.final { padding: 140px 24px 150px; text-align: center; border-radius: 0 0 28px 28px; background: #fff; position: relative; z-index: 1; }
.center.big { font-size: clamp(34px, 5vw, 58px); }
.final .sub { font-size: 16px; }

/* Footer */
.foot { background: var(--ink); color: #c9c9c9; margin-top: -28px; padding: 90px 24px 40px; font-size: 15px; }
.foot-in { max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-in > div { display: grid; gap: 6px; align-content: start; }
.foot .col-h { color: #8a8a8a; }
.foot a:hover { color: var(--gold); }
.foot-brand img { height: 60px; width: auto; margin-bottom: 12px; }
.legal { max-width: var(--w); margin: 60px auto 0; padding-top: 24px; border-top: 1px solid #333; font-size: 13px; color: #8a8a8a; }

/* Entrances */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .hero { padding: 60px 18px 44px; }
  .ln { white-space: normal; }
  .frame { padding: 0 12px; } .frame-bg { padding: 16px 16px 0; border-radius: 24px; } .window { padding: 14px 16px 18px; }
  .cols { grid-template-columns: 1fr 1fr; } .shots { grid-template-columns: 1fr; } .shots .shot:nth-child(n+2) { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tiles li { height: auto; min-height: 190px; gap: 14px; padding: 18px 10px; } .tiles p { font-size: 15px; }
  .two-tone br, .split h2 br { display: none; } .tabs { font-size: 13px; } .tabs button { padding: 6px 10px; } .win-dots { display: none; }
  .facts { gap: 8px 22px; padding: 30px 18px 70px; font-size: 16px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .band { padding: 80px 20px; } .band blockquote { grid-template-columns: 1fr; margin-bottom: 80px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .card { width: 220px; height: 200px; } .card.wide { width: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .caret, .chip.flip { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
