/* ============================================================
   HA Links LLC — Visual & Layout Enhancements
   Premium image treatments, split layouts, editorial grids
   ============================================================ */

/* ---- Homepage hero: cinematic background + portrait panel ---- */
.hal-hero-premium {
  background-position: center 40% !important;
  background-size: cover !important;
}

body.hal-luxe .ve-hero-luxe.hal-hero-premium::before {
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.94) 0%,
    rgba(10, 10, 10, 0.82) 42%,
    rgba(10, 10, 10, 0.45) 68%,
    rgba(10, 10, 10, 0.2) 100%
  ) !important;
}

.hal-hero-visual {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px) 100px;
  position: relative;
}

.hal-hero-visual-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(200, 149, 108, 0.25);
}

.hal-hero-visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(10, 10, 10, 0.35) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hal-hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

body.hal-luxe .hal-hero-visual .ve-float-card {
  position: absolute;
  bottom: 72px;
  left: 0;
  z-index: 2;
  min-width: 200px;
}

/* ---- Inner page heroes: consistent premium treatment ---- */
.ve-page-hero.hal-page-hero {
  background-position: center center !important;
  background-size: cover !important;
  min-height: clamp(280px, 38vw, 420px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 6vw, 72px) !important;
}

/* Services hero — wide 3-column brand graphic */
.ve-page-hero.hal-page-hero.hal-services-hero {
  background-position: center center !important;
}

.ve-page-hero.hal-page-hero .ve-page-hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.55) 55%,
    rgba(10, 10, 10, 0.35) 100%
  ) !important;
}

/* ---- Split media layouts (career, about, services) ---- */
.hal-split-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.hal-split-section.hal-split-alt {
  background: var(--hal-luxe-cream, #faf7f2);
}

.hal-split-row {
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

/* About page: Who We Are — reuse homepage why-us layout */
.hal-about-who.ve-whyus-section {
  background: var(--hal-luxe-cream, #faf7f2) !important;
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.hal-about-who .row {
  margin-left: -15px;
  margin-right: -15px;
  align-items: center;
}

.hal-about-who-content {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: clamp(0px, 3vw, 40px) !important;
}

.hal-about-who-content > p:last-of-type {
  margin-bottom: 28px;
}

@media (min-width: 992px) {
  .hal-about-who .ve-whyus-img-wrap {
    margin-bottom: 0;
  }
}

.hal-about-stats-section {
  background: var(--hal-luxe-cream, #faf7f2);
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.hal-about-stats-section .hal-stats-strip {
  margin-top: 0;
}

.hal-split-media {
  position: relative;
}

.hal-split-media-main {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 28px 64px rgba(10, 10, 10, 0.14);
}

.hal-split-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.hal-split-media:hover .hal-split-media-main img {
  transform: scale(1.03);
}

.hal-split-accent {
  position: absolute;
  bottom: -20px;
  right: -16px;
  width: 42%;
  max-width: 180px;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.18);
  z-index: 2;
}

.hal-split-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hal-split-badge {
  position: absolute;
  top: 24px;
  left: -16px;
  z-index: 3;
  background: var(--hal-luxe-black, #0a0a0a);
  color: #fff;
  padding: 16px 20px;
  border-radius: 4px;
  border-left: 3px solid var(--hal-luxe-gold, #c8956c);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hal-split-badge strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--hal-luxe-gold-light, #dbb896);
  line-height: 1;
  margin-bottom: 4px;
}

.hal-split-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hal-split-content {
  max-width: 560px;
}

/* ---- About page: stats strip with imagery ---- */
.hal-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(10, 10, 10, 0.1);
  margin-top: clamp(48px, 6vw, 72px);
}

.hal-stat-item {
  background: var(--hal-luxe-black, #0a0a0a);
  padding: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 28px);
  text-align: center;
  border-right: 1px solid rgba(200, 149, 108, 0.15);
}

.hal-stat-item:last-child {
  border-right: none;
}

.hal-stat-item strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--hal-luxe-gold-light, #dbb896);
  line-height: 1;
  margin-bottom: 8px;
}

.hal-stat-item span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ---- Project cards with image headers ---- */
.ve-project-card.hal-project-visual {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 8px !important;
}

.hal-project-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.hal-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.hal-project-visual:hover .hal-project-thumb img {
  transform: scale(1.06);
}

.hal-project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(10, 10, 10, 0.55) 100%
  );
}

.hal-project-thumb .ve-project-icon {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--hal-luxe-gold-deep, #a67c2e) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hal-project-body {
  padding: 22px 24px 28px;
}

.hal-project-body h3 {
  margin-bottom: 10px;
}

/* ---- Projects showcase banner ---- */
.hal-showcase-banner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 220px;
  margin-bottom: clamp(40px, 5vw, 56px);
  display: flex;
  align-items: flex-end;
}

.hal-showcase-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hal-showcase-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.45) 60%,
    rgba(10, 10, 10, 0.2) 100%
  );
  z-index: 1;
}

