@charset "UTF-8";
/* =========================================================
   MERRILL INSURANCE AGENCY — Brand Layer v1
   Upload to: public_html/mia-brand.css
   Every rule is scoped under .mia so it can't fight the old theme.
   Palette: navy #1B2A4A · antique gold #B08D44 · cream #F7F3E8
   Type: Lora (headings) · Poppins (body)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500&family=Poppins:wght@400;500;600&display=swap');

.mia {
  --navy: #1B2A4A;
  --navy-deep: #121D35;
  --gold: #B08D44;
  --gold-soft: #D9C59A;
  --cream: #F7F3E8;
  --paper: #FFFDF8;
  --ink: #1F2533;
  --muted: #5B6273;
  --line: rgba(27, 42, 74, .14);
  --radius: 6px;
  --wrap: 1180px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
.mia *, .mia *::before, .mia *::after { box-sizing: border-box; }
.mia img { max-width: 100%; height: auto; display: block; }
.mia a { color: inherit; text-decoration: none; }
.mia p { margin: 0 0 1em; }
.mia ul { margin: 0; padding: 0; list-style: none; }
.mia h1, .mia h2, .mia h3, .mia h4 {
  font-family: 'Lora', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
}
.mia h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.mia h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.mia h3 { font-size: 1.3rem; }

.mia .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.mia .section { padding: clamp(64px, 9vw, 112px) 0; }
.mia .section--paper { background: var(--paper); }
.mia .section--navy { background: var(--navy); color: #E9E4D6; }
.mia .section--navy h2, .mia .section--navy h3 { color: var(--cream); }

/* "File label" eyebrow — the Case Files dossier signature */
.mia .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.mia .eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.mia .lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.mia .section--navy .lede { color: #C9C6BC; }
.mia .gold { color: var(--gold); }
.mia .center { text-align: center; }
.mia .center .lede { margin-left: auto; margin-right: auto; }
.mia .center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Buttons */
.mia .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.mia .btn, .mia-header .nav-link, .mia-footer a { text-transform: none; font-family: 'Poppins', system-ui, sans-serif; }
.mia .btn:hover { transform: translateY(-1px); }
.mia .btn--gold { background: var(--gold); color: #fff; }
.mia .btn--gold:hover { background: #9A7A37; color: #fff; }
.mia .btn--navy { background: var(--navy); color: var(--cream); }
.mia .btn--navy:hover { background: var(--navy-deep); color: var(--cream); }
.mia .btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.mia .btn--ghost:hover { background: var(--navy); color: var(--cream); }
.mia .section--navy .btn--ghost, .mia .hero .btn--ghost { border-color: var(--gold-soft); color: var(--cream); }
.mia .section--navy .btn--ghost:hover, .mia .hero .btn--ghost:hover { background: var(--cream); color: var(--navy); }
.mia .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mia .textlink { color: var(--gold); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.mia .textlink:hover { color: var(--navy); }

/* ---------- HEADER ---------- */
.mia-header { position: sticky; top: 0; z-index: 999; background: var(--navy); border-bottom: 1px solid rgba(176,141,68,.35); }
.mia-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.mia-header .logo { display: flex; align-items: center; flex-shrink: 0; }

/* ---------- OFFICIAL LOGO, RECOLORED FOR NAVY ----------
   The original Shield-Logo2.png is loaded twice and split at 22% of its width:
   the shield half gets #mia-shield (gold → brand gold, black M → navy),
   the lettering half gets #mia-text (black → cream). The original file is untouched. */
.mia-logo-art { position: relative; display: block; height: 58px; aspect-ratio: 1800 / 463; }
.mia-logo-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; }
.mia-logo-art .shield { clip-path: inset(0 77.78% 0 0); filter: url(#mia-shield); }
.mia-logo-art .words  { clip-path: inset(0 0 0 22.22%); filter: url(#mia-text); }
.mia-header nav { display: flex; align-items: center; gap: 4px; }
.mia-header .nav-item { position: relative; }
.mia-header .nav-link {
  display: block; padding: 10px 13px; color: #E9E4D6; font-size: .9rem; font-weight: 500;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.mia-header .nav-link:hover, .mia-header .nav-item:focus-within > .nav-link { color: var(--gold-soft); }
.mia-header .nav-link { white-space: nowrap; }
@media (max-width: 1240px) { .mia-header .phone { display: none; } .mia-header .nav-link { padding: 10px 10px; } }
.mia-header .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px; padding: 10px;
  background: var(--paper); border-top: 2px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 40px rgba(18,29,53,.22);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease;
}
.mia-header .nav-item:hover .dropdown, .mia-header .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.mia-header .dropdown a { display: block; padding: 9px 12px; color: var(--navy); font-size: .9rem; border-radius: 4px; }
.mia-header .dropdown a:hover { background: var(--cream); color: var(--gold); }
.mia-header .actions { display: flex; align-items: center; gap: 14px; }
.mia-header .phone { color: var(--cream); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.mia-header .phone span { color: var(--gold-soft); font-weight: 400; font-size: .75rem; display: block; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.mia-header .btn { padding: 11px 20px; }
.mia-header .burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.mia-header .burger span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: .2s; }
.mia-header .mobile-panel { display: none; }

@media (max-width: 1040px) {
  .mia-header nav, .mia-header .phone { display: none; }
  .mia-header .burger { display: block; }
  .mia-header .bar { height: 68px; }
  .mia-header .mia-logo-art { height: 38px; }
  .mia-header .actions .btn { padding: 9px 14px; font-size: .85rem; }
  .mia-header .mobile-panel.open { display: block; background: var(--navy-deep); padding: 8px 20px 24px; max-height: calc(100vh - 66px); overflow-y: auto; }
  .mia-header .mobile-panel h4 { font-family: 'Poppins', sans-serif; color: var(--gold); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin: 18px 0 6px; }
  .mia-header .mobile-panel a { display: block; padding: 9px 0; color: var(--cream); border-bottom: 1px solid rgba(255,255,255,.07); }
  .mia-header .mobile-panel .btn { margin-top: 18px; width: 100%; border-bottom: 0; }
}

/* ---------- HERO ---------- */
.mia .hero { background: var(--navy); color: #E9E4D6; position: relative; overflow: hidden; }
.mia .hero::after { /* faint gold grid — dossier paper feel */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(176,141,68,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(176,141,68,.07) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.mia .hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.mia .hero h1 { color: var(--cream); }
.mia .hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 500; display: block; font-size: .5em; margin-top: .35em; letter-spacing: 0; }
.mia .hero .lede { color: #C9C6BC; }
.mia .hero-card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,.3); position: relative; border-top: 4px solid var(--gold);
}
.mia .hero-card .tab {
  position: absolute; top: -30px; left: 22px; background: var(--gold); color: #fff;
  font-size: .7rem; letter-spacing: .18em; font-weight: 600; text-transform: uppercase;
  padding: 6px 14px; border-radius: 4px 4px 0 0;
}
.mia .hero-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.mia .hero-card p.small { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.mia .path-pick { display: grid; gap: 10px; }
.mia .path-pick a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 500; color: var(--navy); transition: .15s;
}
.mia .path-pick a:hover { border-color: var(--gold); background: var(--cream); }
.mia .path-pick a b { font-weight: 600; display: block; }
.mia .path-pick a small { color: var(--muted); font-size: .8rem; }
.mia .path-pick .arrow { color: var(--gold); font-size: 1.2rem; }
.mia .hero-card .fine { margin: 16px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

/* Trust strip */
.mia .trust { background: var(--navy-deep); border-top: 1px solid rgba(176,141,68,.25); }
.mia .trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.mia .trust li { padding: 22px 18px; color: #C9C6BC; font-size: .86rem; border-left: 1px solid rgba(255,255,255,.07); }
.mia .trust li:first-child { border-left: 0; }
.mia .trust li b { display: block; font-family: 'Lora', serif; color: var(--cream); font-size: 1.15rem; font-weight: 600; }

/* ---------- PATH CARDS ---------- */
.mia .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mia .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mia .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mia .head { margin-bottom: 48px; }
.mia .card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
}
.mia .card .num { font-family: 'Lora', serif; font-style: italic; color: var(--gold); font-size: .95rem; margin-bottom: 10px; }
.mia .card h3 { font-size: 1.45rem; }
.mia .card .who { color: var(--muted); font-size: .95rem; }
.mia .card .lines { margin: 8px 0 26px; border-top: 1px solid var(--line); }
.mia .card .lines a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--navy); }
.mia .card .lines a:hover { color: var(--gold); }
.mia .card .lines a::after { content: "\2192"; color: var(--gold); }
.mia .card .btn { margin-top: auto; }
.mia .card--feature { background: var(--navy); border-color: var(--navy); color: #C9C6BC; }
.mia .card--feature h3 { color: var(--cream); }
.mia .card--feature .who { color: #C9C6BC; }
.mia .card--feature .lines { border-color: rgba(255,255,255,.12); }
.mia .card--feature .lines a { color: var(--cream); border-color: rgba(255,255,255,.12); }
.mia .card--feature .badge { position: absolute; top: 18px; right: 18px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(217,197,154,.5); padding: 4px 9px; border-radius: 99px; }

/* ---------- STEPS ---------- */
.mia .steps { counter-reset: step; }
.mia .step { padding-top: 26px; border-top: 2px solid var(--navy); }
.mia .step::before { counter-increment: step; content: "0" counter(step); font-family: 'Lora', serif; font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.mia .step p { color: var(--muted); }

/* ---------- CASE FILES BAND ---------- */
.mia .casefile { border: 1px solid rgba(176,141,68,.45); border-radius: var(--radius); padding: 34px; background: rgba(255,255,255,.03); }
.mia .casefile .stamp { display: inline-block; border: 2px solid var(--gold); color: var(--gold); font-weight: 600; letter-spacing: .2em; font-size: .72rem; padding: 5px 12px; transform: rotate(-3deg); margin-bottom: 20px; text-transform: uppercase; }
.mia .casefile ol { counter-reset: beat; margin: 0; padding: 0; list-style: none; }
.mia .casefile li { counter-increment: beat; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(217,197,154,.25); color: #D8D3C6; }
.mia .casefile li::before { content: counter(beat, upper-roman) "."; color: var(--gold); font-family: 'Lora', serif; min-width: 30px; }
.mia .video-slot { aspect-ratio: 9 / 16; max-height: 560px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); }
.mia .video-slot iframe, .mia .video-slot video { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- TOOLKIT ---------- */
.mia .tool { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: .15s; display: flex; flex-direction: column; }
.mia .tool:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(27,42,74,.08); }
.mia .tool .tag { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.mia .tool h3 { font-size: 1.15rem; }
.mia .tool p { color: var(--muted); font-size: .92rem; flex: 1; }
.mia .tool .go { color: var(--navy); font-weight: 600; font-size: .9rem; }
.mia .tool:hover .go { color: var(--gold); }

/* ---------- TEAM ---------- */
.mia .person { text-align: center; }
.mia .person .photo {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px;
  background: var(--navy); display: flex; align-items: center; justify-content: center; position: relative;
}
.mia .person .photo img { width: 100%; height: 100%; object-fit: cover; }
.mia .person .photo .initials { font-family: 'Lora', serif; font-size: 3.4rem; color: var(--gold-soft); }
.mia .person .photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217,197,154,.35); border-radius: 3px; pointer-events: none; }
.mia .person h3 { margin-bottom: 2px; font-size: 1.25rem; }
.mia .person .role { color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.mia .person .blurb { color: var(--muted); font-size: .92rem; }

/* ---------- TESTIMONIALS ---------- */
.mia .quote { background: var(--paper); border-left: 3px solid var(--gold); padding: 28px; border-radius: 0 var(--radius) var(--radius) 0; }
.mia .quote p { font-family: 'Lora', serif; font-size: 1.08rem; font-style: italic; color: var(--navy); line-height: 1.55; }
.mia .quote cite { font-style: normal; font-weight: 600; font-size: .85rem; letter-spacing: .08em; color: var(--muted); }
.mia .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.mia .faq details { border-bottom: 1px solid var(--line); }
.mia .faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: 'Lora', serif; font-size: 1.15rem; color: var(--navy); font-weight: 600; }
.mia .faq summary::-webkit-details-marker { display: none; }
.mia .faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.6rem; color: var(--gold); font-family: 'Poppins', sans-serif; font-weight: 400; }
.mia .faq details[open] summary::after { content: "\2013"; }
.mia .faq details p { color: var(--muted); padding-bottom: 20px; max-width: 70ch; }

/* ---------- CTA BAND ---------- */
.mia .cta-band { background: var(--gold); color: #fff; }
.mia .cta-band h2 { color: #fff; }
.mia .cta-band .lede { color: rgba(255,255,255,.9); }
.mia .cta-band .btn--navy:hover { background: var(--navy-deep); }
.mia .cta-band .btn--ghost { border-color: #fff; color: #fff; }
.mia .cta-band .btn--ghost:hover { background: #fff; color: var(--navy); }

/* ---------- PAGE HERO (inner pages) ---------- */
.mia .page-hero { background: var(--navy); padding: clamp(64px, 8vw, 104px) 0; color: #C9C6BC; }
.mia .page-hero h1 { color: var(--cream); font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.mia .page-hero .lede { color: #C9C6BC; }

/* About story */
.mia .portrait { position: relative; }
.mia .portrait img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.mia .portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.mia .portrait-wrap { position: relative; z-index: 0; padding-right: 18px; }
.mia .signature { font-family: 'Lora', serif; font-style: italic; font-size: 1.4rem; color: var(--navy); margin-top: 8px; }
.mia .pull { font-family: 'Lora', serif; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--cream); line-height: 1.35; max-width: 28ch; margin: 0 auto; font-style: italic; }
.mia .value h3 { font-size: 1.2rem; }
.mia .value p { color: var(--muted); font-size: .95rem; }
.mia .value { border-top: 2px solid var(--gold); padding-top: 22px; }

/* ---------- FOOTER ---------- */
.mia-footer { background: var(--navy-deep); color: #A9AEBB; font-size: .9rem; }
.mia-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 48px; }
.mia-footer .logo { display: inline-block; }
.mia-footer .mia-logo-art { height: 54px; }
.mia-footer .tagline { font-family: 'Lora', serif; font-style: italic; color: var(--gold-soft); font-size: 1.1rem; margin-bottom: 18px; }
.mia-footer h4 { font-family: 'Poppins', sans-serif; color: var(--cream); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.mia-footer li { margin-bottom: 9px; }
.mia-footer a:hover { color: var(--gold-soft); }
.mia-footer .contact a { color: var(--cream); font-weight: 500; }
.mia-footer .social { display: flex; gap: 10px; margin-top: 18px; }
.mia-footer .social a { width: 38px; height: 38px; border: 1px solid rgba(217,197,154,.35); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.mia-footer .social svg { width: 16px; height: 16px; fill: var(--gold-soft); }
.mia-footer .social a:hover { background: var(--gold); border-color: var(--gold); }
.mia-footer .social a:hover svg { fill: #fff; }
.mia-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; }
.mia-footer .bottom nav { display: flex; gap: 18px; }
.mia-footer .disclaimer { font-size: .76rem; color: #7E8495; padding-bottom: 28px; max-width: 90ch; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1040px) {
  .mia .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mia-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mia .hero .wrap, .mia .grid-2 { grid-template-columns: 1fr; gap: 44px; }
  .mia .grid-3 { grid-template-columns: 1fr; }
  .mia .trust ul { grid-template-columns: 1fr 1fr; }
  .mia .trust li:nth-child(3) { border-left: 0; }
  .mia .trust li { border-top: 1px solid rgba(255,255,255,.07); }
  .mia .portrait-wrap { max-width: 420px; }
}
@media (max-width: 560px) {
  .mia .grid-4 { grid-template-columns: 1fr; }
  .mia-footer .top { grid-template-columns: 1fr; gap: 28px; }
  .mia .btn-row .btn { width: 100%; }
  .mia .hero-card { padding: 24px 20px; }
  .mia .casefile { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .mia * { transition: none !important; } }

/* Elementor Pro Theme Builder wraps the header in its own <header> element.
   Make that wrapper the sticky element so the navy bar stays pinned on scroll. */
.elementor-location-header:has(#mia-header) { position: sticky; top: 0; z-index: 999; }
.elementor-location-header:has(#mia-header) .mia-header { position: relative; }
body.admin-bar .elementor-location-header:has(#mia-header) { top: 32px; }
@media (max-width: 782px) { body.admin-bar .elementor-location-header:has(#mia-header) { top: 0; } }
/* Remove Elementor's default padding around the pasted HTML so the bars run edge to edge */
.elementor-location-header:has(#mia-header) .elementor-widget-container,
.elementor-location-footer:has(.mia-footer) .elementor-widget-container { padding: 0 !important; margin: 0 !important; }
