:root{
      --brand-red:#c02632;
      --pre-nav-bg:#0d0d0d;
      --nav-bg:#111111;
      --nav-text:#cccccc;
    }
body{
  background-color:white;
}
/* =========================
   Utility spacing classes (custom px values)
   ========================= */

/* Padding Top */
.pt-5 { padding-top: 5px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-35 { padding-top: 35px; }
.pt-40 { padding-top: 40px; }
.pt-50 { padding-top: 50px; }
.pt-80 { padding-top: 80px; }

/* Padding Bottom */
.pb-5 { padding-bottom: 5px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-35 { padding-bottom: 35px; }
.pb-40 { padding-bottom: 40px; }
.pb-50 { padding-bottom: 50px; }
.pb-80 { padding-bottom: 80px; }

/* Margin Top */
.mt-5 { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-35 { margin-top: 35px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-80 { margin-top: 80px; }

/* Margin Bottom */
.mb-5 { margin-bottom: 5px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-35 { margin-bottom: 35px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-80 { margin-bottom: 80px; }

/* === FONT SIZE UTILITIES === */
.fs-12 { font-size: 14px; }
.fs-13 { font-size: 14px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fs-28 { font-size: 28px; }
.fs-30 { font-size: 30px; }
.fs-32 { font-size: 32px; }
.fs-34 { font-size: 34px; }
.fs-36 { font-size: 36px; }
.fs-38 { font-size: 38px; }
.fs-40 { font-size: 40px; }
.fs-45 { font-size: 45px; }
.fs-50 { font-size: 50px; }
.fs-55 { font-size: 55px; }
.fs-60 { font-size: 60px; }
.fs-65 { font-size: 65px; }
.fs-70 { font-size: 70px; }
.fs-75 { font-size: 75px; }
.fs-80 { font-size: 80px; }


.active-nav-item{
  font-weight: 600 !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 22px;
  text-decoration-color: #ea3141;
  color: White !important;
}
.active-nav-item-sub{
  font-weight: 600 !important;
  color: White !important;
  background-color: var(--brand-red);
}

/* Prevent horizontal page scroll while allowing internal animations to move */
html, body { overflow-x: hidden; }

/* Layout: fixed wrapper (pre-nav + navbar) */
#site-header{position:fixed;top:0;left:0;right:0;z-index:1030}
body{padding-top:0;} /* was 94px */

/* Pre-nav */
.pre-nav{
  background:#0d0d0d;
  color:#bdbdbd;
  font-size:.95rem;
  border-bottom:1px solid #1b1b1b;
  padding-left: 20px;
  padding-right: 20px;
  padding-inline: 20px; /* logical shorthand */
}
.pre-nav-text{
  font-weight:500;
  color:#e3e3e3;
}
.pre-nav .phone{
  font-weight:700;
  color:#fff;
  margin-left:.35rem;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.15rem .6rem;
  border:2px solid var(--brand-red);
  border-radius:999px;                /* max rounded */
  background:transparent;
  line-height:1.2;
  white-space:nowrap;
  text-decoration: none;              /* anchor default override */
}
.pre-nav .phone .bi{
  font-size:1rem;
  color:var(--brand-red);             /* outlined icon in brand red */
  line-height:0;
  display:inline-block;
  transform: translateY(1px);
}
.pre-nav .phone:hover,
.pre-nav .phone:active{
  background: var(--brand-red);
  color: #fff;
  text-decoration:none;
}
.pre-nav .phone:hover .bi,
.pre-nav .phone:active .bi{
  color:#fff;                          /* icon turns white on hover/click */
}

/* Main navbar */
.main-navbar{
  background: rgba(17,17,17,0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:background .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
  border-bottom:0;
  position:relative;
}
.main-navbar::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  transform: scaleY(.8);
  transform-origin: bottom;
  background:linear-gradient(90deg,#2a0505 0%,#6e0e0e 4%,#b91111 7%,#b91111 14%,#6e0e0e 72%,#2a0505 100%);
  pointer-events:none;
}
.main-navbar.scrolled{
  background: rgba(17,17,17,0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.main-navbar.scrolled::after{ transform:scaleY(1); }

/* Brand */
.navbar-brand{ display:flex; align-items:center; gap:.5rem; }
.brand-img{
  height:120px;
  position:absolute;
  top:10px;
  z-index:2;
}

/* Links */
.navbar .nav-link{
  color:var(--nav-text);
  font-weight:500;
  letter-spacing:.2px;
  position:relative;
  padding:.6rem .9rem;
}
/* Base underline only for non-dropdown links */
.navbar .nav-link:not(.dropdown-toggle)::after{
  content:"";
  position:absolute;
  left:.9rem; right:.9rem; bottom:.35rem;
  height:2px;
  background:transparent;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease, background-color .2s ease;
}

.navbar .nav-link:hover{ color:#ffffff; }
.navbar .nav-link:focus{ color: var(--nav-text); } /* don’t stay white on focus */

/* Keep white only when dropdown is open */
.navbar .dropdown.show > .dropdown-toggle,
.navbar .dropdown-toggle[aria-expanded="true"]{ color:white; }

/* Ensure caret has no background (we use +/−) */
.navbar .dropdown-toggle::after{ background:none !important; }

/* =========================================
   NAVBAR: + / − indicators (desktop & mobile)
   ========================================= */

/* Default: show "+" on every dropdown toggle */
.navbar .dropdown-toggle::after{
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  margin-left: 0 !important;
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
  border: 0 !important;
  opacity: .8;
  transform: none !important;
  transition: opacity .2s ease;
}

/* Only the actually open item shows "−" */
.navbar .dropdown.show > .dropdown-toggle::after,
.navbar .dropend.show  > .dropdown-toggle::after,
.navbar .dropdown-toggle[aria-expanded="true"]::after{
  content: "−";
  opacity: 1;
}

/* Submenu toggles inside dropdowns also use +/− correctly */
.dropdown-menu .dropend > .dropdown-toggle::after { content: "+"; opacity: .8;}
.dropdown-menu .dropend.show > .dropdown-toggle::after,
.dropdown-menu .dropend > .dropdown-toggle[aria-expanded="true"]::after { content: "−"; opacity: 1; }

/* Apply underline only to non-dropdown links */
.navbar .nav-link:hover:not(.dropdown-toggle)::after,
.navbar .nav-link:focus:not(.dropdown-toggle)::after,
.navbar .nav-link.active:not(.dropdown-toggle)::after{
  transform:scaleX(1);
  background:#c02632 !important;
}

/* Dropdowns: dark */
.dropdown-menu{
  background: rgba(17, 17, 17, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: .4rem;
  min-width: 15rem;
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.dropdown-menu.show{
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s;
}
.dropdown-item{ color:#d7d7d7; border-radius:.375rem; margin-top: 4px; }
.dropdown-item:hover{ background:var(--brand-red); color:#fff; }

/* Dropdown divider */
.dropdown-divider{
  border-top:1px solid rgba(255,255,255,0.1) !important;
  opacity:1;
  margin:.25rem .5rem;
}

/* Toggler */
.navbar-toggler{ border-color:#333; }
.navbar-toggler:focus{ box-shadow:0 0 0 .15rem rgba(192,38,50,.35); }

/* Small screens */
@media (max-width: 1199.98px){
  body{padding-top:0;} /* was 126px */

  .main-navbar .navbar-collapse.collapsing,
  .main-navbar .navbar-collapse.show{
    padding-top: calc(120px + -40px);
  }

  /* Make the hamburger panel scrollable and contain scroll chaining */
  .main-navbar .navbar-collapse{
    height: auto;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: max(env(safe-area-inset-bottom, 0px), 16px);
    will-change: height, opacity;
    opacity: 0;
    transition: opacity .18s ease-out;
  }
  .main-navbar .navbar-collapse.collapsing,
  .main-navbar .navbar-collapse.show{ opacity: 1; }
  .main-navbar .navbar-collapse.collapsing.closing{
    opacity: 0;
    transition: opacity .12s ease-in, height .12s ease-in !important;
  }

  /* Fix mobile gaps: collapse hidden dropdowns, expand smoothly on show */
  .main-navbar .navbar-nav .dropdown-menu{
    position: static;
    display: block !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
    transform: none;
    transition: max-height .2s ease, opacity .18s ease;
    box-sizing: border-box;
    margin:0px; 
    padding: 0px;
    border: 1px solid rgba(255, 0, 0, 0.3);
  }
  .main-navbar .navbar-nav .dropdown-menu.show{
    max-height: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    padding-bottom: 12px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 7px;
  }

  /* Nested submenus stay closed until their parent .dropend is opened */
  .main-navbar .navbar-nav .dropend > .dropdown-menu {
    position: static !important;
    display: block !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    transition: max-height .2s ease, opacity .18s ease;
  }
  .main-navbar .navbar-nav .dropend.show > .dropdown-menu {
    max-height: 999px;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    padding-bottom: 12px;
    border: 1px solid rgba(255, 0, 0, 0.3);
border-top: none;
  }

  /* Dividers between main tabs */
  .main-navbar .navbar-collapse .navbar-nav > .nav-item + .nav-item{
    border-top:1px solid rgba(255,255,255,0.1);
    margin-top:.125rem;
    padding-top:.125rem;
  }

  /* Links look like a proper list */
  .main-navbar .navbar-nav .nav-link{
    display: block;
    width: 100%;
    text-align: left !important;
    padding: .85rem 1rem;
  }
}

/* respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  .dropdown-menu{ transition: none; }
  .dropdown-menu.show{ transform: none; }
  .main-navbar .navbar-collapse{ transition: none; }
  .main-navbar .collapsing{ transition: none !important; }
}

/* Color var override */
:root{ --brand-red:#ea3141; }
.accent{ color:hsl(355, 81%, 55%); }

/* Full width hero */
.hero,
.hero-landing{
  position: relative;
  min-height: 60vh;
  margin-top:-132px;
  padding-top:94px;
  padding-bottom: 0px !important;
  background-color: #000;
}

.hero .container,
.hero .hero-inner,
.hero-landing .container,
.hero-landing .hero-inner{ position: relative; z-index: 2; }
.hero-blob{ z-index: 0; }

.hero-blob{
  position:absolute;
  left:-20vw; bottom:-30vh;
  width:70vw; height:70vw;
  pointer-events:none;
  background:
    radial-gradient(closest-side, rgba(192,38,50,0.55), rgba(192,38,50,0.18) 40%, transparent 70%),
    radial-gradient(closest-side, rgba(33,150,243,0.18), transparent 60%);
  filter: blur(40px);
  transform: translateZ(0);
}

/* Cap inner content width */
.hero-inner{ max-width: 960px; margin-top: 270px; margin-bottom: 100px; }
.hero-inner-landing{ margin-top: 230px; margin-bottom: 100px; margin-left: 0px; }

@media (min-width: 992px) {
  .hero-inner-landing{ margin-top: 134px; }
}

.hero-simple-landing{ margin-top: 158px; margin-bottom: 100px; margin-left: 0px; }
.hero-inner-content{ margin-top: 100px; margin-bottom: 100px; margin-left: 26px; }
.hero-title{ font-size: clamp(2.2rem, 5vw, 4rem); }

.hero-badge{
  background: rgba(255,255,255,0.08);
  color:#e8e8e8;
  border:1px solid rgba(255,255,255,0.14);
  font-weight:600;
  letter-spacing:.2px;
}
.hero-ghost{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }
.hero-ghost:hover{ background: var(--brand-red); border-color: var(--brand-red); color:#fff; }

/* Extra-tight on very small screens */
@media (max-width: 575.98px){
  .hero,
  .hero-landing{ min-height: 70vh; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .lead{ font-size: 1rem; }
}

/* Global font */
html, body, .navbar, .dropdown-menu, .btn, .badge, .lead, h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
body { font-weight:400; }
.semibold { font-weight:600; }
.bold { font-weight:700; }

/* Make the logo a bit taller than the bar and push it down */
.brand-img{ height: 120px; top: -4px; position: absolute; z-index: 2; }
@media (max-width: 1199.98px){
  .brand-img{ height: 120px; top: -1px; }
}

/* Footer */
.footer-wrap{ background: var(--brand-red); }

.footer-card{
  background: linear-gradient(180deg, #1f1f1f 0%, #171717 7%, #000 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  margin-block: 1.25rem;
  position: relative;
  overflow: hidden;
  padding-bottom: calc(1.5rem + 20px);
  top: -52px;
}
.footer-card::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 20px;
  background: repeating-linear-gradient(-45deg, #000 0 20px, var(--brand-red) 20px 40px);
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  pointer-events: none;
}

.footer-logo{ display:block; object-fit:contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.footer-links li + li{ margin-top:.35rem; }
.footer-links a{
  color:#cfcfcf;
  text-decoration:none;
  transition: color .15s ease, opacity .15s ease;
  display:inline-block;
}
.footer-links a:hover{ color:#ffffff; opacity:.95; }
.footer-sep{
  border:0;
  height:1px;
  background: linear-gradient(90deg, rgba(255,255,255,.50), rgba(255,255,255,.50), rgba(255,255,255,.50));
}
@media (max-width: 575.98px){ .footer-card{ padding: 1.25rem !important; } }

.white{ color: white !important; }
.footer-position{ position: absolute; width: 100%; }

/* Speaker cards */
.profile-card{
  aspect-ratio: 3 / 3.5;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
  position: relative;
  background: #0f0f0f;
  box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 -1px 0 rgba(220,53,69,.5);
}
.profile-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0.15) 85%, rgba(0,0,0,0.00) 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}
.pc-img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-blur{
  content:"";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 25%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.25) 80%, rgba(0,0,0,0) 100%);
  z-index: 2;
}
.pc-meta{ position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; z-index: 4; }
.pc-name{ letter-spacing: .2px; }
.text-white-75{ color: rgba(255,255,255,.75); }
.profile-card:hover .pc-img{ transform: scale(1.03); transition: transform .4s ease; }

/* Overlap hero section by 50px */
.cards-overlap { margin-top: -50px; z-index: 5; }

/* Fix card height at 200px up to XL */
@media (max-width: 991.98px) {
  .cards-overlap .profile-card { aspect-ratio: auto !important; height: 220px !important; }
  .cards-overlap .pc-img { height: 100% !important; object-fit: cover; display: block; }
  .cards-overlap .profile-card.h-100 { height: 220px !important; }
}

/* Desktop (XL and up): dropdown/submenu behavior */
@media (min-width: 1200px){
  .main-navbar .navbar-nav > .nav-item .dropdown-menu{
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity .15s ease, visibility 0s linear .15s;
    background: rgba(17,17,17,.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.4);
  }
  .main-navbar .navbar-nav > .nav-item .dropdown-menu.show{
    display: block !important;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s, 0s;
  }

  .dropdown-menu .dropend .dropdown-menu{
    top: 0;
    left: 100%;
    margin-left: .25rem;
    margin-top: 0;
  }
  .dropdown-menu .dropend > .dropdown-menu{
    transform: translateX(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
  }
  .dropdown-menu .dropend.show > .dropdown-menu{
    transform: none;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s,0s,0s;
  }

  /* Optional + sign for submenu toggles inside the menu */
  .dropdown-menu .dropdown-toggle::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: .5rem;
    font-size: 1rem;
    line-height: 1;
    opacity: .8;
    float: none;
  }
}

/* Misc */
.underline{ text-decoration: underline; }
.slider { overflow: hidden; white-space: nowrap; position: relative; isolation: isolate; }
.logos { display: inline-flex; will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(0); -webkit-transform: translateZ(0); animation-name: marquee; animation-duration: 25s; animation-timing-function: linear; animation-iteration-count: infinite; }
.logo-img { height: 20px; width: auto; margin: 0 30px; filter: brightness(0) invert(1); flex-shrink: 0; opacity: 0.4; }
.slider:hover .logos { animation-play-state: paused; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(var(--marquee-shift, -50%), 0, 0); } }
@media (max-width: 768px) { .logos { animation-duration: 40s; } }
@media (max-width: 480px) { .logos { animation-duration: 25s; } }

/* Remove underline on top-level links without dropdown */
.main-navbar .navbar-nav > .nav-item > .nav-link:not(.dropdown-toggle)::after{ content: none !important; }
.main-navbar .navbar-nav > .nav-item > .nav-link:not(.dropdown-toggle):hover::after,
.main-navbar .navbar-nav > .nav-item > .nav-link:not(.dropdown-toggle):focus::after{ content: none !important; }

/* Extra spacing for non-dropdown top-level links */
.main-navbar .navbar-nav > .nav-item > .nav-link:not(.dropdown-toggle) { padding-right: 2rem; }

/* Safe side spacing for full-width navbar */
.main-navbar{ padding-left: 20px; padding-right: 20px; padding-inline: 20px; }

/* Section spacing */
.section-breathe{ padding-block: clamp(4rem, 8vw, 7rem); }

.section-breathe-2{ padding-block: clamp(4rem, 8vw, 10rem); }


.reference-section{
  background: linear-gradient(0deg,rgba(56, 0, 7, 1) 0%, rgba(0, 0, 0, 1) 55%);
}
.alarmni-bg{ background: radial-gradient(circle,rgba(43, 43, 43, 1) 0%, rgba(0, 0, 0, 1) 55%); }

/* Remove blue tap highlight on mobile/touch */
a, button, .nav-link, .dropdown-toggle, .navbar-toggler { -webkit-tap-highlight-color: transparent; }

/* Touch-only: suppress default focus ring/box-shadows (keep keyboard :focus-visible) */
@media (pointer: coarse) {
  .nav-link:focus, .dropdown-toggle:focus, .navbar-toggler:focus, .btn:focus {
    outline: none !important;
    box-shadow: none !important;
  }
}

/* Keep an accessible focus style for keyboard users */
.nav-link:focus-visible, .dropdown-toggle:focus-visible, .navbar-toggler:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
  box-shadow: none;
}
@media (min-width: 1200px) {
  /* make sure the anchor li is the positioning context */
  .main-navbar .navbar-nav > .nav-item { position: relative; }

  /* emulate .dropdown-menu-end when Popper is disabled */
  .main-navbar .navbar-nav > .nav-item .dropdown-menu-end {
    right: 0;
    left: auto;
    margin-right: 0; /* optional: remove any inherited offset */
  }
}
/* === HERO-LANDING: scoped grid + blackout focus (page-specific) === */
.hero-landing {
  /* Grid parameters – scoped instead of :root */
  --grid-size: 65px;      /* cell size */
  --grid-line: 1px;       /* line thickness */
  --grid-alpha: 0.4;     /* grid opacity */
  --focus-x: 30%;         /* focus horizontal position */
  --focus-y: 60%;         /* focus vertical position */

  position: relative;
  min-height: 60vh;
  margin-top: -120px;
  padding-top: 94px;
  padding-bottom: 3.5rem;
  background-color: #000;

  /* Subtle gray grid (transparent lines over black) */
  background-image:
    linear-gradient(rgba(255, 255, 255, var(--grid-alpha)) var(--grid-line), transparent var(--grid-line)),
    linear-gradient(90deg, rgba(255, 255, 255, var(--grid-alpha)) var(--grid-line), transparent var(--grid-line));
  background-size: var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size);
  background-position: center;
}


/* Top/bottom fade you already use */
.hero-landing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 5%,
    rgba(0, 0, 0, 0.55) 15%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Keep hero content above overlays */
.hero-landing .container,
.hero-landing .hero-inner-landing {
  position: relative;
  z-index: 2;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
  .hero-landing {
    min-height: 70vh;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
/* Google review badge */
.text-center .bi-star-fill {
  font-size: 1.1rem;
  vertical-align: middle;
}
.text-center .bg-dark {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === "Cut-corner" buttons with visible angled outline === */
.btn-cut {
  --cut: 15px; /* size of the diagonal cut */
  position: relative;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all 0.25s ease-in-out;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  isolation: isolate; /* keep pseudo-element inside */
}


/* pseudo-element draws the angled border inside the clip */
.btn-cut::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border: 1.5px solid currentColor;
  clip-path: inherit; /* match the same cut */
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.btn-cut span, 
.btn-cut i { position: relative; z-index: 1; } /* keep text/icons above */

/* Solid (light) version */
.btn-light.btn-cut {
  color: #000;
  background-color: #fff;
}
.btn-light.btn-cut:hover {
  background-color: var(--brand-red);
}

/* Outlined (ghost) version */
.btn-outline-light.btn-cut {
  color: #fff;
  background-color: transparent;
}
.btn-outline-light.btn-cut::before {
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light.btn-cut:hover {
  background-color: var(--brand-red);
  color: #fff;
}
.btn-outline-light.btn-cut:hover::before {
  border-color: var(--brand-red);
  opacity: 1;
}

/* Hover motion */
.btn-cut:hover {
  transform: translateY(-2px);
}

/* === Straight-edge button (no cut corner) === */
.btn-straight {
  border-radius: 0 !important;     /* sharp edges */
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  color: #fff;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 0.65rem 1.4rem;
  transition: all 0.25s ease;
}

.btn-straight:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateY(-2px);
}

.btn-straight.btn-black-fill {
  background: #000;
  border-color: #000;
  color: #fff;
}

.btn-straight.btn-black-fill:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

/* Outline variant for model cards */
.btn-straight.btn-model-outline {
  border: 1.5px solid #000;
  color: #000;
  background: transparent;
}

.btn-straight.btn-model-outline:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

/* Match ghost-style tone if used beside .btn-cut */
.hero-ghost.btn-straight {
  border-color: rgba(255,255,255,0.4);
}
.hero-ghost.btn-straight:hover {
  border-color: var(--brand-red);
}
/* === Brand red version of .btn-cut === */
.btn-cut-primary {
  --cut: 15px; /* same diagonal as .btn-cut */
  position: relative;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all 0.25s ease-in-out;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  isolation: isolate;

  /* color scheme */
  background-color: var(--brand-red);
  color: #fff;
}

/* white diagonal border (same logic as .btn-cut) */
.btn-cut-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  clip-path: inherit;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* keep text/icons above */
.btn-cut-primary span,
.btn-cut-primary i {
  position: relative;
  z-index: 1;
}

/* hover effect */
.btn-cut-primary:hover {
  background-color:  var(--brand-red);
  color: #fff;
  transform: translateY(-2px);
}

.btn-cut-primary--dark {
  background-color: #111;
  color: #fff;
}

.btn-cut-primary--dark:hover {
  background-color: #fff;
  color: #111;
}

/* subtle focus ring for accessibility */
.btn-cut-primary:focus-visible {
  outline: 2px solid rgba(255,255,255,0.35);
  outline-offset: 3px;
}
/* === Modern tech cards (Hikvision / Dahua) === */
.tech-card {
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, box-shadow .3s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Logos at top */
.tech-logo {
  height: 26px;
  width: auto;
  filter: brightness(0);
}

/* Light variant */
.light-card {
  background: #fff;
  color: #111;
}

/* Dark variant */
.dark-card {
  background: #000;
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}

/* Subtle background pattern effect */
.tech-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 160px 160px;
  z-index: 0;
}

.pattern-light {
  background-image: url('assets/images/pattern-light.svg');
  mix-blend-mode: multiply;
}

.pattern-dark {
  background-image: url('assets/images/pattern-dark.svg');
  mix-blend-mode: lighten;
  opacity: 0.12;
}

/* Inner content above background pattern */
.tech-card > *:not(.tech-pattern) {
  position: relative;
  z-index: 2;
}

/* Responsive tuning */
@media (max-width: 767.98px) {
  .tech-card {
    padding: 2rem 1.5rem;
  }
  .tech-logo {
    height: 22px;
  }
}

/* === DARK CAMERA CARDS (BG on element, responsive width, dim overlay) === */
.camera-card.dark-card {
  position: relative;
  background-color: #000; /* fallback */
  /* your inline style supplies background-image: url('...') */
  background-position: top center;      /* show from TOP */
  background-repeat: no-repeat;
  background-size: 100% auto;           /* follow card WIDTH (no crop) */
  color: #fff;

  border: 1px solid rgba(255,255,255,0.08);
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.6); */
  transition: transform .3s ease, box-shadow .3s ease;

  display: grid;                        /* header stays aligned */
  grid-template-rows: 1fr;
  min-height: 520px;                    /* adjust if you want less height */
  width: 100%;
}

/* Dim overlay for readability */
.camera-card.dark-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.65) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Hover lift (no zoom on bg so it stays aligned to width) */
.camera-card.dark-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.8);
}

/* Content layer sits above overlay */
.camera-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr;  /* header fixed at top, body flexes */
  row-gap: 8rem;
  padding-bottom: 1.25rem;
  height: 100%;
}

/* Header = logo + title, always aligned across cards */
.camera-header { display: block; }

/* Small brand logo (“pill”) */
.camera-logo {
  height: 20px;      /* tweak if you want smaller/larger */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Typography */
.camera-card h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  font-weight: 600;
}
.camera-body p {
  font-size: 1rem;
  line-height: 1.65;
}

/* Equal-height columns so both cards line up */
.row.g-5 > [class*="col-"] { display: flex; }
.row.g-5 > [class*="col-"] > .camera-card { flex: 1 1 auto; }

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .camera-card.dark-card { min-height: 440px; }
  .camera-logo { height: 20px; }
  .camera-card h3 { font-size: 1.2rem; }
}
.h1-below{
  font-weight: normal;
  font-size: 1rem;
}
.h1-below {
  font-weight: normal !important; /* or 300 if you want lighter */
  font-size: 0.7em; /* relative to h1’s size, so it scales with it */
  display: inline-block;
}
/* Responsive layout for Google review badge */
.google-review {
  flex-direction: row;
}

@media (max-width: 576px) {
  .google-review {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem;
  }

  .google-review .rating {
    justify-content: center;
  }

  .google-review .review-link {
    margin-top: 2px;
  }
}


/* === Autofill detection animation === */
@keyframes onAutoFillStart {
  from { opacity: 0.99; }
  to { opacity: 1; }
}

#offerForm input:-webkit-autofill {
  animation-name: onAutoFillStart;
  animation-duration: 0.001s;
}

/* === FORM STYLE FIXES (White inputs, clear messages) === */
#offerForm .form-control,
#offerForm .form-select,
#offerForm textarea,
#offerForm input {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #ccc;
  transition: all 0.2s ease;
}

/* Default select arrow */
#offerForm .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
}

#offerForm .form-control:not(.is-valid):not(.is-invalid),
#offerForm .form-select:not(.is-valid):not(.is-invalid),
#offerForm textarea:not(.is-valid):not(.is-invalid),
#offerForm input:not(.is-valid):not(.is-invalid) {
  background-image: none !important;
}

/* Keep arrow on select even when not validated */
#offerForm .form-select:not(.is-valid):not(.is-invalid) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
}

#offerForm .form-control:focus,
#offerForm .form-select:focus,
#offerForm textarea:focus,
#offerForm input:focus {
  border-color: #d00;
  box-shadow: 0 0 0 .15rem rgba(220,53,69,0.15);
}

#offerForm .error-text {
  color: #d00;
  font-size: 0.9rem;
  margin-top: 4px;
  display: block;
}

/* Input states */
#offerForm input.form-control.is-valid,
#offerForm input.form-control-lg.is-valid,
#offerForm input.is-valid,
#offerForm .form-control.is-valid,
#offerForm .form-control-lg.is-valid,
#offerForm .form-select.is-valid,
#offerForm textarea.is-valid,
#offerForm input[type="text"].is-valid,
#offerForm input[type="email"].is-valid,
#offerForm input[type="tel"].is-valid {
  border-color: #28a745 !important;
  padding-right: calc(1.5em + 0.75rem) !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right calc(0.375em + 0.1875rem) center !important;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Force Chrome/Safari to show background image */
#offerForm input.is-valid::-webkit-contacts-auto-fill-button,
#offerForm input.is-valid::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

#offerForm select.is-valid {
  padding-right: 4.125rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
  background-position: right 0.75rem center, center right 2.25rem !important;
  background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

#offerForm input.form-control.is-invalid,
#offerForm input.form-control-lg.is-invalid,
#offerForm input.is-invalid,
#offerForm .form-control.is-invalid,
#offerForm .form-control-lg.is-invalid,
#offerForm .form-select.is-invalid,
#offerForm textarea.is-invalid,
#offerForm input[type="text"].is-invalid,
#offerForm input[type="email"].is-invalid,
#offerForm input[type="tel"].is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
  padding-right: calc(1.5em + 0.75rem) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right calc(0.375em + 0.1875rem) center !important;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

#offerForm select.is-invalid {
  padding-right: 4.125rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
  background-position: right 0.75rem center, center right 2.25rem !important;
  background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

/* reCAPTCHA error message */
#captchaError {
  color: #d00;
  font-size: 0.9rem;
  margin-top: 6px;
}
.section-border{
  border-radius: 50px;
  background-color: #ebebeb;
  padding: 20px;
}

/* === Metrics strip === */
/* .metrics-strip{
  background: #f3f3f3;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
} */
.metric-card{
  background: #fff;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.metric-card:last-child{ border-right: 0; }
@media (max-width: 1199.98px){ .metric-card { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.06); } }
@media (min-width: 1200px){ .metric-card { min-height: 230px; display:flex; flex-direction:column; justify-content:center; } }

.metric-value{ font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.5rem); color: #ea3141; line-height: 1; }
.metric-label{ text-transform: uppercase; font-weight: 700; letter-spacing: .4px; font-size: .85rem; color:#ea3141; margin-top:.35rem; }
.metric-label-vrata{ text-transform: uppercase; font-weight: 700; letter-spacing: .4px; font-size: 1.2rem; color:#ea3141; margin-top:.35rem; }
.metric-desc{ color:#555; font-size: .975rem; margin-top:.35rem; }
/* === Google inline rating badge === */
.google-rating {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 6px 14px;
  backdrop-filter: blur(6px);
}

.google-rating .stars i {
  color: #ffc107; /* filled yellow stars */
  font-size: 0.95rem;
  vertical-align: middle;
}

.google-rating .rating-value {
  line-height: 1;
}

.google-rating .google-link i {
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s ease, color 0.25s ease;
}

.google-rating .google-link:hover i {
  color: #fff;
  transform: scale(1.15);
}
/* === Modern Review Cards === */
.review-card {
  border: none;
  border-radius: 1.25rem;
  position: relative;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Cut-off top-left corner */
.review-card::before {
  content: none;
}

/* Hover effect */
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* Reviewer name and stars */
.review-card .reviewer {
  font-size: 1rem;
}

.review-card .stars {
  letter-spacing: 0.2em;
  color: #f2b01e;
}

.review-card .stars i {
  color: inherit;
  font-size: 1rem;
}

/* Mobile */
@media (max-width: 767.98px) {
  .review-card {
    padding: 1.35rem;
    font-size: 0.95rem;
  }
}

/* Alarm component cards */
.alarm-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
  z-index: 1;
  clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%, 0 44px);
}

.alarm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.1);
}

.alarm-card__badge {
  position: absolute;
  right: 0;
  top: 0;
  width: 58px;
  height: 58px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  box-shadow: 0 10px 20px rgba(192, 38, 50, 0.25);
}

.alarm-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.alarm-card__body {
  padding: 1.75rem;
}

.alarm-card__body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111;
}

.alarm-card__body p {
  color: #555;
  margin-bottom: 0;
}

.hero--construction {
  background: var(--brand-red);
  color: #121212;
  padding: 0;
  margin-top: 0rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  gap: 0;
}

.hero__content {
  padding: 4rem 4rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__eyebrow {
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 32rem;
  line-height: 1.6;
  color: rgba(18, 18, 18, 0.8);
}

.hero__extra {
  font-weight: 600;
}

.hero__highlight {
  background: #fff;
  color: #111;
  padding: 0.15rem 0.4rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero--construction .btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
}

.hero--construction .btn--dark {
  background: #111;
  color: #fff;
  text-decoration: none;
}

.hero--construction .btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-red);
  border: 2px solid rgba(18, 18, 18, 0.15);
  color: #111;
}

.hero__media {
  position: relative;
  overflow: hidden;
}

.hero__photo {
  width: 100%;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 60px 100%, 0 calc(100% - 60px));
}

.hero__media-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0 3rem 5rem;
}

