.card {
  position: relative;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s, border-color .32s;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  opacity: 0;
  transform: scaleX(.45);
  transform-origin: right;
  transition: opacity .32s, transform .32s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(5, 59, 112, .14);
}

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

.card-img img,
.gallery-item img {
  transition: transform .45s ease;
}

.card:hover .card-img img,
.gallery-item:hover img {
  transform: scale(1.07);
}

.other-services .grid {
  align-items: start;
}

.service-mini {
  overflow: visible;
  background: linear-gradient(180deg, #fff, #f7fcff);
  box-shadow: 0 8px 22px rgba(5, 59, 112, .06);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.hero {
  isolation: isolate;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  padding-block: clamp(18px, 3vh, 36px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 118, 189, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8, 118, 189, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 70% 45%, #000 0 35%, transparent 68%);
  animation: heroGridDrift 18s linear infinite;
}

.hero-grid {
  z-index: 1;
}

.hero-copy .eyebrow {
  animation: heroBadgeFloat 4.5s ease-in-out infinite;
}

.hero h1 {
  background: linear-gradient(100deg, var(--navy), var(--primary), var(--navy));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroTitleSheen 7s ease-in-out infinite;
  font-size: clamp(1.8rem, 3.45vw, 3.35rem);
  line-height: 1.16;
  margin-block: 10px;
}

.hero h2 {
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.5;
  margin-bottom: 10px;
}

.hero p {
  font-size: clamp(.93rem, 1.1vw, 1.02rem);
  line-height: 1.75;
  margin-bottom: 14px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 11px;
  border: 1px solid rgba(8, 118, 189, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 24px rgba(5, 59, 112, .07);
  color: #41556d;
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  color: var(--primary);
  font-size: 1.18rem;
  line-height: 1;
}

.hero-visual {
  position: relative;
  perspective: 1100px;
}

.hero-visual .main-img,
.hero-visual .side-img {
  position: relative;
  z-index: 2;
}

.hero-visual .main-img {
  transform: rotateY(-2deg) rotateX(1deg);
  animation: heroImageFloat 6s ease-in-out infinite;
}

.hero-visual .main-img img {
  min-height: clamp(270px, 42vh, 390px);
}

.side-img img {
  height: clamp(126px, 19vh, 178px);
}

.hero-visual .main-img::after,
.hero-visual .side-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,.34) 38%, transparent 56%);
  transform: translateX(120%);
  animation: imageSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

.side-stack .side-img:first-child {
  animation: sideCardFloat 5.3s ease-in-out infinite;
}

.side-stack .side-img:last-child {
  animation: sideCardFloat 5.3s ease-in-out infinite reverse;
}

.hero-orbit {
  position: absolute;
  inset: 7% 7% 5% 9%;
  z-index: 1;
  border: 1px dashed rgba(8, 118, 189, .28);
  border-radius: 8px;
  transform: rotate(-4deg);
  animation: orbitPulse 5.5s ease-in-out infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 8px rgba(19, 162, 220, .12);
}

.hero-orbit::before {
  top: -7px;
  right: 18%;
  animation: orbitDot 7s linear infinite;
}

.hero-orbit::after {
  bottom: -7px;
  left: 16%;
  animation: orbitDot 7s linear infinite reverse;
}

.float-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 210px;
  padding: 8px 10px;
  border: 1px solid rgba(190, 220, 240, .85);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  color: var(--navy);
  box-shadow: 0 16px 34px rgba(5, 59, 112, .14);
  backdrop-filter: blur(12px);
  font-weight: 800;
  font-size: .9rem;
  animation: floatNote 4.8s ease-in-out infinite;
}

.float-note span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dff3ff;
  color: var(--primary);
  flex: 0 0 24px;
}

.float-note-top {
  top: 9%;
  right: -8px;
}

.float-note-bottom {
  bottom: 8%;
  left: -8px;
  animation-delay: -2.1s;
}

.hero .badge {
  animation: badgeBreathe 4.8s ease-in-out infinite;
  min-height: 42px;
  padding: 8px 10px;
  font-size: .92rem;
}

