/* Lavish Care — Agreement Form
   Black / white premium theme.
   Tweak colors in :root. */

:root {
  --bg: #fafafa;
  --panel: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --line-strong: #111111;
  --soft: #f4f4f4;
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.18), 0 10px 30px -15px rgba(0,0,0,0.10);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--ink);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.top-brand { font-weight: 800; letter-spacing: 4px; }
.top-meta { font-weight: 500; color: #cfcfcf; }

/* ---------- Page ---------- */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 32px 72px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ---------- HERO (left column) ---------- */
.hero { padding-top: 8px; }

.hero-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero-sub {
  color: var(--muted);
  margin: 0 0 36px;
  font-size: 16px;
  max-width: 48ch;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 22px;
}
.features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feat-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.feat-icon svg { width: 20px; height: 20px; }
.features strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.features span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

/* Product card — dark showcase */
.product-card {
  margin: 0;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.product-card-inner {
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card figcaption {
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 3px;
  color: #d0d0d0;
  font-weight: 600;
}

/* ---------- FORM (right column) ---------- */
.form-wrap {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 40px 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: sticky;
  top: 32px;
}

.form-title {
  font-size: 26px;
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.form-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.terms {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  padding: 18px 22px;
  max-height: 240px;
  overflow-y: auto;
  font-size: 13px;
  margin-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.terms.read {
  border-color: var(--ink);
  background: #fff;
}
.terms::-webkit-scrollbar { width: 8px; }
.terms::-webkit-scrollbar-thumb { background: #bbb; border-radius: 4px; }
.terms::-webkit-scrollbar-thumb:hover { background: #888; }
.terms:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.terms h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.terms p { margin: 0 0 10px; }
.terms-end {
  text-align: center;
  color: var(--muted);
  margin-top: 14px !important;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--muted);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0;
  transform: translateY(-4px);
}

/* ---------- Form fields ---------- */
form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.2px;
}
form label.full { margin-bottom: 14px; display: block; }
form label .hint {
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
form label .req { color: var(--ink); }

form input[type="text"],
form input[type="tel"],
form input[type="email"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
form input::placeholder { color: #b5b5b5; }
form input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.checkbox:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}
.checkbox:has(input:checked) {
  background: #fff;
  border-color: var(--ink);
}
.checkbox input {
  margin-top: 1px;
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.date-line {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 18px;
}

.submit-btn {
  width: 100%;
  padding: 16px 18px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.submit-btn:not(:disabled):hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.submit-btn:disabled {
  background: #d4d4d4;
  border-color: #d4d4d4;
  color: #fff;
  cursor: not-allowed;
}
.submit-btn.ghost {
  background: #fff;
  color: var(--ink);
}

.privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}

/* Success screen */
.success {
  text-align: center;
  padding: 28px 0 10px;
}
.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { width: 30px; height: 30px; }
.success h2 { margin: 0 0 12px; font-size: 22px; }
.success p { margin: 0 0 10px; }
.success .muted { color: var(--muted); font-size: 13px; margin-bottom: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .page {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 20px 48px;
  }
  .form-wrap { position: static; padding: 28px 22px; }
  .hero-title { font-size: 30px; }
  form .row { grid-template-columns: 1fr; }
  .top-bar { padding: 12px 20px; }
}
