:root {
  --bg: #0b0d12;
  --bg-alt: #141824;
  --panel: #ffffff;
  --panel-2: #f2f5fb;
  --text: #eff4fb;
  --body-text: #1d2430;
  --muted: #647084;
  --line: rgba(12, 20, 32, 0.12);
  --brand-blue: #2e3192;
  --accent: #f3d21a;
  --accent-2: #c69b3a;
  --shadow: 0 18px 44px rgba(8, 14, 24, 0.16);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --container: 1180px;
  --ease: 220ms ease;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: #f5f7fb;
  color: var(--body-text);
  line-height: 1.6;
  min-height: 100vh;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(215, 180, 106, 0.35);
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -140%);
  top: 0.5rem;
  background: var(--accent);
  color: #07111d;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  z-index: 9999;
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-shell {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: min(240px, 54vw);
  height: auto;
  flex: 0 1 auto;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.brand-text small {
  display: block;
  color: var(--muted);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-blue);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.nav {
  display: none;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: #263044;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--brand-blue);
  background: rgba(46, 49, 146, 0.08);
}

.nav-panel {
  display: none;
  padding-bottom: 1rem;
}

.nav-panel.open {
  display: block;
}

.nav-panel .nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero,
.section {
  padding: 4rem 0;
}

.hero {
  min-height: clamp(620px, 82vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.86), rgba(7, 10, 18, 0.52) 48%, rgba(7, 10, 18, 0.12)),
    url("../images/tdp-security-hero.webp") center / cover no-repeat;
  padding: 7rem 0 3rem;
}

.hero-content {
  max-width: 820px;
  padding-bottom: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-2), transparent);
}

h1,
h2,
h3,
h4 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  margin: 0.5rem 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
}

.button {
  background: var(--accent);
  color: #10131b;
  font-weight: 800;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.panel .button-secondary,
.contact-card .button-secondary,
.form-card .button-secondary {
  background: rgba(46, 49, 146, 0.08);
  border-color: rgba(46, 49, 146, 0.24);
  color: var(--brand-blue);
}

.button-ghost {
  background: transparent;
  border-color: rgba(46, 49, 146, 0.24);
  color: var(--brand-blue);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.button:focus-visible,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  transform: translateY(-2px);
}

.hero-card,
.panel,
.feature,
.service-card,
.contact-card,
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
}

.stats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--accent);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature,
.service-card,
.contact-card,
.form-card {
  padding: 1.4rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(46, 49, 146, 0.08);
  color: var(--brand-blue);
  margin-bottom: 1rem;
}

.feature-icon svg,
.card-icon svg {
  width: 22px;
  height: 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-heading p {
  max-width: 60ch;
  margin: 0;
}

.service-card {
  display: grid;
  gap: 1rem;
}

.service-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(243, 210, 26, 0.22);
  color: var(--brand-blue);
}

.label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(46, 49, 146, 0.08);
  color: var(--brand-blue);
  width: fit-content;
  font-size: 0.88rem;
}

.panel {
  padding: 1.4rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background: #dce3ee;
  border: 1px solid var(--line);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame .media-copy {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.video-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #10131b;
  box-shadow: var(--shadow);
}

.ratio-16x9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.ratio-16x9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.35);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card a {
  color: var(--text);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-list strong {
  display: block;
}

.contact-list .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 0.55rem;
  flex: 0 0 auto;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--body-text);
  font-weight: 700;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
  color: var(--body-text);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  outline: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(215, 180, 106, 0.68);
  box-shadow: 0 0 0 4px rgba(215, 180, 106, 0.15);
}

.help-text {
  color: var(--muted);
  font-size: 0.9rem;
}

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.5rem;
}

.alert {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert.success {
  background: rgba(107, 208, 200, 0.1);
  border-color: rgba(107, 208, 200, 0.25);
}

.alert.error {
  background: rgba(216, 89, 89, 0.12);
  border-color: rgba(216, 89, 89, 0.22);
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #10131b;
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding: 3rem 0 2rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1rem 0 5rem;
  color: rgba(255, 255, 255, 0.72);
}

.mobile-call,
.mobile-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  color: #07111d;
  box-shadow: var(--shadow);
}

