/* ============================================================
   CODE DEFENCE — SHARED STYLESHEET
   All service pages and About page import this file
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Barlow+Condensed:wght@300;400;500;600;700&display=swap');

:root {
  --accent:       #fa7268;
  --accent-dim:   #c85a52;
  --accent-glow:  rgba(250,114,104,0.12);
  --accent-glow2: rgba(250,114,104,0.06);
  --bg:           #0c1118;
  --bg2:          #101720;
  --bg3:          #0a0f15;
  --surface:      #18222e;
  --surface2:     #1d2a38;
  --text:         #e6ecf2;
  --muted:        #6e8499;
  --light:        #a8bccf;
  --border:       rgba(250,114,104,0.16);
  --border-sub:   rgba(255,255,255,0.06);
  --grid:         rgba(255,255,255,0.028);
}

/* RESET */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:'Barlow',sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
body::before {
  content:'';
  position:fixed; inset:0;
  background-image:
    linear-gradient(var(--grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid) 1px,transparent 1px);
  background-size:64px 64px;
  pointer-events:none;
  z-index:0;
}

/* ── NAV ─────────────────────────────── */
.cd-nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 5%; height:72px;
  background:rgba(12,17,24,0.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border-sub);
  transition:height .3s,background .3s,border-color .3s;
}
.cd-nav.scrolled {
  height:62px;
  background:rgba(12,17,24,0.98);
  border-bottom-color:var(--border);
}
.nav-logo { display:flex; align-items:center; text-decoration:none; }
.nav-logo img { height:34px; width:auto; object-fit:contain; display:block; }
.nav-logo-txt {
  font-family:'Bebas Neue',sans-serif;
  font-size:20px; letter-spacing:2.5px; color:var(--text);
}
.nav-logo-txt span { color:var(--accent); }

.nav-links { display:flex; gap:28px; list-style:none; }
.nav-links a {
  font-family:'Barlow Condensed',sans-serif;
  font-size:13px; font-weight:600; letter-spacing:1.8px;
  text-transform:uppercase; color:var(--muted);
  text-decoration:none; transition:color .2s;
  position:relative; padding-bottom:2px;
}
.nav-links a::after {
  content:''; position:absolute;
  bottom:-3px; left:0; width:0; height:2px;
  background:var(--accent); transition:width .3s ease;
}
.nav-links a:hover { color:var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width:100%; }
.nav-links a.active { color:var(--accent); }

.nav-cta {
  font-family:'Barlow Condensed',sans-serif;
  font-size:13px; font-weight:700; letter-spacing:1.8px;
  text-transform:uppercase; color:#fff; background:var(--accent);
  border:none; padding:11px 24px; cursor:pointer;
  text-decoration:none; display:inline-block;
  clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
  transition:background .2s,transform .15s,box-shadow .2s;
}
.nav-cta:hover { background:#ff8a82; transform:translateY(-1px); box-shadow:0 6px 24px rgba(250,114,104,.35); }

.mob-tog {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; background:none; border:none; padding:4px;
}
.mob-tog span {
  display:block; width:24px; height:2px;
  background:var(--text); transition:all .3s; border-radius:2px;
}

/* ── BUTTONS ─────────────────────────── */
.btn-primary {
  font-family:'Barlow Condensed',sans-serif;
  font-size:14px; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; color:#fff; background:var(--accent);
  border:none; padding:16px 36px; cursor:pointer;
  text-decoration:none; display:inline-flex; align-items:center; gap:10px;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  transition:all .25s;
}
.btn-primary:hover { background:#ff8a82; transform:translateY(-2px); box-shadow:0 10px 32px rgba(250,114,104,.35); }

.btn-ghost {
  font-family:'Barlow Condensed',sans-serif;
  font-size:14px; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; color:var(--light); background:transparent;
  border:1px solid var(--border-sub); padding:16px 36px;
  cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:10px;
  transition:all .2s;
}
.btn-ghost:hover { border-color:var(--accent); color:var(--accent); }

/* ── SECTION HEADER ─────────────────── */
.section-header {
  display:flex; align-items:flex-start; justify-content:space-between;
  padding:84px 5% 44px; border-top:1px solid var(--border-sub);
  flex-wrap:wrap; gap:20px;
}
.section-label { min-width:100px; }
.section-label-num {
  font-family:'Barlow Condensed',sans-serif; font-size:11px;
  font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--accent);
}
.section-label-name {
  font-family:'Barlow Condensed',sans-serif; font-size:11px;
  font-weight:400; letter-spacing:2px; text-transform:uppercase;
  color:var(--muted); margin-top:2px;
}
.section-title {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(38px,5.5vw,78px); color:var(--text);
  line-height:1; flex:1; padding:0 40px;
}
.section-arrow {
  width:44px; height:44px; background:var(--accent);
  display:flex; align-items:center; justify-content:center;
  text-decoration:none; color:#fff; font-size:20px;
  clip-path:polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,6px 100%,0 calc(100% - 6px));
  transition:all .2s; flex-shrink:0; align-self:center;
}
.section-arrow:hover { background:#ff8a82; transform:translateY(-2px); }

/* ── PROMISE BAR ─────────────────────── */
.promise-bar {
  background:var(--accent); padding:52px 5%;
  display:flex; align-items:center; justify-content:space-between;
  gap:40px; flex-wrap:wrap; position:relative; z-index:1;
}
.promise-bar-headline {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(26px,3.5vw,46px); color:#fff; line-height:1.05; margin-bottom:10px;
}
.promise-bar-body {
  font-size:16px; font-weight:400; color:rgba(255,255,255,.85);
  max-width:560px; line-height:1.75;
}
.promise-bar-btn {
  font-family:'Barlow Condensed',sans-serif;
  font-size:14px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:var(--accent); background:#fff; border:none; padding:16px 36px;
  cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:10px;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  white-space:nowrap; flex-shrink:0; transition:all .2s;
}
.promise-bar-btn:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,0,0,.25); }

