/* ============================================================
   Backstage Hair Salon — Chair Rental Landing Page Styles
   Dark luxury theme. BEM-ish prefix: cr- (chair rental)
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:           #0a0a0a;
  --surface:      #111111;
  --surface-2:    #181818;
  --surface-3:    #222222;
  --text:         #f0ece6;
  --text-muted:   #9e9690;
  --text-dim:     #5e5a56;
  --accent:       #b8985a;
  --accent-light: #d4b278;
  --accent-dark:  #9a7e44;
  --border:       rgba(255,255,255,0.07);
  --border-acc:   rgba(184,152,90,0.28);
  --radius:       4px;
  --radius-lg:    10px;
  --max-w:        1100px;
  --ease:         0.2s ease;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.cr-page {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
address { font-style: normal; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.cr-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section.cr-section { padding: 6rem 0; }
@media (max-width: 768px) { section.cr-section { padding: 4rem 0; } }

/* ── BUTTONS ─────────────────────────────────────────────── */
.cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  min-height: 52px;
  letter-spacing: 0.01em;
}
.cr-btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.cr-btn--primary:hover, .cr-btn--primary:focus-visible {
  background: var(--accent-light);
  border-color: var(--accent-light);
}
.cr-btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
}
.cr-btn--outline:hover, .cr-btn--outline:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.cr-btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.cr-btn--ghost:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── STICKY MOBILE CTA ───────────────────────────────────── */
.cr-sticky-cta {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  width: calc(100% - 2.5rem);
  max-width: 360px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(184,152,90,0.38);
  transition: background var(--ease), transform var(--ease);
  letter-spacing: 0.01em;
}
.cr-sticky-cta:hover { background: var(--accent-light); transform: translateX(-50%) translateY(-1px); }
@media (max-width: 768px) { .cr-sticky-cta { display: block; } }

/* ── HEADER ──────────────────────────────────────────────── */
.cr-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cr-logo { display: flex; align-items: center; }
.cr-logo img {
  height: 42px;
  width: auto;
  opacity: 0.92;
}
.cr-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.cr-call-btn { font-size: 0.875rem; padding: 0.65rem 1.25rem; min-height: 44px; }
.cr-call-btn svg { width: 14px; height: 14px; }

/* ── HERO ────────────────────────────────────────────────── */
.cr-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}
.cr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(184,152,90,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(94,31,46,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.cr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cr-hero .cr-container { position: relative; z-index: 1; }
.cr-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.cr-hero h1 { margin-bottom: 1.375rem; max-width: 13ch; }
.cr-hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.75rem;
  line-height: 1.72;
}
.cr-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.25rem; }
.cr-trust-badges { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.cr-trust-badge {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cr-trust-badge::before { content: '✦'; color: var(--accent); font-size: 0.55rem; }

/* ── STUDIO ──────────────────────────────────────────────── */
.cr-studio {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cr-studio h2 { margin-bottom: 1.125rem; }
.cr-studio-body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3.25rem;
  line-height: 1.72;
}
.cr-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) { .cr-stats { grid-template-columns: 1fr; } }
.cr-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color var(--ease);
}
.cr-stat:hover { border-color: var(--border-acc); }
.cr-stat a { display: block; }
.cr-stat strong {
  display: block;
  font-size: 1.3125rem;
  font-family: 'Playfair Display', serif;
  color: var(--text);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.cr-stat span { font-size: 0.8125rem; color: var(--text-muted); }
.cr-stat .stars { color: var(--accent); }

/* ── WHO WE WELCOME ──────────────────────────────────────── */
.cr-welcome { }
.cr-welcome h2 { margin-bottom: 2.75rem; }
.cr-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .cr-cards { grid-template-columns: 1fr; } }
.cr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: border-color var(--ease), transform var(--ease);
}
.cr-card:hover { border-color: var(--border-acc); transform: translateY(-2px); }
.cr-card-icon {
  width: 40px; height: 40px;
  background: rgba(184,152,90,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.cr-card h3 { margin-bottom: 0.6rem; }
.cr-card-specialty { font-size: 0.8125rem; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.cr-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; }

/* ── RENTAL PLANS ────────────────────────────────────────── */
.cr-plans { background: var(--surface); }
.cr-plans h2 { margin-bottom: 0.875rem; }
.cr-plans-sub { color: var(--text-muted); font-size: 1.0625rem; margin-bottom: 3rem; }
.cr-plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) { .cr-plan-cards { grid-template-columns: 1fr; } }
.cr-plan {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex; flex-direction: column;
  transition: border-color var(--ease);
}
.cr-plan:hover { border-color: var(--border-acc); }
.cr-plan--popular {
  border-color: var(--border-acc);
  background: linear-gradient(145deg, var(--surface-2) 0%, rgba(184,152,90,0.04) 100%);
}
.cr-plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0a0a;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.28rem 0.875rem;
  border-radius: 50px; white-space: nowrap;
}
.cr-plan h3 { margin-bottom: 0.625rem; font-size: 1.125rem; }
.cr-plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.cr-plan-price span { font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 400; color: var(--text-muted); }
.cr-plan-desc { font-size: 0.875rem; color: var(--text-dim); margin-bottom: 1.75rem; flex: 1; }
.cr-plan-cta { width: 100%; }
.cr-footnote { font-size: 0.8125rem; color: var(--text-dim); text-align: center; font-style: italic; }

