/* Services hub look (loaded after styles.css, hub page only). Tokens come from styles.css, so dark mode follows. */
.hero2{margin:0 -16px;padding:26px 16px 24px;background:linear-gradient(135deg,#4c1d95,#7c3aed 55%,#a855f7);color:#fff;border-radius:0 0 26px 26px}
.hero2 .eyebrow{margin:0;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;opacity:.85}
.hero2 h1{color:#fff;font-size:1.5rem;margin:.35em 0 .5em}
.hero2 .lead{color:rgba(255,255,255,.9);font-size:.95rem;margin:0 0 16px}
.hero2 .cta{display:flex;gap:10px;flex-wrap:wrap}
.hero2 .btn.light{background:#fff;color:#4c1d95;border-color:#fff}
.hero2 .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.75);text-decoration:none;display:inline-flex;align-items:center}
.chips{list-style:none;display:flex;gap:8px;flex-wrap:wrap;padding:0;margin:16px 0 0}
.chips li{background:rgba(255,255,255,.16);border-radius:999px;padding:4px 12px;font-size:.82rem}

.need{display:flex;flex-wrap:wrap;gap:8px}
.need a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;background:var(--card);border:1px solid var(--line);border-radius:999px;color:var(--tx);text-decoration:none;font-size:.9rem}
.need a:active{background:var(--line)}

.tiles{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:0;margin:0}
.tiles li{display:flex}
@media (min-width:640px){.tiles{grid-template-columns:repeat(4,1fr)}}
.tile{flex:1;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;color:var(--tx);text-decoration:none;box-shadow:0 1px 3px rgba(30,27,46,.07)}
.tile .art{position:relative;display:grid;place-items:center;aspect-ratio:4/3;background:linear-gradient(135deg,var(--g1),var(--g2))}
.tile .art svg{position:absolute;z-index:1;left:12px;top:12px;width:42px;height:42px;padding:8px;border-radius:12px;background:rgba(76,29,149,.78);backdrop-filter:blur(5px);fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.tile .art img{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.tile:hover .art img{transform:scale(1.04)}
.tile:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.tile .art img{transition:none}}
.tile .tx{padding:10px 12px 12px}
.tile b{display:block;font-size:.95rem;line-height:1.25}
.tile small{display:block;margin-top:4px;color:var(--mute);font-size:.8rem;line-height:1.35}

.steps{counter-reset:s;list-style:none;display:grid;gap:10px;padding:0;margin:0}
.steps li{counter-increment:s;position:relative;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 14px 14px 58px}
.steps li::before{content:counter(s);position:absolute;left:14px;top:14px;width:30px;height:30px;border-radius:50%;background:var(--brand);color:var(--brand-fg);display:grid;place-items:center;font-weight:700}
.steps b{display:block}.steps span{color:var(--mute);font-size:.92rem}

.trust{list-style:none;display:grid;gap:8px;padding:0;margin:12px 0 0;font-size:.92rem;color:var(--mute)}
.trust li::before{content:"\2713";color:var(--brand);font-weight:700;margin-right:8px}

#catalog h3{margin:1.6em 0 .6em;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.svc summary{display:flex;align-items:center;gap:12px;list-style:none}
.svc summary::-webkit-details-marker{display:none}
.svc summary::after{content:"\203A";margin-left:auto;font-size:1.4rem;line-height:1;color:var(--mute);transition:transform .2s}
.svc[open] summary::after{transform:rotate(90deg)}
.svc .ico{flex:none;width:38px;height:38px;padding:8px;border-radius:11px;background:linear-gradient(135deg,var(--g1,#7c3aed),var(--g2,#a855f7));fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

.fab{position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:40;border-radius:999px;padding:12px 20px;box-shadow:0 6px 18px rgba(76,29,149,.35)}
body.stm-chrome .fab{bottom:calc(72px + env(safe-area-inset-bottom))}

/* the shell bottom nav is z-index 50: keep the booking sheet above it */
.scrim{z-index:60}.sheet{z-index:61}
@media (prefers-reduced-motion:reduce){.svc summary::after{transition:none}}


/* Reference-inspired services showcase */
.services-showcase{margin:24px 0 30px}
.services-showcase .section-band{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:12px 18px;border-radius:14px;background:linear-gradient(100deg,#4c0fa8,#7628d8);color:#fff}
.services-showcase .section-band h2{margin:0;color:#fff;font-size:1.12rem}
.services-showcase .section-band p{margin:0 0 0 auto;color:#f1eaff;font-size:.82rem;font-style:italic}
.services-showcase .band-icon{font-size:1.6rem}
.services-showcase .showcase-intro{margin:0 0 16px;color:var(--mute)}
.pest-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pest-showcase .tile{border-radius:15px;box-shadow:0 2px 7px rgba(34,18,77,.10)}
.pest-showcase .tile .art{aspect-ratio:1.62/1;background:#e9e3fb}
.pest-showcase .tile .art img{display:block}
.pest-showcase .tile-icon{position:absolute;z-index:2;left:10px;bottom:-15px;display:grid;place-items:center;width:42px;height:42px;border:3px solid #fff;border-radius:50%;background:#6420c8;color:#fff;font-size:1.3rem;font-weight:800;box-shadow:0 2px 8px #26104a35}
.pest-showcase .tile .tx{padding:20px 12px 12px}
.pest-showcase .tile b{font-size:1rem;line-height:1.2;color:var(--tx)}
.pest-showcase .tile small{font-size:.84rem;line-height:1.32;min-height:3.2em}
.pest-showcase .tile em{display:block;width:max-content;max-width:100%;margin:12px auto 0;padding:8px 18px;border-radius:999px;background:#5b16c5;color:white;font-size:.82rem;font-style:normal;font-weight:700;text-align:center}
.other-services-feature{display:grid;grid-template-columns:1fr;gap:14px;align-items:center;margin:22px 0 12px;padding:16px;border:1px solid #e5d9ff;border-radius:18px;background:linear-gradient(115deg,#f4edff,#fff)}
.other-copy h2{margin:5px 0;font-size:1.45rem;color:#351080}
.other-copy p,.appliance-copy p{margin:6px 0 12px;color:#34275b}
.other-mark{font-size:2rem;color:#6420c8}
.appliance-photo{position:relative;display:block;overflow:hidden;min-height:190px;border-radius:14px;background:#e5e7eb}
.appliance-photo img{display:block;width:100%;height:100%;min-height:190px;max-height:260px;object-fit:cover}
.photo-caption{position:absolute;left:12px;bottom:12px;padding:6px 10px;border-radius:8px;background:#32106dcc;color:white;font-size:.8rem;font-weight:700}
.appliance-copy h3{margin:0;color:#25105f;font-size:1.25rem;line-height:1.2}
.feature-link{display:inline-flex;align-items:center;justify-content:center;padding:9px 18px;border-radius:999px;background:#5b16c5;color:white;text-decoration:none;font-weight:700;font-size:.88rem}
.other-service-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.other-service-links a{padding:8px 12px;border:1px solid #e3d7fa;border-radius:999px;background:var(--card);color:var(--tx);font-size:.83rem;text-decoration:none}
.showcase-foot{margin-top:14px}
@media(min-width:640px){
 .pest-showcase{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
 .other-services-feature{grid-template-columns:.85fr 1.35fr .9fr;gap:20px;padding:18px}
 .appliance-photo,.appliance-photo img{min-height:200px}
}
@media(max-width:420px){
 .services-showcase .section-band{gap:8px;padding:11px 12px}
 .services-showcase .section-band h2{font-size:1rem}
 .services-showcase .section-band p{width:100%;margin-left:36px}
 .pest-showcase{gap:10px}
 .pest-showcase .tile .tx{padding:19px 10px 10px}
 .pest-showcase .tile b{font-size:.92rem}
 .pest-showcase .tile small{font-size:.78rem}
 .other-services-feature{padding:13px}
}


/* Exact reference layout: full-width hero, 4-column pest cards, one appliance feature, trust strip */
body{background:#fff}
main{max-width:1280px;padding:0 20px 40px}
footer{max-width:1280px}
.services-hero{display:grid;grid-template-columns:1fr 1fr;min-height:300px;margin:0 -20px 28px;overflow:hidden;background:linear-gradient(110deg,#10066d 0%,#2b0b91 52%,#4b17b5 53%);color:#fff}
.services-hero-copy{padding:34px clamp(22px,4vw,52px);align-self:center}
.services-hero-copy .eyebrow{margin:0 0 8px;color:#e9dcff;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.services-hero-copy h1{font-size:clamp(2.5rem,5.5vw,4.5rem);font-weight:850;line-height:1.04;color:#fff;margin:0 0 14px}
.services-hero-copy h1 span{color:#ffdc21}
.services-hero-copy .lead{max-width:540px;color:#fff;font-size:clamp(1rem,1.8vw,1.35rem);line-height:1.35;margin:0}
.services-hero-photo{min-height:300px;background-image:linear-gradient(90deg,#2b0b91 0%,transparent 22%),url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1400&q=85');background-size:cover;background-position:center 42%;border-left:8px solid #ffdc21;border-radius:48% 0 0 48%}
.hero-promises{display:flex;gap:24px;flex-wrap:wrap;list-style:none;padding:0;margin:20px 0 0}
.hero-promises li{font-weight:800;color:#fff}
.hero-promises li:before{content:'✓';display:inline-grid;place-items:center;width:27px;height:27px;margin-right:8px;border-radius:50%;background:#ffdc21;color:#210b78}
.services-showcase{margin:22px 0 30px}
.services-showcase .section-band{min-height:56px;margin-bottom:14px;padding:10px 18px;border-radius:13px;background:linear-gradient(100deg,#4c0fa8,#7628d8)}
.services-showcase .section-band h2{font-size:clamp(1.1rem,2vw,1.5rem)}
.pest-showcase{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pest-showcase .tile{border-radius:14px;border-color:#e5def5;box-shadow:0 2px 6px rgba(34,18,77,.12)}
.pest-showcase .tile .art{aspect-ratio:1.68/1}
.pest-showcase .tile .tx{padding:20px 13px 13px}
.pest-showcase .tile b{font-size:clamp(.95rem,1.25vw,1.12rem);line-height:1.18}
.pest-showcase .tile small{font-size:.88rem;min-height:3.4em;color:#2f2942}
.pest-showcase .tile em{min-width:140px;margin-top:12px;padding:8px 16px}
.other-services-feature{grid-template-columns:.9fr 1.45fr 1fr;gap:22px;min-height:220px;margin:22px 0 14px;padding:18px;border-radius:18px;background:linear-gradient(110deg,#f0e9ff,#faf7ff);border:1px solid #e7dcff}
.other-copy{align-self:center}
.other-copy h2{font-size:clamp(1.5rem,2.7vw,2.2rem);line-height:1.1}
.other-copy p,.appliance-copy p{font-size:1rem;line-height:1.4}
.appliance-photo{min-height:195px;align-self:stretch}
.appliance-photo img{height:100%;min-height:195px;max-height:250px}
.appliance-copy{align-self:center}
.appliance-copy h3{font-size:clamp(1.25rem,2vw,1.7rem)}
.photo-caption{display:none}
.feature-link{min-width:145px}
.services-trustbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:center;gap:10px;margin:18px -20px 8px;padding:18px 20px;background:#fbfaff;border-top:1px solid #eee8fa;border-bottom:1px solid #eee8fa}
.services-trustbar>div{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;text-align:center;border-right:1px solid #e4dcf3;color:#17104d;font-size:.86rem;font-weight:700;line-height:1.25}
.services-trustbar>div b{font-size:1.8rem;color:#4e18b5}
.trust-whatsapp{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border-radius:999px;background:#08ad45;color:white;text-decoration:none;font-weight:800;line-height:1.2}
.trust-whatsapp:first-letter{font-size:1.6rem}
@media(max-width:760px){
 main{padding-left:14px;padding-right:14px}
 .services-hero{grid-template-columns:1fr;margin:0 -14px 22px;min-height:0}
 .services-hero-copy{padding:26px 22px 20px}
 .services-hero-photo{min-height:210px;border-left:0;border-top:6px solid #ffdc21;border-radius:40% 0 0 0;background-position:center 40%}
 .pest-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .pest-showcase .tile .art{aspect-ratio:1.55/1}
 .pest-showcase .tile small{font-size:.8rem;min-height:3.2em}
 .other-services-feature{grid-template-columns:1fr 1.15fr;gap:12px;padding:13px}
 .other-copy{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}
 .other-copy .other-mark{grid-row:span 2}
 .other-copy h2{margin:0}
 .other-copy p{margin:2px 0}
 .appliance-photo{min-height:170px}
 .appliance-photo img{min-height:170px}
 .appliance-copy h3{font-size:1.12rem}
 .appliance-copy p{font-size:.86rem}
 .appliance-copy .feature-link{font-size:.78rem;padding:8px 12px;min-width:0}
 .services-trustbar{grid-template-columns:repeat(2,minmax(0,1fr));margin-left:-14px;margin-right:-14px;padding:14px;gap:8px}
 .services-trustbar>div{font-size:.78rem;border-right:0}
 .trust-whatsapp{grid-column:1/-1}
}
@media(max-width:390px){
 .other-services-feature{grid-template-columns:1fr}
 .other-copy{grid-column:auto}
 .appliance-photo,.appliance-photo img{min-height:185px}
}

/* Cache-busted reference layout overrides */
html body main .services-hero{display:grid!important;grid-template-columns:1fr 1fr!important;min-height:300px!important;background:linear-gradient(110deg,#10066d 0%,#2b0b91 52%,#4b17b5 53%)!important;color:#fff!important}
html body main .services-hero-copy h1{color:#fff!important;font-size:clamp(2.5rem,5.5vw,4.5rem)!important}
html body main .services-hero-copy h1 span{color:#ffdc21!important}
html body main .services-hero-photo{display:block!important;min-height:300px!important}
html body main .hero-promises{display:flex!important;list-style:none!important}
html body main .hero-promises li:before{content:'✓';display:inline-grid;place-items:center;background:#ffdc21;color:#210b78;border-radius:50%;width:27px;height:27px;margin-right:8px}
html body main .services-trustbar{display:grid!important}
@media(max-width:760px){
 html body main .services-hero{grid-template-columns:1fr!important;min-height:0!important}
 html body main .services-hero-photo{min-height:210px!important}
 html body main .pest-showcase{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body main .other-services-feature{grid-template-columns:1fr 1.15fr!important}
 html body main .services-trustbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* Mobile repair: stack the Other Services feature cleanly; prevent the copy and image from collapsing */
@media(max-width:760px){
 html body main .other-services-feature{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:14px!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
 }
 html body main .other-services-feature .other-copy{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
 }
 html body main .other-services-feature .other-copy h2,
 html body main .other-services-feature .other-copy p,
 html body main .other-services-feature .other-copy .feature-link{
  min-width:0!important;
  overflow-wrap:anywhere!important;
 }
 html body main .other-services-feature .appliance-photo{
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  min-height:190px!important;
  height:190px!important;
  overflow:hidden!important;
  border-radius:14px!important;
  text-decoration:none!important;
 }
 html body main .other-services-feature .appliance-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:190px!important;
  max-height:none!important;
  object-fit:cover!important;
 }
 html body main .other-services-feature .appliance-copy{
  display:block!important;
  width:100%!important;
  min-width:0!important;
 }
}


/* Definitive mobile layout repair for the Other Services feature.
   Reset inherited shell/grid rules that were collapsing the CTA and image. */
@media (max-width: 760px) {
  html body main .other-services-feature,
  body.stm-chrome main .other-services-feature {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  html body main .other-services-feature > *,
  body.stm-chrome main .other-services-feature > * {
    position: relative !important;
    float: none !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  html body main .other-services-feature .other-copy,
  body.stm-chrome main .other-services-feature .other-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  html body main .other-services-feature .other-copy h2,
  html body main .other-services-feature .other-copy p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  html body main .other-services-feature .other-copy .feature-link,
  html body main .other-services-feature .appliance-copy .feature-link {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 11px 20px !important;
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    transform: none !important;
  }
  html body main .other-services-feature .appliance-photo,
  body.stm-chrome main .other-services-feature .appliance-photo {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    margin: 0 !important;
  }
  html body main .other-services-feature .appliance-photo img,
  body.stm-chrome main .other-services-feature .appliance-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 42% !important;
  }
  html body main .other-services-feature .appliance-copy,
  body.stm-chrome main .other-services-feature .appliance-copy {
    display: block !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Final mobile hardening: prevent shell link rules from collapsing feature content */
@media(max-width:760px){
  html body main .other-services-feature{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:16px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  html body main .other-services-feature .other-copy{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    grid-column:auto!important;
    grid-template-columns:none!important;
    overflow:visible!important;
  }
  html body main .other-services-feature .other-copy .other-mark{font-size:1.8rem!important;line-height:1!important}
  html body main .other-services-feature .other-copy h2,
  html body main .other-services-feature .other-copy p{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  html body main .other-services-feature .other-copy .feature-link,
  html body main .other-services-feature .appliance-copy .feature-link{
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:44px!important;
    padding:10px 20px!important;
    white-space:nowrap!important;
    word-break:keep-all!important;
    overflow-wrap:normal!important;
    text-decoration:none!important;
    box-sizing:border-box!important;
  }
  html body main .other-services-feature .appliance-photo{
    display:block!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    height:210px!important;
    min-height:210px!important;
    margin:0!important;
    overflow:hidden!important;
    border-radius:14px!important;
    background:#e9e2f6!important;
    box-sizing:border-box!important;
  }
  html body main .other-services-feature .appliance-photo img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:cover!important;
  }
  html body main .other-services-feature .appliance-copy{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    overflow:visible!important;
  }
}
@media(min-width:761px){
  html body main .other-services-feature{align-items:stretch!important}
  html body main .other-services-feature>*{min-width:0!important}
  html body main .other-services-feature .feature-link{white-space:nowrap!important;max-width:100%!important}
}
