/* ============================================================
   GTIS — theme.css
   Modern visual layer over the existing Bootstrap build.
   Loaded after custom.css / component.css / slick.css so the
   custom properties below win the cascade and re-skin the
   existing .btn, .navbar, .form-control, grid, etc.
   ============================================================ */

:root {
  /* -- palette -------------------------------------------------- */
  --ink: #201c16;
  --ink-soft: #4a4238;
  --muted: #746b5e;
  --paper: #fbf1e4;
  --paper-raised: #ffffff;
  --paper-2: #f2e2c8;
  --line: #e7d6b8;
  --orange: #ff6a1a;
  --orange-deep: #c1440e;
  --orange-soft: #ffe1be;
  --orange-softer: #fff1de;
  --cream: #FFF8F1;
  --cream-dim: #F3E9DD;

  /* -- bootstrap var overrides (cascades into .btn, links, etc.) */
  --bs-primary: #ff6a1a;
  --bs-secondary: #201c16;
  --bs-primary-rgb: 255, 106, 26;
  --bs-secondary-rgb: 32, 28, 22;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-link-color: var(--orange-deep);
  --bs-link-hover-color: var(--orange);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------------------------------------------------------------
   Base
   --------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
/*  background: var(--paper);*/
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
}

a {
  color: var(--orange-deep);
}
a:hover {
  color: var(--orange);
}

::selection {
  background: var(--orange-soft);
  color: var(--ink);
}

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

/* remove leftover blob/shadow decorations from the old theme */
.linear-rounded-green-bg,
.linear-rounded-pink-bg,
.header-text-shadow,
.text-shadow {
  all: unset;
  display: none;
}

.container.body-content {
  max-width: 1180px;
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 106, 26, 0.28);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--orange-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--orange-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------
   Navbar
   --------------------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
/*  background: rgba(251, 241, 228, 0.92);*/
  background: var(--cream);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.gtis-logo-img {
/*  height: 34px;*/
  height: 50px;
  width: auto;
}

.gtis-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--orange) 0%, var(--orange-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.gtis-mark svg { width: 18px; height: 18px; }

.gtis-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.gtis-wordmark span { color: var(--orange-deep); }

.navbar .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft) !important;
  text-transform: none !important;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--orange-deep) !important;
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
/*  padding: 4.5rem 0 3rem;*/
  overflow: visible;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-deep);
  margin-bottom: 1.1rem;
}
.hero .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange-deep);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.03;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--orange); }

.hero h2 {
/*  font-size: clamp(2.6rem, 5vw, 4.2rem);*/
  font-weight: 700;
  line-height: 1.03;
  margin-bottom: 1.25rem;
}
.hero h2 .accent { color: var(--orange); }

.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}

.hero .cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero .trust-list {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.hero .trust-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero .trust-list svg { width: 16px; height: 16px; color: var(--orange-deep); flex: none; }

/* hero visual panel — pure CSS, no external images */
.hero-panel {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-panel__blob {
  position: absolute;
  inset: -10% -5%;
  background-image: url('../assets/img/bg-maintop-orange.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: blob-float 9s ease-in-out infinite;
}

@keyframes blob-float {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.03) rotate(3deg); }
}

.hero-panel__card {
  position: relative;
  width: min(320px, 84%);
  background: var(--paper-raised);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(32, 28, 22, 0.18);
  padding: 1.4rem;
  transform: rotate(-3deg);
}
.hero-panel__card::before {
  content: "";
  display: block;
  width: 46px; height: 10px;
  border-radius: 6px;
  background: var(--orange-soft);
  margin-bottom: 0.9rem;
}
.hero-panel__bar {
  height: 11px;
  border-radius: 6px;
/*  background: var(--paper-2);*/
  background: var(--cream-dim);
  margin-bottom: 0.6rem;
}
.hero-panel__bar.short { width: 60%; }
.hero-panel__bar.accent { background: var(--orange); width: 40%; height: 15px; margin-top: 1rem; }

.hero-panel__chip {
  position: absolute;
  bottom: -18px;
  right: -14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 16px 30px rgba(32, 28, 22, 0.25);
  transform: rotate(4deg);
  font-family: var(--font-display);
}
.hero-panel__chip strong { font-size: 1.5rem; display: block; color: var(--orange); }
/*.hero-panel__chip span { font-size: 0.72rem; color: var(--paper-2); }*/
.hero-panel__chip span { font-size: 0.72rem; color: var(--cream-dim); }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 440px;
}
.shield-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 41, 0.28), rgba(226, 46, 46, 0.05) 70%, transparent 75%);
  filter: blur(4px);
}
.shield-logo {
  position: relative;
  width: 270px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(178, 30, 30, 0.35));
}

