/*
Theme Name: Reliable Heating and Air
Theme URI: https://reliablenapa.com
Author: Jade Partners
Author URI: https://jadepartners.us
Description: Custom WordPress theme for Reliable Heating and Air — Napa families serving Napa families since 1977. Built to the Reliable Brand Guide, Web Style Sheet, and Voice & Copy Guide. Calm, premium, family-owned. Square corners, one purple, gold as a whisper, serif headlines, real Napa photography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reliable
*/

/* ============================================================
   1. TOKENS  (mirrors Web Style Sheet :root exactly)
   ============================================================ */
:root {
  --rl-purple:      #33026F;  /* the brand — never substitute */
  --rl-charcoal:    #1E1C21;  /* surface only — never type */
  --rl-purple-deep: #26044F;  /* hover/pressed on purple elements ONLY */
  --rl-gold:        #C9A24B;  /* accent — use sparingly */
  --rl-gold-light:  #E3C77E;  /* gold on purple or charcoal backgrounds */
  --rl-ink:         #221536;  /* body text on white */
  --rl-muted:       #6B5E80;  /* secondary text */
  --rl-rule:        #E6E0EF;  /* hairlines, borders */
  --rl-tint:        #F6F3FB;  /* faint purple wash for alternating sections */
  --rl-paper:       #FFFFFF;

  --rl-font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --rl-font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --rl-maxw: 1200px;
  --rl-gutter: clamp(20px, 5vw, 64px);
  --rl-section-y: clamp(56px, 7vw, 104px);

  --rl-shadow: 0 18px 50px rgba(51, 2, 111, 0.10);
  --rl-ease: cubic-bezier(.4, 0, .2, 1);
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--rl-font-sans);
  color: var(--rl-ink);
  background: var(--rl-paper);
  font-size: 1.0625rem;            /* 17px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--rl-purple); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rl-purple-deep); }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.25rem; }

/* No rounded corners anywhere — matches the print ads. */
input, select, textarea, button, .rl-card, .rl-btn, img, .rl-review, .rl-area-map { border-radius: 0; }

/* Headlines: DM Serif Display, regular weight only, never italic/bold */
h1, h2, h3, h4, .rl-serif {
  font-family: var(--rl-font-serif);
  font-weight: 400;
  font-style: normal;
  line-height: 1.12;
  color: var(--rl-purple);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.35rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   3. ACCESSIBILITY
   ============================================================ */
.rl-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--rl-purple); color: #fff; padding: 12px 20px;
  font-weight: 600; text-decoration: none;
}
.rl-skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--rl-gold); outline-offset: 2px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   4. LAYOUT PRIMITIVES
   ============================================================ */
.rl-container { width: 100%; max-width: var(--rl-maxw); margin-inline: auto; padding-inline: var(--rl-gutter); }
.rl-container--narrow { max-width: 820px; }
.rl-section { padding-block: var(--rl-section-y); }
.rl-section--tint { background: var(--rl-tint); }
.rl-section--purple { background: var(--rl-purple); color: #fff; }
.rl-section--purple h1, .rl-section--purple h2, .rl-section--purple h3 { color: #fff; }
.rl-section--purple a { color: var(--rl-gold-light); }
.rl-section + .rl-section { border-top: 1px solid var(--rl-rule); }
.rl-section--purple + .rl-section, .rl-section + .rl-section--purple { border-top: 0; }

/* Eyebrow / kicker — purple label on white preceded by a gold rule (the one gold accent);
   gold-light on purple backgrounds where gold passes contrast. */
.rl-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--rl-font-sans); font-weight: 600;
  font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rl-purple); margin-bottom: 18px;
}
.rl-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--rl-gold); flex: none; }
.rl-section--purple .rl-eyebrow { color: var(--rl-gold-light); }
.rl-section--purple .rl-eyebrow::before { background: var(--rl-gold); }

.rl-gold-rule { width: 120px; height: 4px; background: var(--rl-gold); border: 0; margin: 0 0 28px; }
.rl-lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--rl-ink); line-height: 1.55; }
.rl-section--purple .rl-lead { color: rgba(255,255,255,.9); }
.rl-muted { color: var(--rl-muted); }
.rl-gold { color: var(--rl-gold); }              /* large/serif text on white only */
.rl-center { text-align: center; }
.rl-section__head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.rl-center .rl-section__head { margin-inline: auto; }
.rl-center .rl-eyebrow { justify-content: center; }

