/* =============================================
   P SQUARED SYSTEMS — Main Stylesheet
   psquaredsystems.com
   ============================================= */

/* ── Reset & Custom Properties ─────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #051d40;
  --navy-mid:    #082451;
  --navy-light:  #0d3166;
  --blue-accent: #a7c8ef;
  --blue-mid:    #7aaee0;
  --white:       #ffffff;
  --off-white:   #f0f6fd;
  --gray-light:  #f8fafc;
  --gray:        #64748b;
  --gray-dark:   #334155;
  --text-body:   #1e293b;
  --text-muted:  #475569;
  --border:      #e2e8f0;

  --font-head: 'Exo 2', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.13);
  --shadow-navy: 0 8px 32px rgba(5,29,64,0.35);

  --radius:    12px;
  --radius-lg: 20px;
  --ease:      0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Utilities ──────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { color: var(--navy); margin-bottom: 14px; }
.section-header p  { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 1.02rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--blue-accent); color: var(--navy); }
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: var(--shadow-navy); }
.btn-outline { background: transparent; border-color: var(--blue-accent); color: var(--white); }
.btn-outline:hover { background: var(--blue-accent); color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-navy); }

/* Scroll animations */
.anim { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }

/* Accessibility */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--navy); color: var(--white);
  padding: 12px 24px; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 2px;
}

/* ── Navbar ─────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--ease);
}
.navbar.scrolled {
  background: var(--navy);
  padding: 10px 0;
  box-shadow: 0 4px 28px rgba(5,29,64,0.55);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-brand { display: flex; align-items: center; gap: 12px; }

/* Logo image in navbar */
.nav-logo-img {
  height: 48px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
  transition: opacity var(--ease);
}
.nav-logo-img:hover { opacity: 0.9; }

.nav-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.1;
}
.nav-name small {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-accent);
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  padding: 7px 13px;
  border-radius: 6px;
  transition: color var(--ease), background var(--ease);
}
.nav-links a:hover { color: var(--white); background: rgba(167,200,239,0.14); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}

/* Mobile Menu */
.mob-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.mob-menu a:hover { color: var(--blue-accent); }
.mob-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 1.6rem; line-height: 1;
}

/* ── Hero ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy) url('../images/hero-security.jpg') center / cover no-repeat;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
/* Dark overlay so text stays readable over the photo */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: rgba(5, 29, 64, 0.82);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(167,200,239,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 50%, rgba(167,200,239,0.06) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(167,200,239,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,200,239,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 80%);
}

.hero .container {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(167,200,239,0.1); border: 1px solid rgba(167,200,239,0.28);
  border-radius: 100px; padding: 8px 20px; margin-bottom: 28px;
  animation: fadeIn 0.9s ease forwards;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  background: var(--blue-accent); border-radius: 50%;
  position: relative; flex-shrink: 0;
}
.hero-badge .pulse-dot::after {
  content: ''; position: absolute; inset: -4px;
  border: 2px solid var(--blue-accent); border-radius: 50%;
  animation: pulse-ring 2.2s ease infinite;
}
.hero-badge span {
  font-family: var(--font-head);
  font-size: 0.77rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-accent);
}

.hero h1 { color: var(--white); font-weight: 900; margin-bottom: 20px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero h1 em { color: var(--blue-accent); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,0.72); font-size: 1.1rem;
  max-width: 520px; margin-bottom: 42px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s both; }

/* Hero logo visual */
.hero-visual {
  flex-shrink: 0;
  animation: fadeIn 1.2s ease 0.5s both;
  opacity: 0;
}
.hero-logo-visual {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: contain;
  padding: 28px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(167,200,239,0.25);
  box-shadow: 0 0 80px rgba(167,200,239,0.1);
}

/* ── Stats Bar ──────────────────────────────── */
.stats-bar { background: var(--blue-accent); padding: 26px 0; }
.stats-bar .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; text-align: center;
}
.stat-num {
  font-family: var(--font-head); font-size: 2.1rem;
  font-weight: 900; color: var(--navy); line-height: 1;
}
.stat-lbl {
  font-family: var(--font-head); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); opacity: 0.68; margin-top: 4px;
}