/* ── FOOTER ──────────────────────────── */
.cd-footer {
  background:var(--bg3);
  border-top:1px solid var(--border-sub);
  padding:64px 5% 40px;
  position:relative; z-index:1;
}
.footer-top {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:56px; padding-bottom:48px;
  border-bottom:1px solid var(--border-sub); margin-bottom:36px;
}
.footer-brand img { height:32px; margin-bottom:16px; width:auto; object-fit:contain; display:block; }
.footer-tagline {
  font-family:'Barlow Condensed',sans-serif; font-size:18px;
  font-weight:700; color:var(--text); margin-bottom:10px; letter-spacing:.5px;
}
.footer-tagline span { color:var(--accent); }
.footer-sub { font-size:13px; color:var(--muted); font-weight:300; line-height:1.75; max-width:280px; }
.footer-col-title {
  font-family:'Barlow Condensed',sans-serif; font-size:12px;
  font-weight:700; letter-spacing:2.5px; text-transform:uppercase;
  color:var(--accent); margin-bottom:20px;
}
.footer-links { list-style:none; display:flex; flex-direction:column; gap:11px; }
.footer-links a { font-size:13px; color:var(--muted); text-decoration:none; font-weight:300; transition:color .2s; }
.footer-links a:hover { color:var(--text); }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
}
.footer-copy { font-size:12px; color:var(--muted); font-weight:300; }
.social-links { display:flex; gap:10px; }
.social-link {
  width:36px; height:36px; border:1px solid var(--border-sub);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); text-decoration:none; font-size:13px;
  font-family:'Barlow Condensed',sans-serif; font-weight:600;
  transition:all .2s;
}
.social-link:hover { border-color:var(--accent); color:var(--accent); background:var(--accent-glow); }

/* ── ANIMATIONS ──────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(26px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }
.d1{transition-delay:.1s;} .d2{transition-delay:.2s;} .d3{transition-delay:.3s;} .d4{transition-delay:.4s;}

/* ── RESPONSIVE ──────────────────────── */
@media(max-width:1100px){
  .footer-top{ grid-template-columns:1fr 1fr; gap:40px; }
}
@media(max-width:768px){
  .nav-links,.nav-cta{ display:none; }
  .mob-tog{ display:flex; }
  .nav-links.open{
    display:flex; flex-direction:column;
    position:absolute; top:100%; left:0; right:0;
    background:rgba(12,17,24,.99); padding:24px 5% 32px;
    border-bottom:1px solid var(--border); gap:22px;
    backdrop-filter:blur(18px);
  }
  .section-header{ flex-direction:column; gap:12px; }
  .section-title{ padding:0; }
  .promise-bar{ flex-direction:column; gap:28px; }
}
@media(max-width:480px){
  .footer-top{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
