/*!
 * ============================================================
 *  DZ Security: assets/css/style.css
 *  Designed & Developed by OASIS
 *  Website : https://oasis.ind.in
 *  Email   : info@oasis.ind.in
 *  Phone   : +91 75269 95566
 * ============================================================
 */
/* ==========================================================
   DZ Security — Homepage redesign (html-1)
   Palette pulled from the DZ logo: charcoal + signal red
   ========================================================== */

:root {
  --red: #BC1830;
  --red-600: #9E1228;
  --red-50: #FBEDEE;
  --ink: #1C1A1B;
  --charcoal: #231F20;
  --night: #121012;
  --paper: #FBF8F5;
  --sand: #F3ECE6;
  --white: #FFFFFF;
  --muted: #6B6567;
  --line: rgba(35, 31, 32, .10);
  --ok: #2FBF71;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(35, 31, 32, .35);
  --shadow-sm: 0 10px 30px -14px rgba(35, 31, 32, .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; margin: 16px 0 18px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.red { color: var(--red); }

.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 14px 30px -12px rgba(188, 24, 48, .6);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--charcoal); transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--charcoal); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost::after { background: var(--charcoal); }
.btn.ghost:hover { --fg: #fff; color: #fff; }
.btn.light { --bg: #fff; --fg: var(--charcoal); box-shadow: none; }
.btn.light::after { background: var(--red); }
.btn.light:hover { color: #fff; }
.btn.sm { padding: 12px 20px; font-size: 15px; white-space: nowrap; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- top bar ---------- */
.topbar { background: var(--charcoal); color: rgba(255,255,255,.75); font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar .tb-left a { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 15px; height: 15px; color: var(--red); }
.topbar .tb-right span { color: rgba(255,255,255,.4); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 245, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(35,31,32,.35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height .35s var(--ease); }
.header.scrolled .wrap { height: 74px; }
.brand img { height: 62px; width: auto; transition: height .35s var(--ease); }
.header.scrolled .brand img { height: 52px; }

.nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav > li { list-style: none; position: relative; }
.nav ul { margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 15.5px; white-space: nowrap;
  transition: background .25s, color .25s;
}
.nav-link:hover, .nav > li:focus-within > .nav-link { background: var(--white); color: var(--red); }
.nav-link svg { width: 14px; height: 14px; transition: transform .3s; }
.nav > li:hover .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px;
  background: #fff; border-radius: 18px; padding: 10px; list-style: none;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: all .3s var(--ease);
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 15px; color: var(--muted); transition: background .2s, color .2s, padding .25s; }
.dropdown a:hover { background: var(--red-50); color: var(--red); padding-left: 20px; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 70px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(35,31,32,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero-badge b { background: var(--red); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; margin: 26px 0 24px; letter-spacing: -.035em; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--red); }
.rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); transition: opacity .55s var(--ease), transform .55s var(--ease); white-space: nowrap; }
.rotator span.on { opacity: 1; transform: none; }
.rotator span.out { opacity: 0; transform: translateY(-60%); }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 36px 0 40px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-trust div { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14.5px; }
.hero-trust svg { width: 22px; height: 22px; color: var(--red); flex: none; }

.hero-visual { position: relative; aspect-ratio: 600 / 520; }
.hero-visual .house { position: relative; z-index: 2; width: 100%; height: 100%; }
.pulse { position: absolute; left: 50%; top: 52%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 1; }
.pulse i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(188,24,48,.35); animation: ring 4.5s var(--ease) infinite; }
.pulse i:nth-child(2) { animation-delay: 1.5s; } .pulse i:nth-child(3) { animation-delay: 3s; }
@keyframes ring { 0% { transform: scale(.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
.house .beam { transform-origin: 164px 262px; animation: sweep 6s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(14deg); } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow); font-size: 14px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite; animation-delay: var(--bd, 0s);
  will-change: transform;
}
.float-card .fc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.float-card .fc-ico svg { width: 20px; height: 20px; }
.float-card small { display: block; color: var(--muted); font-size: 12.5px; }
.float-card strong { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,191,113,.18); display: inline-block; margin-right: 6px; }
.fc-armed { top: 4%; left: -2%; }
.fc-lock { top: 40%; right: -4%; --bd: -2s; }
.fc-temp { bottom: 2%; left: 6%; --bd: -4s; }
.fc-cam { top: 6%; right: 2%; padding: 8px; flex-direction: column; align-items: stretch; gap: 8px; width: 170px; --bd: -3s; }
.fc-cam .thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; }
.fc-cam .thumb img { width: 100%; height: 100%; object-fit: cover; }
.live { position: absolute; top: 6px; left: 6px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.fc-cam .cap { display: flex; justify-content: space-between; font-size: 12.5px; padding: 0 4px 4px; }
.fc-cam .cap b { font-family: var(--font-head); font-weight: 600; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- partners marquee ---------- */
.partners { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.partners .wrap { display: flex; align-items: center; gap: 36px; }
.partners .label { flex: none; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; max-width: 150px; line-height: 1.4; }
.marquee { overflow: hidden; flex: 1; min-width: 0; width: 100%;mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: #B9B2B0; letter-spacing: -.01em; white-space: nowrap; transition: color .3s; }
.marquee-track span:hover { color: var(--charcoal); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- about / who we are ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-copy h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; margin: 16px 0 22px; }
.about-copy p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.about-copy .btn { margin-top: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat:nth-child(2) { transform: translateY(40px); }
.stat:nth-child(2):hover { transform: translateY(34px); }
.stat:nth-child(4) { transform: translateY(40px); }
.stat:nth-child(4):hover { transform: translateY(34px); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -.04em; }
.stat .num sup { font-size: 24px; color: var(--red); vertical-align: top; margin-left: 2px; }
.stat p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.stat.dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.stat.dark p { color: rgba(255,255,255,.65); }
.stat.red { background: var(--red); color: #fff; border-color: var(--red); }
.stat.red p { color: rgba(255,255,255,.8); }
.stat.red .num sup { color: #fff; }

/* ---------- services ---------- */
.services { background: var(--sand); border-radius: 48px; margin: 0 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc {
  --mx: 50%; --my: 50%;
  grid-column: span 2; position: relative; overflow: hidden; isolation: isolate;
  background: #fff; border-radius: var(--radius); padding: 34px 30px 30px;
  border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 320px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(188,24,48,.10), transparent 45%);
}
.svc:hover::before { opacity: 1; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc.wide { grid-column: span 3; }
.svc .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 26px; transition: transform .5s var(--ease), background .3s, color .3s; }
.svc:hover .ico { transform: rotate(-8deg) scale(1.06); background: var(--red); color: #fff; }
.svc .ico svg { width: 28px; height: 28px; }
.svc h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 15.5px; }
.svc ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.svc .more { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--red); }
.svc .more svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.svc:hover .more svg { transform: translateX(6px); }
.svc.feature { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.svc.feature p { color: rgba(255,255,255,.7); }
.svc.feature .ico { background: rgba(255,255,255,.08); color: #fff; }
.svc.feature li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.svc.feature::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(188,24,48,.35), transparent 50%); }
.svc-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #C9C1BE; }

/* ---------- automation / app ---------- */
.auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.phone-stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.phone-stage::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--red-50), transparent 70%); }
.phone {
  position: relative; width: 320px; max-width: 100%; border-radius: 46px; padding: 14px;
  background: var(--charcoal); box-shadow: 0 50px 80px -30px rgba(35,31,32,.55), inset 0 0 0 2px #3a3536;
}
.phone::before { content: ""; position: absolute; top: 24px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: var(--charcoal); border-radius: 20px; z-index: 2; }
.screen { background: var(--paper); border-radius: 34px; padding: 58px 18px 20px; min-height: 560px; }
.screen-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.screen-head small { color: var(--muted); font-size: 12.5px; display: block; }
.screen-head strong { font-family: var(--font-head); font-size: 20px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.arm {
  border-radius: 22px; padding: 18px; color: #fff; margin-bottom: 14px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--red-600)); transition: background .5s;
}
.arm.disarmed { background: linear-gradient(135deg, #5B5557, #3A3536); }
.arm small { opacity: .8; font-size: 12.5px; }
.arm .state { font-family: var(--font-head); font-weight: 700; font-size: 26px; margin: 2px 0 12px; }
.arm-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(0,0,0,.18); padding: 4px; border-radius: 12px; }
.arm-modes button { border: 0; background: transparent; color: rgba(255,255,255,.8); padding: 8px 0; border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.arm-modes button.on { background: #fff; color: var(--charcoal); }
.arm .shield { position: absolute; right: -10px; top: -10px; width: 110px; opacity: .14; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  background: #fff; border-radius: 18px; padding: 14px; border: 1px solid var(--line); text-align: left; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.tile:active { transform: scale(.96); }
.tile .t-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tile .t-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; transition: background .3s, color .3s; }
.tile .t-ico svg { width: 18px; height: 18px; }
.tile .sw { width: 34px; height: 20px; border-radius: 20px; background: #DDD6D3; position: relative; transition: background .3s; }
.tile .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tile strong { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.tile small { color: var(--muted); font-size: 12.5px; }
.tile.on { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.tile.on small { color: rgba(255,255,255,.6); }
.tile.on .t-ico { background: var(--red); color: #fff; }
.tile.on .sw { background: var(--ok); }
.tile.on .sw::after { transform: translateX(14px); }
.toast {
  position: absolute; left: 50%; bottom: 46px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--charcoal); color: #fff; font-size: 13px; padding: 10px 16px; border-radius: 12px; white-space: nowrap;
  transition: all .35s var(--ease); box-shadow: var(--shadow-sm); z-index: 4;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.check-list { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; gap: 18px; }
.check-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.check-list .ci { width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); }
.check-list .ci svg { width: 20px; height: 20px; }
.check-list strong { font-family: var(--font-head); font-weight: 600; font-size: 18px; display: block; margin-bottom: 2px; }
.check-list p { color: var(--muted); font-size: 15.5px; }
.hint { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.hint svg { width: 16px; height: 16px; color: var(--red); }

/* ---------- video monitoring (dark) ---------- */
.video { background: var(--night); color: #fff; overflow: hidden; }
.video::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 400px at 85% 0%, rgba(188,24,48,.28), transparent 60%),
              radial-gradient(600px 400px at 0% 100%, rgba(188,24,48,.12), transparent 60%);
}
.video .section-head p { color: rgba(255,255,255,.65); }
.video-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; position: relative; }
.monitor { background: #1E1B1D; border-radius: 26px; padding: 14px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 60px 100px -40px rgba(0,0,0,.8); }
.monitor-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 14px; font-size: 13px; color: rgba(255,255,255,.6); }
.monitor-bar .dots { display: flex; gap: 6px; }
.monitor-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A3536; }
.monitor-bar .dots i:first-child { background: var(--red); }
.rec { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: #fff; letter-spacing: .06em; }
.rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feed { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .3s; }
.feed img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s linear; }
.feed:hover img { transform: scale(1.12); }
.feed.night img { filter: grayscale(1) sepia(.3) hue-rotate(60deg) saturate(2.2) brightness(.85) contrast(1.15); }
.feed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.feed .scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.10), transparent); animation: scanline 5s linear infinite; pointer-events: none; z-index: 1; }
.feed:nth-child(2) .scan { animation-delay: -1.5s; } .feed:nth-child(3) .scan { animation-delay: -3s; } .feed:nth-child(4) .scan { animation-delay: -4s; }
@keyframes scanline { to { top: 110%; } }
.feed .meta { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; justify-content: space-between; font-size: 11.5px; font-family: ui-monospace, Menlo, Consolas, monospace; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.7); z-index: 2; }
.feed .live { z-index: 2; }
.feed .corner { position: absolute; inset: 10px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s; background:
  linear-gradient(#fff,#fff) top left / 16px 2px no-repeat, linear-gradient(#fff,#fff) top left / 2px 16px no-repeat,
  linear-gradient(#fff,#fff) top right / 16px 2px no-repeat, linear-gradient(#fff,#fff) top right / 2px 16px no-repeat,
  linear-gradient(#fff,#fff) bottom left / 16px 2px no-repeat, linear-gradient(#fff,#fff) bottom left / 2px 16px no-repeat,
  linear-gradient(#fff,#fff) bottom right / 16px 2px no-repeat, linear-gradient(#fff,#fff) bottom right / 2px 16px no-repeat; }
.feed:hover .corner, .feed.active .corner { opacity: 1; }
.feed.active { outline-color: var(--red); }
.vid-features { display: grid; gap: 14px; }
.vf { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.vf:hover { background: rgba(255,255,255,.07); border-color: rgba(188,24,48,.6); transform: translateX(6px); }
.vf .ci { width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(188,24,48,.18); color: #FF6B80; display: grid; place-items: center; }
.vf .ci svg { width: 22px; height: 22px; }
.vf strong { font-family: var(--font-head); font-weight: 600; font-size: 17px; display: block; margin-bottom: 2px; }
.vf p { color: rgba(255,255,255,.6); font-size: 14.5px; }
.video .btn { margin-top: 10px; }

/* ---------- why us / process ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; counter-reset: step; }
.why-line { position: absolute; top: 37px; left: 8%; right: 8%; height: 2px; background: var(--line); overflow: hidden; }
.why-line i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.why { position: relative; text-align: center; padding: 0 12px; }
.why .badge {
  width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--charcoal);
  transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease);
}
.why.lit .badge { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); }
.why h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.why p { color: var(--muted); max-width: 340px; margin: 0 auto; }
.upgrade {
  margin-top: 80px; border-radius: var(--radius); padding: 40px 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  background: #fff; border: 1px dashed rgba(188,24,48,.4);
}
.upgrade .u-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--red-50); color: var(--red); display: grid; place-items: center; }
.upgrade .u-ico svg { width: 30px; height: 30px; }
.upgrade h3 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.upgrade p { color: var(--muted); }

/* ---------- testimonials ---------- */
.testi { background: var(--sand); border-radius: 48px; margin: 0 16px; overflow: hidden; }
.testi-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.quote-mark { width: 74px; height: 74px; color: var(--red); margin-bottom: 10px; }
.slider { position: relative; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; background: #fff; border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateX(40px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none;
  display: flex; flex-direction: column;
}
.slide.on { opacity: 1; transform: none; pointer-events: auto; }
.slide blockquote { margin: 0 0 30px; font-family: var(--font-head); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 400; color: var(--ink); }
.slide .who { margin-top: auto; padding-top: 4px; display: flex; gap: 14px; align-items: center; }
.slide .who .av { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--charcoal); color: #fff; font-family: var(--font-head); font-weight: 700; }
.slide .who strong { font-family: var(--font-head); font-weight: 600; display: block; }
.slide .who small { color: var(--muted); }
.stars { display: flex; gap: 3px; color: #F2A93B; margin-bottom: 20px; }
.stars svg { width: 18px; height: 18px; }
.slider-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.slider-ctrl button.arrow { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.slider-ctrl button.arrow:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.slider-ctrl button.arrow svg { width: 20px; height: 20px; }
.pips { display: flex; gap: 8px; margin-left: 8px; }
.pips button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: #D4CBC7; cursor: pointer; padding: 0; transition: width .4s var(--ease), background .3s; }
.pips button.on { width: 34px; background: var(--red); }

/* ---------- blog ---------- */
.blog-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; }
.blog-head .section-head { margin-bottom: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post .ph { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .ph img { transform: scale(1.07); }
.post .tag { position: absolute; top: 16px; left: 16px; background: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .03em; }
.post .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; transition: color .3s; }
.post:hover h3 { color: var(--red); }
.post p { color: var(--muted); font-size: 15.5px; }
.post .more { margin-top: auto; padding-top: 22px; font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--charcoal); }
.post .more svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.post:hover .more svg { transform: translateX(6px); }

/* ---------- quote / CTA ---------- */
.cta { padding: 0 0 120px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 40px; background: var(--charcoal); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 70px;
}
.cta-box::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(188,24,48,.55), transparent 65%); pointer-events: none; }
.cta-box::after {
  content: ""; position: absolute; left: -60px; bottom: -120px; width: 360px; height: 360px; pointer-events: none;
  background: linear-gradient(135deg, transparent 49.5%, rgba(188,24,48,.9) 49.5%, rgba(188,24,48,.9) 62%, transparent 62%);
  opacity: .18;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; margin: 16px 0 18px; }
.cta-copy p { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 30px; }
.contact-lines { display: grid; gap: 14px; }
.contact-lines a, .contact-lines div { display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,.88); }
.contact-lines a:hover { color: #fff; }
.contact-lines .ci { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.07); display: grid; place-items: center; flex: none; color: #FF6B80; }
.contact-lines svg { width: 20px; height: 20px; }
.form { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 26px; padding: 34px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form h3 { grid-column: 1 / -1; font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--paper); border-radius: 14px; padding: 22px 16px 8px; outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s; font-size: 15.5px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field label { position: absolute; left: 17px; top: 15px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(188,24,48,.1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.field .chev { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.form .btn { grid-column: 1 / -1; width: 100%; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); text-align: center; }
.form-ok { grid-column: 1 / -1; display: none; text-align: center; padding: 30px 10px; }
.form.sent > *:not(.form-ok) { display: none; }
.form.sent .form-ok { display: block; animation: pop .6s var(--ease); }
.form-ok .tick { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: rgba(47,191,113,.12); color: var(--ok); display: grid; place-items: center; }
.form-ok .tick svg { width: 34px; height: 34px; }
.form-ok h3 { margin-bottom: 8px; }
.form-ok p { color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.65); padding: 90px 0 0; font-size: 15px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer .logo-chip { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 18px; margin-bottom: 22px; }
.footer .logo-chip img { height: 56px; width: auto; }
.footer h4 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { transition: color .25s; }
.footer a:hover { color: #fff; }
.footer ul a { display: inline-flex; align-items: center; gap: 8px; }
.footer ul a::before { content: ""; width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease); }
.footer ul a:hover::before { width: 12px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.logins { display: grid; gap: 10px; }
.logins a { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); transition: background .3s, border-color .3s; }
.logins a:hover { background: rgba(188,24,48,.15); border-color: rgba(188,24,48,.6); }
.logins svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom div { display: flex; gap: 22px; }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(188,24,48,.7); opacity: 0; transform: translateY(20px); transition: all .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; }
.to-top circle { transition: stroke-dashoffset .1s linear; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .mobile-nav {
    position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 110px 24px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-14px); transition: all .4s var(--ease);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav details { border-bottom: 1px solid var(--line); }
  .mobile-nav summary, .mobile-nav > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-family: var(--font-head); font-size: 22px; font-weight: 600; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); }
  .mobile-nav details summary { border-bottom: 0; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: "+"; color: var(--red); font-size: 26px; transition: transform .3s; }
  .mobile-nav details[open] summary::after { transform: rotate(45deg); }
  .mobile-nav details a { display: block; padding: 8px 4px 8px 14px; color: var(--muted); }
  .mobile-nav details div { padding-bottom: 14px; }
  .mobile-nav .btn { margin-top: 30px; width: 100%; }
  .hero-grid, .about-grid, .auto-grid, .video-grid, .testi-wrap, .cta-box { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin: 30px auto 0; width: 100%; }
  .auto-grid .phone-stage { order: 2; }
  .svc, .svc.wide { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 50px 40px; }
}
@media (min-width: 1181px) { .mobile-nav { display: none; } }

@media (max-width: 720px) {
  .topbar .tb-right { display: none; }
  .topbar .wrap { justify-content: center; }
  .section { padding: 84px 0; }
  .header .wrap { height: 78px; }
  .brand img { height: 50px; }
  .hero { padding: 40px 0 80px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .fc-lock { right: 0; } .fc-armed { left: 0; } .fc-cam { width: 132px; right: 0; top: -2%; }
  .fc-temp { display: none; }
  .float-card { padding: 9px 12px 9px 9px; font-size: 12.5px; border-radius: 14px; }
  .float-card .fc-ico { width: 32px; height: 32px; border-radius: 10px; }
  .float-card strong { font-size: 13.5px; }
  .partners .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partners .label { max-width: none; }
  .stats { gap: 12px; }
  .stat { padding: 24px 20px; }
  .stat .num { font-size: 42px; }
  .stat:nth-child(2), .stat:nth-child(4) { transform: translateY(24px); }
  .services, .testi { border-radius: 30px; margin: 0 8px; }
  .svc, .svc.wide { grid-column: 1 / -1; min-height: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-line { display: none; }
  .upgrade { grid-template-columns: 1fr; padding: 30px 26px; text-align: left; }
  .slide { padding: 30px 26px; }
  .blog-head { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 22px; border-radius: 30px; }
  .form { grid-template-columns: 1fr; padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; }
  .feed .meta { font-size: 9.5px; left: 8px; right: 8px; bottom: 6px; }
  .feed .ts { display: none; }
  .feed .live { font-size: 9px; }
  .phone { width: 300px; }
  .screen { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   html-2: photography layer
   ========================================================== */
/* placeholder shown until a photo file exists */
.ph-slot {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 12px; text-align: center;
  background: repeating-linear-gradient(45deg, #EFE7E2 0 12px, #F6F0EC 12px 24px);
  color: var(--muted); font: 600 13px/1.35 var(--font-body);
}
.ph-slot b { display: block; color: var(--red); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; margin-top: 4px; }

/* hero photo */
.hero-visual .house.photo { object-fit: cover; border-radius: 36px; box-shadow: 0 50px 90px -40px rgba(35,31,32,.55); }
.hero-visual:has(.house.photo) .pulse { width: 96%; }

/* about photo */
.about-visual { display: grid; gap: 22px; }
.about-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.about-photo img, .about-photo .ph-slot { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-photo:hover img { transform: scale(1.05); }
.about-photo figcaption {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 14px;
}
.about-photo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,191,113,.18); }
.about-visual .stat:nth-child(2), .about-visual .stat:nth-child(4) { transform: none; }
.about-visual .stat:nth-child(2):hover, .about-visual .stat:nth-child(4):hover { transform: translateY(-6px); }

/* service card photos */
.svc-photo { display: block; margin: -34px -30px 0; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.svc.wide .svc-photo { aspect-ratio: 2 / 1; }
.svc-photo img, .svc-photo .ph-slot { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc:hover .svc-photo img { transform: scale(1.07); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(35,31,32,.25)); pointer-events: none; }
.svc .svc-photo + .ico { position: relative; z-index: 2; margin-top: -29px; margin-bottom: 18px; box-shadow: 0 0 0 5px #fff; background: #fff; }
.svc.feature .svc-photo + .ico { box-shadow: 0 0 0 5px var(--charcoal); background: var(--charcoal); }
.svc .svc-num { z-index: 3; background: rgba(255,255,255,.88); color: var(--charcoal); padding: 3px 10px; border-radius: 999px; font-size: 12.5px; top: 16px; right: 16px; }

/* automation lifestyle photo behind the phone */
.phone-stage .auto-bg { position: absolute; left: 0; right: 0; top: 12%; bottom: 12%; width: 100%; height: 76%; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.phone-stage:has(.auto-bg)::before { display: none; }
.phone-stage .phone { z-index: 1; }

/* real camera stills: keep the CCTV feel */
.feed img[src$=".jpg"] { filter: saturate(.85) contrast(1.05); }
.feed.night img[src$=".jpg"] { filter: grayscale(1) sepia(.3) hue-rotate(60deg) saturate(2.2) brightness(.85) contrast(1.15); }

/* fit the supplied (wide) photos */
.hero-visual:has(.house.photo) { aspect-ratio: 3 / 2; }
.hero-visual .house.photo { object-position: 100% 50%; }
.about-photo { aspect-ratio: 664 / 281; }
.phone-stage .auto-bg { object-position: 30% 50%; }
/* automation: let the lifestyle photo show beside the phone */
.phone-stage:has(.auto-bg) { justify-items: end; }
.phone-stage:has(.auto-bg) .phone { margin-right: 2%; }
.phone-stage .auto-bg { right: auto; width: 74%; object-position: 26% 50%; }
@media (max-width: 720px) {
  .phone-stage:has(.auto-bg) { justify-items: center; }
  .phone-stage:has(.auto-bg) .phone { margin-right: 0; }
  .phone-stage .auto-bg { display: none; }
}
/* keep the icon badge visible on hover when it sits on a photo */
.svc:hover .svc-photo + .ico { background: var(--red); color: #fff; }

/* partner logos (original artwork from the live site) */
.logos-track { gap: 18px; align-items: center; animation-duration: 45s; }
.logos-track .logo {
  flex: none; display: grid; place-items: center; width: 168px; height: 84px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.logos-track .logo img {
  max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; mix-blend-mode: multiply;
  transition: filter .35s, opacity .35s;
}
.logos-track .logo:hover { border-color: rgba(188,24,48,.35); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.logos-track .logo:hover img { filter: none; opacity: 1; }
@media (max-width: 720px) { .logos-track .logo { width: 138px; height: 72px; padding: 12px 14px; } .logos-track .logo img { max-height: 44px; } }

/* developer credit */
.footer-bottom .credit a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(188,24,48,.8); padding-bottom: 1px; transition: color .25s, border-color .25s; }
.footer-bottom .credit a:hover { color: #FF6B80; border-color: #FF6B80; }

/* ==========================================================
   OASIS CMS helpers - classes used by the page-section plugins
   in place of inline styles (Designed & Developed by OASIS)
   ========================================================== */
.sh-split { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; margin: 16px 0 18px; }
.sh-sm { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin: 16px 0 14px; }
.sp { color: var(--muted); font-size: 18px; }
.sp + .sp { margin-top: 16px; }
.sp-mb { margin-bottom: 26px; }
.sp-dark { color: rgba(255,255,255,.7); font-size: 17.5px; }
.muted { color: var(--muted); }
.pink, .eyebrow.pink { color: #FF6B80; }
.hint.hint-dark { color: rgba(255,255,255,.6); }

/* enquiry forms (wr-plugins/2011_ow_contact) */
.ow-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .is-invalid { border-color: var(--red) !important; }
.f-err { color: var(--red); font-size: 12.5px; font-weight: 600; margin: 6px 2px 0; }
.f-err:empty { display: none; }
#ow-form-status { grid-column: 1 / -1; font-size: 14px; font-weight: 600; text-align: center; margin: 0; }
#ow-form-status:empty { display: none; }
.ow-form__status--error { color: var(--red); }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
/* Refer a Friend: steps and form are two page sections that read as one */
.section.refer-steps { padding-bottom: 0; }
.section.refer-form-sec { padding-top: 0; }
