/* Colorado Short Sale Experts — red, white & blue (patriotic professional) */
:root {
  --blue: #0b3d91;
  --blue-deep: #002868;
  --blue-mid: #1a54b8;
  --red: #bf0a30;
  --red-dark: #960826;
  --white: #ffffff;
  --paper: #f5f7fb;
  --ink: #1a1f2e;
  --muted: #5a6275;
  --line: #d5dbe8;
  --success: #1a7a4c;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 40, 104, 0.10);
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Patriotic accent bar */
.rwb-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-deep) 0%, var(--blue-deep) 33.33%, var(--white) 33.33%, var(--white) 66.66%, var(--red) 66.66%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.logo:hover { color: var(--blue-deep); }

.logo-mark {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
@media (max-width: 720px) {
  .logo-text { display: none; }
  .logo-mark { height: 44px; max-width: 160px; }
}
.footer-logo-wrap { padding: 1.25rem 0 0.5rem; }
.footer-logo {
  display: block;
  width: min(480px, 100%);
  height: auto;
  margin: 0 0 1rem;
}
.footer-brand .footer-logo { margin-bottom: 0.85rem; }

.logo svg { flex-shrink: 0; }
.logo-text span {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
}
.nav {
  display: none;
  align-items: center;
  gap: 1.15rem;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.header-email {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  color: var(--blue) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--blue);
  white-space: nowrap;
}
.header-email:hover {
  background: var(--blue);
  color: var(--white) !important;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 2px solid var(--red);
}
.header-cta:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white) !important; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-deep);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--blue-deep);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--paper);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a.mobile-cta-email { color: var(--blue); }
.mobile-nav a.mobile-cta-call { color: var(--red); }

@media (min-width: 860px) {
  .nav { display: flex; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .logo { font-size: 1rem; }
}
@media (max-width: 859px) {
  .header-cta-mobile {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    margin-left: auto;
  }
}
@media (min-width: 860px) {
  .header-cta-mobile { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--red);
  color: var(--white) !important;
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-secondary {
  background: var(--white);
  color: var(--blue) !important;
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white) !important;
}
.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 70% 55% at 95% 0%, rgba(191, 10, 48, 0.22), transparent 50%),
    linear-gradient(145deg, var(--blue-deep) 0%, var(--blue) 55%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 2.75rem 0 3.25rem;
}
.hero-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffb6c1;
  margin-bottom: 0.75rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.5vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.hero-lead {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.92);
  max-width: 38rem;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  backdrop-filter: blur(6px);
}
.hero-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}
.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-card li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.93);
}
.hero-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.trust-line {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
}

/* Sections */
section { padding: 3rem 0; }
.section-paper { background: var(--paper); }
.section-blue {
  background: var(--blue-deep);
  color: var(--white);
}
.section-blue a { color: #ffb6c1; }
.section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}
.section-blue .section-title { color: var(--white); }
.section-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.05rem;
}
.section-blue .section-lead { color: rgba(255,255,255,0.85); }

/* Cards / grids */
.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 40, 104, 0.04);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  color: var(--blue-deep);
}
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card p + p { margin-top: 0.65rem; }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Clock / NED */
.clock-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .clock-grid { grid-template-columns: repeat(4, 1fr); }
}
.clock-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}
.clock-item strong {
  display: block;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.clock-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Compare table */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.compare th, .compare td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare th {
  background: var(--blue-deep);
  color: var(--white);
  font-weight: 700;
}
.compare th:nth-child(4),
.compare td:nth-child(4) { background: rgba(191, 10, 48, 0.04); }
.compare th:nth-child(4) { background: var(--red); }
.compare tr:last-child td { border-bottom: 0; }
.compare .label { font-weight: 700; color: var(--blue-deep); width: 22%; }
@media (max-width: 720px) {
  .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare { min-width: 680px; }
}

/* Why Peter */
.why-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .why-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.65rem;
  color: var(--success);
  font-weight: 800;
}
.profile-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
}
.profile-card h3 {
  margin: 0 0 0.25rem;
  color: var(--blue-deep);
}
.profile-card .role {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.profile-card .contact-bits a {
  display: block;
  font-weight: 700;
  text-decoration: none;
  margin: 0.35rem 0;
  font-size: 1.05rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 2.75rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-deep), var(--white), var(--red));
}
.cta-band h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}
.cta-band p {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  color: rgba(255,255,255,0.9);
}
.cta-band .btn-row { justify-content: center; }

/* Counties */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pill-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-deep);
}

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  padding: 0.15rem 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--blue-deep);
  padding: 1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--red);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.faq details p + p { margin-top: -0.35rem; }

/* Forms / contact */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
.contact-methods a.big-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.contact-methods a.big-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.contact-methods a.big-link.email-emphasis {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(11, 61, 145, 0.12);
}
.contact-methods .meta {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
  color: var(--blue-deep);
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 1rem;
  background: var(--paper);
}
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  background: var(--white);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.35rem 4.25rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.15rem;
  top: 1.35rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--blue-deep);
}
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Disclaimer / footer */
.disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 0.95rem;
}
.site-footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.site-footer a:hover { color: #ffb6c1; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-contact-line {
  margin: 0.35rem 0;
}
.footer-contact-line a {
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}
.footer-bottom p { margin: 0.35rem 0; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--paper);
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--blue);
}
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--blue-deep);
  letter-spacing: -0.02em;
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.05rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
