/* =========================================================
   SHIELDMAGO TECHNOLOGIES — Stylesheet
   Palette: Light Navy Blue (primary), Dark Yellow (accent),
            Black / White (contrast + text)
   Display face: Space Grotesk | Body: Inter | Utility: IBM Plex Mono
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  /* --- core palette --- */
  --navy-deep:   #0B2033;
  --navy:        #163A5C;   /* light navy blue — the anchor color */
  --navy-light:  #204C79;
  --navy-glow:   #3E7CB8;

  --yellow:      #D99A1B;   /* dark yellow accent */
  --yellow-hi:   #F0B93E;

  --black:       #0A0C0E;
  --white:       #FFFFFF;
  --off-white:   #F3F6FA;
  --line:        rgba(255,255,255,0.14);

  /* --- semantic (light mode default) --- */
  --bg:          var(--off-white);
  --bg-alt:      #E7EDF5;
  --text:        #10202F;
  --text-soft:   #45596B;
  --card-bg:     #FFFFFF;
  --card-line:   rgba(22,58,92,0.14);
  --shadow:      0 20px 40px -20px rgba(11,32,51,0.25);

  --header-h: 116px;
  --radius: 14px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

[data-theme="night"]{
  --bg:        #070E16;
  --bg-alt:    #0C1722;
  --text:      #EAF1F8;
  --text-soft: #9FB3C6;
  --card-bg:   #0F1D2B;
  --card-line: rgba(255,255,255,0.10);
  --shadow:    0 20px 44px -18px rgba(0,0,0,0.6);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html,body{ margin:0; padding:0; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; }

.eyebrow{
  font-family: 'IBM Plex Mono', monospace;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 1em;
  display: flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 1px;
  background: var(--yellow);
  display: inline-block;
}

/* animated gradient "alive" text treatment for key words */
.glow-word{
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-hi) 25%, var(--navy-glow) 50%, var(--yellow-hi) 75%, var(--yellow) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine{ to{ background-position: -220% center; } }

/* drifting ambient glow blobs used behind hero-style sections */
.ambient-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .32;
  pointer-events: none;
  z-index: 0;
}
.blob-a{
  width: 360px; height: 360px;
  background: var(--yellow);
  top: -100px; left: -80px;
  animation: drift 15s ease-in-out infinite alternate;
}
.blob-b{
  width: 280px; height: 280px;
  background: var(--navy-glow);
  bottom: -90px; right: 6%;
  animation: drift 19s ease-in-out infinite alternate-reverse;
}
@keyframes drift{
  0%{ transform: translate(0,0) scale(1); }
  100%{ transform: translate(36px, 26px) scale(1.1); }
}

/* scroll-reveal utility */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view{ opacity: 1; transform: none; }
.reveal-delay-1.in-view{ transition-delay: .08s; }
.reveal-delay-2.in-view{ transition-delay: .16s; }
.reveal-delay-3.in-view{ transition-delay: .24s; }

.container{
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* =========================================================
   HEADER — fixed, never moves
   Layout:  [menu] ---- [logo + wordmark, centered] ---- [enter/back]
   ========================================================= */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 130%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: clamp(16px, 4vw, 48px);
}

