/* =========================================
   SafeNet Solutions - Design System
   Small-business warmth + SafeNet orange
   ----
   NOTE: To update the brand orange everywhere,
   change --color-primary and --color-primary-dark
   below. Everything else cascades from there.
   ========================================= */

:root {
  /* Colors — SafeNet 2026 palette (Shield direction) */
  --color-primary: #F7941D;        /* SafeNet orange — flagship */
  --color-primary-dark: #D97706;   /* Hover / active */
  --color-primary-light: #FBB366;  /* Tints */
  --color-accent: #D97706;         /* Deeper orange — gradient partner */
  --color-accent-dark: #B45309;
  --color-navy: #1F2937;           /* Ink — headings */
  --color-slate: #4B5563;          /* Body text */
  --color-muted: #6B7280;          /* Muted / captions */
  --color-brand-gray: #6D6E71;     /* From the original wordmark */
  --color-bg: #ffffff;
  --color-bg-alt: #FDF8F3;         /* Cream */
  --color-bg-dark: #1F2937;        /* Ink (for dark surfaces) */
  --color-border: #E5E7EB;         /* Cool gray border */
  --color-border-warm: #F0E4D3;    /* Warm tan border (alt) */
  --color-success: #22c55e;
  --color-text: #1F2937;           /* Ink */
  --color-text-light: #ffffff;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout — softer, friendlier radii */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows — warm brown tint for small-business feel */
  --shadow-sm: 0 1px 3px rgba(62, 39, 20, 0.08);
  --shadow-md: 0 8px 24px rgba(62, 39, 20, 0.09);
  --shadow-lg: 0 24px 55px rgba(62, 39, 20, 0.14);
  --shadow-hover: 0 14px 32px rgba(247, 148, 29, 0.22);

  /* Transitions */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset / Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.375rem;
}

p {
  color: var(--color-slate);
}

ul {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 1.125rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1rem;
}

