/* ==========================================================================
   Rent a Room — brand stylesheet (Phase 5 design system)
   Fonts: Arial / Arial Black system stack (no web fonts).
   Colours sampled from the logo + brand: blue #0070C0, deep #00497F,
   orange accent #E97132. Accessibility: orange only for large text / fills.
   ========================================================================== */

:root{
  --rar-blue:#0070C0;      /* primary: links, standard buttons, actions   */
  --rar-blue-deep:#00497F; /* headings, nav, hero fills                    */
  --rar-blue-logo:#4070C0; /* hover / secondary                            */
  --rar-blue-tint:#E6F1FA; /* surfaces, focus glow                         */
  --rar-orange:#E97132;    /* accent: CTA fills, arrows (large/graphic)    */
  --rar-orange-dark:#B85E12;/* orange TEXT on white when needed            */
  --rar-orange-tint:#FCEEE0;
  --rar-ink:#14181C;       /* body text                                    */
  --rar-ink2:#4A4F55;      /* secondary text                               */
  --rar-muted:#767B82;
  --rar-line:#D4D8DD;
  --rar-surface:#EEF1F4;
  --rar-white:#fff;
  --rar-wa:#25D366;        /* WhatsApp                                      */
  --rar-radius:8px;
  --rar-font: Arial, Helvetica, sans-serif;
  --rar-font-head: "Arial Black", "Arial Bold", Arial, sans-serif;
}

/* ---- base type -------------------------------------------------------- */
body, .honeycomb, .propertyhive{ font-family:var(--rar-font); color:var(--rar-ink); }
h1,h2,h3,.rar-h,.propertyhive h1,.propertyhive h2{ font-family:var(--rar-font-head); color:var(--rar-ink); letter-spacing:-.01em; }
h2,.propertyhive h2{ color:var(--rar-blue-deep); }
a{ color:var(--rar-blue); }
a:hover{ color:var(--rar-blue-deep); }

/* ---- buttons ---------------------------------------------------------- */
.rar-btn{ font-family:var(--rar-font-head); font-size:15px; border-radius:6px; padding:12px 20px;
  border:2px solid transparent; display:inline-flex; align-items:center; gap:8px; text-decoration:none; cursor:pointer; line-height:1; }
