/* =========================================
   DigitalPostOffice.us (Replica Build)
   Shared Stylesheet (GoDaddy-like clean UI)
   ========================================= */

/* --- CSS Reset (lightweight) --- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* --- Font + Base --- */
:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #e6e6e6;
  --soft: #f7f7f7;
  --soft-2: #fbfbfb;
  --link: #0a58ca;
  --btn: #111111;
  --btnText: #ffffff;
  --btnAlt: #ffffff;
  --btnAltText: #111111;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);

  --radius: 14px;
  --radiusSm: 10px;

  --container: 1120px;
  --padX: 22px;
  --padY: 64px;

  --h1: clamp(28px, 3vw, 42px);
  --h2: clamp(22px, 2.3vw, 30px);
  --h3: 18px;
  --p: 16px;
  --small: 14px;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: var(--p);
  line-height: 1.55;
}

/* --- Layout Helpers --- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--padX);
}

.section{
  padding: var(--padY) 0;
}

.section--soft{
  background: var(--soft);
}

.section--soft2{
  background: var(--soft-2);
}

.grid{
  display: grid;
  gap: 18px;
}

.grid-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px){
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
}

/* --- Typography --- */
h1, h2, h3{
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

h1{ font-size: var(--h1); line-height: 1.15; }
h2{ font-size: var(--h2); line-height: 1.2; }
h3{ font-size: var(--h3); line-height: 1.25; }

p{ margin: 0 0 14px 0; color: var(--text); }
.p-muted{ color: var(--muted); }
.small{ font-size: var(--small); color: var(--muted); }

.ul{
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: var(--text);
}
.ul li{ margin: 8px 0; }

/* --- Buttons --- */
.btnRow{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--btn);
  color: var(--btnText);
}
.btn--primary:hover{
  box-shadow: var(--shadow);
}

.btn--ghost{
  background: var(--btnAlt);
  color: var(--btnAltText);
  border-color: var(--border);
}
.btn--ghost:hover{
  box-shadow: var(--shadow);
  border-color: #d7d7d7;
}

/* --- Cards --- */
.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.card--shadow{
  box-shadow: var(--shadow);
  border-color: rgba(0,0,0,0.06);
}

.card h3{ margin-bottom: 8px; }
.card p{ margin-bottom: 0; color: var(--muted); }

/* --- Header / Nav --- */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navWrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand img{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
}

.brandTitle{
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.nav a{
  font-weight: 600;
  color: #222;
  padding: 10px 10px;
  border-radius: 999px;
  transition: background .15s ease;
}

.nav a:hover{
  background: #f2f2f2;
}

.nav a.is-active{
  background: #111;
  color: #fff;
}

.navToggle{
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

@media (max-width: 900px){
  .nav{
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px var(--padX) 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .nav.is-open{ display: flex; }
  .navToggle{ display: inline-flex; }
}

/* --- Hero --- */
.hero{
  padding: 44px 0 22px;
}

.heroGrid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

@media (max-width: 900px){
  .heroGrid{ grid-template-columns: 1fr; }
}

.heroKicker{
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.hero h1{ margin-bottom: 14px; }
.hero p{ color: var(--muted); font-size: 16px; }

.heroMedia{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fff;
}

.heroMedia img{
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
}

/* --- Section Titles --- */
.sectionTitle{
  margin-bottom: 22px;
}

.sectionTitle p{ color: var(--muted); max-width: 72ch; }

/* --- Partner Logos --- */
.logoRow{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.logoPill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.logoPill img{
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* --- Accordion --- */
.accordion{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.accItem + .accItem{ border-top: 1px solid var(--border); }

.accBtn{
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-weight: 700;
}

.accBtn:hover{ background: #fafafa; }

.accIcon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-weight: 900;
}

.accPanel{
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
}
.accPanel p{ margin-top: 10px; color: var(--muted); }
.accPanel .ul{ color: var(--muted); }
.accItem.is-open .accPanel{ display: block; }

/* --- Maps / Embeds --- */
.embed{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.embed iframe{
  width: 100%;
  height: 320px;
  border: 0;
}

/* --- Footer --- */
.footer{
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 34px 0;
}

.footerTop{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px){
  .footerTop{ grid-template-columns: 1fr; }
}

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

.footerNav a{
  color: #222;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}

.footerNav a:hover{ box-shadow: var(--shadow); }

.footerBottom{
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: var(--small);
}

/* --- Utility --- */
.hr{
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}
.center{ text-align: center; }
.mt-0{ margin-top: 0; }
.mb-0{ margin-bottom: 0; }

/* ===== Header Layout & Logo (FINAL) ===== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.brand img {
  height: 222px;      /* adjust 72–96px if desired */
  width: auto;
  max-width: 2900%;
}

.site-nav {
  flex: 0 0 auto;
}

/* ===== Heading color override ===== */

h1,
h2,
h3 {
  color: #c62828; /* deep professional red */
}

/* ===== DBA / Ownership Notice ===== */

.dba-notice {
  border-top: 1px solid #e0e0e0;
  margin-top: 32px;
  padding-top: 16px;
  font-size: 0.9rem;
  color: #555;
}

.dba-notice a {
  color: #c62828; /* matches your red headers */
  text-decoration: none;
  font-weight: 600;
}

.dba-notice a:hover {
  text-decoration: underline;
}
