/* ----- BRAND TOKENS — Restoration 1 ----- */
:root {
  /* Primary brand neutrals */
  --r1-navy:    #0A1C2F;
  --r1-marine:  #0F3049;
  --r1-slate:   #1F415E;
  --r1-white:   #FFFFFF;
  --r1-smoke:   #C7C8CA;
  --r1-steel:   #808285;

  /* Accents — use sparingly per brand guide */
  --r1-orange:  #F58020;
  --r1-orange-hover: #E06E10;
  --r1-red:     #ED2024;     /* EMERGENCY ONLY */
  --r1-blue:    #0095DA;
  --r1-light-blue: #BCDBE4;

  /* Functional */
  --bg:           var(--r1-white);
  --bg-soft:      #F6F7F9;          /* near-white for section banding */
  --bg-navy:      var(--r1-navy);
  --ink:          var(--r1-navy);
  --ink-2:        var(--r1-marine);
  --ink-mute:     var(--r1-steel);
  --rule:         #E3E5E8;
  --rule-strong:  var(--r1-smoke);

  --radius:       4px;
  --radius-lg:    8px;

  --shadow-sm:    0 1px 2px rgba(10,28,47,.06);
  --shadow:       0 4px 16px rgba(10,28,47,.08);
  --shadow-lg:    0 18px 50px -10px rgba(10,28,47,.22);

  --max:          1240px;
  --gutter:       28px;

  --header-h:     76px;
  --mobile-bar-h: 68px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ----- TYPE ----- */
.eyebrow {
  font-family: 'Open Sans Condensed', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--r1-orange);
}
.eyebrow.muted { color: var(--ink-mute); }
.eyebrow.on-dark { color: var(--r1-orange); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.6vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.005em; }
h4 { font-size: 17px; letter-spacing: 0; }

p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.55; }

.cond {
  font-family: 'Open Sans Condensed', 'Open Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ----- LAYOUT ----- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--r1-navy); color: var(--r1-white); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--r1-white); }
.section--navy .lede { color: rgba(255,255,255,.78); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--4.keep-2-mob { grid-template-columns: repeat(2, 1fr); }
}

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 4px; }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--cta {
  background: var(--r1-orange); color: var(--r1-white);
  box-shadow: 0 6px 18px -6px rgba(245,128,32,.55);
}
.btn--cta:hover { background: var(--r1-orange-hover); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--r1-navy);
}
.btn--ghost:hover { background: var(--r1-navy); color: var(--r1-white); }
.btn--ghost-light {
  background: transparent; color: var(--r1-white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn--ghost-light:hover { background: var(--r1-white); color: var(--r1-navy); border-color: var(--r1-white); }
.btn--solid {
  background: var(--r1-navy); color: var(--r1-white);
}
.btn--solid:hover { background: var(--r1-marine); }
.btn--emergency {
  background: var(--r1-red); color: var(--r1-white);
}
.btn--emergency:hover { filter: brightness(.94); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 60px; padding: 0 28px; font-size: 16px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----- HEADER ----- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--r1-white);
  border-bottom: 1px solid var(--rule);
}
.header__util {
  background: var(--r1-navy); color: var(--r1-white);
  font-size: 13px;
}
.header__util .wrap {
  display: flex; justify-content: space-between; align-items: center;
  height: 36px;
}
.header__util a { color: rgba(255,255,255,.85); }
.header__util a:hover { color: var(--r1-white); }
.header__util .util-left { display: flex; gap: 22px; align-items: center; }
.header__util .util-right { display: flex; gap: 22px; align-items: center; }
.header__util .util-emergency {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 12px;
}
.header__util .util-emergency::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--r1-red);
  box-shadow: 0 0 0 0 rgba(237,32,36,.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(237,32,36,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(237,32,36,0); }
  100% { box-shadow: 0 0 0 0 rgba(237,32,36,0); }
}
@media (max-width: 720px) {
  .header__util .util-left .sep { display: none; }
  .header__util .util-left .area { display: none; }
}

.header__main { height: var(--header-h); }
.header__main .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.header nav.primary {
  display: flex; gap: 30px; align-items: center;
}
.header nav.primary a {
  font-weight: 600; font-size: 14px; color: var(--ink); padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.header nav.primary a:hover { color: var(--r1-orange); }
.header nav.primary a.active { color: var(--r1-navy); border-bottom-color: var(--r1-orange); }
.header__cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 980px) {
  .header nav.primary, .header__cta .desktop-only { display: none; }
}
.hamburger {
  width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--radius);
  display: none; align-items: center; justify-content: center;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--r1-navy); position: relative; }
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--r1-navy);
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }
@media (max-width: 980px) { .hamburger { display: flex; } }