.mobile-call {
  background: var(--accent);
  bottom: 1rem;
}

.mobile-whatsapp {
  background: #22c55e;
  bottom: 4.65rem;
}

.small-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.honey {
  display: none !important;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .form-grid.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .nav-panel {
    display: none !important;
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Premium responsive header and shared contact system */
:root {
  --header-height: 82px;
  --header-height-compact: 72px;
  --navy: #071a3d;
  --navy-soft: #12336f;
  --gold: #f4cf20;
  --gold-deep: #d5aa13;
}

body { overflow-x: hidden; }
body.menu-open { overflow: hidden; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  width: 100%;
  height: var(--header-height);
  background: #fff;
  transition: height .3s ease, background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.site-header--overlay {
  position: fixed;
  background: linear-gradient(180deg, rgba(2, 10, 27, .72), rgba(2, 10, 27, .08));
}

.site-header.is-scrolled {
  height: var(--header-height-compact);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 10px 30px rgba(6, 20, 47, .12);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 1.3vw, 1.35rem);
}

.header-brand {
  position: relative;
  flex: 0 0 clamp(150px, 14vw, 205px);
  height: 48px;
  display: flex;
  align-items: center;
}

.header-logo {
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  transition: opacity .3s ease, width .3s ease;
}

.header-logo--white { opacity: 0; }
.site-header--overlay:not(.is-scrolled) .header-logo--white { opacity: 1; }
.site-header--overlay:not(.is-scrolled) .header-logo--blue { opacity: 0; }
.site-header.is-scrolled .header-logo { width: 92%; }

.desktop-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.1rem, .45vw, .55rem);
  min-width: 0;
  white-space: nowrap;
}

.desktop-nav a {
  position: relative;
  color: var(--navy);
  font-size: clamp(.72rem, .72vw, .88rem);
  font-weight: 700;
  padding: .65rem clamp(.25rem, .4vw, .55rem);
  transition: color .25s ease;
}

.site-header--overlay:not(.is-scrolled) .desktop-nav a { color: #fff; }
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: .35rem;
  right: .35rem;
  bottom: .3rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current='page'] { color: var(--gold-deep); }
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current='page']::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.45rem, .7vw, .75rem);
  white-space: nowrap;
  flex: 0 0 auto;
}

.header-call,
.header-quote {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(.72rem, .7vw, .84rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.header-call {
  background: var(--brand-blue);
  color: #fff;
  padding: .7rem .85rem;
  animation: quiet-pulse 5s ease-in-out infinite;
}
.header-call svg { width: 19px; height: 19px; }
.header-call:hover { background: var(--gold); color: var(--navy); transform: scale(1.035); }
.header-quote { background: var(--gold); color: var(--navy); padding: .7rem .9rem; }
.header-quote:hover { background: #ffe04d; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(213, 170, 19, .28); }

@keyframes quiet-pulse {
  0%, 84%, 100% { box-shadow: 0 0 0 0 rgba(46, 49, 146, 0); }
  90% { box-shadow: 0 0 0 7px rgba(46, 49, 146, .13); }
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid rgba(7, 26, 61, .18);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-height-compact) 0 0;
  z-index: 1999;
  overflow-y: auto;
  background: linear-gradient(145deg, #06152f, #0e2b61);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .32s ease, opacity .32s ease, visibility .32s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateX(0); }
.mobile-nav-inner { width: min(100% - 2rem, 620px); margin: 0 auto; padding: 2rem 0 6rem; }
.mobile-nav nav { display: grid; }
.mobile-nav nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); font-size: clamp(1.05rem, 4vw, 1.3rem); font-weight: 700; }
.mobile-nav nav a[aria-current='page'] { color: var(--gold); }
.mobile-quote { width: 100%; margin: 1.5rem 0; }
.mobile-contact { display: grid; gap: .7rem; }
.mobile-contact a { min-height: 48px; display: flex; align-items: center; gap: .75rem; color: #fff; }
.mobile-contact svg { width: 22px; height: 22px; }
.mobile-social { display: flex; gap: 1rem; padding-top: 1.2rem; margin-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); color: var(--gold); }
.whatsapp-pending { color: rgba(255,255,255,.6); }

.floating-contact {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, calc(env(safe-area-inset-bottom) + 1rem));
  z-index: 1800;
  display: grid;
  justify-items: end;
  gap: .55rem;
  transition: opacity .2s ease, transform .2s ease;
}
.floating-contact.is-footer-visible { opacity: 0; transform: translateY(1rem); pointer-events: none; }
.float-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .9rem;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 10px 28px rgba(4, 15, 37, .22);
  font-weight: 800;
  font-size: .82rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.float-action:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(4, 15, 37, .3); }
