.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fbfdff 0%, #edf5ff 55%, #f8fbff 100%);
  padding: 125px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 76px; align-items: center; position: relative; z-index: 2; }
.hero-copy h1 {
  margin: 17px 0 24px;
  max-width: 720px;
  font-size: clamp(3.25rem, 6vw, 6rem);
  line-height: .99;
  letter-spacing: -.065em;
}
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; color: var(--text); font-size: 1.13rem; }
.hero-actions { display: flex; gap: 13px; margin: 34px 0 42px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: .9rem; color: var(--navy); }
.hero-proof span { color: var(--muted); font-size: .72rem; margin-top: 2px; }

.hero-visual { position: relative; }
.browser-card {
  border: 1px solid rgba(255,255,255,.9);
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 35px 90px rgba(20,70,135,.2);
  transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
  animation: float-browser 7s ease-in-out infinite;
}
.browser-top { height: 42px; display: flex; align-items: center; gap: 18px; padding: 0 10px; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 8px; height: 8px; border-radius: 50%; background: #c9d5e5; }
.browser-url { height: 22px; flex: 1; border-radius: 20px; background: #f0f5fb; color: #8291a4; text-align: center; font-size: .62rem; line-height: 22px; }
.browser-screen { min-height: 410px; background: linear-gradient(150deg, #071b37, #0b3870); border-radius: 12px; padding: 25px; overflow: hidden; position: relative; }
.screen-nav { width: 100%; height: 12px; background: rgba(255,255,255,.15); border-radius: 10px; margin-bottom: 58px; }
.screen-hero { width: 78%; }
.screen-kicker,.screen-title,.screen-copy,.screen-button { display: block; border-radius: 20px; }
.screen-kicker { width: 34%; height: 8px; background: #56a0ff; margin-bottom: 16px; }
.screen-title { height: 22px; background: #fff; margin-bottom: 11px; }
.screen-title.one { width: 96%; } .screen-title.two { width: 72%; }
.screen-copy { width: 84%; height: 8px; background: rgba(255,255,255,.28); margin-top: 24px; }
.screen-button { width: 29%; height: 31px; background: #1675f7; margin-top: 30px; border-radius: 7px; }
.screen-cards { position: absolute; bottom: 28px; left: 25px; right: 25px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.screen-cards span { height: 78px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); border-radius: 9px; }
.floating-pill {
  position: absolute;
  background: #fff;
  box-shadow: 0 14px 38px rgba(6,26,53,.16);
  padding: 10px 14px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 800;
  animation: float-pill 5s ease-in-out infinite;
}
.floating-pill i { color: var(--blue); margin-right: 5px; }
.pill-one { top: 12%; left: -9%; }
.pill-two { right: -7%; top: 44%; animation-delay: .7s; }
.pill-three { left: 7%; bottom: -4%; animation-delay: 1.4s; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .48; }
.hero-orb-one { width: 470px; height: 470px; background: #b4d7ff; right: -140px; top: -110px; }
.hero-orb-two { width: 250px; height: 250px; background: #e0efff; left: 40%; bottom: -100px; }

@keyframes float-browser { 0%,100% { transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) translateY(0); } 50% { transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) translateY(-10px); } }
@keyframes float-pill { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.trust-inner > p { font-size: .78rem; color: var(--muted); font-weight: 700; }
.trust-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 25px; }
.trust-tags span { color: #40526a; font-size: .76rem; font-weight: 800; }

.home-services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card {
  position: relative; overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--sky); right: -80px; top: -80px; transition: transform .4s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #b8d5fa; box-shadow: 0 24px 55px rgba(7,43,88,.09); }
.service-card:hover::before { transform: scale(1.45); }
.service-card i { color: var(--blue); font-size: 1.55rem; margin: 27px 0 30px; }
.service-number { float: right; color: #9aacbf; font-size: .72rem; font-weight: 800; }
.service-card h3 { font-size: 1.45rem; margin-bottom: 9px; }
.service-card p { color: var(--text); max-width: 470px; font-size: .93rem; }
.card-link { display: block; color: var(--blue); margin-top: 28px; font-size: .83rem; font-weight: 800; }

.work-preview { background: #061a35; }
.featured-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}


/* =========================
   Featured Work Card
========================= */

.work-tile {
  color: #fff;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.work-tile:hover {
  transform: translateY(-6px);
}


/* =========================
   Featured Work Visual
========================= */

.work-visual {
  position: relative;

  height: 260px;

  overflow: hidden;

  border-radius: 20px;

  background: #eaf3ff;

  box-shadow: 0 16px 42px rgba(0, 0, 0, .12);
}


/* Website screenshot */

.work-screenshot {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top center;

  transform: scale(1.035);

  filter:
    blur(3px)
    brightness(.62)
    saturate(.82);

  transition:
    transform .7s cubic-bezier(.2, .7, .2, 1),
    filter .45s ease;
}


/* Slight navy/blue overlay */

.work-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(6, 26, 53, .24),
      rgba(19, 104, 232, .10)
    );

  z-index: 1;

  transition: opacity .4s ease;
}


/* =========================
   Client Logo
========================= */

.work-logo {
  position: absolute;

  top: 50%;
  left: 50%;

  width: auto;
  height: auto;

  max-width: 46%;
  max-height: 105px;

  object-fit: contain;

  transform: translate(-50%, -50%) scale(1);

  z-index: 2;

  filter:
    drop-shadow(0 8px 22px rgba(0, 0, 0, .25));

  transition:
    opacity .3s ease,
    transform .4s ease;
}


.work-logo.logo-square {
  max-width: 34%;
  max-height: 112px;
}


.work-logo.logo-wide {
  max-width: 52%;
  max-height: 95px;
}


/* =========================
   Visit Icon
========================= */

.work-visit-icon {
  position: absolute;

  top: 16px;
  right: 16px;

  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, .94);
  color: var(--blue);

  font-size: .92rem;
  font-weight: 800;

  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);

  z-index: 3;

  transition:
    background .25s ease,
    color .25s ease,
    transform .3s ease;
}


/* =========================
   Hover Effect
========================= */

.work-tile:hover .work-screenshot {
  transform: scale(1.075);

  filter:
    blur(0)
    brightness(1)
    saturate(1);
}

.work-tile:hover .work-overlay {
  opacity: 0;
}

.work-tile:hover .work-logo {
  opacity: 0;

  transform:
    translate(-50%, -50%)
    scale(.92);
}

.work-tile:hover .work-visit-icon {
  background: var(--blue);
  color: #fff;

  transform: rotate(6deg);
}


/* =========================
   Project Information
========================= */

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;

  gap: 15px;

  padding: 20px 4px 0;
}

.work-meta span {
  color: #8fa9c9;

  font-size: .7rem;

  text-transform: uppercase;
  letter-spacing: .08em;

  font-weight: 700;
}

.work-meta h3 {
  color: #fff;

  margin-top: 5px;

  font-size: 1.02rem;
}

.partner-section { background: var(--ice); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.partner-copy h2 { margin: 13px 0 22px; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.03; letter-spacing: -.05em; }
.partner-copy > p:not(.eyebrow) { color: var(--text); margin-bottom: 30px; }
.partner-list { border-top: 1px solid #cbd9e8; }
.partner-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid #cbd9e8; }
.partner-list span { color: var(--blue); font-size: .72rem; font-weight: 800; }
.partner-list p { color: var(--text); font-size: .9rem; }
.partner-list strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 3px; }

@media (min-width: 701px) and (max-width: 1024px) {
  .hero { padding: 100px 0 90px; }
  .hero-grid { gap: 35px; }
  .browser-screen { min-height: 340px; }
  .screen-cards { display: none; }
  .featured-work-grid {
  gap: 13px;
}

.work-visual {
  height: 215px;
}

.work-logo {
  max-height: 85px;
}

.work-logo.logo-square {
  max-width: 36%;
  max-height: 92px;
}

.work-logo.logo-wide {
  max-width: 55%;
  max-height: 80px;
}

.work-visit-icon {
  width: 36px;
  height: 36px;

  top: 13px;
  right: 13px;
}
  .partner-grid { gap: 55px; }
}
@media (max-width: 700px) {
  .hero { padding: 78px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy h1 { font-size: clamp(3.1rem, 14vw, 4.5rem); }
  .hero-actions { flex-direction: column; }
  .hero-proof { gap: 10px; }
  .hero-proof span { display: none; }
  .browser-card { transform: none; animation: float-mobile 7s ease-in-out infinite; }
  .browser-screen { min-height: 300px; }
  .screen-cards { display: none; }
  .pill-one { left: -2%; } .pill-two { right: -2%; } .pill-three { bottom: -7%; }
  .trust-inner { flex-direction: column; align-items: flex-start; padding: 25px 0; }
  .trust-tags { justify-content: flex-start; }
  .services-grid, .featured-work-grid, .partner-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px; }
  .featured-work-grid {
  gap: 38px;
}

.work-visual {
  height: 245px;
}

.work-logo {
  max-width: 46%;
  max-height: 100px;
}

.work-logo.logo-square {
  max-width: 32%;
  max-height: 105px;
}

.work-logo.logo-wide {
  max-width: 50%;
  max-height: 90px;
}

.work-visit-icon {
  width: 38px;
  height: 38px;

  top: 14px;
  right: 14px;
}
  .partner-grid { gap: 50px; }
}
@keyframes float-mobile { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }


/* Touch devices */

@media (hover: none) {

  .work-screenshot {
    filter:
      blur(1.5px)
      brightness(.76)
      saturate(.9);
  }

  .work-tile:hover {
    transform: none;
  }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

  .work-tile,
  .work-screenshot,
  .work-logo,
  .work-overlay,
  .work-visit-icon {
    transition: none;
  }

}