.hero .badge:nth-child(2) { animation-delay: .35s; }
.hero .badge:nth-child(3) { animation-delay: .7s; }
.hero .badge:nth-child(4) { animation-delay: 1.05s; }

.service-mini .card-body {
  padding: 20px 18px 18px;
}

.service-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e6f6ff, #fff);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px #cde9fa;
  font-weight: 800;
}

.feature,
.step,
.gallery-item {
  transition: transform .28s, box-shadow .28s;
}

.feature:hover,
.step:hover,
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(5, 59, 112, .1);
}

.faq-item {
  transition: box-shadow .25s, border-color .25s;
}

.faq-item.open {
  border-color: #b8ddf4;
  box-shadow: 0 12px 28px rgba(5, 59, 112, .07);
}

.faq-q::after {
  transition: transform .25s;
}

.faq-item.open .faq-q::after {
  transform: rotate(180deg);
}

.powered {
  gap: 10px;
  color: #6a7b8f;
}

.powered span + span::before {
  content: "-";
  display: inline-block;
  margin: 0 10px 0 0;
  color: #9aa9b9;
}

.powered a {
  color: var(--primary);
  font-weight: 800;
}

.powered a:hover {
  color: var(--navy);
}

.wa-float {
  background: linear-gradient(135deg, #23c567, #128c4a);
  transition: transform .25s, box-shadow .25s;
  animation: pulse 2.1s infinite;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 40px rgba(31, 174, 99, .42);
}

.wa-float svg {
  display: none;
}

.wa-float::before {
  content: "";
  display: block;
  position: absolute;
  inset: 50% auto auto 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3.2A12.75 12.75 0 0 0 5.13 22.6L3.75 28.8l6.34-1.48A12.75 12.75 0 1 0 16 3.2Zm0 2.3a10.45 10.45 0 1 1 0 20.9c-1.82 0-3.53-.47-5.02-1.3l-.43-.25-3.45.8.8-3.36-.28-.44A10.45 10.45 0 0 1 16 5.5Zm-4.43 5.15c-.24 0-.62.09-.95.44-.33.36-1.25 1.22-1.25 2.98 0 1.76 1.29 3.46 1.47 3.7.18.24 2.48 3.97 6.17 5.4 3.06 1.2 3.69.96 4.35.9.66-.06 2.15-.88 2.45-1.73.3-.85.3-1.58.21-1.73-.09-.15-.33-.24-.7-.42-.37-.18-2.15-1.06-2.48-1.18-.33-.12-.58-.18-.82.18-.24.36-.93 1.18-1.14 1.43-.21.24-.42.27-.78.09-.36-.18-1.55-.57-2.96-1.82-1.1-.98-1.84-2.19-2.05-2.55-.21-.36-.02-.56.16-.74.16-.16.36-.42.54-.64.18-.21.24-.36.36-.61.12-.24.06-.46-.03-.64-.09-.18-.82-1.98-1.13-2.7-.3-.7-.6-.6-.82-.61-.21 0-.45-.01-.69-.01Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3.2A12.75 12.75 0 0 0 5.13 22.6L3.75 28.8l6.34-1.48A12.75 12.75 0 1 0 16 3.2Zm0 2.3a10.45 10.45 0 1 1 0 20.9c-1.82 0-3.53-.47-5.02-1.3l-.43-.25-3.45.8.8-3.36-.28-.44A10.45 10.45 0 0 1 16 5.5Zm-4.43 5.15c-.24 0-.62.09-.95.44-.33.36-1.25 1.22-1.25 2.98 0 1.76 1.29 3.46 1.47 3.7.18.24 2.48 3.97 6.17 5.4 3.06 1.2 3.69.96 4.35.9.66-.06 2.15-.88 2.45-1.73.3-.85.3-1.58.21-1.73-.09-.15-.33-.24-.7-.42-.37-.18-2.15-1.06-2.48-1.18-.33-.12-.58-.18-.82.18-.24.36-.93 1.18-1.14 1.43-.21.24-.42.27-.78.09-.36-.18-1.55-.57-2.96-1.82-1.1-.98-1.84-2.19-2.05-2.55-.21-.36-.02-.56.16-.74.16-.16.36-.42.54-.64.18-.21.24-.36.36-.61.12-.24.06-.46-.03-.64-.09-.18-.82-1.98-1.13-2.7-.3-.7-.6-.6-.82-.61-.21 0-.45-.01-.69-.01Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-actions .btn[data-whatsapp] {
  background: linear-gradient(135deg, #23c567, #128c4a);
  color: #fff;
  box-shadow: 0 12px 26px rgba(31, 174, 99, .22);
}

.nav-actions .btn[data-whatsapp]:hover {
  box-shadow: 0 16px 34px rgba(31, 174, 99, .32);
}

.wa-float::before {
  display: none;
}

.wa-float svg {
  display: block;
  width: 30px;
  height: 30px;
  color: #fff;
  margin: auto;
}

.fade-up {
  transform: translateY(26px) scale(.98);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
  }

  body {
    position: relative;
    touch-action: pan-y;
  }

  .site-header,
  main,
  section,
  .section,
  .hero,
  .cta,
  .site-footer {
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  .container {
    max-width: calc(100vw - 22px);
  }

  .grid,
  .feature-list,
  .steps,
  .gallery,
  .contact-options,
  .card,
  .feature,
  .step,
  .gallery-item,
  .service-row,
  .contact-box {
    min-width: 0;
    max-width: 100%;
  }

  .site-header,
  .hero-redesign,
  main,
  body {
    overflow-x: hidden;
  }

  .hero-redesign *,
  .hero-redesign *::before,
  .hero-redesign *::after {
    max-width: 100%;
  }

  .hero-bg-motion,
  .hero-redesign::before,
  .hero-redesign::after {
    display: none;
  }

  .nav {
    position: relative;
    justify-content: space-between;
  }

  .logo {
    position: static;
    right: auto;
    transform: none;
    flex-direction: row;
    gap: 0;
    order: 1;
  }

  .brand-name {
    display: block;
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 50%;
    max-width: calc(100% - 170px);
    overflow: hidden;
    color: var(--navy);
    font-size: clamp(.68rem, 2.5vw, .82rem);
    font-weight: 800;
    line-height: 1.35;
    padding-block: 2px 4px;
    text-align: center;
    text-overflow: ellipsis;
    transform: translate(50%, -50%);
    white-space: nowrap;
    pointer-events: none;
  }

  .nav-actions {
    order: 2;
    margin-right: auto;
  }

  .menu-toggle {
    display: block;
  }

  .powered span + span::before {
    display: none;
  }

  .wa-float::before {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: calc(100svh - 70px);
    padding-block: 18px 26px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 8vw, 2.12rem);
    line-height: 1.22;
  }

  .hero h2 {
    font-size: .98rem;
  }

  .hero p {
    font-size: .9rem;
    line-height: 1.7;
  }

  .hero-visual .main-img img {
    min-height: 220px;
  }

  .side-img img {
    height: 132px;
  }

  .hero::after,
  .hero-orbit,
  .float-note {
    display: none;
  }

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

  .hero h1 {
    animation-duration: 10s;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: calc(100svh - 78px);
  }

  .float-note-top {
    right: 12px;
  }

  .float-note-bottom {
    left: 12px;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .hero {
    padding-block: 14px;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 3vw, 2.75rem);
  }

  .hero h2 {
    font-size: clamp(.95rem, 1.35vw, 1.15rem);
  }

  .hero p {
    font-size: .9rem;
    line-height: 1.65;
  }

  .hero-visual .main-img img {
    min-height: 320px;
  }

  .side-img img {
    height: 146px;
  }

  .badges {
    margin-top: 14px;
  }

  .hero-metrics {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100svh - 70px);
  }
}

@keyframes heroGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 58px 58px, 58px 58px; }
}