/* ── Mission ────────────────────────────────── */
.mission { padding: 96px 0; background: var(--white); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.mission .eyebrow { color: var(--navy-light); }
.mission h2 { color: var(--navy); margin-bottom: 16px; }
.mission p  { color: var(--text-muted); margin-bottom: 14px; font-size: 0.97rem; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.pillar { display: flex; align-items: flex-start; gap: 12px; }
.pillar-ico {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(5,29,64,0.07); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.pillar strong { display: block; font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.pillar span   { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

.mission-vis {
  display: flex; align-items: center; justify-content: center;
}
.shield-bg {
  width: 340px; height: 340px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.shield-bg::before { content: ''; position: absolute; inset: -18px; border: 2px solid rgba(167,200,239,0.18); border-radius: 50%; }
.shield-bg::after  { content: ''; position: absolute; inset: -36px; border: 1px solid rgba(167,200,239,0.09); border-radius: 50%; }

/* Logo in mission visual */
.mission-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(167,200,239,0.25));
}

/* Austin Texas city image — mission section */
.austin-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(5,29,64,0.28);
  width: 100%;
  max-width: 500px;
}
.austin-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.austin-frame:hover img { transform: scale(1.03); }
.austin-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(5,29,64,0.88));
  padding: 32px 22px 18px;
  display: flex; align-items: center; gap: 10px;
}
.austin-caption span {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-accent);
}
.austin-caption-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-accent); flex-shrink: 0;
}

/* ── Services ───────────────────────────────── */
.services { padding: 96px 0; background: var(--gray-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.svc-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 38px 30px;
  border: 1px solid var(--border); transition: all var(--ease);
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue-accent));
  transform: scaleX(0); transition: transform var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }

.svc-ico {
  width: 60px; height: 60px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--blue-accent);
}
.svc-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.15rem; }
.svc-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 4px 10px; background: rgba(5,29,64,0.06); color: var(--navy);
  border-radius: 100px; font-family: var(--font-head);
}

/* ── Why Us ─────────────────────────────────── */
.why { padding: 96px 0; background: var(--navy); position: relative; overflow: hidden; }
.why::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167,200,239,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,200,239,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}
.why .section-header h2 { color: var(--white); }
.why .section-header p  { color: rgba(255,255,255,0.62); }
.why .section-header .eyebrow { color: var(--blue-accent); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.why-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(167,200,239,0.14);
  border-radius: var(--radius); padding: 38px 24px; text-align: center; transition: all var(--ease);
}
.why-card:hover { background: rgba(167,200,239,0.1); border-color: rgba(167,200,239,0.35); transform: translateY(-4px); }
.why-ico {
  width: 68px; height: 68px;
  background: rgba(167,200,239,0.1); border: 1px solid rgba(167,200,239,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; color: var(--blue-accent);
}
.why-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.05rem; }
.why-card p  { color: rgba(255,255,255,0.58); font-size: 0.85rem; line-height: 1.65; }

/* ── Process ────────────────────────────────── */
.process { padding: 96px 0; background: var(--white); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 39px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--blue-accent));
}
.proc-step { text-align: center; padding: 0 20px; }
.step-num {
  width: 78px; height: 78px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 900; color: var(--blue-accent);
  border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--navy);
  position: relative; z-index: 1;
}
.proc-step h3 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.proc-step p  { color: var(--text-muted); font-size: 0.84rem; line-height: 1.6; }

/* ── Service Areas ──────────────────────────── */
.service-areas { padding: 96px 0; background: var(--navy); position: relative; overflow: hidden; }
.service-areas::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167,200,239,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,200,239,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}
.service-areas .section-header h2 { color: var(--white); }
.service-areas .section-header p  { color: rgba(255,255,255,0.65); }
.service-areas .section-header .eyebrow { color: var(--blue-accent); }

.counties-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 14px; margin-bottom: 36px; position: relative;
}
.county-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(167,200,239,0.16);
  border-radius: 14px; padding: 20px 16px;
  transition: all var(--ease);
}
.county-card:hover { background: rgba(167,200,239,0.1); border-color: rgba(167,200,239,0.35); transform: translateY(-3px); }
.county-card h3 {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  color: var(--blue-accent); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(167,200,239,0.2);
}
.county-card ul { list-style: none; }
.county-card ul li {
  font-size: 0.8rem; color: rgba(255,255,255,0.72); padding: 3px 0;
  display: flex; align-items: center; gap: 6px;
}
.county-card ul li::before { content: ''; width: 4px; height: 4px; background: var(--blue-accent); border-radius: 50%; flex-shrink: 0; opacity: 0.7; }
.county-card ul a { color: rgba(255,255,255,0.72); transition: color var(--ease); }
.county-card ul a:hover { color: var(--blue-accent); }

.city-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.city-pill {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 7px 14px; background: rgba(167,200,239,0.08);
  border: 1px solid rgba(167,200,239,0.22); border-radius: 100px;
  color: var(--blue-accent); transition: all var(--ease);
}
.city-pill:hover { background: rgba(167,200,239,0.2); border-color: rgba(167,200,239,0.5); color: var(--white); }

