/* RAW & Refined v2 — Editorial Boutique Photography Studio Stylesheet */
:root {
  --rr-bg: #F8F7F4;
  --rr-surface: #FFFFFF;
  --rr-ink: #161615;
  --rr-muted: #5C5954;
  --rr-border: #E2DFD8;
  --rr-accent: #7A6348;
  --rr-accent-dark: #5E4B35;
  --rr-danger: #9B2C2C;
  --rr-success: #2F5E41;
  --rr-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --rr-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rr-app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  font-family: var(--rr-sans);
  color: var(--rr-ink);
  background: var(--rr-bg);
  line-height: 1.6;
  box-sizing: border-box;
}
.rr-app *, .rr-app *::before, .rr-app *::after { box-sizing: border-box; }

.rr-app h1, .rr-app h2, .rr-app h3, .rr-app h4 {
  font-family: var(--rr-serif);
  color: var(--rr-ink);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.24;
  margin-top: 0;
}
.rr-app h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 16px; }
.rr-app h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.rr-app h3 { font-size: 1.45rem; margin-bottom: 10px; }
.rr-app p { color: var(--rr-muted); margin-top: 0; margin-bottom: 14px; }

.rr-eyebrow {
  display: inline-block;
  font-family: var(--rr-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rr-accent);
  border: 1px solid var(--rr-accent);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
  background: transparent;
}

.rr-panel {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: 3px;
  padding: 28px;
  margin-bottom: 24px;
}
.rr-panel-soft {
  background: var(--rr-bg);
  border: 1px solid var(--rr-border);
  border-radius: 3px;
  padding: 20px;
  margin-bottom: 18px;
}

.rr-btn,
.rr-btn-outline {
  display: inline-block;
  background: var(--rr-accent);
  color: #FFFFFF !important;
  font-family: var(--rr-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--rr-accent);
  border-radius: 2px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.rr-btn:hover,
.rr-btn-outline:hover,
.rr-btn:focus,
.rr-btn-outline:focus {
  background: var(--rr-accent-dark);
  border-color: var(--rr-accent-dark);
  color: #FFFFFF !important;
}
.rr-btn-sm,
.rr-btn-outline.rr-btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

.rr-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid var(--rr-border);
  background: var(--rr-bg);
  color: var(--rr-ink);
}
.rr-badge-ok { border-color: var(--rr-success); color: var(--rr-success); background: #F2F7F4; }
.rr-badge-warn { border-color: var(--rr-accent); color: var(--rr-accent-dark); background: #FAF6F0; }
.rr-badge-danger { border-color: var(--rr-danger); color: var(--rr-danger); background: #FDF3F3; }

.rr-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.rr-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.rr-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

.rr-hero {
  text-align: center;
  padding: 46px 24px 36px;
  border-bottom: 1px solid var(--rr-border);
  margin-bottom: 36px;
}
.rr-hero p.rr-lead {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: var(--rr-muted);
}
.rr-cta-card {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: 3px;
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rr-cta-card:hover { border-color: var(--rr-accent); }

/* Before / After Slider (Landscape & Portrait Adaptive + Outside Arrows) */
.rr-ba-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
}
.rr-ba-stage {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 820px;
}
.rr-ba-nav {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rr-accent);
  color: #FFFFFF !important;
  border: 1px solid var(--rr-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.rr-ba-nav:hover,
.rr-ba-nav:focus {
  background: var(--rr-accent-dark);
  border-color: var(--rr-accent-dark);
  color: #FFFFFF !important;
  outline: none;
}
.rr-ba-nav:active {
  transform: scale(0.96);
}
.rr-ba-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 3 / 2;
  margin: 6px auto 12px;
  overflow: hidden;
  border: 1px solid var(--rr-border);
  background: #EAE7E0;
  user-select: none;
}
.rr-ba-wrap.is-portrait {
  max-width: 460px;
}
.rr-ba-wrap.is-square {
  max-width: 580px;
}
.rr-ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rr-ba-before { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 2px solid #FFFFFF; }
.rr-ba-before img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
@media (max-width: 640px) {
  .rr-ba-carousel { gap: 10px; }
  .rr-ba-nav { width: 36px; height: 36px; }
}
.rr-ba-label {
  position: absolute; bottom: 14px; padding: 4px 10px; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; background: rgba(22, 22, 21, 0.78); color: #FFFFFF; z-index: 3;
}
.rr-ba-label-left { left: 14px; }
.rr-ba-label-right { right: 14px; }
.rr-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.rr-ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--rr-ink);
  color: var(--rr-ink); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; z-index: 4; pointer-events: none;
}

.rr-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  margin-bottom: 24px;
}
.rr-table th, .rr-table td {
  text-align: left;
  padding: 13px 15px;
  border-bottom: 1px solid var(--rr-border);
  font-size: 14px;
  vertical-align: top;
}
.rr-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rr-muted);
  background: var(--rr-bg);
}
.rr-price-figure {
  font-family: var(--rr-serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--rr-accent-dark);
  white-space: nowrap;
}

