/* Modern UI refresh for Titans Security Scotland */
:root {
  --navy: #07111f;
  --navy-mid: #10243a;
  --navy-light: #1f3d5c;
  --orange: #f97316;
  --orange-dark: #c84c0c;
  --orange-glow: rgba(249, 115, 22, 0.28);
  --off-white: #f4f7fb;
  --border: #dce4ee;
  --text: #132033;
  --muted: #607085;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --s1: 0 1px 2px rgba(15, 23, 42, 0.06);
  --s2: 0 14px 34px rgba(15, 23, 42, 0.1);
  --s3: 0 24px 60px rgba(15, 23, 42, 0.13);
  --s4: 0 32px 80px rgba(15, 23, 42, 0.18);
}

html {
  font-size: 16px;
}

body {
  background: #fff;
  color: var(--text);
  letter-spacing: 0;
}

.cursor-dot,
.cursor-outline,
.particles,
.blob {
  display: none !important;
}

.container {
  max-width: 1180px !important;
}

.sec {
  padding: 88px 0;
}

.sec-off,
.sec-feat-bg,
.sec-contact-bg {
  background: #f7f9fc;
}

.sec-label {
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.sec-title {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  letter-spacing: 0;
}

.sec-sub {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.site-nav {
  padding: 14px 0;
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: visible;
}

.site-nav.stuck {
  background: rgba(7, 17, 31, 0.94);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.24);
}

.nav-logo {
  height: 58px;
}

.site-nav.stuck .nav-logo {
  height: 48px;
}

.nav-links a {
  border-radius: var(--r-sm);
  font-size: 0.98rem;
  font-weight: 650;
  padding: 9px 14px;
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.09);
}

.nav-links a::after {
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
}

.nav-rate {
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: rgba(249, 115, 22, 0.1);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  color: #fed7aa;
}

.nav-cta,
.btn-orange,
.btn-outline-w,
.btn-send,
.pfcta-btn {
  border-radius: var(--r-sm);
  box-shadow: none;
}

.nav-cta {
  padding: 10px 16px;
  font-size: 0.94rem;
}

.hero {
  min-height: 94vh;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.78) 48%, rgba(7, 17, 31, 0.5) 100%),
    url("../images/bannerNew2.png") center / cover no-repeat;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 20%),
    radial-gradient(circle at 18% 28%, rgba(249, 115, 22, 0.2), transparent 34%);
}

.hero::after {
  display: none;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 3rem;
  padding-top: 150px;
  padding-bottom: 120px;
  text-align: left;
}

.hero-copy {
  max-width: 780px;
}

