/* Mayfair Legal — Site Stylesheet */
/* Rebuilt March 2026 */

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

:root {
  --navy:   #000066;
  --blue:   #0099FF;
  --dark:   #333333;
  --white:  #ffffff;
  --light:  #f5f7fa;
  --border: #dddddd;
  --text:   #333333;
  --font:   Verdana, Arial, Helvetica, sans-serif;
  --max-w:  860px;
}

body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  background: var(--dark);
  min-height: 100vh;
}

/* ── HEADER ── */
#header {
  background: var(--dark);
  padding: 0;
}
#header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
#site-title {
  display: block;
  padding: 14px 0 10px;
}
#site-title img {
  display: block;
  height: 44px;
  width: auto;
}
/* fallback text logo if image missing */
#site-title span {
  display: none;
  color: var(--white);
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.02em;
}
#site-title img.missing + span { display: block; }

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  gap: 0;
}
nav a {
  display: block;
  padding: 14px 16px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font);
  letter-spacing: 0.02em;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
nav a:hover {
  color: var(--white);
  border-bottom-color: var(--blue);
}
nav a.active {
  color: var(--white);
  border-bottom-color: var(--blue);
}

/* ── PAGE BANNER ── */
#banner {
  width: 100%;
  max-height: 120px;
  overflow: hidden;
  display: block;
}
#banner img {
  width: 100%;
  display: block;
}

/* ── CONTENT AREA ── */
#content-wrap {
  background: var(--white);
}
#content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 28px 48px;
}

h1 {
  font-family: var(--font);
  font-size: 17px;
  font-weight: bold;
  font-style: italic;
  color: var(--blue);
  margin-bottom: 18px;
}
h2 {
  font-family: var(--font);
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  color: var(--navy);
  margin: 22px 0 8px;
}
p {
  margin-bottom: 12px;
  color: var(--text);
}
ul {
  margin: 0 0 14px 22px;
}
li {
  margin-bottom: 6px;
}
a {
  color: var(--navy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: var(--blue);
}

/* contact details */
.contact-block {
  margin: 18px 0;
  padding: 18px 22px;
  background: var(--light);
  border-left: 3px solid var(--blue);
  font-size: 13px;
  line-height: 2;
}
.contact-block strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 4px;
}

/* differentiators boxes */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.diff-box {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
}
.diff-box h2 {
  margin-top: 0;
  font-size: 13px;
}
.diff-box p {
  font-size: 12px;
  margin-bottom: 0;
}

/* services list on property / corporate pages */
.services-list {
  margin: 16px 0 20px 0;
  padding: 0;
  list-style: none;
}
.services-list li {
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
  margin: 0;
}
.services-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}
.services-list li:last-child { border-bottom: none; }

/* ── FOOTER ── */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  padding: 16px 28px;
  text-align: center;
  line-height: 1.8;
}
#footer a {
  color: rgba(255,255,255,0.6);
}
#footer a:hover {
  color: var(--white);
  text-decoration: underline;
}
#footer .footer-nav {
  margin-bottom: 6px;
}
#footer .footer-nav a {
  margin: 0 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  nav a { padding: 12px 10px; font-size: 11px; }
  #content { padding: 24px 18px 36px; }
  .diff-grid { grid-template-columns: 1fr; }
}