.rar-btn--primary{ background:var(--rar-blue); color:#fff; }
.rar-btn--primary:hover{ background:var(--rar-blue-deep); color:#fff; }
.rar-btn--accent{ background:var(--rar-orange); color:#fff; }   /* white-on-orange passes AA */
.rar-btn--accent:hover{ background:var(--rar-orange-dark); color:#fff; }
.rar-btn--ghost{ background:#fff; color:var(--rar-blue); border-color:var(--rar-blue); }
.rar-btn--wa{ background:var(--rar-wa); color:#04371f; }
.rar-btn:focus-visible{ outline:3px solid var(--rar-blue); outline-offset:2px; }

/* ---- Property Hive: cards & price ------------------------------------ */
.propertyhive .property{ border:1px solid var(--rar-line); border-radius:10px; overflow:hidden; background:#fff; }
.propertyhive .property .price{ font-family:var(--rar-font-head); color:var(--rar-blue-deep); font-size:20px; }
.rar-chip{ display:inline-block; background:var(--rar-blue-tint); color:var(--rar-blue-deep);
  border-radius:5px; padding:3px 9px; font-size:12px; font-weight:bold; margin:2px 3px 2px 0; }
.rar-chip--orange{ background:var(--rar-orange-tint); color:var(--rar-orange-dark); }

/* ---- room-specific WhatsApp / call ----------------------------------- */
.rar-room-actions{ display:flex; gap:10px; flex-wrap:wrap; margin:12px 0; }
.rar-wa-room{ background:var(--rar-wa); color:#04371f; font-weight:bold; border-radius:6px; padding:10px 14px; text-decoration:none; }

/* ---- feature list (orange arrows — brand signature) ------------------ */
.rar-features{ list-style:none; padding:0; margin:0; }
.rar-features li{ position:relative; padding:6px 0 6px 26px; font-weight:bold; }
.rar-features li::before{ content:"\27A4"; position:absolute; left:0; color:var(--rar-orange); }

/* ---- numbered process (orange — brand signature) --------------------- */
.rar-steps{ counter-reset:s; list-style:none; padding:0; margin:0; }
.rar-steps li{ counter-increment:s; position:relative; padding:8px 0 8px 42px; color:var(--rar-ink2); }
.rar-steps li::before{ content:counter(s); position:absolute; left:0; top:6px; width:28px; height:28px; border-radius:50%;
  background:var(--rar-orange); color:#fff; font-family:var(--rar-font-head); font-size:14px; display:flex; align-items:center; justify-content:center; }

/* ---- stat tiles (proof) ---------------------------------------------- */
.rar-stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.rar-stat{ border:1px solid var(--rar-line); border-radius:10px; padding:16px; text-align:center; background:#fff; }
.rar-stat b{ display:block; font-family:var(--rar-font-head); font-size:26px; color:var(--rar-blue); }
.rar-stat--orange b{ color:var(--rar-orange); }
.rar-stat span{ font-size:12px; color:var(--rar-muted); }

/* ---- proof band ------------------------------------------------------- */
.rar-proofband{ background:var(--rar-blue-deep); color:#fff; padding:12px 16px; text-align:center; font-weight:bold; }

/* ---- homepage doors --------------------------------------------------- */
.rar-doors{ display:flex; gap:16px; flex-wrap:wrap; }
.rar-door{ flex:1; min-width:240px; border:2px solid var(--rar-blue); border-radius:10px; padding:20px; background:#fff; }
.rar-door--tenant{ border-color:var(--rar-line); }

/* ---- enquiry form (the rich fields we inject) ------------------------ */
.property-enquiry-form label{ font-weight:bold; color:var(--rar-ink2); font-size:13px; }
.property-enquiry-form input, .property-enquiry-form select, .property-enquiry-form textarea{
  border:1.5px solid var(--rar-line); border-radius:6px; padding:10px 12px; font-family:var(--rar-font); font-size:15px; width:100%; }
.property-enquiry-form input:focus, .property-enquiry-form select:focus, .property-enquiry-form textarea:focus{
  outline:none; border-color:var(--rar-blue); box-shadow:0 0 0 3px var(--rar-blue-tint); }

/* ---- "matching your search" personalisation strip -------------------- */
.rar-matches{ background:var(--rar-blue-tint); border:1px solid var(--rar-line); border-radius:10px; padding:16px; margin:0 0 20px; }
.rar-matches__title{ font-family:var(--rar-font-head); font-size:16px; margin:0 0 12px; color:var(--rar-blue-deep); }
.rar-matches__grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; }
.rar-match-card{ display:block; background:#fff; border:1px solid var(--rar-line); border-radius:8px; padding:12px; text-decoration:none; color:var(--rar-ink); }
.rar-match-card:hover{ border-color:var(--rar-blue); }
.rar-match-card__price{ display:block; font-family:var(--rar-font-head); color:var(--rar-blue-deep); }
.rar-match-card__title{ display:block; font-size:13px; color:var(--rar-ink2); }

/* ---- homepage video (click-to-play facade) --------------------------- */
.rar-video{ margin:0 0 24px; }
.rar-video__title{ font-family:var(--rar-font-head); font-size:20px; color:var(--rar-ink); margin:0 0 12px; }
.rar-video__frame{ position:relative; aspect-ratio:16/9; background:#0b1b2b center/cover no-repeat; border-radius:12px; overflow:hidden; cursor:pointer; }
.rar-video__play{ position:absolute; inset:0; margin:auto; width:74px; height:74px; border:none; border-radius:50%; background:var(--rar-orange); cursor:pointer; }
.rar-video__play::after{ content:""; position:absolute; top:50%; left:54%; transform:translate(-50%,-50%); border-style:solid; border-width:14px 0 14px 22px; border-color:transparent transparent transparent #fff; }
.rar-video__media{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---- featured-room band (blue, photo slideshow) ---------------------- */
.rar-featured{ position:relative; background:var(--rar-blue-deep); color:#fff; border-radius:12px; overflow:hidden; margin:0 0 22px; display:grid; grid-template-columns:1.6fr 1fr; min-height:280px; }
.rar-featured__slider{ position:relative; min-height:280px; }
.rar-featured__slide{ position:absolute; inset:0; background:center/cover no-repeat; opacity:0; transition:opacity .8s ease; }
.rar-featured__slide.is-active{ opacity:1; }
.rar-featured__meta{ padding:24px; display:flex; flex-direction:column; justify-content:center; gap:8px; background:var(--rar-blue-deep); }
.rar-featured__tag{ font-family:var(--rar-font-head); text-transform:uppercase; font-size:12px; letter-spacing:.08em; opacity:.85; }
.rar-featured__title{ font-family:var(--rar-font-head); color:#fff; margin:0; font-size:22px; }
.rar-featured__price{ font-family:var(--rar-font-head); font-size:18px; }
@media(max-width:640px){ .rar-featured{ grid-template-columns:1fr; } .rar-featured__slider{ min-height:200px; } }

/* ---- accessibility ---------------------------------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{ outline:3px solid var(--rar-blue); outline-offset:2px; }

/* ==========================================================================
   LANDLORD JOURNEY (Phase 3 IA · Phase 4 wireframes 2–4)
   Hub, town pages and the rent estimator. Uses the tokens above only.
   ========================================================================== */
.rar-ll{ max-width:1080px; margin:0 auto; }
.rar-ll h2{ font-size:26px; margin:0 0 14px; }
.rar-ll h3{ font-size:18px; color:var(--rar-ink); margin:0 0 8px; }
.rar-ll-block{ margin:36px 0; }
.rar-ll-eyebrow{ display:block; font-family:var(--rar-font-head); text-transform:uppercase; letter-spacing:.06em;
  font-size:12px; color:var(--rar-blue); margin:0 0 10px; }
.rar-ll-lead{ font-size:18px; line-height:1.55; color:var(--rar-ink2); max-width:62ch; }

/* Hero */
.rar-ll-hero{ background:var(--rar-blue-tint); border-radius:14px; padding:40px 32px; margin:8px 0 20px; }
.rar-ll-hero h1{ font-size:34px; line-height:1.15; margin:0 0 14px; color:var(--rar-blue-deep); }
.rar-ll-hero--town{ background:var(--rar-blue-deep); }
.rar-ll-hero--town .rar-ll-eyebrow{ color:#9fd0f2; }
.rar-ll-hero--town h1, .rar-ll-hero--town .rar-ll-lead{ color:#fff; }
.rar-ll-hero--town .rar-ll-lead{ color:#dce9f5; }
.rar-ll-hero--tool{ background:var(--rar-blue-tint); }
.rar-ll-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }

/* Proof stat band */
.rar-ll-proof{ margin:20px 0 8px; }

/* Fears → removal */
.rar-ll-fears{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
.rar-ll-fear{ border:1px solid var(--rar-line); border-top:4px solid var(--rar-orange); border-radius:10px; padding:20px; background:#fff; }
.rar-ll-fear p{ color:var(--rar-ink2); margin:0; }

/* Steps (reuse .rar-steps, slightly roomier) */
.rar-ll-steps li{ font-size:16px; padding:10px 0 10px 42px; }
.rar-ll-steps li b{ color:var(--rar-ink); }

/* Results & testimonials */
.rar-ll-results{ background:var(--rar-surface); border-radius:12px; padding:28px; }
.rar-ll-quotes{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; margin-top:18px; }
.rar-ll-quote{ margin:0; background:#fff; border-left:4px solid var(--rar-blue); border-radius:8px;
  padding:16px 18px; font-style:italic; color:var(--rar-ink2); }

/* Areas grid */
.rar-ll-areas{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.rar-ll-area{ display:flex; flex-direction:column; justify-content:space-between; gap:8px; min-height:96px;
  border:1px solid var(--rar-line); border-radius:10px; padding:16px; background:#fff; text-decoration:none; }
.rar-ll-area:hover{ border-color:var(--rar-blue); background:var(--rar-blue-tint); }
.rar-ll-area__name{ font-family:var(--rar-font-head); color:var(--rar-blue-deep); }
.rar-ll-area__go{ font-weight:bold; color:var(--rar-orange-dark); font-size:13px; }

/* Final CTA */
.rar-ll-final__grid{ display:grid; grid-template-columns:1fr 1.2fr; gap:20px; align-items:stretch; }
.rar-ll-final__cta{ background:var(--rar-blue-deep); color:#fff; border-radius:12px; padding:26px; }
.rar-ll-final__cta h2, .rar-ll-final__cta p{ color:#fff; }
.rar-ll-final__cta--full{ text-align:center; }
.rar-ll-final__grid > div:first-child{ background:var(--rar-surface); border-radius:12px; padding:26px; }

/* Sticky mobile CTA */
.rar-ll-sticky{ display:none; }
@media(max-width:820px){
  .rar-ll-final__grid{ grid-template-columns:1fr; }
  .rar-ll-hero h1{ font-size:28px; }
  .rar-ll-sticky{ position:fixed; left:12px; right:12px; bottom:12px; z-index:50; display:block; text-align:center;
    background:var(--rar-orange); color:#fff; font-family:var(--rar-font-head); text-decoration:none;
    padding:14px; border-radius:10px; box-shadow:0 6px 20px rgba(0,0,0,.22); }
}

/* Town breadcrumb */
.rar-ll-crumb{ font-size:13px; color:var(--rar-muted); margin:6px 0 4px; }
.rar-ll-crumb a{ color:var(--rar-blue); }

/* ---- Estimator -------------------------------------------------------- */
.rar-est{ display:grid; grid-template-columns:1.4fr 1fr; gap:24px; align-items:start; margin:8px 0 40px; }
.rar-est__form{ display:flex; flex-direction:column; gap:16px; }
.rar-est__step{ border:1px solid var(--rar-line); border-radius:12px; padding:20px; margin:0; }
.rar-est__step legend{ font-family:var(--rar-font-head); color:var(--rar-blue-deep); font-size:16px; padding:0 8px; }
.rar-est__n{ display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; margin-right:6px;
  background:var(--rar-orange); color:#fff; border-radius:50%; font-size:13px; }
.rar-est__step label{ display:block; font-weight:bold; color:var(--rar-ink2); font-size:13px; margin:12px 0 0; }
.rar-est__step input, .rar-est__step select{ display:block; width:100%; margin-top:6px; font-family:var(--rar-font);
  font-size:15px; border:1.5px solid var(--rar-line); border-radius:6px; padding:10px 12px; }
.rar-est__step input:focus, .rar-est__step select:focus{ outline:none; border-color:var(--rar-blue); box-shadow:0 0 0 3px var(--rar-blue-tint); }
.rar-est__consent{ display:flex; align-items:flex-start; gap:10px; font-weight:normal; color:var(--rar-ink2); }
.rar-est__consent input{ width:auto; margin-top:4px; }
.rar-est__submit{ margin-top:16px; width:100%; justify-content:center; }
.rar-est__err{ color:#b00020; font-weight:bold; font-size:14px; margin:10px 0 0; }
.rar-est__small{ font-size:12px; color:var(--rar-muted); margin:10px 0 0; }

/* Result / trust rail */
.rar-est__side{ position:sticky; top:16px; display:flex; flex-direction:column; gap:16px; }
.rar-est__result{ background:var(--rar-blue-deep); color:#fff; border-radius:12px; padding:24px; }
.rar-est__result-tag{ font-family:var(--rar-font-head); text-transform:uppercase; font-size:12px; letter-spacing:.06em; color:#9fd0f2; }
.rar-est__figure{ font-family:var(--rar-font-head); font-size:34px; margin:8px 0 0; color:#fff; }
.rar-est__perroom-lbl{ margin:0 0 14px; font-size:13px; color:#dce9f5; }
.rar-est__gross{ font-size:16px; padding:12px 0; border-top:1px solid rgba(255,255,255,.2); }
.rar-est__days{ font-weight:bold; color:#ffd9be; margin:8px 0 0; }
.rar-est__result-note{ font-size:12px; color:#c9dcee; margin:12px 0 0; }
.rar-est__trust{ border:1px solid var(--rar-line); border-radius:12px; padding:20px; background:#fff; }
.rar-est__trust h3{ margin:0 0 12px; color:var(--rar-blue-deep); }
.rar-est__trust .rar-stats{ margin-bottom:14px; }

@media(max-width:820px){
  .rar-est{ grid-template-columns:1fr; }
  .rar-est__side{ position:static; }
}

/* ==========================================================================
   AREA CONTENT MODEL + TENANT INFO PAGES
   ========================================================================== */
.rar-area{ margin:28px 0; border-top:1px solid var(--rar-line); padding-top:20px; }
.rar-area__h{ font-size:22px; color:var(--rar-blue-deep); margin:0 0 10px; }
.rar-area__grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:12px; }
.rar-area__blk{ background:var(--rar-surface); border-radius:10px; padding:16px; }
.rar-area__blk h3{ margin:0 0 6px; font-size:15px; color:var(--rar-ink); }
.rar-area__blk p{ margin:0; color:var(--rar-ink2); }
@media(max-width:640px){ .rar-area__grid{ grid-template-columns:1fr; } }

/* Tenant pages share the .rar-ll layout; add a simple data table + FAQ accordion */
.rar-tenant{ }
.rar-table{ width:100%; border-collapse:collapse; margin:8px 0; background:#fff; }
.rar-table th, .rar-table td{ border:1px solid var(--rar-line); padding:12px 14px; text-align:left; vertical-align:top; }
.rar-table thead th{ background:var(--rar-blue-tint); color:var(--rar-blue-deep); font-family:var(--rar-font-head); font-size:14px; }
.rar-table td:last-child{ font-weight:bold; white-space:nowrap; }

.rar-faqs{ max-width:820px; }
.rar-faq{ border:1px solid var(--rar-line); border-radius:10px; margin:0 0 10px; background:#fff; overflow:hidden; }
.rar-faq summary{ cursor:pointer; padding:16px 18px; font-family:var(--rar-font-head); font-size:16px; color:var(--rar-blue-deep);
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.rar-faq summary::-webkit-details-marker{ display:none; }
.rar-faq summary::after{ content:"+"; font-size:22px; color:var(--rar-orange); line-height:1; }
.rar-faq[open] summary::after{ content:"\2013"; }
.rar-faq[open] summary{ border-bottom:1px solid var(--rar-line); }
.rar-faq__a{ padding:14px 18px; color:var(--rar-ink2); }
.rar-faq summary:focus-visible{ outline:3px solid var(--rar-blue); outline-offset:-3px; }
