.card-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: calc(var(--header-height) + var(--utility-bar-height) + 2.4rem) 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.card-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.card-breadcrumb a:hover {
  color: var(--white);
}

.card-traits-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 3.4rem;
}

.card-traits-head h2 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.card-traits-head p {
  max-width: 32rem;
  color: #5a666a;
  font-size: 1.02rem;
  line-height: 1.7;
}

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }

.agencies-hero {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  color: var(--white);
  background: var(--blue-deep);
}

.agencies-hero::before,
.agencies-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.agencies-hero::before {
  left: -14rem;
  top: -10rem;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(130, 201, 191, 0.42), transparent 68%);
  filter: blur(36px);
}

.agencies-hero::after {
  right: -8rem;
  bottom: -12rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}

.agencies-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  padding: 3.2rem 0 5.5rem;
}

.agencies-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.agencies-hero-lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: #d7e5f4;
  font-size: 1.08rem;
  line-height: 1.75;
}

.agency-explorer {
  padding: 5.5rem 0 6.5rem;
  background: var(--paper);
}

.agency-switch {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.agency-switch button {
  min-height: 6.4rem;
  padding: 1.3rem 1.4rem;
  display: grid;
  gap: 0.35rem;
  text-align: left;
  background: var(--white);
  border: 1px solid #dce6ea;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.agency-switch button small {
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agency-switch button strong {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.agency-switch button span {
  color: #667071;
  font-size: 0.86rem;
}

.agency-switch button:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.agency-switch button.active {
  background: var(--blue-deep);
  border-color: transparent;
  color: var(--white);
}

.agency-switch button.active small {
  color: #aee7df;
}

.agency-switch button.active span {
  color: rgba(255, 255, 255, 0.72);
}

.agency-stage {
  display: grid;
  min-height: 28rem;
  background: var(--white);
  border: 1px solid #dce6ea;
  overflow: hidden;
}

.agency-map {
  position: relative;
  min-height: 22rem;
  background: var(--mist);
}

.agency-map iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.agency-map.is-switching iframe {
  opacity: 0.35;
  transition: opacity 0.25s ease;
}

.agency-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 2.2rem 2rem;
}

.agency-detail h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.agency-detail address {
  margin-top: 1rem;
  font-style: normal;
  color: #3f545c;
  font-size: 1.02rem;
  line-height: 1.7;
}

.agency-services {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.agency-services li {
  color: #556064;
  font-size: 0.92rem;
  line-height: 1.5;
}

.agency-services li::before {
  content: "✓";
  margin-right: 0.6rem;
  color: var(--green);
  font-weight: 800;
}

.agency-note {
  margin-top: 1rem;
  color: #667071;
  font-size: 0.86rem;
  line-height: 1.6;
}

.agency-actions {
  margin-top: 1.6rem;
}

.agency-contact {
  padding: 6.5rem 0;
  background: var(--blue-deep);
  color: var(--white);
}

.agency-contact h2 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.agency-phones {
  display: grid;
  gap: 0.8rem;
}

.agency-phones a {
  min-height: 7rem;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.agency-phones a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.agency-phones small {
  color: #aee7df;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agency-phones strong {
  margin-top: 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

@media (min-width: 48rem) {
  .agency-switch {
    grid-template-columns: repeat(3, 1fr);
  }

  .agency-stage {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 34rem;
  }

  .agency-map,
  .agency-map iframe {
    min-height: 34rem;
  }

  .agency-phones {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 64rem) {
  .agencies-hero {
    min-height: 36rem;
  }
}

@media (max-width: 47.99rem) {
  .agencies-hero-grid,
  .agency-explorer,
  .agency-contact {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }

  .agency-switch button {
    min-height: 0;
  }

  .agency-detail {
    padding: 1.7rem 1.3rem;
  }

  .card-breadcrumb {
    padding-top: calc(var(--header-height) + var(--utility-bar-height) + 1.5rem);
  }
}
