/* ============================================
   APEX SHIELD SECURITY SERVICES INC.
   Design tokens
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=Oswald:wght@400;500;600&display=swap');

:root{
  --black:        #08090a;
  --black-soft:   #101214;
  --panel:        #16181b;
  --panel-border: #2a2c2f;
  --steel:        #c7ccd1;
  --steel-dim:    #8b9198;
  --silver:       #e7e9eb;
  --gold:         #d4af37;
  --gold-bright:  #f2cf5b;
  --gold-deep:    #9c7a1e;
  --white:        #f5f5f3;
  --muted:        #9a9d9f;

  --font-display: 'Cinzel', serif;
  --font-body:    'Manrope', sans-serif;
  --font-eyebrow: 'Oswald', sans-serif;

  --container: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  margin:0 0 .5em;
  line-height:1.15;
  font-weight:700;
  letter-spacing:.01em;
}
p{ margin:0 0 1em; color:var(--steel); }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ============ Eyebrow / labels ============ */
.eyebrow{
  font-family:var(--font-eyebrow);
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:.72rem;
  color:var(--gold);
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}
.eyebrow::before{
  content:"";
  width:32px; height:1px;
  background:linear-gradient(90deg, var(--gold), transparent);
}

.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.9rem, 3.4vw, 2.7rem); color:var(--silver); }
.section-head p{ font-size:1.05rem; }

section{ position:relative; padding:104px 0; }
.bg-black{ background:var(--black); }
.bg-soft{ background:var(--black-soft); }

/* ============ Buttons ============ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-eyebrow);
  text-transform:uppercase;
  font-size:.82rem;
  letter-spacing:.14em;
  padding:16px 30px;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space:nowrap;
}
.btn-gold{
  background:linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color:#141414;
  font-weight:600;
}
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 12px 28px -8px rgba(212,175,55,.55); }
.btn-outline{
  background:transparent;
  border-color:var(--panel-border);
  color:var(--steel);
}
.btn-outline:hover{ border-color:var(--gold); color:var(--gold-bright); transform:translateY(-2px); }
.btn-arrow{ transition:transform .3s var(--ease); }
.btn:hover .btn-arrow{ transform:translateX(4px); }

/* ============ Header / Nav ============ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:18px 0;
  background:rgba(8,9,10,0);
  border-bottom:1px solid transparent;
  transition:background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled{
  background:rgba(8,9,10,.92);
  backdrop-filter:blur(10px);
  border-color:var(--panel-border);
  padding:10px 0;
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:46px; width:auto; transition:height .4s var(--ease); }
.site-header.scrolled .brand img{ height:38px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text .b1{ font-family:var(--font-display); font-size:1.05rem; color:var(--silver); letter-spacing:.03em; }
.brand-text .b2{ font-family:var(--font-eyebrow); font-size:.58rem; letter-spacing:.24em; color:var(--gold); text-transform:uppercase; margin-top:2px; }

.nav-links{ display:flex; align-items:center; gap:38px; }
.nav-links a{
  font-family:var(--font-eyebrow);
  font-size:.82rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--steel);
  position:relative;
  padding:6px 0;
  transition:color .3s;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold);
  transition:width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color:var(--gold-bright); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }

.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-cta .btn{ padding:12px 22px; font-size:.74rem; }

.nav-toggle{
  display:none;
  width:44px; height:38px;
  background:none; border:1px solid var(--panel-border);
  border-radius:2px;
  cursor:pointer;
  position:relative;
  flex:0 0 auto;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; position:absolute; left:10px; right:10px; height:2px; background:var(--gold);
  transition:transform .3s var(--ease), opacity .3s;
}
.nav-toggle span{ top:18px; }
.nav-toggle span::before{ top:-7px; }
.nav-toggle span::after{ top:7px; }
.nav-toggle.open span{ background:transparent; }
.nav-toggle.open span::before{ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span::after{ transform:translateY(-7px) rotate(-45deg); }

/* Mobile off-canvas menu — hidden off-screen by default on EVERY breakpoint,
   not just inside the mobile media query, so it never dumps unstyled
   inline content into the page on desktop widths. */
