/* ==========================================================================
   MAELIS TOTAL SECURITY (NTSHEPENG GENERAL SERVICES AND PROJECTS T/A)
   Master Stylesheet - Modern Tactical Luxury & Professional Protection
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #070d1d;
  --bg-card: #0e1a38;
  --bg-card-hover: #14254f;
  --bg-card-glass: rgba(14, 26, 56, 0.85);
  --bg-surface: #0a1329;
  
  --primary-navy: #0e1e44;
  --primary-blue: #1d4ed8;
  --accent-cyan: #0ea5e9;
  --accent-gold: #d4af37;
  --accent-gold-bright: #f59e0b;
  --accent-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d4af37 50%, #b45309 100%);
  --accent-blue-gradient: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
  --danger-red: #ef4444;
  --success-green: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #fbbf24;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-solid: #d4af37;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.25);
  --shadow-blue: 0 0 25px rgba(14, 165, 233, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

.gold-gradient-text {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.blue-gradient-text {
  background: var(--accent-blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Common Styles */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.section-tag.blue-tag {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
  color: var(--accent-cyan);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-gold {
  background: var(--accent-gold-gradient);
  color: #070d1d;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-primary {
  background: var(--accent-blue-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: #070d1d;
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
  background: #040813;
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}

.top-bar-item i {
  color: var(--accent-gold);
}

.top-bar-item a:hover {
  color: #ffffff;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.psira-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Main Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 13, 29, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.header-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: rgba(7, 13, 29, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  padding: 0.4rem 0;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold-gradient);
  border-radius: 2px;
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: #ffffff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 29, 0.96) 0%, rgba(7, 13, 29, 0.85) 50%, rgba(7, 13, 29, 0.65) 100%),
              linear-gradient(180deg, rgba(7, 13, 29, 0.4) 0%, rgba(7, 13, 29, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-bright);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Page Hero Banner for Inner Pages */
.page-banner {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 29, 0.85) 0%, rgba(7, 13, 29, 0.96) 100%);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

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

.breadcrumb-current {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  background: var(--bg-card-hover);
}

.service-card-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(7, 13, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.service-card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.service-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-card-features {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0.45rem;
}

.service-card-features li i {
  color: var(--accent-gold);
  font-size: 0.8rem;
}

/* Feature Box / Value Props */
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-box:hover {
  border-color: rgba(14, 165, 233, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.feature-icon-wrap.gold {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--border-gold);
  color: var(--accent-gold);
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image-wrap {
  position: relative;
}

.split-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.split-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  padding: 1.25rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.split-badge-card i {
  font-size: 2.5rem;
  color: var(--accent-gold);
}

.split-badge-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.split-badge-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Emergency Banner
   ========================================================================== */
.emergency-banner {
  background: linear-gradient(135deg, #1e0909 0%, #3e1212 50%, #150505 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}

.emergency-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.emergency-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 2rem;
  animation: pulse-emergency 2s infinite;
}

@keyframes pulse-emergency {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.emergency-title {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.emergency-subtitle {
  color: #fca5a5;
  font-size: 0.95rem;
}

.emergency-phone-btn {
  font-size: 1.3rem;
  padding: 1rem 2rem;
}

/* ==========================================================================
   Quote Form / Contact Form Styles
   ========================================================================== */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.form-label span.req {
  color: var(--danger-red);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(7, 13, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: rgba(7, 13, 29, 0.95);
}

.form-control::placeholder {
  color: var(--text-dim);
}

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

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

/* Checkbox Grid for Services */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(7, 13, 29, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  user-select: none;
}

.custom-checkbox-label:hover {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.05);
}

.custom-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-gold);
  width: 18px;
  height: 18px;
}

/* Contact Info Cards */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-info-details p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-info-details a {
  color: #e2e8f0;
  font-weight: 600;
}

.contact-info-details a:hover {
  color: var(--accent-gold);
}

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

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

.faq-question {
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-question i {
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.4rem;
}

/* ==========================================================================
   Testimonial / Trust Cards
   ========================================================================== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-rating {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-text {
  color: #cbd5e1;
  font-style: italic;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #03060e;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-legal-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-legal-tag strong {
  color: #ffffff;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-contact-list i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Floating Widgets (WhatsApp & Call)
   ========================================================================== */
.floating-widget-wrap {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.floating-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.floating-btn-call {
  background: var(--accent-gold-gradient);
  color: #070d1d;
}

.floating-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(7, 13, 29, 0.95);
  border: 1px solid var(--border-gold);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  right: 64px;
}

/* ==========================================================================
   Toast / Notification
   ========================================================================== */
.toast-notice {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: #0e1a38;
  border: 1px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notice.show {
  transform: translateX(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split-badge-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.5rem;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 3.5rem 0;
  }
  .section-sm {
    padding: 2.5rem 0;
  }
  .page-banner {
    padding: 3.5rem 0 3rem;
  }
  .top-bar {
    padding: 0.4rem 0;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .top-bar-info {
    justify-content: center;
    gap: 0.85rem;
    font-size: 0.78rem;
    flex-wrap: wrap;
  }
  .top-bar-item:nth-child(3),
  .top-bar-actions {
    display: none;
  }
  .nav-container {
    height: 66px;
  }
  .brand-logo-img {
    height: 44px;
    max-width: 150px;
  }
  .brand-text-block {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 13, 29, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--border-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    padding: 1.5rem 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1001;
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
    width: 100%;
  }
  .nav-link.active::after {
    bottom: 0;
  }
  .nav-cta-wrap .btn-sm {
    display: none;
  }
  .emergency-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .emergency-content {
    flex-direction: column;
    text-align: center;
  }
  .emergency-content .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-card {
    padding: 1.5rem 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .card-grid-3, .card-grid-2, .card-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.55rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  .section-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }
  .top-bar-info {
    font-size: 0.72rem;
    gap: 0.6rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-bottom div:last-child {
    justify-content: center;
  }
  .floating-widget-wrap {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.65rem;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }
  .step-card {
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.4rem;
  }
}