/* ============================================================
   5. BUTTONS  (square; primary purple, secondary outline, phone gold)
   ============================================================ */
.rl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--rl-font-sans); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 32px; border: 2px solid transparent; text-decoration: none;
  cursor: pointer; transition: background .2s var(--rl-ease), color .2s var(--rl-ease), border-color .2s var(--rl-ease);
  white-space: nowrap;
}
.rl-btn svg { width: 18px; height: 18px; flex: none; }
.rl-btn--primary { background: var(--rl-purple); color: #fff; border-color: var(--rl-purple); }
.rl-btn--primary:hover { background: var(--rl-purple-deep); border-color: var(--rl-purple-deep); color: #fff; }
.rl-btn--secondary { background: transparent; color: var(--rl-purple); border-color: var(--rl-purple); }
.rl-btn--secondary:hover { background: var(--rl-purple); color: #fff; }
.rl-btn--phone { background: var(--rl-gold); color: var(--rl-charcoal); border-color: var(--rl-gold); font-weight: 700; }
.rl-btn--phone:hover { background: var(--rl-gold-light); color: var(--rl-charcoal); border-color: var(--rl-gold-light); }
/* On purple backgrounds */
.rl-section--purple .rl-btn--primary,
.rl-on-purple .rl-btn--primary { background: #fff; color: var(--rl-purple); border-color: #fff; }
.rl-section--purple .rl-btn--primary:hover,
.rl-on-purple .rl-btn--primary:hover { background: var(--rl-gold-light); border-color: var(--rl-gold-light); color: var(--rl-charcoal); }
.rl-section--purple .rl-btn--secondary,
.rl-on-purple .rl-btn--secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.rl-section--purple .rl-btn--secondary:hover,
.rl-on-purple .rl-btn--secondary:hover { background: #fff; color: var(--rl-purple); border-color: #fff; }
.rl-btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ============================================================
   6. TOP BAR + HEADER + NAV
   ============================================================ */
.rl-topbar { background: var(--rl-purple-deep); color: rgba(255,255,255,.82); font-size: 0.84rem; }
.rl-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; padding-block: 6px; }
.rl-topbar a { color: rgba(255,255,255,.82); text-decoration: none; }
.rl-topbar a:hover { color: #fff; }
.rl-topbar__left, .rl-topbar__right { display: flex; align-items: center; gap: 22px; }
.rl-topbar .rl-spanish { color: var(--rl-gold); font-weight: 700; letter-spacing: .02em; }
.rl-topbar__phone { font-weight: 700; color: #fff; }

.rl-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--rl-rule); transition: box-shadow .25s var(--rl-ease); }
.rl-header.is-stuck { box-shadow: 0 6px 22px rgba(51,2,111,.10); }
.rl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.rl-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.rl-logo img, .rl-logo svg { width: clamp(150px, 18vw, 210px); height: auto; }
.rl-logo--footer img { width: 210px; }

.rl-nav { display: flex; align-items: center; gap: 8px; }
.rl-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.rl-nav li { position: relative; }
.rl-nav a { display: inline-block; padding: 10px 14px; font-weight: 600; font-size: 0.97rem; color: var(--rl-ink); text-decoration: none; white-space: nowrap; }
.rl-nav > ul > li > a:hover, .rl-nav .current-menu-item > a { color: var(--rl-purple); }
.rl-nav > ul > li > a::after { content: ""; display: block; height: 2px; background: var(--rl-gold); width: 0; transition: width .2s var(--rl-ease); margin-top: 4px; }
.rl-nav > ul > li > a:hover::after, .rl-nav .current-menu-item > a::after { width: 100%; }

/* Dropdown */
.rl-nav .sub-menu, .rl-nav .menu-item-has-children > ul {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--rl-rule); border-top: 3px solid var(--rl-gold);
  box-shadow: var(--rl-shadow); padding: 8px 0; margin: 0; flex-direction: column; align-items: stretch;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--rl-ease), transform .18s var(--rl-ease);
  z-index: 50;
}
.rl-nav .menu-item-has-children:hover > .sub-menu,
.rl-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.rl-nav .sub-menu a { padding: 10px 22px; font-weight: 500; white-space: nowrap; width: 100%; }
.rl-nav .sub-menu a:hover { background: var(--rl-tint); color: var(--rl-purple); }
/* No dropdown caret — submenus reveal on hover/focus. */

.rl-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.rl-header__phone { font-weight: 700; color: var(--rl-purple); text-decoration: none; white-space: nowrap; }
.rl-header__phone:hover { color: var(--rl-purple-deep); }

/* Mobile nav toggle */
.rl-nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; }
.rl-nav-toggle span { width: 26px; height: 2px; background: var(--rl-purple); transition: transform .2s var(--rl-ease), opacity .2s var(--rl-ease); }
.rl-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rl-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rl-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   7. HERO
   ============================================================ */
.rl-hero { position: relative; background: var(--rl-purple); color: #fff; overflow: hidden; isolation: isolate; }
.rl-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; z-index: -2; }
.rl-hero::after { /* purple wash over the vineyard so white text stays AAA */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, rgba(38,4,79,.96) 0%, rgba(51,2,111,.90) 44%, rgba(51,2,111,.52) 100%),
		linear-gradient(180deg, rgba(51,2,111,0) 50%, rgba(38,4,79,.55) 100%);
}
.rl-hero__inner { position: relative; z-index: 1; max-width: 720px; padding-block: clamp(64px, 9vw, 144px); }
.rl-hero__eyebrow { color: var(--rl-gold-light); font-size: clamp(1.05rem, 1.9vw, 1.45rem); font-weight: 700; letter-spacing: 0.1em; gap: 18px; margin-bottom: 26px; }
.rl-hero__eyebrow::before { width: 48px; height: 4px; }
.rl-hero h1 { color: #fff; font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.06; margin-bottom: 22px; }
.rl-hero h1 .rl-gold { color: var(--rl-gold); }
.rl-hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 46ch; margin-bottom: 34px; }
.rl-hero .rl-btn-row { margin-bottom: 30px; }
.rl-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.92rem; color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px; }
.rl-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.rl-hero__trust span::before { content: ""; width: 7px; height: 7px; background: var(--rl-gold); flex: none; }