.menu-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.65); z-index:1050;
  opacity:0; pointer-events:none; transition:opacity .4s;
}
.menu-overlay.open{ opacity:1; pointer-events:auto; }

.mobile-menu{
  position:fixed; top:0; right:0; height:100vh; width:min(320px,82vw);
  background:var(--black-soft); border-left:1px solid var(--panel-border);
  z-index:1100; transform:translateX(100%); transition:transform .4s var(--ease);
  padding:110px 30px 30px; display:flex; flex-direction:column; gap:26px;
  overflow-y:auto;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu a{
  font-family:var(--font-eyebrow); text-transform:uppercase; letter-spacing:.1em; font-size:1rem; color:var(--steel);
}
.mobile-menu a.active{ color:var(--gold); }
.mobile-menu .btn{ width:100%; justify-content:center; }

/* ============ Hero ============ */
.hero{
  position:relative;
  min-height:100vh;
  /*display:flex;*/
  align-items:center;
  padding-top:120px;
  padding-bottom:80px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,175,55,.10), transparent 60%),
    linear-gradient(180deg, #08090a 0%, #0b0c0d 100%);
  overflow:hidden;
}
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(199,204,209,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,204,209,.05) 1px, transparent 1px);
  background-size:52px 52px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 85%);
  animation:gridDrift 40s linear infinite;
}
@keyframes gridDrift{ from{ background-position:0 0,0 0; } to{ background-position:120px 0, 0 120px; } }

.scan-sweep{
  position:absolute; top:0; left:-50%; width:200%; height:100%;
  background:linear-gradient(100deg, transparent 42%, rgba(212,175,55,.10) 49%, rgba(242,207,91,.18) 50%, rgba(212,175,55,.10) 51%, transparent 58%);
  animation:sweep 6s ease-in-out infinite;
  pointer-events:none;
}
@keyframes sweep{
  0%{ transform:translateX(-15%); }
  50%{ transform:translateX(15%); }
  100%{ transform:translateX(-15%); }
}

.hero-emblem{
  position:absolute;
  right:-60px; top:50%; transform:translateY(-50%);
  width:520px; opacity:.14;
  filter:grayscale(1) brightness(1.3);
  pointer-events:none;
}
.hero-emblem img{ width:100%; animation:emblemPulse 5s ease-in-out infinite; }
@keyframes emblemPulse{ 0%,100%{ opacity:.8; } 50%{ opacity:1; } }

.hero-inner{ position:relative; z-index:2; max-width:680px; }
.hero-inner .eyebrow{ animation:fadeUp .8s var(--ease) both; }
.hero h1{
  font-size:clamp(2.6rem, 5.6vw, 4.4rem);
  color:var(--silver);
  animation:fadeUp .9s .1s var(--ease) both;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{
  font-size:1.15rem; max-width:540px;
  animation:fadeUp .9s .2s var(--ease) both;
}
.hero-actions{ display:flex; gap:18px; flex-wrap:wrap; margin-top:34px; animation:fadeUp .9s .3s var(--ease) both; }

@keyframes fadeUp{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:translateY(0); } }

.hero-stats{
  position:relative; z-index:2;
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; background:var(--panel-border);
  margin-top:80px; border:1px solid var(--panel-border);
  animation:fadeUp 1s .4s var(--ease) both;
}
.hero-stats div{ background:var(--black-soft); padding:22px 20px; text-align:center; }
.hero-stats strong{
  display:block; font-family:var(--font-display); font-size:1.9rem; color:var(--gold-bright);
}
.hero-stats span{
  display:block; font-family:var(--font-eyebrow); font-size:.68rem; text-transform:uppercase; letter-spacing:.12em; color:var(--muted); margin-top:6px;
}

