/*
 * Smart Home page (template-pages/temp_smart_home.php)
 * Everything is scoped under .shp so it can't leak into the rest of the site.
 * Colours follow css/style.css: #305fac primary, #6ca8d2 secondary, #e2eef6 light.
 */

/* Undo theme base rules (css/style.css sets colour/weight/size on div, p, a, li, h1, h2). */
.shp{font-family:"Montserrat",sans-serif;color:var(--ink);font-size:17px;line-height:1.6;letter-spacing:.2px;background:#fff;clear:both}
.shp div,.shp p,.shp a,.shp li,.shp ul,.shp ol,.shp span,.shp figure,.shp figcaption,.shp blockquote{color:inherit;font-weight:inherit}
.shp p{font-size:inherit;line-height:inherit;letter-spacing:inherit}
.shp img{max-width:100%;height:auto;display:block}
.shp :focus-visible{outline:3px solid #f79320;outline-offset:2px}

/* The theme renders the featured image as a full-width banner above the content;
   on this page it is used as the hero visual instead. */
.shp-page .inner-contact-banner{display:none}

.shp{--blue:#305fac; --blue-dark:#1f3b78; --navy:#14264d; --sky:#6ca8d2; --ice:#e2eef6;
  --ink:#1b1f2a; --muted:#4a5468; --line:#d6e2ee; --white:#fff; --amber:#f79320;}
.shp h1,.shp h2,.shp h3,.shp h4{margin:0;color:var(--blue);font-weight:700;line-height:1.15;letter-spacing:.3px}
.shp p{margin:0 0 14px}
.shp .shp-container{width:1170px;max-width:calc(100% - 32px);margin:0 auto}
.shp .shp-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 16px/1.2 "Montserrat",sans-serif;text-transform:uppercase;letter-spacing:.4px;padding:15px 26px;border:1px solid var(--blue);text-decoration:none;cursor:pointer;transition:background .25s,color .25s;text-align:center}
.shp .shp-btn-primary{background:var(--sky);color:#fff}
.shp .shp-btn-primary:hover{background:var(--blue)}
.shp .shp-btn-ghost{background:transparent;color:var(--blue)}
.shp .shp-btn-ghost:hover{background:var(--ice)}
.shp .shp-btn-light{background:#fff;color:var(--blue);border-color:#fff}
.shp .shp-btn-light:hover{background:var(--ice)}
.shp .shp-btn-outline-light{background:transparent;border-color:rgba(255,255,255,.6);color:#fff}
.shp .shp-btn-outline-light:hover{background:rgba(255,255,255,.08)}
.shp .shp-btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.shp .shp-textlink{font-weight:600;font-size:15px;text-transform:uppercase;letter-spacing:.6px;color:var(--blue);text-decoration:none;border-bottom:2px solid var(--sky);padding-bottom:2px}
.shp .shp-textlink:hover{color:var(--navy)}
.shp section{padding:84px 0}
.shp .shp-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--sky);margin-bottom:12px}
.shp .shp-sec-head{max-width:760px;margin-bottom:40px}
.shp .shp-sec-head.shp-center{text-align:center;margin-left:auto;margin-right:auto}
.shp .shp-sec-head h2{font-size:38px}
.shp .shp-sec-head .shp-sub{font-size:20px;font-weight:600;color:var(--ink);margin-top:10px}
.shp .shp-flush{margin-bottom:0}
.shp .shp-center-cta{text-align:center;margin-top:34px}
.shp .shp-bg-ice{background:var(--ice)}
.shp .shp-bg-navy{background:var(--navy);color:#fff}
.shp .shp-bg-navy h2,.shp .shp-bg-navy h3{color:#fff}
.shp .shp-bg-navy .shp-sec-head .shp-sub{color:var(--sky)}

/* Editors only: content the brief says must still be supplied */
.shp .shp-placeholder{background:repeating-linear-gradient(-45deg,#fffaf2,#fffaf2 8px,#fff3e3 8px,#fff3e3 16px);border:1px dashed #e0a24f;color:#7a4300;padding:10px 12px;font-size:13px;margin-bottom:14px;text-align:left}
.shp .shp-placeholder code{font-size:12px}
.shp .shp-missing{background-image:repeating-linear-gradient(-45deg,transparent,transparent 6px,rgba(224,162,79,.25) 6px,rgba(224,162,79,.25) 12px);outline:2px dashed #e0a24f;outline-offset:2px;cursor:help}

/* 1. Hero */
.shp .shp-hero{padding:64px 0 72px;background:linear-gradient(180deg,#f4f8fc 0%,#fff 100%)}
.shp .shp-hero .shp-grid{display:grid;grid-template-columns:55fr 45fr;gap:56px;align-items:center}
.shp .shp-hero h1{font-size:50px;line-height:1.08;color:var(--navy)}
.shp .shp-hero h1 span{color:var(--blue)}
.shp .shp-tagline{font-size:21px;font-weight:600;color:var(--blue);margin:20px 0 10px}
.shp .shp-hero .shp-lead{font-size:19px;color:var(--muted);max-width:540px}
.shp .shp-hero-visual{position:relative}
.shp .shp-hero-visual img{width:100%;aspect-ratio:4/3.4;object-fit:cover;border-radius:4px}
.shp .shp-alert-chip{position:absolute;left:-28px;bottom:28px;background:#fff;border-radius:6px;box-shadow:0 12px 30px rgba(20,38,77,.18);padding:14px 18px;display:flex;gap:12px;align-items:center;max-width:300px}
.shp .shp-alert-chip .shp-dot{width:38px;height:38px;border-radius:50%;background:var(--ice);display:grid;place-items:center;flex:none}
.shp .shp-alert-chip small{display:block;color:var(--muted);font-size:12px}
.shp .shp-alert-chip b{font-size:14px}

/* 2. Problem */
.shp .shp-problem .shp-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.shp .shp-problem img{border-radius:4px;width:100%;aspect-ratio:16/11;object-fit:cover;object-position:78% 50%}
.shp .shp-questions{list-style:none;padding:0;margin:26px 0 18px;display:grid;gap:10px}
.shp .shp-questions li{background:#fff;border-left:4px solid var(--sky);padding:14px 18px;font-size:20px;font-weight:700;color:var(--navy)}
.shp .shp-statement{font-size:19px;font-weight:600;color:var(--blue);margin:0}

/* 3. Everyday value */
.shp .shp-values{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.shp .shp-values div{border-top:4px solid var(--blue);background:#f6f9fc;padding:24px 22px}
.shp .shp-values h3{font-size:21px;color:var(--navy);margin-bottom:4px}
.shp .shp-values p{margin:0;color:var(--muted)}

/* 4–5. Card grids */
.shp .shp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.shp .shp-tile{background:#fff;border:1px solid var(--line);padding:26px 24px}
.shp .shp-tile .shp-ti{width:46px;height:46px;border-radius:8px;background:var(--ice);display:grid;place-items:center;margin-bottom:14px}
.shp .shp-tile h3{font-size:20px;color:var(--navy);margin-bottom:6px}
.shp .shp-tile p{margin:0;color:var(--muted);font-size:15px}
.shp .shp-device{background:#fff;border:1px solid var(--line);border-left:5px solid var(--blue);padding:24px}
.shp .shp-device .shp-device-name{font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--sky);margin:0 0 6px}
.shp .shp-device h3{font-size:21px;color:var(--navy);margin-bottom:6px}
.shp .shp-device p{margin:0;color:var(--muted);font-size:15px}

/* 6. How it works */
.shp .shp-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr)}
.shp .shp-steps li{position:relative;padding:30px 28px;background:#fff;border:1px solid var(--line)}
.shp .shp-steps li+li{border-left:0}
.shp .shp-steps li:nth-child(2){background:#f6f9fc}
.shp .shp-steps .shp-n{font-size:13px;font-weight:700;color:var(--sky);letter-spacing:1.5px}
.shp .shp-steps h3{font-size:26px;color:var(--navy);margin:6px 0}
.shp .shp-steps p{margin:0;color:var(--muted)}
.shp .shp-steps li:not(:last-child)::after{content:"→";position:absolute;right:-16px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;z-index:2;font-weight:700}

/* 7. Automation */
.shp .shp-autos{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.shp .shp-auto{background:linear-gradient(160deg,#f4f8fc 0%,var(--ice) 100%);padding:30px 26px;border-radius:4px}
.shp .shp-auto-time{display:inline-block;font-size:13px;font-weight:700;letter-spacing:1px;color:var(--blue);background:#fff;padding:4px 10px;border-radius:20px;margin-bottom:16px}
.shp .shp-auto h3{font-size:24px;color:var(--navy);margin-bottom:6px}
.shp .shp-auto p{margin:0;color:var(--muted)}

/* 8. Connected protection */
.shp .shp-together{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(255,255,255,.15)}
.shp .shp-together div{padding:26px 22px}
.shp .shp-together div+div{border-left:1px solid rgba(255,255,255,.15)}
.shp .shp-together .shp-current{background:rgba(108,168,210,.16)}
.shp .shp-together h3{font-size:19px;margin-bottom:6px}
.shp .shp-together h3 a{color:#fff;text-decoration:none}
.shp .shp-together h3 a:hover{color:var(--sky)}
.shp .shp-together p{margin:0;color:#c9d6ea;font-size:15px}
.shp .shp-closing{text-align:center;font-size:26px;font-weight:800;color:#fff;margin:36px 0 0}

/* 9. Why AlarmTek */
.shp .shp-why-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.shp .shp-why-grid img{width:100%;aspect-ratio:4/3.4;object-fit:cover;border-radius:4px}
.shp .shp-proofs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.shp .shp-proofs div{border-top:3px solid var(--blue);background:#f6f9fc;padding:18px}
.shp .shp-proofs h3{font-size:18px;color:var(--navy);margin-bottom:4px}
.shp .shp-proofs p{margin:0;font-size:15px;color:var(--muted)}

/* 10. Reviews */
.shp .shp-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.shp .shp-review{margin:0;background:#fff;border:1px solid var(--line);padding:22px 26px;text-align:center}
.shp .shp-review .shp-topic{font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--blue);margin:0}

/* 11. FAQ */
.shp .shp-faq{max-width:860px;margin:0 auto}
.shp .shp-faq h3{margin:0}
.shp .shp-faq button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);padding:20px;font:600 18px "Montserrat",sans-serif;color:var(--navy);cursor:pointer}
.shp .shp-faq button:hover{color:var(--blue)}
.shp .shp-faq button .shp-ic{flex:none;width:28px;height:28px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--blue);transition:transform .2s}
.shp .shp-faq button[aria-expanded="true"] .shp-ic{transform:rotate(45deg);background:var(--blue);color:#fff;border-color:var(--blue)}
.shp .shp-faq .shp-ans{background:#fff;padding:0 20px 20px;color:var(--muted);border-bottom:1px solid var(--line)}
.shp .shp-faq .shp-ans[hidden]{display:none}
.shp .shp-faq .shp-ans p:last-child{margin:0}

/* 12. Final CTA */
.shp .shp-final{background:linear-gradient(120deg,var(--navy) 0%,var(--blue-dark) 100%);color:#fff;text-align:center}
.shp .shp-final h2{color:#fff;font-size:44px}
.shp .shp-final .shp-sub{font-size:21px;font-weight:600;color:#d6e6f7;margin:14px auto 6px;max-width:720px}
.shp .shp-final .shp-btn-row{justify-content:center}

.shp [id]{scroll-margin-top:90px}

@media (max-width:1100px){
  .shp .shp-values{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .shp section{padding:60px 0}
  .shp .shp-hero .shp-grid,.shp .shp-problem .shp-grid,.shp .shp-why-grid{grid-template-columns:1fr;gap:32px}
  .shp .shp-hero h1{font-size:36px}
  .shp .shp-sec-head h2{font-size:30px}
  .shp .shp-alert-chip{left:12px;bottom:12px}
  .shp .shp-cards{grid-template-columns:1fr 1fr}
  .shp .shp-autos,.shp .shp-reviews{grid-template-columns:1fr}
  .shp .shp-together{grid-template-columns:1fr 1fr}
  .shp .shp-together div:nth-child(3){border-left:0}
  .shp .shp-together div:nth-child(n+3){border-top:1px solid rgba(255,255,255,.15)}
  .shp .shp-steps{grid-template-columns:1fr}
  .shp .shp-steps li+li{border-left:1px solid var(--line);border-top:0}
  .shp .shp-steps li:not(:last-child)::after{content:"↓";right:auto;left:50%;top:auto;bottom:-16px;transform:translateX(-50%)}
  .shp .shp-closing{font-size:22px}
}
@media (max-width:600px){
  .shp .shp-cards,.shp .shp-values,.shp .shp-proofs,.shp .shp-together{grid-template-columns:1fr}
  .shp .shp-together div+div{border-left:0;border-top:1px solid rgba(255,255,255,.15)}
  .shp .shp-btn{width:100%}
  .shp .shp-final h2{font-size:32px}
  .shp .shp-questions li{font-size:18px}
}

/* Desktop: the theme's nav bar overlaps ~54px of the first content block. */
@media (min-width:1170px){
  .shp .shp-hero{padding-top:118px}
}
@media (prefers-reduced-motion:reduce){
  .shp *{transition:none!important}
}
