/* ═══════════════════════════════════════════════════════
   CRONOVA FORENSICS — Shared Styles
   Swiss-legal editorial · White base · Premium audit firm
   ═══════════════════════════════════════════════════════ */

:root {
  --ink:     #111111;
  --ink2:    #222222;
  --navy:    #0D1B35;
  --teal:    #0B6E7A;
  --teal2:   #0D8A99;
  --cream:   #F8F6F3;
  --rule:    #E4E0DA;
  --muted:   #6B6560;
  --light:   #9A9490;
  --success: #1A6B42;
  --white:   #FFFFFF;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'Outfit', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', monospace;

  --max: 1180px;
  --pad: clamp(18px, 4vw, 48px);
  --r:   3px;
  --r2:  8px;
  --r3:  14px;
  --shadow: 0 2px 20px rgba(17,17,17,.07);
  --shadow-md: 0 4px 40px rgba(17,17,17,.11);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── Typography ── */
h1,h2,h3 { font-family: var(--f-display); line-height: 1.1; }
h4 { font-family: var(--f-body); font-weight: 600; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
em { font-style: italic; color: var(--teal); }

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-dark { background: var(--navy); }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: 0 2px 24px rgba(17,17,17,.09); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 66px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; cursor: pointer; }
.brand-name { font-family: var(--f-body); font-weight: 700; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.brand-sub { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .06em; color: var(--muted); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 15px; font-size: .82rem; font-weight: 500; color: var(--muted); border-radius: var(--r); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--cream); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { background: var(--ink) !important; color: var(--white) !important; margin-left: 8px; font-weight: 600 !important; padding: 9px 20px !important; }
.nav-cta:hover { background: var(--navy) !important; }
.burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: all .25s; }
.mob-nav { display: none; flex-direction: column; position: fixed; top: 66px; left: 0; right: 0; z-index: 799; background: var(--white); border-bottom: 1px solid var(--rule); padding: 8px var(--pad) 16px; }
.mob-nav.open { display: flex; }
.mob-nav a { padding: 13px 0; font-size: .9rem; font-weight: 500; border-bottom: 1px solid var(--rule); color: var(--ink); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: var(--r); font-family: var(--f-body); font-size: .85rem; font-weight: 600; letter-spacing: .03em; cursor: pointer; border: 1.5px solid transparent; transition: all .18s; white-space: nowrap; text-decoration: none; }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--navy); border-color: var(--navy); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal2); border-color: var(--teal2); }
.btn-white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-white:hover { background: var(--cream); }
.btn-line-w { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.35); }
.btn-line-w:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: .78rem; }
.btn-lg { padding: 15px 36px; font-size: .92rem; }
.btn-full { width: 100%; }

/* ── Section headers ── */
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { text-align: center; }
.sec-head.center .sec-title { margin: 0 auto; }
.sec-label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.sec-label::before { content: ''; width: 28px; height: 1px; background: var(--teal); display: block; }
.sec-title { font-family: var(--f-display); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 500; color: var(--ink); line-height: 1.15; max-width: 560px; }
.sec-head .sec-label { justify-content: flex-start; }
.sec-head.center .sec-label { justify-content: center; }
.sec-head.center .sec-label::before { display: none; }
.light .sec-title { color: var(--white); }
.light .sec-label { color: var(--teal2); }
.light .sec-label::before { background: var(--teal2); }