.hero-badge {
  margin-bottom: 1.35rem;
  border-radius: var(--r-sm);
  background: rgba(249, 115, 22, 0.14);
  animation: none;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(3rem, 6.8vw, 5.9rem);
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-title .hl,
.shimmer-text {
  display: inline-block;
  background: none;
  color: #fed7aa;
  -webkit-text-fill-color: currentColor;
  animation: none;
}

.typewriter::after {
  content: "";
  animation: none;
}

.hero-subtitle {
  max-width: 660px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

.hero-cta {
  justify-content: flex-start;
  margin-top: 2rem;
}

.btn-orange,
.btn-outline-w {
  min-height: 52px;
  padding: 14px 22px;
  font-size: 0.98rem;
}

.btn-outline-w {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.hero-proof-panel {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  background: rgba(7, 17, 31, 0.64);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-proof-panel::before {
  content: "";
  display: block;
  height: 7px;
  background: linear-gradient(90deg, var(--orange), #facc15);
}

.proof-panel-inner {
  padding: 1.5rem;
}

.proof-eyebrow {
  margin-bottom: 0.75rem;
  color: #fed7aa;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-title {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.proof-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.proof-list i {
  color: #fb923c;
  margin-top: 0.2rem;
}

.proof-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.proof-mini {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
}

.proof-mini strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.proof-mini span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.hero-stats-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 7, 18, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hstat {
  padding: 1.25rem 1rem;
}

.hstat-num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.feat-card,
.svc-card,
.testi-card,
.vm-card,
.val-card,
.cinfo-card,
.cform-box,
.coverage-panel,
.logo-box,
.client-trust-bar,
.map-frame {
  border-radius: var(--r-lg);
  box-shadow: var(--s1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.feat-card:hover,
.svc-card:hover,
.testi-card:hover,
.cinfo-card:hover,
.logo-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--s2);
}

.feat-card,
.svc-card,
.testi-card,
.cinfo-card,
.cform-box,
.coverage-panel,
.logo-box {
  background: #fff;
}

.feat-icon,
.svc-icon,
.cinfo-ico {
  border-radius: var(--r-sm);
}

.svc-card {
  padding: 2rem;
}

.svc-text,
.feat-text,
.testi-text,
.vm-desc,
.val-text,
.cinfo-body {
  line-height: 1.65;
}

.stats-band,
.vm-section,
.site-footer {
  background: linear-gradient(160deg, #07111f 0%, #10243a 100%);
}

.prefooter-cta {
  background: #f97316;
}

.filter-strip {
  margin-bottom: 2.2rem;
}

.f-btn {
  border-radius: var(--r-sm);
  padding: 10px 18px;
  font-size: 0.94rem;
}

.logos-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.logo-inner {
  height: 132px;
  padding: 1.5rem;
}

.cinfo-card {
  flex-direction: row;
  padding: 1.4rem;
}

.cform-header,
.cform-body {
  padding: 1.75rem;
}

.map-frame {
  height: 390px;
}

.wa-btn,
.scroll-top-btn {
  border-radius: var(--r-sm);
}

.socials .soc-link[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

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

@media (max-width: 991px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-nav {
    z-index: 2000;
    overflow: visible !important;
  }

  .site-nav.menu-open {
    background: rgba(7, 17, 31, 0.98);
  }

  .site-nav .container {
    gap: 1rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 2002;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-logo {
    height: 54px;
  }

  .nav-links-wrap.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 87px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 87px);
    overflow-y: auto;
    background: rgba(7, 17, 31, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
    padding: 1rem 1.1rem 1.25rem;
    z-index: 2001;
  }

  .site-nav.stuck .nav-links-wrap.open {
    top: 73px;
    max-height: calc(100dvh - 73px);
  }

  .nav-links-wrap.open .nav-links {
    gap: 0.35rem;
  }

  .nav-links-wrap.open .nav-links a {
    border-radius: 8px;
    color: #fff;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.045);
  }

  .nav-links-wrap.open .nav-links a.active,
  .nav-links-wrap.open .nav-links a:hover {
    background: rgba(249, 115, 22, 0.18);
  }

  .nav-right-mob {
    width: 100%;
  }

  .nav-right-mob span {
    text-align: center;
  }

  .hero-body {
    grid-template-columns: 1fr;
    padding-top: 128px;
    padding-bottom: 72px;
  }

  .hero-proof-panel {
    max-width: 560px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }

  .sec {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-body {
    padding-top: 112px;
    padding-bottom: 56px;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2.28rem, 10.5vw, 3.35rem);
    line-height: 1.03;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-title .hl,
  .shimmer-text {
    display: block;
  }

  .hero-cta {
    align-items: stretch;
  }

  .hero-cta a {
    width: 100%;
    justify-content: center;
  }

  .hero-proof-panel {
    width: 100%;
  }

  .hero-proof-panel,
  .proof-panel-inner {
    max-width: 100%;
  }

  .hero-stats-bar .row > div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cinfo-card {
    min-height: auto;
  }

  .prefooter-cta .container,
  .ftr-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(2.05rem, 10vw, 2.65rem);
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .proof-title {
    font-size: 1.15rem;
  }
}