@keyframes heroTitleSheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes heroBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes heroImageFloat {
  0%, 100% { transform: rotateY(-2deg) rotateX(1deg) translateY(0); }
  50% { transform: rotateY(1deg) rotateX(-1deg) translateY(-9px); }
}

@keyframes sideCardFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(8px) scale(.985); }
}

@keyframes imageSweep {
  0%, 48% { transform: translateX(120%); }
  64%, 100% { transform: translateX(-120%); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: .55; transform: rotate(-4deg) scale(.98); }
  50% { opacity: 1; transform: rotate(-1deg) scale(1.02); }
}

@keyframes orbitDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

@keyframes floatNote {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes badgeBreathe {
  0%, 100% { transform: translateY(0); box-shadow: none; }
  50% { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(5, 59, 112, .08); }
}

.hero-redesign {
  min-height: calc(100svh - 78px);
  padding: clamp(18px, 3vh, 34px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 174, 99, .14), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(19, 162, 220, .2), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef9ff 46%, #dff3ff 100%);
}

.hero-redesign::before {
  inset: -18% auto auto -10%;
  width: 44%;
  height: 74%;
  background: radial-gradient(circle, rgba(31,174,99,.16), transparent 68%);
  animation: heroBlobOne 8s ease-in-out infinite alternate;
}

.hero-redesign::after {
  mask-image: none;
  opacity: .62;
  background:
    linear-gradient(90deg, rgba(8,118,189,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8,118,189,.05) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-bg-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-motion::before,
.hero-bg-motion::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(8,118,189,.16);
  animation: heroHaloSpin 18s linear infinite;
}

.hero-bg-motion::before {
  width: 520px;
  height: 520px;
  right: -170px;
  top: -180px;
}

.hero-bg-motion::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -150px;
  animation-direction: reverse;
}

.hero-redesign .hero-grid {
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  min-height: min(690px, calc(100svh - 130px));
}

.hero-redesign .hero-copy {
  position: relative;
  z-index: 3;
}

.hero-redesign .eyebrow {
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 30px rgba(5,59,112,.08);
  backdrop-filter: blur(12px);
}

.hero-redesign h1 {
  max-width: 680px;
  margin: 10px 0;
  font-size: clamp(2rem, 4.15vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-redesign h2 {
  max-width: 560px;
  color: #34506b;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
  line-height: 1.65;
}

.hero-redesign .hero-ctas {
  margin-top: 18px;
}

.hero-services-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-services-strip span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(8,118,189,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(5,59,112,.07);
  font-size: .92rem;
  font-weight: 800;
  overflow: hidden;
  animation: stripFloat 5s ease-in-out infinite;
}

.hero-services-strip span:nth-child(2) { animation-delay: .35s; }
.hero-services-strip span:nth-child(3) { animation-delay: .7s; }
.hero-services-strip span:nth-child(4) { animation-delay: 1.05s; }

.hero-services-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 5px rgba(19,162,220,.12);
}

.hero-showcase {
  position: relative;
  z-index: 2;
  min-height: clamp(430px, 60vh, 620px);
  perspective: 1200px;
}

.hero-phone-card {
  position: absolute;
  inset: 6% 8% 8% 12%;
  z-index: 3;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.9);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(5,59,112,.22);
  transform: rotate(-2deg);
  animation: showcaseFloat 5.8s ease-in-out infinite;
}

.hero-phone-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, transparent 15%, rgba(255,255,255,.42) 38%, transparent 58%);
  transform: translateX(120%);
  animation: imageSweep 5.4s ease-in-out infinite;
  pointer-events: none;
}

