/* ==========================================================================
   ABOUT US — native page (homepage fonts/colors + motion)
   Scoped specifically for About Us page (.page-about) to avoid merge conflicts.
   ========================================================================== */

/* Full-width container reset: remove any default gutters / side margins */
body:has(.page-about),
body:has(.page-about) #app-main .elementor,
body:has(.page-about) #app-main .elementor > .e-con,
.page-container.page-about,
.page-about.e-con,
.page-about.e-con-full {
  --container-default-padding: 0px !important;
  --container-default-margin: 0px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body:has(.page-about) #app-main {
  padding-top: var(--speego-header-expanded-height, 108px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.page-about {
  background: #fff;
  color: var(--speego-primary, #04243D);
  font-family: var(--speego-font, 'Inter', sans-serif);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.page-about .text-orange {
  color: var(--speego-accent, #FF5B1F);
}

.page-about .about-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
}

.page-about .about-title,
.page-about .about-section-title,
.page-about .about-vision-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--speego-primary, #04243D);
  line-height: 1.15;
}

.page-about .about-title,
.page-about .about-section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 18px;
}

.page-about .about-desc,
.page-about .about-desc p {
  color: #5B6472;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.page-about .about-desc p {
  margin: 0 0 14px;
}

.page-about .about-desc p:last-child {
  margin-bottom: 0;
}

.page-about .about-history .about-section-title,
.page-about .about-position .about-section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #04243D;
  line-height: 1.15;
}

.page-about .about-history h2.about-section-title::after,
.page-about .about-position h2.about-section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--speego-accent, #FF5B1F);
}

.page-about .about-history div.about-section-title::after,
.page-about .about-position div.about-section-title::after {
  content: none !important;
  display: none !important;
}

.page-about .about-history .about-eyebrow,
.page-about .about-position .about-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--speego-accent, #FF5B1F);
}

.page-about .about-history .about-desc,
.page-about .about-history .about-desc p,
.page-about .about-position .about-desc,
.page-about .about-position .about-desc p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #5B6472;
}

.page-about .about-banner {
  width: 100%;
  overflow: hidden;
  background: #0B1E32;
}

.page-about .about-banner-img {
  width: 100%;
  max-height: min(56vh, 520px);
  object-fit: cover;
  display: block;
}

.page-about .about-intro,
.page-about .about-history,
.page-about .about-position {
  padding: 72px 0;
}

.page-about .about-intro .container,
.page-about .about-history .container,
.page-about .about-position .container,
.page-about .about-vision .container {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(28px, 5vw, 80px);
  padding-right: clamp(28px, 5vw, 80px);
}

.page-about .about-intro-grid,
.page-about .about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.page-about .about-intro-grid {
  gap: clamp(32px, 3vw, 48px);
}

.page-about .about-intro .about-reveal {
  opacity: 1;
  transform: none;
}

.page-about .about-intro-photo {
  width: 100%;
  height: auto;
  display: block;
}

.page-about .about-intro-frame {
  position: relative;
  width: min(100%, 520px);
  max-width: 100%;
  margin-inline: auto;
}

.page-about .about-intro-frame::before,
.page-about .about-intro-frame::after {
  content: "";
  position: absolute;
  inset: 6% 4%;
  background: var(--speego-accent, #FF5B1F);
  border-radius: 10px;
  z-index: 0;
}

.page-about .about-intro-frame::before {
  transform: rotate(-9deg) translate(-10px, 4px);
}

.page-about .about-intro-frame::after {
  transform: rotate(7deg) translate(10px, -2px);
}

.page-about .about-intro-slides {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(4, 36, 61, 0.2);
  background: #0B1E32;
}

.page-about .about-intro-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.95s ease, transform 6.5s ease;
  pointer-events: none;
}

.page-about .about-intro-slides img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.page-about .about-intro-frame.is-clickable {
  cursor: pointer;
}

.page-about .about-intro-frame.is-clickable .about-intro-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(4, 36, 61, 0.28) 0%, transparent 35%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-about .about-intro-frame.is-clickable:hover .about-intro-slides::after {
  opacity: 1;
}