.float-action svg { width: 20px; height: 20px; }
.float-call { background: var(--brand-blue); }
.float-whatsapp { background: #168b50; }
.float-whatsapp:disabled { opacity: .62; cursor: not-allowed; border: 0; }
.float-quote { background: var(--gold); color: var(--navy); }

.section { padding: 5rem 0; }
.inner-hero { padding: 4.5rem 0 3rem; background: linear-gradient(135deg, #071a3d 0%, #12336f 70%, #24509c 100%); color: #fff; }
.inner-hero h1 { font-size: clamp(2.25rem, 5vw, 4.3rem); }
.inner-hero p { color: rgba(255,255,255,.78); }
.content-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem 1.4rem; padding: 0; list-style: none; }
.content-list li { position: relative; padding-left: 1.4rem; color: var(--muted); }
.content-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.section-tint { background: #edf2f9; }
.trust-strip { padding: 1.2rem 0; background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .grid-4 { align-items: stretch; }
.trust-item { padding: .75rem 1rem; border-left: 3px solid var(--gold); }
.trust-item strong { display: block; color: var(--navy); }
.hero-rotator { position: relative; overflow: hidden; min-height: clamp(650px, 90vh, 860px); display: grid; align-items: end; color: #fff; padding: 9.5rem 0 4rem; background: #07111f; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 1.1s ease, transform 8s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-rotator::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,24,.9) 0%, rgba(3,10,24,.68) 48%, rgba(3,10,24,.22) 100%); }
.hero-rotator .hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-rotator h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.hero-rotator .lead { font-size: clamp(1rem, 1.35vw, 1.18rem); }
.client-note { font-size: .85rem; color: var(--muted); }
.coming-soon { display: inline-flex; background: rgba(244,207,32,.22); color: var(--navy); font-weight: 800; border-radius: 999px; padding: .35rem .7rem; }
.footer { margin-top: 0; }
.footer-logo { width: min(220px, 75%); height: auto; margin-bottom: 1.2rem; }
.footer-company p { color: rgba(255,255,255,.7); }
.footer-subheading { margin-top: 1.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-bottom: 5.5rem; }
.footer-bottom a { color: rgba(255,255,255,.84); }

@media (max-width: 1099px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-brand { flex-basis: clamp(175px, 24vw, 230px); margin-right: auto; }
  .site-header--overlay:not(.is-scrolled) .menu-toggle { background: rgba(255,255,255,.94); }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .header-call .call-copy { display: inline; }
}

@media (min-width: 769px) and (max-width: 899px) {
  .header-call { width: 46px; padding: 0; }
  .header-call .call-copy { display: none; }
  .header-quote { display: inline-flex; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; --header-height-compact: 66px; }
  .site-header { height: 70px; }
  .site-header.is-scrolled { height: 66px; }
  .header-inner { width: min(100% - 1.2rem, var(--container)); gap: .5rem; }
  .header-brand { flex-basis: clamp(142px, 46vw, 188px); height: 42px; }
  .header-call { width: 44px; min-height: 44px; padding: 0; }
  .header-call .call-copy, .header-quote { display: none; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-nav { inset: var(--header-height-compact) 0 0; }
  .hero-rotator { min-height: 700px; padding: 7.5rem 0 3rem; }
  .hero-rotator::after { background: linear-gradient(180deg, rgba(3,10,24,.52), rgba(3,10,24,.88) 70%); }
  .section { padding: 3rem 0; }
  .inner-hero { padding: 3rem 0 2.4rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .grid-2, .grid-3, .grid-4, .content-list { grid-template-columns: 1fr; }
  .floating-contact { display: flex; right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, calc(env(safe-area-inset-bottom) + .75rem)); gap: .45rem; }
  .float-action { width: 46px; height: 46px; min-height: 46px; padding: 0; justify-content: center; }
  .float-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .footer-grid { padding-top: 2.5rem; }
  .footer-bottom { padding-bottom: 5.5rem; }
}

@media (max-width: 360px) {
  .header-brand { flex-basis: 138px; }
  .header-inner { width: calc(100% - .8rem); }
}

@media (prefers-reduced-motion: reduce) {
  .header-call { animation: none; }
  .hero-slide { transition: none; transform: none; }
}

/* Security-led visual system */
h1, h2, h3, h4 {
  font-family: "Bahnschrift Condensed", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
}

.header-emergency {
  background: var(--gold);
  color: var(--navy);
}

.inner-hero[class*="inner-hero--"] {
  position: relative;
  min-height: clamp(340px, 42vw, 500px);
  display: grid;
  align-items: end;
  padding: clamp(6rem, 10vw, 9rem) 0 clamp(2.7rem, 5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.inner-hero[class*="inner-hero--"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 13, 36, .96) 0%, rgba(5, 27, 67, .88) 48%, rgba(6, 26, 60, .44) 100%),
    linear-gradient(180deg, rgba(3, 15, 37, .16), rgba(3, 15, 37, .72));
}

.inner-hero--about { background-image: url("../images/tdp-main-hero-team.webp"); }
.inner-hero--services { background-image: url("../images/tdp-armed-response-vehicle.webp"); background-position: center 58%; }
.inner-hero--guarding { background-image: url("../images/tdp-uniformed-security-team.webp"); }
.inner-hero--armed { background-image: url("../images/tdp-tactical-armed-response.webp"); background-position: center 42%; }
.inner-hero--fleet { background-image: url("../images/tdp-fleet-operations.webp"); }
.inner-hero--careers { background-image: url("../images/tdp-main-hero-team.webp"); }
.inner-hero--contact { background-image: url("../images/tdp-armed-response-vehicle.webp"); background-position: center 58%; }
.inner-hero--branches { background-image: url("../images/tdp-security-response-fleet.webp"); }

.inner-hero-content { position: relative; z-index: 1; }
.inner-hero-content h1 { max-width: 15ch; margin: .35rem 0 .9rem; color: #fff; }
.inner-hero-content .lead { max-width: 66ch; }
.inner-hero-content .breadcrumb { color: rgba(255,255,255,.72); }
.inner-hero-content .breadcrumb a { color: #fff; }

.service-card,
.feature,
.security-panel {
  border-top: 4px solid var(--brand-blue);
}

.service-card:hover,
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(8, 20, 46, .18);
}

.about-image-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 390px;
  margin: 1.4rem 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #06152f, #12336f);
  box-shadow: var(--shadow);
}

.about-image-band > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.about-image-band > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  color: #fff;
}

.about-image-band p { color: rgba(255,255,255,.76); }
.service-image-band { margin-top: 1.4rem; }

.client-logo-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 16px 40px rgba(8, 20, 46, .12);
}

.client-logo-panel img {
  width: 100%;
  height: auto;
}

.client-reference-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}

.client-reference-list span {
  padding: .5rem .75rem;
  border: 1px solid rgba(46,49,146,.18);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 700;
}

.tactical-frame { aspect-ratio: 16 / 8; }

@media (max-width: 768px) {
  .inner-hero[class*="inner-hero--"] { min-height: 390px; padding-top: 6.5rem; }
  .inner-hero[class*="inner-hero--"]::before { background: linear-gradient(180deg, rgba(2,13,36,.62), rgba(2,13,36,.96) 72%); }
  .about-image-band { grid-template-columns: 1fr; }
  .about-image-band > img { min-height: 250px; max-height: 320px; }
  .tactical-frame { aspect-ratio: 4 / 3; }
}

/* Final corporate, gallery and mobile emergency enhancements */
.footer-grid { grid-template-columns: 1.25fr .85fr 1fr 1fr; }
.footer-grid h3 { color: #fff; margin-bottom: .8rem; }
.footer-company p { font-size: .9rem; }

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(2, 13, 36, .97), rgba(8, 38, 83, .9)),
    url("../images/gallery/armed-response-team-vehicles.webp") center 55% / cover no-repeat;
}
.final-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 60%, rgba(243,210,26,.13)); }
.final-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.final-cta h2 { color: #fff; margin: .4rem 0 .7rem; }
.final-cta p { color: rgba(255,255,255,.76); max-width: 60ch; margin: 0; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; flex: 0 0 auto; }
.final-cta-actions svg { width: 20px; height: 20px; }

.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; }
.trust-grid .trust-item { min-height: 104px; }

