/* ==========================================================================
   Room One Living Home Furnishings - Official Stylesheet
   Clean, easy-to-read layout with zero external dependencies.
   ========================================================================== */

:root {
  --brand: #78350f;
  --brand-hover: #5c280b;
  --brand-soft: #fef3c7;
  --accent: #1e3a5f;
  --accent-soft: #dbeafe;
  --bg: #fdfbf7;
  --bg-alt: #f5f0e6;
  --surface: #ffffff;
  --ink: #1c1917;
  --muted: #4b5563;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.12);
  --serif: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-w: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 18px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-hover);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.15rem, 4.2vw, 3.2rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.55rem; }
p { margin-bottom: 1.2rem; max-width: 66ch; }

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand);
  color: #fff;
  padding: 0.65rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 999;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--brand);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--brand-hover);
  color: #ffffff;
}
.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-secondary:hover {
  background: var(--brand-soft);
}
.btn-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand svg {
  width: 32px;
  height: 32px;
  fill: var(--brand);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.site-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--brand);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.8rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.section {
  padding: 5rem 0;
}
.section.alt {
  background-color: var(--bg-alt);
}
.section-head {
  max-width: 680px;
  margin-bottom: 3rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .lead {
  margin-inline: auto;
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 0.65rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 65ch;
}

.hero {
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at 90% 10%, var(--brand-soft) 0%, rgba(255,255,255,0) 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.2rem;
  align-items: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0;
}
.trust-row {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}
.trust-row svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-media-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.hero-media-caption {
  padding: 1.5rem 1.8rem;
}
.hero-location-pill {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-top: 0.8rem;
  font-size: 0.96rem;
  line-height: 1.55;
}
.badge-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.card .icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.showcase-img-wrap {
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
}
.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.showcase-card:hover .showcase-img {
  transform: scale(1.03);
}
.showcase-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.showcase-price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand);
  white-space: nowrap;
}
.showcase-tags {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.steps-grid {
  counter-reset: step-count;
}
.step-card {
  position: relative;
  padding-left: 3.8rem;
}
.step-card::before {
  counter-increment: step-count;
  content: counter(step-count);
  position: absolute;
  left: 1.4rem;
  top: 1.8rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-family: var(--serif);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-grid {
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}
.price-val {
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
  margin: 0.8rem 0 0.4rem;
}
.price-val small {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}
.price-features {
  list-style: none;
  margin: 1.5rem 0;
  flex: 1;
}
.price-features li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.price-features li:first-child {
  border-top: none;
}

.faq-box details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq-box summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  list-style: none;
}
.faq-box summary::-webkit-details-marker {
  display: none;
}
.faq-box summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
  font-weight: 400;
}
.faq-box details[open] summary::after {
  content: "\2212";
}
.faq-box details p {
  padding: 0 1.5rem 1.3rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
}
.checkbox-label input {
  width: auto;
  margin-top: 0.3rem;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  min-height: 1.4rem;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.form-status.success { color: var(--accent); }
.form-status.error { color: #dc2626; }

.about-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}

.site-footer {
  margin-top: auto;
  background: #18181b;
  color: #e4e4e7;
  padding: 4.5rem 0 2rem;
}
.site-footer a {
  color: #f4f4f5;
}
.site-footer a:hover {
  color: var(--brand-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.site-footer h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.site-footer ul {
  list-style: none;
}
.site-footer li {
  margin-bottom: 0.65rem;
  font-size: 0.96rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  font-size: 0.92rem;
  color: #d4d4d8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.consent-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 620px;
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  padding: 1.4rem;
  z-index: 999;
  display: none;
}
.consent-banner.show {
  display: block;
}
.consent-banner p {
  font-size: 0.96rem;
  margin-bottom: 1rem;
}
.consent-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .nav-cta {
    margin-top: 0.8rem;
    text-align: center;
    border-bottom: none;
  }
  .nav-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .step-card { padding-left: 1.5rem; padding-top: 4.5rem; }
  .step-card::before { left: 1.5rem; top: 1.4rem; }
}
