/* Remedy Care Services — site styles */
:root {
  --plum-900: #2E1236;
  --plum-700: #4A1F57;
  --plum-50:  #F6F1F8;
  --lavender: #E2D6E8;
  --green-700: #3E6219;
  --green-600: #4F7A22;
  --green-300: #B9DD8A;
  --green-50:  #F3F7EC;
  --green-100: #E7F0DA;
  --whatsapp: #25683A;
  --ink: #1E1A22;
  --text: #4A4450;
  --muted: #5A5560;
  --line: #E4DFE8;
  --field: #CFC7D6;
  --white: #FFFFFF;
  --display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-700); }
a:hover { color: var(--plum-900); }
h1, h2, h3 { font-family: var(--display); color: var(--plum-900); margin: 0; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 2px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
}
@media (max-width: 600px) {
  .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
}
.btn-primary { background: var(--plum-700); color: var(--white); }
.btn-primary:hover { background: var(--plum-900); color: var(--white); }
.btn-outline { background: var(--white); color: var(--plum-700); border-color: var(--plum-700); }
.btn-outline:hover { background: var(--plum-50); }
.btn-green { background: var(--green-300); color: #1F2E0B; }
.btn-green:hover { background: #A9D272; color: #1F2E0B; }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); padding: 12px 20px; }
.btn-whatsapp:hover { background: #1C5230; color: var(--white); }
.btn-sm { padding: 13px 22px; }

/* Top bar */
.topbar { background: var(--plum-900); color: #EFE7F2; font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #EFE7F2; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar strong { color: var(--white); }
.topbar-group { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.cqc { display: inline-flex; gap: 6px; align-items: center; }
.staff-login { color: var(--white) !important; font-weight: 600; border: 1px solid #6E4A7A; padding: 4px 12px; border-radius: 6px; }
.staff-login:hover { background: var(--plum-700); text-decoration: none !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; font-weight: 600; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--plum-700); }
.nav .btn { color: var(--white); padding: 11px 20px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--plum-700); color: var(--plum-700); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; align-items: center; gap: 8px; }

@media (max-width: 960px) {
  .logo img { height: 52px; }
  .js .menu-toggle { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 12px 4px; border-top: 1px solid var(--line); }
  .js .nav .btn { margin-top: 12px; text-align: center; border-top: 0; }
}

/* Hero */
.hero { background: var(--plum-50); }
.hero .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; background: var(--green-100); color: var(--green-700); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; }
.hero-lead { font-size: 20px; color: var(--text); max-width: 34em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--text); padding-top: 8px; list-style: none; margin: 0; padding-left: 0; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.hero-img { flex: 1 1 400px; min-width: 0; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 40%; border-radius: 20px; }

/* Sections */
.section { padding-top: 88px; padding-bottom: 88px; }
@media (max-width: 600px) { .section { padding-top: 64px; padding-bottom: 64px; } .hero .container { padding-top: 48px; padding-bottom: 56px; } }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.eyebrow-dark { color: var(--green-700); }
.h2 { font-size: clamp(30px, 3.4vw, 38px); }
.lead { color: var(--text); }
.stack { display: flex; flex-direction: column; gap: 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 21px; }
.card p { color: var(--text); }
.icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--plum-50); display: grid; place-items: center; }

/* About */
.about { padding-top: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
@media (max-width: 400px) { .grid-2 { grid-template-columns: 1fr; } }
.photo-card { border-radius: 20px; overflow: hidden; background: var(--plum-50); display: flex; flex-direction: column; }
.photo-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-card .body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 10px; }
.photo-card h2 { font-size: 26px; }
.photo-card p { color: var(--text); }

/* Our support */
.support { background: var(--green-50); }
.support .container { display: flex; flex-wrap: wrap; gap: 48px; }
.support-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.support-grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.support-grid li { background: var(--white); border-radius: 12px; padding: 20px 22px; }
.support-grid h3 { font-size: 18px; margin-bottom: 4px; }
.support-grid p { color: var(--text); font-size: 16px; }

/* Referrals */
.referrals-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { border-top: 3px solid var(--plum-700); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step-num { font-family: var(--display); font-weight: 700; color: var(--plum-700); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--text); font-size: 16px; }

/* Landlords + Careers */
.partners { padding-top: 0; }
.panel { border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { font-size: 30px; line-height: 1.2; }
.panel .btn { align-self: flex-start; margin-top: 8px; }
.panel-dark { background: var(--plum-900); color: #EFE7F2; }
.panel-dark h2 { color: var(--white); }
.panel-dark .eyebrow { color: var(--green-300); }
.panel-light { background: var(--plum-50); }
.panel-light p { color: var(--text); }
@media (max-width: 600px) { .panel { padding: 28px; } }

/* Contact */
.contact { background: var(--green-50); }
.contact .container { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-info img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; border-radius: 16px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-info .btn { align-self: flex-start; }
.contact-form { flex: 1 1 440px; min-width: 0; background: var(--white); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 600px) { .contact-form { padding: 24px; } }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; padding: 12px; border: 1px solid var(--field); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 14px; color: var(--muted); }
.contact-form .btn { align-self: flex-start; }
.hidden-field { display: none; }

/* Footer */
.site-footer { background: var(--plum-900); color: #D9CDE0; font-size: 15px; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.footer-brand strong { font-family: var(--display); font-size: 20px; color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 48px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a, .socials a { color: var(--white); text-decoration: none; }
.footer-nav a:hover, .socials a:hover { text-decoration: underline; }
.socials { display: flex; gap: 16px; }
.footer-bottom { border-top: 1px solid #4E3358; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }

/* Simple page (privacy, thanks) */
.page { padding-top: 64px; padding-bottom: 88px; }
.page .container { max-width: 800px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); }
.page h2 { font-size: 24px; margin-top: 16px; }
.page p, .page li { color: var(--text); }
.page ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