/* ============ Page hero (inner pages) ============ */
.page-hero{
  position:relative;
  padding:180px 0 90px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(212,175,55,.09), transparent 65%),
    var(--black);
  border-bottom:1px solid var(--panel-border);
  overflow:hidden;
  text-align:center;
}
.page-hero .hero-grid{ opacity:.6; }
.page-hero h1{ font-size:clamp(2.2rem,4.6vw,3.4rem); color:var(--silver); position:relative; z-index:1; }
.page-hero .eyebrow{ justify-content:center; position:relative; z-index:1; }
.breadcrumb{
  position:relative; z-index:1;
  font-family:var(--font-eyebrow); font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-top:14px;
}
.breadcrumb a{ color:var(--gold); }
.breadcrumb span{ margin:0 8px; color:var(--panel-border); }

/* ============ About preview (home) ============ */
.about-preview{ }
.about-grid{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;
}
.about-visual{
  position:relative; border:1px solid var(--panel-border); background:var(--panel);
  aspect-ratio:4/5; display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.about-visual::before{
  content:""; position:absolute; inset:0;
  background:
    repeating-linear-gradient(45deg, rgba(212,175,55,.05) 0 2px, transparent 2px 14px);
}
.about-visual img{ width:58%; position:relative; z-index:1; filter:drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.about-visual .corner{
  position:absolute; width:26px; height:26px; border-color:var(--gold);
}
.about-visual .c1{ top:16px; left:16px; border-top:2px solid var(--gold); border-left:2px solid var(--gold); }
.about-visual .c2{ top:16px; right:16px; border-top:2px solid var(--gold); border-right:2px solid var(--gold); }
.about-visual .c3{ bottom:16px; left:16px; border-bottom:2px solid var(--gold); border-left:2px solid var(--gold); }
.about-visual .c4{ bottom:16px; right:16px; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); }

.about-points{ margin-top:28px; display:grid; gap:16px; }
.about-points li{
  display:flex; gap:14px; align-items:flex-start; color:var(--steel); font-size:.98rem;
}
.about-points svg{ flex:0 0 20px; margin-top:3px; color:var(--gold); }

/* ============ Services ============ */
.services-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:1px;
  background:var(--panel-border); border:1px solid var(--panel-border);
}
.service-card{
  background:var(--black-soft); padding:38px 30px; position:relative; overflow:hidden;
  transition:background .4s var(--ease);
}
.service-card::before{
  content:""; position:absolute; left:0; top:0; height:0; width:2px; background:var(--gold);
  transition:height .4s var(--ease);
}
.service-card:hover{ background:var(--panel); }
.service-card:hover::before{ height:100%; }
.service-icon{
  width:52px; height:52px; border:1px solid var(--panel-border); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  color:var(--gold); transition:border-color .3s, transform .3s var(--ease);
}
.service-card:hover .service-icon{ border-color:var(--gold); transform:scale(1.08); }
.service-card h3{ font-size:1.12rem; color:var(--silver); font-family:var(--font-display); }
.service-card p{ font-size:.92rem; margin-bottom:0; }
.service-num{
  position:absolute; top:26px; right:28px; font-family:var(--font-display); font-size:.78rem; color:var(--panel-border);
}

/* Service detail list (services.html) */
.service-detail{
  display:grid; grid-template-columns:56px 1fr; gap:26px;
  padding:36px 0; border-bottom:1px solid var(--panel-border);
}
.service-detail:last-child{ border-bottom:none; }
.service-detail .service-icon{ margin-bottom:0; }
.service-detail h3{ font-size:1.3rem; color:var(--silver); margin-bottom:.35em; }
.service-detail .tags{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.service-detail .tags span{
  font-family:var(--font-eyebrow); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold); border:1px solid var(--panel-border); padding:5px 12px; border-radius:2px;
}

