/* V59 — Local SEO readability + premium Smart Solar Estimator */

/* ===== LIGHT-MODE READABILITY ===== */
html:not([data-theme="dark"]) .local-page,
html[data-theme="light"] .local-page{color:#172033!important;background:transparent}
html:not([data-theme="dark"]) .local-page .local-section-v53,
html[data-theme="light"] .local-page .local-section-v53{background:#fff;color:#172033!important}
html:not([data-theme="dark"]) .local-page .local-section-v53.soft,
html[data-theme="light"] .local-page .local-section-v53.soft{background:#f5f8fc;color:#172033!important}

/* Hero copy remains intentionally white because the hero has a dark background. */
.local-page .local-hero-v53,
.local-page .local-hero-v53 h1,
.local-page .local-hero-v53 p,
.local-page .local-hero-v53 .local-kicker{color:#fff!important}
.local-page .local-hero-v53 h1 span{color:#7de0b2!important}
.local-page .local-hero-v53 p{color:rgba(255,255,255,.94)!important}

/* Every major light-mode write-up gets an explicit readable color. */
html:not([data-theme="dark"]) .local-page .local-head-v53 h2,
html:not([data-theme="dark"]) .local-page .local-section-v53 h2,
html:not([data-theme="dark"]) .local-page .local-service-card h3,
html:not([data-theme="dark"]) .local-page .local-step strong,
html:not([data-theme="dark"]) .local-page .local-benefit strong,
html:not([data-theme="dark"]) .local-page .local-location-card h3,
html:not([data-theme="dark"]) .local-page .local-faq summary,
html[data-theme="light"] .local-page .local-head-v53 h2,
html[data-theme="light"] .local-page .local-section-v53 h2,
html[data-theme="light"] .local-page .local-service-card h3,
html[data-theme="light"] .local-page .local-step strong,
html[data-theme="light"] .local-page .local-benefit strong,
html[data-theme="light"] .local-page .local-location-card h3,
html[data-theme="light"] .local-page .local-faq summary{color:#071a36!important;opacity:1!important}

html:not([data-theme="dark"]) .local-page .local-head-v53 p,
html:not([data-theme="dark"]) .local-page .local-section-v53 p,
html:not([data-theme="dark"]) .local-page .local-service-card p,
html:not([data-theme="dark"]) .local-page .local-step span,
html:not([data-theme="dark"]) .local-page .local-benefit span,
html:not([data-theme="dark"]) .local-page .local-location-card p,
html:not([data-theme="dark"]) .local-page .local-faq p,
html[data-theme="light"] .local-page .local-head-v53 p,
html[data-theme="light"] .local-page .local-section-v53 p,
html[data-theme="light"] .local-page .local-service-card p,
html[data-theme="light"] .local-page .local-step span,
html[data-theme="light"] .local-page .local-benefit span,
html[data-theme="light"] .local-page .local-location-card p,
html[data-theme="light"] .local-page .local-faq p{color:#43546a!important;opacity:1!important}

html:not([data-theme="dark"]) .local-page .local-eyebrow-v53,
html:not([data-theme="dark"]) .local-page .eyebrow,
html[data-theme="light"] .local-page .local-eyebrow-v53,
html[data-theme="light"] .local-page .eyebrow{color:#0757b8!important;opacity:1!important}

/* Homepage-style shared sections */
html:not([data-theme="dark"]) .local-page .section-head h2,
html[data-theme="light"] .local-page .section-head h2{color:#071a36!important;opacity:1!important}
html:not([data-theme="dark"]) .local-page .section-head>p,
html[data-theme="light"] .local-page .section-head>p{color:#43546a!important;opacity:1!important}
html:not([data-theme="dark"]) .local-page .delivery-intro h2,
html[data-theme="light"] .local-page .delivery-intro h2{color:#071a36!important}
html:not([data-theme="dark"]) .local-page .delivery-intro p,
html[data-theme="light"] .local-page .delivery-intro p{color:#43546a!important}
html:not([data-theme="dark"]) .local-page .delivery-card h3,
html[data-theme="light"] .local-page .delivery-card h3{color:#071a36!important}
html:not([data-theme="dark"]) .local-page .delivery-card p,
html[data-theme="light"] .local-page .delivery-card p{color:#43546a!important}
html:not([data-theme="dark"]) .local-page .testimonial-card blockquote,
html[data-theme="light"] .local-page .testimonial-card blockquote{color:#26384e!important}
html:not([data-theme="dark"]) .local-page .testimonial-card figcaption strong,
html[data-theme="light"] .local-page .testimonial-card figcaption strong{color:#0b3f79!important}
html:not([data-theme="dark"]) .local-page .testimonial-card figcaption span,
html[data-theme="light"] .local-page .testimonial-card figcaption span{color:#53657a!important}

/* Location cards + FAQ */
html:not([data-theme="dark"]) .local-page .local-location-card,
html:not([data-theme="dark"]) .local-page .local-faq details,
html[data-theme="light"] .local-page .local-location-card,
html[data-theme="light"] .local-page .local-faq details{background:#fff!important;border-color:#d5dfeb!important;color:#172033!important}

/* ===== ICON VISIBILITY ===== */
html:not([data-theme="dark"]) .local-page .local-service-icon,
html:not([data-theme="dark"]) .local-page .delivery-icon,
html:not([data-theme="dark"]) .local-page .project-estimator-card-icon,
html:not([data-theme="dark"]) .local-page .testimonial-icon,
html:not([data-theme="dark"]) .local-page .local-location-card>i,
html[data-theme="light"] .local-page .local-service-icon,
html[data-theme="light"] .local-page .delivery-icon,
html[data-theme="light"] .local-page .project-estimator-card-icon,
html[data-theme="light"] .local-page .testimonial-icon,
html[data-theme="light"] .local-page .local-location-card>i{color:#0757b8!important}
html:not([data-theme="dark"]) .local-page .local-service-icon,
html:not([data-theme="dark"]) .local-page .delivery-icon,
html:not([data-theme="dark"]) .local-page .project-estimator-card-icon,
html:not([data-theme="dark"]) .local-page .testimonial-icon,
html[data-theme="light"] .local-page .local-service-icon,
html[data-theme="light"] .local-page .delivery-icon,
html[data-theme="light"] .local-page .project-estimator-card-icon,
html[data-theme="light"] .local-page .testimonial-icon{background:linear-gradient(135deg,#e9f2ff,#eefaf5)!important;border:1px solid #c8d9eb!important;box-shadow:0 8px 20px rgba(7,87,184,.08)}

/* ===== SMART SOLAR ESTIMATOR — PREMIUM REDESIGN ===== */
.local-page .unified-estimator-teaser{padding:clamp(38px,5vw,64px) 0!important}
.local-page .project-estimator-card{position:relative;isolation:isolate;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:34px!important;max-width:1080px!important;min-height:245px!important;padding:34px 38px!important;border:1px solid #cbdced!important;border-radius:28px!important;background:linear-gradient(135deg,#f8fbff 0%,#eef7ff 52%,#effaf5 100%)!important;box-shadow:0 20px 55px rgba(4,35,72,.10)!important;color:#172033!important;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.local-page .project-estimator-card:before{content:"";position:absolute;z-index:-1;width:280px;height:280px;right:-100px;top:-150px;border-radius:50%;background:rgba(22,114,212,.10)}
.local-page .project-estimator-card:after{content:"";position:absolute;z-index:-1;width:220px;height:220px;left:-100px;bottom:-140px;border-radius:50%;background:rgba(57,200,121,.10)}
.local-page .project-estimator-card:hover{transform:translateY(-4px)!important;box-shadow:0 26px 65px rgba(4,35,72,.14)!important;border-color:#b6cce4!important}
.local-page .project-estimator-card-copy{position:relative;z-index:2;min-width:0}
.local-page .project-estimator-card-icon{width:62px!important;height:62px!important;border-radius:18px!important;display:grid!important;place-items:center!important;margin-bottom:17px!important;background:linear-gradient(135deg,#0757b8,#159b75)!important;color:#fff!important;font-size:1.45rem!important;border:0!important;box-shadow:0 12px 28px rgba(7,87,184,.22)!important}
.local-page .project-estimator-card .eyebrow{color:#0757b8!important;font-size:.72rem!important;letter-spacing:.16em!important;margin-bottom:8px!important}
.local-page .project-estimator-card .eyebrow:before{background:#f4b52d!important}
.local-page .project-estimator-card h2{font-size:clamp(1.7rem,3vw,2.35rem)!important;line-height:1.12!important;margin:0 0 9px!important;color:#062b55!important;letter-spacing:-.025em}
.local-page .project-estimator-card p{max-width:680px!important;margin:0!important;color:#4a5d73!important;font-size:1rem!important;line-height:1.7!important}
.local-page .project-estimator-card-action{position:relative;z-index:2;flex:0 0 auto!important}
.local-page .project-estimator-card-action .btn{display:inline-flex!important;align-items:center!important;gap:10px!important;white-space:nowrap!important;min-height:52px!important;padding:14px 21px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#0757b8,#0b8d69)!important;color:#fff!important;font-weight:850!important;box-shadow:0 12px 26px rgba(7,87,184,.22)!important}
.local-page .project-estimator-card-action .btn:hover{transform:translateY(-2px)!important;box-shadow:0 16px 32px rgba(7,87,184,.28)!important}
.local-page .project-estimator-card-action .btn i{font-size:.9rem!important}

/* ===== DARK MODE PRESERVED ===== */
html[data-theme="dark"] .local-page .local-section-v53{color:#edf4ff!important}
html[data-theme="dark"] .local-page .local-section-v53 h2,
html[data-theme="dark"] .local-page .local-service-card h3,
html[data-theme="dark"] .local-page .local-step strong,
html[data-theme="dark"] .local-page .local-benefit strong,
html[data-theme="dark"] .local-page .local-location-card h3,
html[data-theme="dark"] .local-page .local-faq summary,
html[data-theme="dark"] .local-page .section-head h2{color:#f3f7ff!important}
html[data-theme="dark"] .local-page .local-section-v53 p,
html[data-theme="dark"] .local-page .local-service-card p,
html[data-theme="dark"] .local-page .local-step span,
html[data-theme="dark"] .local-page .local-benefit span,
html[data-theme="dark"] .local-page .local-location-card p,
html[data-theme="dark"] .local-page .local-faq p,
html[data-theme="dark"] .local-page .section-head>p,
html[data-theme="dark"] .local-page .delivery-intro p,
html[data-theme="dark"] .local-page .delivery-card p{color:#b9c8da!important}
html[data-theme="dark"] .local-page .project-estimator-card{background:linear-gradient(135deg,#0c203b,#10375a 55%,#103f3a)!important;border-color:#365574!important;box-shadow:0 22px 58px rgba(0,0,0,.30)!important;color:#edf4ff!important}
html[data-theme="dark"] .local-page .project-estimator-card h2{color:#fff!important}
html[data-theme="dark"] .local-page .project-estimator-card p{color:#d2deeb!important}
html[data-theme="dark"] .local-page .project-estimator-card .eyebrow{color:#8fe2bc!important}
html[data-theme="dark"] .local-page .project-estimator-card-icon{background:linear-gradient(135deg,#0d8f6b,#176bd0)!important;color:#fff!important}

@media(max-width:760px){
 .local-page .project-estimator-card{display:block!important;padding:27px 23px!important;min-height:0!important;border-radius:23px!important}
 .local-page .project-estimator-card-action{margin-top:21px!important}
 .local-page .project-estimator-card-action .btn{width:100%!important;justify-content:center!important}
}

/* V60 — targeted fixes only: Why Talynex contrast, always-running brand rail, CTA duplication */

/* WHY TALYNEX: this section intentionally uses a dark background, so keep its copy light in light mode. */
html:not([data-theme="dark"]) .local-page .delivery-section,
html[data-theme="light"] .local-page .delivery-section {
  color:#dce7f6 !important;
}
html:not([data-theme="dark"]) .local-page .delivery-section .delivery-intro .eyebrow,
html[data-theme="light"] .local-page .delivery-section .delivery-intro .eyebrow {
  color:#8fe2bc !important;
}
html:not([data-theme="dark"]) .local-page .delivery-section .delivery-intro h2,
html[data-theme="light"] .local-page .delivery-section .delivery-intro h2 {
  color:#ffffff !important;
  opacity:1 !important;
}
html:not([data-theme="dark"]) .local-page .delivery-section .delivery-intro p,
html[data-theme="light"] .local-page .delivery-section .delivery-intro p,
html:not([data-theme="dark"]) .local-page .delivery-section .delivery-card p,
html[data-theme="light"] .local-page .delivery-section .delivery-card p {
  color:#d5e1ef !important;
  opacity:1 !important;
}
html:not([data-theme="dark"]) .local-page .delivery-section .delivery-card h3,
html[data-theme="light"] .local-page .delivery-section .delivery-card h3 {
  color:#ffffff !important;
  opacity:1 !important;
}
html:not([data-theme="dark"]) .local-page .delivery-section .delivery-step,
html[data-theme="light"] .local-page .delivery-section .delivery-step {
  color:rgba(255,255,255,.12) !important;
}
html:not([data-theme="dark"]) .local-page .delivery-section .delivery-icon,
html[data-theme="light"] .local-page .delivery-section .delivery-icon {
  color:#071a36 !important;
  background:linear-gradient(135deg,#f4b52d,#ffd66e) !important;
  border:1px solid rgba(255,255,255,.25) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}

/* TRUSTED EQUIPMENT ECOSYSTEM: one continuous row that never pauses on hover. */
.local-page .brand-marquee {
  overflow:hidden !important;
  white-space:nowrap !important;
}
.local-page .brand-marquee-track {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  width:max-content !important;
  max-width:none !important;
  transform:translate3d(0,0,0);
  animation-name:talynexBrandScroll !important;
  animation-duration:30s !important;
  animation-timing-function:linear !important;
  animation-iteration-count:infinite !important;
  animation-direction:normal !important;
  animation-fill-mode:none !important;
  animation-play-state:running !important;
  will-change:transform;
}
.local-page .brand-marquee:hover .brand-marquee-track,
.local-page .brand-marquee:focus-within .brand-marquee-track {
  animation-play-state:running !important;
}
.local-page .brand-marquee-group {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  flex:0 0 auto !important;
}
@keyframes talynexBrandScroll {
  from { transform:translate3d(0,0,0); }
  to { transform:translate3d(-50%,0,0); }
}
@media(max-width:560px){
  .local-page .brand-marquee-track { animation-duration:24s !important; }
}

/* TITLE BAR: exactly one Request a Quote action at each breakpoint. */
@media(min-width:1101px){
  .local-page ~ * .mobile-quote,
  .mobile-quote { display:none !important; }
  .nav-quote { display:inline-flex !important; }
}
@media(max-width:1100px){
  .nav-quote { display:none !important; }
  .mobile-quote { display:inline-flex !important; }
}


/* ================================================================
   V61 — TARGETED LOCAL SEO POLISH
   Only requested changes: mobile quote styling, tall-building gallery,
   smaller scrolling brand logos, client feedback redesign, and CTA
   light-mode readability. Existing page structure/content preserved.
   ================================================================ */

/* Mobile Request a Quote — match Talynex homepage/mobile header styling. */
.mobile-quote{
  display:none;align-items:center;justify-content:center;gap:7px;height:42px;padding:0 13px;
  border-radius:11px;background:linear-gradient(135deg,var(--orange),var(--gold));
  color:var(--navy);font-size:.76rem;font-weight:900;letter-spacing:-.01em;white-space:nowrap;
  box-shadow:0 7px 18px rgba(198,132,18,.18);border:1px solid rgba(255,255,255,.25);
  transition:transform .2s ease,box-shadow .2s ease
}
.mobile-quote i{font-size:.82rem}
.mobile-quote:hover,.mobile-quote:focus-visible{transform:translateY(-1px);box-shadow:0 9px 22px rgba(198,132,18,.26)}
html[data-theme="dark"] .mobile-quote{color:#07172f;box-shadow:0 8px 20px rgba(0,0,0,.28)}
@media(max-width:1000px){
  .mobile-quote{display:inline-flex;margin-left:auto}
  .nav>.menu{margin-left:0}
  .site-header .nav{gap:8px}
}
@media(max-width:390px){
  .mobile-quote{width:42px;padding:0;gap:0}
  .mobile-quote span{display:none}
  .mobile-quote i{font-size:.9rem}
}
@media(min-width:1101px){
  .mobile-quote{display:none!important}
  .nav-quote{display:inline-flex!important}
}
@media(max-width:1100px){
  .nav-quote{display:none!important}
  .mobile-quote{display:inline-flex!important}
}

/* Trusted equipment ecosystem — smaller cards, same single-row continuous marquee. */
.local-page .brand-marquee-item{
  flex:0 0 136px!important;width:136px!important;height:70px!important;
  border-radius:14px!important;padding:10px!important;
}
.local-page .brand-marquee-item img{
  width:104px!important;height:38px!important;object-fit:contain;display:block
}
.local-page .brand-marquee-track{
  display:flex!important;flex-wrap:nowrap!important;width:max-content!important;max-width:none!important;
  animation:talynexBrandScroll 30s linear infinite!important;animation-play-state:running!important;
}
.local-page .brand-marquee:hover .brand-marquee-track,
.local-page .brand-marquee:focus-within .brand-marquee-track{animation-play-state:running!important}
@media(max-width:900px){
  .local-page .brand-marquee-item{flex-basis:124px!important;width:124px!important;height:64px!important;padding:8px!important}
  .local-page .brand-marquee-item img{width:94px!important;height:34px!important}
}
@media(max-width:560px){
  .local-page .brand-marquee-item{flex-basis:112px!important;width:112px!important;height:58px!important;padding:7px!important;border-radius:12px!important}
  .local-page .brand-marquee-item img{width:84px!important;height:31px!important}
  .local-page .brand-marquee-track{animation-duration:24s!important}
}
@keyframes talynexBrandScroll{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}

/* Client feedback — cleaner, more premium cards without changing the content. */
.local-page .testimonials-section .testimonial-card{
  position:relative!important;display:flex!important;flex-direction:column!important;
  min-height:285px!important;margin:0!important;padding:30px 28px 25px!important;
  border:1px solid #d7e2ee!important;border-radius:24px!important;
  background:linear-gradient(145deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 16px 38px rgba(4,23,53,.09)!important;overflow:hidden!important;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important
}
.local-page .testimonials-section .testimonial-card:hover{
  transform:translateY(-5px)!important;box-shadow:0 22px 48px rgba(4,23,53,.13)!important;border-color:#b9cfe5!important
}
.local-page .testimonials-section .testimonial-card:before{
  content:"";position:absolute;left:0;top:0;width:100%;height:4px;
  background:linear-gradient(90deg,#0757b8,#19a675,#f4b52d)
}
.local-page .testimonials-section .testimonial-card:after{
  content:"";position:absolute;width:150px;height:150px;right:-76px;bottom:-82px;border-radius:50%;
  background:radial-gradient(circle,rgba(7,87,184,.10),rgba(7,87,184,0) 68%);pointer-events:none
}
.local-page .testimonials-section .testimonial-icon{
  position:relative!important;z-index:2;width:48px!important;height:48px!important;border-radius:15px!important;
  display:grid!important;place-items:center!important;margin:0 0 20px!important;
  background:linear-gradient(135deg,#0757b8,#0b8d69)!important;color:#fff!important;
  border:0!important;box-shadow:0 10px 24px rgba(7,87,184,.18)!important;font-size:1rem!important
}
.local-page .testimonials-section .quote-mark{
  position:absolute!important;right:24px!important;top:19px!important;font-family:Georgia,serif!important;
  font-size:4.8rem!important;line-height:1!important;color:rgba(7,87,184,.075)!important;font-weight:700!important
}
.local-page .testimonials-section .testimonial-card blockquote{
  position:relative!important;z-index:2;margin:0 0 24px!important;padding:0!important;
  font-size:.98rem!important;line-height:1.72!important;color:#26384e!important;font-style:normal!important;flex:1
}
.local-page .testimonials-section .testimonial-card figcaption{
  position:relative!important;z-index:2;display:flex!important;flex-direction:column!important;gap:3px!important;
  padding-top:15px!important;border-top:1px solid #e0e8f1!important
}
.local-page .testimonials-section .testimonial-card figcaption strong{font-size:.98rem!important;color:#0b3f79!important}
.local-page .testimonials-section .testimonial-card figcaption span{font-size:.78rem!important;color:#62748a!important}
html[data-theme="dark"] .local-page .testimonials-section .testimonial-card{
  background:linear-gradient(145deg,#102942 0%,#0d2238 100%)!important;border-color:rgba(255,255,255,.12)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.25)!important
}
html[data-theme="dark"] .local-page .testimonials-section .testimonial-card:hover{border-color:rgba(143,184,255,.3)!important}
html[data-theme="dark"] .local-page .testimonials-section .testimonial-card blockquote{color:#f3f7fc!important}
html[data-theme="dark"] .local-page .testimonials-section .testimonial-card figcaption{border-top-color:rgba(255,255,255,.12)!important}
html[data-theme="dark"] .local-page .testimonials-section .testimonial-card figcaption strong{color:#9ec4ff!important}
html[data-theme="dark"] .local-page .testimonials-section .testimonial-card figcaption span{color:#c3cfdd!important}

/* City CTA — make the write-up clearly visible in light mode. */
html:not([data-theme="dark"]) .local-page .local-section-v53.soft .local-cta-v53 h2,
html[data-theme="light"] .local-page .local-section-v53.soft .local-cta-v53 h2{
  color:#071a36!important;opacity:1!important;text-shadow:none!important
}
html:not([data-theme="dark"]) .local-page .local-section-v53.soft .local-cta-v53 p,
html[data-theme="light"] .local-page .local-section-v53.soft .local-cta-v53 p{
  color:#43546a!important;opacity:1!important;text-shadow:none!important
}
html[data-theme="dark"] .local-page .local-section-v53.soft .local-cta-v53 h2{color:#f5f8ff!important}
html[data-theme="dark"] .local-page .local-section-v53.soft .local-cta-v53 p{color:#c4d1e0!important}

/* Gallery: keep tall-building/site-work image framed naturally. */
.local-page .local-gallery-slide img{object-position:center center!important}



/* ================================================================
   V62 — precise layout/readability adjustments requested by client
   Keep all existing V61 behavior; only tune the specified areas.
   ================================================================ */

/* City CTA: maximum light-mode readability against the dark CTA panel. */
html:not([data-theme="dark"]) .local-page .local-cta-v53 h2,
html[data-theme="light"] .local-page .local-cta-v53 h2{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:0 1px 2px rgba(0,0,0,.18)!important;
}
html:not([data-theme="dark"]) .local-page .local-cta-v53 p,
html[data-theme="light"] .local-page .local-cta-v53 p{
  color:#f5f9ff!important;
  opacity:1!important;
  text-shadow:0 1px 2px rgba(0,0,0,.16)!important;
  font-size:1rem!important;
  line-height:1.7!important;
}

/* Large-screen sentence structure: give headings and supporting copy their own readable measure. */
@media(min-width:981px){
  .local-page .section-head{
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)!important;
    gap:34px!important;
    align-items:end!important;
  }
  .local-page .section-head h2{
    max-width:760px!important;
    margin-bottom:0!important;
    line-height:1.12!important;
    letter-spacing:-.028em!important;
  }
  .local-page .section-head>p{
    max-width:520px!important;
    margin:0!important;
    line-height:1.7!important;
  }
  .local-page .local-head-v53{
    max-width:900px!important;
    margin-bottom:32px!important;
  }
  .local-page .local-head-v53 h2{
    max-width:820px!important;
    line-height:1.12!important;
    letter-spacing:-.028em!important;
  }
  .local-page .local-head-v53 p{
    max-width:760px!important;
    line-height:1.72!important;
  }
}

/* Trusted equipment ecosystem: slightly larger than V61, while preserving the same marquee. */
.local-page .brand-marquee-item{
  flex:0 0 150px!important;
  width:150px!important;
  height:76px!important;
  border-radius:15px!important;
  padding:10px!important;
}
.local-page .brand-marquee-item img{
  width:116px!important;
  height:42px!important;
  object-fit:contain!important;
  display:block!important;
}
@media(max-width:900px){
  .local-page .brand-marquee-item{
    flex-basis:134px!important;
    width:134px!important;
    height:68px!important;
    padding:9px!important;
  }
  .local-page .brand-marquee-item img{
    width:104px!important;
    height:38px!important;
  }
}
@media(max-width:560px){
  .local-page .brand-marquee-item{
    flex-basis:120px!important;
    width:120px!important;
    height:62px!important;
    padding:8px!important;
  }
  .local-page .brand-marquee-item img{
    width:96px!important;
    height:35px!important;
  }
}

/* Reduce the large vertical gaps around the brand and feedback sections. */
.local-page .trusted-brands-section{
  padding-top:58px!important;
  padding-bottom:38px!important;
}
.local-page .trusted-brands-section .section-head{
  margin-bottom:24px!important;
}
.local-page .testimonials-section{
  padding-top:42px!important;
  padding-bottom:42px!important;
}
.local-page .testimonials-section .section-head{
  margin-bottom:24px!important;
}
.local-page .testimonials-section + .local-section-v53{
  padding-top:42px!important;
}
@media(max-width:620px){
  .local-page .trusted-brands-section{padding-top:48px!important;padding-bottom:30px!important}
  .local-page .testimonials-section{padding-top:34px!important;padding-bottom:34px!important}
  .local-page .testimonials-section + .local-section-v53{padding-top:34px!important}
}

/* V63 — ONLY the two requested fixes: city CTA text contrast + brand logo sizing. */
html:not([data-theme="dark"]) .local-page .local-section-v53.soft .local-cta-v53 > div:first-child h2,
html[data-theme="light"] .local-page .local-section-v53.soft .local-cta-v53 > div:first-child h2,
html:not([data-theme="dark"]) .local-page .local-cta-v53 > div:first-child h2,
html[data-theme="light"] .local-page .local-cta-v53 > div:first-child h2{
  color:#ffffff !important;
  opacity:1 !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.22) !important;
}
html:not([data-theme="dark"]) .local-page .local-section-v53.soft .local-cta-v53 > div:first-child p,
html[data-theme="light"] .local-page .local-section-v53.soft .local-cta-v53 > div:first-child p,
html:not([data-theme="dark"]) .local-page .local-cta-v53 > div:first-child p,
html[data-theme="light"] .local-page .local-cta-v53 > div:first-child p{
  color:#f7fbff !important;
  opacity:1 !important;
  -webkit-text-fill-color:#f7fbff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.18) !important;
}

/* Slightly enlarge the trusted-brand logos/cards only; keep the existing marquee behavior. */
.local-page .brand-marquee-item{
  flex-basis:165px !important;
  width:165px !important;
  height:84px !important;
}
.local-page .brand-marquee-item img{
  width:130px !important;
  height:48px !important;
}
@media(max-width:900px){
  .local-page .brand-marquee-item{
    flex-basis:148px !important;
    width:148px !important;
    height:74px !important;
  }
  .local-page .brand-marquee-item img{
    width:118px !important;
    height:42px !important;
  }
}
@media(max-width:560px){
  .local-page .brand-marquee-item{
    flex-basis:132px !important;
    width:132px !important;
    height:68px !important;
  }
  .local-page .brand-marquee-item img{
    width:106px !important;
    height:38px !important;
  }
}
/* V64 — match the homepage Trusted Equipment Ecosystem sizing exactly.
   No changes to marquee structure or animation; only restore homepage card/logo dimensions. */
.local-page .brand-marquee-item{
  flex:0 0 170px !important;
  width:170px !important;
  height:88px !important;
  padding:0 !important;
  border-radius:16px !important;
}
.local-page .brand-marquee-item img{
  width:132px !important;
  height:48px !important;
  object-fit:contain !important;
  display:block !important;
}
@media(max-width:900px){
  .local-page .brand-marquee-item{width:150px !important;flex-basis:150px !important;height:88px !important;}
  .local-page .brand-marquee-item img{width:118px !important;height:44px !important;}
}
@media(max-width:560px){
  .local-page .brand-marquee-item{width:132px !important;flex-basis:132px !important;height:76px !important;border-radius:13px !important;}
  .local-page .brand-marquee-item img{width:104px !important;height:40px !important;}
}


/* V65 — only the two requested local-page refinements.
   1) Match homepage Trusted Equipment Ecosystem sizing exactly.
   2) Keep mobile local-page buttons visually clean on touch without changing desktop styling. */
.local-page .brand-marquee-item{
  width:170px !important;
  height:88px !important;
  flex:0 0 170px !important;
  padding:0 !important;
}
.local-page .brand-marquee-item img{
  width:132px !important;
  height:48px !important;
  object-fit:contain !important;
}
@media(max-width:900px){
  .local-page .brand-marquee-item{
    width:150px !important;
    flex-basis:150px !important;
  }
  .local-page .brand-marquee-item img{
    width:118px !important;
    height:44px !important;
  }
}
@media(max-width:560px){
  .local-page .brand-marquee-item{
    width:132px !important;
    height:76px !important;
    flex-basis:132px !important;
    border-radius:13px !important;
  }
  .local-page .brand-marquee-item img{
    width:104px !important;
    height:40px !important;
  }
}
/* Match the clean touch interaction of the main site: no browser focus stroke
   left around local-page buttons after a finger tap. Keyboard focus remains visible. */
@media (hover:none) and (pointer:coarse){
  .local-page .btn:focus:not(:focus-visible),
  .local-page .mobile-quote:focus:not(:focus-visible){
    outline:none !important;
    box-shadow:none !important;
  }
}

/* V67 — EXACT HOMEPAGE BRAND RAIL + MOBILE NAV HOVER ONLY. */
/* Trusted Equipment Ecosystem: use the homepage's exact brand rail dimensions/behavior. */
.local-page .brand-marquee{position:relative;overflow:hidden;margin-top:26px;padding:6px 0 12px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.local-page .brand-marquee-track{display:flex;width:max-content;animation:talynexBrandScroll 30s linear infinite}
.local-page .brand-marquee-group{display:flex;align-items:center;gap:18px;padding-right:18px}
.local-page .brand-marquee-item{width:170px;height:88px;display:flex;align-items:center;justify-content:center;flex:0 0 170px;background:#fff;border:1px solid rgba(11,42,74,.09);border-radius:16px;box-shadow:0 8px 22px rgba(15,23,42,.055);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.local-page .brand-marquee-item:hover,.local-page .brand-marquee-item:focus-visible{transform:translateY(-3px);border-color:rgba(11,42,74,.2);box-shadow:0 12px 28px rgba(15,23,42,.1);outline:none}
.local-page .brand-marquee-item img{width:132px;height:48px;object-fit:contain;display:block}
.local-page .brand-marquee:hover .brand-marquee-track{animation-play-state:paused}
@keyframes talynexBrandScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
html[data-theme="dark"] .local-page .brand-marquee-item{background:#102942;border-color:rgba(255,255,255,.1)}
@media(max-width:900px){.local-page .brand-marquee-item{width:150px;flex-basis:150px}.local-page .brand-marquee-item img{width:118px}}
@media(max-width:560px){.local-page .brand-marquee-group{gap:12px;padding-right:12px}.local-page .brand-marquee-item{width:132px;height:76px;flex-basis:132px;border-radius:13px}.local-page .brand-marquee-item img{width:104px;height:40px}.local-page .brand-marquee-track{animation-duration:24s}}
@media(prefers-reduced-motion:reduce){.local-page .brand-marquee-track{animation:none}.local-page .brand-marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}}

/* Mobile navigation: no orange stroke on tap; use a clean hover/focus highlight instead. */
@media(max-width:1000px){
  .nav-links a::after,.nav-links a:focus::after,.nav-links a:focus-visible::after,.nav-links a:active::after,.nav-links a.active::after{display:none!important;content:none!important;transform:none!important}
  .nav-links a{display:block;width:100%;padding:9px 12px!important;border-radius:10px;outline:none!important;box-shadow:none!important;border:0!important}
  .nav-links a:hover,.nav-links a:focus-visible{background:rgba(11,87,208,.08)!important;color:var(--blue)!important}
  html[data-theme="dark"] .nav-links a:hover,html[data-theme="dark"] .nav-links a:focus-visible{background:rgba(255,255,255,.08)!important;color:#fff!important}
  .nav-links a:focus:not(:focus-visible),.nav-links a:active{background:transparent!important;color:inherit!important}
}