.hero__card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.25rem;
  max-width: 240px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
}

.hero__stars {
  color: #f2b01e;
  letter-spacing: 0.2em;
  margin-bottom: 0.7rem;
}

.hero__author {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.hero__chunks {
  display: flex;
  gap: 0.4rem;
  align-self: flex-end;
}

.hero__chunks span {
  width: 18px;
  height: 18px;
  background: var(--brand-red);
  display: inline-block;
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 3rem 1.75rem 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero--construction .hero__actions .btn {
    width: 100%;
  }

  .hero__media {
    order: 2;
    padding-bottom: 2.5rem;
  }

  .hero__photo {
    min-height: 320px;
    border-bottom-left-radius: 0.75rem;
  }

  .hero__media-inner {
    position: static;
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.25rem;
    padding: 0 1.75rem;
  }

  .hero__card {
    order: -1;
    max-width: none;
    width: 100%;
    margin-bottom: 1rem;
  }

  .hero__chunks {
    justify-content: center;
    margin-top: 1rem;
  }
}
/* === MD usage cards (cube style with cut top-left corner) === */
.md-usage-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;   /* Default kvadratna kartica */
  overflow: hidden;
  background: #000;
  clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%, 0 44px); /* isti cut efekat kao alarm-card */
  box-shadow: 0 10px 30px rgba(0,0,0,0.20);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Kompaktna verzija kartica za landing stranice */
