/* 4TfyD Solutions landing page */
:root {
  --ink: #202529;
  --muted: #5b6470;
  --orange: #c95512;
  --blue: #1767d2;
  --line: rgba(32, 37, 41, 0.12);
  --paper: #f7f8f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 4px clamp(20px, 4vw, 64px) 0;
  background: rgba(247, 248, 246, 0.9);
  border-bottom: 1px solid rgba(32, 37, 41, 0.08);
  backdrop-filter: blur(18px);
}

.brand-link,
.logo-link {
  display: inline-flex;
  align-items: flex-start;
  line-height: 0;
}

.header-logo {
  display: block;
  width: clamp(260px, 26vw, 420px);
  height: auto;
  margin-top: -16px;
  margin-bottom: -30px;
  border-radius: 6px;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: 20px;
  font-size: clamp(1rem, 1vw, 1.16rem);
  font-weight: 800;
}

.site-nav a {
  color: #27313c;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--orange);
}

.hero-section {
  position: relative;
  min-height: clamp(560px, 52vw, 760px);
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: -18px;
  padding: clamp(64px, 6vw, 92px) clamp(20px, 6vw, 86px) clamp(58px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(247, 248, 246, 0.98) 0%, rgba(247, 248, 246, 0.86) 28%, rgba(247, 248, 246, 0.34) 54%, rgba(247, 248, 246, 0) 75%),
    url("assets/hero-background-web.jpg") center -78px / 94% auto no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  transform: translateY(-15%);
}

.hero-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 13px;
  color: #233242;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 103, 210, 0.2);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(23, 103, 210, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.hero-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(201, 85, 18, 0.14);
}

.hero-section h1 {
  margin: 0;
  max-width: 470px;
  color: #172331;
  font-size: clamp(1.45rem, 2.05vw, 2.22rem);
  line-height: 1.13;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-copy {
  margin: 20px 0 0;
  max-width: 475px;
  color: #3e4855;
  font-size: clamp(1rem, 1.08vw, 1.14rem);
  line-height: 1.75;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(50px, 6vw, 76px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #d25a12, #a84009);
  box-shadow: 0 16px 30px rgba(201, 85, 18, 0.28);
}

.button-primary:hover,
.button.primary:hover {
  box-shadow: 0 20px 36px rgba(201, 85, 18, 0.34);
}

.button-secondary,
.button.secondary {
  color: #24303b;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(32, 37, 41, 0.22);
  box-shadow: 0 14px 28px rgba(23, 35, 49, 0.1);
}

.about-section,
.services-section,
.coming-soon-section {
  padding: clamp(64px, 8vw, 105px) clamp(20px, 6vw, 86px);
  background: #fff;
}

.services-section {
  background: #f3f5f7;
}

.section-intro,
.mission-copy,
.service-grid,
.coming-soon-card {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-intro h2,
.coming-soon-card h2 {
  margin: 0 0 18px;
  color: #172331;
  font-size: clamp(1.55rem, 2.4vw, 2.55rem);
  line-height: 1.15;
  font-weight: 850;
}

.mission-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.mission-copy p,
.coming-soon-card p {
  margin: 0;
}

.service-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-card {
  min-height: 235px;
  padding: 26px 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(23, 35, 49, 0.07);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 14px 24px rgba(23, 35, 49, 0.1);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-orange {
  color: #a84009;
  background: linear-gradient(135deg, rgba(210, 90, 18, 0.2), rgba(210, 90, 18, 0.06));
  border: 1px solid rgba(201, 85, 18, 0.24);
}

.service-icon-blue {
  color: #1767d2;
  background: linear-gradient(135deg, rgba(23, 103, 210, 0.2), rgba(23, 103, 210, 0.06));
  border: 1px solid rgba(23, 103, 210, 0.24);
}

.service-icon-gray {
  color: #35414d;
  background: linear-gradient(135deg, rgba(53, 65, 77, 0.16), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(53, 65, 77, 0.18);
}

.service-card h3 {
  margin: 0 0 10px;
  color: #1d2a36;
  font-size: 1.05rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: #627080;
  font-size: 0.96rem;
  line-height: 1.58;
}

.coming-soon-section {
  background:
    linear-gradient(90deg, rgba(247, 248, 246, 0.98), rgba(247, 248, 246, 0.84) 44%, rgba(247, 248, 246, 0.42)),
    url("assets/hero-background-web.jpg") center 38% / cover no-repeat;
}

.coming-soon-card p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.coming-soon-card .button {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 6vw, 86px);
  color: #697483;
  background: #111820;
  font-size: 0.9rem;
}

.footer-logo-plate img {
  width: 220px;
  mix-blend-mode: lighten;
}

.footer-tagline {
  margin: 6px 0 0;
}

.footer-contact p {
  margin: 0 0 6px;
  color: #d7dde4;
  font-weight: 800;
}

.footer-contact a {
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .service-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 2px;
    padding-bottom: 8px;
  }

  .header-logo {
    width: min(300px, 90vw);
    margin-top: -12px;
    margin-bottom: -22px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
    font-size: 0.94rem;
  }

  .hero-section {
    min-height: 650px;
    align-items: flex-start;
    margin-top: -12px;
    padding-top: 42px;
    background:
      linear-gradient(180deg, rgba(247, 248, 246, 0.98) 0%, rgba(247, 248, 246, 0.92) 45%, rgba(247, 248, 246, 0.35) 100%),
      url("assets/hero-background-web.jpg") center 72% / auto 58% no-repeat;
  }

  .hero-content {
    transform: none;
  }

  .hero-section h1 {
    max-width: 360px;
  }

  .hero-copy {
    max-width: 390px;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .button {
    min-width: 148px;
    min-height: 48px;
  }

  .service-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
