/*
Theme Name: Armor Security & Staffing
Theme URI: https://example.com
Author: Generated
Description: Custom theme for Armor Security and Staffing Solutions Pvt. Ltd., rebuilt from the original MagicPatterns React/Tailwind design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: armor
*/

:root {
  --ink-900: #060B14;
  --ink-800: #0A1220;
  --ink-700: #111C2E;
  --steel-50: #F7F9FB;
  --steel-100: #EFF2F6;
  --steel-200: #DFE5EC;
  --steel-300: #C4CEDA;
  --steel-400: #98A6B8;
  --steel-500: #6B7A8D;
  --steel-600: #4A5769;
  --brand-300: #57BEF7;
  --brand-400: #2AA3F0;
  --brand-500: #0C7CD5;
  --brand-600: #0A62AB;
  --font-display: 'Barlow Condensed', Impact, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink-800);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
@media (max-width: 782px) { .section { padding: 56px 0; } }
.bg-ink-900 { background: var(--ink-900); }
.bg-ink-800 { background: var(--ink-800); }
.bg-steel-50 { background: var(--steel-50); }
.text-white { color: #fff; }

.eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--brand-500); margin: 0 0 12px;
}
.eyebrow.on-dark { color: var(--brand-300); }

h1, h2, h3, .heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
  color: var(--ink-800);
  margin: 0;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .heading { color: #fff; }
h1, .h1 { font-size: 46px; line-height: 1.05; }
h2, .h2 { font-size: 34px; line-height: 1.1; }
h3, .h3 { font-size: 22px; line-height: 1.15; }
@media (max-width: 782px) {
  h1, .h1 { font-size: 32px; }
  h2, .h2 { font-size: 26px; }
}

.lede {
  max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--steel-600); margin-top: 16px;
}
.on-dark .lede { color: var(--steel-300); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; text-decoration: none; border: none; cursor: pointer;
  background: var(--brand-500); color: #fff; transition: background-color .15s ease-out;
}
.btn:hover { background: var(--brand-600); color: #fff; }
.btn-outline {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25);
}
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand-300); }
.btn-outline.on-light { color: var(--ink-700); border-color: var(--steel-300); }
.btn-outline.on-light:hover { border-color: var(--brand-500); color: var(--brand-600); }

.check-list li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--ink-700); line-height: 1.5; }
.check-list li i { color: var(--brand-500); margin-top: 3px; flex-shrink: 0; }
.check-list.on-dark li { color: var(--steel-300); }
.check-list.cols-2 { columns: 2; column-gap: 32px; }
.check-list.divided li { padding: 10px 0; border-bottom: 1px solid var(--steel-200); margin-bottom: 0; }
@media (max-width: 640px) {
  .check-list.cols-2 { columns: 1; }
}

.grid { display: grid; gap: 32px; min-width: 0; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1080px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-5 { grid-template-columns: repeat(3, 1fr); } }

/* Uneven two-column layouts (e.g. 1.15fr/0.85fr) set their ratio via the
   --split custom property in an inline style instead of inline
   grid-template-columns, so this single responsive rule always wins on
   mobile rather than being overridden by higher-specificity inline CSS. */
.grid-split { grid-template-columns: var(--split, 1fr 1fr); }
@media (max-width: 900px) { .grid-split { grid-template-columns: 1fr; } }

.number-badge { font-family: var(--font-display); font-size: 40px; color: var(--steel-300); line-height: 1; }
.icon-badge { color: var(--brand-500); font-size: 28px; }

/* ---------- Bento cards ---------- */
.bento-grid { display: grid; gap: 20px; }
.bento-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.bento-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .bento-grid.cols-2, .bento-grid.cols-3 { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 900px) { .bento-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
.bento-card {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(6,11,20,.04), 0 12px 28px -18px rgba(6,11,20,.18);
  transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
  min-width: 0;
}
a.bento-card { text-decoration: none; display: block; }
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(6,11,20,.06), 0 20px 36px -16px rgba(6,11,20,.22);
  border-color: var(--brand-400);
}
.bento-card.on-dark { background: var(--ink-800); border-color: rgba(255,255,255,.08); }
.bento-card.on-dark:hover { border-color: var(--brand-500); }
.bento-card.tight { padding: 24px; border-radius: 16px; }
.bento-card.span-2 { grid-column: span 2; }
@media (max-width: 900px) { .bento-card.span-2 { grid-column: span 1; } }
.bento-media { border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.bento-media img { border-radius: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--ink-900); color: var(--steel-300); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; white-space: nowrap; }
.topbar i { color: var(--brand-400); margin-right: 8px; }
@media (max-width: 768px) { .topbar { display: none; } }
.mainbar { background: #fff; border-bottom: 1px solid var(--steel-200); }
.mainbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: 52px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--ink-800); line-height: 1; }
.brand-sub { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--steel-500); margin-top: 4px; }
.primary-nav ul { display: flex; gap: 4px; align-items: center; }
.primary-nav a {
  display: block; padding: 24px 16px; font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; text-decoration: none; color: var(--ink-700); border-bottom: 3px solid transparent;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--brand-500); border-color: var(--brand-500); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--ink-800); cursor: pointer; }
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
}
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--steel-200); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { padding: 8px 0; }
.mobile-nav li { border-bottom: 1px solid var(--steel-100); }
.mobile-nav a { display: block; padding: 14px 24px; font-size: 14px; font-weight: 700; text-transform: uppercase; text-decoration: none; color: var(--ink-700); }