/* ── Inner page hero ── */
.inner-hero { padding: 130px 0 60px; background: var(--white); border-bottom: 1px solid var(--rule); }
.breadcrumb { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--teal); }
.ih-title { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.ih-body { font-size: .95rem; max-width: 580px; }

/* ── Inputs ── */
.field { width: 100%; padding: 12px 16px; border: 1.5px solid var(--rule); border-radius: var(--r); font-family: var(--f-body); font-size: .88rem; color: var(--ink); background: var(--white); outline: none; transition: border-color .2s; }
.field:focus { border-color: var(--teal); }
.field-label { font-size: .78rem; font-weight: 600; letter-spacing: .03em; color: var(--ink); display: block; margin-bottom: 7px; }
.field-mono { font-family: var(--f-mono); font-size: .85rem; }
select.field { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6560' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.field { resize: vertical; min-height: 110px; line-height: 1.6; }

/* ── Tags ── */
.tag { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 100px; color: var(--muted); display: inline-block; }
.tag-green { border-color: rgba(26,107,66,.25); color: var(--success); background: rgba(26,107,66,.06); }
.tag-teal { border-color: rgba(11,110,122,.25); color: var(--teal); background: rgba(11,110,122,.06); }

/* ── Info boxes ── */
.info-block { padding: 16px 20px; border-left: 3px solid var(--teal); background: rgba(11,110,122,.05); border-radius: 0 var(--r2) var(--r2) 0; font-size: .84rem; color: var(--ink); line-height: 1.65; }
.warn-block { padding: 16px 20px; border-left: 3px solid #C2873A; background: rgba(194,135,58,.05); border-radius: 0 var(--r2) var(--r2) 0; font-size: .82rem; color: #7A4B00; line-height: 1.65; }
.success-block { padding: 16px 20px; border-left: 3px solid var(--success); background: rgba(26,107,66,.06); border-radius: 0 var(--r2) var(--r2) 0; font-size: .84rem; color: var(--ink); line-height: 1.65; }

/* ── Tables ── */
.tbl { width: 100%; border-collapse: collapse; font-size: .85rem; }
.tbl th { background: var(--ink); color: var(--white); padding: 11px 16px; text-align: left; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tbl td { padding: 11px 16px; border-bottom: 1px solid var(--rule); color: var(--muted); vertical-align: top; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:nth-child(even) td { background: var(--cream); }

/* ── Footer ── */
.footer { background: var(--ink); padding: 72px 0 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 56px; }
.footer-name { font-family: var(--f-body); font-weight: 700; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 3px; }
.footer-tag { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal2); margin-bottom: 14px; }
.footer-desc { font-size: .82rem; color: rgba(255,255,255,.38); max-width: 220px; line-height: 1.65; }
.footer-col h5 { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 16px; }
.footer-col a { display: block; font-size: .82rem; color: rgba(255,255,255,.48); margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: .82rem; color: rgba(255,255,255,.38); margin-bottom: 7px; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom span { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.22); }

/* ── Cookie Banner ── */
.cookie-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 1500; width: calc(100% - 32px); max-width: 660px; background: var(--ink); border-radius: var(--r3); padding: 18px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: 0 8px 48px rgba(17,17,17,.3); border: 1px solid rgba(255,255,255,.06); }
.cookie-bar p { font-size: .8rem; color: rgba(255,255,255,.6); flex: 1; min-width: 200px; line-height: 1.5; }
.cookie-bar p a { color: var(--teal2); }
.cookie-bar.hidden { display: none; }

/* ── Verify Strip ── */
.verify-strip { background: var(--cream); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 52px 0; }
.vs-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.vs-text h2 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.vs-text p { font-size: .875rem; }

/* ── Process ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.08); }
.proc-step { padding: 48px 36px; border-right: 1px solid rgba(255,255,255,.07); }
.proc-step:last-child { border-right: none; }
.proc-n { font-family: var(--f-mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal2); margin-bottom: 24px; }
.proc-step h4 { color: var(--white); font-size: .95rem; margin-bottom: 10px; }
.proc-step p { font-size: .82rem; color: rgba(255,255,255,.42); line-height: 1.65; }

/* ── Testimonials ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r3); overflow: hidden; }
.testi { background: var(--white); padding: 44px 36px; }
.testi-q { font-family: var(--f-display); font-size: 1.02rem; font-style: italic; color: var(--ink); line-height: 1.65; margin-bottom: 28px; }
.testi-auth { display: flex; align-items: center; gap: 14px; }
.testi-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--teal)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; flex-shrink: 0; }
.testi-auth strong { display: block; font-size: .85rem; color: var(--ink); }
.testi-auth span { font-size: .75rem; color: var(--muted); }

/* ── CTA Final ── */
.cta-final { background: var(--navy); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; color: var(--white); margin-bottom: 8px; }
.cta-inner p { font-size: .875rem; color: rgba(255,255,255,.5); }

/* ── Photo Band ── */
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); height: 380px; }
.pb-item { position: relative; overflow: hidden; }
.pb-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.pb-item:hover img { transform: scale(1.05); }
.pb-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,27,53,.75) 0%, transparent 55%); }
.pb-label { position: absolute; bottom: 20px; left: 22px; right: 22px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ── Responsive ── */
@media(max-width:1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .proc-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .testi-grid { grid-template-columns: 1fr; }
  .photo-band { grid-template-columns: 1fr; height: auto; }
  .pb-item { height: 200px; }
}
@media(max-width:768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .vs-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; }
}