/* ============================================================
   8. TRUST BAND
   ============================================================ */
.rl-trustband { background: var(--rl-purple-deep); color: #fff; }
.rl-trustband__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; padding-block: 26px; }
.rl-trustband__item { display: flex; flex-direction: column; gap: 2px; min-width: 140px; }
.rl-trustband__item .v { font-family: var(--rl-font-serif); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.rl-trustband__item .v.gold { color: var(--rl-gold-light); }
.rl-trustband__item .l { font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ============================================================
   9. CARDS  (services grid)
   ============================================================ */
.rl-grid { display: grid; gap: clamp(18px, 2vw, 28px); }
.rl-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rl-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rl-grid--4 { grid-template-columns: repeat(4, 1fr); }

.rl-card { background: #fff; border: 1px solid var(--rl-rule); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; transition: border-color .2s var(--rl-ease), transform .2s var(--rl-ease); text-decoration: none; color: inherit; }
a.rl-card:hover { border-color: var(--rl-purple); transform: translateY(-3px); }
.rl-card__icon { width: 46px; height: 46px; color: var(--rl-purple); margin-bottom: 20px; }
.rl-card__icon svg { width: 100%; height: 100%; }
.rl-card h3 { margin-bottom: 10px; }
.rl-card p { color: var(--rl-muted); font-size: 0.98rem; }
.rl-card__more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 0.92rem; letter-spacing: .04em; text-transform: uppercase; color: var(--rl-purple); display: inline-flex; align-items: center; gap: 8px; }
a.rl-card:hover .rl-card__more { color: var(--rl-purple-deep); }
.rl-card__more::after { content: "→"; transition: transform .2s var(--rl-ease); }
a.rl-card:hover .rl-card__more::after { transform: translateX(4px); }

/* ============================================================
   10. PROOF / WHY LIST  (rows from brand deck)
   ============================================================ */
.rl-rows { display: grid; gap: 0; }
.rl-row { display: grid; grid-template-columns: 360px 1fr; gap: 40px; padding-block: 24px; border-top: 1px solid var(--rl-rule); align-items: baseline; }
.rl-row:last-child { border-bottom: 1px solid var(--rl-rule); }
.rl-row h3 { color: var(--rl-purple); }
.rl-row p { color: var(--rl-muted); margin: 0; }
.rl-section--purple .rl-row { border-color: rgba(255,255,255,.2); }
.rl-section--purple .rl-row h3 { color: var(--rl-gold-light); }
.rl-section--purple .rl-row p { color: rgba(255,255,255,.82); }

/* ============================================================
   11. STORY / TIMELINE
   ============================================================ */
.rl-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.5vw, 40px); }
.rl-tl { border-top: 4px solid var(--rl-gold); padding-top: 22px; }
.rl-tl .year { font-family: var(--rl-font-serif); font-size: 2rem; color: var(--rl-purple); margin-bottom: 10px; }
.rl-tl h3 { font-family: var(--rl-font-sans); font-weight: 700; font-size: 1.05rem; color: var(--rl-ink); line-height: 1.3; margin-bottom: 10px; }
.rl-tl p { font-size: 0.94rem; color: var(--rl-muted); margin: 0; }
.rl-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.rl-split__media img { width: 100%; box-shadow: var(--rl-shadow); }