.client-logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.client-logo-card {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 22px rgba(8,20,46,.07);
}
.client-logo-card img { width: auto; max-width: 145px; height: auto; max-height: 58px; object-fit: contain; }
.client-logo-card--name { color: var(--navy); font-size: .82rem; font-weight: 800; line-height: 1.25; }

.inner-hero--gallery { background-image: url("../images/gallery/security-officers-at-site.webp"); }
.inner-hero--profile { background-image: url("../images/tdp-main-hero-team.webp"); }
.inner-hero--technology { background-image: url("../images/gallery/control-room-monitoring.webp"); }
.inner-hero--industry { background-image: url("../images/gallery/tactical-site-security.webp"); }

.gallery-section + .gallery-section { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.gallery-card { position: relative; min-height: 0; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-md); background: #0a1730; color: #fff; cursor: zoom-in; box-shadow: 0 12px 30px rgba(7,18,38,.14); }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.gallery-card span { position: absolute; inset: auto 0 0; padding: 1.4rem 1rem .85rem; text-align: left; font-weight: 800; line-height: 1.3; background: linear-gradient(transparent, rgba(2,11,27,.92)); }
.gallery-card:hover img { transform: scale(1.035); opacity: .9; }
.gallery-card:focus-visible { outline: 4px solid var(--accent); outline-offset: 3px; }
.gallery-note { padding: 1.25rem; border-left: 4px solid var(--accent); background: #fff; box-shadow: 0 8px 24px rgba(8,20,46,.08); }

.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; padding: clamp(1rem,4vw,3rem); background: rgba(1,7,18,.94); }
.lightbox.is-open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); max-height: 88vh; }
.lightbox img { max-height: 78vh; width: auto; margin: auto; border-radius: var(--radius-md); }
.lightbox figcaption { color: #fff; text-align: center; padding: .8rem; }
.lightbox-close { position: fixed; top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right)); width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
body.lightbox-open { overflow: hidden; }

