/* ============================================
   DEN PROTECTION GROUP — Global Styles
   Color Palette: Black, Charcoal, Gold, White
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0A0A0A;
  --charcoal: #1A1A1A;
  --dark-gray: #2A2A2A;
  --medium-gray: #888888;
  --light-gray: #FFFFFF;
  --gold: #C9A84C;
  --gold-hover: #B8943F;
  --gold-light: #D4B95E;
  --white: #FFFFFF;
  --text-light: #D0D0D0;
  --text-muted: #999999;
  --font-primary: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; font-family: var(--font-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

.eyebrow {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.subline {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 700px;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: all var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.nav-logo img { height: 70px !important; }

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.nav-logo span { font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.nav-cta) { padding: 0 0.3rem; }

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.75rem !important;
  padding: 0.7rem 1.5rem;
  background: var(--gold);
  color: var(--black) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
}
.nav-cta:hover { background: var(--gold-hover); }
.nav-cta::after { display: none !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
}

/* --- Hero Sections --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .subline { margin: 0 auto 2.5rem; }

/* Page hero (shorter, for inner pages) */
.page-hero {
  min-height: 50vh;
  padding: 160px 2rem 80px;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-dark { background: var(--charcoal); }
.section-darker { background: var(--black); }
.section-light { background: var(--light-gray); color: var(--charcoal); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 { margin-bottom: 1rem; }

/* --- Philosophy Strip --- */
.philosophy {
  padding: 80px 0;
  background: var(--charcoal);
  text-align: center;
}
.philosophy h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.philosophy p {
  max-width: 750px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* --- Service Cards (Homepage) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--dark-gray);
  padding: 3rem 2rem;
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.service-card .icon svg { width: 100%; height: 100%; }

.service-card h3 { margin-bottom: 0.5rem; color: var(--white); }
.service-card .tagline {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }

.service-card .learn-more {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card .learn-more:hover { color: var(--gold-light); }
.service-card .learn-more::after { content: '\2192'; transition: transform var(--transition); }
.service-card .learn-more:hover::after { transform: translateX(4px); }

/* --- Credentials / Pillars --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.pillar { padding: 2rem 1rem; }
.pillar .icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 1rem;
  color: var(--gold);
}
.pillar .icon svg { width: 100%; height: 100%; }
.pillar p { font-size: 0.9rem; color: var(--charcoal); line-height: 1.6; }

/* --- Founder Note --- */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.founder-photo {
  aspect-ratio: 3/4;
  background: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .placeholder {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.founder-text h4 { color: var(--gold); margin-bottom: 0.75rem; font-size: 0.85rem; }
.founder-text h2 { margin-bottom: 2rem; }
.founder-text p { color: var(--text-light); margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.85; }
.founder-text .signoff {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* --- CTA Strip --- */
.cta-strip {
  padding: 80px 0;
  text-align: center;
  background: var(--charcoal);
}
.cta-strip h2 { margin-bottom: 1rem; }
.cta-strip .subline { margin: 0 auto 2rem; }
.cta-strip .contact-line {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 30px;
  background: var(--black);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand .tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-links h4 { color: var(--gold); font-size: 0.75rem; margin-bottom: 1rem; }
.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.footer-links a:hover { color: var(--white); }

.footer-contact h4 { color: var(--gold); font-size: 0.75rem; margin-bottom: 1rem; }
.footer-contact p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* --- Services Detail Page --- */
.service-detail {
  padding: 80px 0;
}
.service-detail .service-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-detail h2 { margin-bottom: 1.5rem; }
.service-detail .body-text { color: var(--text-light); max-width: 750px; font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.5rem; }

.service-detail .bullet-list {
  margin: 1.5rem 0 2rem 0;
  max-width: 700px;
}
.service-detail .bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
}
.service-detail .bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.service-detail .closing {
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* Sub-services */
.sub-service {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--dark-gray);
  border-left: 3px solid var(--gold);
}
.sub-service h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.sub-service .sub-tagline {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.sub-service p { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }
.sub-service .includes {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  margin-top: 1rem;
}
.sub-service .includes strong { color: var(--gold); }

/* Add-ons */
.addon-list { max-width: 700px; }
.addon-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.addon-item .num {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  min-width: 20px;
}
.addon-item .name { font-weight: 600; color: var(--white); }
.addon-item .desc { color: var(--text-muted); font-size: 0.9rem; }

/* --- Team / People Page --- */
.profile {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.profile-photo {
  aspect-ratio: 3/4;
  background: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.profile-photo .placeholder {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.profile-info .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.profile-info h2 { margin-bottom: 0.5rem; }
.profile-info .location { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.profile-info p { color: var(--text-light); font-size: 1rem; line-height: 1.85; margin-bottom: 1.25rem; }
.profile-info .contact-email {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gold);
}

.officers-section h2 { margin-bottom: 1.5rem; }
.officers-section p { max-width: 750px; color: var(--text-light); font-size: 1rem; line-height: 1.85; margin-bottom: 1.25rem; }
.officers-section .closing { font-style: italic; color: var(--text-muted); font-size: 0.9rem; margin-top: 1.5rem; }

/* --- Careers Page --- */
.culture-section h2 { margin-bottom: 1.5rem; }
.culture-section p { max-width: 750px; color: var(--text-light); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.25rem; }

.role-card {
  background: var(--dark-gray);
  padding: 3rem;
  border: 1px solid rgba(201, 168, 76, 0.1);
  margin-bottom: 2rem;
}
.role-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.role-card .role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.role-card .role-meta span { display: flex; align-items: center; gap: 0.4rem; }
.role-card .summary {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.role-card .overview { color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.8; }
.role-card .requirements { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.7; }
.role-card .requirements strong { color: var(--white); }
.role-card .compensation { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.role-card .compensation strong { color: var(--gold); }
.role-card .apply-info {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.role-card .apply-info a { color: var(--gold); }
.role-card .apply-info a:hover { color: var(--gold-light); }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--dark-gray);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark-gray); }

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.form-success {
  display: none;
  padding: 2rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold);
  text-align: center;
  margin-top: 1rem;
}
.form-success h3 { color: var(--gold); margin-bottom: 0.5rem; font-size: 1.2rem; }
.form-success p { color: var(--text-light); font-size: 0.9rem; }

.contact-direct h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.contact-direct .info-block { margin-bottom: 2rem; }
.contact-direct .info-block h4 {
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-direct .info-block p {
  color: var(--text-light);
  font-size: 0.95rem;
}
.contact-direct .info-block a { color: var(--gold); }
.contact-direct .info-block a:hover { color: var(--gold-light); }
.contact-direct .info-block .note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.reassurance-item h4 {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.reassurance-item p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* --- Quote Block --- */
.quote-block {
  text-align: center;
  padding: 60px 2rem;
}
.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--gold-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Gold accent line */
.gold-accent {
  border-left: 3px solid var(--gold);
  padding-left: 2rem;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; gap: 2rem; }
  .founder-photo { max-width: 300px; }
  .profile { grid-template-columns: 1fr; gap: 2rem; }
  .profile-photo { max-width: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .reassurance-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-top: 0.5rem; text-align: center; }

  .hero { min-height: 80vh; padding: 120px 1.5rem 60px; }
  .page-hero { min-height: 40vh; padding: 120px 1.5rem 60px; }
  .section { padding: 60px 0; }
  .container { padding: 0 1.5rem; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .role-card { padding: 2rem; }
  .sub-service { padding: 1.5rem; }
}

/* Honeypot field - hidden from users */
.ohnohoney { position: absolute; left: -9999px; }










/* Mobile nav layout */
@media (max-width: 768px) {
  .nav-inner {
    position: relative;
  }
  .nav-logo {
    flex-shrink: 0;
  }
  .nav-logo img { height: 70px !important; }
  
  .hero .btn,
  .cta-strip .btn {
    font-size: 0.75rem !important;
    padding: 14px 28px !important;
    letter-spacing: 0.1em !important;
  }
  .hero-content h1 {
    font-size: 2rem !important;
  }
}


/* Mobile layout */
@media (max-width: 768px) {
  
  
  
  
  .hero .btn,
  .cta-strip .btn {
    font-size: 0.75rem !important;
    padding: 14px 28px !important;
    letter-spacing: 0.1em !important;
  }
  .hero-content h1 {
    font-size: 2rem !important;
  }
}
/* Nav brand group - logo + tagline as one unit */
.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.nav-brand .nav-logo {
  text-decoration: none;
  line-height: 1;
}
.nav-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0.85;
  margin-top: 2px;
}

/* Footer brand tagline fix */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-brand .tagline {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
  font-size: 0.55rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin-top: 4px !important;
  opacity: 0.85;
  text-align: center;
}

/* Mobile nav-brand layout */
@media (max-width: 768px) {
  .nav-brand {
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex: 1;
  }
  .nav-brand .nav-logo {
    flex-shrink: 0;
  }
  .nav-brand .nav-logo img { height: 55px !important; }
  .nav-tagline {
    flex: 1;
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    margin-top: 0;
    padding: 0 8px;
  }
}
