/* ===========================================================
   Carlson Dispute Resolution — shared stylesheet
   =========================================================== */

:root {
  --navy: #1b2a41;
  --navy-dark: #101a29;
  --gold: #b08d45;
  --gold-light: #d4b876;
  --ivory: #f7f5f1;
  --gray: #5a6472;
  --border: #2c3e57;
  --line: #e3ddd1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: #222;
  background: var(--ivory);
  line-height: 1.6;
}

a { color: inherit; }

.sans {
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* ---------------- Header / Nav ---------------- */
header.site-header {
  background: var(--navy);
  color: #fff;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px 18px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-inner .brand {
  flex-shrink: 0;
}
.brand {
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #fff;
}
.brand .sub {
  display: block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-top: 3px;
  text-transform: uppercase;
}
nav.main-nav {
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 8px 10px;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: #cfd7e2;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: #fff;
  border-color: var(--gold);
}

/* ---------------- Hero (home page) ---------------- */
.hero {
  min-width: 0;
}
.home-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}
.hero-header {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(16, 26, 41, 0.22);
  flex-shrink: 0;
}
.page-photo {
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(16, 26, 41, 0.18);
  margin: 0 0 32px;
}
.page-video {
  display: block;
  width: 100%;
  max-width: 480px;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(16, 26, 41, 0.18);
  margin: 4px 0 0;
  background: #000;
}
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px 0 4px;
}
.photo-gallery figure {
  margin: 0;
  flex: 0 1 260px;
}
.photo-gallery img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(16, 26, 41, 0.18);
}
.photo-gallery figcaption {
  margin-top: 8px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  color: var(--gray);
  text-align: center;
}
@media (max-width: 640px) {
  .photo-gallery figure {
    flex: 1 1 100%;
  }
}
.photo-gallery.uncropped figure {
  flex: 0 1 360px;
}
.photo-gallery.uncropped img {
  height: 240px;
  object-fit: contain;
  background: var(--ivory);
}
.hero h1 {
  font-size: 34px;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin: 0 0 6px;
}
.hero .tagline {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero .locations {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 28px;
}
.hero p.intro {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 15.5px;
  color: #3a3f47;
  margin: 0 0 20px;
}
.hero p.intro a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.hero p.intro a:hover {
  color: var(--gold);
}
.hero-nav {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-contact {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
}
.hero-contact a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.hero-contact a:hover {
  color: var(--gold);
}
.hero-contact .sep {
  color: var(--line);
}

/* ---------------- Home summary panel ---------------- */
.summary-panel {
  background: var(--navy);
  color: #d8dee8;
  padding: 32px 28px;
  border-radius: 4px;
}
.summary-section {
  margin-bottom: 32px;
}
.summary-section:last-child {
  margin-bottom: 0;
}
.summary-section h3 {
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: normal;
  color: #fff;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.summary-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.summary-section li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 11px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: #cfd7e2;
}
.summary-section li:last-child {
  margin-bottom: 0;
}
.summary-section li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-light);
  font-size: 11px;
}
.summary-section li ul.sub-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.summary-section li ul.sub-list li {
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 12.5px;
  color: #b7c1d1;
}
.summary-section li ul.sub-list li::before {
  content: "\2013";
  font-size: 12px;
  color: var(--gold-light);
}

@media (max-width: 860px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}
.hero-nav a {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 12px 22px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.hero-nav a:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------------- Page layout (inner pages) ---------------- */
main.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}
main.page h1.page-title {
  font-size: 28px;
  color: var(--navy);
  letter-spacing: 0.03em;
  margin: 0 0 6px;
}
main.page .page-title-rule {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 32px;
}
section.block {
  margin-bottom: 40px;
}
section.block h2 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin: 0 0 16px;
}
section.block p {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  color: #333;
  margin: 0 0 14px;
}
ul.credential-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
ul.credential-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
ul.credential-list li:last-child { border-bottom: none; }
ul.credential-list .org {
  color: var(--navy);
  font-weight: 600;
}
ul.credential-list .role {
  color: var(--gray);
}

.edu-item, .exp-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.edu-item:last-child, .exp-item:last-child { border-bottom: none; }
.edu-item .school, .exp-item .role-title {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 3px;
}
.edu-item .degree, .exp-item .meta {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13.5px;
  color: var(--gray);
  margin: 3px 0 0;
}
.edu-item .edu-detail {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-style: italic;
  font-size: 13.5px;
  color: var(--gray);
  margin: 8px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}
.edu-item .edu-detail + .edu-detail {
  margin-top: 6px;
}

.fee-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 20px 22px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14.5px;
  color: #333;
}
.fee-box .rate {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}
.fee-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.fee-box li { margin-bottom: 6px; }

/* ---------------- Logo grid ---------------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.logo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo-slot {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: 3px;
  color: #b6b0a3;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.logo-card img.logo-slot {
  border: none;
  object-fit: contain;
  padding: 8px;
}
.logo-name {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12.5px;
  color: var(--navy);
  line-height: 1.4;
}

/* ---------------- Footer ---------------- */
footer.site-footer {
  background: var(--navy);
  color: #d8dee8;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  padding: 40px 24px 28px;
  margin-top: 72px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.footer-brand {
  font-family: Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}
.footer-contact a {
  color: #d8dee8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.footer-contact a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.footer-contact .sep { color: var(--border); }

.contact-btn {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-btn:hover { background: var(--gold-light); }

.footer-legal {
  max-width: 900px;
  margin: 18px auto 0;
  font-size: 12px;
  color: #7c8798;
  text-align: center;
}

/* ---------------- Contact modal ---------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16, 26, 41, 0.65);
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 6px;
  padding: 32px 28px 28px;
  position: relative;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal h2 {
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 20px;
  margin: 0 0 4px;
}
.modal p.sub {
  color: var(--gray);
  font-size: 13px;
  margin: 0 0 20px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--navy); }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  font-family: inherit;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.modal-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
}
.modal-submit:hover { background: var(--navy-dark); }
.modal-submit:disabled { opacity: 0.6; cursor: default; }

.form-status {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  display: none;
}
.form-status.success { color: #2f7a4d; display: block; }
.form-status.error { color: #b23a3a; display: block; }

@media (max-width: 1024px) and (min-width: 641px) {
  .header-inner { gap: 10px; }
  nav.main-nav ul { flex-wrap: wrap; justify-content: flex-end; gap: 2px 4px; }
  nav.main-nav a { padding: 6px 8px; font-size: 11px; }
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  nav.main-nav ul { flex-wrap: wrap; gap: 2px; }
  ul.credential-list li { flex-direction: column; gap: 2px; }
}