.hal-showcase-banner-content {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px);
  max-width: 560px;
}

.hal-showcase-banner-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.hal-showcase-banner-content p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.95rem;
}

/* ---- Team photos: consistent professional framing ---- */
.ve-team-img img.hal-team-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.ve-team-img img.hal-team-portrait--msk {
  object-position: center 28%;
}

/* ---- Why-us & CTA image polish ---- */
body.hal-luxe .ve-whyus-img-main {
  min-height: 420px;
  background-position: center !important;
  background-size: cover !important;
}

.hal-whyus-leads.ve-whyus-img-main {
  background-position: center 35% !important;
}

.hal-whyus-process.ve-whyus-img-main {
  background-position: center 30% !important;
}

/* ---- Client brand images: per-layout crop tuning ---- */
.hal-client-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hal-client-img--brand {
  object-position: center 40%;
}

.hal-client-img--leads {
  object-position: center 35%;
}

.hal-client-img--transfers {
  object-position: center 42%;
}

.hal-client-img--growth {
  object-position: center 22%;
}

.hal-client-img--services {
  object-position: center center;
}

.hal-project-thumb .hal-client-img--growth,
.hal-services-visual-item .hal-client-img--growth {
  object-position: center 18%;
}

.hal-project-thumb .hal-client-img--transfers,
.hal-services-visual-item .hal-client-img--transfers {
  object-position: center 38%;
}

.ve-cta-banner.hal-cta-visual {
  background-position: center center !important;
  background-size: cover !important;
}

.hal-cta-growth.ve-cta-banner {
  background-position: center 45% !important;
}

.ve-cta-banner.hal-cta-visual .ve-cta-overlay {
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.65) 100%
  ) !important;
}

/* ---- Services page visual row ---- */
.hal-services-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.hal-services-visual-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.hal-services-visual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hal-services-visual-item:hover img {
  transform: scale(1.04);
}

.hal-services-visual-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

.hal-services-visual-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

/* ---- Career page hero — client photo + readable overlay ---- */
.hal-career-hero {
  background-position: center 50% !important;
  background-size: cover !important;
  position: relative;
  overflow: hidden;
}

.hal-career-hero::before,
.hal-career-hero::after {
  display: none;
}

.hal-career-hero .ve-page-hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.6) 55%,
    rgba(10, 10, 10, 0.35) 100%
  ) !important;
}

.hal-career-hero .ve-page-hero-content {
  position: relative;
  z-index: 2;
}

.ve-career-intro-section {
  background: var(--hal-luxe-cream, #faf7f2);
}

.hal-career-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.hal-career-perk {
  background: #fff;
  border: 1px solid rgba(200, 149, 108, 0.15);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 36px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.hal-career-perk:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 149, 108, 0.4);
  box-shadow: 0 20px 48px rgba(10, 10, 10, 0.08);
}

.hal-career-perk-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    rgba(200, 149, 108, 0.2) 0%,
    rgba(200, 149, 108, 0.06) 100%
  );
  color: var(--hal-luxe-gold-deep, #a67c2e);
  font-size: 1.35rem;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

.hal-career-perk:hover .hal-career-perk-icon {
  background: linear-gradient(
    135deg,
    var(--hal-luxe-gold, #c8956c) 0%,
    var(--hal-luxe-gold-deep, #a67c2e) 100%
  );
  color: #fff;
}

.hal-career-perk h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0 0 10px;
}

.hal-career-perk p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #5a5a5a;
}

.hal-career-stats {
  margin-top: 0;
}

.ve-career-intro-section .ve-section-header p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #5a5a5a;
  line-height: 1.75;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hal-hero-visual {
    padding-bottom: 48px;
    min-height: 320px;
  }

  .hal-hero-visual-frame {
    width: min(100%, 320px);
    aspect-ratio: 16 / 11;
  }

  body.hal-luxe .hal-hero-visual .ve-float-card {
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hal-split-accent {
    display: none;
  }

  .hal-split-badge {
    left: 12px;
    top: 12px;
  }

  .hal-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hal-stat-item:nth-child(2) {
    border-right: none;
  }

  .hal-stat-item:nth-child(1),
  .hal-stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(200, 149, 108, 0.15);
  }

  .hal-services-visual {
    grid-template-columns: 1fr;
  }

  .hal-career-perks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .hal-stats-strip {
    grid-template-columns: 1fr;
  }

  .hal-stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(200, 149, 108, 0.15);
  }

  .hal-stat-item:last-child {
    border-bottom: none;
  }

  .ve-team-img img.hal-team-portrait--msk {
    object-position: center 24%;
  }
}