/* mobile menu sheet */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--r1-navy); color: var(--r1-white);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .26s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__head {
  display: flex; justify-content: space-between; align-items: center;
  height: var(--header-h); padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-menu__close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--r1-white); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 24px var(--gutter); gap: 4px; flex: 1; }
.mobile-menu nav a {
  padding: 18px 0; font-family: 'Open Sans Condensed', sans-serif; font-weight: 700;
  font-size: 28px; letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu nav a.active { color: var(--r1-orange); }
.mobile-menu__cta { padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }

/* ----- WORDMARK / LOCATION LOGO ----- */
.wordmark { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1; }
.wordmark__main {
  font-family: 'Open Sans Condensed', 'Open Sans', sans-serif;
  font-weight: 700; font-size: 26px; letter-spacing: .03em;
  color: var(--r1-navy);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.wordmark__main sup { font-size: 11px; font-weight: 600; letter-spacing: 0; transform: translateY(-2px); color: var(--r1-marine); }
.wordmark__loc {
  font-family: 'Open Sans Condensed', 'Open Sans', sans-serif;
  font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--r1-blue);
}
.on-dark .wordmark__main { color: var(--r1-white); }
.on-dark .wordmark__main sup { color: rgba(255,255,255,.7); }
.on-dark .wordmark__loc { color: var(--r1-light-blue); }

/* ----- HERO ----- */
.hero {
  position: relative; overflow: hidden;
  background: var(--r1-navy); color: var(--r1-white);
  padding: clamp(72px, 10vw, 130px) 0 clamp(56px, 7vw, 96px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(0,149,218,.18), transparent 60%),
    radial-gradient(800px 500px at 5% 110%, rgba(15,48,73,.9), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--r1-white); max-width: 16ch; }
.hero h1 .accent { color: var(--r1-orange); }
.hero__sub {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px;
  color: var(--r1-light-blue);
}
.hero__sub .live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46,204,113,.7); animation: pulse-green 1.8s infinite;
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}
.hero__lede { color: rgba(255,255,255,.82); margin-top: 24px; max-width: 56ch; font-size: clamp(17px, 1.4vw, 20px); }
.hero__cta { margin-top: 36px; }
.hero__meta {
  margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 28px;
}
.hero__meta .stat {
  border-right: 1px solid rgba(255,255,255,.08); padding-right: 16px;
}
.hero__meta .stat:last-child { border-right: 0; }
.hero__meta .num {
  font-family: 'Open Sans Condensed', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px); color: var(--r1-white);
  line-height: 1;
}
.hero__meta .lbl {
  font-size: 12px; color: rgba(255,255,255,.65);
  text-transform: uppercase; letter-spacing: .12em; margin-top: 8px;
}
@media (max-width: 720px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .hero__meta .stat:nth-child(2) { border-right: 0; }
}

/* ----- TRUST STRIP ----- */
.trust {
  background: var(--r1-marine); color: var(--r1-white);
  padding: 28px 0;
}
.trust__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  align-items: stretch;
}
.trust__cell {
  display: flex; gap: 14px; align-items: center;
  padding: 6px 22px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.trust__cell:last-child { border-right: 0; }
.trust__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--r1-orange);
}
.trust__cell.is-emergency .trust__icon { color: var(--r1-red); border-color: rgba(237,32,36,.4); background: rgba(237,32,36,.08); }
.trust__title {
  font-family: 'Open Sans Condensed', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
  color: var(--r1-white);
}
.trust__sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 2px; }
@media (max-width: 980px) {
  .trust__row { grid-template-columns: repeat(2, 1fr); }
  .trust__cell { border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 18px; }
  .trust__cell:nth-child(2) { border-right: 0; }
  .trust__cell:nth-child(3), .trust__cell:nth-child(4) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .trust__row { grid-template-columns: 1fr; }
  .trust__cell { border-right: 0; }
  .trust__cell:last-child { border-bottom: 0; }
}

