/* ROUND 3 (2026-11-01). Palette from Andres: beige #E8DFCF, forest #2F4538, deep blue #1F3A52,
   gold #C9A24B. Mobile-first, 48px+ tap targets. */
:root{--r3-beige:#E8DFCF;--r3-forest:#2F4538;--r3-blue:#1F3A52;--r3-gold:#C9A24B;--r3-gold-2:#B8912E}

/* ---- Book an Appointment button (gold) ---- */
.btn-book{background:var(--r3-gold);color:#141210;border-color:var(--r3-gold-2);cursor:pointer;font:inherit;font-weight:600}
.btn-book:hover{background:var(--r3-gold-2)}
.head-cta .btn-book{white-space:nowrap}
.nav .mob-book-appt{display:none!important}
@media (max-width:760px){
  /* the header keeps ONE gold button on a phone; Get a Quote stays in the menu */
  .head-cta .btn:not(.btn-book){display:none}
  .head-cta .btn-book{padding:10px 14px;min-height:46px;font-size:.84rem}
}

/* ---- Carriers page: clean text-wordmark grid ---- */
.cr3{padding:clamp(56px,8vw,112px) 0;background:var(--r3-beige)}
.cr3 h1{font-family:var(--serif);color:var(--r3-forest);text-align:center;
  font-size:clamp(2rem,4.4vw,3.2rem);margin:0 0 clamp(36px,5vw,64px);font-weight:500}
.cr3-grid{list-style:none;margin:0 auto;padding:0;max-width:1040px;display:grid;
  grid-template-columns:repeat(2,1fr);gap:clamp(14px,2.4vw,28px)}
@media (min-width:900px){.cr3-grid{grid-template-columns:repeat(4,1fr)}}
.cr3-grid li{display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:clamp(96px,12vw,128px);padding:18px 14px;border:1px solid rgba(47,69,56,.18);
  border-radius:14px;background:rgba(255,255,255,.28);color:var(--r3-forest);
  font-family:var(--serif);font-weight:600;font-size:clamp(1.02rem,1.7vw,1.3rem);line-height:1.2;
  letter-spacing:.005em;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background-color .2s ease}
.cr3-grid li:hover{transform:translateY(-2px);border-color:rgba(47,69,56,.45);
  background:rgba(255,255,255,.5);box-shadow:0 6px 18px rgba(47,69,56,.12)}
.cr3-note{text-align:center;color:#4a5a50;font-size:.92rem;margin:clamp(28px,4vw,44px) 0 0}
.cr3-cta{text-align:center;margin-top:clamp(28px,4vw,40px)}
@media (prefers-reduced-motion:reduce){.cr3-grid li{transition:none}.cr3-grid li:hover{transform:none}}

/* ---- Booking dialog ---- */
.bk-back{position:fixed;inset:0;z-index:1000;background:rgba(20,18,16,.55);display:flex;
  align-items:flex-end;justify-content:center;padding:0;overflow:auto}
.bk-back[hidden]{display:none}
.bk{position:relative;background:#fbf8f1;color:#1d241f;width:100%;max-width:520px;max-height:100vh;
  overflow:auto;border-radius:20px 20px 0 0;padding:22px 18px 26px;outline:none;
  box-shadow:0 -10px 40px rgba(0,0,0,.25)}
@media (min-width:600px){.bk-back{align-items:center;padding:24px}.bk{border-radius:20px;padding:28px 28px 30px}}
.bk-x{position:absolute;top:8px;right:8px;width:48px;height:48px;border:0;background:transparent;
  font-size:2rem;line-height:1;color:var(--r3-forest);cursor:pointer;border-radius:50%}
.bk-x:hover{background:rgba(47,69,56,.08)}
.bk-eyebrow{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--r3-blue);margin:0 48px 4px 0;font-weight:700}
.bk h2{font-family:var(--serif);color:var(--r3-forest);font-size:1.6rem;margin:0 0 14px;font-weight:500}
.bk-prog{display:flex;gap:6px;list-style:none;margin:0 0 18px;padding:0}
.bk-prog li{flex:1;display:flex;align-items:center;gap:8px;font-size:.84rem;color:#6b756e;
  border-top:4px solid #d9d2c1;padding-top:8px}
.bk-prog li span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;
  background:#d9d2c1;color:#3a443d;font-size:.75rem;font-weight:700}
.bk-prog li.on,.bk-prog li.done{color:var(--r3-forest);border-top-color:var(--r3-forest);font-weight:600}
.bk-prog li.on span,.bk-prog li.done span{background:var(--r3-forest);color:#fff}
.bk-mon{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.bk-mon b{font-size:1.08rem;color:var(--r3-forest)}
.bk-nav{width:48px;height:48px;border:1px solid #cfc7b3;background:#fff;border-radius:12px;font-size:1.3rem;
  cursor:pointer;color:var(--r3-forest)}
.bk-nav:disabled{opacity:.35;cursor:default}
.bk-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.bk-dow{text-align:center;font-size:.74rem;color:#6b756e;padding:4px 0;font-weight:600}
.bk-day{aspect-ratio:1/1;min-height:44px;border:1px solid transparent;border-radius:12px;background:#fff;
  font:inherit;font-weight:600;color:var(--r3-forest);cursor:pointer}
.bk-day:hover:not(:disabled){border-color:var(--r3-forest)}
.bk-day:disabled{background:transparent;color:#aaa49a;cursor:not-allowed;font-weight:400}
.bk-day.today{box-shadow:inset 0 0 0 2px var(--r3-gold)}
.bk-day.sel{background:var(--r3-forest);color:#fff;border-color:var(--r3-forest)}
.bk-blank{visibility:hidden}
.bk-sub{margin:0 0 10px;color:#3d4a41;font-size:.95rem}
.bk-slots{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.bk-slot{min-height:52px;border:1px solid #cfc7b3;background:#fff;border-radius:12px;font:inherit;font-weight:600;
  color:var(--r3-forest);cursor:pointer;padding:6px}
.bk-slot small{display:block;font-weight:400;font-size:.72rem;color:#5d675f}
.bk-slot:hover:not(:disabled){border-color:var(--r3-forest)}
.bk-slot.sel{background:var(--r3-forest);color:#fff}
.bk-slot.sel small{color:#dfe8e1}
.bk-slot:disabled{background:#eee9dc;color:#a39d90;cursor:not-allowed;text-decoration:line-through}
.bk-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.bk-btn{min-height:52px;padding:0 22px;border-radius:999px;border:1px solid var(--r3-forest);background:#fff;
  color:var(--r3-forest);font:inherit;font-weight:600;cursor:pointer}
.bk-btn.go{background:var(--r3-gold);border-color:var(--r3-gold-2);color:#141210;letter-spacing:.04em;flex:1}
.bk-btn.go:hover{background:var(--r3-gold-2)}
.bk-btn:disabled{opacity:.5;cursor:not-allowed}
.bk-f{display:block;margin:0 0 12px}
.bk-f span{display:block;font-weight:600;font-size:.9rem;margin-bottom:4px;color:var(--r3-forest)}
.bk-f input{width:100%;min-height:52px;border:1px solid #bdb59f;border-radius:12px;padding:0 14px;font:inherit;background:#fff;box-sizing:border-box}
.bk-f input:focus-visible,.bk-btn:focus-visible,.bk-day:focus-visible,.bk-slot:focus-visible,.bk-nav:focus-visible,.bk-x:focus-visible{outline:3px solid var(--r3-blue);outline-offset:2px}
.bk-consent{font-size:.84rem;color:#3d4a41;margin:4px 0 0;line-height:1.45}
.bk-err{color:#8a1f1f;font-weight:600;margin:10px 0 0;min-height:1.2em}
.bk-sum{background:#fff;border:1px solid #d9d2c1;border-radius:12px;padding:10px 14px;margin:0 0 14px;font-weight:600;color:var(--r3-forest)}
.bk-ok{text-align:center;padding:6px 0}
.bk-ok .chk{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--r3-forest);color:#fff;font-size:1.8rem;margin-bottom:10px}
.bk-ok p{font-size:1.1rem;margin:0 0 14px;color:#1d241f}
.bk-hint{font-size:.8rem;color:#5d675f;margin:8px 0 0}
body.bk-open{overflow:hidden}

/* The header gained a gold Book button; on mid-width desktops it would overflow. Compress
   the nav a little and let the (duplicated-elsewhere) header Get a Quote step aside. */
@media (min-width:761px) and (max-width:1400px){
  .nav a{padding:10px 8px;font-size:.86rem}
  .head-cta{gap:8px}
  .head-cta .btn:not(.btn-book){display:none}
}
