/**
 * Galiska V2 — Professional Partner
 * Calm, warm, oil & gas credible. Restrained type. No loud magazine tricks.
 */

:root {
  --g2-ink: #1a2433;
  --g2-body: #3e4a59;
  --g2-muted: #6d7885;
  --g2-paper: #faf9f7;
  --g2-soft: #eef1f4;
  --g2-white: #ffffff;
  --g2-blue: #025892;
  --g2-blue-deep: #014a78;
  --g2-blue-soft: #e7f1f8;
  --g2-warm: #c4a574;
  --g2-line: rgba(26, 36, 51, 0.1);
  --g2-shadow: 0 12px 32px rgba(26, 36, 51, 0.07);
  --g2-radius: 10px;
  --g2-font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --color-primary: var(--g2-blue);
  --color-default: var(--g2-body);
  --font-default: var(--g2-font);
  --font-primary: var(--g2-font);
  --font-secondary: var(--g2-font);
  --fog: var(--g2-soft);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--g2-font);
  color: var(--g2-body);
  background: var(--g2-paper);
  font-size: 1.02rem;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--g2-font);
  font-weight: 650;
  color: var(--g2-ink);
  letter-spacing: -0.015em;
  text-transform: none;
  line-height: 1.25;
}

a {
  color: var(--g2-blue);
}

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

p {
  max-width: 40rem;
}

/* ---- Header ---- */
.header {
  position: sticky !important;
  top: 0;
  z-index: 997;
  background: rgba(250, 249, 247, 0.97) !important;
  /* No backdrop-filter: it makes position:fixed children (mobile nav) use the header as containing block */
  padding: 0.7rem 0 !important;
  border-bottom: 1px solid var(--g2-line);
  box-shadow: none !important;
}

.header .logo-img {
  max-height: 54px !important;
  filter: none !important;
}

@media (min-width: 1280px) {
  .navbar a,
  .navbar a:focus {
    color: var(--g2-body) !important;
    font-family: var(--g2-font);
    font-weight: 550;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    padding: 8px 12px !important;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover > a {
    color: var(--g2-blue) !important;
  }

  .navbar > ul > li > a:before {
    display: none !important;
  }
}

.mobile-nav-toggle {
  color: var(--g2-ink) !important;
}

body.mobile-nav-active .navbar {
  background: var(--g2-paper);
}

body.mobile-nav-active .navbar ul {
  background: var(--g2-white);
  box-shadow: var(--g2-shadow);
}

body.mobile-nav-active .navbar a {
  color: var(--g2-ink) !important;
}

/* ---- Hero ---- */
.hero.hero-still {
  position: relative !important;
  min-height: 78vh !important;
  height: auto;
  max-height: none;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  background: #0c121a;
}

.hero.hero-still .hero-still-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 0;
}

.hero.hero-still .hero-still-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12, 18, 26, 0.88) 0%,
    rgba(18, 28, 40, 0.72) 42%,
    rgba(22, 34, 48, 0.55) 100%
  );
}

.hero.hero-still .info {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  width: 100%;
  min-height: 0 !important;
  padding: 7rem 0 2.5rem !important;
  display: block !important;
  flex: 1 1 auto;
}

.hero.hero-still .hero-copy {
  max-width: 36rem;
  text-align: left;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.hero.hero-still .info .hero-brand {
  margin: 0 0 0.55rem !important;
  font-family: var(--g2-font) !important;
  font-size: clamp(1.85rem, 4vw, 2.45rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  line-height: 1.1 !important;
  max-width: none !important;
  text-shadow: none !important;
}

.hero.hero-still h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem) !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 0 0 0.85rem !important;
  line-height: 1.25 !important;
  max-width: none;
  letter-spacing: -0.01em;
}

.hero.hero-still h1 .galiska-result-highlight {
  color: #fff;
  -webkit-text-stroke: 0;
  text-stroke: 0;
  font-style: normal;
  font-weight: 700;
}

/* Spec rail — oilfield data strip under hero */
.hero-spec-rail {
  position: relative;
  z-index: 3;
  margin-top: auto;
  background: rgba(10, 14, 20, 0.92);
  border-top: 1px solid rgba(196, 165, 116, 0.35);
  backdrop-filter: none;
}