/* ---------- Page header (breadcrumb hero) ---------- */
.page-header { position: relative; background: var(--ink-800); overflow: hidden; padding: 72px 0; border-radius: 0 0 32px 32px; }
.page-header .container { position: relative; }
.breadcrumb { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--steel-400); margin-bottom: 24px; }
.breadcrumb a { color: var(--steel-400); text-decoration: none; }
.breadcrumb .current { color: var(--brand-300); }

/* ---------- Hero ---------- */
.hero { background: var(--ink-900); padding: 80px 0; }
.hero .grid-2 { align-items: center; gap: 48px; }
.hero-stats { display: flex; gap: 32px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats .stat-value { font-family: var(--font-display); font-size: 32px; color: var(--brand-400); }
.hero-stats .stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--steel-400); margin-top: 4px; }
.hero-media { position: relative; border-radius: 20px; overflow: hidden; }
.hero-media img { display: block; }
.hero-caption { background: rgba(6,11,20,.85); border-top: 4px solid var(--brand-500); padding: 20px; margin-top: -6px; position: relative; }
.hero-caption .heading { font-size: 18px; }
.hero-caption p { color: var(--steel-300); font-size: 14px; margin-top: 6px; }

/* ---------- Value props bar (bento chips) ---------- */
.value-props { background: var(--steel-50); padding: 24px 0; }
.value-props ul { display: flex; flex-wrap: wrap; gap: 12px; }
.value-props li {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-700);
  background: #fff; border: 1px solid var(--steel-200); border-radius: 999px; padding: 10px 18px;
  box-shadow: 0 1px 2px rgba(6,11,20,.04);
}
.value-props i { color: var(--brand-500); }

/* ---------- Service rows (home) — bento cards ---------- */
.service-rows { margin-top: 24px; }
.service-row {
  display: grid; grid-template-columns: 52px 36px 1fr 24px; align-items: center; gap: 16px;
  padding: 22px 24px; text-decoration: none;
}
.service-row .num { font-family: var(--font-display); font-size: 24px; color: var(--steel-300); }
.service-row .title { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 19px; color: var(--ink-800); }
.service-row .tag { display: block; font-size: 14px; color: var(--steel-600); margin-top: 2px; }
.service-row .arrow { color: var(--steel-400); }
@media (max-width: 640px) { .service-row { grid-template-columns: 36px 28px 1fr; padding: 20px; } .service-row .arrow { display: none; } }

/* ---------- Delivery stages / steps — bento cards ---------- */
.stage { border-top: 3px solid var(--brand-500); }
.stage .stage-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--brand-300); }
.stage .heading { font-size: 22px; margin-top: 8px; }
.stage p { font-size: 13px; color: var(--steel-400); margin-top: 8px; line-height: 1.5; }

.delivery-step { display: flex; gap: 20px; }
.delivery-step .num-box {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(12,124,213,.12);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; color: var(--brand-300);
}
.delivery-step .heading { font-size: 18px; }
.delivery-step p { font-size: 14px; color: var(--steel-400); margin-top: 6px; line-height: 1.5; }

/* ---------- Industries — bento cards ---------- */
.industry-group .heading { font-size: 20px; }
.industry-group p { font-size: 14px; color: var(--steel-600); margin: 8px 0 12px; }
.tag-pill { display: inline-block; background: var(--steel-100); border-radius: 999px; padding: 6px 14px; margin: 0 8px 8px 0; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--ink-700); }
.industries-page-group:first-child { margin-top: 0; }
.industry-list-item { padding: 14px 0; border-bottom: 1px solid var(--steel-200); font-size: 16px; color: var(--ink-700); }
.industry-list { columns: 2; column-gap: 40px; }
@media (max-width: 640px) { .industry-list { columns: 1; } }

/* ---------- Differentiators — bento cards ---------- */
.diff-item .heading { font-size: 17px; }
.diff-item p { font-size: 14px; color: var(--steel-600); margin-top: 8px; line-height: 1.5; }

