/* ===========================
   724 Security — Stylesheet
   =========================== */

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

:root {
  --navy:   #1a0a04;
  --navy2:  #2a1008;
  --red:    #c41e0e;
  --red2:   #e02515;
  --amber:  #f0a012;
  --amber2: #f5b830;
  --white:  #ffffff;
  --off-white: #fdf7f0;
  --muted:  #f5ede4;
  --text:   #1a0a04;
  --text-soft: #6b4c3b;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.10);
  --shadow-md: 0 8px 40px rgba(0,0,0,.18);
  --transition: .25s ease;

  /* Map legacy names so nothing else breaks */
  --gold:  var(--amber);
  --gold2: var(--amber2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-muted {
  background: var(--muted);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: rgba(255,255,255,.65);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red2);
  border-color: var(--red2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,30,14,.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
}

.btn-full { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(26,10,4,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.logo strong { font-weight: 800; }

/* Badge icon — mirrors the physical logo */
.logo-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  border: 3px solid var(--red);
  border-radius: 8px;
  padding: 3px 7px 2px;
  line-height: 1;
  flex-shrink: 0;
}
.lb-num {
  font-size: .95rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -.02em;
}
.lb-text {
  font-size: .38rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .08em;
}

.logo-wordmark { font-size: 1.15rem; font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--amber); }
.nav-links .btn { padding: 9px 20px; }
.nav-links .btn-outline { color: var(--white); border-color: var(--amber); }
.nav-links .btn-outline:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(26,10,4,.78), rgba(26,10,4,.88)),
    url('img1.png') center top / cover no-repeat,
    linear-gradient(135deg, #1a0a04 0%, #2e0d05 55%, #1a0a04 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(240,160,18,.10) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 15% 75%, rgba(196,30,14,.12) 0%, transparent 55%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,.015) 60px,
    rgba(255,255,255,.015) 61px
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 100px;
  max-width: 760px;
}

.badge {
  display: inline-block;
  background: rgba(240,160,18,.18);
  border: 1px solid rgba(240,160,18,.5);
  color: var(--amber2);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 36px;
}

.stat strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  margin-right: 36px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  background: var(--white);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-soft);
  font-size: .95rem;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-block {
  position: relative;
}

.about-img-card {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-img-accent {
  position: absolute;
  width: 80%;
  height: 80%;
  bottom: -20px;
  right: -20px;
  border-radius: 16px;
  background: rgba(196,30,14,.2);
  border: 2px solid var(--red);
  z-index: 0;
}

.about-text .section-label { display: block; margin-bottom: 12px; }

.about-text h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 18px;
}

.about-text p {
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
  font-size: .97rem;
}

.about-list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}

.team-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { aspect-ratio: 4/3; }
}

/* ---------- Why Us ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--off-white);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--red);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-num {
  font-size: .75rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-soft);
  font-size: .93rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote {
  font-size: .97rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 28px;
  position: relative;
}

.quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--red);
  opacity: .3;
  position: absolute;
  top: -24px;
  left: -8px;
  line-height: 1;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
}

.testimonial-author span {
  font-size: .82rem;
  color: var(--text-soft);
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-label { display: block; margin-bottom: 12px; }

.contact-info h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-soft);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.detail-icon {
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-detail span {
  font-size: .95rem;
  color: var(--text-soft);
}

/* ---------- Form ---------- */
.contact-form {
  background: var(--off-white);
  padding: 44px;
  border-radius: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #dde1e9;
  border-radius: 8px;
  font-family: inherit;
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,14,.12);
}

.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--text-soft);
  margin-top: 14px;
}

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  color: #065f46;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding: 60px 0;
}

.footer-brand .logo-light { color: var(--white); }

.footer-brand p {
  margin-top: 14px;
  font-size: .9rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ---------- FAB ---------- */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  transition: var(--transition);
}

.fab:hover {
  background: var(--red2);
  transform: scale(1.08);
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1rem;
  }

  .nav-links .btn {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .hamburger { display: flex; }

  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-links { flex-direction: column; gap: 28px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }

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