/* ── WHAT'S INCLUDED ─────────────────────────────────────── */
.cr-included { }
.cr-included h2 { margin-bottom: 2.75rem; }
.cr-included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem 2rem;
  list-style: none;
}
@media (max-width: 620px) { .cr-included-list { grid-template-columns: 1fr; } }
.cr-included-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9375rem; color: var(--text-muted);
  padding: 0.4rem 0;
}
.cr-included-list li::before {
  content: '✓'; color: var(--accent); font-weight: 700;
  flex-shrink: 0; margin-top: 0.05rem;
}

/* ── FORM SECTION ────────────────────────────────────────── */
.cr-form-section { background: var(--surface); }
.cr-form-section h2 { margin-bottom: 0.875rem; }
.cr-form-sub { color: var(--text-muted); margin-bottom: 0.5rem; font-size: 1.0625rem; }
.cr-form-phone { color: var(--text-muted); margin-bottom: 2.75rem; font-size: 0.9375rem; }
.cr-form-phone a { color: var(--accent); font-weight: 500; }
.cr-form-phone a:hover { color: var(--accent-light); }

#chair-rental-form { max-width: 600px; }
.cr-field { margin-bottom: 1.25rem; }
.cr-field label {
  display: block;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text); margin-bottom: 0.4rem;
}
.cr-field .req { color: var(--accent); margin-left: 1px; }
.cr-field input,
.cr-field select,
.cr-field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  min-height: 52px;
  -webkit-appearance: none; appearance: none;
}
.cr-field input::placeholder,
.cr-field textarea::placeholder { color: var(--text-dim); }
.cr-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235e5a56' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.cr-field select option { background: #222; color: var(--text); }
.cr-field textarea { min-height: 96px; resize: vertical; }
.cr-field input:focus,
.cr-field select:focus,
.cr-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,152,90,0.14);
}
.cr-field input.cr-err,
.cr-field select.cr-err,
.cr-field textarea.cr-err { border-color: #d64545; }
.cr-field-error {
  font-size: 0.8125rem; color: #d64545;
  margin-top: 0.35rem; display: none;
}
.cr-field-error.visible { display: block; }

.cr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .cr-form-row { grid-template-columns: 1fr; } }

.cr-submit-btn {
  width: 100%;
  background: var(--accent); color: #0a0a0a;
  border: none; border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem; font-weight: 700;
  padding: 1rem; min-height: 56px;
  cursor: pointer; letter-spacing: 0.01em;
  transition: background var(--ease);
  margin-top: 0.375rem;
}
.cr-submit-btn:hover:not(:disabled) { background: var(--accent-light); }
.cr-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.cr-privacy {
  font-size: 0.8125rem; color: var(--text-dim);
  margin-top: 1rem; text-align: center;
}
.cr-privacy a { color: var(--accent); }
.cr-privacy a:hover { color: var(--accent-light); }

.cr-submit-error {
  font-size: 0.875rem; color: #d64545;
  margin-top: 0.875rem; text-align: center;
}

.cr-thanks {
  background: var(--surface-2);
  border: 1px solid var(--border-acc);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  text-align: center; max-width: 520px;
}
.cr-thanks h3 {
  font-size: 1.875rem; margin-bottom: 0.875rem; color: var(--accent);
}
.cr-thanks p { color: var(--text-muted); line-height: 1.65; }
.cr-thanks a { color: var(--accent); font-weight: 500; }

/* ── LOCATION ────────────────────────────────────────────── */
.cr-location { padding: 4.5rem 0; border-top: 1px solid var(--border); }
.cr-location h3 { margin-bottom: 1.375rem; }
.cr-location-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: start;
}
@media (max-width: 720px) { .cr-location-grid { grid-template-columns: 1fr; gap: 2rem; } }
.cr-contact-info address { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.65; }
.cr-contact-link {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--accent); font-size: 0.9375rem; font-weight: 500;
  margin-bottom: 0.625rem; transition: color var(--ease);
}
.cr-contact-link:hover { color: var(--accent-light); }
.cr-hours-note {
  font-size: 0.875rem; color: var(--text-dim);
  margin-top: 1rem;
}
.cr-hours-note a { color: var(--accent); }
.cr-map-link-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.cr-map-link-block p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.25rem; }
.cr-map-link-block .cr-btn { width: 100%; }

/* ── ACCESSIBILITY / MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