.md-usage-card--compact {
  aspect-ratio: 2 / 1.44;
}

.md-usage-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform .4s ease;
}

/* crni gradient pri dnu za tekst */
.md-usage-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.75) 25%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.00) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.md-usage-card__meta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.4rem 1.4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.md-usage-card__title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.md-usage-card__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.80);
  margin-bottom: 0;
}

.md-usage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.md-usage-card:hover .md-usage-card__bg {
  transform: scale(1.06);
}

/* Responsive tuning */


  .md-usage-card__meta {
    padding: 1rem 1.1rem 1.1rem;
  }

  .md-usage-card__title {
    font-size: 1.8rem;
  }

  .md-usage-card__text {
    font-size: 0.9rem;
  }

/* === HORIZONTAL STEPS (koraci 1–5) === */

.md-steps-h {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: stretch;
}

/* Svaki korak kao kolona/kartica */
.md-step-h {
  flex: 1 1 180px;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  color: #000;
}

/* Indikator (broj + linija ka sledećem) */
.md-step-h__indicator {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.md-step-h__badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #fff;
  color: #000;
  z-index: 2;
}

.md-step-h__line {
  flex: 1;
  height: 2px;
  margin-left: 0.4rem;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
  opacity: 0.8;
}

/* poslednji nema liniju */
.md-step-h--last .md-step-h__line {
  display: none;
}