.page-about .about-intro-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(4, 36, 61, 0.35);
  backdrop-filter: blur(4px);
}

.page-about .about-intro-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-about .about-intro-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.page-about .about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 36px;
}

.page-about .about-stat-num {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--speego-accent, #FF5B1F);
  line-height: 1;
  margin-bottom: 8px;
  white-space: nowrap;
}

.page-about .about-stat-suffix {
  font-size: 1em;
  font-weight: 800;
  margin-left: 1px;
}

.page-about .about-stat-label {
  margin: 0;
  max-width: 16em;
  font-size: 15px;
  line-height: 1.45;
  color: #64748B;
  font-weight: 500;
}

.page-about .about-vision {
  position: relative;
  padding: 64px 0;
  background-color: var(--speego-primary, #04243D);
  background-image: var(--about-vision-bg, url('../assets/photos/speego-houston-office.webp'));
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: #fff;
  overflow: hidden;
}

.page-about .about-vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 36, 61, 0.92), rgba(13, 59, 102, 0.78));
  z-index: 0;
}

.page-about .about-vision-watermark-bg {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: min(360px, 35vw);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* Ensure bootstrap clearfix pseudo-elements never break the grid */
.page-about .about-vision-inner::before,
.page-about .about-vision-inner::after,
.page-about .about-vision-grid::before,
.page-about .about-vision-grid::after {
  display: none !important;
  content: none !important;
}

.page-about .about-vision-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(80px, 10vw, 160px);
  align-items: center;
}

.page-about .about-vision-brand-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(8px, 1vw, 12px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-shadow: none;
}

.page-about .about-vision-brand-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.page-about .about-vision-brand-logo {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.page-about .about-vision-brand-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, transparent);
  border-radius: 2px;
  margin-bottom: 18px;
}

.page-about .about-vision-brand-slogan {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin: 0;
}

.page-about .about-vision-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.page-about .about-vision-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  box-shadow: none;
  position: relative;
}

.page-about .about-vision-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.page-about .about-vision-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: #ff6b35;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-about .about-vision-title {
  color: #fff;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.page-about .about-vision-card p,
.page-about .about-vision-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.page-about .about-split-media img,
.page-about .about-eco-figure img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.page-about .about-ecosystem {
  position: relative;
  padding: 72px 0 64px;
  background: #F8FAFC;
  overflow: hidden;
}

.page-about .about-ecosystem-deco {
  position: absolute;
  top: 28%;
  left: 4%;
  width: min(180px, 22vw);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.page-about .about-eco-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.page-about .about-accent-name {
  color: var(--speego-accent, #FF5B1F);
}

.page-about .about-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow: inset 0 8px 16px rgba(4, 36, 61, 0.06);
}

.page-about .about-gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.page-about .about-gallery-item img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.page-about .about-gallery-item:hover img {
  transform: scale(1.05);
}

.page-about .about-eco-cta {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.page-about .about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-about .about-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-about .about-reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.elementor-editor-active .page-about .about-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-about .about-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 36, 61, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.page-about .about-lightbox[hidden] {
  display: none !important;
}

.page-about .about-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.page-about .about-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--speego-primary, #04243D);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .page-about .about-intro-grid,
  .page-about .about-vision-grid,
  .page-about .about-split,
  .page-about .about-eco-top,
  .page-about .about-vision-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .page-about .about-vision-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .page-about .about-intro,
  .page-about .about-history,
  .page-about .about-position,
  .page-about .about-ecosystem {
    padding: 48px 0;
  }

  .page-about .about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .page-about .about-stats {
    gap: 20px 16px;
  }

  .page-about .about-stat-num {
    font-size: 28px;
  }

  .page-about .about-stat-label {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  body:has(.elementor-9) #speego-track-fab {
    display: none !important;
  }
}

/* Elementor puts the brand class on the image widget wrapper. */
.page-about .about-vision-brand-logo img {
  width: 100%;
  max-width: 250px;
  height: auto;
}