.profile-placeholder { max-width: 850px; margin: 0 auto; padding: clamp(2rem,5vw,4.5rem); text-align: center; border-top: 5px solid var(--accent); }
.profile-icon { width: 82px; height: 96px; display: grid; place-items: center; margin: 0 auto 1.5rem; border: 3px solid var(--brand-blue); border-radius: 8px; color: var(--brand-blue); font-weight: 900; }
.profile-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; padding: 0; margin: 1.5rem 0; list-style: none; text-align: left; }
.profile-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .55rem; border-radius: 50%; background: var(--accent); }

.service-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.service-directory .service-card { height: 100%; }

@media (max-width: 1099px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .client-logo-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .service-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 768px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .final-cta-actions { width: 100%; justify-content: flex-start; }
  .final-cta-actions a { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .client-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-directory { grid-template-columns: 1fr; }
  .floating-contact { display: block; left: 0; right: 0; bottom: 0; padding: .55rem max(.75rem,env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left)); background: rgba(3,16,40,.97); backdrop-filter: blur(12px); }
  .floating-contact.is-footer-visible { opacity: 1; transform: none; pointer-events: auto; }
  .float-action.float-call { width: 100%; height: 50px; min-height: 50px; justify-content: center; border-radius: 8px; background: var(--accent); color: #07152f; font-size: .95rem; }
  .float-call .float-label { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
  .float-whatsapp, .float-quote { display: none; }
  .footer-bottom { padding-bottom: 1.5rem; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .profile-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card img { transition: none; }
}

/* Supplied operational photography and contact contrast refinements */
.inner-hero--about { background-image: url("../images/tdp-armed-forces-team-13.webp"); background-position: center 44%; }
.inner-hero--guarding { background-image: url("../images/tdp-tactical-team-lineup.webp"); background-position: center 38%; }

.expertise-image { aspect-ratio: 16 / 8.6; }
.expertise-image img { object-position: center 45%; }

.security-photo-strip,
.security-photo-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.security-photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.security-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.security-photo-strip figure,
.security-photo-grid figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow);
}
.security-photo-grid figure { min-height: 340px; }
.security-photo-strip img,
.security-photo-grid img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.security-photo-strip figcaption,
.security-photo-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 2.5rem 1rem 1rem;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(transparent, rgba(2, 13, 36, .94));
}
.guarding-sector-list { align-content: start; padding: 1.5rem; border-top: 4px solid var(--brand-blue); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }

