/* ============================================================
   GPG Schedule Now Popup — production CSS
   Extracted from schedule-popup-v1.html sandbox.
   Loaded sitewide via gpg-schedule-popup.php mu-plugin.
   ============================================================ */

/* Fallback tokens (site already defines these on :root; safe to redefine in case of changes) */
.schedule-modal,.sticky-bar,.schedule-strip,.chapter-trigger-wrap,.schedule-cta{
  --gpg-navy:#0A1F3C;--gpg-navy-soft:#142B4D;
  --gpg-steel:#2E6DA4;--gpg-steel-dim:#1F5685;--gpg-steel-soft:#6993BB;
  --gpg-tint:#EBF2FA;--gpg-tint-deep:#DCE7F2;
  --gpg-charcoal:#2C3E50;--gpg-muted:#6B7785;
  --gpg-ease:cubic-bezier(0.22,0.61,0.36,1);
  --gpg-ease-out:cubic-bezier(0.16,1,0.3,1);
}

/* Reusable CTA button — used by sticky bar, mid-page strip, and any custom trigger */
.schedule-cta{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 22px;min-height:44px;
  background:var(--steel,#2E6DA4);color:#FFFFFF !important;
  border:1.5px solid var(--steel,#2E6DA4);border-radius:6px;
  font-family:var(--sans,'Onest',system-ui,sans-serif);font-weight:600;font-size:.9rem;letter-spacing:.005em;
  text-decoration:none !important;cursor:pointer;white-space:nowrap;flex-shrink:0;
  transition:background .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),transform .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),box-shadow .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1));
  box-shadow:0 1px 0 rgba(0,0,0,.04),0 8px 20px -8px rgba(46,109,164,.4);
}
.schedule-cta:hover{background:var(--steel-dim,#1F5685);border-color:var(--steel-dim,#1F5685);color:#FFFFFF !important;transform:translateY(-1px);box-shadow:0 1px 0 rgba(0,0,0,.04),0 12px 28px -8px rgba(46,109,164,.55)}
.schedule-cta::after{content:"→";font-size:1rem;transition:transform .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1));flex-shrink:0}
.schedule-cta:hover::after{transform:translateX(3px)}