.hero-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.hero-spec {
  padding: 1rem 1.1rem;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-spec:last-child {
  border-right: 0;
}

.hero-spec-value {
  display: block;
  font-family: var(--g2-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: #e8c989;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero-spec-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.hero.hero-still .galiska-hero-paragraph-extended,
.hero .galiska-hero-paragraph-extended {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--g2-font) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  background-image: none !important;
  max-width: 34rem !important;
  text-align: left !important;
  font-style: normal;
}

.hero.hero-still .galiska-hero-paragraph-extended::before,
.hero.hero-still .galiska-hero-paragraph-extended::after,
.hero .galiska-hero-paragraph-extended::before,
.hero .galiska-hero-paragraph-extended::after {
  display: none !important;
  content: none !important;
}

.hero.hero-still .galiska-hero-paragraph-extended .galiska-result-highlight {
  color: #fff;
  font-weight: 650;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta-group .btn-get-started,
.hero-cta-group .btn-hero-secondary {
  font-family: var(--g2-font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  border-radius: var(--g2-radius) !important;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-cta-group .btn-get-started {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--g2-ink) !important;
}

.hero-cta-group .btn-get-started:hover {
  background: var(--g2-blue-soft) !important;
  border-color: var(--g2-blue-soft) !important;
  color: var(--g2-blue-deep) !important;
}

.hero-cta-group .btn-hero-secondary {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
}

.hero-cta-group .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #fff !important;
}

/* ---- Field contact band ---- */
.field-band {
  background: #15202c !important;
  color: rgba(255, 255, 255, 0.88) !important;
  padding: 3rem 0 !important;
}

.field-band h3 {
  color: #fff !important;
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.field-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
}

.field-band-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.field-band-actions .btn-primary {
  background: #e8c989 !important;
  border-color: #e8c989 !important;
  color: #15202c !important;
  font-weight: 650;
}

.field-band-actions .btn-primary:hover {
  background: #f0d7a8 !important;
  border-color: #f0d7a8 !important;
  color: #0c121a !important;
}

.field-band-phone {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}

.field-band-phone:hover {
  color: #e8c989 !important;
}

/* ---- Sections ---- */
section {
  padding: 4rem 0;
  overflow: hidden;
}

.section-bg {
  background: var(--g2-soft) !important;
}

.trs-home-section {
  background: var(--g2-paper);
  padding: 4rem 0;
}

.section-header {
  text-align: left !important;
  padding-bottom: 1.75rem !important;
  max-width: 36rem;
}

.section-header h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  margin-bottom: 0.65rem;
  max-width: none;
}

.section-header h2:before,
.section-header h2:after {
  display: none !important;
}

.trs-home-subtitle,
.section-header p {
  font-size: 1.02rem;
  color: var(--g2-muted);
  font-style: normal;
  max-width: 36rem;
}

.trs-home-heading {
  font-size: 1.35rem;
  font-weight: 650;
}

.trs-home-illustration {
  border-radius: var(--g2-radius) !important;
  box-shadow: var(--g2-shadow) !important;
  min-height: 360px !important;
  height: 360px !important;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.trs-home-illustration img {
  filter: none;
}

.trs-home-list {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.trs-home-list li {
  font-family: var(--g2-font);
  font-size: 0.98rem;
  font-weight: 450;
  letter-spacing: 0;
  padding: 0.35rem 0;
  border-bottom: 0;
  margin-bottom: 0.35rem;
}

.trs-home-list li i {
  display: inline-block;
  color: var(--g2-blue);
}

.trs-home-cards {
  margin-top: 2.5rem !important;
}

.trs-home-card {
  background: var(--g2-white) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius) !important;
  border-top: 1px solid var(--g2-line) !important;
  box-shadow: none !important;
  padding: 1.35rem !important;
  transition: box-shadow 0.2s ease;
}

.trs-home-card:hover {
  box-shadow: var(--g2-shadow);
  transform: none;
}

.trs-home-card-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--g2-blue-soft) !important;
  border-radius: 8px !important;
  border: 0;
  margin-bottom: 0.85rem;
}

.trs-home-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.trs-home-card p {
  font-size: 0.92rem;
  color: var(--g2-muted);
}

.trs-home-cta,
.btn.btn-primary {
  font-family: var(--g2-font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  border-radius: var(--g2-radius) !important;
  background: var(--g2-blue) !important;
  border: 1.5px solid var(--g2-blue) !important;
  color: #fff !important;
  padding: 0.7rem 1.25rem;
}

.trs-home-cta:hover,
.btn.btn-primary:hover {
  background: var(--g2-blue-deep) !important;
  border-color: var(--g2-blue-deep) !important;
}

/* Field / get-started band */
.get-started.field-band {
  background: #15202c !important;
  color: rgba(255, 255, 255, 0.88);
  padding: 3.25rem 0 !important;
}

.get-started.field-band h3 {
  color: #fff !important;
  max-width: none;
}

.get-started.field-band a.btn {
  text-decoration: none;
}

/* ---- Inner pages ---- */
.breadcrumbs {
  min-height: 200px !important;
  padding: 6.5rem 0 2.25rem !important;
  filter: none !important;
  background-color: #243447;
  align-items: center !important;
}

.breadcrumbs:before {
  background: linear-gradient(
    105deg,
    rgba(26, 36, 51, 0.75) 0%,
    rgba(26, 36, 51, 0.4) 100%
  ) !important;
}

.breadcrumbs .container {
  align-items: center !important;
}

.breadcrumbs h1,
.breadcrumbs h2 {
  font-family: var(--g2-font) !important;
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  color: #fff !important;
  font-weight: 650 !important;
  letter-spacing: -0.015em;
  line-height: 1.2 !important;
  margin-bottom: 0.4rem !important;
  max-width: none;
}

.breadcrumbs ol {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--g2-font);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
}

.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.alt-services,
.about,
.contact {
  padding: 4rem 0 !important;
  background: var(--g2-paper) !important;
}

.alt-services h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  max-width: none;
}

