/* Portfolio page hero — mockup showcase */
.aabi-portfolio-page {
  background: #f4f7fb;
}

.port-hero-premium {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 2.75rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f4f7fb 55%, #eef3fa 100%);
  border-bottom: none;
}

.port-hero-premium::before {
  display: none;
}

.port-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.port-hero-blob--blue {
  top: -60px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(43, 127, 255, 0.16) 0%, transparent 68%);
}

.port-hero-blob--coral {
  top: 40px;
  right: -30px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 105, 95, 0.12) 0%, transparent 70%);
}

.port-hero-crumb {
  margin-bottom: 1rem;
}

.port-hero-crumb .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
}

.port-hero-panel {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  overflow: visible;
}

.port-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.port-hero-eyebrow {
  margin-bottom: 0.85rem;
}

.port-hero-premium .port-title {
  max-width: none !important;
  font-family: "Poppins", var(--font-display, sans-serif) !important;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem) !important;
  letter-spacing: -0.03em;
}

.port-hero-premium .port-title em {
  font-style: normal;
  color: #2b7fff;
  -webkit-text-fill-color: #2b7fff;
}

.port-hero-premium .port-lead {
  font-size: 1rem !important;
  max-width: 32rem;
}

.port-hero-premium .port-cta-primary,
.port-hero-premium .port-cta-secondary {
  border-radius: 999px;
  min-height: 46px;
  padding: 0.72rem 1.35rem;
  font-size: 0.88rem;
}

.port-hero-premium .port-cta-primary {
  background: linear-gradient(135deg, #ff695f, #ff8a7a);
  box-shadow: 0 12px 28px rgba(255, 105, 95, 0.32);
}

.port-hero-premium .port-cta-secondary {
  color: #334155 !important;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff;
}

.port-hero-premium .port-cta-secondary .fa-phone {
  color: #2b7fff;
}

.port-hero-premium .port-hero-metrics {
  max-width: none;
  gap: 0.65rem;
}

.port-hero-premium .port-metric-text strong {
  color: #1a1a2e !important;
}

.port-hero-premium .port-metric {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.port-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.port-metric--blue .port-metric-icon {
  background: rgba(43, 127, 255, 0.12);
  color: #2b7fff;
}

.port-metric--violet .port-metric-icon {
  background: rgba(117, 81, 255, 0.12);
  color: #7551ff;
}

.port-metric--green .port-metric-icon {
  background: rgba(1, 181, 116, 0.12);
  color: #01b574;
}

.port-metric-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.1;
}

.port-metric-text span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.port-hero-visual {
  position: relative;
  min-height: 380px;
}

/* Right-side art cropped from full mockup (devices only) */
.port-hero-visual--art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 36vw, 420px);
  overflow: hidden;
}

.port-hero-showcase-wrap {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
}

.port-hero-showcase-art {
  width: 200%;
  max-width: none;
  margin-left: -52%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.port-hero-premium .port-title .port-title-tail {
  display: block;
  margin-top: 0.08em;
  color: #1a1a2e;
  -webkit-text-fill-color: #1a1a2e;
  font-weight: 800;
}

.port-mock-laptop {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 0.65rem 0.65rem 1.35rem;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.port-mock-laptop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 38%;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #94a3b8;
}

.port-mock-laptop-bezel {
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  border: 3px solid #1e293b;
}

.port-mock-laptop-bezel img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
}

.port-mock-phone {
  position: absolute;
  z-index: 3;
  width: 118px;
  padding: 0.35rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s ease;
}

.port-mock-phone:hover {
  transform: translateY(-4px);
}

.port-mock-phone img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 12px;
}

.port-mock-phone-cap {
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem 0.25rem 0.15rem;
}

.port-mock-phone-cap small {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.port-mock-phone-cap strong {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.port-mock-phone-cap em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  color: #2b7fff;
}

.port-mock-phone--left {
  top: 8%;
  left: 0;
  transform: rotate(-6deg);
}

.port-mock-phone--right {
  top: 14%;
  right: 0;
  transform: rotate(7deg);
}

.port-mock-cart {
  position: absolute;
  top: -10px;
  right: -8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2b7fff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  box-shadow: 0 10px 24px rgba(43, 127, 255, 0.35);
}

.port-mock-float {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.port-mock-float-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(43, 127, 255, 0.12);
  color: #2b7fff;
  display: grid;
  place-items: center;
}

.port-mock-float--projects {
  top: 0;
  right: 4%;
}

.port-mock-float--growth {
  left: 12%;
  bottom: 18%;
  color: #01b574;
}

.port-mock-float--growth .fa {
  color: #01b574;
}

.port-mock-dots {
  position: absolute;
  top: 6%;
  right: 18%;
  width: 72px;
  height: 56px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.45) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.55;
  z-index: 1;
}

.port-mock-arrow {
  position: absolute;
  top: 4%;
  right: 8%;
  width: 100px;
  height: auto;
  z-index: 4;
  pointer-events: none;
}

.aabi-portfolio-page .port-grid-section {
  padding-top: 2.5rem;
  background: transparent;
}

@media (max-width: 991px) {
  .port-hero-layout {
    grid-template-columns: 1fr;
  }

  .port-hero-visual {
    min-height: 340px;
    max-width: 480px;
    margin: 0 auto;
  }

  .port-mock-phone--left {
    left: -4%;
  }

  .port-mock-phone--right {
    right: -4%;
  }
}

@media (max-width: 575px) {
  .port-hero-panel {
    padding: 1.35rem 1.15rem 1.5rem;
  }

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

  .port-mock-phone {
    width: 100px;
  }

  .port-mock-phone img {
    height: 120px;
  }

  .port-mock-arrow,
  .port-mock-dots {
    display: none;
  }
}