.rr-field { margin-bottom: 16px; }
.rr-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--rr-ink);
  margin-bottom: 6px;
}
.rr-field input[type="text"],
.rr-field input[type="email"],
.rr-field input[type="password"],
.rr-field input[type="url"],
.rr-field input[type="number"],
.rr-field input[type="date"],
.rr-field select,
.rr-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--rr-sans);
  font-size: 14px;
  color: var(--rr-ink);
  background: var(--rr-surface);
  border: 1px solid #CFCBC2;
  border-radius: 2px;
}
.rr-field input:focus, .rr-field select:focus, .rr-field textarea:focus {
  outline: none;
  border-color: var(--rr-accent);
}
.rr-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--rr-ink);
  cursor: pointer;
}
.rr-check-row input { margin-top: 4px; width: auto; flex-shrink: 0; }

.rr-legal-scroll {
  max-height: 185px;
  overflow-y: auto;
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  padding: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--rr-ink);
  margin-bottom: 12px;
}
.rr-disclaimer-box {
  background: #FAF6F0;
  border: 1px solid var(--rr-accent);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--rr-ink);
  margin: 12px 0;
  border-radius: 2px;
}

.rr-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rr-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.rr-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px;
  font-family: var(--rr-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rr-muted);
  cursor: pointer;
  text-decoration: none;
}
.rr-tab-btn.active { color: var(--rr-ink); border-bottom-color: var(--rr-accent); }

.rr-stepper { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.rr-step {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 10px; border: 1px solid var(--rr-border); background: var(--rr-bg); color: var(--rr-muted); border-radius: 2px;
}
.rr-step.done { background: var(--rr-accent); border-color: var(--rr-accent); color: #FFFFFF; font-weight: 600; }

/* Portrait Style Sample Cards with Visible Checkbox Below */
.rr-style-grid-portrait {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 22px;
}
.rr-style-card {
  border: 1px solid var(--rr-border);
  background: var(--rr-surface);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rr-style-card:hover {
  border-color: var(--rr-accent);
}
.rr-style-card.is-selected {
  border-color: var(--rr-accent);
  box-shadow: 0 0 0 2px var(--rr-accent);
  background: #FCFBF8;
}
.rr-style-portrait-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #EAE7E0;
  border-bottom: 1px solid var(--rr-border);
}
.rr-style-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rr-style-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.rr-style-check-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--rr-ink);
}
.rr-style-checkbox {
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  accent-color: var(--rr-accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* Luxury Airy Services & Pricing Layout */
.rr-pricing-page {
  padding-top: 44px;
  padding-bottom: 84px;
}
.rr-pricing-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--rr-border);
}
.rr-pricing-hero h1 {
  font-weight: 500;
  letter-spacing: 0.015em;
  margin-bottom: 18px;
}
.rr-pricing-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--rr-muted);
  margin-bottom: 0;
}
.rr-pricing-section {
  margin-bottom: 64px;
}
.rr-pricing-sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.rr-sec-num {
  font-family: var(--rr-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--rr-accent);
  flex-shrink: 0;
}
.rr-pricing-sec-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 500;
  margin: 0;
}
.rr-pricing-card-wrap {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: 3px;
  overflow-x: auto;
}
.rr-table-luxury {
  border: none;
  margin-bottom: 0;
}
.rr-table-luxury th {
  padding: 16px 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  background: #F4F2EC;
}
.rr-table-luxury td {
  padding: 22px 24px;
  font-size: 14.5px;
  line-height: 1.65;
  border-bottom: 1px solid #ECE9E2;
}
.rr-table-luxury tbody tr:last-child td {
  border-bottom: none;
}
.rr-row-highlight {
  background: #FAF6F0;
}
.rr-price-unit {
  font-size: 13px;
  color: var(--rr-muted);
}
.rr-turnaround-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--rr-ink);
  background: var(--rr-bg);
  border: 1px solid var(--rr-border);
  padding: 4px 10px;
  border-radius: 2px;
}
.rr-turnaround-muted {
  font-size: 13px;
  color: var(--rr-muted);
}
.rr-editorial-divider {
  border: none;
  border-top: 1px solid var(--rr-border);
  margin: 12px 0 60px;
}
.rr-panel-luxury {
  padding: 36px 38px;
}

