/*
  Gallo IT — brand theme overrides, layered on top of the purchased
  "Sandbox" template (style.css + plugins.css). Load this file last.

  Palette is derived from the existing logo marks (assets/img/galloit.svg):
  --brand is the mark's cyan (#0092CA), --wordmark is the mark's charcoal
  text (#393E46) — everything else is built around those two anchors.
*/

:root {
  --ink: #1b222c;
  --wordmark: #393e46;
  --paper: #ffffff;
  --mist: #f1f5f7;
  --brand: #0092ca;
  --brand-strong: #006b93;
  --brand-strong-hover: #00597c;
  --brand-soft: #e4f4fa;
  --brand-tint: #72c3e2;
  --status-green: #22c58b;
  --muted: #5b6472;
  --line: #e4e9ee;
}

/* ---------- Type system ---------- */
/* Body/UI face: Urbanist. Display face: THICCCBOI. Both already self-hosted
   by the template (assets/css/fonts/) — no extra network requests. */

body {
  font-family: Urbanist, sans-serif;
  color: var(--wordmark);
}

h1, h2, h3,
.h1, .h2, .h3,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: THICCCBOI, sans-serif;
  color: var(--wordmark);
  letter-spacing: -0.01em;
}

.eyebrow,
.mono,
.terminal,
.stat-figure {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--brand-strong);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "//";
  color: var(--brand);
  opacity: 0.6;
}

/* ---------- Brand color overrides on the vendor Bootstrap build ---------- */

.text-primary { color: var(--brand) !important; }
.text-muted { color: var(--muted) !important; }

/* Two-tone "solid" icon set (assets/img/icons/solid/*.svg) only picks up
   color when given .solid-mono — see vendor style.css. Override its default
   blue with the brand cyan. */
/* fill-secondary must stay visibly distinct from --brand-soft, which is the
   background color of every chip these icons sit on (pillar-card__icon,
   support-card) — using the same value made half of every icon invisible. */
.solid-mono .fill-primary { fill: var(--brand-strong) !important; }
.solid-mono .fill-secondary { fill: var(--brand-tint) !important; }

.bg-primary { background-color: var(--brand) !important; }
.bg-soft-primary { background-color: var(--brand-soft) !important; }
.bg-navy { background-color: var(--ink) !important; }
.bg-light { background-color: var(--paper) !important; }
.bg-mist { background-color: var(--mist) !important; }

.bg-gradient-primary {
  background: linear-gradient(180deg, var(--mist), rgba(255, 255, 255, 0) 100%) !important;
}
.bg-gradient-reverse-primary {
  background: linear-gradient(0deg, var(--mist), rgba(255, 255, 255, 0) 100%) !important;
}

.btn-primary {
  color: #fff;
  background-color: var(--brand-strong);
  border-color: var(--brand-strong);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-strong-hover);
  border-color: var(--brand-strong-hover);
  color: #fff;
}

.btn-outline-primary {
  color: var(--brand-strong);
  border-color: var(--brand-strong);
}
.btn-outline-primary:hover {
  background-color: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}

.btn-soft-primary {
  background-color: var(--brand-soft);
  color: var(--brand-strong);
}
.btn-soft-primary .number { color: var(--brand-strong); }

a { color: var(--brand-strong); }
.link-primary,
.link-body:hover,
a:not(.btn):hover {
  color: var(--brand-strong-hover);
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--brand-strong) !important;
}

.accordion-wrapper .card-header button {
  color: var(--wordmark);
}
.accordion-wrapper .card-header button:before {
  color: var(--brand);
}

/* Focus visibility (keyboard users) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- Layout utilities ---------- */

.section-alt {
  background-color: var(--mist) !important;
}

.hairline-top {
  border-top: 1px solid var(--line);
}

/* ---------- Signature element: the systems status panel ---------- */

.terminal {
  background: var(--ink);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(27, 34, 44, 0.45);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.terminal__title {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.terminal__body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.terminal__body p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.6em;
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.terminal__body p:last-child { margin-bottom: 0; }

.terminal__prompt {
  color: var(--brand);
  font-weight: 600;
}

.terminal__cmd { color: rgba(255, 255, 255, 0.85); }

.terminal__ok {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.76rem;
}

.terminal__status {
  margin-top: 1.1rem !important;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.88rem !important;
}

.terminal__status strong {
  margin-left: auto;
  color: #fff;
  font-family: THICCCBOI, sans-serif;
  font-size: 1rem;
}

.terminal__pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
  flex: none;
}

.terminal__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--status-green);
  opacity: 0.5;
  animation: terminal-pulse 2.4s ease-out infinite;
}

@keyframes terminal-pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .terminal__pulse::after { animation: none; }
}

/* ---------- Service pillar cards ---------- */

.pillar-card {
  height: 100%;
  padding: 2.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.pillar-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--brand-soft);
  margin-bottom: 1.5rem;
}

/* Note: SVGInject swaps <img> for an inline <svg>, so sizing must live on a
   class (carried over by the injection) rather than an `img` tag selector. */
.icon-24 { width: 1.5rem !important; height: 1.5rem !important; }
.icon-28 { width: 1.75rem !important; height: 1.75rem !important; }

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.pillar-card__tag {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 1rem;
}

.pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.pillar-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pillar-card ul li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Supporting service cards ---------- */

.support-card {
  height: 100%;
  padding: 1.75rem;
  background: var(--mist);
  border-radius: 0.85rem;
}


.support-card h4 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.support-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Process steps (real sequence, numbering is meaningful) ---------- */

.process-step__index {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 100px;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* ---------- Tech strip ---------- */

.tech-strip img {
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.tech-strip img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ---------- Footer ---------- */

footer.bg-navy a { color: rgba(255, 255, 255, 0.75); }
footer.bg-navy a:hover { color: #fff; }
footer.bg-navy hr { border-color: rgba(255, 255, 255, 0.12); }

/* ---------- Contact form spam guards ---------- */

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  .terminal__body p { white-space: normal; }
}