/* ============ Testimonials ============ */
.testi-track-wrap{ overflow:hidden; position:relative; }
.testi-track_fade{
  position:absolute; top:0; bottom:0; width:100px; z-index:2; pointer-events:none;
}
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.testi-card{
  background:var(--panel); border:1px solid var(--panel-border); padding:34px 30px;
  position:relative;
}
.testi-quote{ font-family:var(--font-display); font-size:2.6rem; color:var(--gold); line-height:1; margin-bottom:8px; display:block; }
.testi-card p{ font-size:.98rem; color:var(--steel); }
.testi-person{ display:flex; align-items:center; gap:14px; margin-top:20px; }
.testi-avatar{
  width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,var(--gold-bright),var(--gold-deep));
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); color:#141414; font-weight:700;
}
.testi-name{ font-size:.9rem; color:var(--silver); font-weight:700; }
.testi-role{ font-size:.78rem; color:var(--muted); }
.stars{ color:var(--gold); letter-spacing:2px; font-size:.85rem; margin-bottom:10px; }

/* ============ CTA band ============ */
.cta-band{
  position:relative;
  background:linear-gradient(135deg, #111214, #0b0c0d);
  border-top:1px solid var(--panel-border);
  border-bottom:1px solid var(--panel-border);
  padding:90px 0;
  overflow:hidden;
}
.cta-band::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 85% 30%, rgba(212,175,55,.12), transparent 55%);
}
.cta-inner{ position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.cta-inner h2{ font-size:clamp(1.6rem,3vw,2.3rem); color:var(--silver); max-width:520px; margin-bottom:0; }
.cta-inner .sub{ color:var(--muted); margin-top:10px; max-width:480px; }

/* ============ Contact ============ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.contact-info-list{ display:grid; gap:22px; margin-top:34px; }
.contact-info-item{ display:flex; gap:18px; align-items:flex-start; padding:22px; background:var(--panel); border:1px solid var(--panel-border); }
.contact-info-item .service-icon{ margin-bottom:0; flex:0 0 52px; }
.contact-info-item h4{ font-family:var(--font-eyebrow); text-transform:uppercase; letter-spacing:.08em; font-size:.78rem; color:var(--gold); margin-bottom:6px; }
.contact-info-item a, .contact-info-item p{ color:var(--silver); margin:0; font-size:1rem; }

.form-panel{ background:var(--panel); border:1px solid var(--panel-border); padding:40px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom:20px; }
.form-group label{
  display:block; font-family:var(--font-eyebrow); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:8px;
}
.form-group input, .form-group select, .form-group textarea{
  width:100%; background:var(--black-soft); border:1px solid var(--panel-border); color:var(--white);
  padding:14px 16px; font-family:var(--font-body); font-size:.95rem; border-radius:2px;
  transition:border-color .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  border-color:var(--gold); outline:none;
}
.form-group textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:.82rem; color:var(--muted); margin-top:14px; }

.map-embed{ border:1px solid var(--panel-border); filter:grayscale(1) invert(.92) contrast(1.1); width:100%; height:340px; margin-top:40px; }

/* ============ About page extras ============ */
.value-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--panel-border); border:1px solid var(--panel-border); }
.value-card{ background:var(--black-soft); padding:34px 26px; }
.value-card h3{ font-size:1.05rem; color:var(--silver); }
.value-card p{ font-size:.9rem; margin-bottom:0; }

.timeline{ margin-top:20px; }
.timeline-item{ display:grid; grid-template-columns:110px 1fr; gap:24px; padding:26px 0; border-bottom:1px solid var(--panel-border); }
.timeline-item:last-child{ border-bottom:none; }
.timeline-year{ font-family:var(--font-display); color:var(--gold); font-size:1.3rem; }
.timeline-item h4{ color:var(--silver); font-size:1.05rem; margin-bottom:6px; }
.timeline-item p{ margin-bottom:0; font-size:.92rem; }

.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.team-card{ text-align:center; }
.team-photo{
  width:100%; aspect-ratio:1/1; border-radius:50%; border:2px solid var(--panel-border);
  background:linear-gradient(160deg,var(--panel),var(--black-soft));
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; overflow:hidden;
  font-family:var(--font-display); font-size:2rem; color:var(--gold);
  transition:border-color .3s;
}
.team-card:hover .team-photo{ border-color:var(--gold); }
.team-card h4{ color:var(--silver); font-size:1rem; margin-bottom:2px; }
.team-card span{ font-family:var(--font-eyebrow); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); }