/* ----- SERVICE CARDS ----- */
.svc-card {
  background: var(--r1-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { border-color: var(--r1-marine); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card__num {
  font-family: 'Open Sans Condensed', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: .14em; color: var(--r1-orange);
}
.svc-card__title { font-size: 24px; }
.svc-card__body { color: var(--ink-2); margin: 0; }
.svc-card__bullets { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.svc-card__bullets li {
  font-size: 14px; color: var(--ink-2);
  padding-left: 22px; position: relative;
}
.svc-card__bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 2px; background: var(--r1-orange);
}
.svc-card__more {
  margin-top: auto; padding-top: 16px;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--r1-marine);
  display: inline-flex; gap: 6px; align-items: center;
}
.svc-card__more:hover { color: var(--r1-orange); }
.svc-card.coming-soon { background: var(--bg-soft); border-style: dashed; }
.svc-card.coming-soon .svc-card__title { color: var(--ink-mute); }
.svc-card.coming-soon .svc-card__body { color: var(--ink-mute); }

/* ----- PROCESS ----- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.step {
  padding: 0 24px 0 0;
  position: relative;
  border-right: 1px solid var(--rule);
}
.step:last-child { border-right: 0; }
.step__num {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 64px; font-weight: 700; line-height: 1;
  color: var(--r1-orange);
  margin-bottom: 16px;
  display: flex; align-items: baseline; gap: 8px;
}
.step__num small { font-size: 16px; color: var(--ink-mute); letter-spacing: .14em; }
.step__title { font-size: 20px; margin-bottom: 8px; }
.step__body { color: var(--ink-2); font-size: 15px; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .step { border-right: 0; padding: 0; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
}

/* ----- BEFORE / AFTER ----- */
.ba { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .ba { grid-template-columns: 1fr; } }

.ba-card {
  background: var(--r1-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.ba-card__pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba-slot {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #EEF1F4 0 12px, #E4E8EC 12px 24px);
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.ba-slot.after { background: repeating-linear-gradient(45deg, #F4EFE8 0 12px, #ECE4D8 12px 24px); }
.ba-slot__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,28,47,.85); color: var(--r1-white);
  font-family: 'Open Sans Condensed', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
}
.ba-slot.after .ba-slot__tag { background: var(--r1-orange); }
.ba-slot__hint {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; color: var(--ink-mute); padding: 12px;
  background: rgba(255,255,255,.7);
}
.ba-card__caption { padding: 18px 22px; border-top: 1px solid var(--rule); }
.ba-card__caption h4 { color: var(--r1-navy); }
.ba-card__caption p { color: var(--ink-mute); font-size: 14px; margin: 4px 0 0; }

/* ----- SERVICE AREA ----- */
.area {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }
.area__cities { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.city-pill {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: var(--r1-white); border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.city-pill:hover { border-color: var(--r1-orange); transform: translateX(2px); }
.city-pill__pin {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--r1-orange);
}
.city-pill__name { font-weight: 700; font-size: 18px; color: var(--r1-navy); }
.city-pill__zip { color: var(--ink-mute); font-size: 13px; margin-left: auto; }

.area__map {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #E8EEF4 0%, #DCE6EF 100%);
  border: 1px solid var(--rule);
  position: relative; overflow: hidden;
}

/* ----- TESTIMONIALS ----- */
.quote {
  font-family: 'Open Sans', serif;
  font-weight: 600; font-style: normal;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4;
  color: var(--r1-white);
  max-width: 22ch;
}
.quote__mark {
  font-family: 'Open Sans Condensed', sans-serif; font-weight: 700;
  font-size: 90px; line-height: .6; color: var(--r1-orange);
  display: block; margin-bottom: 16px;
}
.quote-card {
  padding: 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
}
.quote-card p { color: rgba(255,255,255,.85); font-size: 16px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote-card .who .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--r1-marine), var(--r1-slate));
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--r1-light-blue); font-size: 13px;
}
.quote-card .who .name {
  font-weight: 700; font-size: 14px; color: var(--r1-white);
}
.quote-card .who .meta {
  font-size: 12px; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .1em;
}
.stars { color: var(--r1-orange); letter-spacing: 4px; font-size: 14px; }

/* ----- FOOTER ----- */
.footer {
  background: var(--r1-navy); color: rgba(255,255,255,.78);
  padding: 64px 0 0;
  margin-top: 0;
}
.footer h4 {
  color: var(--r1-white);
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,.7); }
.footer ul a:hover { color: var(--r1-orange); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer__contact strong { display: block; color: var(--r1-white); font-weight: 700; }
.footer__bottom {
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.5);
}
.footer__bottom a { color: rgba(255,255,255,.6); }
.footer__bottom a:hover { color: var(--r1-orange); }
.placeholder-tag {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  background: rgba(245,128,32,.12);
  color: var(--r1-orange);
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: .04em;
}
.placeholder-tag.dark { background: rgba(245,128,32,.18); color: var(--r1-orange); }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .2s ease, color .2s ease;
}
.socials a:hover { background: var(--r1-orange); color: var(--r1-white); border-color: var(--r1-orange); }

/* ----- MOBILE BOTTOM BAR ----- */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--r1-white);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -8px 24px -8px rgba(10,28,47,.18);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar .btn { flex: 1; height: 50px; font-size: 13px; padding: 0 12px; }
@media (max-width: 768px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 12px); }
}

