/* ============================================
   HomeBuyer Experts — Boutique Advisory Aesthetic
   ============================================ */

:root {
  --color-primary: #1a1a2e;
  --color-accent: #2d5a3d;
  --color-accent-light: #3a7a52;
  --color-warm: #c9a84c;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-bg: #ffffff;
  --color-bg-warm: #faf9f6;
  --color-bg-section: #f5f3ef;
  --color-border: #e8e5e0;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --content-width: 760px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; margin-top: 3rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.25rem; font-size: 1.125rem; }

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-light); }

blockquote {
  border-left: 3px solid var(--color-warm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-bg-warm);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

strong { font-weight: 600; }
hr { border: none; border-top: 1px solid var(--color-border); margin: 3rem 0; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { text-decoration: none; }

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active { color: var(--color-primary); }

.nav-cta a {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.nav-cta a:hover { background: var(--color-accent-light); }

.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero {
  padding: 8rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero-tagline {
  font-size: 1.3rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(45,90,61,0.25);
}
.btn-primary:hover { background: var(--color-accent-light); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,90,61,0.3); }

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-secondary:hover { background: var(--color-accent); color: #fff; }

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--color-primary);
  padding: 2rem;
  text-align: center;
}

.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item .icon { font-size: 1.1rem; }

/* ---- Sections ---- */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--color-bg-section); }

.container { max-width: var(--content-width); margin: 0 auto; }
.container-wide { max-width: var(--max-width); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-top: 0; font-size: 2.25rem; }
.section-header p { color: var(--color-text-light); max-width: 560px; margin: 0.75rem auto 0; }

/* ---- Problem/Solution Grid ---- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.problem-side h3, .solution-side h3 { margin-top: 0; margin-bottom: 1rem; }

.problem-list, .solution-list { list-style: none; padding: 0; }

.problem-list li, .solution-list li {
  padding: 0.6rem 0;
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.problem-list li { color: var(--color-text-light); }
.problem-list li::before { content: '×'; color: #c44; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; line-height: 1.5; }
.solution-list li::before { content: '✓'; color: var(--color-accent); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; line-height: 1.5; }

/* ---- Advantage Cards ---- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}

.advantage-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.advantage-icon { font-size: 2rem; margin-bottom: 1rem; }
.advantage-card h3 { margin-top: 0; font-size: 1.25rem; margin-bottom: 0.5rem; }
.advantage-card p { font-size: 1rem; color: var(--color-text-light); margin: 0; }

/* ---- Audience Cards ---- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: var(--color-bg-warm);
  border-radius: 10px;
  padding: 1.75rem;
  border-left: 3px solid var(--color-warm);
}

.audience-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.audience-card p { margin: 0; font-size: 0.95rem; color: var(--color-text-light); }

/* ---- Process Steps ---- */
.process-steps { position: relative; max-width: 600px; margin: 0 auto; }

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step:not(:last-child) .step-number::after {
  content: '';
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--color-border);
}

.step-content h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.step-content p { margin: 0; font-size: 0.95rem; color: var(--color-text-light); }

/* ---- Tagline Banner ---- */
.tagline-banner {
  background: var(--color-primary);
  padding: 4.5rem 2rem;
  text-align: center;
}

.tagline-banner blockquote {
  border: none;
  background: none;
  color: rgba(255,255,255,0.95);
  font-size: 1.6rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  line-height: 1.5;
}

.tagline-banner .attribution {
  color: var(--color-warm);
  font-size: 0.9rem;
  font-style: normal;
  font-family: var(--font-body);
  margin-top: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--color-bg-warm);
}

.cta-section h2 { margin-top: 0; font-size: 2.25rem; }
.cta-section p { color: var(--color-text-light); max-width: 500px; margin: 0.5rem auto 2rem; }

