/* ============================================
   Mayson Insurance Group — Site Stylesheet
   ============================================ */

:root {
  --navy: #B3272C;
  --navy-dark: #241512;
  --gold: #E2542D;
  --gold-light: #C43F22;
  --terracotta: #C23B22;
  --flare: #FF8A5B;
  --cream: #FCFBF8;
  --cream-dark: #F5EAE4;
  --gray-text: #6B5C57;
  --gray-line: #EDE1DC;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(179, 39, 44, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--gray-text); }

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 248, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 12px;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
}
.header-phone .icon-circle-sm {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.header-phone:hover { color: var(--gold); }
.header-phone:hover .icon-circle-sm { background: var(--gold); color: var(--cream); }

.header-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

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

.brand svg { width: 42px; height: 42px; flex-shrink: 0; }

.brand-logo { height: 54px; width: auto; display: block; }
@media (max-width: 420px) { .brand-logo { height: 44px; } }

.brand-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--navy);
  font-weight: 700;
}

.brand-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}

nav.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }

nav.main-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active { border-bottom-color: var(--gold); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-dark); box-shadow: var(--shadow); transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--cream); }
.btn-gold:hover { background: var(--gold-light); color: var(--cream); box-shadow: var(--shadow); transform: translateY(-1px); }

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

.nav-cta { display: inline-block; }

@media (max-width: 700px) {
  .nav-wrap { justify-content: center; text-align: center; }
  .nav-wrap .brand { margin: 0 auto; }
  nav.main-nav { justify-content: center; width: 100%; gap: 16px 20px; }
  .header-actions { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  border-bottom: 1px solid var(--gray-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 { font-size: 44px; margin-bottom: 20px; }
@media (min-width: 700px) { .hero h1 { font-size: 54px; } }

.hero p.lede { font-size: 18px; max-width: 520px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-badge-row {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.state-pill {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.hero-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #7A1620 55%, var(--flare) 135%);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.hero-visual svg { width: 180px; height: 180px; }

/* ---------- Sections ---------- */

section { padding: 80px 0; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { display: block; text-align: center; }
.section-head h2 { font-size: 34px; }

.alt-bg { background: var(--white); border-top: 1px solid var(--gray-line); border-bottom: 1px solid var(--gray-line); }
.navy-bg { background: var(--navy); color: var(--cream); }
.navy-bg h2, .navy-bg h3, .navy-bg p { color: var(--cream); }
.navy-bg .eyebrow { color: var(--gold-light); }

/* ---------- Cards / Grids ---------- */

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-size: 22px;
}

.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

.founder-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 4px solid var(--cream-dark);
  box-shadow: var(--shadow);
}

/* ---------- Coverage list page ---------- */

.coverage-block {
  border: 1px solid var(--gray-line);
  border-radius: 16px;
  background: var(--white);
  padding: 36px;
  margin-bottom: 28px;
}
.coverage-block h3 { font-size: 22px; margin-bottom: 6px; }
.coverage-block .tagline { color: var(--terracotta); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag {
  background: var(--cream-dark);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Trade tags (small photo + label) ---------- */

.trade-tag-list { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 18px; }
.trade-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 40px;
  padding: 8px 24px 8px 8px;
  box-shadow: var(--shadow);
}
.trade-tag img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block; }
.trade-tag span { font-size: 15px; font-weight: 600; color: var(--navy); white-space: nowrap; }

/* ---------- Carrier badges ---------- */

.carrier-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 8px auto 0;
  max-width: 820px;
}
.carrier-badge {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 10px;
  padding: 14px 22px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.carrier-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--gray-text);
  max-width: 620px;
  margin: 28px auto 0;
}

/* ---------- Hero / prominent phone line ---------- */

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.hero-phone .icon-circle-sm {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-line);
  color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.hero-phone a { color: var(--navy); border-bottom: 2px solid var(--gold); }
.hero-phone a:hover { color: var(--gold); }

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-weight: 700;
  font-size: 15px;
  margin: 6px 0 14px;
}
.footer-phone a { color: var(--cream); }
.footer-phone a:hover { color: var(--flare); }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #7A1620 55%, var(--flare) 140%);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: var(--cream);
}
.cta-banner h2 { color: var(--cream); font-size: 30px; }
.cta-banner p { color: #D9CFB8; max-width: 520px; margin: 0 auto 28px; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-line);
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: var(--cream);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 12.5px;
  color: var(--gray-text);
  margin-top: 14px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 4px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: var(--navy);
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--navy-dark);
  color: #C7BFA9;
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-grid h4 {
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid a, .footer-grid li { color: #C7BFA9; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-light); }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand svg { width: 34px; height: 34px; }
.footer-brand span { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--cream); }
.footer-logo { height: 44px; width: auto; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 12px;
  color: #8C876F;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.compliance-note {
  font-size: 12px;
  color: #8C876F;
  max-width: 900px;
  margin-top: 10px;
  line-height: 1.7;
}

.placeholder {
  color: var(--terracotta);
  font-style: italic;
}

/* ---------- Blog ---------- */

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.blog-card .blog-tag {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--terracotta);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  align-self: flex-start;
}

.blog-card h3 { font-size: 21px; margin-bottom: 10px; }
.blog-card p { font-size: 14.5px; }

.blog-card .blog-date {
  font-size: 12.5px;
  color: var(--gray-text);
  margin-bottom: 6px;
}

.blog-card .read-more {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
  border-top: 1px solid var(--gray-line);
}
.blog-card:hover .read-more { color: var(--gold); }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--gray-text);
}

.post-body h2 { font-size: 26px; margin-top: 40px; }
.post-body h3 { font-size: 20px; margin-top: 30px; }
.post-body ul { padding-left: 22px; margin-bottom: 1em; color: var(--gray-text); }
.post-body li { margin-bottom: 8px; }
.post-body .callout {
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 28px 0;
}
.post-body .callout p:last-child { margin-bottom: 0; }
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.post-body th, .post-body td {
  border: 1px solid var(--gray-line);
  padding: 10px 14px;
  text-align: left;
}
.post-body th {
  background: var(--cream-dark);
  color: var(--navy);
  font-weight: 700;
}
.post-body .source-note {
  font-size: 12.5px;
  color: var(--gray-text);
  border-top: 1px solid var(--gray-line);
  padding-top: 16px;
  margin-top: 40px;
}

/* ---------- Business Insurance (industry cards / FAQ) ---------- */

.industry-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }

.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry-card .icon-circle { margin-bottom: 18px; }
.industry-card h3 { font-size: 19px; margin-bottom: 8px; }
.industry-card p { font-size: 14px; margin-bottom: 0; }
.industry-card .read-more {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  border-top: 1px solid var(--gray-line);
}
.industry-card:hover .read-more { color: var(--gold); }

.breadcrumb-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.breadcrumb-link:hover { color: var(--gold); }

.faq-item {
  border: 1px solid var(--gray-line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
  background: var(--white);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 15.5px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--terracotta); font-weight: 700; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 12px; margin-bottom: 0; font-size: 14.5px; }

/* ---------- Photography ---------- */

.hero-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-photo.portrait { aspect-ratio: 3 / 4; max-width: 420px; margin: 0 auto; }

.featured-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.featured-image img { width: 100%; height: 320px; object-fit: cover; display: block; }
@media (min-width: 700px) { .featured-image img { height: 420px; } }

.photo-banner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-banner img { width: 100%; height: 280px; object-fit: cover; display: block; }
@media (min-width: 700px) { .photo-banner img { height: 380px; } }

.coverage-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.coverage-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
