/* Taylor Maid Cleaning Services — production styles
   Base resets, keyframes, responsive rules, and every interactive state
   (hover / focus / active) that the design relies on. Layout and colour
   values remain inline on the elements so the rendering is unchanged. */

/* Self-hosted fonts: Outfit + Nunito Sans (SIL Open Font License) */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: #FFFFFF;
  color: #2C4A5E;
  font-family: 'Nunito Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #13649A; text-decoration: none; }
a:hover { color: #0C4A75; }
input::placeholder, textarea::placeholder { color: #6F8696; }
img { max-width: 100%; }

@keyframes sbFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sbFabRing { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(1.55); opacity: 0; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes sbFabIn { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes tyRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tyPop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Interactive states ---------- */
.nav-link { transition: color .18s ease; }
.nav-link:hover { color: #1A7BB5; }

.footer-link {
  position: relative;
  align-self: flex-start;
  transition: color .18s ease, transform .18s ease;
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: #8AD3F3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.footer-link:hover { color: #FFFFFF; transform: translateX(3px); }
.footer-link:hover::after { transform: scaleX(1); }

.btn-cta {
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-cta:hover { transform: translateY(-2px); filter: brightness(.94); color: #FFFFFF; }
.btn-cta:active { transform: translateY(0); filter: brightness(.92); }

.btn-outline { transition: transform .2s ease, border-color .2s ease; }
.btn-outline:hover { transform: translateY(-2px); border-color: #1A7BB5; }

.btn-ghost { transition: transform .2s ease, background .2s ease; }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); color: #FFFFFF; }

.btn-google { transition: transform .2s ease, border-color .2s ease; }
.btn-google:hover { transform: translateY(-2px); border-color: #1A7BB5; color: #083466; }

.logo-link { transition: opacity .2s ease; }
.logo-link:hover { opacity: .78; }

.service-card { transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(8,52,102,.10); }

.review-card { transition: transform .25s ease, box-shadow .25s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8,52,102,.10); }

.contact-card { transition: transform .2s ease; }
.contact-card:hover { transform: translateY(-2px); }

.gallery-item { transition: box-shadow .25s ease; }
.gallery-item:hover { box-shadow: 0 22px 50px rgba(0,0,0,.42); }
.gallery-item img { transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.08); }

.field { transition: border-color .18s ease, box-shadow .18s ease; }
.field:hover { border-color: #A9D8F0; }
.field:focus { border-color: #1A7BB5; box-shadow: 0 0 0 3px rgba(26,123,181,.13); background: #FFFFFF; outline: none; }

.faq-toggle { transition: background .2s ease; }
.faq-toggle:hover { background: #E4F2FA; }

.lightbox-btn { transition: background .2s ease; }
.lightbox-btn:hover { background: rgba(255,255,255,.22); }

.tab-btn { transition: all .25s ease; white-space: nowrap; flex: none; }

.rate-btn { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease; }
.rate-btn.is-primary:hover { transform: translateY(-2px); filter: brightness(.94); box-shadow: 0 14px 30px rgba(198,82,0,.34); }
.rate-btn:not(.is-primary):hover { transform: translateY(-2px); border-color: #1A7BB5; box-shadow: 0 10px 24px rgba(8,52,102,.14); }

.call-fab-body { transition: transform .18s ease, box-shadow .18s ease; }
.call-fab:active .call-fab-body {
  transform: scale(.92);
  box-shadow: 0 4px 12px rgba(19,100,154,.36), inset 0 1.5px 0 rgba(255,255,255,.24);
}

/* ---------- Header (desktop / mobile split) ---------- */
#siteHeader {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(242,249,253,.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 11px 0;
  border-bottom: 1px solid #CFE3EF;
  transition: padding .3s ease, box-shadow .3s ease, transform .32s ease;
}
#siteHeader.is-scrolled {
  padding: 7px 0;
  box-shadow: 0 6px 24px rgba(8,52,102,.10);
  border-bottom: none;
}
#siteHeader.is-hidden { transform: translateY(-100%); }
#headerLogo { height: 70px; width: auto; display: block; transition: height .3s ease; }
#siteHeader.is-scrolled #headerLogo { height: 60px; }
.brand-logo { width: auto; display: block; }
@media (max-width: 1079px) { #headerLogo { height: 62px; } #siteHeader.is-scrolled #headerLogo { height: 54px; } }
@media (max-width: 460px) { #headerLogo { height: 77px; } #siteHeader.is-scrolled #headerLogo { height: 66px; } }
#logoWrap:hover #headerLogo { transform: none; }
.header-phone { color: #083466; font-weight: 800; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.header-phone:hover { color: #1A7BB5; }
@media (max-width: 1179px) { .header-phone, .header-sep { display: none; } }

.only-mobile { display: none; }
#logoWrap { display: flex; align-items: center; flex: none; }

@media (max-width: 1079px) {
  .only-mobile { display: flex; }
  .only-desktop { display: none !important; }
  #logoWrap {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ---------- Trust bar ---------- */
#trustBar { padding: 44px 24px; flex-direction: row; }
.trust-item { padding: 0 24px; flex: 1; }
.trust-item > svg {
  width: 62px;
  height: 62px;
  padding: 19px;
  box-sizing: border-box;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.20), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 22px rgba(5,37,72,.28), inset 0 1px 0 rgba(255,255,255,.22);
  margin-bottom: 6px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.trust-item:hover > svg {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(160deg, rgba(255,255,255,.34), rgba(255,255,255,.16));
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 16px 30px rgba(5,37,72,.34), inset 0 1px 0 rgba(255,255,255,.34);
}
@media (prefers-reduced-motion: reduce) {
  .trust-item:hover > svg { transform: none; }
}
.trust-num { text-shadow: 0 2px 10px rgba(5,37,72,.22); }
.trust-item.has-divider { border-right: 1px solid rgba(255,255,255,.22); }
@media (min-width: 1080px) {
  #trustBar { padding: 44px 24px; }
  .trust-item { padding: 0 40px; }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { padding-right: 0; }
}
@media (max-width: 1079px) {
  #trustBar { padding: 30px 24px; flex-direction: column; }
  .trust-item { padding: 18px 24px; }
  .trust-item.has-divider { border-right: none; border-bottom: 1px solid rgba(255,255,255,.22); }
}
@media (max-width: 720px) {
  #trustBar { display: flex !important; flex-direction: column; padding: 18px 20px; }
  .trust-item {
    display: grid !important;
    grid-template-columns: 46px 1fr;
    column-gap: 16px;
    align-items: center;
    text-align: left;
    padding: 15px 0 !important;
    border-right: none !important;
  }
  .trust-item.has-divider, .trust-item:not(:last-child) { border-bottom: none !important; }
  .trust-item { position: relative; }
  .trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 62px;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255,255,255,.16);
  }
  .trust-item > svg {
    grid-row: 1 / span 2;
    width: 46px !important;
    height: 46px !important;
    padding: 12px !important;
    border-radius: 13px !important;
    margin-bottom: 0 !important;
  }
  .trust-num { grid-column: 2; align-self: end; font-size: 16.5px !important; letter-spacing: -0.2px; }
  .trust-label { grid-column: 2; align-self: start; font-size: 13px !important; font-weight: 600 !important; line-height: 1.35; margin-top: 2px; }
}

/* ---------- How it works connector lines ---------- */
.step-line { background: #CFE3EF; }
.step-line.is-edge { background: transparent; }
@media (max-width: 1079px) { .step-line { background: transparent; } }

/* ---------- Recent work grid ---------- */
@media (max-width: 640px) {
  #recentJobsGrid { justify-content: center; }
  #recentJobsGrid figure {
    flex: 0 1 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
  }
}

/* ---------- Hero: hybrid mobile order ---------- */
.rr-hero {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head img" "body img";
  column-gap: clamp(36px, 5vw, 64px);
  row-gap: 0;
  align-content: center;
}
.rr-head { grid-area: head; align-self: end; }
.rr-body { grid-area: body; align-self: start; }
.rr-img  { grid-area: img; align-self: center; position: relative; }

@media (max-width: 940px) {
  .rr-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "img" "body";
    row-gap: 28px;
  }
  .rr-head, .rr-body, .rr-img { align-self: auto; }
}

/* Hover zoom wrapper */
.zw { overflow: hidden; border-radius: 24px; }
.zw > img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.zw:hover > img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) { .zw > img, .zw:hover > img { transition: none; transform: none; } }

/* ---------- Mobile call button ---------- */
#callFab { display: none; }
#callFab.is-visible { display: flex; }
@media (min-width: 1080px) { #callFab.is-visible { display: none; } }

/* ---------- Mobile menu ---------- */
#mobileMenu { display: none; }
#mobileMenu.is-open { display: flex; }

/* ---------- FAQ accordion ---------- */
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-chevron { transform: none; transition: transform .3s ease; flex: none; color: #557083; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); color: #1A7BB5; }
.faq-question { color: #083466; transition: color .2s ease; }
.faq-item.is-open .faq-question { color: #1A7BB5; }

/* ---------- Reveal on scroll ---------- */
[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; transition: none; }
  #callFab .call-fab-ring { opacity: 0 !important; }
}

/* Photo hover lift — hero, about, why choose us, what's included */
.img-lift {
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s cubic-bezier(.22,.61,.36,1), filter .45s ease;
  will-change: transform;
}
.img-lift:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 64px rgba(8,52,102, 0.24);
  filter: saturate(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .img-lift, .img-lift:hover { transition: none; transform: none; }
}
/* Touch devices: no hover lift — a tap would fire :hover and push the image past its container */
@media (hover: none), (max-width: 700px) {
  .img-lift:hover { transform: none; box-shadow: 0 20px 50px rgba(8,52,102, 0.14); filter: none; }
  .zw:hover > img { transform: none; }
}

/* Lightbox controls out of thumb-tap zone on phones */
@media (max-width: 700px) {
  .lightbox-btn[data-lb="prev"], .lightbox-btn[data-lb="next"] {
    top: auto !important; bottom: 20px !important; transform: none !important;
    width: 56px !important; height: 56px !important;
    background: rgba(255,255,255,0.18) !important;
  }
  .lightbox-btn[data-lb="prev"] { left: calc(50% - 82px) !important; }
  .lightbox-btn[data-lb="next"] { right: calc(50% - 82px) !important; }
  [data-lb="figure"] { padding-bottom: 84px !important; }
  [data-lb="img"] { max-height: 64vh !important; }
}

/* ---------- Narrow-screen refinements ---------- */
@media (max-width: 560px) {
  .hero-badge { padding: 10px 15px; max-width: 100%; border-radius: 20px; gap: 7px 10px; }
  .hero-badge-text { font-size: 12.5px; letter-spacing: 0; white-space: normal; gap: 5px; }
}
@media (max-width: 380px) {
  .hero-badge-text { font-size: 11.5px; letter-spacing: 0; }
}

/* Floating photo captions: pull inside the frame and shrink on phones */
@media (max-width: 700px) {
  .float-card { left: 12px !important; right: auto !important; bottom: 14px !important; padding: 11px 14px !important; max-width: calc(100% - 24px) !important; }
  .float-card-right { left: auto !important; right: 12px !important; }
  .rr-img .float-card-top { top: 12px !important; left: 12px !important; right: auto !important; bottom: auto !important; }
  .rr-img .float-card-right { position: static !important; width: auto !important; max-width: 100% !important; margin: 14px 0 0 !important; box-shadow: 0 12px 30px rgba(8,52,102,0.14) !important; }
}
@media (max-width: 560px) {
  .badge-rule { display: none; }
}

/* Full-width tap targets on small phones */
@media (max-width: 460px) {
  main .btn-cta, main .btn-outline, main .btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .review-card, .service-card { padding: 22px !important; }
  #quoteFormCard { padding: 22px !important; }
}

/* ---------- Hand-drawn heading accent ---------- */
.hl {
  display: inline;
  padding-bottom: 0.1em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'><path d='M4.2 11.4C57 6 149 3.2 295.6 5.9c-1.1 2.7-2.5 4.2-4.1 4.8-104.4-2.1-192.2.6-286.4 4.9-1.7-1-2.4-2.6-2-4.2z' fill='%23F87800'/></svg>") 0 100% / 100% 0.28em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-light { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'><path d='M4.2 11.4C57 6 149 3.2 295.6 5.9c-1.1 2.7-2.5 4.2-4.1 4.8-104.4-2.1-192.2.6-286.4 4.9-1.7-1-2.4-2.6-2-4.2z' fill='%2330B4E8'/></svg>"); }
.hl-blue { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'><path d='M4.2 11.4C57 6 149 3.2 295.6 5.9c-1.1 2.7-2.5 4.2-4.1 4.8-104.4-2.1-192.2.6-286.4 4.9-1.7-1-2.4-2.6-2-4.2z' fill='%2330B4E8'/></svg>"); }

/* ---------- Auto-scrolling review lanes ---------- */
.rev-tracks { display: flex; flex-direction: column; gap: 20px; margin: 0 0 36px; }
.rev-lane { position: relative; overflow: hidden; padding: 6px 0; }
.rev-lane::before, .rev-lane::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.rev-lane::before { left: 0; background: linear-gradient(90deg, #E4F2FA 0%, rgba(255,248,242,0) 100%); }
.rev-lane::after { right: 0; background: linear-gradient(270deg, #E4F2FA 0%, rgba(255,248,242,0) 100%); }
.rev-track {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: stretch;
  animation: revScroll 66s linear infinite;
}
.rev-track-rev { animation-name: revScrollRev; animation-duration: 74s; }
.rev-lane:hover .rev-track, .rev-track:focus-within { animation-play-state: paused; }
@keyframes revScroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(-50% - 10px),0,0); } }
@keyframes revScrollRev { from { transform: translate3d(calc(-50% - 10px),0,0); } to { transform: translate3d(0,0,0); } }
@media (max-width: 560px) { .rev-lane::before, .rev-lane::after { width: 40px; } }
@media (prefers-reduced-motion: reduce) {
  .rev-track { animation: none; }
  .rev-lane { overflow-x: auto; }
}

/* ---------- Phone hero refinements ---------- */
@media (max-width: 700px) {
  .hero-deco { display: none; }
  .rr-img .zw { border-radius: 20px; }
  .rr-img .zw > img { aspect-ratio: 1 / 1 !important; }
  .rr-img .float-card-top { padding: 9px 13px 9px 10px !important; border-radius: 12px !important; gap: 10px !important; }
  .fc-ico { width: 32px !important; height: 32px !important; }
  .fc-val { font-size: 13.5px !important; }
}

.pill-min { display: none; }
@media (max-width: 560px) {
  .pill-word, .pill-amp { display: none; }
}

.rev-short { display: none; }

/* ---------- Phone hero: photo + review as one card ---------- */
@media (max-width: 700px) {
  .rr-hero { row-gap: 22px; }
  .rr-img .zw { border-radius: 20px !important; overflow: hidden; z-index: 1; }
  .rr-img .float-card-top { display: none !important; }
  .rr-img .float-card-right {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 3 !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    margin: -26px 10px 0 !important;
    padding: 12px 14px 13px 12px !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 34px rgba(8,52,102,0.16) !important;
    gap: 7px !important;
  }
  .rr-img .float-card-right .rev-meta,
  .rr-img .float-card-right .pill-stars { display: none !important; }
  .rr-img .float-card-right .rev-long { display: none; }
  .rr-img .float-card-right .rev-short { display: inline; }
  .rr-img .float-card-right figcaption { gap: 10px !important; }
  .rr-img .float-card-right figcaption > span:last-child > span:first-child { font-size: 15px !important; }
  .rr-img .float-card-right figcaption > span:last-child > span:last-child { font-size: 13px !important; font-weight: 500 !important; }
  .rr-img .float-card-right .pill-stars svg { width: 13px !important; height: 13px !important; }
  .hero-rev-text { font-size: 13px !important; line-height: 1.5 !important; color: #557083 !important; }
  .hero-tag { padding: 8px 14px !important; margin: 0 !important; }
  .hero-tag span { font-size: 11.5px !important; letter-spacing: 1px !important; }
}
@media (max-width: 620px) { .tag-rest { display: inline; } }
.pill-tiny { display: none; }
@media (max-width: 700px) {
  /* rating pill: one row, content spread across the full width */
  .hero-badge {
    display: flex !important;
    width: 100%;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    gap: 8px !important;
  }
  .hero-badge-text { margin-left: auto; flex-wrap: nowrap !important; font-size: 11.5px !important; gap: 6px !important; }
  .badge-rule { display: none; }
  .pill-stars svg { width: 13px; height: 13px; }
  .pill-full { display: inline !important; }
  .pill-min, .pill-tiny { display: none !important; }
}
@media (max-width: 372px) {
  .hero-badge { padding: 10px 14px !important; gap: 6px !important; }
  .hero-badge-text { font-size: 10.5px !important; }
  .pill-stars svg { width: 12px; height: 12px; }
}

/* ---------- Tablet (701–1080px): keep pill + owner chip on one line ---------- */
@media (min-width: 701px) and (max-width: 1080px) {
  .hero-badge { width: auto !important; max-width: 100% !important; flex-wrap: nowrap !important; }
  .hero-badge-text { flex-wrap: nowrap !important; white-space: nowrap !important; }
  .rr-img .float-card-top span { white-space: nowrap !important; }
  .hero-tag span { white-space: nowrap !important; }
}

/* ---------- Hero image: floating motion ---------- */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-10px) rotate(-0.35deg); }
  50%      { transform: translateY(-18px) rotate(0deg); }
  75%      { transform: translateY(-8px) rotate(0.35deg); }
}
@keyframes heroDecoDrift {
  0%, 100% { transform: translate(0, 0); opacity: 1; }
  50%      { transform: translate(8px, 12px); opacity: .75; }
}
@keyframes heroCardBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes heroSheen {
  0%, 72%  { transform: translateX(-130%) skewX(-18deg); }
  100%     { transform: translateX(230%) skewX(-18deg); }
}
#heroMedia .zw { animation: heroFloat 7s ease-in-out infinite; will-change: transform; }
#heroMedia .zw::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.38) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none; animation: heroSheen 7s ease-in-out infinite;
}
#heroMedia .hero-deco { animation: heroDecoDrift 7s ease-in-out infinite; }
#heroMedia .float-card-top { animation: heroCardBob 5.5s ease-in-out -1.2s infinite; }
@media (min-width: 701px) {
  #heroMedia .float-card-right { animation: heroCardBob 6.5s ease-in-out -3s infinite; }
}
@media (max-width: 700px) {
  @keyframes heroFloatSm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  #heroMedia .zw { animation-name: heroFloatSm; }
}
@media (prefers-reduced-motion: reduce) {
  #heroMedia .zw, #heroMedia .zw::after, #heroMedia .hero-deco, #heroMedia .float-card-top, #heroMedia .float-card-right { animation: none !important; }
  #heroMedia .zw::after { display: none; }
}

/* ---------- Phone hero: tighter spacing ---------- */
@media (max-width: 700px) {
  #home { padding-top: 128px !important; }
  .hero-badge { width: auto !important; justify-content: center !important; gap: 10px !important; margin-bottom: 18px !important; }
  .hero-badge-text { margin-left: 0; font-size: 12.5px !important; }
  #heroCopy h1 { font-size: clamp(34px, 10.4vw, 44px) !important; letter-spacing: -1.4px !important; text-wrap: wrap !important; margin-bottom: 16px !important; }
  .rr-hero { row-gap: 18px; }
}
@media (max-width: 372px) {
  .hero-badge-text { font-size: 11px !important; }
}

@media (max-width: 460px) {
  #siteHeader { padding: 12px 0; }
  #siteHeader.is-scrolled { padding: 8px 0; }
  #logoWrap { padding: 4px 10px; display: block; }
}

/* Header grows to fit the centred mobile logo, with breathing room */
@media (max-width: 1079px) {
  #siteHeader > div { min-height: 82px; transition: min-height .3s ease; }
  #siteHeader.is-scrolled > div { min-height: 72px; }
}
@media (max-width: 460px) {
  #siteHeader { padding: 4px 0; }
  #siteHeader.is-scrolled { padding: 3px 0; }
  #siteHeader > div { min-height: 99px; }
  #siteHeader.is-scrolled > div { min-height: 84px; }
  #logoWrap { padding: 0 12px; }
}

/* Balanced header spacing around the logo */
@media (max-width: 1079px) {
  #siteHeader > div { min-height: 68px; }
  #siteHeader.is-scrolled > div { min-height: 60px; }
}
@media (max-width: 700px) {
  #siteHeader { padding: 4px 0; }
  #siteHeader.is-scrolled { padding: 3px 0; }
  #headerLogo { height: 77px; }
  #siteHeader.is-scrolled #headerLogo { height: 64px; }
  #siteHeader > div { min-height: 85px; }
  #siteHeader.is-scrolled > div { min-height: 70px; }
  #logoWrap { padding: 0 8px; }
  #home { padding-top: 116px !important; }
}

/* ---------- Wide logo (v3) sizing ---------- */
#headerLogo { height: 64px; }
#siteHeader.is-scrolled #headerLogo { height: 54px; }
@media (max-width: 1079px) {
  #headerLogo { height: 58px; }
  #siteHeader.is-scrolled #headerLogo { height: 50px; }
  #siteHeader > div { min-height: 70px; }
  #siteHeader.is-scrolled > div { min-height: 62px; }
}
@media (max-width: 700px) {
  #siteHeader { padding: 6px 0; }
  #siteHeader.is-scrolled { padding: 4px 0; }
  #headerLogo { height: 56px; }
  #siteHeader.is-scrolled #headerLogo { height: 48px; }
  #siteHeader > div { min-height: 68px; }
  #siteHeader.is-scrolled > div { min-height: 58px; }
  #logoWrap { padding: 0 6px; }
  #home { padding-top: 104px !important; }
}
@media (max-width: 380px) {
  #headerLogo { height: 50px; }
  #siteHeader.is-scrolled #headerLogo { height: 44px; }
}
@media (max-width: 560px) {
  #headerLogo { height: 42px !important; }
  #siteHeader.is-scrolled #headerLogo { height: 38px !important; }
  #siteHeader > div { min-height: 60px !important; }
  #siteHeader.is-scrolled > div { min-height: 52px !important; }
  #home { padding-top: 92px !important; }
}
@media (max-width: 380px) {
  #headerLogo { height: 38px !important; }
  #siteHeader.is-scrolled #headerLogo { height: 34px !important; }
}

/* Tablet: keep hero image from towering over the copy */
@media (min-width: 701px) and (max-width: 1079px) {
  .rr-img { max-width: 520px; margin-left: auto; margin-right: auto; width: 100%; }
}

/* ---------- Our Work coverflow slider ---------- */
#workSlider .ws-stage { position: relative; height: clamp(260px, 44vw, 540px); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
#workSlider .ws-slide { position: absolute; left: 50%; top: 50%; width: min(720px, 72%); height: 100%; transform: translate3d(-50%,-50%,0); transition: transform .6s cubic-bezier(.22,.8,.24,1), opacity .6s ease; will-change: transform, opacity; }
#workSlider .ws-card { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: #083466; box-shadow: 0 26px 60px rgba(0,0,0,0.45); }
#workSlider .ws-shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
#workSlider .ws-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.32); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease, transform .2s ease; }
#workSlider .ws-arrow:hover { background: #1A7BB5; border-color: #1A7BB5; transform: translateY(-1px); }
#workSlider .ws-dots button { border: 0; padding: 0; border-radius: 999px; cursor: pointer; transition: width .3s, height .3s, background .3s; }
@media (max-width: 700px) {
  #workSlider .ws-stage { height: clamp(220px, 62vw, 380px); }
  #workSlider .ws-slide { width: 80%; }
  #workSlider .ws-card { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { #workSlider .ws-slide, #workSlider .ws-shade { transition: none; } }

section[id], #quoteFormCard { scroll-margin-top: 104px; }

#headerLogo { width: auto; }
.rev-tracks { max-width: 1440px; margin-left: auto; margin-right: auto; }

/* ---------- Compact services ---------- */
.svc-mini-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1023px) { .svc-mini-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.svc-mini { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.svc-mini:hover { transform: translateY(-4px); border-color: #1A7BB5 !important; box-shadow: 0 18px 36px rgba(8,52,102,.10) !important; }
.svc-mini:focus-visible { outline: 3px solid #30B4E8; outline-offset: 3px; }
.svc-mini-link svg { transition: transform .25s ease; }
.svc-mini:hover .svc-mini-link svg { transform: translateX(3px); }
@media (max-width: 560px) {
  .svc-mini-grid { gap: 12px !important; }
  .svc-mini { padding: 18px 16px !important; gap: 10px !important; }
  .svc-mini h3 { font-size: 17px !important; }
  .svc-mini p { font-size: 14px !important; }
}
@media (max-width: 640px) { .svc-mini-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } .svc-mini-grid > .svc-mini:first-child, .svc-mini-grid > .svc-mini:last-child { grid-column: 1 / -1; } }
@media (hover: none), (prefers-reduced-motion: reduce) { .svc-mini:hover { transform: none; } }

#workSlider .ws-card img[src*="stovetop"], #workSlider .ws-card img[src*="bathroom-fan"], #workSlider .ws-card img[src*="glass-cooktop"], #workSlider .ws-card img[src*="dishwasher"], #workSlider .ws-card img[src*="air-vent"] { object-position: 50% 0% !important; }
@media (max-width: 560px) { #areas span[style*="padding:11px 26px"] { padding: 9px 18px !important; font-size: 15.5px !important; } }

/* ---------- Taylor Maid logo sizing ---------- */
#headerLogo { height: 86px !important; }
#siteHeader.is-scrolled #headerLogo { height: 68px !important; }
@media (max-width: 1079px) { #headerLogo { height: 74px !important; } #siteHeader.is-scrolled #headerLogo { height: 62px !important; } }
@media (max-width: 560px) { #headerLogo { height: 58px !important; } #siteHeader.is-scrolled #headerLogo { height: 50px !important; } #siteHeader > div { min-height: 68px !important; } #siteHeader.is-scrolled > div { min-height: 58px !important; } }
@media (max-width: 380px) { #headerLogo { height: 50px !important; } #siteHeader.is-scrolled #headerLogo { height: 44px !important; } }

/* ---------- Brand colour refresh (blue + orange) ---------- */
.on-blue a:not([class]) { color: #8AD3F3; }
.on-blue a:not([class]):hover { color: #FFFFFF; }
.step-line { background: #CFE3EF; }
.step-line.is-edge { background: transparent; }
@media (max-width: 1079px) { .step-line { background: transparent; } }
.rev-lane::before { background: linear-gradient(90deg, #F5F8FB 0%, rgba(245,248,251,0) 100%); }
.rev-lane::after { background: linear-gradient(270deg, #F5F8FB 0%, rgba(245,248,251,0) 100%); }
#reviews .btn-outline { border-color: #CFE3EF; }

/* Logo on thank-you and legal pages */
.page-logo { height: 76px; max-width: 100%; }
@media (max-width: 1079px) { .page-logo { height: 66px; } }
@media (max-width: 600px) { .page-logo { height: 54px; max-width: 58vw; object-fit: contain; object-position: left center; } }
@media (max-width: 360px) { .page-logo { height: 46px; } }

/* ---------- Improvements v7 ---------- */
@media (max-width: 1240px) and (min-width: 1080px) { nav.only-desktop { gap: 16px !important; } nav.only-desktop .nav-link { font-size: 14.5px !important; } }
@media (max-width: 700px) { #callFab { display: none !important; } }

/* Show 5 stars on the hero review card on mobile */
@media (max-width: 1079px) { .rr-img .float-card-right .pill-stars { display: flex !important; } }

/* ---------- Mobile "Tap to call" pill ---------- */
.call-pill { display: none; }
@keyframes callPillRing { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
@media (max-width: 700px) {
  .call-pill {
    display: flex; align-items: center; gap: 11px;
    position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 7px 20px 7px 7px; border-radius: 999px;
    background: linear-gradient(135deg, #0D447F 0%, #083466 100%);
    border: 1.5px solid rgba(248,120,0,.55);
    box-shadow: 0 14px 32px rgba(5,37,72,.38), 0 3px 8px rgba(5,37,72,.22);
    color: #FFFFFF;
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .45s cubic-bezier(.34,1.35,.64,1), opacity .3s ease;
  }
  .call-pill.is-shown { transform: none; opacity: 1; pointer-events: auto; }
  .call-pill:hover { color: #FFFFFF; }
  .call-pill:active { transform: scale(.96); }
  .call-pill-ico { position: relative; width: 46px; height: 46px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #F87800 0%, #C65200 100%); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.3); }
  .call-pill-ico svg { position: relative; }
  .call-pill-ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(248,120,0,.6); animation: callPillRing 2.4s ease-out infinite; }
  .call-pill-text { display: flex; flex-direction: column; line-height: 1.15; }
  .call-pill-label { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #BFE6F7; }
  .call-pill-num { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px; color: #FFFFFF; white-space: nowrap; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .call-pill { transition: opacity .2s ease; }
  .call-pill-ring { animation: none; opacity: 0; }
}

/* Full hero review text + "Google review" label on mobile, same as desktop */
@media (max-width: 1079px) {
  .rr-img .float-card-right .rev-long { display: inline !important; }
  .rr-img .float-card-right .rev-short { display: none !important; }
  .rr-img .float-card-right .rev-meta { display: block !important; }
}

/* ---------- Review page rating rows ---------- */
.rate-list { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.rate-row {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 16px;
  width: 100%; padding: 14px 16px 14px 14px; border-radius: 20px; cursor: pointer;
  font: inherit; text-align: left; color: #083466;
  background: #FFFFFF; border: 1.5px solid #CFE3EF;
  box-shadow: 0 1px 2px rgba(8,52,102,.04);
  transition: transform .22s cubic-bezier(.34,1.4,.64,1), border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rate-num {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; line-height: 1;
  background: #E3F3FB; color: #1A7BB5; border: 1px solid #BFE3F4;
  transition: background .2s ease, color .2s ease, transform .3s cubic-bezier(.34,1.5,.64,1);
}
.rate-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rate-label { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.2; }
.rate-hint { font-size: 13.5px; color: #557083; line-height: 1.35; }
.rate-stars { display: flex; gap: 3px; }
.rate-stars .st-on { fill: #F87800; stroke: #F87800; }
.rate-stars .st-off { fill: none; stroke: #F5B98A; }
.rate-stars svg { transition: transform .25s cubic-bezier(.34,1.6,.64,1); }
.rate-go {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #F2F9FD; color: #1A7BB5;
  transition: background .2s ease, color .2s ease, transform .22s ease;
}
.rate-row:hover, .rate-row:focus-visible {
  transform: translateY(-2px); border-color: #F87800;
  box-shadow: 0 14px 30px rgba(8,52,102,.12);
}
.rate-row:hover .rate-num, .rate-row:focus-visible .rate-num { background: #F87800; color: #FFFFFF; border-color: #F87800; transform: rotate(-6deg) scale(1.05); }
.rate-row:hover .rate-go, .rate-row:focus-visible .rate-go { background: #C65200; color: #FFFFFF; transform: translateX(3px); }
.rate-row:hover .rate-stars svg:nth-child(1) { transform: translateY(-2px); transition-delay: 0s; }
.rate-row:hover .rate-stars svg:nth-child(2) { transform: translateY(-2px); transition-delay: .04s; }
.rate-row:hover .rate-stars svg:nth-child(3) { transform: translateY(-2px); transition-delay: .08s; }
.rate-row:hover .rate-stars svg:nth-child(4) { transform: translateY(-2px); transition-delay: .12s; }
.rate-row:hover .rate-stars svg:nth-child(5) { transform: translateY(-2px); transition-delay: .16s; }
.rate-row:active { transform: scale(.985); }
.rate-row:focus-visible { outline: 3px solid rgba(248,120,0,.35); outline-offset: 2px; }

.rate-row.is-primary {
  background: radial-gradient(420px 160px at 100% 0%, rgba(48,180,232,.35), transparent 70%), linear-gradient(135deg, #0D447F 0%, #083466 100%);
  border-color: #083466; color: #FFFFFF; padding-top: 18px; padding-bottom: 18px;
  box-shadow: 0 16px 36px rgba(8,52,102,.28);
}
.rate-row.is-primary .rate-num { background: linear-gradient(135deg, #F87800 0%, #C65200 100%); color: #FFFFFF; border-color: transparent; box-shadow: 0 6px 16px rgba(198,82,0,.4); }
.rate-row.is-primary .rate-label { font-size: 19px; }
.rate-row.is-primary .rate-hint { color: #BFE6F7; }
.rate-row.is-primary .rate-go { background: #F87800; color: #FFFFFF; }
.rate-row.is-primary:hover { border-color: #F87800; box-shadow: 0 20px 44px rgba(8,52,102,.36); }
.rate-row.is-primary:hover .rate-go { background: #FFFFFF; color: #C65200; }

@media (max-width: 560px) {
  .rate-row { grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "num txt go" "num stars go"; gap: 4px 14px; padding: 13px 14px 13px 12px; }
  .rate-num { grid-area: num; width: 44px; height: 44px; font-size: 20px; }
  .rate-txt { grid-area: txt; }
  .rate-stars { grid-area: stars; margin-top: 4px; }
  .rate-stars svg { width: 15px; height: 15px; }
  .rate-go { grid-area: go; width: 34px; height: 34px; }
  .rate-hint { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .rate-row, .rate-num, .rate-go, .rate-stars svg { transition: none !important; }
}