/* ---------------------------------------------------------------
   Service preview grid (homepage services teaser)
   --------------------------------------------------------------- */
.service-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.service-preview-grid__item {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-preview-grid__item img { width: 100%; height: auto; }
.service-preview-grid__item:first-child {
  grid-column: 1 / -1;
}

/* ---------------------------------------------------------------
   Icon strip
   --------------------------------------------------------------- */
.icon-strip {
  margin: 3.5rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.icon-strip__item {
  text-align: center;
  padding: 1.6rem 0.6rem;
  border-right: 1px solid var(--line);
}
.icon-strip__item:last-child { border-right: none; }
.icon-strip__item svg {
  width: 26px; height: 26px;
  color: var(--orange-deep);
  margin-bottom: 0.65rem;
}
.icon-strip__item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}

@media (max-width: 991px) {
  .icon-strip { grid-template-columns: repeat(4, 1fr); }
  .icon-strip__item:nth-child(4) { border-right: none; }
}
@media (max-width: 575px) {
  .icon-strip { grid-template-columns: repeat(2, 1fr); }
  .icon-strip__item:nth-child(even) { border-right: none; }
}

/* ---------------------------------------------------------------
   CTA banner (rocket)
   --------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--ink) 0%, #34281c 100%);
  border-radius: 24px;
  padding: 2.4rem 2.2rem;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cta-banner__left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  max-width: 420px;
}
.cta-banner__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.cta-banner__icon svg { width: 26px; height: 26px; color: #fff; }
.cta-banner__left h3 { color: #fff; font-size: 1.2rem; margin: 0; line-height: 1.3; }

.cta-banner__right {
  text-align: right;
}
/*.cta-banner__right p { color: var(--paper-2); margin-bottom: 0.4rem; }*/
.cta-banner__right p { color: var(--cream-dim); margin-bottom: 0.4rem; }
.cta-banner__right a.link-cta {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.cta-banner__right a.link-cta:hover { color: #fff; }

@media (max-width: 767px) {
  .cta-banner { text-align: center; justify-content: center; }
  .cta-banner__left { flex-direction: column; text-align: center; max-width: 100%; }
  .cta-banner__right { text-align: center; }
}

/* ---------------------------------------------------------------
   Section headings
   --------------------------------------------------------------- */
.section-head {
  margin-bottom: 2.2rem;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
}
.section-head p {
  color: var(--muted);
  max-width: 56ch;
}

/* ---------------------------------------------------------------
   About
   --------------------------------------------------------------- */
.about-panel {
/*  background: var(--paper-2);*/
/*  background: var(--cream-dim);*/
  background: var(--orange-softer);
  border-radius: 24px;
  padding: 2.2rem;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-panel .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.about-panel__img {
  width: 100%;
  height: auto;
  margin-bottom: 1.4rem;
}
.about-panel .stat {
  background: var(--paper-raised);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
}
.about-panel .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--orange-deep);
}
.about-panel .stat span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------------------------------------------------------------
   Solutions grid
   --------------------------------------------------------------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.solution-tile {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.3rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.solution-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(32, 28, 22, 0.1);
  border-color: transparent;
}
.solution-tile__icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: var(--orange-softer);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.solution-tile__icon svg { width: 22px; height: 22px; color: var(--orange-deep); }
.solution-tile__icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.solution-tile h4 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.solution-tile p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
/*
.solution-tile.more {
  background: var(--orange);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.solution-tile.more a {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.solution-tile.more a:hover { color: var(--orange); }
*/

.solution-tile-more {
  background: var(--orange);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.3rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  font-weight: 600;
}
.solution-tile-more:hover {
  transform: translateY(-4px);
/*  box-shadow: 0 16px 30px rgba(32, 28, 22, 0.1);*/
  box-shadow: 0 16px 30px rgba(255, 106, 26, 0.28);
  border-color: transparent;
  color: var(--paper-raised);
}
.solution-tile-more a {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 991px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .solutions-grid { grid-template-columns: 1fr; } }

.solutions-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 991px) {
  .solutions-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .solutions-grid--3col { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Services list (numbered)
   --------------------------------------------------------------- */
.service-row {
  display: grid;
  grid-template-columns: 50px 80px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
}
/*.service-row:last-child { border-bottom: 1px solid var(--line); }*/
.service-row__num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--muted);
  padding-top: 0.4rem;
}
.service-row__icon {
  width: 80px; height: 80px;
  border-radius: 16px;
  background: var(--orange-softer);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex: none;
}
.service-row__icon svg { width: 26px; height: 26px; color: var(--orange-deep); }
.service-row__icon img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.service-row h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
.service-row p { color: var(--muted); margin: 0; max-width: 62ch; }

@media (max-width: 575px) {
  .service-row { grid-template-columns: 40px 1fr; }
/*  .service-row__num { display: none; }*/
  .service-row__icon { display: none;}
}

/* ---------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------- */
.testi-slider { margin: 0 -0.75rem; }
.testi-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem;
  margin: 0 0.75rem;
  height: calc(100% - 0);
  display: flex;
  flex-direction: column;
}
.testi-card__quote {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.testi-card__quote-img {
  width: 46px;
  height: auto;
  margin-bottom: 0.8rem;
}
.testi-card p.body {
  color: var(--ink-soft);
  font-size: 0.94rem;
  flex: 1;
}
.testi-card__who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.testi-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.testi-card__who strong { display: block; font-size: 0.92rem; }

.slick-slide { height: auto; }
.slick-track { display: flex !important; }
.slick-slide > div { height: 100%; }

/* ---------------------------------------------------------------
   Work-together strip (secondary CTA used on service/solution pages)
   --------------------------------------------------------------- */
.work-tgt-bg {
/*  background: var(--paper-2) !important;*/
  background: var(--cream-dim) !important;
  border-radius: 20px;
}
.work-tgt-bg h3 { font-size: 1.3rem; }

/* ---------------------------------------------------------------
   Contact
   --------------------------------------------------------------- */
/*
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--muted);
}
.contact-info-row svg { width: 18px; height: 18px; color: var(--orange-deep); flex: none; margin-top: 2px; }

#contact-us .bg-light {
  background: var(--cream-dim) !important;
  border-radius: 20px;
}
#contact-us .form-control {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
#contact-us .form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.15);
}
.contact-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
}
.contact-form-field {
  flex: 1 1 200px;
  min-width: 0;
}
.contact-form-field .form-control {
  width: 100%;
  height: 100%;
}
.contact-form-submit {
  flex: 0 0 auto;
}
.contact-form-submit .btn {
  height: 100%;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .contact-form-submit { flex: 1 1 100%; }
  .contact-form-submit .btn { width: 100%; }
}
*/

.contact-form {
    padding-top: 25px;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--muted);
}
.contact-info-row svg { width: 18px; height: 18px; color: var(--orange-deep); flex: none; margin-top: 2px; }
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 35px;
}
.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-form-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
}

.contact-form-field input, .contact-form-field textarea {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: 'Inter';
    font-size: 14.5px;
    background: var(--cream);
    color: var(--ink);
    resize: none;
}
.form-note {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 12px;
    text-align: center;
}

#my-map-display {
  border-radius: 20px;
  overflow: hidden;
  filter: grayscale(0.15) contrast(1.02);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
footer.site-footer {
  background: var(--ink) !important;
/*  color: var(--paper-2);*/
  color: var(--cream-dim);
  padding: 2.4rem 0;
  font-size: 0.88rem;
}
footer.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }

/* ---------------------------------------------------------------
   Page hero (services / solutions inner pages)
   --------------------------------------------------------------- */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: left;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
}
.page-hero p {
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.05rem;
}
.hero-bg-word {
    position: absolute;
    top: 38px;
/*    right: -40px;*/
    right: 0px;
    z-index: 0;
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: 260px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--line);
    user-select: none;
    pointer-events: none;
}