.agency-intro {
  padding: 150px 0 0;
  background-color: #150A11;
  background-image: url("../img/update/hero/hero-thumb-1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  color: #EDE4DC;
  position: relative;
  isolation: isolate;
}
.agency-intro .cst-hero-slider-wrapper {
  margin-top: 35px;
}
.agency-intro-top, .agency-intro-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: #B9A9A2;
}
.agency-intro-top { padding-bottom: 30px; border-bottom: 1px solid #3A1F2C; }
.agency-intro-top i { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: #FF6845; }
.agency-intro-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 80px; padding: 80px 0; align-items: center; }
.agency-intro-eyebrow { color: #B9A9A2; font-size: clamp(0.8125rem, 0.78rem + 0.16vw, 0.875rem); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 26px; }
.agency-intro :is(h1, .agency-intro-title) { font-family: var(--tp-ff-inter); font-size: clamp(40px, 4.1vw, 76px); line-height: 1.08; letter-spacing: -.065em; color: #EDE4DC; font-weight: 500; margin-bottom: 28px; }
.agency-intro :is(h1, .agency-intro-title) em { color: #FF6845; font-style: normal; }
.agency-intro-description { max-width: 420px; color: #B9A9A2; font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.agency-intro-cta { display: inline-flex; align-items: center; gap: 44px; background: #FF6845; color: #150A11; border-radius: 100px; padding: 18px 26px; font-weight: 600; }
.agency-intro-cta:hover { color: #150A11; background: #F8B44D; }
.agency-intro-cta span { font-size: 25px; }
.agency-service-link { display: block; position: relative; border-top: 1px solid #3A1F2C; padding: 23px 0; color: #EDE4DC; }
.agency-service-link:last-child { border-bottom: 1px solid #3A1F2C; }
.agency-service-label { display: block; position: relative; z-index: 2; }
.agency-service-label small { display: block; font-size: clamp(0.6875rem, 0.66rem + 0.14vw, 0.75rem); text-transform: uppercase; letter-spacing: .12em; color: #B9A9A2; margin-bottom: 12px; }
.agency-service-label strong { display: block; font-size: clamp(28px, 3vw, 48px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.agency-service-arrow { position: absolute; right: 0; bottom: 0; font-size: 32px; transition: transform .25s; }
.agency-service-link:hover, .agency-service-link:focus-visible { color: #FF6845; }
.agency-service-link:hover .agency-service-arrow { transform: rotate(45deg); }
.agency-service-preview { position: absolute; left: 0; top: 0; width: 230px; height: 155px; object-fit: cover; border-radius: 10px; opacity: 0; pointer-events: none; z-index: 3; transition: opacity .2s; }
.agency-service-link:hover { z-index: 4; }
.agency-service-link:hover .agency-service-preview { opacity: 1; }
.agency-service-link:focus-visible .agency-service-preview { opacity: 1; left: 35%; transform: none !important; }
.agency-intro a:focus-visible { outline: 2px solid #FF6845; outline-offset: 6px; }
.agency-intro-bottom { border-top: 1px solid #3A1F2C; padding-top: 25px; }
.agency-intro-bottom a { color: #EDE4DC; }
.agency-intro-bottom a span { margin-left: 20px; }
#consultation, #agency-about { scroll-margin-top: 100px; }
@media (max-width: 1199px) {
  .agency-intro-grid { gap: 40px; }
}
@media (max-width: 991px) {
  .agency-intro { padding-top: 120px; }
  .agency-intro-grid { grid-template-columns: 1fr; padding: 45px 0; }
  .agency-intro :is(h1, .agency-intro-title) { font-size: clamp(36px, 7vw, 64px); }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .agency-service-preview { position: static; display: block; width: 100%; height: 150px; margin-top: 20px; opacity: 1; transform: none !important; }
  .agency-service-arrow, .agency-service-preview { transition: none; }
}
@media (max-width: 575px) {
  .agency-intro-top > span:last-child { display: none; }
  .agency-intro-bottom { align-items: flex-start; flex-direction: column; }
  .agency-service-preview { position: static; display: block; width: 100%; height: 150px; margin-top: 20px; opacity: 1; transform: none !important; }
}

/* Fit the hero to the first viewport while allowing content to grow at zoom. */
.agency-intro {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 110px;
}
.agency-intro > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.agency-intro-grid {
  flex: 1;
  width: 100%;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  padding: clamp(20px, 4svh, 48px) 0;
  gap: clamp(24px, 5vw, 80px);
}
.agency-intro :is(h1, .agency-intro-title) { font-size: clamp(36px, min(4.1vw, 7.5svh), 76px); margin-bottom: 20px; }
.agency-intro-eyebrow { margin-bottom: 18px; }
.agency-intro-description { margin-bottom: 22px; }
.agency-service-link { padding: clamp(12px, 2.5svh, 23px) 0; }
.agency-service-label strong { font-size: clamp(26px, min(3vw, 5svh), 48px); }
.agency-intro .cst-hero-slider-wrapper { flex-shrink: 0; margin-top: 0; padding: 20px 0; }
@media (max-width: 991px) {
  .agency-intro { padding-top: 100px; }
  .agency-intro-grid { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; }
  .agency-intro :is(h1, .agency-intro-title) { font-size: clamp(32px, min(6.5vw, 6svh), 52px); margin-bottom: 14px; }
  .agency-intro-eyebrow { margin-bottom: 12px; }
  .agency-intro-description { max-width: 560px; font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
  .agency-intro-cta { padding: 12px 22px; }
  .agency-service-link { padding: 12px 0; }
  .agency-service-label strong { font-size: 25px; }
  .agency-service-label strong br { display: none; }
  .agency-service-label small { margin-bottom: 6px; }
  .agency-service-arrow { font-size: 25px; }
  .agency-intro .cst-hero-slider-wrapper { padding: 16px 0; }
  .agency-intro .cst-hero-item-title { font-size: 18px; }
}
@media (max-width: 991px) and (hover: none), (max-width: 991px) and (pointer: coarse), (max-width: 991px) and (prefers-reduced-motion: reduce), (max-width: 575px) {
  .agency-service-link { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 18px; align-items: center; }
  .agency-service-preview { position: static; width: 64px; height: 48px; margin: 0; border-radius: 5px; opacity: 1; transform: none !important; }
  .agency-service-label { padding-right: 28px; }
}
@media (max-height: 700px) and (min-width: 992px) {
  .agency-intro { padding-top: 95px; }
  .agency-intro-grid { padding: 18px 0; }
  .agency-intro-eyebrow { margin-bottom: 12px; }
  .agency-intro-description { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
  .agency-intro-cta { padding: 12px 22px; }
}

/* Keep the consultation form in document flow above the replacement footer. */
.cst-cta-wrapper {
  display: grid;
  height: auto;
}

.cst-cta-thumb,
.cst-cta-content {
  grid-area: 1 / 1;
}

.cst-cta-thumb {
  height: auto;
  min-width: 0;
}

.cst-cta-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cst-cta-content {
  position: relative;
  top: auto;
  left: auto;
  align-self: start;
  margin: 40px 60px;
}

@media (max-width: 991px) {
  .cst-cta-wrapper {
    display: block;
  }

  .cst-cta-thumb img {
    height: auto;
  }

  .cst-cta-content {
    margin: 40px 0 0;
  }
}
