/* Texas Alarms — cinematic redesign / phase 23 preview */
:root{--maroon:#7b1730;--red:#c52b48;--maroon-dark:#11151c;--ink:#18202a;--paper:#f3f4f5;--container:1240px}
body{background:#f7f8fa;color:#1b2029;overflow-x:hidden}
.site-header{background:rgba(255,255,255,.97);backdrop-filter:blur(18px);box-shadow:0 8px 35px #1118270a}
.nav-wrap{min-height:88px}.brand-logo{max-height:65px;object-fit:contain}.primary-nav{gap:27px}.primary-nav>a{transition:color .25s}.primary-nav>a:hover{color:#a51f3c}.nav-cta,.btn-primary{background:#a21e3b;border-radius:50px;box-shadow:0 8px 22px #7b173030}.btn{border-radius:50px;padding:0 27px;min-height:53px;transition:transform .3s,box-shadow .3s,background .3s}.btn:hover{transform:translateY(-4px);box-shadow:0 12px 28px #0002}
.hero{min-height:min(850px,90vh);background:#0d1420}.hero-photo{inset:0;background-image:url('../images/alarm-response-team-road.jpg');background-position:center 46%;filter:brightness(1.18) saturate(1.08) contrast(1.03);animation:texas-hero-zoom 22s ease-in-out infinite alternate}.hero-shade{background:linear-gradient(90deg,#10151fce 0%,#10151fa8 32%,#10151f36 64%,#10151f08 100%),linear-gradient(0deg,#10151f65,transparent 45%)}.hero-content{padding-top:100px;padding-bottom:115px}.hero h1{font-size:clamp(52px,6.5vw,100px);max-width:850px;line-height:1.01;letter-spacing:-.07em}.hero h1 em{color:#ff667e}.hero-content>p{max-width:570px;font-size:17px;color:#f2e9eb}.hero .eyebrow{font-size:11px;letter-spacing:.22em}.hero-trust{margin-top:65px}.hero-side-label{right:35px;bottom:70px}
.proof-strip{background:#111820;color:#fff}.proof-grid>div{border-color:#ffffff1f}.proof-grid strong,.proof-grid small{color:#fff}.proof-symbol{color:#ff8296}
.section{padding:110px 0}.section-heading h2,.why-section h2,.contact-section h2{font-size:clamp(40px,4.7vw,66px);letter-spacing:-.06em}.section-heading{margin-bottom:48px}.section h2 em{color:#a51f3c}.eyebrow.dark{color:#9c203d}.services-section{background:#f7f8fa}.service-grid{gap:22px}.service-card{min-height:420px;border-radius:15px;box-shadow:0 15px 35px #11182714;transition:transform .4s,box-shadow .4s}.service-card:hover{transform:translateY(-9px);box-shadow:0 24px 45px #1118272b}.service-card img{transition:transform .9s cubic-bezier(.2,.7,.2,1);filter:saturate(.85)}.service-card:hover img{transform:scale(1.1)}.service-card:after{background:linear-gradient(0deg,#080c12f2 0%,#080c1270 44%,#080c1205 90%)}.service-card-copy{left:27px;right:27px;bottom:30px}.service-card h3{font-size:25px}.service-card p{font-size:13px}.service-card-more{display:inline-block;margin-top:16px;color:#ffb1bd;font-weight:800;letter-spacing:.04em}
.feature-band{background:#131923}.feature-image{filter:saturate(.85);background-image:url('../images/alarm-response-team.jpg')}.feature-copy{padding-top:100px;padding-bottom:100px}.feature-copy h2{font-size:clamp(40px,4.5vw,64px)}.why-section{background:white}.approach-list article{transition:transform .3s,background .3s;border-radius:12px}.approach-list article:hover{transform:translateX(8px);background:#faf2f4}
.service-detail-hero{min-height:650px;background:#121820}.service-detail-shade{background:linear-gradient(90deg,#10151ff2,#10151fca 45%,#10151f42)}.service-detail-image{filter:saturate(.8);transition:transform 1.2s}.service-detail-hero:hover .service-detail-image{transform:scale(1.025)}.service-detail-content h1{font-size:clamp(48px,6vw,84px);letter-spacing:-.065em}.service-detail-panel{border-top-color:#9d2540;border-radius:14px;box-shadow:0 12px 32px #0000000c}.service-link-grid a{border-radius:10px;transition:transform .3s,box-shadow .3s}.service-link-grid a:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0000000d}
.contact-section{background:#f0f2f5}.enquiry-form{border-radius:16px;box-shadow:0 18px 60px #11182712}.site-footer{background:#111820}.whatsapp-float{box-shadow:0 12px 35px #0003}
.texas-scroll-progress{position:fixed;z-index:1000;left:0;top:0;width:0;height:3px;background:linear-gradient(90deg,#8d1732,#ff7b8c);pointer-events:none}.texas-reveal{opacity:0;transform:translateY(35px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}.texas-reveal.is-visible{opacity:1;transform:none}.texas-reveal .service-card{transition-delay:0s}
.texas-scroll-cue{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:12px;color:#fff;font-size:10px;letter-spacing:.22em;font-weight:800}.texas-scroll-cue:before{content:'';width:34px;height:1px;background:#ff7890}.texas-scroll-cue:after{content:'↓';font-size:18px;animation:texas-bob 2s ease-in-out infinite}
@keyframes texas-hero-zoom{from{transform:scale(1)}to{transform:scale(1.11)}}@keyframes texas-bob{50%{transform:translateY(7px)}}
@media(max-width:980px){.service-card{min-height:350px}.hero{min-height:720px}}
@media(max-width:760px){.nav-wrap{min-height:72px}.hero{min-height:700px}.hero-photo{inset:0;background-position:58% center}.hero-shade{background:linear-gradient(0deg,#10151fe8 0%,#10151f9c 53%,#10151f12 100%)}.hero-content{padding-top:100px;padding-bottom:85px}.hero h1{font-size:clamp(44px,12vw,68px)}.hero-content>p{font-size:14px}.hero-trust{margin-top:32px}.texas-scroll-cue{display:none}.service-grid{gap:14px}.service-card{min-height:360px}.section{padding:68px 0}.feature-copy{padding:65px 24px}.service-detail-hero{min-height:620px}.service-detail-shade{background:linear-gradient(0deg,#10151ff7,#10151f9c 68%,#10151f50)}.service-detail-content h1{font-size:clamp(42px,11vw,60px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.texas-reveal{opacity:1;transform:none}}

/* Hero text and visibility refinement */
.hero h1{font-size:clamp(44px,5.6vw,78px);max-width:950px;line-height:1.07;letter-spacing:-.055em;text-shadow:0 3px 22px #0007}.hero-content>p{text-shadow:0 2px 12px #0009}.hero-photo{background-position:center 43%}@media(max-width:760px){.hero h1{font-size:clamp(38px,10vw,60px);max-width:100%}.hero-photo{background-position:61% center}}

/* Texas Alarms photo slideshow — five original client photos */
.hero{position:relative;min-height:650px;overflow:hidden;background:#1a2730}
.texas-hero-slides,.texas-hero-slide{position:absolute;inset:0}
.texas-hero-slides{z-index:0;overflow:hidden}
.texas-hero-slide{opacity:0;background-size:cover;background-position:center 42%;filter:brightness(1.15) saturate(1.16) contrast(1.03);transition:opacity 1.15s ease;transform:scale(1.025)}
.texas-hero-slide.is-active{opacity:1;animation:texas-slide-drift 8s ease-out both}
.texas-hero-slide:nth-child(2){background-position:center 40%}
.texas-hero-slide:nth-child(3){background-position:center 42%}
.texas-hero-slide:nth-child(4){background-position:center 36%}
.texas-hero-slide:nth-child(5){background-position:center 48%}
.hero-photo{display:none!important}
.hero-shade{z-index:1;background:linear-gradient(90deg,rgba(8,19,31,.77) 0%,rgba(8,19,31,.45) 39%,rgba(8,19,31,.04) 78%),linear-gradient(0deg,rgba(8,19,31,.25),transparent 55%)}
.hero-content{position:relative;z-index:2;padding-top:105px;padding-bottom:105px}
.hero .eyebrow{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.3;letter-spacing:.15em;max-width:none;margin-bottom:22px}
.hero h1{font-size:clamp(34px,4.1vw,58px)!important;line-height:1.15!important;letter-spacing:-.035em!important;max-width:700px!important;margin:0 0 20px!important;font-weight:750}
.hero-content>p{font-size:clamp(15px,1.3vw,17px);line-height:1.7;max-width:540px;margin-top:0}
.hero-trust{margin-top:45px}
.texas-hero-controls{position:absolute;z-index:5;right:5%;bottom:32px;display:flex;align-items:center;gap:10px;color:white;font-size:13px;font-weight:650}
.texas-hero-controls button{border:1px solid #ffffff90;background:#10202b78;color:white;min-width:39px;height:39px;border-radius:30px;cursor:pointer;font-size:22px;backdrop-filter:blur(6px)}
.texas-hero-controls button:focus-visible{outline:3px solid #ffcccb;outline-offset:3px}
.texas-hero-controls .texas-slide-toggle{font-size:12px;padding:0 12px}
.texas-slide-count{font-variant-numeric:tabular-nums;min-width:58px;text-align:center}
@keyframes texas-slide-drift{from{transform:scale(1.025)}to{transform:scale(1.065)}}
@media(max-width:760px){.hero{min-height:680px}.hero-content{padding-top:105px;padding-bottom:125px}.hero h1{font-size:clamp(32px,8vw,44px)!important;max-width:95%!important}.hero-shade{background:linear-gradient(0deg,rgba(8,19,31,.85),rgba(8,19,31,.43) 67%,rgba(8,19,31,.12))}.texas-hero-slide{background-position:center center!important}.texas-hero-controls{bottom:18px;right:18px}.hero-side-label{display:none}.hero-trust{margin-top:28px}}
@media(prefers-reduced-motion:reduce){.texas-hero-slide.is-active{animation:none}.texas-hero-slide{transition:none}}

/* Uniform 16:9 regenerated hero photographs — no portrait frames */
.texas-hero-slide{background-size:cover;background-position:center center!important;filter:none;transform:none}
.texas-hero-slide::before,.texas-hero-slide::after{content:none!important;display:none!important}
.texas-hero-slide.is-active{animation:none}
.hero-shade{background:linear-gradient(90deg,rgba(9,21,33,.80) 0%,rgba(9,21,33,.48) 34%,rgba(9,21,33,.05) 78%)}
@media(max-width:760px){.texas-hero-slide{background-position:58% center!important}.hero-shade{background:linear-gradient(0deg,rgba(9,21,33,.88),rgba(9,21,33,.40) 76%,rgba(9,21,33,.16))}}

/* FIX: consistent uncropped photography across all five hero slides.
   The hero canvas is 16:9 on desktop, matching source images exactly.
   Mobile uses contain, not cover, to preserve complete faces and heads. */
.hero{min-height:0!important;aspect-ratio:16 / 9;display:flex;align-items:center}
.texas-hero-slide,.texas-hero-slide:nth-child(n){background-size:contain!important;background-position:center center!important;background-repeat:no-repeat!important;background-color:#17232e!important;transform:none!important;animation:none!important}
.texas-hero-slide.is-active{animation:none!important}
.hero-content{padding-top:90px!important;padding-bottom:90px!important}
@media (max-width:1050px){.hero{aspect-ratio:auto;min-height:570px!important}}
@media (max-width:760px){
 .hero{min-height:640px!important;align-items:flex-end}
 .texas-hero-slides{height:46%;bottom:auto;top:0;overflow:hidden}
 .texas-hero-slide,.texas-hero-slide:nth-child(n){background-size:contain!important;background-position:center center!important}
 .hero-shade{background:linear-gradient(0deg,#10202d 0%,rgba(16,32,45,.94) 44%,rgba(16,32,45,.10) 75%)}
 .hero-content{padding-top:300px!important;padding-bottom:100px!important}
}