/* Mid-page schedule strip */
.schedule-strip{background:var(--navy,#0A1F3C);color:#FFFFFF;padding:80px 24px;position:relative;overflow:hidden}
.schedule-strip::before{content:"";position:absolute;inset:0;background:radial-gradient(80% 100% at 50% 50%,rgba(46,109,164,.14) 0%,transparent 65%);pointer-events:none}
.schedule-strip::after{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:64px;height:1px;background:var(--steel-soft,#6993BB);opacity:.6}
.schedule-strip__inner{position:relative;max-width:760px;margin:0 auto;text-align:center}
.schedule-strip__eyebrow{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.6875rem;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--steel-soft,#6993BB);margin-bottom:20px}
.schedule-strip h2{font-family:var(--serif,'Playfair Display',Georgia,serif);font-weight:700;color:#FFFFFF;font-size:clamp(1.75rem,3vw,2.5rem);margin:0 0 16px;letter-spacing:-0.022em;text-wrap:balance}
.schedule-strip__sub{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;font-size:1.0625rem;color:rgba(255,255,255,.78);margin:0 0 36px;max-width:48ch;margin-left:auto;margin-right:auto}
.schedule-strip__ctas{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.schedule-strip .schedule-cta{padding:16px 30px;font-size:.95rem}
.schedule-strip__secondary{
  display:inline-flex;align-items:center;gap:8px;
  padding:16px 24px;background:transparent;color:rgba(255,255,255,.92);
  border:1.5px solid rgba(255,255,255,.35);border-radius:6px;
  font-family:var(--sans,'Onest',system-ui,sans-serif);font-weight:600;font-size:.95rem;text-decoration:none;
  transition:all .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1));cursor:pointer;
}
.schedule-strip__secondary:hover{background:rgba(255,255,255,.06);color:#FFFFFF;border-color:rgba(255,255,255,.6)}

/* Sticky bottom bar — sitewide, mobile + desktop */
.gpg-sticky-bar{position:fixed;left:0;right:0;bottom:0;background:rgba(10,31,60,.96);backdrop-filter:saturate(180%) blur(10px);-webkit-backdrop-filter:saturate(180%) blur(10px);padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom));z-index:25;box-shadow:0 -8px 24px -8px rgba(10,31,60,.4);border-top:1px solid rgba(255,255,255,.08);transition:transform .3s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),opacity .3s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.gpg-sticky-bar--hidden{transform:translateY(100%);opacity:0;pointer-events:none}
.gpg-sticky-bar__inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.gpg-sticky-bar__text{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;font-size:.95rem;color:rgba(255,255,255,.78);margin:0}
.gpg-sticky-bar__actions{display:flex;align-items:stretch;gap:10px;flex-shrink:0}
.gpg-sticky-bar__phone{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 14px;border:1px solid rgba(255,255,255,.55);border-radius:7px;background:rgba(255,255,255,.08);color:#FFFFFF !important;font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.85rem;font-weight:600;letter-spacing:.005em;text-decoration:none;transition:background .25s cubic-bezier(.4,0,.2,1),border-color .25s,transform .1s}
.gpg-sticky-bar__phone:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.8);color:#FFFFFF !important}
.gpg-sticky-bar__phone:active{transform:translateY(1px)}
.gpg-sticky-bar__phone svg{flex-shrink:0;opacity:1}
.gpg-sticky-bar .schedule-cta{padding:9px 18px !important;font-size:.85rem !important;min-height:0 !important;box-shadow:none !important}
.gpg-sticky-bar .schedule-cta:hover{box-shadow:none !important;transform:none !important}
@media (max-width:640px){.gpg-sticky-bar__text{display:none}.gpg-sticky-bar__inner{justify-content:center;gap:0;padding:0 16px}.gpg-sticky-bar__actions{display:grid !important;grid-template-columns:1fr 1fr !important;column-gap:18px !important;row-gap:0 !important;gap:18px !important;width:100% !important;max-width:480px}.gpg-sticky-bar__phone{padding:8px 12px !important;width:100%;box-sizing:border-box;font-size:.85rem}.gpg-sticky-bar__phone-text{display:inline}.gpg-sticky-bar .schedule-cta{width:100%;padding:9px 12px !important;font-size:.85rem !important;box-sizing:border-box}}
@media (max-width:380px){.gpg-sticky-bar__actions{gap:12px}.gpg-sticky-bar__phone{padding:12px 10px}.gpg-sticky-bar .schedule-cta{padding:12px 10px;font-size:.85rem}}

/* iOS double-tap fix: only apply hover transforms on devices that actually have hover capability (mouse, not touch) */
.schedule-cta,.gpg-sticky-bar__phone,.gpg-sticky-bar .schedule-cta,.gpg-cta,.gpg-mobile-menu__cta{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media (hover:none){
  .schedule-cta:hover,.gpg-sticky-bar .schedule-cta:hover,.gpg-sticky-bar__phone:hover,.gpg-cta:hover{transform:none !important;box-shadow:inherit}
}

/* Body padding so sticky bar doesn't cover the LPT broker logo or colophon at bottom of footer */
body.has-gpg-sticky-bar{padding-bottom:54px}
@media (max-width:640px){body.has-gpg-sticky-bar{padding-bottom:calc(64px + env(safe-area-inset-bottom))}}

/* ============================================================
   MODAL BACKDROP + CONTAINER
   ============================================================ */
.schedule-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(10,31,60,.55);backdrop-filter:saturate(180%) blur(8px);-webkit-backdrop-filter:saturate(180%) blur(8px);opacity:0;transition:opacity .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.schedule-modal.is-open{display:flex;opacity:1}
.schedule-modal__card{position:relative;width:100%;max-width:920px;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;background:#FFFFFF;border-radius:0;box-shadow:0 32px 72px -16px rgba(10,31,60,.45),0 4px 8px rgba(10,31,60,.08);overflow:hidden;display:flex;flex-direction:column;opacity:.85;transition:opacity .25s var(--ease-out,cubic-bezier(0.16,1,0.3,1))}
@media (min-width:761px){.schedule-modal__card{height:auto;max-height:calc(100vh - 32px);min-height:600px;border-radius:8px}}
.schedule-modal.is-open .schedule-modal__card{opacity:1}
@media (max-width:640px){
  .schedule-modal{padding:0;align-items:stretch;justify-content:stretch}
  /* HARD RULE: no scrolling in the modal. Everything fits or gets cut. */
  .schedule-modal__card{max-width:none;border-radius:0;height:100dvh !important;max-height:100dvh !important;min-height:0 !important;overflow:hidden !important;display:flex !important;flex-direction:column !important}
  .schedule-modal .modal-header{flex-shrink:0;padding:10px 14px !important}
  .schedule-modal .modal-progress{flex-shrink:0;padding:6px 14px !important}
  .schedule-modal .step{display:none !important}
  .schedule-modal .step.is-active{display:flex !important;flex-direction:column;flex:1;min-height:0;overflow:hidden}
  .schedule-modal .step-inner,.schedule-modal .confirm-inner{display:block !important;flex:1 !important;min-height:0 !important;overflow:hidden !important;padding:12px 16px !important;grid-template-columns:1fr !important}
  .schedule-modal .step-foot{position:static !important;flex-shrink:0 !important;display:flex !important;flex-direction:column-reverse !important;gap:6px !important;padding:8px 14px !important;padding-bottom:max(12px,env(safe-area-inset-bottom)) !important;background:var(--tint,#EBF2FA) !important;border-top:1px solid var(--tint-deep,#DCE7F2)}
  /* Compact titles */
  .schedule-modal .step-back{padding:4px 0 !important;font-size:.75rem !important;margin-bottom:6px !important}
  .schedule-modal .step-eyebrow{font-size:.55rem !important;margin-bottom:2px !important;letter-spacing:.18em !important}
  .schedule-modal .step-title{font-size:1.0625rem !important;line-height:1.2 !important;margin-bottom:4px !important}
  .schedule-modal .step-sub{display:none !important}
  .schedule-modal .form-trust{display:none !important}
  .schedule-modal .booking-summary{display:none !important}
  .schedule-modal .step-foot__note{display:none !important}
  /* Compact form */
  .schedule-modal .form-grid{gap:8px !important}
  .schedule-modal .form-field{margin:0 !important}
  .schedule-modal .form-field label{font-size:.6rem !important;letter-spacing:.16em !important;margin-bottom:2px !important}
  .schedule-modal .form-field input,.schedule-modal .form-field textarea{padding:8px 10px !important;font-size:.875rem !important;min-height:36px !important;border-radius:5px !important}
  .schedule-modal .form-field textarea{min-height:50px !important}
  .schedule-modal .form-field__err{font-size:.65rem !important;margin-top:2px !important}
  .schedule-modal .topic-pills{gap:4px !important}
  .schedule-modal .topic-pill{padding:5px 9px !important;font-size:.75rem !important;min-height:28px !important}
  /* Compact service cards */
  .schedule-modal .service-card{padding:10px 12px !important;margin:0 !important}
  .schedule-modal .service-card__title{font-size:.95rem !important}
  .schedule-modal .service-card__duration{font-size:.65rem !important}
  .schedule-modal .service-card__desc{font-size:.75rem !important;line-height:1.3 !important}
  .schedule-modal .services{gap:6px !important;display:flex !important;flex-direction:column !important}
  /* Compact calendar */
  .schedule-modal .cal-header{padding:6px 0 !important;margin-bottom:4px !important}
  .schedule-modal .cal-month{font-size:.8125rem !important}
  .schedule-modal .cal-grid{gap:2px !important;margin-bottom:8px !important}
  .schedule-modal .cal-day{height:28px !important;font-size:.75rem !important}
  .schedule-modal .cal-grid__dayname{font-size:.5rem !important;padding:1px 0 !important}
  .schedule-modal .cal-times__label{font-size:.55rem !important;margin-bottom:6px !important;padding-bottom:5px !important}
  .schedule-modal .cal-time{padding:6px !important;font-size:.75rem !important;min-height:30px !important}
  /* Submit button */
  .schedule-modal .step-next{padding:10px 18px !important;min-height:42px !important;font-size:.875rem !important;width:100%}
  /* Kill broker / TREC sidebar rail in modal (legal lives in site footer, not booking flow) */
  .schedule-modal .adam-rail{display:none !important}
  /* Kill any conditional address field display on mobile to save space — reveal only when topic requires it */
  .schedule-modal .cond-field:not(.is-shown){display:none !important}
  .schedule-modal .step-foot{position:static !important;flex-shrink:0;padding-bottom:max(16px,env(safe-area-inset-bottom)) !important;padding-top:14px !important;border-top:1px solid var(--tint-deep,#DCE7F2);background:var(--tint,#EBF2FA);box-shadow:none}
  .schedule-modal *{max-width:100%;box-sizing:border-box}
  .schedule-modal .form-row{grid-template-columns:1fr !important;gap:14px !important}
  .schedule-modal .topic-pills{flex-wrap:wrap !important}
  .schedule-modal input,.schedule-modal textarea,.schedule-modal select{width:100% !important;max-width:100% !important}
  .schedule-modal .booking-summary{width:100% !important}
}

/* Modal header */
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--tint-deep,#DCE7F2);background:#FFFFFF;flex-shrink:0}
.modal-header__brand{display:flex;align-items:center;gap:10px;font-family:var(--serif,'Playfair Display',Georgia,serif);font-weight:700;font-size:.9375rem;color:var(--navy,#0A1F3C)}
.modal-header__brand svg{width:20px;height:20px;color:var(--navy,#0A1F3C)}
.modal-header__close{background:none;border:none;padding:6px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;color:var(--muted,#6B7785);border-radius:4px;transition:background .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),color .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1));cursor:pointer}
.modal-header__close:hover{background:var(--tint,#EBF2FA);color:var(--navy,#0A1F3C)}
.modal-header__close svg{width:18px;height:18px}

/* Progress dots */
.modal-progress{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 24px;background:var(--tint,#EBF2FA);border-bottom:1px solid var(--tint-deep,#DCE7F2);flex-shrink:0}
.modal-progress__dot{width:8px;height:8px;border-radius:50%;background:var(--tint-deep,#DCE7F2);transition:background .3s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),transform .3s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.modal-progress__dot.is-active{background:var(--steel,#2E6DA4);transform:scale(1.2)}
.modal-progress__dot.is-done{background:var(--navy,#0A1F3C)}

/* Step container */
.schedule-modal .step{display:none;animation:gpgStepIn .35s var(--ease-out,cubic-bezier(0.16,1,0.3,1));flex:1;flex-direction:column;min-height:0;overflow:hidden}
.schedule-modal .step.is-active{display:flex}
@keyframes gpgStepIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
.schedule-modal .step-inner,.schedule-modal .confirm-inner{flex:1;overflow:hidden;min-height:0}
/* HARD RULE: NO scrolling inside the modal except the time slot list on step 2. */
.schedule-modal,.schedule-modal__card,.schedule-modal .step,.schedule-modal .step-inner,.schedule-modal .confirm-inner,.schedule-modal .step-foot,.schedule-modal .form-grid,.schedule-modal .topic-pills,.schedule-modal .services,.schedule-modal .cal-grid,.schedule-modal .booking-summary,.schedule-modal .booking-ticket,.schedule-modal .confirm-cal,.schedule-modal .confirm-next{overflow:hidden !important;overscroll-behavior:contain}
/* EXCEPTION: time slot list scrolls vertically when many time options are available */
.schedule-modal .cal-times{overflow:hidden !important;display:flex !important;flex-direction:column !important;min-height:0 !important;height:100% !important}
.schedule-modal .cal-times__list{overflow-y:auto !important;overflow-x:hidden !important;-webkit-overflow-scrolling:touch !important;overscroll-behavior:contain !important;flex:1 !important;min-height:0 !important;max-height:100% !important}

/* Calendar: ULTRA-COMPACT FIXED SIZE — all 6 weeks always fit */
.schedule-modal .cal-pane{display:flex !important;flex-direction:column !important;overflow:hidden !important}
.schedule-modal .cal-header{flex-shrink:0;margin-bottom:4px !important;padding:2px 0 !important}
.schedule-modal .cal-month{font-size:.85rem !important}
.schedule-modal .cal-grid{display:grid !important;grid-template-columns:repeat(7,minmax(0,1fr)) !important;grid-template-rows:auto repeat(6,24px) !important;gap:2px !important;width:100% !important;max-width:100% !important;flex-shrink:0;margin-bottom:0 !important}
.schedule-modal .cal-day{height:24px !important;min-height:24px !important;font-size:.75rem !important;padding:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;line-height:1 !important}
.schedule-modal .cal-grid__dayname{padding:1px 0 !important;font-size:.5rem !important;letter-spacing:.08em !important;height:auto}
.schedule-modal .cal-time{padding:6px 8px !important;font-size:.8125rem !important;min-height:32px !important}
.schedule-modal .cal-times__label{font-size:.6rem !important;margin-bottom:6px !important;padding-bottom:5px !important}
.schedule-modal .cal-times__list{gap:4px !important}

/* Times list: takes remaining space, scrolls vertically */
.schedule-modal .cal-times{display:flex !important;flex-direction:column !important;overflow:hidden !important;min-height:0 !important;height:100% !important}
.schedule-modal .cal-times__label{flex-shrink:0}
.schedule-modal .cal-times__list{flex:1 !important;overflow-y:auto !important;min-height:0 !important;-webkit-overflow-scrolling:touch !important}
.schedule-modal .step-inner{padding:20px 24px;display:grid;grid-template-columns:1fr 220px;gap:24px;align-items:start}
/* Constrain step-inner on step 2 so children don't push past it (giving room above the step-foot) */
.schedule-modal .step[data-step="2"] .step-inner{display:flex !important;flex-direction:column !important;height:100% !important;min-height:0 !important;overflow:hidden !important;padding-bottom:18px !important}
.schedule-modal .step[data-step="2"] .step-inner > *{flex-shrink:0;min-height:0}
.schedule-modal .step[data-step="2"] .step2-body{flex:1 1 0 !important;min-height:0 !important;overflow:hidden !important;display:grid !important;grid-template-columns:1fr 1fr !important;gap:24px !important}
.schedule-modal .step[data-step="3"] .form-grid{padding-bottom:14px !important}
@media (max-width:760px){
  .schedule-modal .step-inner{grid-template-columns:1fr !important;padding:16px 18px;gap:16px;display:block !important;overflow-x:hidden !important}
  .schedule-modal .step[data-step="2"] .step2-body{display:block !important;grid-template-columns:1fr !important;width:100% !important;max-width:100% !important;gap:16px !important}
  .schedule-modal .step[data-step="2"] .step2-body > *{width:100% !important;max-width:100% !important;margin-bottom:0}
  .schedule-modal .step[data-step="2"] .cal-pane{width:100% !important;max-width:100% !important;min-width:0 !important}
}

.schedule-modal .step-back{
  background:none;border:none;padding:4px 0;
  font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;color:var(--steel-dim,#1F5685);
  font-size:.85rem;cursor:pointer;display:inline-flex;align-items:center;gap:6px;
  margin-bottom:6px;transition:color .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1));
}
.schedule-modal .step-back:hover{color:var(--navy,#0A1F3C)}
.schedule-modal .step-back::before{content:"←";font-style:normal}

.schedule-modal .step-eyebrow{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.625rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--steel,#2E6DA4);margin-bottom:6px}
.schedule-modal .step-title{font-family:var(--serif,'Playfair Display',Georgia,serif);font-weight:700;color:var(--navy,#0A1F3C);font-size:clamp(1.25rem,2.2vw,1.5rem);line-height:1.15;letter-spacing:-0.018em;margin:0 0 6px;text-wrap:balance}
.schedule-modal .step-sub{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.85rem;line-height:1.55;color:var(--muted,#6B7785);margin:0 0 16px;max-width:54ch}

/* Adam rail */
.adam-rail{background:linear-gradient(180deg,var(--tint,#EBF2FA) 0%,#FFFFFF 100%);border:1px solid var(--tint-deep,#DCE7F2);border-radius:8px;padding:16px;text-align:center;position:relative;overflow:hidden}
.adam-rail::before{content:"";position:absolute;top:0;left:16px;width:28px;height:2px;background:var(--steel,#2E6DA4)}
.adam-photo{width:100%;max-width:96px;aspect-ratio:1;margin:6px auto 10px;background:linear-gradient(135deg,var(--tint-deep,#DCE7F2) 0%,var(--steel-soft,#6993BB) 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--serif,'Playfair Display',Georgia,serif);color:rgba(255,255,255,.85);font-size:1.5rem;font-weight:700;letter-spacing:-0.02em;border:2px solid #FFFFFF;box-shadow:0 3px 10px -3px rgba(10,31,60,.2)}
.adam-photo--placeholder::before{content:"AB"}
.adam-rail__name{font-family:var(--serif,'Playfair Display',Georgia,serif);font-weight:700;color:var(--navy,#0A1F3C);font-size:.9375rem;margin:0 0 2px;line-height:1.2}
.adam-rail__role{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.625rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted,#6B7785);margin:0 0 10px}
.adam-rail__quote{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;font-size:.75rem;line-height:1.45;color:var(--charcoal,#2C3E50);margin:0;border-top:1px solid var(--tint-deep,#DCE7F2);padding-top:10px;text-wrap:pretty}
@media (max-width:760px){
  .adam-rail{display:flex;align-items:center;gap:12px;text-align:left;padding:10px 14px}
  .adam-rail::before{display:none}
  .adam-photo{width:44px;height:44px;max-width:none;margin:0;flex-shrink:0;font-size:1rem;border-width:2px}
  .adam-rail__name{font-size:.875rem;margin:0}
  .adam-rail__role{margin:0;font-size:.5625rem}
  .adam-rail__quote{display:none}
}

/* Step 1 — Service select */
.service-list{display:flex;flex-direction:column;gap:8px}
@media (min-width:560px){.service-list{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}}
.service-card{
  display:block;width:100%;text-align:left;
  background:#FFFFFF;border:1.5px solid var(--tint-deep,#DCE7F2);border-radius:8px;
  padding:14px 16px;cursor:pointer;
  transition:border-color .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),background .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),transform .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),box-shadow .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1));
  position:relative;
}
.service-card:hover{border-color:var(--steel-soft,#6993BB);background:rgba(46,109,164,.02);transform:translateY(-1px);box-shadow:0 12px 28px -16px rgba(10,31,60,.16)}
.service-card.is-selected{border-color:var(--steel,#2E6DA4);background:rgba(46,109,164,.04);box-shadow:0 0 0 2px rgba(46,109,164,.12)}
.service-card__head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.service-card__icon{width:34px;height:34px;border-radius:50%;background:var(--tint,#EBF2FA);display:flex;align-items:center;justify-content:center;color:var(--steel,#2E6DA4);flex-shrink:0}
.service-card__icon svg{width:18px;height:18px}
.service-card__title{font-family:var(--serif,'Playfair Display',Georgia,serif);font-weight:700;color:var(--navy,#0A1F3C);font-size:.9375rem;letter-spacing:-0.015em;line-height:1.2;margin:0 0 1px}
.service-card__duration{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.6875rem;font-weight:600;color:var(--steel,#2E6DA4);letter-spacing:.04em}
.service-card__desc{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;color:var(--muted,#6B7785);font-size:.8125rem;line-height:1.45;margin:0;padding-left:0;text-wrap:pretty}
.service-card.is-selected .service-card__title{color:var(--steel-dim,#1F5685)}
.service-card.is-selected::after{content:"✓";position:absolute;top:12px;right:12px;width:20px;height:20px;background:var(--steel,#2E6DA4);color:#FFFFFF;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700}

.schedule-modal .step-foot{padding:8px 18px;border-top:1px solid var(--tint-deep,#DCE7F2);background:var(--tint,#EBF2FA);display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0;min-height:0}
.schedule-modal .step-foot__note{font-size:.7rem !important;line-height:1.3 !important;margin:0 !important}
.schedule-modal .step-next{padding:8px 18px !important;min-height:36px !important;font-size:.85rem !important}
@media (max-width:760px){.schedule-modal .step-foot{padding:6px 14px;flex-direction:column-reverse;align-items:stretch;gap:4px}.schedule-modal .step-foot__note{display:none !important}}
.schedule-modal .step-foot__note{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;font-size:.75rem;color:var(--muted,#6B7785);margin:0}
.schedule-modal .step-next{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:var(--navy,#0A1F3C);color:#FFFFFF;
  border:none;border-radius:6px;
  padding:11px 24px;min-height:42px;
  font-family:var(--sans,'Onest',system-ui,sans-serif);font-weight:600;font-size:.9rem;
  cursor:pointer;transition:background .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),transform .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),box-shadow .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1));
  box-shadow:0 6px 16px -6px rgba(10,31,60,.35);
}
.schedule-modal .step-next:hover:not(:disabled){background:var(--steel,#2E6DA4);transform:translateY(-1px);box-shadow:0 12px 26px -8px rgba(46,109,164,.5)}
.schedule-modal .step-next:disabled{background:var(--tint-deep,#DCE7F2);color:var(--muted,#6B7785);cursor:not-allowed;box-shadow:none}
.schedule-modal .step-next::after{content:"→";font-size:1.1rem;transition:transform .25s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.schedule-modal .step-next:hover:not(:disabled)::after{transform:translateX(3px)}

/* Step 2 — Calendar */
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cal-month{font-family:var(--serif,'Playfair Display',Georgia,serif);font-weight:700;color:var(--navy,#0A1F3C);font-size:.9375rem}
.cal-nav{display:flex;gap:4px}
.cal-nav button{background:#FFFFFF;border:1px solid var(--tint-deep,#DCE7F2);border-radius:6px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;color:var(--charcoal,#2C3E50);cursor:pointer;transition:all .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1));padding:0;flex-shrink:0}
.cal-nav button svg{width:14px !important;height:14px !important;flex-shrink:0;display:block}
@media (max-width:760px){.cal-nav button{width:44px;height:44px}.cal-nav button svg{width:18px !important;height:18px !important}}
.cal-nav button:hover:not(:disabled){background:var(--tint,#EBF2FA);color:var(--navy,#0A1F3C);border-color:var(--steel-soft,#6993BB)}
.cal-nav button:disabled{opacity:.35;cursor:not-allowed}

.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-bottom:14px;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}
.cal-grid > *{min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}
@media (max-width:760px){
  .cal-grid{gap:2px}
  .cal-day{min-width:0 !important;font-size:.8125rem;padding:0;width:100%;max-width:100%}
  .cal-grid__dayname{font-size:.5rem;padding:2px 0;letter-spacing:.08em}
}
@media (max-width:380px){
  .cal-day{font-size:.75rem;height:32px}
  .cal-grid__dayname{font-size:.45rem}
}
.cal-grid__dayname{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.5625rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted,#6B7785);text-align:center;padding:2px 0}
.cal-day{height:30px;display:flex;align-items:center;justify-content:center;font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.8125rem;font-weight:500;color:var(--charcoal,#2C3E50);background:#FFFFFF;border:1px solid transparent;border-radius:4px;cursor:pointer;transition:all .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.cal-day:hover:not(.cal-day--disabled):not(.cal-day--blank){background:var(--tint,#EBF2FA);border-color:var(--steel-soft,#6993BB);color:var(--navy,#0A1F3C)}
.cal-day--blank{cursor:default;background:transparent}
.cal-day--disabled{color:var(--tint-deep,#DCE7F2);cursor:not-allowed;background:transparent}
.cal-day--available{background:var(--tint,#EBF2FA);color:var(--navy,#0A1F3C)}
.cal-day--available:hover{background:var(--steel-soft,#6993BB);color:#FFFFFF}
.cal-day--selected{background:var(--navy,#0A1F3C) !important;color:#FFFFFF !important;border-color:var(--navy,#0A1F3C);box-shadow:0 3px 8px -2px rgba(10,31,60,.4)}
.cal-day--today{position:relative}
.cal-day--today::after{content:"";position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:3px;height:3px;border-radius:50%;background:var(--steel,#2E6DA4)}

.step2-body{display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width:600px){.step2-body{grid-template-columns:1fr 1fr;gap:20px}}
.cal-pane{min-width:0}
.cal-times{min-width:0;display:flex;flex-direction:column}
.cal-times__label{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.6875rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--steel,#2E6DA4);margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--tint-deep,#DCE7F2);text-wrap:balance}
.cal-times__label .date-str{font-family:var(--sans,'Onest',system-ui,sans-serif);font-style:normal;text-transform:none;letter-spacing:-.005em;color:var(--navy,#0A1F3C);font-weight:600;font-size:.9375rem;display:block;margin-top:4px}
.cal-times__list{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-content:start}
@media (min-width:880px){.cal-times__list{grid-template-columns:1fr 1fr 1fr}}
.cal-time{background:#FFFFFF;border:1px solid var(--tint-deep,#DCE7F2);border-radius:5px;padding:8px 6px;font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.8125rem;font-weight:500;color:var(--charcoal,#2C3E50);cursor:pointer;transition:all .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1));text-align:center}
.cal-time:hover{border-color:var(--steel,#2E6DA4);background:var(--tint,#EBF2FA);color:var(--navy,#0A1F3C)}
.cal-time.is-selected{background:var(--navy,#0A1F3C);color:#FFFFFF;border-color:var(--navy,#0A1F3C);box-shadow:0 3px 8px -2px rgba(10,31,60,.4)}
.cal-empty{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;color:var(--muted,#6B7785);font-size:.8125rem;padding:32px 12px;text-align:center;background:var(--tint,#EBF2FA);border:1px dashed var(--tint-deep,#DCE7F2);border-radius:6px;grid-column:1/-1;line-height:1.5}
.tz-note{display:none}

/* Mobile refinements + iOS zoom prevention */
@media (max-width:640px){
  .schedule-modal .form-field input,
  .schedule-modal .form-field textarea{font-size:1rem;padding:12px 14px;min-height:44px}
  .cal-day{height:38px;font-size:.9375rem;border-radius:6px}
  .cal-time{padding:11px 8px;font-size:.875rem;min-height:42px;border-radius:6px}
  .topic-pill{padding:9px 14px;font-size:.875rem;min-height:38px;border-radius:22px}
  .schedule-modal .step-next{padding:14px 24px;min-height:48px;font-size:.95rem;width:100%}
  .service-card{padding:16px 18px}
  .service-card__title{font-size:1.0625rem}
  .service-card__duration{font-size:.75rem}
  .service-card__desc{font-size:.875rem;line-height:1.45}
  .schedule-modal .step-title{font-size:1.375rem}
  .schedule-modal .step-sub{font-size:.9375rem;line-height:1.5}
  .modal-header__close{width:40px;height:40px}
  .modal-header__close svg{width:22px;height:22px}
  .modal-header{padding:10px 16px}
  .modal-progress{padding:8px 16px}
  .confirm-cal__btn{padding:10px 14px;font-size:.8125rem;min-height:40px}
  .confirm-next__link{font-size:.9375rem;padding:8px 4px}
  .booking-summary{padding:12px 14px}
  .booking-summary__row{font-size:.875rem}
}
@media (max-width:380px){
  .schedule-modal .step-inner{padding:14px 14px}
  .schedule-modal .step-foot{padding:10px 14px}
  .cal-day{height:34px;font-size:.875rem}
  .service-card{padding:14px 16px}
  .service-card__desc{font-size:.8125rem}
}

/* Step 3 — Form */
.schedule-modal .form-grid{display:grid;gap:10px}
.schedule-modal .form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:580px){.schedule-modal .form-row{grid-template-columns:1fr;gap:10px}}
.schedule-modal .form-field label{display:block;font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.625rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--steel,#2E6DA4);margin-bottom:5px}
.schedule-modal .form-field input,
.schedule-modal .form-field textarea{width:100%;padding:9px 12px;font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.9375rem;background:#FFFFFF;color:var(--charcoal,#2C3E50);border:1.5px solid var(--tint-deep,#DCE7F2);border-radius:5px;transition:border-color .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),background .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1));min-height:36px}
.schedule-modal .form-field input::placeholder,
.schedule-modal .form-field textarea::placeholder{color:var(--muted,#6B7785);font-style:italic;font-family:var(--serif,'Playfair Display',Georgia,serif)}
.schedule-modal .form-field input:hover,
.schedule-modal .form-field textarea:hover{border-color:var(--steel-soft,#6993BB)}
.schedule-modal .form-field input:focus,
.schedule-modal .form-field textarea:focus{outline:none;border-color:var(--steel,#2E6DA4);background:rgba(235,242,250,.4)}
.schedule-modal .form-field input.is-error{border-color:#C44}
.schedule-modal .form-field textarea{resize:vertical;min-height:54px;font-family:var(--sans,'Onest',system-ui,sans-serif);font-style:normal}
.schedule-modal .form-field__err{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.6875rem;color:#C44;margin-top:3px;display:none}
.schedule-modal .form-field input.is-error + .form-field__err{display:block}

.topic-pills{display:flex;flex-wrap:wrap;gap:6px}
.topic-pill{background:#FFFFFF;border:1.5px solid var(--tint-deep,#DCE7F2);border-radius:20px;padding:6px 12px;font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.8125rem;font-weight:500;color:var(--charcoal,#2C3E50);cursor:pointer;transition:all .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.topic-pill:hover{border-color:var(--steel-soft,#6993BB);color:var(--navy,#0A1F3C)}
.topic-pill.is-selected{background:var(--navy,#0A1F3C);color:#FFFFFF;border-color:var(--navy,#0A1F3C);box-shadow:0 3px 8px -2px rgba(10,31,60,.3)}

.schedule-modal .cond-field{display:none}
.schedule-modal .cond-field.is-shown{display:block;animation:gpgCondIn .3s var(--ease-out,cubic-bezier(0.16,1,0.3,1))}
@keyframes gpgCondIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

.form-trust{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;color:var(--muted,#6B7785);font-size:.75rem;margin-top:6px;text-align:center}
.form-trust a{color:var(--steel,#2E6DA4);text-decoration:underline;text-underline-offset:2px}

/* Booking summary right rail (Step 3) */
.booking-summary{background:var(--navy,#0A1F3C);color:#FFFFFF;border-radius:8px;padding:14px 16px;position:relative;overflow:hidden}
.booking-summary::before{content:"";position:absolute;top:0;left:16px;width:28px;height:2px;background:var(--steel-soft,#6993BB)}
.booking-summary__label{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.625rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--steel-soft,#6993BB);margin-bottom:8px}
.booking-summary__row{display:flex;align-items:flex-start;gap:10px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.08);font-size:.8125rem}
.booking-summary__row:last-child{border-bottom:none}
.booking-summary__row strong{color:var(--steel-soft,#6993BB);font-weight:600;flex-shrink:0;min-width:54px;font-size:.6875rem;text-transform:uppercase;letter-spacing:.08em;padding-top:1px}
.booking-summary__row span{color:#FFFFFF;font-family:var(--sans,'Onest',system-ui,sans-serif);font-style:normal;font-weight:500;font-size:.875rem;flex:1;line-height:1.4;letter-spacing:.005em}

/* Step 4 — Confirmation */
.confirm-inner{padding:22px 28px 24px;text-align:center;max-width:560px;margin:0 auto}
@media (max-width:580px){.confirm-inner{padding:18px 18px 22px}}
.confirm-check{width:48px;height:48px;border-radius:50%;background:var(--steel,#2E6DA4);color:#FFFFFF;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;box-shadow:0 10px 22px -8px rgba(46,109,164,.55)}
.confirm-check svg{width:24px;height:24px}
.confirm-title{font-family:var(--serif,'Playfair Display',Georgia,serif);font-weight:700;font-size:clamp(1.375rem,2.6vw,1.625rem);color:var(--navy,#0A1F3C);margin:0 0 18px;letter-spacing:-0.022em;line-height:1.15;text-wrap:balance}
.confirm-sub{display:none}

.booking-ticket{background:var(--navy,#0A1F3C);color:#FFFFFF;border-radius:8px;padding:18px 22px;margin:0 0 22px;position:relative;overflow:hidden;text-align:left;isolation:isolate}
.booking-ticket::before{content:"";position:absolute;top:0;left:22px;width:32px;height:2px;background:var(--steel-soft,#6993BB);z-index:2}
.booking-ticket::after{content:"";position:absolute;inset:0;background:radial-gradient(70% 80% at 100% 0%,rgba(46,109,164,.18) 0%,transparent 60%);pointer-events:none;z-index:0}
.booking-ticket > *{position:relative;z-index:1}
.booking-ticket__row{display:flex;align-items:baseline;gap:14px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.booking-ticket__row:first-child{padding-top:2px}
.booking-ticket__row:last-child{padding-bottom:2px;border-bottom:none}
.booking-ticket__label{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.625rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--steel-soft,#6993BB);flex-shrink:0;width:56px;padding-top:2px}
.booking-ticket__value{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.9375rem;font-weight:500;color:#FFFFFF;flex:1;line-height:1.35;letter-spacing:.005em}
@media (max-width:480px){
  .booking-ticket{padding:14px 18px}
  .booking-ticket__label{width:48px;font-size:.5625rem}
  .booking-ticket__value{font-size:.875rem}
}

.confirm-body{background:none;border:none;border-top:1px solid var(--tint-deep,#DCE7F2);padding:18px 0 0;text-align:left;margin:0 auto 22px;max-width:44ch;font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.8125rem;line-height:1.6;color:var(--charcoal,#2C3E50)}
.confirm-body p{margin:0 0 8px}
.confirm-body p:last-child{margin-bottom:0}
.confirm-body strong{color:var(--navy,#0A1F3C);font-weight:600}
.confirm-body a{color:var(--navy,#0A1F3C);font-weight:600;text-decoration:underline;text-decoration-color:rgba(46,109,164,.45);text-underline-offset:3px;text-decoration-thickness:1px;transition:color .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1)),text-decoration-color .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.confirm-body a:hover{color:var(--steel,#2E6DA4);text-decoration-color:var(--steel,#2E6DA4)}
.confirm-sign{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;color:var(--navy,#0A1F3C);font-size:.9375rem;margin-top:8px;font-weight:700;display:block}

.confirm-cal{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-bottom:22px}
.confirm-cal__label{width:100%;text-align:center;font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.6875rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--muted,#6B7785);margin-bottom:10px}
.confirm-cal__btn{display:inline-flex;align-items:center;gap:7px;background:#FFFFFF;color:var(--charcoal,#2C3E50);border:1.5px solid var(--tint-deep,#DCE7F2);border-radius:22px;padding:7px 14px;font-family:var(--sans,'Onest',system-ui,sans-serif);font-weight:600;font-size:.75rem;letter-spacing:.005em;cursor:pointer;transition:all .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1));text-decoration:none}
.confirm-cal__btn:hover{border-color:var(--steel,#2E6DA4);color:var(--navy,#0A1F3C);background:var(--tint,#EBF2FA);transform:translateY(-1px)}
.confirm-cal__btn svg{width:13px;height:13px;color:var(--steel,#2E6DA4)}

.confirm-next{border-top:1px solid var(--tint-deep,#DCE7F2);padding-top:18px}
.confirm-next__label{font-family:var(--sans,'Onest',system-ui,sans-serif);font-size:.625rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--muted,#6B7785);margin-bottom:12px}
.confirm-next__links{display:flex;flex-direction:row;gap:14px;justify-content:center;flex-wrap:wrap}
.confirm-next__link{display:inline-flex;align-items:center;gap:5px;font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;color:var(--steel,#2E6DA4);font-size:.8125rem;text-decoration:underline;text-decoration-color:rgba(46,109,164,.4);text-underline-offset:3px;padding:2px;transition:color .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.confirm-next__link:hover{color:var(--steel-dim,#1F5685)}
.confirm-next__link::after{content:"→";font-style:normal;transition:transform .2s var(--ease,cubic-bezier(0.22,0.61,0.36,1))}
.confirm-next__link:hover::after{transform:translateX(3px)}
.confirm-foot{margin-top:14px;font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;color:var(--muted,#6B7785);font-size:.75rem}

/* ============================================================
   PRODUCTION-CASCADE DEFEAT — overrides for the live site
   (must come AFTER the rest of the popup CSS so they win)
   ============================================================ */

/* Service cards: production has a button {background:transparent} reset that defeats my white card bg.
   Use .schedule-modal scope + !important to force the design. */
.schedule-modal button.service-card,
.schedule-modal .service-card{background:#FFFFFF !important;border:1.5px solid #DCE7F2 !important;color:#2C3E50 !important}
.schedule-modal button.service-card:hover,
.schedule-modal .service-card:hover{border-color:#6993BB !important;background:rgba(46,109,164,.02) !important}
.schedule-modal button.service-card.is-selected,
.schedule-modal .service-card.is-selected{border-color:#2E6DA4 !important;background:rgba(46,109,164,.04) !important;box-shadow:0 0 0 2px rgba(46,109,164,.12) !important}
.schedule-modal .service-card__title{color:#0A1F3C !important;font-style:normal !important;font-weight:700 !important}
.schedule-modal .service-card__duration{color:#2E6DA4 !important;font-style:normal !important}
.schedule-modal .service-card__desc{color:#6B7785 !important}
.schedule-modal .service-card__icon{background:#EBF2FA !important;color:#2E6DA4 !important}
.schedule-modal .service-card.is-selected .service-card__title{color:#1F5685 !important}

/* Calendar day buttons */
.schedule-modal button.cal-day{background:#FFFFFF !important;border:1px solid transparent !important;color:#2C3E50 !important}
.schedule-modal button.cal-day--blank{background:transparent !important}
.schedule-modal button.cal-day--disabled{color:#DCE7F2 !important;background:transparent !important}
.schedule-modal button.cal-day--available{background:#EBF2FA !important;color:#0A1F3C !important}
.schedule-modal button.cal-day--available:hover{background:#6993BB !important;color:#FFFFFF !important}
.schedule-modal button.cal-day--selected{background:#0A1F3C !important;color:#FFFFFF !important;border-color:#0A1F3C !important}

/* Time slot buttons */
.schedule-modal button.cal-time{background:#FFFFFF !important;border:1px solid #DCE7F2 !important;color:#2C3E50 !important}
.schedule-modal button.cal-time:hover{border-color:#2E6DA4 !important;background:#EBF2FA !important;color:#0A1F3C !important}
.schedule-modal button.cal-time.is-selected{background:#0A1F3C !important;color:#FFFFFF !important;border-color:#0A1F3C !important}

/* Topic pills */
.schedule-modal button.topic-pill{background:#FFFFFF !important;border:1.5px solid #DCE7F2 !important;color:#2C3E50 !important}
.schedule-modal button.topic-pill:hover{border-color:#6993BB !important;color:#0A1F3C !important}
.schedule-modal button.topic-pill.is-selected{background:#0A1F3C !important;color:#FFFFFF !important;border-color:#0A1F3C !important}

/* Calendar nav buttons */
.schedule-modal .cal-nav button{background:#FFFFFF !important;border:1px solid #DCE7F2 !important;color:#2C3E50 !important}
.schedule-modal .cal-nav button:hover:not(:disabled){background:#EBF2FA !important;color:#0A1F3C !important;border-color:#6993BB !important}

/* Step Continue button */
.schedule-modal button.step-next{background:#0A1F3C !important;color:#FFFFFF !important;border:none !important}
.schedule-modal button.step-next:hover:not(:disabled){background:#2E6DA4 !important;color:#FFFFFF !important}
.schedule-modal button.step-next:disabled{background:#DCE7F2 !important;color:#6B7785 !important}

/* Back link */
.schedule-modal button.step-back{background:none !important;border:none !important;color:#1F5685 !important}

/* Modal close button */
.schedule-modal .modal-header__close{background:transparent !important;border:none !important;color:#6B7785 !important}
.schedule-modal .modal-header__close:hover{background:#EBF2FA !important;color:#0A1F3C !important}

/* Form inputs — site might force background:transparent */
.schedule-modal .form-field input,
.schedule-modal .form-field textarea{background:#FFFFFF !important;color:#2C3E50 !important;border:1.5px solid #DCE7F2 !important}
.schedule-modal .form-field input:focus,
.schedule-modal .form-field textarea:focus{border-color:#2E6DA4 !important;background:rgba(235,242,250,.4) !important;outline:none !important}

/* Confirmation calendar buttons */
.schedule-modal a.confirm-cal__btn{background:#FFFFFF !important;color:#2C3E50 !important;border:1.5px solid #DCE7F2 !important;text-decoration:none !important}
.schedule-modal a.confirm-cal__btn:hover{background:#EBF2FA !important;color:#0A1F3C !important;border-color:#2E6DA4 !important}

/* Modal card: hard-cap width to viewport (prevents horizontal page scroll) */
.schedule-modal{overflow-x:hidden !important}
.schedule-modal__card{max-width:min(920px,calc(100vw - 32px)) !important}
@media (max-width:640px){.schedule-modal__card{max-width:100% !important}}

/* Sticky header on every page (replaces the existing non-sticky) */
.gpg-header{position:sticky !important;top:0 !important;z-index:100 !important;background:#FFFFFF !important;box-shadow:0 1px 0 rgba(10,31,60,.04)}
body.admin-bar .gpg-header{top:32px !important}
@media (max-width:782px){body.admin-bar .gpg-header{top:46px !important}}

/* Sticky CTA button — was getting hover-transparent issue */
.schedule-cta{background:#2E6DA4 !important;color:#FFFFFF !important;border:1.5px solid #2E6DA4 !important}
.schedule-cta:hover{background:#1F5685 !important;border-color:#1F5685 !important;color:#FFFFFF !important}

/* Chapter trigger button reset (the site button-reset was hiding the underline-on-hover too) */
.chapter-trigger{background:transparent !important;border:none !important;cursor:pointer}

/* ============================================================
   VIEWPORT OVERFLOW FIX — kill horizontal scroll
   ============================================================ */
/* Belt-and-suspenders: clip any page-level horizontal overflow */
html, body { overflow-x: hidden !important; max-width: 100vw !important; }

/* Modal: force exact viewport coverage regardless of document width */
.schedule-modal {
  width: 100vw !important;
  height: 100vh !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  max-width: 100vw !important;
}
.schedule-modal__card {
  max-width: min(920px, calc(100vw - 32px)) !important;
  width: 100% !important;
}
@media (max-width: 640px) {
  .schedule-modal__card { max-width: 100vw !important; }
}

/* ============================================================
   HARD VIEWPORT LOCK v2 — modal must NEVER exceed viewport bounds
   ============================================================ */
html { overflow-x: hidden !important; max-width: 100vw !important; }
body { overflow-x: hidden !important; max-width: 100vw !important; position: relative !important; }

/* Modal: fixed to viewport, ALL four sides anchored, no chance to escape */
.schedule-modal {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}
.schedule-modal.is-open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Card: hard-cap to viewport-relative dimensions */
.schedule-modal__card {
  width: 100% !important;
  max-width: min(920px, calc(100vw - 32px)) !important;
  height: auto !important;
  max-height: calc(100vh - 32px) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* The step-inner grid sometimes blows wide when the cards are at min-content size.
   Force the left content column to be flex:1 and never overflow. */
.schedule-modal .step-inner {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}
.schedule-modal .step-inner > * { min-width: 0 !important; }

/* On mobile (modal full-screen), zero padding on the schedule-modal so card fills */
@media (max-width: 640px) {
  .schedule-modal { padding: 0 !important; }
  .schedule-modal__card { max-width: 100vw !important; max-height: 100vh !important; min-height: 100vh !important; }
}

/* ============================================================
   STEP 1 REDESIGN — no rail, full-width cards, trust-line footer
   ============================================================ */

/* Hide the Adam rail on Step 1 only — the rail earns its space on Steps 2 & 3 */
.schedule-modal .step[data-step="1"] .adam-rail { display: none !important; }

/* Step 1 step-inner becomes single-column (no rail) */
.schedule-modal .step[data-step="1"] .step-inner {
  grid-template-columns: 1fr !important;
  display: block !important;
  padding: 24px 32px !important;
}

/* Cards: bigger, more confident, full-width grid */
.schedule-modal .step[data-step="1"] .service-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 14px !important;
  margin-top: 8px !important;
}
@media (max-width: 720px) {
  .schedule-modal .step[data-step="1"] .service-list {
    grid-template-columns: 1fr !important;
  }
}

.schedule-modal .step[data-step="1"] .service-card {
  padding: 22px 22px !important;
  min-height: 200px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}
.schedule-modal .step[data-step="1"] .service-card__head {
  margin-bottom: 10px !important;
}
.schedule-modal .step[data-step="1"] .service-card__icon {
  width: 40px !important;
  height: 40px !important;
}
.schedule-modal .step[data-step="1"] .service-card__icon svg {
  width: 22px !important;
  height: 22px !important;
}
.schedule-modal .step[data-step="1"] .service-card__title {
  font-size: 1.125rem !important;
  line-height: 1.2 !important;
  margin-bottom: 3px !important;
}
.schedule-modal .step[data-step="1"] .service-card__duration {
  font-size: .75rem !important;
}
.schedule-modal .step[data-step="1"] .service-card__desc {
  font-size: .875rem !important;
  line-height: 1.5 !important;
  margin-top: 4px !important;
}

/* Trust line at the bottom of step 1 — replaces what the rail was conveying */
.schedule-modal .step[data-step="1"] .service-list::after {
  content: "Adam James Bartulis  ·  TREC Licensed Broker  ·  LPT Realty";
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: .8125rem;
  color: var(--muted, #6B7785);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--tint-deep, #DCE7F2);
  letter-spacing: .02em;
}

/* Tighten Step 1 title + sub since we have more space */
.schedule-modal .step[data-step="1"] .step-title {
  font-size: clamp(1.375rem, 2.4vw, 1.625rem) !important;
  margin-bottom: 8px !important;
}
.schedule-modal .step[data-step="1"] .step-sub {
  margin-bottom: 24px !important;
}

/* ============================================================
   MODAL WIDTH BUMP — 920 → 1100 + tuned step layouts
   ============================================================ */

/* Modal card: cap at 1100px instead of 920 */
.schedule-modal__card {
  max-width: min(1100px, calc(100vw - 32px)) !important;
}

/* Adam rail: widen from 220 to 260 so name + role + quote breathe */
.schedule-modal .step[data-step="2"] .step-inner,
.schedule-modal .step[data-step="3"] .step-inner {
  grid-template-columns: 1fr 260px !important;
  gap: 32px !important;
  padding: 24px 32px !important;
}

/* Step 2 calendar | times: 1:1 ratio, more comfortable gap */
.schedule-modal .step[data-step="2"] .step2-body {
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
}

/* Step 2 calendar cells: bigger now that there's room */
.schedule-modal .step[data-step="2"] .cal-day {
  height: 36px !important;
  font-size: .875rem !important;
}

/* Step 2 time slots: 3 columns at the wider layout */
.schedule-modal .step[data-step="2"] .cal-times__list {
  grid-template-columns: 1fr 1fr 1fr !important;
}

/* Mobile: collapse back to single column under 760px */
@media (max-width: 760px) {
  .schedule-modal .step[data-step="2"] .step-inner,
  .schedule-modal .step[data-step="3"] .step-inner {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 16px 18px !important;
  }
  .schedule-modal .step[data-step="2"] .step2-body {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .schedule-modal .step[data-step="2"] .cal-times__list {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Step 1's wider service cards now have even more space to use */
.schedule-modal .step[data-step="1"] .step-inner {
  padding: 28px 36px 24px !important;
}

/* ============================================================
   STEP 2 REDESIGN — drop the rail, full-width calendar+times
   ============================================================ */

/* Hide the Adam rail on Step 2 — same treatment as Step 1 */
.schedule-modal .step[data-step="2"] .adam-rail { display: none !important; }

/* Step 2 step-inner becomes single-column */
.schedule-modal .step[data-step="2"] .step-inner {
  grid-template-columns: 1fr !important;
  display: block !important;
  padding: 24px 32px !important;
}

/* Calendar | times: explicit grid + sane gap, with !important since something keeps fighting it */
.schedule-modal .step[data-step="2"] .step2-body {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 36px !important;
  align-items: start !important;
  width: 100% !important;
}
.schedule-modal .step[data-step="2"] .cal-pane,
.schedule-modal .step[data-step="2"] .cal-times {
  min-width: 0 !important;
  width: 100% !important;
}

/* Calendar internal grid: explicit 7-col, contained within pane */
.schedule-modal .step[data-step="2"] .cal-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 3px !important;
  width: 100% !important;
}
.schedule-modal .step[data-step="2"] .cal-day {
  height: 40px !important;
  font-size: .9375rem !important;
  width: 100% !important;
}

/* Times grid: 2 columns at the new wider pane size for readability */
.schedule-modal .step[data-step="2"] .cal-times__list {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
}
.schedule-modal .step[data-step="2"] .cal-time {
  width: 100% !important;
  padding: 10px 8px !important;
  font-size: .875rem !important;
}

/* Trust line at the bottom of step 2 (same as step 1) */
.schedule-modal .step[data-step="2"] .step2-body::after {
  content: "Adam James Bartulis  ·  TREC Licensed Broker  ·  LPT Realty";
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: .8125rem;
  color: var(--muted, #6B7785);
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--tint-deep, #DCE7F2);
  letter-spacing: .02em;
}

/* Step 2 mobile: stack calendar above times under 760px */
@media (max-width: 760px) {
  .schedule-modal .step[data-step="2"] .step-inner { padding: 16px 18px !important; }
  .schedule-modal .step[data-step="2"] .step2-body {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ============================================================
   STEP 3 REDESIGN — booking summary moves to top as horizontal strip
   ============================================================ */

/* Step 3 step-inner: single column (no sidebar) */
.schedule-modal .step[data-step="3"] .step-inner {
  grid-template-columns: 1fr !important;
  display: block !important;
  padding: 24px 32px !important;
}

/* Booking summary: vertical sidebar → horizontal strip at top of step */
.schedule-modal .step[data-step="3"] .booking-summary {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px 28px !important;
  margin: 0 0 26px !important;
  padding: 14px 22px !important;
  background: var(--navy, #0A1F3C) !important;
  border-radius: 8px !important;
  position: relative !important;
  overflow: hidden !important;
}
.schedule-modal .step[data-step="3"] .booking-summary::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 22px !important;
  width: 28px !important;
  height: 2px !important;
  background: var(--steel-soft, #6993BB) !important;
}

/* Hide the "Your consultation" label — the summary speaks for itself */
.schedule-modal .step[data-step="3"] .booking-summary__label {
  display: none !important;
}

/* Each row: inline label + value, with dot separators between rows */
.schedule-modal .step[data-step="3"] .booking-summary__row {
  border: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  font-size: .875rem !important;
}
.schedule-modal .step[data-step="3"] .booking-summary__row strong {
  width: auto !important;
  min-width: 0 !important;
  flex-shrink: 0 !important;
  font-size: .625rem !important;
  letter-spacing: .18em !important;
  font-weight: 700 !important;
  color: var(--steel-soft, #6993BB) !important;
  text-transform: uppercase !important;
  padding: 0 !important;
}
.schedule-modal .step[data-step="3"] .booking-summary__row span {
  font-size: .875rem !important;
  color: #FFFFFF !important;
  font-family: var(--sans, 'Onest', system-ui, sans-serif) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: .005em !important;
  line-height: 1.3 !important;
}

/* Form gets full step-inner width — already 1-col, but tighten gaps for the wider layout */
.schedule-modal .step[data-step="3"] .form-grid {
  display: grid !important;
  gap: 14px !important;
  width: 100% !important;
}
.schedule-modal .step[data-step="3"] .form-row {
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}
.schedule-modal .form-field input:focus,
.schedule-modal .form-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(46,109,164,.15) !important;
}

/* Mobile: stack the summary rows */
@media (max-width: 640px) {
  .schedule-modal .step[data-step="3"] .booking-summary {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .schedule-modal .step[data-step="3"] .booking-summary__row {
    justify-content: space-between !important;
    width: 100% !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }
  .schedule-modal .step[data-step="3"] .booking-summary__row:last-child {
    border-bottom: none !important;
  }
}


/* schedule-strip__secondary OVERRIDE — defeat site link styling so the 'Or call' button reads white on navy (2026-05-25) */
.schedule-strip a.schedule-strip__secondary,
.schedule-strip a.schedule-strip__secondary:link,
.schedule-strip a.schedule-strip__secondary:visited{
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 16px 24px !important;
  font-family: var(--sans, 'Onest', system-ui, sans-serif) !important;
  font-weight: 600 !important;
  font-size: .95rem !important;
  border-radius: 6px !important;
  letter-spacing: .005em !important;
}
.schedule-strip a.schedule-strip__secondary:hover,
.schedule-strip a.schedule-strip__secondary:focus,
.schedule-strip a.schedule-strip__secondary:focus-visible{
  background: rgba(255,255,255,.08) !important;
  color: #FFFFFF !important;
  border-color: rgba(255,255,255,.7) !important;
  text-decoration: none !important;
}


/* === DEFINITIVE CALENDAR RESET (must be last, max specificity) === */
body .schedule-modal .cal-grid > .cal-day,
body .schedule-modal .cal-grid > div.cal-day,
body .schedule-modal .cal-grid > button.cal-day{
  height:24px !important;
  min-height:24px !important;
  max-height:24px !important;
  line-height:1 !important;
  font-size:.75rem !important;
  padding:0 !important;
  margin:0 !important;
  align-self:stretch !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  border-radius:4px !important;
  overflow:hidden !important;
}
body .schedule-modal .cal-grid{
  grid-template-rows:18px repeat(6,24px) !important;
  align-content:start !important;
  align-items:stretch !important;
}


/* === Phase 4: taken / busy time slots (Google Calendar sync) === */
.schedule-modal .cal-time--taken,
.cal-time--taken {
  opacity: 0.32 !important;
  text-decoration: line-through;
  cursor: not-allowed !important;
  pointer-events: none;
  background: #F4F6F9 !important;
  border-color: #DCE7F2 !important;
  color: #8995A3 !important;
  box-shadow: none !important;
}
.schedule-modal .cal-time--taken:hover {
  background: #F4F6F9 !important;
  border-color: #DCE7F2 !important;
  color: #8995A3 !important;
}