.contact-card a:not(.button):not(.button-ghost):not(.button-secondary) {
  color: #24318b;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(36,49,139,.3);
  text-underline-offset: 3px;
}
.contact-card a:not(.button):not(.button-ghost):not(.button-secondary):hover { color: #16205f; text-decoration-color: currentColor; }
.contact-card .contact-list span { color: #1d2430; }
.contact-enquiries a:not(.button):not(.button-ghost):not(.button-secondary) { color: #24318b; }

@media (max-width: 768px) {
  .security-photo-strip,
  .security-photo-grid { grid-template-columns: 1fr; }
  .security-photo-strip figure,
  .security-photo-grid figure { min-height: 270px; }
}

/* Homepage operational sliders and emergency emphasis */
.section .eyebrow { color: #263493; font-weight: 900; }
.section .eyebrow::before { background: linear-gradient(90deg, var(--accent-2), rgba(198,155,58,.08)); }
.section .about-image-band .eyebrow { color: var(--accent); }

.content-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #07152f;
  box-shadow: var(--shadow);
}
.grid-2 > *,
.security-panel { min-width: 0; }
.expertise-slider { aspect-ratio: 16 / 9; }
.fleet-slider { aspect-ratio: 4 / 3; margin-top: 1rem; }
.content-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .6s ease, transform 1.2s ease;
}
.content-slide.is-active { opacity: 1; transform: scale(1); }
.slider-controls {
  position: absolute;
  z-index: 2;
  right: .8rem;
  bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(3,15,37,.82);
  color: #fff;
  backdrop-filter: blur(10px);
}
.slider-controls button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.slider-controls button:hover,
.slider-controls button:focus-visible { background: var(--accent); color: #07152f; }
.slider-controls span { min-width: 48px; text-align: center; font-size: .8rem; font-weight: 800; }

.header-emergency,
.mobile-quote,
.float-action.float-call,
.button.emergency-button,
.button-secondary.emergency-button {
  border-color: #c71920;
  background: #c71920;
  color: #fff;
}
.header-emergency:hover,
.mobile-quote:hover,
.float-action.float-call:hover,
.button.emergency-button:hover,
.button-secondary.emergency-button:hover { border-color: #9f1016; background: #9f1016; color: #fff; }

@media (max-width: 768px) {
  .content-slider { min-height: 260px; }
  .expertise-slider,
  .fleet-slider { aspect-ratio: 4 / 3; }
  .float-action.float-call { background: #c71920; color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .content-slide { transition: none; }
}
