/* ==========================================================================
   STIS — Security Technology Integrated Systems (https://stis.co.za/)
   Modern, SEO-Friendly, Fully Responsive Stylesheet
   Brand Colors derived from STIS Logo:
   - Brand Orange: #F27405 / #FF7A00
   - Brand Cobalt Blue: #0D5C91 / #1E88E5
   - Brand Charcoal / Dark Navy: #0B111A / #151E2B
   ========================================================================== */

:root {
  /* Core Brand Palette */
  --stis-orange: #f27405;
  --stis-orange-light: #ff8c24;
  --stis-orange-dark: #c95c00;
  --stis-orange-glow: rgba(242, 116, 5, 0.22);

  --stis-blue: #0d5c91;
  --stis-blue-light: #1e88e5;
  --stis-blue-dark: #083d63;
  --stis-blue-glow: rgba(30, 136, 229, 0.22);

  /* Backgrounds & Surfaces */
  --bg-dark: #090e17;
  --bg-dark-elevated: #111927;
  --bg-dark-card: #162032;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;

  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 45px -10px rgba(9, 14, 23, 0.18);
  --shadow-orange: 0 10px 25px -4px rgba(242, 116, 5, 0.38);

  /* Layout & Spacing */
  --container-max: 1320px;
  --header-height: 82px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: inherit;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

ul {
  list-style: none;
}

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

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--stis-orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
}

.skip-link:focus {
  top: 16px;
}

/* Container & Grid Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-header {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stis-orange);
  background: var(--stis-orange-glow);
  border: 1px solid rgba(242, 116, 5, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.eyebrow-blue {
  color: var(--stis-blue-light);
  background: var(--stis-blue-glow);
  border-color: rgba(30, 136, 229, 0.3);
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
}

.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--stis-orange) 0%, #ffb347 55%, var(--stis-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Top Info Bar
   ========================================================================== */
.topbar {
  background-color: #05080f;
  color: var(--text-light-muted);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-dark);
  padding-block: 8px;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topbar-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  color: var(--stis-orange);
  flex-shrink: 0;
}

.topbar-item a:hover {
  color: #fff;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 14, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(9, 14, 23, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-light-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-menu li {
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--stis-orange);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--stis-orange) 0%, var(--stis-orange-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--stis-orange-light) 0%, var(--stis-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(242, 116, 5, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--stis-blue);
  border-color: var(--stis-blue);
}

.btn-outline:hover {
  background: var(--stis-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #16a34a;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #15803d;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.02rem;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-dark);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-block: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(242, 116, 5, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(13, 92, 145, 0.28) 0%, transparent 48%),
    linear-gradient(180deg, #070b12 0%, #0d1522 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-motto {
  display: inline-block;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  color: #e2e8f0;
  border-left: 4px solid var(--stis-orange);
  padding-left: 14px;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--text-light-muted);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(242, 116, 5, 0.14);
  color: var(--stis-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 19px;
  height: 19px;
}

.trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* Hero Right Visual Panel */
.hero-visual {
  position: relative;
}

.hero-card {
  background: linear-gradient(145deg, rgba(22, 32, 50, 0.92), rgba(13, 21, 34, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--stis-orange), var(--stis-blue-light));
}

.hero-card-logo {
  background: rgba(255, 255, 255, 0.96);
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-card-logo img {
  max-height: 82px;
  width: auto;
}

.hero-system-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.pillar-mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  transition: border-color var(--transition), transform var(--transition);
}

.pillar-mini:hover {
  border-color: var(--stis-orange);
  transform: translateY(-2px);
}

.pillar-mini-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pillar-mini-title svg {
  width: 16px;
  height: 16px;
  color: var(--stis-orange);
}

.pillar-mini p {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding-block: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-box {
  padding: 0.75rem;
  border-right: 1px solid var(--border-light);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--stis-blue);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-number span {
  color: var(--stis-orange);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--stis-orange);
  border-color: var(--stis-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(242, 116, 5, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--stis-orange), var(--stis-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(242, 116, 5, 0.35);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card-media {
  position: relative;
  margin: -2rem -2rem 1.35rem -2rem;
  height: 205px;
  overflow: hidden;
  background: var(--bg-dark);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 23, 0.05) 35%, rgba(9, 14, 23, 0.65) 100%);
  pointer-events: none;
}

.service-card-media .service-icon-wrap {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 2;
  margin-bottom: 0;
  width: 46px;
  height: 46px;
  background: rgba(9, 14, 23, 0.88);
  border: 1px solid rgba(242, 116, 5, 0.5);
  backdrop-filter: blur(6px);
  color: var(--stis-orange);
}

.service-card-media .service-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.service-detail-banner {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.35rem;
  border: 1px solid var(--border-light);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(242, 116, 5, 0.12), rgba(13, 92, 145, 0.12));
  color: var(--stis-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-badge {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stis-blue);
  background: rgba(13, 92, 145, 0.09);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-features {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--stis-orange);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--stis-blue);
}

.service-link:hover {
  color: var(--stis-orange);
  gap: 10px;
}

/* ==========================================================================
   Aluminium & Integrated Security Spotlight
   ========================================================================== */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.spotlight-box {
  background: linear-gradient(145deg, var(--bg-dark-card), var(--bg-dark-elevated));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.feature-check-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.feature-check-card h4 {
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-check-card h4 svg {
  width: 18px;
  height: 18px;
  color: var(--stis-orange);
  flex-shrink: 0;
}

.feature-check-card p {
  font-size: 0.84rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Interactive Solution Finder / Quick Estimator
   ========================================================================== */
.estimator-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

.estimator-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}

.estimator-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.95rem 1.1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  user-select: none;
}

.estimator-chip input {
  accent-color: var(--stis-orange);
  width: 18px;
  height: 18px;
}

.estimator-chip:hover,
.estimator-chip.selected {
  border-color: var(--stis-orange);
  background: rgba(242, 116, 5, 0.05);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.quote-stars {
  color: #f59e0b;
  display: flex;
  gap: 4px;
  margin-bottom: 1.1rem;
}

.quote-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 1.15rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--stis-blue), var(--stis-orange));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-meta strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
}

.author-meta span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--stis-orange);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--stis-orange);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ==========================================================================
   Contact Section & Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info-card {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-block: 1.75rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(242, 116, 5, 0.16);
  color: var(--stis-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail-item h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.contact-detail-item p,
.contact-detail-item a {
  font-size: 0.92rem;
  color: var(--text-light-muted);
}

.contact-detail-item a:hover {
  color: var(--stis-orange);
}

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--stis-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242, 116, 5, 0.16);
}

