/*
 * wecare-modern.css
 * Shared styles for Collier WeCare landing page and property review pages.
 */

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f3;
  color: #1c2b3a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Page Shell ─────────────────────────────── */

.wc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ──────────────────────────────────── */

.wc-header {
  background: #1c2b3a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.wc-logo {
  height: 110px;
  width: auto;
  max-width: 80vw;
}

.wc-property-logo {
  height: 100px;
  width: auto;
  max-width: 80vw;
}

/* ── Main ────────────────────────────────────── */

.wc-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

/* ── Card ────────────────────────────────────── */

.wc-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(28, 43, 58, 0.09);
  padding: 48px 40px;
  width: 100%;
  max-width: 460px;
  text-align: center;
}

/* ── Eyebrow ─────────────────────────────────── */

.wc-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a6944; /* darkened from #96815a to pass 4.5:1 contrast on white */
  margin-bottom: 12px;
}

/* ── Headings ────────────────────────────────── */

.wc-question {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1c2b3a;
  line-height: 1.3;
}

/* ── Subtitle ────────────────────────────────── */

.wc-subtitle {
  font-size: 0.9rem;
  color: #4b5563; /* darkened from #6b7280 to pass 4.5:1 contrast on white */
  line-height: 1.55;
  margin-top: 8px;
  margin-bottom: 24px;
}

/* ── Divider ─────────────────────────────────── */

.wc-divider {
  height: 1px;
  background: #e9ecef;
  margin: 24px 0;
}

/* ── Button Group ────────────────────────────── */

.wc-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

/* ── Buttons ─────────────────────────────────── */

.wc-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #1c2b3a;
  color: #ffffff;
  border: 2px solid #1c2b3a;
  border-radius: 8px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-align: center;
  line-height: 1.4;
}

.wc-btn:hover {
  background: #2d3f4e;
  border-color: #2d3f4e;
  color: #ffffff;
  text-decoration: none;
}

.wc-btn:focus {
  background: #2d3f4e;
  border-color: #2d3f4e;
  color: #ffffff;
  text-decoration: none;
  outline: none; /* suppressed for mouse; keyboard ring applied via :focus-visible */
}

.wc-btn:focus-visible {
  outline: 3px solid #7a6944;
  outline-offset: 3px;
}

.wc-btn:active {
  background: #141e28;
  border-color: #141e28;
}

.wc-btn--outline {
  background: transparent;
  color: #1c2b3a;
}

.wc-btn--outline:hover,
.wc-btn--outline:focus {
  background: #1c2b3a;
  color: #ffffff;
}

/* ── Select ──────────────────────────────────── */

.wc-select {
  width: 100%;
  padding: 13px 40px 13px 14px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231c2b3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: #1c2b3a;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wc-select:focus {
  outline: none;
  border-color: #7a6944;
  box-shadow: 0 0 0 3px rgba(122, 105, 68, 0.25);
}

.wc-select:focus-visible {
  outline: 3px solid #7a6944;
  outline-offset: 2px;
}

/* ── Select Wrap ─────────────────────────────── */

.wc-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Footer ──────────────────────────────────── */

.wc-footer {
  background: #1c2b3a;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  font-size: 0.78rem;
  flex-wrap: wrap;
}

.wc-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.wc-footer a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

/* ── Responsive ──────────────────────────────── */

@media (max-width: 520px) {
  .wc-header {
    padding: 28px 20px;
  }

  .wc-logo {
    height: 80px;
  }

  .wc-property-logo {
    height: 76px;
  }

  .wc-main {
    padding: 28px 16px;
    align-items: flex-start;
    padding-top: 36px;
  }

  .wc-card {
    padding: 32px 22px;
    border-radius: 10px;
  }

  .wc-question {
    font-size: 1.25rem;
  }
}

/* ── Screen-reader only utility ──────────────── */

.wc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