/* certification strip */
.cert-strip{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.cert-pill{
  border:1px solid var(--panel-border); padding:10px 18px; font-family:var(--font-eyebrow);
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--steel-dim);
  display:flex; align-items:center; gap:8px;
}
.cert-pill svg{ color:var(--gold); width:14px; height:14px; }

/* ============ Footer ============ */
.site-footer{ background:#050606; border-top:1px solid var(--panel-border); padding:70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:50px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer-brand img{ height:42px; }
.site-footer h5{
  font-family:var(--font-eyebrow); font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold); margin-bottom:20px;
}
.footer-links li{ margin-bottom:12px; }
.footer-links a{ color:var(--muted); font-size:.92rem; transition:color .3s; }
.footer-links a:hover{ color:var(--gold-bright); }
.footer-desc{ color:var(--muted); font-size:.92rem; max-width:320px; }
.footer-social{ display:flex; gap:12px; margin-top:22px; }
.footer-social a{
  width:38px; height:38px; border:1px solid var(--panel-border); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--steel);
  transition:border-color .3s, color .3s;
}
.footer-social a:hover{ border-color:var(--gold); color:var(--gold-bright); }
.footer-bottom{
  margin-top:60px; padding-top:26px; border-top:1px solid var(--panel-border);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:.82rem; color:var(--muted);
}
.footer-bottom a{ color:var(--muted); }
.footer-bottom a:hover{ color:var(--gold); }

/* ============ WhatsApp floating button ============ */
.whatsapp-float{
  position:fixed; bottom:26px; right:26px; z-index:1200;
  width:60px; height:60px; border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px -6px rgba(0,0,0,.6);
  animation:waPulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg{ width:30px; height:30px; }
@keyframes waPulse{
  0%,100%{ box-shadow:0 10px 26px -6px rgba(0,0,0,.6), 0 0 0 0 rgba(37,211,102,.5); }
  50%{ box-shadow:0 10px 26px -6px rgba(0,0,0,.6), 0 0 0 10px rgba(37,211,102,0); }
}

/* ============ Reveal-on-scroll ============ */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px){
  .about-grid{ grid-template-columns:1fr; }
  .about-visual{ max-width:420px; margin:0 auto; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .value-grid{ grid-template-columns:repeat(2,1fr); }
  .team-grid{ grid-template-columns:repeat(2,1fr); }
  .testi-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .hero-stats{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 860px){
  /* On mobile the header shows only the logo and the menu toggle —
     no inline nav links, no Call Now / Get Protected buttons cluttering
     the bar. Those CTAs live inside the slide-out mobile menu instead. */
  .nav-links{ display:none; }
  .nav-cta .btn{ display:none; }
  .nav-toggle{ display:block; }
  .nav-cta{ gap:0; }
}

@media (max-width:760px){
  section{ padding:74px 0; }
  .services-grid{ grid-template-columns:1fr; }
  .value-grid{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:34px; }
  .hero-emblem{ display:none; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
  .form-row{ grid-template-columns:1fr; }
  .hero{ padding-top:110px; }

  /* Centered hero on small screens instead of left-aligned block */
  .hero-inner{ margin:0 auto; text-align:center; max-width:100%; }
  .hero-inner .eyebrow{ justify-content:center; }
  .hero p.lead{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-stats{ margin-top:56px; }

  /* Contact page: tighter panel padding so nothing overflows narrow viewports */
  .form-panel{ padding:26px 22px; }
  .contact-info-item{ padding:18px; }
  .map-embed{ height:260px; }
}

@media (max-width:520px){
  .hero-stats{ grid-template-columns:1fr 1fr; }
  .team-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; }
  .whatsapp-float{ width:54px; height:54px; bottom:18px; right:18px; }

  .brand img{ height:34px; }
  .brand-text .b1{ font-size:.88rem; }
  .brand-text .b2{ font-size:.5rem; letter-spacing:.18em; }
  .contact-info-item{ flex-direction:column; }
}