.hero-phone-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  animation: imageBreath 7s ease-in-out infinite;
}

.pulse-ring {
  position: absolute;
  z-index: 1;
  border-radius: 28px;
  background: rgba(19,162,220,.12);
  filter: blur(.2px);
  animation: heroPulse 3.8s ease-in-out infinite;
}

.ring-one {
  inset: 0 0 3% 5%;
}

.ring-two {
  inset: 14% 14% 0 0;
  background: rgba(31,174,99,.12);
  animation-delay: -1.7s;
}

.hero-mini-card,
.hero-status-card {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(210,232,246,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 44px rgba(5,59,112,.18);
  backdrop-filter: blur(14px);
}

.hero-mini-card {
  width: min(190px, 38%);
  overflow: hidden;
  animation: miniFloat 4.8s ease-in-out infinite;
}

.hero-mini-card img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

.hero-mini-card span {
  display: block;
  padding: 8px 10px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 800;
}

.mini-card-a {
  top: 4%;
  right: 0;
}

.mini-card-b {
  left: 0;
  bottom: 5%;
  animation-delay: -2.2s;
}

.hero-status-card {
  right: 8%;
  bottom: 1%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: var(--navy);
  font-weight: 800;
  animation: statusSlide 4s ease-in-out infinite;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #23c567;
  box-shadow: 0 0 0 7px rgba(35,197,103,.16);
}

@media (max-width: 980px) {
  .hero-redesign .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-redesign .hero-copy {
    text-align: center;
  }

  .hero-redesign h1,
  .hero-redesign h2 {
    margin-inline: auto;
  }

  .hero-redesign .hero-ctas,
  .hero-services-strip {
    justify-content: center;
  }

  .hero-showcase {
    order: -1;
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .hero-redesign {
    min-height: calc(100svh - 70px);
    padding: 12px 0 22px;
  }

  .hero-bg-motion::before {
    right: -80px;
    top: -120px;
    width: 260px;
    height: 260px;
  }

  .hero-bg-motion::after {
    left: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
  }

  .hero-redesign .hero-grid {
    gap: 12px;
  }

  .hero-redesign .hero-copy {
    text-align: center;
  }

  .hero-redesign .eyebrow {
    font-size: .78rem;
    padding: 3px 10px;
  }

  .hero-redesign h1 {
    max-width: 340px;
    margin: 7px auto;
    font-size: clamp(1.72rem, 8.6vw, 2.45rem);
    line-height: 1.13;
  }

  .hero-redesign h2 {
    max-width: 340px;
    font-size: .92rem;
    line-height: 1.55;
  }

  .hero-redesign .hero-ctas {
    gap: 8px;
    margin-top: 12px;
  }

  .hero-redesign .hero-ctas .btn {
    min-height: 42px;
  }

  .hero-services-strip {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    margin: 12px auto 0;
    overflow-x: auto;
    overflow-y: hidden;
    mask-image: none;
    contain: content;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hero-services-strip::-webkit-scrollbar {
    display: none;
  }

  .hero-services-strip span {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 5px 10px;
    font-size: .78rem;
    animation: none;
  }

  .hero-services-strip span::before {
    margin-left: 6px;
  }

  .hero-showcase {
    width: min(100%, 390px);
    min-height: 0;
    aspect-ratio: 1.06 / 1;
    margin-inline: auto;
    overflow: hidden;
    contain: paint;
    border-radius: 26px;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .hero-phone-card {
    inset: 8% 6% 10% 6%;
    border-width: 5px;
    border-radius: 22px;
    transform: rotate(0);
    animation: none;
    will-change: auto;
  }

  .hero-phone-card img {
    width: 100%;
    height: 100%;
    animation: mobileImagePulse 4s ease-in-out infinite;
    object-fit: cover;
    object-position: center center;
    transform-origin: center;
    will-change: transform;
  }

  .hero-phone-card::before {
    animation: none;
  }

  .ring-one {
    inset: 4% 4% 8% 4%;
  }

  .ring-two {
    inset: 15% 14% 0 14%;
  }

  .hero-mini-card {
    width: min(128px, 34vw);
    border-radius: 13px;
    animation: mobileMiniPulse 4.5s ease-in-out infinite;
    will-change: transform;
  }

  .hero-mini-card img {
    height: clamp(50px, 14vw, 62px);
  }

  .hero-mini-card span {
    padding: 6px 8px;
    font-size: .72rem;
  }

  .mini-card-a {
    top: 2px;
    right: 4px;
  }

  .mini-card-b {
    left: 4px;
    bottom: 2px;
  }

  .hero-status-card {
    right: 50%;
    bottom: 2%;
    transform: translateX(50%);
    padding: 8px 11px;
    font-size: .78rem;
    white-space: nowrap;
    animation: none;
  }
}

@media (max-height: 720px) and (max-width: 640px) {
  .hero-redesign h1 {
    font-size: clamp(1.55rem, 7.6vw, 2.1rem);
  }

  .hero-redesign h2 {
    display: none;
  }

  .hero-showcase {
    width: min(92vw, 340px);
    aspect-ratio: 1.14 / 1;
  }
}

@media (max-width: 380px) {
  .hero-showcase {
    width: min(94vw, 330px);
    aspect-ratio: 1.18 / 1;
  }

  .hero-phone-card {
    inset: 9% 5% 11% 5%;
  }
}

@media (max-width: 640px) and (min-height: 780px) {
  .hero-showcase {
    width: min(96vw, 430px);
    aspect-ratio: 1.28 / 1;
  }

  .hero-phone-card {
    inset: 7% 3% 9% 3%;
  }

  .hero-phone-card img {
    object-fit: contain;
    background: #fff;
  }
}

@keyframes heroBlobOne {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(38px,30px,0) scale(1.12); }
}

@keyframes heroHaloSpin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.03); }
}

