/* ==========================================================================
   Unfair Dismissal Experts — global stylesheet
   ========================================================================== */

:root {
  --navy: #15315c;
  --navy-dark: #0e2340;
  --blue: #2f6db0;
  --blue-light: #eaf2fb;
  --accent: #f5a623;
  --accent-dark: #d98a05;
  --ink: #1c2733;
  --body: #3a4654;
  --muted: #6a7682;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --green: #1f9d57;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(21, 49, 92, 0.08);
  --maxw: 1160px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d9e3f1; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 .8em;
}
.section--navy .eyebrow { color: var(--accent); }

.lead { font-size: 1.18rem; color: var(--body); }

.text-center { text-align: center; }
.measure { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #1c2733; box-shadow: 0 8px 18px rgba(245,166,35,.35); }
.btn--primary:hover { background: var(--accent-dark); color: #1c2733; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--navy); color: #fff; }

/* ---- Top bar ---- */
.topbar {
  background: var(--navy-dark);
  color: #cdd9ea;
  font-size: .9rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar strong { color: var(--accent); }

/* ---- Header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav-menu a:hover { color: var(--blue); text-decoration: none; }
.nav-menu a[aria-current="page"] { color: var(--blue); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #e8f0fb;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(47,109,176,.5), transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 84px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: #cfdcef; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; color: #aebfd6; font-size: .95rem; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust strong { color: #fff; }

/* ---- Page banner (interior pages) ---- */
.page-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; }
.page-banner .container { padding-top: 60px; padding-bottom: 60px; }
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { color: #cfdcef; max-width: 60ch; margin: 0; }
.breadcrumbs { font-size: .85rem; color: #aebfd6; margin-bottom: 18px; }
.breadcrumbs a { color: #cfdcef; }

/* ---- Grid / cards ---- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 12px;
  margin-bottom: 16px;
}
.card .icon svg { width: 28px; height: 28px; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1; }
.stat .label { color: #aebfd6; font-size: .95rem; margin-top: 8px; }

/* ---- Steps ---- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #1c2733; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 16px;
}

/* ---- Testimonials ---- */
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.quote p { font-style: italic; color: var(--ink); margin-bottom: 14px; }
.quote .cite { font-weight: 700; color: var(--blue); font-style: normal; font-size: .92rem; }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }

/* ---- Feature split ---- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---- CTA band ---- */
.cta-band { background: var(--blue); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .phone { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; color: #fff; }
.cta-band a.phone:hover { color: var(--accent); text-decoration: none; }

/* ---- Article ---- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5em; }
.callout { background: var(--blue-light); border-radius: var(--radius); padding: 22px 26px; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---- Post list ---- */
.post-list { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.post-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.post-card .tag { display:inline-block; background: var(--blue-light); color: var(--blue); font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; padding:4px 10px; border-radius:50px; margin-bottom:12px; }
.post-card h3 { margin-bottom:.4em; }
.post-card .date { color: var(--muted); font-size:.85rem; }

/* ---- Contact ---- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; color: var(--ink); margin-bottom:6px; font-size:.95rem; }
.field input, .field textarea, .field select {
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px;
  font-family: inherit; font-size:1rem; background:#fff; color:var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--blue); box-shadow:0 0 0 3px var(--blue-light); }
.contact-info { background: var(--bg-soft); border:1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-info dt { font-weight:700; color: var(--ink); margin-top: 18px; }
.contact-info dt:first-child { margin-top:0; }
.contact-info a { font-weight:600; }

/* ---- FAQ ---- */
.faq details { border:1px solid var(--line); border-radius:8px; padding: 4px 20px; margin-bottom: 14px; background:#fff; }
.faq summary { cursor:pointer; font-weight:700; color: var(--ink); padding: 14px 0; list-style:none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; float:right; color: var(--blue); font-size:1.3rem; line-height:1; }
.faq details[open] summary::after { content:"–"; }
.faq details[open] summary { border-bottom:1px solid var(--line); }
.faq details p { padding-top: 14px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-dark); color: #9fb1cc; padding: 60px 0 28px; font-size: .95rem; }
.site-footer a { color: #cdd9ea; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-grid h4 { color:#fff; font-size:1rem; margin-bottom:1em; }
.footer-grid ul { list-style:none; padding:0; margin:0; }
.footer-grid li { margin-bottom:10px; }
.footer-logo { height:42px; margin-bottom:16px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:40px; padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.85rem; color:#7e90ad; }

/* ---- Utilities ---- */
.mt-0 { margin-top: 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid--3, .grid--4, .steps, .stats, .post-list { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-menu, .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background:#fff; border-bottom:1px solid var(--line); padding: 16px 22px;
  }
  .nav-menu.open li { width:100%; }
  .nav-menu.open a { display:block; padding:10px 0; width:100%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .grid--3, .grid--4, .steps, .stats, .post-list { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .hero-actions .btn { width: 100%; }
}