/* ---- Page Header (inner pages) ---- */
.page-header {
  text-align: center;
  padding: 5rem 2rem 3rem;
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 { margin-bottom: 0.75rem; font-size: 2.5rem; }

.page-header .subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Page Content ---- */
.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.page-content h2 { font-size: 1.75rem; margin-top: 3rem; margin-bottom: 1rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.5rem; }

.page-content ul, .page-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

/* ---- Contact Cards ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.contact-card {
  background: var(--color-bg-warm);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}

.contact-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.contact-card .contact-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-card h3 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.contact-card a { font-size: 1.2rem; font-weight: 600; }
.contact-card p { margin: 0; }

/* ---- Booking Section ---- */
.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.booking-card {
  background: var(--color-bg-warm);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
}

.booking-card h3 { margin: 0 0 0.75rem; }
.booking-card p { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 1.5rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-tagline { font-size: 0.95rem; margin-bottom: 0.25rem; }
.footer-region { font-size: 0.85rem; opacity: 0.6; }

.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: #fff; }
.footer-contact p { font-size: 0.95rem; margin-bottom: 0.5rem; }

.footer-legal p { font-size: 0.8rem; opacity: 0.5; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-headline { font-size: 2.25rem; }
  .hero { padding: 5rem 1.5rem 4rem; }
  .hero-tagline { font-size: 1.1rem; }
  .page-header { padding: 4rem 1.5rem 2.5rem; }
  .page-header h1 { font-size: 2rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .booking-options { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 1.5rem; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .tagline-banner blockquote { font-size: 1.25rem; }
  .section { padding: 3.5rem 1.5rem; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: 0.2s;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-border);
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.05rem; padding: 0.5rem 0; min-height: 44px; display: flex; align-items: center; }
  .nav-cta { width: 100%; }
  .nav-cta a { display: block; text-align: center; padding: 0.75rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.85rem; }
  .hero-tagline { font-size: 1rem; }
  .page-header h1 { font-size: 1.75rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; width: 100%; }
  .hero-cta { flex-direction: column; }
}

/* ---- Assessment Form ---- */
.assessment-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.assessment-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-warm);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--color-bg-section);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 16.6%;
}

.progress-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
  animation: fadeUp 0.4s ease-out;
}

.section-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.form-section h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.section-note {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.form-hint {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.12);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.radio-grid-narrow {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 400px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.radio-card, .check-card {
  display: block;
  cursor: pointer;
}

.radio-card input, .check-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-label, .check-label {
  display: block;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s;
  background: var(--color-bg);
  color: var(--color-text);
}

.radio-card:hover .radio-label,
.check-card:hover .check-label {
  border-color: var(--color-accent);
  background: rgba(45, 90, 61, 0.04);
}

.radio-card input:checked + .radio-label,
.check-card input:checked + .check-label {
  border-color: var(--color-accent);
  background: rgba(45, 90, 61, 0.08);
  color: var(--color-accent);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--color-accent);
}

/* Scale (1-5, 1-10) */
.scale-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.scale-label-left, .scale-label-right {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
  white-space: nowrap;
}

.scale-options {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.scale-options-10 {
  gap: 0.25rem;
}

.scale-option {
  cursor: pointer;
}

.scale-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.scale-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  background: var(--color-bg);
}

.scale-option:hover span {
  border-color: var(--color-accent);
}

.scale-option input:checked + span {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.btn-submit {
  min-width: 220px;
}

.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Validation highlighting */
.validation-msg {
  display: none;
  color: #c44;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
  padding-left: 0.25rem;
}

.form-group.invalid .validation-msg {
  display: block;
  animation: fadeUp 0.3s ease-out;
}

.form-group.invalid .form-label {
  color: #c44;
}

.form-group.invalid .form-input {
  border-color: #c44;
  box-shadow: 0 0 0 3px rgba(204, 68, 68, 0.12);
}

.form-group.invalid .radio-label,
.form-group.invalid .check-label {
  border-color: rgba(204, 68, 68, 0.4);
}

.form-group.invalid .scale-option span {
  border-color: rgba(204, 68, 68, 0.4);
}

/* Day cards small text */
.radio-label small {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 400;
  margin-top: 0.15rem;
}

/* Closing message */
.closing-message {
  background: var(--color-bg-warm);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--color-warm);
  margin-bottom: 1.5rem;
}

.closing-message p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.closing-message p:last-child { margin-bottom: 0; }

.closing-promise {
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.1rem !important;
}

.contact-consent {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 0.5rem;
  padding-left: 0.25rem;
}

.checkbox-grid-narrow {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 500px;
}

.privacy-note {
  background: var(--color-bg-section);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-note p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .checkbox-grid-narrow { grid-template-columns: 1fr; }
  .closing-message { padding: 1.5rem; }
}

@media (max-width: 768px) {
  .radio-grid { grid-template-columns: 1fr; }
  .radio-grid-narrow { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .scale-group { flex-direction: column; align-items: stretch; }
  .scale-options { justify-content: space-between; }
  .scale-options-10 { flex-wrap: wrap; justify-content: center; }
  .scale-option span { width: 38px; height: 38px; font-size: 0.8rem; }
  .scale-label-left, .scale-label-right { text-align: center; }
}

@media (max-width: 480px) {
  .radio-grid-narrow { grid-template-columns: 1fr; }
  .form-nav { flex-direction: column; gap: 1rem; }
  .form-nav .btn { width: 100%; }
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeUp 0.6s ease-out both;
}
.hero-content > :nth-child(1) { animation-delay: 0.1s; }
.hero-content > :nth-child(2) { animation-delay: 0.2s; }
.hero-content > :nth-child(3) { animation-delay: 0.3s; }
.hero-content > :nth-child(4) { animation-delay: 0.4s; }

/* Footer legal links */
.footer-links {
  margin-top: 1rem;
}
.footer-links p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255,255,255,0.9);
}