/* Kartica */
.md-step-h__card {
  border: 1px solid #000;
  border-radius: 14px;
  padding: 1.1rem 1.2rem 1.2rem;
  background-color: #fff;
  color: #000;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* mali label gore */
.md-step-h__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #000;
}

/* naslov koraka */
.md-step-h__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #000;
}

/* sav tekst unutar kartice crn */
.md-step-h__card p {
  color: #000;
}

/* hover efekat kao na premium karticama */
@media (hover: hover) {
  .md-step-h__card:hover {
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    transition: all 0.25s ease;
  }
}

/* RESPONSIVE: lomljenje kolona */
@media (max-width: 1199.98px) {
  .md-step-h {
    max-width: none;
  }
}

@media (max-width: 991.98px) {
  .md-steps-h {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .md-steps-h {
    flex-direction: column;
    max-width: 600px;
  }

  .md-step-h {
    max-width: 100%;
  }

  .md-step-h__indicator {
    margin-bottom: 0.4rem;
  }

  .md-step-h__line {
    max-width: 120px;
  }
}

/* =========================
   White Hero Section (for subpages)
   ========================= */
.hero-white{
  min-height: 50vh;
  background: #ffffff;
  padding-top: 94px;
}
.hero-white .hero-inner-landing{
  margin-top: 80px;
}
.hero-white .h1-below{
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
}
.hero-inner-white{
  max-width: 800px;
}
.hero-title-dark{
  color: #111111;
  font-size: clamp(2rem, 4vw, 3rem);
}
.hero-badge-dark{
  background: rgba(0,0,0,0.06);
  color: #333;
  border: 1px solid rgba(0,0,0,0.12);
  font-weight: 600;
  letter-spacing: .2px;
}
/* Dark button variant for white hero */
.hero-white .btn-cut-primary{
  background: #111;
  color: #fff;
  border: none;
}
.hero-white .btn-cut-primary:hover{
  background: #333;
  color: #fff;
}
.hero-white .btn-straight{
  border-color: #333;
  color: #333;
}
.hero-white .btn-straight:hover{
  background: #111;
  color: #fff;
  border-color: #111;
}
@media (max-width: 1199.98px){
  .hero-white{
    padding-top: 0px;
  }
  .hero-white .hero-inner-landing{
    margin-top: 160px;
  }
}

/* ===============================
   Hero Split Columns Section
   =============================== */
.hero-split {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hero-column {
  position: relative;
  overflow: hidden;
}

.hero-column__link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.hero-column__inner {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
  overflow: hidden;
}

/* Overlay for better text readability */
.hero-column__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.6s ease;
  z-index: 1;
}

.hero-column__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 400px;
}