.trs-img-portrait {
  border-radius: var(--g2-radius) !important;
  box-shadow: var(--g2-shadow);
  outline: none;
}

.trs-capability-panel {
  background: var(--g2-white) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius) !important;
  box-shadow: none !important;
  padding: 1.5rem !important;
}

.trs-capability-panel-header {
  border-bottom: 1px solid var(--g2-line) !important;
  padding-bottom: 0.85rem !important;
  margin-bottom: 1rem;
}

.services-page-cta {
  background: var(--g2-blue-soft);
  color: var(--g2-ink);
  padding: 1.75rem 2rem;
  border-radius: var(--g2-radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
}

.services-page-cta p {
  color: var(--g2-body);
  font-style: normal;
  margin: 0 !important;
  font-size: 1.05rem;
}

.services-page-cta .btn {
  background: var(--g2-blue) !important;
  color: #fff !important;
  border-color: var(--g2-blue) !important;
  margin: 0 !important;
}

.contact .info-item {
  background: var(--g2-white) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius) !important;
  box-shadow: var(--g2-shadow) !important;
  padding: 1.75rem 1.25rem !important;
  align-items: center !important;
  text-align: center !important;
}

.contact .info-item:hover {
  transform: translateY(-2px);
}

.contact .info-item i {
  margin: 0 auto 0.85rem !important;
  width: 52px !important;
  height: 52px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--g2-blue-soft) !important;
  font-size: 1.25rem !important;
  color: var(--g2-blue) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.contact .info-item h3 {
  font-size: 1.15rem;
}

.contact-map-wrap {
  margin-top: 2.25rem;
  border-radius: var(--g2-radius);
  overflow: hidden;
  box-shadow: var(--g2-shadow);
  outline: none;
}

.contact-map-wrap iframe {
  height: min(480px, 60vh);
  min-height: 340px;
  width: 100%;
  display: block;
  border: 0;
  filter: none;
}

.about .about-img {
  border-radius: var(--g2-radius);
  box-shadow: var(--g2-shadow);
  outline: none;
}

.about h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  max-width: none;
}

.partners {
  background: var(--g2-soft) !important;
  padding: 3.5rem 0 !important;
}

.footer {
  background: var(--g2-ink) !important;
}

.footer .footer-content {
  background-image: none !important;
}

.footer h3,
.footer h4 {
  color: #fff;
  font-family: var(--g2-font);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.footer a {
  color: #9ec4dc;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: var(--g2-font);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.footer .footer-links ul a:hover {
  color: #fff !important;
}

.scroll-top {
  background: var(--g2-blue) !important;
  color: #fff !important;
  border-radius: var(--g2-radius) !important;
}

#preloader {
  display: none !important;
}

.galiska-result-highlight {
  color: var(--g2-blue);
}