/* ===== Utility bar (top strip) ===== */
.utility-bar {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  border-bottom: 3px solid var(--color-primary);
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.utility-bar a,
.utility-bar span {
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}

.utility-bar a:hover {
  color: var(--color-primary-light);
}

.utility-bar svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.utility-bar .divider {
  opacity: 0.25;
}

.utility-cta {
  background: var(--color-primary);
  color: white !important;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: all var(--transition);
}

.utility-cta:hover {
  background: var(--color-primary-dark) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 0;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.nav-brand:hover {
  color: inherit;
}

.nav-brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: block;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand-text .brand-primary {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.nav-brand-text .brand-secondary {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-brand-gray);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Footer variant — brighter on the dark background */
.footer-brand .brand-primary {
  color: #FFFFFF;
}

.footer-brand .brand-secondary {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 480px) {
  .nav-brand-mark {
    width: 36px;
    height: 36px;
  }
  .nav-brand-text .brand-primary {
    font-size: 1.125rem;
  }
  .nav-brand-text .brand-secondary {
    font-size: 0.625rem;
    margin-top: 2px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  color: var(--color-slate);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-navy);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(247, 148, 29, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(247, 148, 29, 0.08);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.hero-content h1 {
  margin-bottom: var(--space-md);
}

.hero-content h1 .accent {
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1875rem;
  margin-bottom: var(--space-lg);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat span {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}

.hero-visual-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  animation: float 6s ease-in-out infinite;
}

.hero-visual-main {
  position: absolute;
  inset: 10% 10% 10% 10%;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-visual-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

.hero-visual-main svg {
  width: 55%;
  height: 55%;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

.hero-visual-card.card-1 {
  top: 5%;
  left: -5%;
  animation-delay: 0s;
}

.hero-visual-card.card-2 {
  bottom: 8%;
  right: -2%;
  animation-delay: 2s;
}

.hero-visual-card.card-3 {
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  animation-delay: 4s;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon.blue {
  background: rgba(247, 148, 29, 0.12);
  color: var(--color-primary);
}

.card-icon.green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-success);
}

.card-icon.teal {
  background: rgba(217, 119, 6, 0.12);
  color: var(--color-accent);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-navy);
  font-weight: 600;
}

.card-text span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-visual-card.card-3 {
  animation: float-y 6s ease-in-out infinite;
  animation-delay: 4s;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 10px));
  }
}

/* ===== Services / Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-accent)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(247, 148, 29, 0.1),
    rgba(217, 119, 6, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card p {
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.service-card ul {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.service-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-slate);
  padding: 0.375rem 0;
}

.service-card ul li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E")
    center / 12px no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.feature {
  text-align: left;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(247, 148, 29, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9375rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    var(--color-primary-dark) 100%
  );
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(247, 148, 29, 0.25) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(247, 148, 29, 0.08) 0%,
    transparent 70%
  );
  z-index: 0;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.page-header .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: 1.1875rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: var(--space-md);
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ===== About page ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content p + p {
  margin-top: var(--space-sm);
}

.about-visual {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(0, 0, 0, 0.1) 0%,
      transparent 50%
    );
}

.about-visual-stat {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.about-visual-stat strong {
  display: block;
  font-size: 2.25rem;
  color: var(--color-navy);
  font-weight: 800;
  line-height: 1;
}

.about-visual-stat span {
  color: var(--color-slate);
  font-size: 0.9375rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.value-card {
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.12);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9375rem;
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info > p {
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(247, 148, 29, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item h4 {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  color: var(--color-navy);
  font-weight: 500;
  font-size: 1rem;
}

.contact-item a:hover {
  color: var(--color-primary);
}

.contact-form-wrap {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: white;
  transition: all var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.12);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .nav-brand {
  color: white;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: white;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 720px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 2.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }

  .nav-menu.is-open {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links a {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu .btn {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-visual-card {
    padding: 0.875rem;
  }

  .card-icon {
    width: 34px;
    height: 34px;
  }

  .card-text strong {
    font-size: 0.8125rem;
  }

  .card-text span {
    font-size: 0.6875rem;
  }
}

/* ===== Floating "Quick Connect" SOS button =====
   On-demand remote support launcher. Links to the NinjaOne
   connect page so when someone calls in for help, they can
   click here and the tech is one session-code away.
   ========================================= */
.quick-connect {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.5rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(247, 148, 29, 0.4),
    0 4px 10px rgba(62, 39, 20, 0.15);
  transition: all var(--transition);
  animation: pulse-ring 2.4s ease-out infinite;
}

.quick-connect:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 40px rgba(247, 148, 29, 0.5),
    0 6px 14px rgba(62, 39, 20, 0.2);
}

.quick-connect svg {
  width: 20px;
  height: 20px;
}

.quick-connect .qc-label-full {
  display: inline;
}

.quick-connect .qc-label-short {
  display: none;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 12px 30px rgba(247, 148, 29, 0.4),
      0 4px 10px rgba(62, 39, 20, 0.15),
      0 0 0 0 rgba(247, 148, 29, 0.5);
  }
  70% {
    box-shadow: 0 12px 30px rgba(247, 148, 29, 0.4),
      0 4px 10px rgba(62, 39, 20, 0.15),
      0 0 0 18px rgba(247, 148, 29, 0);
  }
  100% {
    box-shadow: 0 12px 30px rgba(247, 148, 29, 0.4),
      0 4px 10px rgba(62, 39, 20, 0.15),
      0 0 0 0 rgba(247, 148, 29, 0);
  }
}

/* Utility-bar variant of Quick Connect — a distinct link beside the others */
.utility-bar .utility-quick {
  color: #FFFFFF;
  font-weight: 600;
}

.utility-bar .utility-quick svg {
  color: var(--color-primary);
}

.utility-bar .utility-quick:hover {
  color: var(--color-primary-light);
}

@media (max-width: 480px) {
  .quick-connect {
    bottom: 1rem;
    right: 1rem;
    padding: 0.8125rem 1.25rem;
    font-size: 0.875rem;
  }

  .quick-connect svg {
    width: 18px;
    height: 18px;
  }

  .quick-connect .qc-label-full {
    display: none;
  }

  .quick-connect .qc-label-short {
    display: inline;
  }
}

/* Hide utility bar left items on narrow screens to keep CTAs visible */
@media (max-width: 600px) {
  .utility-bar-inner {
    justify-content: center;
  }

  .utility-left .hide-sm {
    display: none;
  }
}
