/*
 * EKAT GROUP - Sound, Lighting & AV service page
 */

.av-service {
  background: var(--white);
  color: var(--ink);
}

.av-service .shell {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.av-service .section-label {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(0, 163, 175, 0.12);
  color: var(--navy);
  font-size: 12px;
  line-height: 1;
}

.av-service h1,
.av-service h2,
.av-service h3 {
  font-family: var(--ekat-font-display, "Manrope", sans-serif);
  letter-spacing: -0.055em;
}

.av-service main p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.av-hero {
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 47, 62, 0.9), rgba(8, 47, 62, 0.5)),
    url("../../branding-profile/page-25.jpg") center 54% / cover no-repeat;
}

.av-hero-inner {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  justify-content: center;
  padding-block: 78px 88px;
}

.av-hero-inner > span {
  color: #d8e7e9;
  font-size: 14px;
}

.av-hero-inner > span a {
  color: inherit;
}

.av-hero h1 {
  max-width: none;
  margin: 24px 0 15px;
  color: var(--white);
  font-size: clamp(44px, 4.2vw, 64px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

.av-hero p {
  max-width: 680px;
  margin: 0;
  color: #d8e7e9;
  font-size: 16px;
  line-height: 1.65;
}

.av-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(58px, 7vw, 110px);
  align-items: center;
  padding-block: 112px;
}

.av-intro-copy h2,
.av-section-head h2,
.av-process-head h2,
.av-showcase h2 {
  margin: 20px 0 28px;
  color: var(--deep);
  font-size: clamp(40px, 4.1vw, 62px);
  font-weight: 300;
  line-height: 1.04;
}

.av-intro-copy p:first-of-type {
  color: #2e4249;
  font-size: 17px;
}

.av-intro-image {
  height: 620px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--paper);
}

.av-intro-image img,
.av-process-grid img,
.av-work-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0 !important;
}

.av-capabilities {
  padding-block: 112px;
  background: var(--paper);
}

.av-section-head {
  max-width: 760px;
  margin-bottom: 58px;
}

.av-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.av-card-grid article {
  min-height: 420px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(8, 47, 62, 0.12);
  border-radius: var(--radius-media);
  background: var(--white);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.av-card-grid article:hover {
  border-color: rgba(0, 163, 175, 0.48);
  transform: translateY(-6px);
}

.av-card-grid figure {
  height: 210px;
  margin: 0;
  overflow: hidden;
  background: var(--deep);
}

.av-card-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.75s ease;
}

.av-card-grid article:hover img {
  transform: scale(1.045);
}

.av-card-grid span,
.av-process-grid span {
  color: var(--aqua);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.av-card-grid h3 {
  margin: 12px 24px 16px;
  color: var(--deep);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.08;
}

.av-card-grid span {
  display: block;
  margin: 24px 24px 0;
}

.av-card-grid p {
  margin: 0 24px 28px;
  font-size: 13px;
}

.av-scope {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 7vw, 100px);
  padding-block: 112px;
}

.av-scope-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.av-scope-copy h2 {
  margin: 20px 0 0;
  color: var(--deep);
  font-size: clamp(40px, 4.1vw, 62px);
  font-weight: 300;
  line-height: 1.04;
}

.av-scope-list {
  border-top: 1px solid var(--line);
}

.av-scope-list article {
  display: grid;
  grid-template-columns: 54px 0.42fr 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.av-scope-list span {
  color: var(--aqua);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.av-scope-list h3 {
  margin: 0;
  color: var(--deep);
  font-size: 26px;
  font-weight: 400;
}

.av-scope-list p {
  margin: 0;
  font-size: 13px;
}

.av-process {
  padding-block: 112px;
  color: var(--white);
  background: var(--deep);
}

.av-process-head {
  max-width: 780px;
  margin-bottom: 58px;
}

.av-process .section-label {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.av-process-head h2 {
  color: var(--white);
}

.av-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.av-process-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-media);
  background: rgba(255, 255, 255, 0.06);
}

.av-process-grid article img {
  height: 260px;
}

.av-process-grid article div {
  padding: 22px 22px 26px;
}

.av-process-grid h3 {
  margin: 12px 0 12px;
  color: var(--white);
  font-size: 25px;
  font-weight: 400;
}

.av-process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.av-showcase {
  padding-block: 112px;
  color: var(--ink);
  background: var(--paper);
}

.av-showcase .section-label {
  color: var(--navy);
  background: rgba(0, 163, 175, 0.12);
}

.av-showcase h2 {
  color: var(--deep);
}

.av-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 7vw, 100px);
  align-items: start;
}

.av-application-list {
  border-top: 1px solid var(--line);
}

.av-application-list article {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 34px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.av-application-list span {
  color: var(--deep);
  font-size: 22px;
  letter-spacing: -0.035em;
}

.av-application-list p {
  margin: 0;
  color: var(--muted);
}

.av-work {
  padding-block: 112px;
}

.av-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.av-work-grid a {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-media);
  color: var(--white);
  background: var(--deep);
}

.av-work-grid a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 47, 62, 0.04), rgba(8, 47, 62, 0.88));
  content: "";
}

.av-work-grid a:hover img {
  transform: scale(1.04);
}

.av-work-grid img {
  transition: transform 0.85s ease;
}

.av-work-grid span {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 24px;
  left: 26px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.av-cta {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  padding: 100px max(24px, calc((100vw - var(--container)) / 2));
  background: var(--aqua);
}

.av-cta > div:first-child > span {
  color: var(--deep);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.av-cta h2 {
  margin: 18px 0 0;
  color: var(--deep);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.02;
}

.av-cta > div:last-child {
  align-self: end;
}

.av-service main .av-cta p {
  max-width: 500px;
  color: rgba(8, 47, 62, 0.88);
}

.av-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  margin-top: 20px;
  padding: 15px 24px;
  color: var(--deep);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.av-cta a::after {
  content: "\2197";
}

@media (max-width: 980px) {
  .av-intro,
  .av-showcase-grid {
    grid-template-columns: 1fr;
  }

  .av-card-grid,
  .av-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .av-scope {
    grid-template-columns: 1fr;
  }

  .av-scope-copy {
    position: static;
  }

  .av-intro-image {
    height: 520px;
  }

  .av-cta {
    gap: 55px;
  }
}

@media (max-width: 700px) {
  .av-service .shell {
    width: calc(100% - 32px);
  }

  .av-hero-inner {
    min-height: 360px;
    padding-block: 62px 72px;
  }

  .av-hero h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    white-space: normal;
  }

  .av-intro,
  .av-capabilities,
  .av-scope,
  .av-process,
  .av-showcase,
  .av-work {
    padding-block: 82px;
  }

  .av-intro-image {
    height: 430px;
  }

  .av-card-grid,
  .av-process-grid,
  .av-work-grid {
    grid-template-columns: 1fr;
  }

  .av-process-grid article img {
    height: 320px;
  }

  .av-application-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .av-scope-list article {
    grid-template-columns: 42px 1fr;
    gap: 12px 18px;
  }

  .av-scope-list p {
    grid-column: 2;
  }

  .av-work-grid a {
    height: 430px;
  }

  .av-cta {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 16px;
  }
}
