/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer components {
  .agency-top-mv {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--background-primary-secondary);
  }
  @media screen and (width >= 768px) {
    .agency-top-mv {
      display: flex;
      align-items: center;
      min-height: min(30.5556vw, 440px);
    }
  }
  .agency-top-mv::before, .agency-top-mv::after {
    position: absolute;
    z-index: -1;
    content: "";
    aspect-ratio: 1;
    border-radius: 50%;
    mix-blend-mode: multiply;
  }
  .agency-top-mv::before {
    top: -136px;
    right: -377px;
    width: min(144.359vw, 563px);
    background: var(--background-primary-quaternary);
  }
  @media screen and (width >= 768px) {
    .agency-top-mv::before {
      top: max(-50.8333vw, -732px);
      right: auto;
      left: min(67.5vw, 972px);
      width: min(64.3056vw, 926px);
    }
  }
  .agency-top-mv::after {
    bottom: -427px;
    left: max(-122.3077vw, -477px);
    width: min(159.2308vw, 621px);
    background: var(--background-primary-secondary);
  }
  @media screen and (width >= 768px) {
    .agency-top-mv::after {
      top: min(17.2222vw, 248px);
      bottom: auto;
      left: min(6.3889vw, 92px);
      width: min(64.3056vw, 926px);
    }
  }
  .agency-top-mv-image {
    width: 100%;
  }
  @media screen and (width >= 768px) {
    .agency-top-mv-image {
      width: min(49.4444vw, 712px);
    }
  }
  .agency-top-mv-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-block: 24px 40px;
    padding-inline: 24px;
  }
  @media screen and (width >= 768px) {
    .agency-top-mv-inner {
      gap: clamp(16px, 1.6667vw, 24px);
      padding-block: 0;
      padding-left: clamp(24px, -36px + 7.8125vw, 64px);
    }
  }
  .agency-top-mv-heading {
    font-family: var(--sans-w6);
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1.4;
  }
  @media screen and (width >= 768px) {
    .agency-top-mv-heading {
      font-size: clamp(1.625rem, -0.25rem + 3.9063vw, 2.875rem);
      line-height: 1.6;
    }
  }
  .agency-top-mv-lead {
    font-family: var(--sans-w6);
    font-weight: 700;
  }
  @media screen and (width >= 768px) {
    .agency-top-mv-lead {
      width: clamp(320px, -4px + 42.1875vw, 536px);
      font-size: clamp(1rem, 0.625rem + 0.7813vw, 1.25rem);
    }
  }
  .agency-top-consult-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 184px));
    justify-content: center;
    gap: 16px;
  }
  @media screen and (width >= 768px) {
    .agency-top-consult-types {
      grid-template-columns: repeat(4, minmax(0, 184px));
    }
  }
  .agency-top-consult-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 24px;
    background: var(--color-white);
    font-family: var(--sans-w6);
    font-weight: 700;
    transition: box-shadow 0.3s;
    outline-offset: 0;
    outline-width: var(--border-width-xl);
  }
  @media screen and (width >= 768px) {
    .agency-top-consult-card {
      font-size: 1.25rem;
    }
  }
  @media (hover: hover) {
    .agency-top-consult-card:hover {
      box-shadow: 0 2px 8px 0 rgb(72 187 243 / 5%), 0 8px 24px 0 rgb(0 60 124 / 10%);
    }
  }
  .agency-top-consult-features {
    display: grid;
    gap: 24px;
  }
  @media screen and (width >= 768px) {
    .agency-top-consult-features {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .agency-top-consult-features > li {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .agency-top-consult-feature-title {
    font-family: var(--sans-w6);
    font-weight: 700;
    font-size: 1.25rem;
  }
  @media screen and (width >= 768px) {
    .agency-top-consult-feature-title {
      line-height: 1.6;
    }
  }
  @media screen and (width >= 1024px) {
    .agency-top-consult-feature-title {
      font-size: 1.5rem;
    }
  }
  .agency-top-consult-marker {
    padding-bottom: 2px;
    background-image: linear-gradient(transparent 66%, var(--color-marine-150) 66%, var(--color-marine-150) 98%, transparent 98%);
  }
  .agency-top-features {
    --card-link-columns: 2;
    --card-link-rows: 4;
  }
  .agency-top-feature-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .agency-top-feature-tqv {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    background-color: var(--background-primary-quaternary);
  }
  .agency-top-feature-tqv::before, .agency-top-feature-tqv::after {
    position: absolute;
    bottom: 0;
    content: "";
    width: 100%;
    background-color: var(--background-primary-quaternary);
    mix-blend-mode: multiply;
  }
  .agency-top-feature-tqv::before {
    right: 0;
    height: 90.1%;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
  }
  .agency-top-feature-tqv::after {
    left: 0;
    height: 54.2%;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
  }
  .agency-top-feature-logo {
    position: relative;
    width: 53.1%;
    height: auto;
  }
}
