/* Shared styles for all We Buy Houses brands */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #020617;
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: #38bdf8;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tagline {
  font-size: .85rem;
  opacity: .8;
}

.phone-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #f97316);
  color: #111827;
  font-weight: 600;
  font-size: .9rem;
}

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.hero-copy h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0 0 .75rem;
}

.hero-eyebrow {
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: .35rem;
}

.hero-sub {
  font-size: 1rem;
  max-width: 34rem;
  opacity: .9;
  margin-bottom: 1rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: .95rem;
}
.hero-bullets li {
  margin-bottom: .35rem;
  padding-left: 1.25rem;
  position: relative;
}
.hero-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ade80;
  font-size: .9rem;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: .9rem;
}

.card {
  background: rgba(15,23,42,0.95);
  border-radius: .75rem;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(148,163,184,0.35);
}

.form-card {
  background: rgba(15,23,42,0.97);
  border-radius: .9rem;
  padding: 1.3rem 1.3rem 1.6rem;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}

.form-card h2 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
}
.form-card p {
  margin: 0 0 .75rem;
  font-size: .85rem;
  opacity: .9;
}

form {
  display: grid;
  gap: .55rem;
}

label {
  font-size: .82rem;
  opacity: .9;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

input,
textarea {
  width: 100%;
  border-radius: .55rem;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  padding: .45rem .6rem;
  font-size: .9rem;
}

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

/* Honeypot */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

button.primary {
  margin-top: .25rem;
  width: 100%;
  border-radius: .75rem;
  padding: .7rem .75rem;
  border: none;
  font-weight: 600;
  font-size: .95rem;
  background: linear-gradient(135deg, #2563eb, #f97316);
  color: #111827;
  cursor: pointer;
}
button.primary:hover {
  filter: brightness(1.05);
}

.tcpa {
  font-size: .7rem;
  opacity: .7;
  margin-top: .4rem;
}

.site-footer {
  margin-top: 2rem;
  font-size: .78rem;
  opacity: .8;
}

.site-footer .disclaimer {
  font-size: .7rem;
  opacity: .7;
}

/* Cities list */
.cities-list {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
}
.cities-list li {
  break-inside: avoid;
  margin-bottom: .35rem;
}

/* Legal pages */
main.legal {
  max-width: 720px;
  margin: 2rem auto;
  background: rgba(15,23,42,0.9);
  border-radius: .75rem;
  padding: 1.5rem 1.5rem 2rem;
  border: 1px solid rgba(148,163,184,0.4);
}
main.legal h1 {
  margin-top: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .layout-two {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Floating mobile call button */
.mobile-call-now {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #f97316);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  z-index: 999;
}

@media (min-width: 901px) {
  .mobile-call-now {
    display: none;
  }
}