/* ----- MODAL ----- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,28,47,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--r1-white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 560px;
  max-height: 92vh; overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: rise .25s ease;
}
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal__head {
  padding: 24px 24px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.modal__head h3 { font-size: 24px; }
.modal__close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink-mute); flex-shrink: 0;
}
.modal__close:hover { background: var(--bg-soft); color: var(--r1-navy); }

/* ----- FORM ----- */
.form { padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-weight: 700; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--r1-marine);
}
.field label .req { color: var(--r1-orange); margin-left: 2px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  background: var(--r1-white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--r1-orange);
  box-shadow: 0 0 0 3px rgba(245,128,32,.18);
}
.field textarea { min-height: 96px; resize: vertical; font-family: inherit; }
.field .err { color: var(--r1-red); font-size: 12px; font-weight: 600; }
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: var(--r1-red);
}

.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  background: var(--r1-white);
  cursor: pointer;
  transition: all .15s ease;
  user-select: none;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--rule-strong); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  background: var(--r1-white);
  transition: all .15s ease;
}
.check.is-on { background: rgba(245,128,32,.08); border-color: var(--r1-orange); color: var(--r1-navy); }
.check.is-on .check__box { background: var(--r1-orange); border-color: var(--r1-orange); color: var(--r1-white); }

.toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--r1-white);
}
.toggle.is-on {
  border-color: var(--r1-red); background: rgba(237,32,36,.04);
}
.toggle__info { display: flex; flex-direction: column; gap: 4px; }
.toggle__title {
  font-weight: 700; font-size: 14px; color: var(--r1-navy);
  text-transform: uppercase; letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: 8px;
}
.toggle.is-on .toggle__title { color: var(--r1-red); }
.toggle.is-on .toggle__title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--r1-red);
  animation: pulse 1.6s infinite;
}
.toggle__sub { font-size: 12px; color: var(--ink-mute); }
.toggle__sw {
  width: 46px; height: 26px; border-radius: 999px;
  background: var(--r1-smoke); position: relative; transition: background .18s ease;
  flex-shrink: 0;
}
.toggle.is-on .toggle__sw { background: var(--r1-red); }
.toggle__sw::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--r1-white);
  transition: transform .18s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.toggle.is-on .toggle__sw::after { transform: translateX(20px); }

.form__submit { margin-top: 6px; }
.form__legal { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }

.form__success {
  padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.form__success .check-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--r1-orange); color: var(--r1-white);
  display: flex; align-items: center; justify-content: center;
}

/* ----- PAGE HEADER (for non-home pages) ----- */
.page-head {
  background: var(--r1-navy); color: var(--r1-white);
  padding: clamp(60px, 7vw, 100px) 0 clamp(48px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 90% 20%, rgba(0,149,218,.16), transparent 60%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: var(--r1-white); max-width: 16ch; }
.page-head .lede { color: rgba(255,255,255,.78); margin-top: 18px; max-width: 60ch; }
.crumb {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: 'Open Sans Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--r1-light-blue); margin-bottom: 16px;
}
.crumb a { color: rgba(255,255,255,.6); }
.crumb a:hover { color: var(--r1-orange); }

/* utility */
.muted { color: var(--ink-mute); }
.center { text-align: center; }
.divider { height: 1px; background: var(--rule); margin: 0; border: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.tag--orange { background: rgba(245,128,32,.12); color: var(--r1-orange); }
.tag--red { background: rgba(237,32,36,.1); color: var(--r1-red); }
.tag--navy { background: rgba(10,28,47,.06); color: var(--r1-navy); }
.tag--green { background: rgba(46,204,113,.1); color: #1e8e4a; }
