/* Castlebee Refrigeration — site styles
   Palette lifted from the Squarespace theme:
   gold  hsl(45.63,100%,72.16%)  | steel hsl(207,26.32%,70.2%)
   teal  hsl(183.16,23.46%,84.12%) | black / white                       */

:root {
  --gold: hsl(45.63, 100%, 72.16%);
  --gold-deep: #e6c200;
  --bee-blue: #2456a6;      /* the logo's lettering blue */
  --bee-blue-deep: #16407f;
  --steel: hsl(207, 26.32%, 70.2%);
  --steel-soft: hsl(207, 26.32%, 82%);
  --teal: hsl(183.16, 23.46%, 84.12%);
  --ink: #000;
  --paper: #fff;
  --max: 1180px;
  --header-h: 144px;
}
@media (max-width: 920px) {
  :root { --header-h: 96px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Roboto', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: inline-block; }

h1, h2, h3, h4 { font-family: 'Roboto', sans-serif; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }

a { color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: .45rem;
  border: 3px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-lg { font-size: 1.15rem; padding: 1rem 2.2rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  height: var(--header-h);
  /* smoked glass: translucent dark so the white nav pops */
  background: rgba(10, 18, 32, .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: transform .35s ease;
}
/* hide on scroll down, reappear on scroll up (site.js toggles this) */
.site-header.header-hidden { transform: translateY(-102%); }
/* Inner pages: sky-blue gradient header (color from the Squarespace theme) */
body:not(.page-home) .site-header {
  background: linear-gradient(180deg,
    hsla(194.46, 44%, 50%, .95) 0%,
    hsla(194.46, 44%, 62%, .55) 55%,
    hsla(194.46, 44%, 75%, .15) 100%);
}
.nav-burger span { background: #fff; }
.header-inner {
  /* full-bleed like the live site: logo hard left, CTA hard right */
  height: 100%;
  padding: 10px clamp(16px, 2.4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  height: calc(var(--header-h) - 24px);
  width: auto;
  /* soft white halo so the navy lettering reads on the dark glass bar */
  filter: drop-shadow(0 0 5px rgba(255,255,255,.9)) drop-shadow(0 0 16px rgba(255,255,255,.45));
}
.site-nav { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 26px); }
.nav-link {
  font-weight: 500;
  font-size: 1.15rem;
  text-decoration: none;
  padding: .55rem .8rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  /* hairline dark edge so white text survives light backgrounds */
  text-shadow:
    0 0 1px rgba(0,0,0,.6),
    0 1px 2px rgba(0,0,0,.35);
}
.nav-link:hover, .nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.caret { font-size: .75em; }
.nav-fb { display: inline-flex; align-items: center; padding: .55rem .7rem; margin: 0 clamp(6px, 2vw, 40px); color: #fff; }
.nav-fb svg { filter: drop-shadow(0 0 1.5px rgba(0,0,0,.75)); }
.nav-fb:hover { opacity: .65; }

/* gold pill CTA (header + homepage) */
.btn-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Poppins', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  padding: .85rem 1.8rem;
  border-radius: 999px;
  border: 3px solid #e3a500;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.btn-pill.spaced { text-transform: uppercase; letter-spacing: .28em; font-size: .92rem; padding: 1rem 1.9rem; }

.nav-folder { position: relative; }
.nav-dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2), 0 2px 6px rgba(0,0,0,.1);
  transition: opacity .2s ease;
  min-width: 200px;
  z-index: 999;
}
.nav-folder:hover .nav-dropdown,
.nav-folder:focus-within .nav-dropdown,
.nav-folder.open .nav-dropdown { visibility: visible; opacity: 1; }
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 4px;
}
.nav-dropdown a:hover { background: #f5f5f5; }
.nav-cta {
  margin-left: 10px;
  padding: .7rem 1.3rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-burger span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 920px) {
  .nav-burger { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px 20px 20px;
    box-shadow: 0 12px 20px rgba(0,0,0,.15);
  }
  .site-nav.open { display: flex; }
  /* links sit on the white slide-down panel here, so back to dark */
  .site-nav .nav-link, .site-nav .nav-fb { color: var(--ink); text-shadow: none; }
  .site-nav .nav-fb svg { filter: none; }
  .nav-dropdown { position: static; visibility: visible; opacity: 1; box-shadow: none; padding: 0 0 0 18px; }
  .nav-cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- sections / themes ---------- */
.section { padding: 64px 0; }
body.theme-light main { background: var(--steel); }
body.theme-white main { background: var(--paper); }
/* Service pages: pale isometric-tile look (static take on Squarespace's
   animated "Isometric" background effect) */
body.theme-bright main {
  background-color: #e9f0f3;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,.35) 25%, transparent 25.5%),
    linear-gradient(245deg, rgba(163,190,203,.13) 25%, transparent 25.5%),
    linear-gradient(115deg, transparent 74.5%, rgba(163,190,203,.11) 75%);
  background-size: 460px 460px;
}

/* ---------- home hero ---------- */
/* Pulled up under the translucent sticky header so the photo shows through it */
.hero-home {
  padding: var(--header-h) 0 0;
  margin-top: calc(-1 * var(--header-h));
  min-height: calc(62vh + var(--header-h));
  /* dark scrim at the top so the white nav reads over the bright sky */
  background:
    linear-gradient(180deg, rgba(8, 18, 34, .15) 0%, rgba(8, 18, 34, .06) 20%, rgba(8, 18, 34, 0) 42%),
    url('/assets/images/iStock-469769544.webp') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 50% 50% / 0 0 130px 130px;
}
.hero-overlay {
  text-align: center;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
/* Bilingual banner — rebuilt as HTML/CSS (the old image was a low-res strip) */
.hero-badge {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: min(1020px, 90vw);
  background: #2b21c4;
  color: #fff;
  border-radius: clamp(20px, 2.6vw, 34px);
  padding: clamp(10px, 1.3vw, 18px) clamp(18px, 3vw, 44px);
  gap: clamp(14px, 2vw, 30px);
  font-family: 'Fredoka', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.9vw, 1.7rem);
  line-height: 1.3;
  text-align: center;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.35));
}
.hb-half {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 26px);
  flex: 1 1 50%;
}
.hb-half > span { white-space: nowrap; }
.hb-flag { width: clamp(42px, 5.2vw, 66px); height: auto; flex-shrink: 0; }
.hb-div { width: 2px; background: rgba(255,255,255,.55); border-radius: 2px; }
@media (max-width: 640px) {
  .hero-badge { flex-direction: column; gap: 14px; }
  .hb-div { width: auto; height: 2px; }
}

/* ---------- Google review button (user-authored treatment) ---------- */
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}
.google-review-wrapper {
  display: inline-block;
  width: 280px;
  height: 100px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}
.google-review-wrapper img {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.google-review-wrapper:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: scale(1.04);
}

/* Live-rating Google review button (rating/count updated by site.js when an
   /api/google-rating endpoint exists; baked values otherwise) */
.grw-live {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(105deg, #2e6ce0 0%, #6d43ea 55%, #a03ddb 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 22px;
  padding: 14px 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: box-shadow .3s ease, transform .3s ease;
  font-family: 'Poppins', 'Roboto', sans-serif;
}
.grw-live:hover { transform: scale(1.04); box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.grw-bigstar { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.grw-main { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.grw-rating { display: flex; align-items: baseline; gap: 10px; }
.grw-num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.grw-stars { position: relative; font-size: 1.25rem; line-height: 1; letter-spacing: 2px; }
.grw-stars-bg { color: rgba(255,255,255,.35); }
.grw-stars-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #FFD141;
}
.grw-count { font-size: .95rem; opacity: .85; }
.grw-label { font-weight: 600; font-size: 1.02rem; opacity: .95; }
.grw-g { width: 34px; height: 34px; flex-shrink: 0; background: #fff; border-radius: 50%; padding: 5px; }

/* ---------- home rebate section ---------- */
/* Photo fills the right half with a sweeping curved left edge; copy sits on
   the steel background to its left. */
.rebate-section { position: relative; overflow: hidden; padding: 0 0 80px; }
.rebate-media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; }
.rebate-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: ellipse(118% 92% at 108% 42%);
}
.rebate-copy { position: relative; z-index: 1; max-width: 560px; padding-top: 64px; color: #fff; }
.rebate-h1 {
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1.25;
}
.rebate-tagline {
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1.25;
  margin: .4em 0 1em;
}
.wavy {
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-thickness: 3px;
  text-underline-offset: .3em;
}
.wavy-red { text-decoration-color: #e63946; }
.wavy-blue { text-decoration-color: #1d6fd1; }
.wavy-ink { text-decoration-color: #111; }

/* Certification badges + CTAs as a tidy 2x2 grid: equal-size white cards on
   top normalize the logos' different native dimensions; matching-width pills
   below. */
.cred-row { display: flex; align-items: stretch; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 8px 0 24px; }
.cred {
  flex: 1 1 240px;
  max-width: 268px;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 18px 18px 14px;
  text-align: center;
}
.cred-logo { height: 92px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.cred-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
/* the Mass Save file has a compact square layout — scale it up to match the
   Diamond badge's visual weight */
.cred-logo img[src*="Mass-Save"] { transform: scale(1.24); }
.cred-note { font-size: .84rem; line-height: 1.5; color: #16202a; margin: 0; }
.cred-note strong { font-size: .93rem; }
.cta-pair { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.grw-sm { width: 214px; height: 76px; }
.grw-sm img { top: -31px; }
/* Book Online + phone pair — the main conversion buttons, used sitewide */
.book-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.btn-book, .btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 72px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-book {
  background: var(--gold);
  color: #000;
  border: 3px solid #e3a500;
  font-family: 'Poppins', 'Roboto', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
}
.btn-call {
  background: var(--bee-blue);
  color: var(--gold);
  border: 3px solid var(--bee-blue-deep);
  font-family: 'Poppins', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: .02em;
}
.btn-call:hover { background: var(--bee-blue-deep); }
.btn-call svg { flex-shrink: 0; }
.btn-book:hover, .btn-call:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.3); }

.didyouknow {
  position: relative;
  background: #ffd75e;
  border: 3px dashed #111;
  border-radius: 16px;
  padding: 30px 130px 30px 34px;
  margin-top: 48px;
  color: #111;
  max-width: 660px;
  /* overflow stays visible so the bulb pops out over the border */
}
.didyouknow h2 { font-weight: 500; font-size: 1.5rem; }
.didyouknow p { margin: .7em 0; }
.didyouknow .bulb {
  /* full uncropped image (bulb sits at ~57% across the square);
     anchored so the glass straddles the card's right border */
  position: absolute;
  top: 0;
  right: -170px;
  height: 105%;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}
.dyk-cta { margin-top: 1.2em; }
.dyk-cta .btn {
  white-space: normal;
  display: block;
  font-size: 1.15rem;
  line-height: 1.45;
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.dyk-cta .btn:hover { background: #000; }

@media (max-width: 980px) {
  .rebate-section { padding-bottom: 56px; }
  .rebate-media { position: relative; width: 100%; height: 340px; }
  .rebate-media img { clip-path: none; }
  .rebate-copy { max-width: 100%; padding-top: 36px; }
  .didyouknow { padding-right: 34px; }
  .didyouknow .bulb { display: none; }
}

/* ---------- services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 26px; }
.card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.card h4 { border-bottom: 4px solid var(--gold); padding-bottom: .4rem; }
.price-tag { font-weight: 900; }
.price-list { padding-left: 20px; }
.price-list li { margin: .35rem 0; }
@media (max-width: 1020px) { .cards { grid-template-columns: 1fr; } }

/* ---------- schedule + facebook ---------- */
.schedule-section .container { background: #fff; border-radius: 16px; padding: 44px 34px; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.fb-follow { max-width: 300px; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.photo-strip img { border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.2); object-fit: cover; width: 100%; height: 100%; }
@media (max-width: 860px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- service pages ---------- */
.page-pill {
  background: #2f6ea5;
  color: #fff;
  font-weight: 400;
  text-align: center;
  border-radius: 999px;
  max-width: 680px;
  margin: 0 auto 48px;
  padding: 34px 44px;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}
.service-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.svc-photo { width: 100%; border-radius: 8px; box-shadow: 0 8px 22px rgba(0,0,0,.15); margin-bottom: 28px; }
.svc-left { font-size: 1.12rem; }
.svc-also strong { font-weight: 700; }
.callout-box {
  background: #f6f6e9;
  border: 3px dashed #111;
  padding: 30px 34px;
  font-size: 1.18rem;
}
.callout-lead { color: #1d5f97; font-weight: 700; font-size: 1.4rem; line-height: 1.35; margin-top: 0; }
.check-list { list-style: none; padding: 0; color: #1d5f97; font-weight: 500; }
.check-list li { padding-left: 1.6em; position: relative; margin: .45rem 0; }
.check-list li::before { content: '\2714'; position: absolute; left: 0; top: 0; color: #111; }
.svc-ctas { display: flex; flex-direction: column; gap: 26px; margin-top: 38px; align-items: center; }
.btn-cta-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  padding: 1.3rem 2.4rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: 'Poppins', 'Roboto', sans-serif;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-cta-dark svg { flex-shrink: 0; }
/* phone-number buttons: logo blue + gold, rounded Fredoka, minimal tracking */
.btn-cta-dark.btn-cta-gold {
  font-family: 'Poppins', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .02em;
  background: var(--bee-blue);
  color: var(--gold);
}
.btn-cta-dark.btn-cta-gold:hover { background: var(--bee-blue-deep); }
.btn-cta-gold { background: var(--gold); color: #000; }
.btn-cta-outline {
  display: block;
  width: 100%;
  max-width: 440px;
  background: #fff;
  color: #000;
  border: 3px solid #000;
  padding: 1rem 2rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-cta-dark:hover, .btn-cta-outline:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.28); }
@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- about ---------- */
.about-page .container { background: #fff; border-radius: 16px; padding: 44px 40px; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.about-logo { max-width: 260px; }
.about-banner { border-radius: 12px; margin-top: 10px; }

/* ---------- mass save ---------- */
.mass-save-page .container { background: #fff; border-radius: 16px; padding: 44px 40px; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.mass-save-page .lead { font-size: 1.1rem; }
.rebate-table { width: 100%; border-collapse: collapse; margin: 14px 0 30px; }
.rebate-table th, .rebate-table td { text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--steel-soft); }
.rebate-table thead th { background: var(--gold); border-bottom: 3px solid var(--ink); }
.apply-steps li { margin: .55rem 0; }
.explainer { background: var(--teal); border-radius: 12px; padding: 22px 26px; margin: 28px 0; }
.tip-box { border: 3px dashed var(--gold-deep); border-radius: 12px; padding: 18px 24px; margin: 24px 0; }
.tip-box h4 { margin-bottom: .3rem; }

/* ---------- footer (Boston skyline, on every page) ---------- */
.site-footer {
  position: relative;
  background: url('/assets/images/Boston-Cropped-0.webp') center / cover no-repeat #0a0f1e;
  color: #fff;
  padding: 52px 0 46px;
}
.site-footer::before { content: ''; position: absolute; inset: 0; background: rgba(8, 12, 28, .35); }
.footer-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px; text-align: center; }
.footer-name { font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 22px; }
.footer-phone {
  display: inline-block;
  background: var(--gold);
  color: #000;
  border-radius: 999px;
  padding: 1rem 3.2rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .25em;
  text-decoration: none;
}
.footer-phone:hover { background: var(--gold-deep); }
.footer-email { color: #fff; font-weight: 600; letter-spacing: .04em; }

/* ---------- animated isometric background (service pages) ---------- */
.iso-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body.iso-anim.theme-bright main { background: none; }
.iso-toggle {
  position: fixed;
  right: 26px;
  bottom: 84px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 2px solid #111;
  cursor: pointer;
  z-index: 9000;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iso-toggle:hover { background: #fff; }
@media (max-width: 640px) { .iso-toggle { right: 16px; bottom: 76px; } }

/* ---------- language switch (ported from Squarespace injection) ---------- */
.cb-lang-switch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  width: 120px;
  height: 46px;
  padding: 4px;
  box-sizing: border-box;
  background: #fff;
  border: 3px solid #000;
  border-radius: 999px;
  box-shadow: 0 4px 0 #000, 0 8px 18px rgba(0,0,0,.18);
  z-index: 9000;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.cb-lang-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #f5b400;
  border-radius: 999px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
  transition: transform .28s cubic-bezier(.4, 1.3, .5, 1);
  z-index: 0;
}
body.cb-spanish .cb-lang-switch::before { transform: translateX(100%); }
.cb-lang-switch a {
  position: relative;
  z-index: 1;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .5px;
  color: #000;
  transition: color .2s ease;
}
body:not(.cb-spanish) .cb-lang-switch .cb-lang-es,
body.cb-spanish .cb-lang-switch .cb-lang-en { color: #9a9a9a; }
body:not(.cb-spanish) .cb-lang-switch .cb-lang-es:hover,
body.cb-spanish .cb-lang-switch .cb-lang-en:hover { color: #555; }
@media (max-width: 640px) {
  .cb-lang-switch {
    transform: scale(.92);
    transform-origin: bottom right;
    right: 12px;
    bottom: 12px;
  }
}
