/* ============================================
   GuinSafetyOS — Custom Stylesheet
   ============================================ */

/* --- Tokens -------------------------------- */
:root {
  --navy:     #0D1B2A;
  --navy-mid: #1B2D40;
  --gold:     #C9A84C;
  --gold-dim: #A08638;
  --cream:    #F5F0E8;
  --cream-mid:#EDE7DA;
  --charcoal: #2C3E50;
  --white:    #FFFFFF;
  --muted:    #8A9BB0;
  --radius:   6px;
}

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

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Hero ---------------------------------- */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 100px 5vw 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto 70px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 36px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 40px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-number {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  max-width: 120px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(201,168,76,0.2);
  margin-right: 40px;
  flex-shrink: 0;
}

/* --- Section Shared ------------------------ */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* --- Credentials --------------------------- */
.credentials {
  background: var(--navy-mid);
  padding: 60px 5vw;
}

.cred-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.cred-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.cred-logo-row {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cred-icon {
  width: 56px;
  height: 56px;
}

.cred-name {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.cred-sub {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* --- Outcomes ------------------------------ */
.outcomes {
  background: var(--cream);
  padding: 100px 5vw;
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.outcomes-header {
  margin-bottom: 64px;
}

.outcomes-headline {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  border: 2px solid var(--navy);
}

.outcome-card {
  padding: 40px 36px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  background: var(--cream);
  transition: background 0.2s;
}

.outcome-card:hover {
  background: var(--cream-mid);
}

.outcome-card:nth-child(2n) {
  border-right: none;
}

.outcome-card:nth-last-child(-n+2) {
  border-bottom: none;
}

@media (max-width: 700px) {
  .outcome-card { border-right: none; border-bottom: 2px solid var(--navy); }
  .outcome-card:last-child { border-bottom: none; }
}

.outcome-icon-wrap {
  margin-bottom: 20px;
}

.outcome-svg {
  width: 48px;
  height: 48px;
}

.outcome-card h3 {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 12px;
}

.outcome-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
}

/* --- Territories ---------------------------- */
.territories {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 5vw;
}

.territories-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 800px) {
  .territories-inner { grid-template-columns: 1fr; }
}

.territories-headline {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.territories-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.towns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.town-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--cream);
  padding: 12px 16px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.town-item:hover {
  border-color: var(--gold);
}

.town-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- Closing -------------------------------- */
.closing {
  background: var(--cream);
  padding: 100px 5vw;
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing-shield {
  margin-bottom: 40px;
}

.shield-svg {
  width: 100px;
  height: 120px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--charcoal);
}

/* --- Footer -------------------------------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 40px 5vw;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  display: block;
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-phone {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-email {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy, .footer-hsi {
  font-size: 0.75rem;
  color: var(--muted);
}

/* --- Responsive ----------------------------- */
@media (max-width: 600px) {
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0; align-items: center; }
  .cred-logo-row { gap: 32px; }
  .footer-top { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}