@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap");

:root {
  --ti-bg: var(--background, hsl(36, 33%, 93%));
  --ti-surface: hsl(36, 33%, 96%);
  --ti-surface-strong: hsl(36, 30%, 91%);
  --ti-text: var(--foreground, hsl(220, 14%, 10%));
  --ti-muted: var(--muted-foreground, hsl(34, 10%, 35%));
  --ti-border: var(--border, hsl(34, 15%, 75%));
  --ti-gold: hsl(45, 90%, 40%);
  --ti-gold-dark: hsl(38, 64%, 36%);
  --ti-ink: hsl(220, 14%, 10%);
  --ti-card-shadow: 0 18px 45px rgba(42, 31, 14, 0.08);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --text-dim: hsl(34, 10%, 40%);
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent 440px),
    var(--ti-bg);
  color: var(--ti-text);
  font-family: "Inter", sans-serif;
}

.wrap {
  width: min(1180px, 92%);
  margin: 0 auto;
}

#siteHeader {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 88px;
  display: flex;
  align-items: center;
  background: rgba(247, 243, 236, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
}

#siteHeader nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

#siteHeader .logo {
  color: var(--ti-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo img {
  display: flex;
  height: 70px;
  width: 100px;
}

#siteHeader .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  list-style: none;
}

#siteHeader .nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.72rem 0.85rem;
  border-radius: 0.5rem;
  color: rgba(15, 23, 42, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

#siteHeader .nav-links a:hover,
#siteHeader .nav-links a.active {
  color: var(--ti-gold-dark);
  background: rgba(0, 0, 0, 0.035);
}

#siteHeader svg {
  width: 17px;
  height: 17px;
}

.has-mega {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  width: min(720px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid var(--ti-border);
  border-radius: 0.9rem;
  background: rgba(250, 247, 240, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 0.2s ease;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega a {
  gap: 0.7rem;
  padding: 0.8rem;
}

.mega svg {
  flex: 0 0 24px;
  color: var(--ti-gold-dark);
}

.mega-title {
  color: var(--ti-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.mega-desc {
  margin-top: 0.15rem;
  color: var(--ti-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.mega-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.78rem 1.15rem;
  border-radius: 0.5rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  border: 1px solid var(--ti-gold-dark);
  color: #ffffff;
  background: linear-gradient(135deg, var(--ti-gold), var(--ti-gold-dark));
  box-shadow: 0 10px 24px rgba(184, 138, 47, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(184, 138, 47, 0.3);
}

.search-toggle,
.nav-toggle,
.search-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ti-ink);
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 15, 15, 0.58);
  backdrop-filter: blur(12px);
}

.search-overlay.active {
  display: flex;
}

.search-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.search-box {
  width: min(680px, 100%);
  padding: 1.4rem;
  border-radius: 0.9rem;
  background: var(--ti-surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.search-box input {
  width: 100%;
  border: 1px solid var(--ti-border);
  border-radius: 0.6rem;
  padding: 1rem;
  color: var(--ti-text);
  background: #ffffff;
  font: inherit;
  font-size: 1.05rem;
}

.search-hint {
  margin-top: 0.8rem;
  color: var(--ti-muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: end;
  padding: 168px 0 92px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(65, 46, 13, 0.64)),
    url("images/banner-infrastructure.jpg") center / cover;
  color: #ffffff;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--ti-gold);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.lead {
  max-width: 740px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.section {
  padding: 92px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.section-head h2 {
  margin: 0;
  color: var(--ti-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-head p {
  max-width: 320px;
  color: var(--ti-muted);
  text-align: right;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.insight-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--ti-card-shadow);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.insight-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--ti-gold), var(--ti-gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 138, 47, 0.45);
  box-shadow: 0 24px 54px rgba(42, 31, 14, 0.13);
}

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

.insight-tag {
  width: fit-content;
  margin-bottom: 1.2rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(184, 138, 47, 0.28);
  border-radius: 999px;
  color: var(--ti-gold-dark);
  background: rgba(245, 225, 169, 0.52);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.insight-card h4 {
  margin: 0;
  color: var(--ti-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

.insight-card p {
  margin: 0.9rem 0 1.4rem;
  color: var(--ti-muted);
  line-height: 1.7;
}

.insight-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(73, 63, 47, 0.72);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.cta-band {
  padding: 68px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(76, 55, 17, 0.88)),
    url("images/banner-workspace.jpg") center / cover;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.cta-band svg {
  width: 18px;
  height: 18px;
}

/* footer {
  padding: 74px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #121212;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: var(--ti-gold);
}

footer .logo {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-about p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.footer-col h5 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.88rem;
} */

/* .social {
  display: flex;
  gap: 1rem;
}

.reveal {
  animation: tiFadeUp 0.65s ease both;
} */

@keyframes tiFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* @media (max-width: 1024px) {
  #siteHeader .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #siteHeader {
    height: 76px;
  }

  #siteHeader .btn-primary {
    display: none;
  }

  .page-hero {
    min-height: 520px;
    padding: 128px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head,
  .cta-band .wrap,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head p {
    text-align: left;
  }

  .insight-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
} */

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .search-toggle,
  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .insight-card {
    min-height: 240px;
    padding: 1.2rem;
  }
}