@keyframes stripFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes showcaseFloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-10px); }
}

@keyframes imageBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes heroPulse {
  0%, 100% { transform: scale(.96); opacity: .58; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes miniFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes statusSlide {
  0%, 100% { opacity: .92; }
  50% { opacity: 1; }
}

@keyframes mobileTicker {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-3px,0); }
}

@keyframes mobileCardPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 24px 54px rgba(5,59,112,.2); }
  50% { transform: scale(1.025); box-shadow: 0 30px 70px rgba(8,118,189,.26); }
}

@keyframes mobileImagePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes mobileMiniPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-redesign *,
  .hero-redesign *::before,
  .hero-redesign *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header.nav-open {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  .nav-links.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 78px !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
    max-height: calc(100svh - 78px);
    overflow-y: auto;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .nav-links.open {
    top: 70px !important;
    max-height: calc(100svh - 70px);
  }
}

@media (max-width: 980px) {
  .nav {
    position: relative;
    justify-content: space-between;
  }

  .logo {
    order: 1;
    margin-left: auto;
    margin-right: 0;
  }

  .nav-actions {
    order: 3;
    margin-right: auto;
    margin-left: 0;
  }

  .menu-toggle {
    display: grid !important;
    place-items: center;
    position: relative;
    z-index: 10000;
    padding: 0;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  }

  .menu-toggle span {
    position: absolute;
    width: 21px;
    height: 2px;
    margin: 0;
    background: currentColor;
    transform-origin: center;
    transition: transform .24s ease, opacity .18s ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .menu-toggle span:nth-child(2) {
    transform: translateY(0);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .site-header.nav-open .menu-toggle,
  .menu-toggle[aria-expanded="true"] {
    background: #e8f6ff;
    border-color: #b8ddf4;
    color: var(--primary);
  }

  .site-header.nav-open .menu-toggle span:nth-child(1),
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:nth-child(2),
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.35);
  }

  .site-header.nav-open .menu-toggle span:nth-child(3),
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-links {
    display: flex !important;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, max-height .28s ease, padding .22s ease;
  }

  .nav-links.open {
    visibility: visible !important;
    opacity: 1 !important;
    max-height: calc(100svh - 78px);
    padding-top: 14px;
    padding-bottom: 14px;
    overflow-y: auto;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .logo {
    position: static;
    transform: none;
    gap: 6px;
  }

  .logo img {
    width: 92px;
  }

  .brand-name {
    position: static;
    transform: none;
    max-width: min(45vw, 190px);
    text-align: right;
    white-space: normal;
  }

  .nav-actions {
    margin-right: auto;
  }

  .nav-links.open {
    max-height: calc(100svh - 70px);
  }
}

@media (max-width: 980px) {
  body {
    padding-top: 78px;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 10000 !important;
    transform: none !important;
    will-change: auto;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 70px;
  }
}