/* ---------- Service detail ---------- */
.other-services { background: var(--steel-50); padding: 56px 0; }
.other-service-link {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 20px 24px;
  text-decoration: none;
}
.other-service-link .num { font-family: var(--font-display); font-size: 20px; color: var(--steel-300); }
.other-service-link .title { font-family: var(--font-display); text-transform: uppercase; font-size: 15px; color: var(--ink-800); }
.other-service-link .arrow { margin-left: auto; color: var(--steel-400); }
.outsourcing-chain { border-left: 4px solid var(--brand-500); background: var(--ink-800); border-radius: 0 20px 20px 0; padding: 24px; margin-top: 24px; }
.outsourcing-chain .heading { font-size: 19px; color: #fff; }
.outsourcing-chain .chain-steps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.outsourcing-chain .chain-steps span.step { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; text-transform: uppercase; font-size: 13px; color: var(--steel-300); }
.outsourcing-chain .chain-steps .arrow { color: var(--brand-400); }
.outsourcing-chain p { font-size: 14px; color: var(--steel-400); margin-top: 16px; }
.service-card .heading { font-size: 22px; margin: 16px 0 4px; }
.service-card .tag { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--brand-600); }
.service-card p { font-size: 14px; color: var(--steel-600); margin-top: 12px; line-height: 1.5; }
.service-card .meta { margin-top: 16px; font-size: 12px; color: var(--steel-400); text-transform: uppercase; letter-spacing: .5px; }
.service-card .cta { margin-top: 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--brand-600); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink-900); overflow: hidden; }
.cta-band .bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .2; }
.cta-band .container { padding: 48px 24px; }
.cta-band .bento-card {
  position: relative; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
  padding: 40px; background: rgba(10,18,32,.55); backdrop-filter: blur(6px); border-color: rgba(255,255,255,.1);
}
.cta-band .cta-copy { max-width: 620px; }
.cta-band .cta-copy p { color: var(--steel-300); margin-top: 12px; font-size: 16px; line-height: 1.6; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- About sidebar ---------- */
.about-sidebar { background: var(--steel-50); border-radius: 20px; padding: 32px; box-shadow: 0 1px 2px rgba(6,11,20,.04), 0 12px 28px -18px rgba(6,11,20,.18); }
.about-sidebar .heading { font-size: 20px; }
.value-prop-list li { display: flex; gap: 10px; border-bottom: 1px solid var(--steel-200); padding-bottom: 12px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--ink-700); }
.value-prop-list li i { color: var(--brand-500); margin-top: 2px; }
.about-sidebar dl { border-top: 1px solid var(--steel-300); margin-top: 24px; padding-top: 20px; font-size: 14px; }
.about-sidebar dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--steel-500); margin-top: 16px; }
.about-sidebar dt:first-child { margin-top: 0; }
.about-sidebar dd { margin: 4px 0 0; font-weight: 600; color: var(--ink-800); }
.pull-quote { border-left: 4px solid var(--brand-500); padding-left: 24px; font-size: 18px; font-weight: 500; color: var(--ink-800); margin-top: 20px; }

/* ---------- Contact ---------- */
.contact-form { display: grid; gap: 20px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--steel-600); }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--steel-300);
  font-family: var(--font-sans); font-size: 14px; background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-500); }
.contact-form .full { grid-column: 1 / -1; }
.form-notice { padding: 16px 20px; font-size: 14px; margin-bottom: 20px; }
.form-notice.success { background: var(--steel-50); border-left: 4px solid var(--brand-500); color: var(--ink-800); }
.form-notice.error { background: #FEF2F2; border-left: 4px solid #DC2626; color: #7F1D1D; }
.office-box { background: var(--ink-900); color: var(--steel-300); border-radius: 20px; padding: 32px; box-shadow: 0 12px 28px -18px rgba(6,11,20,.4); }
.office-box .heading { color: #fff; font-size: 20px; }
.office-box a { color: var(--steel-300); }
.office-box i { color: var(--brand-400); margin-right: 8px; }
.next-box { border: 1px solid var(--steel-200); border-radius: 20px; padding: 32px; margin-top: 24px; box-shadow: 0 1px 2px rgba(6,11,20,.04), 0 12px 28px -18px rgba(6,11,20,.18); }
.next-box .heading { font-size: 20px; }
.next-steps li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--steel-600); line-height: 1.5; }
.next-steps .num { font-family: var(--font-display); font-size: 16px; color: var(--brand-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--steel-300); }
.footer-main { padding: 64px 0; }
.footer-main .grid { grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr; }
@media (max-width: 1080px) { .footer-main .grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 640px) { .footer-main .grid { grid-template-columns: 1fr; gap: 40px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 48px; width: 48px; object-fit: contain; }
.footer-brand-name { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; color: #fff; }
.site-footer .footer-desc { margin-top: 20px; max-width: 380px; font-size: 14px; color: var(--steel-400); line-height: 1.6; }
.site-footer .footer-cin { margin-top: 20px; font-size: 12px; color: var(--steel-500); text-transform: uppercase; letter-spacing: 1px; }
.site-footer h2 { font-size: 18px; color: #fff; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--steel-300); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--brand-300); }
.footer-address { margin-top: 20px; font-size: 14px; line-height: 1.6; }
.footer-address i { color: var(--brand-400); margin-right: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 12px; color: var(--steel-500); }

/* Elementor: every section in this theme is designed to render edge-to-edge,
   with the inner .container div (in the injected HTML) handling the 1200px
   content width itself — so force Elementor's own section wrapper to always
   render full width, regardless of the per-section "Content Width" setting.
   This is a safety net on top of the content_width='full_width' value the
   theme seeds, in case that setting gets reset or overridden. */
.elementor-section { max-width: 100% !important; }
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 100% !important; }
.elementor-widget-html { max-width: 100%; }