/* ============================================================
   12. REVIEWS
   ============================================================ */
.rl-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.rl-review { border: 1px solid var(--rl-rule); padding: 30px; display: flex; flex-direction: column; background: #fff; }
.rl-stars { color: var(--rl-gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 1.05rem; }
.rl-review p { font-family: var(--rl-font-serif); font-size: 1.18rem; line-height: 1.4; color: var(--rl-purple); margin-bottom: 18px; }
.rl-review .who { margin-top: auto; font-weight: 600; font-size: 0.92rem; color: var(--rl-ink); }
.rl-review .where { font-size: 0.85rem; color: var(--rl-muted); }

/* ============================================================
   13. SERVICE AREA
   ============================================================ */
.rl-area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.rl-area-map img { width: 100%; border: 1px solid var(--rl-rule); }
.rl-area__towns { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 18px 0 0; }
.rl-area__towns li { padding: 7px 0; border-bottom: 1px solid var(--rl-rule); break-inside: avoid; font-weight: 500; }
.rl-area__towns a { text-decoration: none; color: var(--rl-ink); }
.rl-area__towns a:hover { color: var(--rl-purple); }

/* ============================================================
   14. CTA BAND
   ============================================================ */
.rl-cta { background: var(--rl-purple); color: #fff; text-align: center; }
.rl-cta h2 { color: #fff; margin-bottom: 16px; }
.rl-cta p { color: rgba(255,255,255,.85); max-width: 56ch; margin-inline: auto; margin-bottom: 30px; }
.rl-cta .rl-btn-row { justify-content: center; }

/* ============================================================
   15. PAGE HERO + BREADCRUMBS (inner pages)
   ============================================================ */
.rl-pagehero { background: var(--rl-purple); color: #fff; padding-block: clamp(48px, 6vw, 84px); }
.rl-pagehero h1 { color: #fff; max-width: 20ch; }
.rl-pagehero__sub { color: rgba(255,255,255,.85); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 60ch; margin-top: 18px; }
.rl-breadcrumbs { font-size: 0.84rem; margin-bottom: 18px; color: rgba(255,255,255,.7); }
.rl-breadcrumbs a { color: var(--rl-gold-light); text-decoration: none; }
.rl-breadcrumbs a:hover { text-decoration: underline; }
.rl-breadcrumbs .sep { padding: 0 8px; opacity: .6; }

/* ============================================================
   16. PROSE (page.php / blog content)
   ============================================================ */
.rl-prose { max-width: 760px; }
.rl-prose h2 { margin: 1.8em 0 .5em; padding-top: .4em; }
.rl-prose h3 { margin: 1.4em 0 .4em; color: var(--rl-ink); }
.rl-prose p, .rl-prose li { color: var(--rl-ink); }
.rl-prose ul, .rl-prose ol { margin: 0 0 1.2em 0; padding-left: 1.3em; }
.rl-prose li { margin-bottom: .5em; }
.rl-prose a { color: var(--rl-purple); }
.rl-prose img { margin: 1.5em 0; box-shadow: var(--rl-shadow); }
.rl-prose blockquote { border-left: 4px solid var(--rl-gold); padding-left: 24px; margin: 1.5em 0; font-family: var(--rl-font-serif); font-size: 1.4rem; color: var(--rl-purple); line-height: 1.35; }

/* FAQ */
.rl-faq { max-width: 820px; }
.rl-faq details { border-bottom: 1px solid var(--rl-rule); padding: 6px 0; }
.rl-faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-family: var(--rl-font-serif); font-size: 1.25rem; color: var(--rl-purple); position: relative; }
.rl-faq summary::-webkit-details-marker { display: none; }
.rl-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; color: var(--rl-gold); font-family: var(--rl-font-sans); line-height: 1; }
.rl-faq details[open] summary::after { content: "–"; }
.rl-faq details p { padding: 0 0 20px; color: var(--rl-muted); }

/* ============================================================
   17. FORMS
   ============================================================ */
.rl-form { display: grid; gap: 18px; }
.rl-form .rl-field { display: flex; flex-direction: column; gap: 7px; }
.rl-form .rl-field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rl-form label { font-weight: 600; font-size: 0.9rem; }
.rl-form .req { color: var(--rl-gold); }
.rl-form input, .rl-form select, .rl-form textarea {
  font-family: inherit; font-size: 1rem; color: var(--rl-ink);
  padding: 13px 15px; border: 1px solid var(--rl-rule); background: #fff; width: 100%;
}
.rl-form input:focus, .rl-form select:focus, .rl-form textarea:focus { outline: none; border-color: var(--rl-purple); box-shadow: 0 0 0 3px rgba(51,2,111,.12); }
.rl-form textarea { min-height: 130px; resize: vertical; }
.rl-form .rl-consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 0.85rem; color: var(--rl-muted); }
.rl-form .rl-consent input { width: 18px; height: 18px; margin-top: 3px; }
.rl-form__note { font-size: 0.85rem; color: var(--rl-muted); }
.rl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rl-form-card { background: #fff; border: 1px solid var(--rl-rule); border-top: 4px solid var(--rl-gold); padding: clamp(26px, 3vw, 40px); }
.rl-notice { padding: 16px 20px; border-left: 4px solid var(--rl-gold); background: var(--rl-tint); margin-bottom: 24px; }
.rl-notice--ok { border-color: #2f7d4f; }

/* ============================================================
   18. CONTACT LAYOUT
   ============================================================ */
.rl-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.rl-contact__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.rl-contact__facts li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.rl-contact__facts .icon { color: var(--rl-purple); width: 24px; height: 24px; }
.rl-contact__facts .l { font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rl-muted); }
.rl-contact__facts .v { font-size: 1.1rem; font-weight: 600; }
.rl-contact__facts a { text-decoration: none; }
.rl-map iframe, .rl-map img { width: 100%; min-height: 320px; border: 1px solid var(--rl-rule); }

/* Service page: body + sticky CTA sidebar */
.rl-service-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }

/* ============================================================
   19. FOOTER
   ============================================================ */
.rl-footer { background: var(--rl-purple); color: rgba(255,255,255,.78); }
.rl-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.rl-footer a:hover { color: #fff; }
.rl-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 72px); }
.rl-footer__brand img { width: 220px; margin-bottom: 20px; }
.rl-footer__brand p { color: rgba(255,255,255,.72); font-size: 0.95rem; max-width: 34ch; }
.rl-footer__brand .rl-spanish { color: var(--rl-gold); font-weight: 700; margin-top: 16px; display: inline-block; }
.rl-footer h4 { font-family: var(--rl-font-sans); font-weight: 700; font-size: 0.8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rl-gold-light); margin-bottom: 18px; }
.rl-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 0.95rem; }
.rl-footer__contact .row { display: grid; gap: 3px; margin-bottom: 16px; }
.rl-footer__contact .l { font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.rl-footer__contact .v { color: #fff; font-weight: 600; }
.rl-footer__bottom { border-top: 1px solid rgba(255,255,255,.18); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,.6); }
.rl-footer__bottom a { color: rgba(255,255,255,.6); }

/* ============================================================
   20. STICKY MOBILE CALL BAR
   ============================================================ */
.rl-callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; grid-template-columns: 1fr 1fr; box-shadow: 0 -6px 22px rgba(0,0,0,.18); }
.rl-callbar a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 56px; font-weight: 700; text-decoration: none; font-size: 1rem; }
.rl-callbar .call { background: var(--rl-gold); color: var(--rl-charcoal); }
.rl-callbar .quote { background: var(--rl-purple); color: #fff; }
.rl-callbar svg { width: 20px; height: 20px; }

/* ============================================================
   21. BLOG
   ============================================================ */
.rl-postcard { border: 1px solid var(--rl-rule); background: #fff; display: flex; flex-direction: column; }
.rl-postcard__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rl-postcard__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.rl-postcard__meta { font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rl-muted); margin-bottom: 10px; }
.rl-postcard h3 { margin-bottom: 10px; }
.rl-postcard h3 a { text-decoration: none; }
.rl-pagination { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 48px; }
.rl-pagination a, .rl-pagination span { padding: 10px 16px; border: 1px solid var(--rl-rule); text-decoration: none; font-weight: 600; }
.rl-pagination .current { background: var(--rl-purple); color: #fff; border-color: var(--rl-purple); }

/* ============================================================
   22. 404
   ============================================================ */
.rl-404 { text-align: center; padding-block: clamp(64px, 9vw, 130px); }
.rl-404 .code { font-family: var(--rl-font-serif); font-size: clamp(5rem, 14vw, 9rem); color: var(--rl-tint); line-height: 1; }

/* ============================================================
   23. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .rl-grid--3, .rl-reviews { grid-template-columns: repeat(2, 1fr); }
  .rl-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rl-timeline { grid-template-columns: repeat(2, 1fr); }
  .rl-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .rl-nav-toggle { display: flex; }
  .rl-header__phone, .rl-header .rl-btn--secondary { display: none; }
  .rl-nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: #fff;
    flex-direction: column; align-items: stretch; padding: 92px 24px 32px; gap: 0;
    transform: translateX(100%); transition: transform .28s var(--rl-ease); box-shadow: var(--rl-shadow); overflow-y: auto;
  }
  .rl-nav.is-open { transform: translateX(0); }
  .rl-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .rl-nav a { padding: 14px 6px; border-bottom: 1px solid var(--rl-rule); font-size: 1.05rem; }
  .rl-nav > ul > li > a::after { display: none; }
  .rl-nav .sub-menu, .rl-nav .menu-item-has-children > ul {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-top: 0; padding: 0 0 0 16px; min-width: 0;
  }
  .rl-nav .sub-menu a { padding: 12px 6px; }
  .rl-nav .menu-item-has-children > a::before { display: none; }
  .rl-nav-backdrop { position: fixed; inset: 0; background: rgba(30,28,33,.5); z-index: 99; opacity: 0; visibility: hidden; transition: opacity .25s; }
  .rl-nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .rl-nav.is-open ~ .rl-nav-backdrop { } /* handled via JS class on body */

  .rl-split, .rl-area, .rl-contact, .rl-service-layout { grid-template-columns: 1fr; }
  .rl-service-layout aside { position: static !important; }
  .rl-hero::after { background: linear-gradient(180deg, rgba(38,4,79,.84) 0%, rgba(51,2,111,.95) 100%); }
  .rl-row { grid-template-columns: 1fr; gap: 6px; }
  .rl-callbar { display: grid; }
  body.has-callbar { padding-bottom: 56px; }
}
@media (max-width: 560px) {
  .rl-grid--3, .rl-grid--2, .rl-grid--4, .rl-reviews, .rl-timeline { grid-template-columns: 1fr; }
  .rl-footer__top { grid-template-columns: 1fr; }
  .rl-form .rl-field--2 { grid-template-columns: 1fr; }
  .rl-area__towns { columns: 1; }
  .rl-topbar__left { display: none; }
  .rl-topbar__inner { justify-content: center; }
  .rl-hero__badge { left: 0; }
}

/* ============================================================
   24. BRYANT FACTORY AUTHORIZED DEALER BADGE
   ============================================================ */
.rl-bfad__badge { display: block; margin: 0 auto 22px; width: clamp(230px, 26vw, 290px); height: auto; }
.rl-pillar { border-top: 3px solid var(--rl-gold); padding-top: 18px; }
.rl-pillar h3 { font-family: var(--rl-font-sans); font-weight: 700; font-size: 1.05rem; color: var(--rl-purple); margin-bottom: 8px; line-height: 1.3; }
.rl-pillar p { color: var(--rl-muted); font-size: 0.95rem; margin: 0; }
.rl-footer-badge { display: block; width: 200px; height: auto; margin-top: 24px; }

/* Print */
@media print {
  .rl-header, .rl-topbar, .rl-footer, .rl-callbar, .rl-nav-toggle, .rl-cta { display: none; }
  body { color: #000; }
}