.areas-cta { text-align: center; }
.areas-cta p { color: rgba(255,255,255,0.6); margin-bottom: 20px; font-size: 0.92rem; }

/* ── Testimonials ───────────────────────────── */
.testimonials { padding: 96px 0; background: var(--off-white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 30px;
  border: 1px solid var(--border); position: relative;
}
.quote {
  font-family: Georgia, serif; font-size: 5rem; line-height: 0;
  color: var(--blue-accent); position: absolute; top: 32px; left: 26px; opacity: 0.35;
}
.testi-text { color: var(--text-muted); font-size: 0.93rem; line-height: 1.72; padding-top: 22px; margin-bottom: 26px; }
.testi-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 18px;
}
.author-av {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(140deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--blue-accent);
}
.stars { color: #f59e0b; font-size: 0.88rem; letter-spacing: 1px; margin-bottom: 2px; }
.author-info strong { display: block; font-weight: 600; color: var(--navy); font-size: 0.88rem; }
.author-info span   { font-size: 0.78rem; color: var(--gray); }

/* ── Mantra / CTA ───────────────────────────── */
.mantra {
  padding: 96px 0;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.mantra::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(167,200,239,0.07) 0%, transparent 70%);
}
.mantra-inner { position: relative; }
.mantra h2 {
  color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900; max-width: 680px; margin: 0 auto 18px;
}
.mantra h2 em { color: var(--blue-accent); font-style: normal; }
.mantra p  { color: rgba(255,255,255,0.68); font-size: 1.05rem; max-width: 520px; margin: 0 auto 40px; }
.mantra-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ────────────────────────────────── */
.contact { padding: 96px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-info .eyebrow { color: var(--navy-light); }
.contact-info h2 { color: var(--navy); margin-bottom: 14px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 36px; font-size: 0.96rem; }

.c-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
.c-ico {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(5,29,64,0.06); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.c-item strong {
  display: block; font-family: var(--font-head); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 3px;
}
.c-item p { color: var(--text-muted); font-size: 0.9rem; }
.c-item a { color: var(--navy-light); }
.c-item a:hover { text-decoration: underline; }

/* Contact Form */
.cform { background: var(--gray-light); border-radius: var(--radius-lg); padding: 46px 40px; }
.cform h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.45rem; }
.cform > p { color: var(--text-muted); margin-bottom: 30px; font-size: 0.88rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrp { margin-bottom: 14px; }
.fgrp label {
  display: block; font-family: var(--font-head); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 7px;
}
.fgrp input, .fgrp select, .fgrp textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text-body); background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none; -webkit-appearance: none;
}
.fgrp input:focus, .fgrp select:focus, .fgrp textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(5,29,64,0.1);
}
.fgrp textarea { resize: vertical; min-height: 112px; }

.form-btn {
  width: 100%; padding: 16px; background: var(--navy); color: var(--white);
  border: none; border-radius: 8px; font-family: var(--font-head); font-size: 0.98rem;
  font-weight: 700; letter-spacing: 0.06em; cursor: pointer; transition: all var(--ease); margin-top: 6px;
}
.form-btn:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-navy); }

.form-ok {
  display: none; background: #ecfdf5; border: 1px solid #6ee7b7;
  border-radius: 8px; padding: 16px; text-align: center;
  color: #065f46; font-size: 0.88rem; margin-top: 14px;
}
.form-ok.show { display: block; }

/* ── Footer ─────────────────────────────────── */
.footer { background: #020d1f; padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 52px; }

.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  padding: 6px 10px;
  margin-bottom: 14px;
}
.footer-brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--white); line-height: 1.1; margin-bottom: 10px;
}
.footer-brand-name small {
  display: block; font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-accent);
}
.footer-brand p { font-size: 0.83rem; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 240px; }

.fcol h4 {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.fcol ul { list-style: none; }
.fcol ul li { margin-bottom: 9px; }
.fcol ul a { font-size: 0.83rem; color: rgba(255,255,255,0.5); transition: color var(--ease); }
.fcol ul a:hover { color: var(--blue-accent); }
.footer-email { color: var(--blue-accent); font-size: 0.83rem; word-break: break-all; }
.footer-loc { font-size: 0.83rem; color: rgba(255,255,255,0.5); margin-top: 10px; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.38); }
.fb-links { display: flex; gap: 22px; }
.fb-links a { font-size: 0.78rem; color: rgba(255,255,255,0.38); transition: color var(--ease); }
.fb-links a:hover { color: var(--blue-accent); }

/* ── Keyframe Animations ────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero-visual { display: none; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-vis { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
@media (max-width: 480px) {
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .cform { padding: 30px 22px; }
}