.rr-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.rr-photo-card { border: 1px solid var(--rr-border); background: var(--rr-surface); border-radius: 2px; overflow: hidden; }
.rr-photo-card img { width: 100%; height: 190px; object-fit: cover; display: block; cursor: zoom-in; }
.rr-photo-meta { padding: 12px; font-size: 12px; }

.rr-chat-box { max-height: 380px; overflow-y: auto; border: 1px solid var(--rr-border); background: var(--rr-surface); padding: 18px; margin-bottom: 16px; }
.rr-msg { margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--rr-border); border-radius: 2px; max-width: 82%; }
.rr-msg-client { background: var(--rr-bg); margin-left: auto; border-color: #D5D0C6; }
.rr-msg-admin { background: var(--rr-surface); border-left: 3px solid var(--rr-accent); }
.rr-msg-meta { font-size: 11px; color: var(--rr-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

.rr-notice { padding: 12px 16px; border: 1px solid var(--rr-accent); background: #FAF6F0; color: var(--rr-ink); font-size: 14px; margin-bottom: 18px; }
.rr-notice-ok { border-color: var(--rr-success); background: #F2F7F4; color: var(--rr-success); }

.rr-lightbox {
  position: fixed; inset: 0; background: rgba(22, 22, 21, 0.92); display: none;
  align-items: center; justify-content: center; z-index: 99999; padding: 24px;
}
.rr-lightbox.open { display: flex; }
.rr-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border: 1px solid #444; }
.rr-lightbox-close { position: absolute; top: 20px; right: 26px; color: #FFFFFF; font-size: 28px; cursor: pointer; background: none; border: none; }

.rr-sig-canvas { border: 1px solid var(--rr-ink); background: #FFFFFF; width: 100%; max-width: 460px; height: 130px; touch-action: none; display: block; }


/* Front-End Admin Studio Portal Chat & Roster */
.rr-admin-chat-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 820px) {
  .rr-admin-chat-layout {
    grid-template-columns: 1fr;
  }
}
.rr-chat-roster {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  overflow-y: auto;
}
.rr-chat-person {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--rr-border);
  border-radius: 3px;
  background: var(--rr-bg);
  color: var(--rr-ink) !important;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.rr-chat-person:hover {
  border-color: var(--rr-accent);
  background: var(--rr-surface);
}
.rr-chat-person.active {
  border-color: var(--rr-accent);
  background: var(--rr-surface);
  box-shadow: inset 3px 0 0 var(--rr-accent);
}


/* Editorial Scannable FAQ Page */
.rr-faq-page {
  padding-top: 44px;
  padding-bottom: 84px;
}
.rr-faq-toc {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: 3px;
  padding: 24px 28px;
  margin-bottom: 44px;
}
.rr-faq-toc-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rr-accent);
  margin-bottom: 14px;
}
.rr-faq-toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rr-faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--rr-ink) !important;
  background: var(--rr-bg);
  border: 1px solid var(--rr-border);
  border-radius: 2px;
  text-decoration: none !important;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.rr-faq-pill:hover {
  border-color: var(--rr-accent);
  background: #FAF6F0;
}
.rr-faq-pill-num {
  font-family: var(--rr-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--rr-accent);
}
.rr-faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.rr-faq-card {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: 3px;
  padding: 32px 36px;
  scroll-margin-top: 28px;
}
.rr-faq-card-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EFECE6;
}
.rr-faq-card-head h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}
.rr-faq-card-body {
  padding-left: 38px;
}
.rr-faq-card-body p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--rr-muted);
  margin: 0 0 14px;
}
.rr-faq-card-body p:last-child {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .rr-faq-card { padding: 24px 20px; }
  .rr-faq-card-body { padding-left: 0; }
}