textarea.form-control {
  min-height: 125px;
  resize: vertical;
}

.map-frame {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
}

/* ==========================================================================
   Page Banner (Interior Pages: About, Services, Contact)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #070b12 0%, #0f1a2c 60%, #0b2942 100%);
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--stis-orange);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #05080f;
  color: var(--text-light-muted);
  padding-top: 4.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-logo-box {
  background: rgba(255, 255, 255, 0.95);
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
}

.footer-logo-box img {
  height: 48px;
  width: auto;
}

.footer-heading {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-light-muted);
}

.footer-links a:hover {
  color: var(--stis-orange);
  padding-left: 4px;
}

.footer-bottom {
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Floating Quick Contact Button (positioned above Google reCAPTCHA v3 badge) */
.floating-cta {
  position: fixed;
  bottom: 92px;
  right: 22px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Responsive Breakpoints (All Devices: Large Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1360px) {
  .brand-text {
    display: none;
  }
}

@media (max-width: 1140px) {
  .header-actions .btn-secondary {
    display: none;
  }

  .nav-link {
    padding: 0.45rem 0.7rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .hero-inner,
  .spotlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-box:nth-child(2) {
    border-right: none;
  }

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

@media (max-width: 960px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #090e17;
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1.02rem;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-trust-badges,
  .hero-pillars,
  .feature-list-grid,
  .form-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.25rem;
  }

  .stat-box:last-child {
    border-bottom: none;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .fab-btn span {
    display: none;
  }

  .fab-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
  }
}

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

/* ==========================================================================
   Quotation Confirmation Modal & Loading Spinners
   ========================================================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

.stis-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(8, 14, 23, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.stis-modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.stis-modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
  text-align: center;
  position: relative;
  transform: translateY(24px) scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.stis-modal-backdrop.active .stis-modal-card {
  transform: translateY(0) scale(1);
}

.stis-modal-close-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.stis-modal-close-icon:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.08);
}

.stis-modal-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
}

.stis-modal-badge svg {
  width: 38px;
  height: 38px;
}

.stis-modal-title {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.stis-modal-lead {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.stis-modal-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.stis-modal-summary-item {
  display: flex;
  justify-content: space-between;
  padding-block: 0.4rem;
  border-bottom: 1px dashed #e2e8f0;
}

.stis-modal-summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stis-modal-summary-label {
  color: #64748b;
  font-weight: 500;
}

.stis-modal-summary-value {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stis-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stis-modal-actions-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

@media (max-width: 480px) {
  .stis-modal-card {
    padding: 2rem 1.25rem 1.5rem;
  }
  .stis-modal-actions-secondary {
    grid-template-columns: 1fr;
  }
}