.hero-column__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-column__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Badge at bottom of card */
.hero-column__badge {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  border: 2px solid var(--brand-red);
  color: #fff;
  background: transparent;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 3;
  transition: all 0.3s ease;
}

.hero-column:hover .hero-column__badge {
  background: rgba(192, 38, 50, 0.2);
}

/* Button styling for hero columns */
.btn-hero-column {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Hover effects */
.hero-column:hover .hero-column__inner {
  transform: scale(1.1);
}

.hero-column:hover .hero-column__inner::before {
  background: rgba(0, 0, 0, 0.3);
}

.hero-column:hover .btn-straight {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateY(-2px);
}

.hero-column:hover .btn-hero-column {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(192, 38, 50, 0.4);
}

/* Desktop layout - cards at 70vh */
@media (min-width: 992px) {
  .hero-split {
    display: flex !important;
    height: 80vh !important;
  }
  
  .hero-split .row {
    height: 100%;
    width: 100%;
  }
  
  .hero-column {
    flex: 1 !important;
    height: 80vh !important;
  }
  
  .hero-column__link {
    height: 80vh !important;
  }
  
  .hero-column__inner {
    min-height: 80vh !important;
    height: 80vh !important;
  }
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
  .hero-column {
    min-height: 350px;
  }
  
  .hero-column__inner {
    min-height: 350px;
  }

  .hero-column__content {
    padding: 1rem 1.5rem;
  }
  
  /* Hide badges on mobile */
  .hero-column__badge {
    display: none;
  }
  
  /* First card only: extra top margin for navigation */
  .hero-column:first-child {
    margin-top: 20%;
  }
  
  .hero-column__title {
    font-size: 1.75rem;
  }
  
  .hero-column__subtitle {
    font-size: 1rem;
  }
}

/* =========================
   Product Gallery Styles
   ========================= */
.product-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
  background-color: #f8f9fa;
}

.product-main-image:hover {
  transform: scale(1.02);
}

.thumbnail-gallery {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #dc3545;
  transform: scale(1.05);
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.gallery-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.gallery-close:hover {
  color: #dc3545;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 30px;
  padding: 15px 20px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.gallery-nav:hover {
  background-color: rgba(220, 53, 69, 0.8);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

/* Product Details Styles */
.product-details {
  background: white;
  border-radius: 12px;
  padding: 30px;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.product-description {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 30px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.product-features li {
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li i {
  color: #28a745;
  margin-right: 10px;
}

/* Custom button hover */
.btn-black-hover-red {
  background-color: #fff;
  border-color: #000;
  color: #000;
}

.btn-black-hover-red:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

