/* ============================================================
   Wealth Recovery Solicitors — Shared Stylesheet
   Brand: Navy #152C44 | Red #E1251C | Mid-Blue #0479AF
   Font: Poppins (Google Fonts)
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: #152C44;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ---- Variables ---- */
:root {
  --navy: #152C44;
  --red: #E1251C;
  --mid-blue: #0479AF;
  --light-blue: #F0F8FF;
  --white: #ffffff;
  --grey: #4B5E71;
  --light-grey: #f5f7fa;
  --max-w: 1140px;
  --radius: 4px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--grey); font-size: 1rem; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* ---- Site Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(21,44,68,0.10);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
}

.site-header__logo img {
  height: 50px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}
.site-nav__links a:hover { color: var(--mid-blue); }

.site-nav__cta { display: flex; align-items: center; gap: 12px; }

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  padding: 24px;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }

.mobile-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav__header img { height: 40px; width: auto; filter: brightness(0) invert(1); }

.mobile-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav__links a {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}
.mobile-nav__cta .btn { text-align: center; width: 100%; }

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21,44,68,0.96) 0%, rgba(4,121,175,0.35) 100%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-blue);
  margin-bottom: 16px;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }

.hero__sub {
  color: rgba(255,255,255,0.80);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero with image bg */
.hero--img {
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* ---- Section Spacing ---- */
.section { padding: 80px 24px; }
.section--light { background: var(--light-grey); }
.section--navy { background: var(--navy); }
.section--blue { background: var(--light-blue); }

.section__header { margin-bottom: 48px; }
.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-blue);
  margin-bottom: 10px;
}
.section__title { color: var(--navy); }
.section--navy .section__title { color: var(--white); }
.section__subtitle { color: var(--grey); margin-top: 12px; max-width: 600px; font-size: 1.05rem; }
.section--navy .section__subtitle { color: rgba(255,255,255,0.75); }

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

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(21,44,68,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(21,44,68,0.13); }

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--light-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--grey); font-size: 0.95rem; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mid-blue);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  transition: gap 0.2s;
}
.card__link:hover { gap: 10px; }
.card__link::after { content: '→'; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--navy);
  padding: 56px 24px;
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}

/* ---- CTA Band ---- */
.cta-band {
  background: var(--red);
  padding: 64px 24px;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }

/* ---- Two-column layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col--reverse .two-col__image { order: -1; }
.two-col__image img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  max-height: 420px;
}
.two-col__content h2 { margin-bottom: 16px; }
.two-col__content p { margin-bottom: 20px; }

/* ---- Service Sections ---- */
.service-block {
  padding: 64px 24px;
  border-bottom: 1px solid #e8ecf0;
}
.service-block:last-child { border-bottom: none; }

/* ---- Form Styles ---- */
.form-card {
  background: var(--white);
  border-radius: 10px;
  padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(21,44,68,0.10);
  max-width: 680px;
  margin: 0 auto;
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group label span { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #dce3ea;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mid-blue);
}

.form-group select {
  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='%230479AF' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-submit {
  margin-top: 8px;
}
.form-submit .btn { width: 100%; padding: 15px 28px; font-size: 1rem; }

.form-note {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 14px;
  text-align: center;
}

/* Honeypot (hide from real users) */
.hp-field { display: none !important; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 72px 24px 56px;
}
.page-hero__inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero__breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 14px; font-size: 1.05rem; max-width: 560px; }

/* ---- Policy / Legal Content ---- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}
.policy-content h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.3rem; }
.policy-content h3 { margin-top: 28px; margin-bottom: 10px; font-size: 1.05rem; }
.policy-content p { color: var(--grey); margin-bottom: 14px; font-size: 0.95rem; }
.policy-content ul { padding-left: 20px; margin-bottom: 14px; }
.policy-content ul li { color: var(--grey); font-size: 0.95rem; margin-bottom: 6px; list-style: disc; }
.policy-content b, .policy-content strong { color: var(--navy); }
.policy-content a { color: var(--mid-blue); text-decoration: underline; }

/* ---- Contact Info ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item__icon {
  width: 40px;
  height: 40px;
  background: var(--light-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item__text p { margin: 0; color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.contact-item__text span { font-size: 0.82rem; color: var(--grey); }

/* ---- Success Page ---- */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}
.success-card {
  max-width: 520px;
  margin: 0 auto;
}
.success-icon {
  width: 72px;
  height: 72px;
  background: #e8f9f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
}
.success-card h1 { color: var(--navy); margin-bottom: 16px; font-size: 2rem; }
.success-card p { margin-bottom: 32px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px 0;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.site-footer__brand img { height: 45px; width: auto; margin-bottom: 20px; }

.site-footer__contact p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.site-footer__contact a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.site-footer__contact a:hover { color: var(--white); }

.footer-nav-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.site-footer__nav a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s;
}
.site-footer__nav a:hover { color: var(--white); }

.site-footer__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.site-footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.site-footer__legal a:hover { color: var(--white); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse .two-col__image { order: 0; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .burger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 20px; }
  .hero { padding: 72px 24px 60px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 24px; }
  .hero--img { min-height: 400px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { text-align: center; }
}