.menu-btn{
  justify-self: start;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  width: 46px; height: 42px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.menu-btn span{
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-btn:hover{ border-color: var(--yellow-hi); background: rgba(255,255,255,0.05); }
.menu-btn.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity: 0; }
.menu-btn.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.brand{
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 0;
  justify-self: center;
  white-space: nowrap;
}

.logo-slot{
  width: 92px; height: 92px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  margin-right: -6px;
}
.logo-slot img{ width: 100%; height: 100%; object-fit: contain; }
.logo-slot.img-fallback{ position: relative; }
.logo-slot.img-fallback::after{
  content: "🛡";
  font-size: 2.6rem;
  color: var(--yellow-hi);
}

.brand-name{
  font-family: 'Archivo Black', 'Space Grotesk', sans-serif;
  font-weight: 400; /* Archivo Black is a single heavy weight */
  font-size: clamp(1.15rem, 2.9vw, 1.75rem);
  letter-spacing: 0;
  line-height: 1;
  margin-left:5%;
}
.brand-shield{ color: var(--white); }
.brand-tech{
  background: linear-gradient(120deg, var(--yellow-hi), var(--yellow) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: .35em;
}

.header-cta{
  justify-self: end;
}
.enter-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.enter-btn:hover{ background: var(--yellow-hi); transform: translateY(-1px); }
.enter-btn.ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.enter-btn.ghost:hover{ border-color: var(--yellow-hi); color: var(--yellow-hi); background: rgba(255,255,255,0.05); }

/* =========================================================
   SIDE DRAWER MENU
   ========================================================= */
.drawer-overlay{
  position: fixed; inset: 0;
  background: rgba(7,14,22,0.55);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
  z-index: 600;
}
.drawer-overlay.active{ opacity: 1; pointer-events: auto; }

.drawer{
  position: fixed;
  top: 0; left: 0;
  height: 100%;
  width: min(320px, 84vw);
  background: var(--navy-deep);
  border-right: 1px solid rgba(255,255,255,0.08);
  transform: translateX(-105%);
  transition: transform .38s var(--ease);
  z-index: 700;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.drawer.active{ transform: translateX(0); }

.drawer-top{
  display:flex; align-items:center; justify-content:space-between;
}
.drawer-top span{
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white);
  font-weight: 700;
  letter-spacing: .04em;
}
.drawer-close{
  background: none; border: none; color: var(--white);
  font-size: 1.4rem; line-height: 1; opacity: .7;
}
.drawer-close:hover{ opacity: 1; color: var(--yellow-hi); }

.theme-switch{
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
}
.theme-switch p{
  margin:0; color: var(--white); font-size: .85rem;
  font-family: 'IBM Plex Mono', monospace;
}
.theme-switch small{ display:block; color: rgba(255,255,255,0.5); margin-top:2px; }

.toggle{
  position: relative;
  width: 54px; height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  border: none;
  flex-shrink: 0;
}
.toggle::before{
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--yellow-hi);
  transition: transform .3s var(--ease);
}
.toggle.is-night::before{ transform: translateX(26px); background: #EAF1F8; }

.drawer-nav{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-nav a{
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  padding: 12px 8px;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
.drawer-nav a:hover{
  background: rgba(255,255,255,0.06);
  color: var(--yellow-hi);
  padding-left: 14px;
}

.drawer-foot{
  margin-top: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .75rem;
  color: rgba(255,255,255,0.4);
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, var(--navy-light) 0%, var(--navy-deep) 46%, var(--black) 100%);
}

.circuit-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .55;
}
.circuit-bg path{
  fill: none;
  stroke: var(--navy-glow);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: flow 5.5s linear infinite;
  opacity: .55;
}
.circuit-bg path.p2{ animation-duration: 7.5s; stroke: var(--yellow); opacity:.35; }
.circuit-bg path.p3{ animation-duration: 9.5s; }
.circuit-bg circle{ fill: var(--yellow-hi); filter: drop-shadow(0 0 6px var(--yellow-hi)); }
.circuit-bg .node-pulse{ animation: pulse-node 2.4s ease-in-out infinite; }

@keyframes flow{ to{ stroke-dashoffset: -320; } }
@keyframes pulse-node{
  0%,100%{ opacity: .35; r: 3; }
  50%{ opacity: 1; r: 5; }
}

.shield-mark{
  position: absolute;
  right: clamp(8%, 12vw, 16%);
  top: 50%;
  transform: translateY(-50%);
  width: min(34vw, 380px);
  opacity: .9;
  filter: drop-shadow(0 0 34px rgba(217,154,27,0.25));
}
.shield-mark .ring{
  fill: none; stroke: var(--yellow); stroke-width: 1;
  opacity: .5;
  animation: spin 26s linear infinite;
  transform-origin: 50% 50%;
}
.shield-mark .ring2{ animation-direction: reverse; animation-duration: 34s; stroke: var(--navy-glow); }
@keyframes spin{ to{ transform: rotate(360deg); } }

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 40px clamp(20px, 6vw, 60px);
  color: var(--white);
}

.hero-content h1{
  color: var(--white);
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
}
.hero-content h1 .accent{
  background: linear-gradient(120deg, var(--yellow-hi), var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub{
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 1.6em;
}

.terminal{
  font-family: 'IBM Plex Mono', monospace;
  font-size: .95rem;
  background: rgba(6,15,24,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 18px;
  color: #B8F2C0;
  margin-bottom: 2em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: min(420px, 90%);
}
.terminal::before{ content: "›"; color: var(--yellow-hi); font-weight: 700; }
.terminal .cursor{
  display: inline-block;
  width: 8px; height: 1.1em;
  background: var(--yellow-hi);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink{ 50%{ opacity: 0; } }

.cta-row{ display: flex; flex-wrap: wrap; gap: 14px; }

.cta-primary{
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 14px 30px -12px rgba(217,154,27,0.55);
  animation: pulse-cta 3.4s ease-in-out infinite;
}
.cta-primary:hover{ background: var(--yellow-hi); transform: translateY(-3px) scale(1.03); animation-play-state: paused; }
@keyframes pulse-cta{
  0%, 100%{ box-shadow: 0 14px 30px -12px rgba(217,154,27,0.55); }
  50%{ box-shadow: 0 14px 34px -8px rgba(217,154,27,0.8); }
}
.cta-primary .arrow{ transition: transform .25s var(--ease); }
.cta-primary:hover .arrow{ transform: translateX(4px); }

.cta-secondary{
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 15px 22px;
  border-radius: 999px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.cta-secondary:hover{ border-color: var(--yellow-hi); color: var(--yellow-hi); }

.scroll-cue{
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line{ width: 1px; height: 26px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after{
  content:""; position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: var(--yellow-hi);
  animation: dropline 1.8s ease-in-out infinite;
}
@keyframes dropline{ 0%{ top:-100%; } 100%{ top:100%; } }

/* =========================================================
   SECTIONS (generic)
   ========================================================= */
section{ position: relative; padding: 96px 0; }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-head p{ color: var(--text-soft); font-size: 1.05rem; }

.section-alt{ background: var(--bg-alt); }

.portfolio-btn{
  margin-top: 18px;
  color: var(--navy);
  border-color: var(--card-line);
}
.portfolio-btn:hover{ color: var(--yellow); border-color: var(--yellow); }
[data-theme="night"] .portfolio-btn{ color: var(--yellow-hi); }

/* Our Work grid */
.work-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.work-card{
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-card:hover{
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 30px 54px -22px rgba(217,154,27,0.35);
}

.media-slot{
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, rgba(22,58,92,0.06), rgba(217,154,27,0.08));
  border-bottom: 1px solid var(--card-line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.media-slot img{ width:100%; height:100%; object-fit: cover; position:absolute; inset:0; }
.media-slot .slot-label{
  font-family: 'IBM Plex Mono', monospace;
  font-size: .78rem;
  color: var(--text-soft);
  text-align: center;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.media-slot .slot-label .ic{ font-size: 1.6rem; }
.media-slot.img-fallback img{ display:none; }
.media-slot:not(.img-fallback) .slot-label{ display: none; }

.work-card-body{ padding: 22px 24px 26px; }
.work-card-body .tag{
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.work-card-body h3{ font-size: 1.15rem; margin: 8px 0 8px; }
.work-card-body p{ color: var(--text-soft); font-size: .95rem; margin: 0; }

/* Trust strip */
.trust-strip{
  display: flex; flex-wrap: wrap; gap: 40px;
  justify-content: space-between;
  padding: 40px 0;
  border-top: 1px solid var(--card-line);
  border-bottom: 1px solid var(--card-line);
}
.trust-item{ flex: 1 1 200px; }
.trust-item .num{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--navy);
}
[data-theme="night"] .trust-item .num{ color: var(--yellow-hi); }
.trust-item .label{ color: var(--text-soft); font-size: .9rem; }

/* Closing CTA band (index) */
.cta-band{
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: 22px;
  padding: 56px clamp(24px,5vw,64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band > *{ position: relative; z-index: 1; }
.cta-band h2{ color: var(--white); margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 460px; }
.cta-band p.eyebrow{ color: var(--yellow-hi); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.page-hero{
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 56px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}
.page-hero .container{ position: relative; z-index: 1; }
.page-hero h1{ color: var(--white); font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero p{ color: rgba(255,255,255,0.75); max-width: 560px; }

.about-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: start;
}
.about-copy p{ color: var(--text-soft); font-size: 1.05rem; margin-bottom: 1.1em; }
.about-copy strong{ color: var(--text); }

.contact-card{
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-card h3{ font-size: 1.1rem; margin-bottom: 18px; }
.contact-row{
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-line);
  font-size: .95rem;
}
.contact-row:last-of-type{ border-bottom: none; }
.contact-row .ic{
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-row a{ color: var(--navy); font-weight: 600; }
[data-theme="night"] .contact-row a{ color: var(--yellow-hi); }

.whatsapp-btn{
  margin-top: 20px;
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #1EAA55;
  color: #fff;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.whatsapp-btn:hover{ background: #17913F; transform: translateY(-2px); }

/* Services */
.services-list{ display: flex; flex-direction: column; gap: 22px; }
.service-row{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-row:hover{ transform: translateY(-5px); box-shadow: 0 30px 54px -22px rgba(22,58,92,0.28); }
.service-row:nth-child(even){ grid-template-columns: 1.2fr .8fr; }
.service-row:nth-child(even) .service-media{ order: 2; }
.service-media{
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.service-index{
  font-family: 'IBM Plex Mono', monospace;
  color: var(--yellow);
  font-size: .8rem;
  letter-spacing: .12em;
}
.service-text h3{ font-size: 1.3rem; margin: 6px 0 10px; }
.service-text p{ color: var(--text-soft); margin: 0; }

.service-featured{
  border: 1px solid var(--yellow);
  box-shadow: 0 26px 50px -22px rgba(217,154,27,0.35);
  margin-bottom: 46px;
}
.service-featured .service-index{ font-weight: 700; }
.service-featured h3{ font-size: 1.5rem; }

.inline-link{ color: var(--navy); font-weight: 600; }
[data-theme="night"] .inline-link{ color: var(--yellow-hi); }

.also-handle > .eyebrow{ margin-bottom: 20px; }
.compact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.compact-card{
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.compact-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.compact-media{
  aspect-ratio: 16/10;
  border-radius: 8px;
  margin-bottom: 14px;
}
.compact-card h4{ font-size: 1rem; margin: 0 0 6px; }
.compact-card p{ font-size: .88rem; color: var(--text-soft); margin: 0; }

@media (max-width: 700px){
  .compact-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .compact-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 54px 0 30px;
  text-align: center;
}
.footer-logo{
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 14px;
  border: none;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer-logo img{ width: 100%; height: 100%; object-fit: contain; }
.footer-logo.img-fallback::after{ content: "🛡"; color: var(--yellow-hi); font-size: 2.4rem; }
.footer-brand{
  font-family: 'Archivo Black', 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand span{ color: var(--yellow-hi); }
.footer-url{
  font-family: 'IBM Plex Mono', monospace;
  font-size: .92rem;
  color: rgba(255,255,255,0.65);
  display: inline-block;
  margin-bottom: 18px;
}
.footer-url:hover{ color: var(--yellow-hi); }
.footer-rule{
  width: 60px; height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto 18px;
}
.footer-copy{
  font-size: .82rem;
  color: rgba(255,255,255,0.4);
}

/* Floating WhatsApp button */
.float-whatsapp{
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1EAA55;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.5);
  z-index: 400;
  color: #fff;
  font-size: 1.5rem;
  transition: transform .25s var(--ease);
}
.float-whatsapp:hover{ transform: scale(1.08); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .work-grid{ grid-template-columns: repeat(2, 1fr); }
  .about-grid{ grid-template-columns: 1fr; }
  .service-row, .service-row:nth-child(even){ grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media{ order: 0; }
}

@media (max-width: 700px){
  :root{ --header-h: 88px; }
  .brand-name{ font-size: .95rem; }
  .logo-slot{ width: 66px; height: 66px; margin-right: -4px; }
  .header-cta{ display: none; }
  .work-grid{ grid-template-columns: 1fr; }
  .hero-content{ padding-inline: 20px; }
  .cta-band{ flex-direction: column; align-items: flex-start; }
  .shield-mark{ opacity: .35; }
}

@media (max-width: 480px){
  .brand-name{ font-size: .82rem; }
  .logo-slot{ width: 54px; height: 54px; margin-right: -3px; }
  .terminal{ font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