@media (max-width: 1279px) {
  html,
  body {
    overflow-x: clip !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .header .container-fluid,
  .header .container-xl {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
  }

  /* Off-canvas nav: viewport-fixed panel (nav lives outside header) */
  .navbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(100vw, 400px) !important;
    max-width: 400px !important;
    height: 100vh !important;
    height: 100dvh !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate3d(100%, 0, 0) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.28s ease, visibility 0.28s ease !important;
    z-index: 10050 !important;
    background: transparent !important;
  }

  .navbar ul {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 5.5rem 0 2rem !important;
    background: var(--g2-white) !important;
    box-shadow: -8px 0 32px rgba(26, 36, 51, 0.18) !important;
    overflow-y: auto !important;
    list-style: none !important;
  }

  body.mobile-nav-active .navbar {
    transform: translate3d(0, 0, 0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.mobile-nav-active .navbar::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(26, 36, 51, 0.45);
    z-index: -1;
  }

  .mobile-nav-toggle {
    margin-left: auto;
    flex-shrink: 0;
    z-index: 10060;
    cursor: pointer;
  }

  body.mobile-nav-active .mobile-nav-hide {
    color: var(--g2-ink) !important;
    position: fixed !important;
    right: 1rem !important;
    top: 1rem !important;
    z-index: 10070 !important;
  }

  body.mobile-nav-active .navbar a {
    color: var(--g2-ink) !important;
    text-transform: none !important;
    font-weight: 550 !important;
    font-size: 1.05rem !important;
    padding: 0.95rem 1.5rem !important;
    border-bottom: 1px solid var(--g2-line);
  }

  body.mobile-nav-active .navbar a:hover,
  body.mobile-nav-active .navbar a.active {
    color: var(--g2-blue) !important;
    background: var(--g2-blue-soft);
  }
}

@media (max-width: 767.98px) {
  .hero.hero-still {
    min-height: 100svh !important;
    min-height: 100dvh !important;
  }

  .hero.hero-still .info {
    padding: 5.25rem 0 1.5rem !important;
    display: flex !important;
    align-items: flex-end !important;
    flex: 1 1 auto;
  }

  .hero.hero-still .info .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero.hero-still .info .hero-brand {
    font-size: clamp(2.15rem, 10vw, 2.75rem) !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 0.35rem !important;
  }

  .hero.hero-still .info h1 {
    font-size: clamp(1.15rem, 5vw, 1.4rem) !important;
    font-weight: 550 !important;
    margin-bottom: 0.65rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .hero.hero-still .info .galiska-hero-paragraph-extended {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    margin-bottom: 1.15rem !important;
    color: rgba(255, 255, 255, 0.82) !important;
    text-shadow: none !important;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.55rem;
  }

  .hero-cta-group .btn-get-started,
  .hero-cta-group .btn-hero-secondary {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    display: inline-flex !important;
    align-items: center;
    min-height: 46px;
    height: auto;
    margin: 0 !important;
    padding: 0.7rem 0.55rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0 !important;
    border-radius: var(--g2-radius) !important;
    white-space: nowrap;
    line-height: 1.2;
  }

  .hero-spec-rail .container {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-spec-grid {
    grid-template-columns: 1fr;
  }

  .hero-spec {
    padding: 0.85rem 1.15rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }

  .hero-spec:last-child {
    border-bottom: 0;
  }

  .hero-spec-value {
    font-size: 1.05rem;
  }

  .hero-spec-label {
    margin-top: 0;
    text-align: right;
  }

  .trs-home-section {
    padding-top: 2.5rem !important;
  }

  .trs-home-section .section-header {
    margin-bottom: 1.25rem !important;
  }

  .trs-home-illustration {
    min-height: 200px !important;
    height: 200px !important;
    border-radius: 4px;
  }

  .trs-home-cards .trs-home-card {
    border-left: 3px solid var(--g2-blue);
    border-radius: 4px;
  }

  .section-header h2,
  .breadcrumbs h1,
  .breadcrumbs h2 {
    font-size: clamp(1.45rem, 6vw, 1.8rem) !important;
    word-break: break-word;
  }

  .field-band {
    padding: 2.25rem 0 !important;
  }

  .field-band-actions {
    width: 100%;
  }

  .field-band-actions .btn-lg {
    width: 100%;
  }

  .contact-info-row .info-item {
    width: 100%;
  }

  .contact-map-wrap,
  .contact-map-wrap iframe {
    width: 100% !important;
    max-width: 100%;
  }

  .footer .footer-content .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
